guix-manual.pt_BR.po 2.7 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406494074940849409494104941149412494134941449415494164941749418494194942049421494224942349424494254942649427494284942949430494314943249433494344943549436494374943849439494404944149442494434944449445494464944749448494494945049451494524945349454494554945649457494584945949460494614946249463494644946549466494674946849469494704947149472494734947449475494764947749478494794948049481494824948349484494854948649487494884948949490494914949249493494944949549496494974949849499495004950149502495034950449505495064950749508495094951049511495124951349514495154951649517495184951949520495214952249523495244952549526495274952849529495304953149532495334953449535495364953749538495394954049541495424954349544495454954649547495484954949550495514955249553495544955549556495574955849559495604956149562495634956449565495664956749568495694957049571495724957349574495754957649577495784957949580495814958249583495844958549586495874958849589495904959149592495934959449595495964959749598495994960049601496024960349604496054960649607496084960949610496114961249613496144961549616496174961849619496204962149622496234962449625496264962749628496294963049631496324963349634496354963649637496384963949640496414964249643496444964549646496474964849649496504965149652496534965449655496564965749658496594966049661496624966349664496654966649667496684966949670496714967249673496744967549676496774967849679496804968149682496834968449685496864968749688496894969049691496924969349694496954969649697496984969949700497014970249703497044970549706497074970849709497104971149712497134971449715497164971749718497194972049721497224972349724497254972649727497284972949730497314973249733497344973549736497374973849739497404974149742497434974449745497464974749748497494975049751497524975349754497554975649757497584975949760497614976249763497644976549766497674976849769497704977149772497734977449775497764977749778497794978049781497824978349784497854978649787497884978949790497914979249793497944979549796497974979849799498004980149802498034980449805498064980749808498094981049811498124981349814498154981649817498184981949820498214982249823498244982549826498274982849829498304983149832498334983449835498364983749838498394984049841498424984349844498454984649847498484984949850498514985249853498544985549856498574985849859498604986149862498634986449865498664986749868498694987049871498724987349874498754987649877498784987949880498814988249883498844988549886498874988849889498904989149892498934989449895498964989749898498994990049901499024990349904499054990649907499084990949910499114991249913499144991549916499174991849919499204992149922499234992449925499264992749928499294993049931499324993349934499354993649937499384993949940499414994249943499444994549946499474994849949499504995149952499534995449955499564995749958499594996049961499624996349964499654996649967499684996949970499714997249973499744997549976499774997849979499804998149982499834998449985499864998749988499894999049991499924999349994499954999649997499984999950000500015000250003500045000550006500075000850009500105001150012500135001450015500165001750018500195002050021500225002350024500255002650027500285002950030500315003250033500345003550036500375003850039500405004150042500435004450045500465004750048500495005050051500525005350054500555005650057500585005950060500615006250063500645006550066500675006850069500705007150072500735007450075500765007750078500795008050081500825008350084500855008650087500885008950090500915009250093500945009550096500975009850099501005010150102501035010450105501065010750108501095011050111501125011350114501155011650117501185011950120501215012250123501245012550126501275012850129501305013150132501335013450135501365013750138501395014050141501425014350144501455014650147501485014950150501515015250153501545015550156501575015850159501605016150162501635016450165501665016750168501695017050171501725017350174501755017650177501785017950180501815018250183501845018550186501875018850189501905019150192501935019450195501965019750198501995020050201502025020350204502055020650207502085020950210502115021250213502145021550216502175021850219502205022150222502235022450225502265022750228502295023050231502325023350234502355023650237502385023950240502415024250243502445024550246502475024850249502505025150252502535025450255502565025750258502595026050261502625026350264502655026650267502685026950270502715027250273502745027550276502775027850279502805028150282502835028450285502865028750288502895029050291502925029350294502955029650297502985029950300503015030250303503045030550306503075030850309503105031150312503135031450315503165031750318503195032050321503225032350324503255032650327503285032950330503315033250333503345033550336503375033850339503405034150342503435034450345503465034750348503495035050351503525035350354503555035650357503585035950360503615036250363503645036550366503675036850369503705037150372503735037450375503765037750378503795038050381503825038350384503855038650387503885038950390503915039250393503945039550396503975039850399504005040150402504035040450405504065040750408504095041050411504125041350414504155041650417504185041950420504215042250423504245042550426504275042850429504305043150432504335043450435504365043750438504395044050441504425044350444504455044650447504485044950450504515045250453504545045550456504575045850459504605046150462504635046450465504665046750468504695047050471504725047350474504755047650477504785047950480504815048250483504845048550486504875048850489504905049150492504935049450495504965049750498504995050050501505025050350504505055050650507505085050950510505115051250513505145051550516505175051850519505205052150522505235052450525505265052750528505295053050531505325053350534505355053650537505385053950540505415054250543505445054550546505475054850549505505055150552505535055450555505565055750558505595056050561505625056350564505655056650567505685056950570505715057250573505745057550576505775057850579505805058150582505835058450585505865058750588505895059050591505925059350594505955059650597505985059950600506015060250603506045060550606506075060850609506105061150612506135061450615506165061750618506195062050621506225062350624506255062650627506285062950630506315063250633506345063550636506375063850639506405064150642506435064450645506465064750648506495065050651506525065350654506555065650657506585065950660506615066250663506645066550666506675066850669506705067150672506735067450675506765067750678506795068050681506825068350684506855068650687506885068950690506915069250693506945069550696506975069850699507005070150702507035070450705507065070750708507095071050711507125071350714507155071650717507185071950720507215072250723507245072550726507275072850729507305073150732507335073450735507365073750738507395074050741507425074350744507455074650747507485074950750507515075250753507545075550756507575075850759507605076150762507635076450765507665076750768507695077050771507725077350774507755077650777507785077950780507815078250783507845078550786507875078850789507905079150792507935079450795507965079750798507995080050801508025080350804508055080650807508085080950810508115081250813508145081550816508175081850819508205082150822508235082450825508265082750828508295083050831508325083350834508355083650837508385083950840508415084250843508445084550846508475084850849508505085150852508535085450855508565085750858508595086050861508625086350864508655086650867508685086950870508715087250873508745087550876508775087850879508805088150882508835088450885508865088750888508895089050891508925089350894508955089650897508985089950900509015090250903509045090550906509075090850909509105091150912509135091450915509165091750918509195092050921509225092350924509255092650927509285092950930509315093250933509345093550936509375093850939509405094150942509435094450945509465094750948509495095050951509525095350954509555095650957509585095950960509615096250963509645096550966509675096850969509705097150972509735097450975509765097750978509795098050981509825098350984509855098650987509885098950990509915099250993509945099550996509975099850999510005100151002510035100451005510065100751008510095101051011510125101351014510155101651017510185101951020510215102251023510245102551026510275102851029510305103151032510335103451035510365103751038510395104051041510425104351044510455104651047510485104951050510515105251053510545105551056510575105851059510605106151062510635106451065510665106751068510695107051071510725107351074510755107651077510785107951080510815108251083510845108551086510875108851089510905109151092510935109451095510965109751098510995110051101511025110351104511055110651107511085110951110511115111251113511145111551116511175111851119511205112151122511235112451125511265112751128511295113051131511325113351134511355113651137511385113951140511415114251143511445114551146511475114851149511505115151152511535115451155511565115751158511595116051161511625116351164511655116651167511685116951170511715117251173511745117551176511775117851179511805118151182511835118451185511865118751188511895119051191511925119351194511955119651197511985119951200512015120251203512045120551206512075120851209512105121151212512135121451215512165121751218512195122051221512225122351224512255122651227512285122951230512315123251233512345123551236512375123851239512405124151242512435124451245512465124751248512495125051251512525125351254512555125651257512585125951260512615126251263512645126551266512675126851269512705127151272512735127451275512765127751278512795128051281512825128351284512855128651287512885128951290512915129251293512945129551296512975129851299513005130151302513035130451305513065130751308513095131051311513125131351314513155131651317513185131951320513215132251323513245132551326513275132851329513305133151332513335133451335513365133751338513395134051341513425134351344513455134651347513485134951350513515135251353513545135551356513575135851359513605136151362513635136451365513665136751368513695137051371513725137351374513755137651377513785137951380513815138251383513845138551386513875138851389513905139151392513935139451395513965139751398513995140051401514025140351404514055140651407514085140951410514115141251413514145141551416514175141851419514205142151422514235142451425514265142751428514295143051431514325143351434514355143651437514385143951440514415144251443514445144551446514475144851449514505145151452514535145451455514565145751458514595146051461514625146351464514655146651467514685146951470514715147251473514745147551476514775147851479514805148151482514835148451485514865148751488514895149051491514925149351494514955149651497514985149951500515015150251503515045150551506515075150851509515105151151512515135151451515515165151751518515195152051521515225152351524515255152651527515285152951530515315153251533515345153551536515375153851539515405154151542515435154451545515465154751548515495155051551515525155351554515555155651557515585155951560515615156251563515645156551566515675156851569515705157151572515735157451575515765157751578515795158051581515825158351584515855158651587515885158951590515915159251593515945159551596515975159851599516005160151602516035160451605516065160751608516095161051611516125161351614516155161651617516185161951620516215162251623516245162551626516275162851629516305163151632516335163451635516365163751638516395164051641516425164351644516455164651647516485164951650516515165251653516545165551656516575165851659516605166151662516635166451665516665166751668516695167051671516725167351674516755167651677516785167951680516815168251683516845168551686516875168851689516905169151692516935169451695516965169751698516995170051701517025170351704517055170651707517085170951710517115171251713517145171551716517175171851719517205172151722517235172451725517265172751728517295173051731517325173351734517355173651737517385173951740517415174251743517445174551746517475174851749517505175151752517535175451755517565175751758517595176051761517625176351764517655176651767517685176951770517715177251773517745177551776517775177851779517805178151782517835178451785517865178751788517895179051791517925179351794517955179651797517985179951800518015180251803518045180551806518075180851809518105181151812518135181451815518165181751818518195182051821518225182351824518255182651827518285182951830518315183251833518345183551836518375183851839518405184151842518435184451845518465184751848518495185051851518525185351854518555185651857518585185951860518615186251863518645186551866518675186851869518705187151872518735187451875518765187751878518795188051881518825188351884518855188651887518885188951890518915189251893518945189551896518975189851899519005190151902519035190451905519065190751908519095191051911519125191351914519155191651917519185191951920519215192251923519245192551926519275192851929519305193151932519335193451935519365193751938519395194051941519425194351944519455194651947519485194951950519515195251953519545195551956519575195851959519605196151962519635196451965519665196751968519695197051971519725197351974519755197651977519785197951980519815198251983519845198551986519875198851989519905199151992519935199451995519965199751998519995200052001520025200352004520055200652007520085200952010520115201252013520145201552016520175201852019520205202152022520235202452025520265202752028520295203052031520325203352034520355203652037520385203952040520415204252043520445204552046520475204852049520505205152052520535205452055520565205752058520595206052061520625206352064520655206652067520685206952070520715207252073520745207552076520775207852079520805208152082520835208452085520865208752088520895209052091520925209352094520955209652097520985209952100521015210252103521045210552106521075210852109521105211152112521135211452115521165211752118521195212052121521225212352124521255212652127521285212952130521315213252133521345213552136521375213852139521405214152142521435214452145521465214752148521495215052151521525215352154521555215652157521585215952160521615216252163521645216552166521675216852169521705217152172521735217452175521765217752178521795218052181521825218352184521855218652187521885218952190521915219252193521945219552196521975219852199522005220152202522035220452205522065220752208522095221052211522125221352214522155221652217522185221952220522215222252223522245222552226522275222852229522305223152232522335223452235522365223752238522395224052241522425224352244522455224652247522485224952250522515225252253522545225552256522575225852259522605226152262522635226452265522665226752268522695227052271522725227352274522755227652277522785227952280522815228252283522845228552286522875228852289522905229152292522935229452295522965229752298522995230052301523025230352304523055230652307523085230952310523115231252313523145231552316523175231852319523205232152322523235232452325523265232752328523295233052331523325233352334523355233652337523385233952340523415234252343523445234552346523475234852349523505235152352523535235452355523565235752358523595236052361523625236352364523655236652367523685236952370523715237252373523745237552376523775237852379523805238152382523835238452385523865238752388523895239052391523925239352394523955239652397523985239952400524015240252403524045240552406524075240852409524105241152412524135241452415524165241752418524195242052421524225242352424524255242652427524285242952430524315243252433524345243552436524375243852439524405244152442524435244452445524465244752448524495245052451524525245352454524555245652457524585245952460524615246252463524645246552466524675246852469524705247152472524735247452475524765247752478524795248052481524825248352484524855248652487524885248952490524915249252493524945249552496524975249852499525005250152502525035250452505525065250752508525095251052511525125251352514525155251652517525185251952520525215252252523525245252552526525275252852529525305253152532525335253452535525365253752538525395254052541525425254352544525455254652547525485254952550525515255252553525545255552556525575255852559525605256152562525635256452565525665256752568525695257052571525725257352574525755257652577525785257952580525815258252583525845258552586525875258852589525905259152592525935259452595525965259752598525995260052601526025260352604526055260652607526085260952610526115261252613526145261552616526175261852619526205262152622526235262452625526265262752628526295263052631526325263352634526355263652637526385263952640526415264252643526445264552646526475264852649526505265152652526535265452655526565265752658526595266052661526625266352664526655266652667526685266952670526715267252673526745267552676526775267852679526805268152682526835268452685526865268752688526895269052691526925269352694526955269652697526985269952700527015270252703527045270552706527075270852709527105271152712527135271452715527165271752718527195272052721527225272352724527255272652727527285272952730527315273252733527345273552736527375273852739527405274152742527435274452745527465274752748527495275052751527525275352754527555275652757527585275952760527615276252763527645276552766527675276852769527705277152772527735277452775527765277752778527795278052781527825278352784527855278652787527885278952790527915279252793527945279552796527975279852799528005280152802528035280452805528065280752808528095281052811528125281352814528155281652817528185281952820528215282252823528245282552826528275282852829528305283152832528335283452835528365283752838528395284052841528425284352844528455284652847528485284952850528515285252853528545285552856528575285852859528605286152862528635286452865528665286752868528695287052871528725287352874528755287652877528785287952880528815288252883528845288552886528875288852889528905289152892528935289452895528965289752898528995290052901529025290352904529055290652907529085290952910529115291252913529145291552916529175291852919529205292152922529235292452925529265292752928529295293052931529325293352934529355293652937529385293952940529415294252943529445294552946529475294852949529505295152952529535295452955529565295752958529595296052961529625296352964529655296652967529685296952970529715297252973529745297552976529775297852979529805298152982529835298452985529865298752988529895299052991529925299352994529955299652997529985299953000530015300253003530045300553006530075300853009530105301153012530135301453015530165301753018530195302053021530225302353024530255302653027530285302953030530315303253033530345303553036530375303853039530405304153042530435304453045530465304753048530495305053051530525305353054530555305653057530585305953060530615306253063530645306553066530675306853069530705307153072530735307453075530765307753078530795308053081530825308353084530855308653087530885308953090530915309253093530945309553096530975309853099531005310153102531035310453105531065310753108531095311053111531125311353114531155311653117531185311953120531215312253123531245312553126531275312853129531305313153132531335313453135531365313753138531395314053141531425314353144531455314653147531485314953150531515315253153531545315553156531575315853159531605316153162531635316453165531665316753168531695317053171531725317353174531755317653177531785317953180531815318253183531845318553186531875318853189531905319153192531935319453195531965319753198531995320053201532025320353204532055320653207532085320953210532115321253213532145321553216532175321853219532205322153222532235322453225532265322753228532295323053231532325323353234532355323653237532385323953240532415324253243532445324553246532475324853249532505325153252532535325453255532565325753258532595326053261532625326353264532655326653267532685326953270532715327253273532745327553276532775327853279532805328153282532835328453285532865328753288532895329053291532925329353294532955329653297532985329953300533015330253303533045330553306533075330853309533105331153312533135331453315533165331753318533195332053321533225332353324533255332653327533285332953330533315333253333533345333553336533375333853339533405334153342533435334453345533465334753348533495335053351533525335353354533555335653357533585335953360533615336253363533645336553366533675336853369533705337153372533735337453375533765337753378533795338053381533825338353384533855338653387533885338953390533915339253393533945339553396533975339853399534005340153402534035340453405534065340753408534095341053411534125341353414534155341653417534185341953420534215342253423534245342553426534275342853429534305343153432534335343453435534365343753438534395344053441534425344353444534455344653447534485344953450534515345253453534545345553456534575345853459534605346153462534635346453465534665346753468534695347053471534725347353474534755347653477534785347953480534815348253483534845348553486534875348853489534905349153492534935349453495534965349753498534995350053501535025350353504535055350653507535085350953510535115351253513535145351553516535175351853519535205352153522535235352453525535265352753528535295353053531535325353353534535355353653537535385353953540535415354253543535445354553546535475354853549535505355153552535535355453555535565355753558535595356053561535625356353564535655356653567535685356953570535715357253573535745357553576535775357853579535805358153582535835358453585535865358753588535895359053591535925359353594535955359653597535985359953600536015360253603536045360553606536075360853609536105361153612536135361453615536165361753618536195362053621536225362353624536255362653627536285362953630536315363253633536345363553636536375363853639536405364153642536435364453645536465364753648536495365053651536525365353654536555365653657536585365953660536615366253663536645366553666536675366853669536705367153672536735367453675536765367753678536795368053681536825368353684536855368653687536885368953690536915369253693536945369553696536975369853699537005370153702537035370453705537065370753708537095371053711537125371353714537155371653717537185371953720537215372253723537245372553726537275372853729537305373153732537335373453735537365373753738537395374053741537425374353744537455374653747537485374953750537515375253753537545375553756537575375853759537605376153762537635376453765537665376753768537695377053771537725377353774537755377653777537785377953780537815378253783537845378553786537875378853789537905379153792537935379453795537965379753798537995380053801538025380353804538055380653807538085380953810538115381253813538145381553816538175381853819538205382153822538235382453825538265382753828538295383053831538325383353834538355383653837538385383953840538415384253843538445384553846538475384853849538505385153852538535385453855538565385753858538595386053861538625386353864538655386653867538685386953870538715387253873538745387553876538775387853879538805388153882538835388453885538865388753888538895389053891538925389353894538955389653897538985389953900539015390253903539045390553906539075390853909539105391153912539135391453915539165391753918539195392053921539225392353924539255392653927539285392953930539315393253933539345393553936539375393853939539405394153942539435394453945539465394753948539495395053951539525395353954539555395653957539585395953960539615396253963539645396553966539675396853969539705397153972539735397453975539765397753978539795398053981539825398353984539855398653987539885398953990539915399253993539945399553996539975399853999540005400154002540035400454005540065400754008540095401054011540125401354014540155401654017540185401954020540215402254023540245402554026540275402854029540305403154032540335403454035540365403754038540395404054041540425404354044540455404654047540485404954050540515405254053540545405554056540575405854059540605406154062540635406454065540665406754068540695407054071540725407354074540755407654077540785407954080540815408254083540845408554086540875408854089540905409154092540935409454095540965409754098540995410054101541025410354104541055410654107541085410954110541115411254113541145411554116541175411854119541205412154122541235412454125541265412754128541295413054131541325413354134541355413654137541385413954140541415414254143541445414554146541475414854149541505415154152541535415454155541565415754158541595416054161541625416354164541655416654167541685416954170541715417254173541745417554176541775417854179541805418154182541835418454185541865418754188541895419054191541925419354194541955419654197541985419954200542015420254203542045420554206542075420854209542105421154212542135421454215542165421754218542195422054221542225422354224542255422654227542285422954230542315423254233542345423554236542375423854239542405424154242542435424454245542465424754248542495425054251542525425354254542555425654257542585425954260542615426254263542645426554266542675426854269542705427154272542735427454275542765427754278542795428054281542825428354284542855428654287542885428954290542915429254293542945429554296542975429854299543005430154302543035430454305543065430754308543095431054311543125431354314543155431654317543185431954320543215432254323543245432554326543275432854329543305433154332543335433454335543365433754338543395434054341543425434354344543455434654347543485434954350543515435254353543545435554356543575435854359543605436154362543635436454365543665436754368543695437054371543725437354374543755437654377543785437954380543815438254383543845438554386543875438854389543905439154392543935439454395543965439754398543995440054401544025440354404544055440654407544085440954410544115441254413544145441554416544175441854419544205442154422544235442454425544265442754428544295443054431544325443354434544355443654437544385443954440544415444254443544445444554446544475444854449544505445154452544535445454455544565445754458544595446054461544625446354464544655446654467544685446954470544715447254473544745447554476544775447854479544805448154482544835448454485544865448754488544895449054491544925449354494544955449654497544985449954500545015450254503545045450554506545075450854509545105451154512545135451454515545165451754518545195452054521545225452354524545255452654527545285452954530545315453254533545345453554536545375453854539545405454154542545435454454545545465454754548545495455054551545525455354554545555455654557545585455954560545615456254563545645456554566545675456854569545705457154572545735457454575545765457754578545795458054581545825458354584545855458654587545885458954590545915459254593545945459554596545975459854599546005460154602546035460454605546065460754608546095461054611546125461354614546155461654617546185461954620546215462254623546245462554626546275462854629546305463154632546335463454635546365463754638546395464054641546425464354644546455464654647546485464954650546515465254653546545465554656546575465854659546605466154662546635466454665546665466754668546695467054671546725467354674546755467654677546785467954680546815468254683546845468554686546875468854689546905469154692546935469454695546965469754698546995470054701547025470354704547055470654707547085470954710547115471254713547145471554716547175471854719547205472154722547235472454725547265472754728547295473054731547325473354734547355473654737547385473954740547415474254743547445474554746547475474854749547505475154752547535475454755547565475754758547595476054761547625476354764547655476654767547685476954770547715477254773547745477554776547775477854779547805478154782547835478454785547865478754788547895479054791547925479354794547955479654797547985479954800548015480254803548045480554806548075480854809548105481154812548135481454815548165481754818548195482054821548225482354824548255482654827548285482954830548315483254833548345483554836548375483854839548405484154842548435484454845548465484754848548495485054851548525485354854548555485654857548585485954860548615486254863548645486554866548675486854869548705487154872548735487454875548765487754878548795488054881548825488354884548855488654887548885488954890548915489254893548945489554896548975489854899549005490154902549035490454905549065490754908549095491054911549125491354914549155491654917549185491954920549215492254923549245492554926549275492854929549305493154932549335493454935549365493754938549395494054941549425494354944549455494654947549485494954950549515495254953549545495554956549575495854959549605496154962549635496454965549665496754968549695497054971549725497354974549755497654977549785497954980549815498254983549845498554986549875498854989549905499154992549935499454995549965499754998549995500055001550025500355004550055500655007550085500955010550115501255013550145501555016550175501855019550205502155022550235502455025550265502755028550295503055031550325503355034550355503655037550385503955040550415504255043550445504555046550475504855049550505505155052550535505455055550565505755058550595506055061550625506355064550655506655067550685506955070550715507255073550745507555076550775507855079550805508155082550835508455085550865508755088550895509055091550925509355094550955509655097550985509955100551015510255103551045510555106551075510855109551105511155112551135511455115551165511755118551195512055121551225512355124551255512655127551285512955130551315513255133551345513555136551375513855139551405514155142551435514455145551465514755148551495515055151551525515355154551555515655157551585515955160551615516255163551645516555166551675516855169551705517155172551735517455175551765517755178551795518055181551825518355184551855518655187551885518955190551915519255193551945519555196551975519855199552005520155202552035520455205552065520755208552095521055211552125521355214552155521655217552185521955220552215522255223552245522555226552275522855229552305523155232552335523455235552365523755238552395524055241552425524355244552455524655247552485524955250552515525255253552545525555256552575525855259552605526155262552635526455265552665526755268552695527055271552725527355274552755527655277552785527955280552815528255283552845528555286552875528855289552905529155292552935529455295552965529755298552995530055301553025530355304553055530655307553085530955310553115531255313553145531555316553175531855319553205532155322553235532455325553265532755328553295533055331553325533355334553355533655337553385533955340553415534255343553445534555346553475534855349553505535155352553535535455355553565535755358553595536055361553625536355364553655536655367553685536955370553715537255373553745537555376553775537855379553805538155382553835538455385553865538755388553895539055391553925539355394553955539655397553985539955400554015540255403554045540555406554075540855409554105541155412554135541455415554165541755418554195542055421554225542355424554255542655427554285542955430554315543255433554345543555436554375543855439554405544155442554435544455445554465544755448554495545055451554525545355454554555545655457554585545955460554615546255463554645546555466554675546855469554705547155472554735547455475554765547755478554795548055481554825548355484554855548655487554885548955490554915549255493554945549555496554975549855499555005550155502555035550455505555065550755508555095551055511555125551355514555155551655517555185551955520555215552255523555245552555526555275552855529555305553155532555335553455535555365553755538555395554055541555425554355544555455554655547555485554955550555515555255553555545555555556555575555855559555605556155562555635556455565555665556755568555695557055571555725557355574555755557655577555785557955580555815558255583555845558555586555875558855589555905559155592555935559455595555965559755598555995560055601556025560355604556055560655607556085560955610556115561255613556145561555616556175561855619556205562155622556235562455625556265562755628556295563055631556325563355634556355563655637556385563955640556415564255643556445564555646556475564855649556505565155652556535565455655556565565755658556595566055661556625566355664556655566655667556685566955670556715567255673556745567555676556775567855679556805568155682556835568455685556865568755688556895569055691556925569355694556955569655697556985569955700557015570255703557045570555706557075570855709557105571155712557135571455715557165571755718557195572055721557225572355724557255572655727557285572955730557315573255733557345573555736557375573855739557405574155742557435574455745557465574755748557495575055751557525575355754557555575655757557585575955760557615576255763557645576555766557675576855769557705577155772557735577455775557765577755778557795578055781557825578355784557855578655787557885578955790557915579255793557945579555796557975579855799558005580155802558035580455805558065580755808558095581055811558125581355814558155581655817558185581955820558215582255823558245582555826558275582855829558305583155832558335583455835558365583755838558395584055841558425584355844558455584655847558485584955850558515585255853558545585555856558575585855859558605586155862558635586455865558665586755868558695587055871558725587355874558755587655877558785587955880558815588255883558845588555886558875588855889558905589155892558935589455895558965589755898558995590055901559025590355904559055590655907559085590955910559115591255913559145591555916559175591855919559205592155922559235592455925559265592755928559295593055931559325593355934559355593655937559385593955940559415594255943559445594555946559475594855949559505595155952559535595455955559565595755958559595596055961559625596355964559655596655967559685596955970559715597255973559745597555976559775597855979559805598155982559835598455985559865598755988559895599055991559925599355994559955599655997559985599956000560015600256003560045600556006560075600856009560105601156012560135601456015560165601756018560195602056021560225602356024560255602656027560285602956030560315603256033560345603556036560375603856039560405604156042560435604456045560465604756048560495605056051560525605356054560555605656057560585605956060560615606256063560645606556066560675606856069560705607156072560735607456075560765607756078560795608056081560825608356084560855608656087560885608956090560915609256093560945609556096560975609856099561005610156102561035610456105561065610756108561095611056111561125611356114561155611656117561185611956120561215612256123561245612556126561275612856129561305613156132561335613456135561365613756138561395614056141561425614356144561455614656147561485614956150561515615256153561545615556156561575615856159561605616156162561635616456165561665616756168561695617056171561725617356174561755617656177561785617956180561815618256183561845618556186561875618856189561905619156192561935619456195561965619756198561995620056201562025620356204562055620656207562085620956210562115621256213562145621556216562175621856219562205622156222562235622456225562265622756228562295623056231562325623356234562355623656237562385623956240562415624256243562445624556246562475624856249562505625156252562535625456255562565625756258562595626056261562625626356264562655626656267562685626956270562715627256273562745627556276562775627856279562805628156282562835628456285562865628756288562895629056291562925629356294562955629656297562985629956300563015630256303563045630556306563075630856309563105631156312563135631456315563165631756318563195632056321563225632356324563255632656327563285632956330563315633256333563345633556336563375633856339563405634156342563435634456345563465634756348563495635056351563525635356354563555635656357563585635956360563615636256363563645636556366563675636856369563705637156372563735637456375563765637756378563795638056381563825638356384563855638656387563885638956390563915639256393563945639556396563975639856399564005640156402564035640456405564065640756408564095641056411564125641356414564155641656417564185641956420564215642256423564245642556426564275642856429564305643156432564335643456435564365643756438564395644056441564425644356444564455644656447564485644956450564515645256453564545645556456564575645856459564605646156462564635646456465564665646756468564695647056471564725647356474564755647656477564785647956480564815648256483564845648556486564875648856489564905649156492564935649456495564965649756498564995650056501565025650356504565055650656507565085650956510565115651256513565145651556516565175651856519565205652156522565235652456525565265652756528565295653056531565325653356534565355653656537565385653956540565415654256543565445654556546565475654856549565505655156552565535655456555565565655756558565595656056561565625656356564565655656656567565685656956570565715657256573565745657556576565775657856579565805658156582565835658456585565865658756588565895659056591565925659356594565955659656597565985659956600566015660256603566045660556606566075660856609566105661156612566135661456615566165661756618566195662056621566225662356624566255662656627566285662956630566315663256633566345663556636566375663856639566405664156642566435664456645566465664756648566495665056651566525665356654566555665656657566585665956660566615666256663566645666556666566675666856669566705667156672566735667456675566765667756678566795668056681566825668356684566855668656687566885668956690566915669256693566945669556696566975669856699567005670156702567035670456705567065670756708567095671056711567125671356714567155671656717567185671956720567215672256723567245672556726567275672856729567305673156732567335673456735567365673756738567395674056741567425674356744567455674656747567485674956750567515675256753567545675556756567575675856759567605676156762567635676456765567665676756768567695677056771567725677356774567755677656777567785677956780567815678256783567845678556786567875678856789567905679156792567935679456795567965679756798567995680056801568025680356804568055680656807568085680956810568115681256813568145681556816568175681856819568205682156822568235682456825568265682756828568295683056831568325683356834568355683656837568385683956840568415684256843568445684556846568475684856849568505685156852568535685456855568565685756858568595686056861568625686356864568655686656867568685686956870568715687256873568745687556876568775687856879568805688156882568835688456885568865688756888568895689056891568925689356894568955689656897568985689956900569015690256903569045690556906569075690856909569105691156912569135691456915569165691756918569195692056921569225692356924569255692656927569285692956930569315693256933569345693556936569375693856939569405694156942569435694456945569465694756948569495695056951569525695356954569555695656957569585695956960569615696256963569645696556966569675696856969569705697156972569735697456975569765697756978569795698056981569825698356984569855698656987569885698956990569915699256993569945699556996569975699856999570005700157002570035700457005570065700757008570095701057011570125701357014570155701657017570185701957020570215702257023570245702557026570275702857029570305703157032570335703457035570365703757038570395704057041570425704357044570455704657047570485704957050570515705257053570545705557056570575705857059570605706157062570635706457065570665706757068570695707057071570725707357074570755707657077570785707957080570815708257083570845708557086570875708857089570905709157092570935709457095570965709757098570995710057101571025710357104571055710657107571085710957110571115711257113571145711557116571175711857119571205712157122571235712457125571265712757128571295713057131571325713357134571355713657137571385713957140571415714257143571445714557146571475714857149571505715157152571535715457155571565715757158571595716057161571625716357164571655716657167571685716957170571715717257173571745717557176571775717857179571805718157182571835718457185571865718757188571895719057191571925719357194571955719657197571985719957200572015720257203572045720557206572075720857209572105721157212572135721457215572165721757218572195722057221572225722357224572255722657227572285722957230572315723257233572345723557236572375723857239572405724157242572435724457245572465724757248572495725057251572525725357254572555725657257572585725957260572615726257263572645726557266572675726857269572705727157272572735727457275572765727757278572795728057281572825728357284572855728657287572885728957290572915729257293572945729557296572975729857299573005730157302573035730457305573065730757308573095731057311573125731357314573155731657317573185731957320573215732257323573245732557326573275732857329573305733157332573335733457335573365733757338573395734057341573425734357344573455734657347573485734957350573515735257353573545735557356573575735857359573605736157362573635736457365573665736757368573695737057371573725737357374573755737657377573785737957380573815738257383573845738557386573875738857389573905739157392573935739457395573965739757398573995740057401574025740357404574055740657407574085740957410574115741257413574145741557416574175741857419574205742157422574235742457425574265742757428574295743057431574325743357434574355743657437574385743957440574415744257443574445744557446574475744857449574505745157452574535745457455574565745757458574595746057461574625746357464574655746657467574685746957470574715747257473574745747557476574775747857479574805748157482574835748457485574865748757488574895749057491574925749357494574955749657497574985749957500575015750257503575045750557506575075750857509575105751157512575135751457515575165751757518575195752057521575225752357524575255752657527575285752957530575315753257533575345753557536575375753857539575405754157542575435754457545575465754757548575495755057551575525755357554575555755657557575585755957560575615756257563575645756557566575675756857569575705757157572575735757457575575765757757578575795758057581575825758357584575855758657587575885758957590575915759257593575945759557596575975759857599576005760157602576035760457605576065760757608576095761057611576125761357614576155761657617576185761957620576215762257623576245762557626576275762857629576305763157632576335763457635576365763757638576395764057641576425764357644576455764657647576485764957650576515765257653576545765557656576575765857659576605766157662576635766457665576665766757668576695767057671576725767357674576755767657677576785767957680576815768257683576845768557686576875768857689576905769157692576935769457695576965769757698576995770057701577025770357704577055770657707577085770957710577115771257713577145771557716577175771857719577205772157722577235772457725577265772757728577295773057731577325773357734577355773657737577385773957740577415774257743577445774557746577475774857749577505775157752577535775457755577565775757758577595776057761577625776357764577655776657767577685776957770577715777257773577745777557776577775777857779577805778157782577835778457785577865778757788577895779057791577925779357794577955779657797577985779957800578015780257803578045780557806578075780857809578105781157812578135781457815578165781757818578195782057821578225782357824578255782657827578285782957830578315783257833578345783557836578375783857839578405784157842578435784457845578465784757848578495785057851578525785357854578555785657857578585785957860578615786257863578645786557866578675786857869578705787157872578735787457875578765787757878578795788057881578825788357884578855788657887578885788957890578915789257893578945789557896578975789857899579005790157902579035790457905579065790757908579095791057911579125791357914579155791657917579185791957920579215792257923579245792557926579275792857929579305793157932579335793457935579365793757938579395794057941579425794357944579455794657947579485794957950579515795257953579545795557956579575795857959579605796157962579635796457965579665796757968579695797057971579725797357974579755797657977579785797957980579815798257983579845798557986579875798857989579905799157992579935799457995579965799757998579995800058001580025800358004580055800658007580085800958010580115801258013580145801558016580175801858019580205802158022580235802458025580265802758028580295803058031580325803358034580355803658037580385803958040580415804258043580445804558046580475804858049580505805158052580535805458055580565805758058580595806058061580625806358064580655806658067580685806958070580715807258073580745807558076580775807858079580805808158082580835808458085580865808758088580895809058091580925809358094580955809658097580985809958100581015810258103581045810558106581075810858109581105811158112581135811458115581165811758118581195812058121581225812358124581255812658127581285812958130581315813258133581345813558136581375813858139581405814158142581435814458145581465814758148581495815058151581525815358154581555815658157581585815958160581615816258163581645816558166581675816858169581705817158172581735817458175581765817758178581795818058181581825818358184581855818658187581885818958190581915819258193581945819558196581975819858199582005820158202582035820458205582065820758208582095821058211582125821358214582155821658217582185821958220582215822258223582245822558226582275822858229582305823158232582335823458235582365823758238582395824058241582425824358244582455824658247582485824958250582515825258253582545825558256582575825858259582605826158262582635826458265582665826758268582695827058271582725827358274582755827658277582785827958280582815828258283582845828558286582875828858289582905829158292582935829458295582965829758298582995830058301583025830358304583055830658307583085830958310583115831258313583145831558316583175831858319583205832158322583235832458325583265832758328583295833058331583325833358334583355833658337583385833958340583415834258343583445834558346583475834858349583505835158352583535835458355583565835758358583595836058361583625836358364583655836658367583685836958370583715837258373583745837558376583775837858379583805838158382583835838458385583865838758388583895839058391583925839358394583955839658397583985839958400584015840258403584045840558406584075840858409584105841158412584135841458415584165841758418584195842058421584225842358424584255842658427584285842958430584315843258433584345843558436584375843858439584405844158442584435844458445584465844758448584495845058451584525845358454584555845658457584585845958460584615846258463584645846558466584675846858469584705847158472584735847458475584765847758478584795848058481584825848358484584855848658487584885848958490584915849258493584945849558496584975849858499585005850158502585035850458505585065850758508585095851058511585125851358514585155851658517585185851958520585215852258523585245852558526585275852858529585305853158532585335853458535585365853758538585395854058541585425854358544585455854658547585485854958550585515855258553585545855558556585575855858559585605856158562585635856458565585665856758568585695857058571585725857358574585755857658577585785857958580585815858258583585845858558586585875858858589585905859158592585935859458595585965859758598585995860058601586025860358604586055860658607586085860958610586115861258613586145861558616586175861858619586205862158622586235862458625586265862758628586295863058631586325863358634586355863658637586385863958640586415864258643586445864558646586475864858649586505865158652586535865458655586565865758658586595866058661586625866358664586655866658667586685866958670586715867258673586745867558676586775867858679586805868158682586835868458685586865868758688586895869058691586925869358694586955869658697586985869958700587015870258703587045870558706587075870858709587105871158712587135871458715587165871758718587195872058721587225872358724587255872658727587285872958730587315873258733587345873558736587375873858739587405874158742587435874458745587465874758748587495875058751587525875358754587555875658757587585875958760587615876258763587645876558766587675876858769587705877158772587735877458775587765877758778587795878058781587825878358784587855878658787587885878958790587915879258793587945879558796587975879858799588005880158802588035880458805588065880758808588095881058811588125881358814588155881658817588185881958820588215882258823588245882558826588275882858829588305883158832588335883458835588365883758838588395884058841588425884358844588455884658847588485884958850588515885258853588545885558856588575885858859588605886158862588635886458865588665886758868588695887058871588725887358874588755887658877588785887958880588815888258883588845888558886588875888858889588905889158892588935889458895588965889758898588995890058901589025890358904589055890658907589085890958910589115891258913589145891558916589175891858919589205892158922589235892458925589265892758928589295893058931589325893358934589355893658937589385893958940589415894258943589445894558946589475894858949589505895158952589535895458955589565895758958589595896058961589625896358964589655896658967589685896958970589715897258973589745897558976589775897858979589805898158982589835898458985589865898758988589895899058991589925899358994589955899658997589985899959000590015900259003590045900559006590075900859009590105901159012590135901459015590165901759018590195902059021590225902359024590255902659027590285902959030590315903259033590345903559036590375903859039590405904159042590435904459045590465904759048590495905059051590525905359054590555905659057590585905959060590615906259063590645906559066590675906859069590705907159072590735907459075590765907759078590795908059081590825908359084590855908659087590885908959090590915909259093590945909559096590975909859099591005910159102591035910459105591065910759108591095911059111591125911359114591155911659117591185911959120591215912259123591245912559126591275912859129591305913159132591335913459135591365913759138591395914059141591425914359144591455914659147591485914959150591515915259153591545915559156591575915859159591605916159162591635916459165591665916759168591695917059171591725917359174591755917659177591785917959180591815918259183591845918559186591875918859189591905919159192591935919459195591965919759198591995920059201592025920359204592055920659207592085920959210592115921259213592145921559216592175921859219592205922159222592235922459225592265922759228592295923059231592325923359234592355923659237592385923959240592415924259243592445924559246592475924859249592505925159252592535925459255592565925759258592595926059261592625926359264592655926659267592685926959270592715927259273592745927559276592775927859279592805928159282592835928459285592865928759288592895929059291592925929359294592955929659297592985929959300593015930259303593045930559306593075930859309593105931159312593135931459315593165931759318593195932059321593225932359324593255932659327593285932959330593315933259333593345933559336593375933859339593405934159342593435934459345593465934759348593495935059351593525935359354593555935659357593585935959360593615936259363593645936559366593675936859369593705937159372593735937459375593765937759378593795938059381593825938359384593855938659387593885938959390593915939259393593945939559396593975939859399594005940159402594035940459405594065940759408594095941059411594125941359414594155941659417594185941959420594215942259423594245942559426594275942859429594305943159432594335943459435594365943759438594395944059441594425944359444594455944659447594485944959450594515945259453594545945559456594575945859459594605946159462594635946459465594665946759468594695947059471594725947359474594755947659477594785947959480594815948259483594845948559486594875948859489594905949159492594935949459495594965949759498594995950059501595025950359504595055950659507595085950959510595115951259513595145951559516595175951859519595205952159522595235952459525595265952759528595295953059531595325953359534595355953659537595385953959540595415954259543595445954559546595475954859549595505955159552595535955459555595565955759558595595956059561595625956359564595655956659567595685956959570595715957259573595745957559576595775957859579595805958159582595835958459585595865958759588595895959059591595925959359594595955959659597595985959959600596015960259603596045960559606596075960859609596105961159612596135961459615596165961759618596195962059621596225962359624596255962659627596285962959630596315963259633596345963559636596375963859639596405964159642596435964459645596465964759648596495965059651596525965359654596555965659657596585965959660596615966259663596645966559666596675966859669596705967159672596735967459675596765967759678596795968059681596825968359684596855968659687596885968959690596915969259693596945969559696596975969859699597005970159702597035970459705597065970759708597095971059711597125971359714597155971659717597185971959720597215972259723597245972559726597275972859729597305973159732597335973459735597365973759738597395974059741597425974359744597455974659747597485974959750597515975259753597545975559756597575975859759597605976159762597635976459765597665976759768597695977059771597725977359774597755977659777597785977959780597815978259783597845978559786597875978859789597905979159792597935979459795597965979759798597995980059801598025980359804598055980659807598085980959810598115981259813598145981559816598175981859819598205982159822598235982459825598265982759828598295983059831598325983359834598355983659837598385983959840598415984259843598445984559846598475984859849598505985159852598535985459855598565985759858598595986059861598625986359864598655986659867598685986959870598715987259873598745987559876598775987859879598805988159882598835988459885598865988759888598895989059891598925989359894598955989659897598985989959900599015990259903599045990559906599075990859909599105991159912599135991459915599165991759918599195992059921599225992359924599255992659927599285992959930599315993259933599345993559936599375993859939599405994159942599435994459945599465994759948599495995059951599525995359954599555995659957599585995959960599615996259963599645996559966599675996859969599705997159972599735997459975599765997759978599795998059981599825998359984599855998659987599885998959990599915999259993599945999559996599975999859999600006000160002600036000460005600066000760008600096001060011600126001360014600156001660017600186001960020600216002260023600246002560026600276002860029600306003160032600336003460035600366003760038600396004060041600426004360044600456004660047600486004960050600516005260053600546005560056600576005860059600606006160062600636006460065600666006760068600696007060071600726007360074600756007660077600786007960080600816008260083600846008560086600876008860089600906009160092600936009460095600966009760098600996010060101601026010360104601056010660107601086010960110601116011260113601146011560116601176011860119601206012160122601236012460125601266012760128601296013060131601326013360134601356013660137601386013960140601416014260143601446014560146601476014860149601506015160152601536015460155601566015760158601596016060161601626016360164601656016660167601686016960170601716017260173601746017560176601776017860179601806018160182601836018460185601866018760188601896019060191601926019360194601956019660197601986019960200602016020260203602046020560206602076020860209602106021160212602136021460215602166021760218602196022060221602226022360224602256022660227602286022960230602316023260233602346023560236602376023860239602406024160242602436024460245602466024760248602496025060251602526025360254602556025660257602586025960260602616026260263602646026560266602676026860269602706027160272602736027460275602766027760278602796028060281602826028360284602856028660287602886028960290602916029260293602946029560296602976029860299603006030160302603036030460305603066030760308603096031060311603126031360314603156031660317603186031960320603216032260323603246032560326603276032860329603306033160332603336033460335603366033760338603396034060341603426034360344603456034660347603486034960350603516035260353603546035560356603576035860359603606036160362603636036460365603666036760368603696037060371603726037360374603756037660377603786037960380603816038260383603846038560386603876038860389603906039160392603936039460395603966039760398603996040060401604026040360404604056040660407604086040960410604116041260413604146041560416604176041860419604206042160422604236042460425604266042760428604296043060431604326043360434604356043660437604386043960440604416044260443604446044560446604476044860449604506045160452604536045460455604566045760458604596046060461604626046360464604656046660467604686046960470604716047260473604746047560476604776047860479604806048160482604836048460485604866048760488604896049060491604926049360494604956049660497604986049960500605016050260503605046050560506605076050860509605106051160512605136051460515605166051760518605196052060521605226052360524605256052660527605286052960530605316053260533605346053560536605376053860539605406054160542605436054460545605466054760548605496055060551605526055360554605556055660557605586055960560605616056260563605646056560566605676056860569605706057160572605736057460575605766057760578605796058060581605826058360584605856058660587605886058960590605916059260593605946059560596605976059860599606006060160602606036060460605606066060760608606096061060611606126061360614606156061660617606186061960620606216062260623606246062560626606276062860629606306063160632606336063460635606366063760638606396064060641606426064360644606456064660647606486064960650606516065260653606546065560656606576065860659606606066160662606636066460665606666066760668606696067060671606726067360674606756067660677606786067960680606816068260683606846068560686606876068860689606906069160692606936069460695606966069760698606996070060701607026070360704607056070660707607086070960710607116071260713607146071560716607176071860719607206072160722607236072460725607266072760728607296073060731607326073360734607356073660737607386073960740607416074260743607446074560746607476074860749607506075160752607536075460755607566075760758607596076060761607626076360764607656076660767607686076960770607716077260773607746077560776607776077860779607806078160782607836078460785607866078760788607896079060791607926079360794607956079660797607986079960800608016080260803608046080560806608076080860809608106081160812608136081460815608166081760818608196082060821608226082360824608256082660827608286082960830608316083260833608346083560836608376083860839608406084160842608436084460845608466084760848608496085060851608526085360854608556085660857608586085960860608616086260863608646086560866608676086860869608706087160872608736087460875608766087760878608796088060881608826088360884608856088660887608886088960890608916089260893608946089560896608976089860899609006090160902609036090460905609066090760908609096091060911609126091360914609156091660917609186091960920609216092260923609246092560926609276092860929609306093160932609336093460935609366093760938609396094060941609426094360944609456094660947609486094960950609516095260953609546095560956609576095860959609606096160962609636096460965609666096760968609696097060971609726097360974609756097660977609786097960980609816098260983609846098560986609876098860989609906099160992609936099460995609966099760998609996100061001610026100361004610056100661007610086100961010610116101261013610146101561016610176101861019610206102161022610236102461025610266102761028610296103061031610326103361034610356103661037610386103961040610416104261043610446104561046610476104861049610506105161052610536105461055610566105761058610596106061061610626106361064610656106661067610686106961070610716107261073610746107561076610776107861079610806108161082610836108461085610866108761088610896109061091610926109361094610956109661097610986109961100611016110261103611046110561106611076110861109611106111161112611136111461115611166111761118611196112061121611226112361124611256112661127611286112961130611316113261133611346113561136611376113861139611406114161142611436114461145611466114761148611496115061151611526115361154611556115661157611586115961160611616116261163611646116561166611676116861169611706117161172611736117461175611766117761178611796118061181611826118361184611856118661187611886118961190611916119261193611946119561196611976119861199612006120161202612036120461205612066120761208612096121061211612126121361214612156121661217612186121961220612216122261223612246122561226612276122861229612306123161232612336123461235612366123761238612396124061241612426124361244612456124661247612486124961250612516125261253612546125561256612576125861259612606126161262612636126461265612666126761268612696127061271612726127361274612756127661277612786127961280612816128261283612846128561286612876128861289612906129161292612936129461295612966129761298612996130061301613026130361304613056130661307613086130961310613116131261313613146131561316613176131861319613206132161322613236132461325613266132761328613296133061331613326133361334613356133661337613386133961340613416134261343613446134561346613476134861349613506135161352613536135461355613566135761358613596136061361613626136361364613656136661367613686136961370613716137261373613746137561376613776137861379613806138161382613836138461385613866138761388613896139061391613926139361394613956139661397613986139961400614016140261403614046140561406614076140861409614106141161412614136141461415614166141761418614196142061421614226142361424614256142661427614286142961430614316143261433614346143561436614376143861439614406144161442614436144461445614466144761448614496145061451614526145361454614556145661457614586145961460614616146261463614646146561466614676146861469614706147161472614736147461475614766147761478614796148061481614826148361484614856148661487614886148961490614916149261493614946149561496614976149861499615006150161502615036150461505615066150761508615096151061511615126151361514615156151661517615186151961520615216152261523615246152561526615276152861529615306153161532615336153461535615366153761538615396154061541615426154361544615456154661547615486154961550615516155261553615546155561556615576155861559615606156161562615636156461565615666156761568615696157061571615726157361574615756157661577615786157961580615816158261583615846158561586615876158861589615906159161592615936159461595615966159761598615996160061601616026160361604616056160661607616086160961610616116161261613616146161561616616176161861619616206162161622616236162461625616266162761628616296163061631616326163361634616356163661637616386163961640616416164261643616446164561646616476164861649616506165161652616536165461655616566165761658616596166061661616626166361664616656166661667616686166961670616716167261673616746167561676616776167861679616806168161682616836168461685616866168761688616896169061691616926169361694616956169661697616986169961700617016170261703617046170561706617076170861709617106171161712617136171461715617166171761718617196172061721617226172361724617256172661727617286172961730617316173261733617346173561736617376173861739617406174161742617436174461745617466174761748617496175061751617526175361754617556175661757617586175961760617616176261763617646176561766617676176861769617706177161772617736177461775617766177761778617796178061781617826178361784617856178661787617886178961790617916179261793617946179561796617976179861799618006180161802618036180461805618066180761808618096181061811618126181361814618156181661817618186181961820618216182261823618246182561826618276182861829618306183161832618336183461835618366183761838618396184061841618426184361844618456184661847618486184961850618516185261853618546185561856618576185861859618606186161862618636186461865618666186761868618696187061871618726187361874618756187661877618786187961880618816188261883618846188561886618876188861889618906189161892618936189461895618966189761898618996190061901619026190361904619056190661907619086190961910619116191261913619146191561916619176191861919619206192161922619236192461925619266192761928619296193061931619326193361934619356193661937619386193961940619416194261943619446194561946619476194861949619506195161952619536195461955619566195761958619596196061961619626196361964619656196661967619686196961970619716197261973619746197561976619776197861979619806198161982619836198461985619866198761988619896199061991619926199361994619956199661997619986199962000620016200262003620046200562006620076200862009620106201162012620136201462015620166201762018620196202062021620226202362024620256202662027620286202962030620316203262033620346203562036620376203862039620406204162042620436204462045620466204762048620496205062051620526205362054620556205662057620586205962060620616206262063620646206562066620676206862069620706207162072620736207462075620766207762078620796208062081620826208362084620856208662087620886208962090620916209262093620946209562096620976209862099621006210162102621036210462105621066210762108621096211062111621126211362114621156211662117621186211962120621216212262123621246212562126621276212862129621306213162132621336213462135621366213762138621396214062141621426214362144621456214662147621486214962150621516215262153621546215562156621576215862159621606216162162621636216462165621666216762168621696217062171621726217362174621756217662177621786217962180621816218262183621846218562186621876218862189621906219162192621936219462195621966219762198621996220062201622026220362204622056220662207622086220962210622116221262213622146221562216622176221862219622206222162222622236222462225622266222762228622296223062231622326223362234622356223662237622386223962240622416224262243622446224562246622476224862249622506225162252622536225462255622566225762258622596226062261622626226362264622656226662267622686226962270622716227262273622746227562276622776227862279622806228162282622836228462285622866228762288622896229062291622926229362294622956229662297622986229962300623016230262303623046230562306623076230862309623106231162312623136231462315623166231762318623196232062321623226232362324623256232662327623286232962330623316233262333623346233562336623376233862339623406234162342623436234462345623466234762348623496235062351623526235362354623556235662357623586235962360623616236262363623646236562366623676236862369623706237162372623736237462375623766237762378623796238062381623826238362384623856238662387623886238962390623916239262393623946239562396623976239862399624006240162402624036240462405624066240762408624096241062411624126241362414624156241662417624186241962420624216242262423624246242562426624276242862429624306243162432624336243462435624366243762438624396244062441624426244362444624456244662447624486244962450624516245262453624546245562456624576245862459624606246162462624636246462465624666246762468624696247062471624726247362474624756247662477624786247962480624816248262483624846248562486624876248862489624906249162492624936249462495624966249762498624996250062501625026250362504625056250662507625086250962510625116251262513625146251562516625176251862519625206252162522625236252462525625266252762528625296253062531625326253362534625356253662537625386253962540625416254262543625446254562546625476254862549625506255162552625536255462555625566255762558625596256062561625626256362564625656256662567625686256962570625716257262573625746257562576625776257862579625806258162582625836258462585625866258762588625896259062591625926259362594625956259662597625986259962600626016260262603626046260562606626076260862609626106261162612626136261462615626166261762618626196262062621626226262362624626256262662627626286262962630626316263262633626346263562636626376263862639626406264162642626436264462645626466264762648626496265062651626526265362654626556265662657626586265962660626616266262663626646266562666626676266862669626706267162672626736267462675626766267762678626796268062681626826268362684626856268662687626886268962690626916269262693626946269562696626976269862699627006270162702627036270462705627066270762708627096271062711627126271362714627156271662717627186271962720627216272262723627246272562726627276272862729627306273162732627336273462735627366273762738627396274062741627426274362744627456274662747627486274962750627516275262753627546275562756627576275862759627606276162762627636276462765627666276762768627696277062771627726277362774627756277662777627786277962780627816278262783627846278562786627876278862789627906279162792627936279462795627966279762798627996280062801628026280362804628056280662807628086280962810628116281262813628146281562816628176281862819628206282162822628236282462825628266282762828628296283062831628326283362834628356283662837628386283962840628416284262843628446284562846628476284862849628506285162852628536285462855628566285762858628596286062861628626286362864628656286662867628686286962870628716287262873628746287562876628776287862879628806288162882628836288462885628866288762888628896289062891628926289362894628956289662897628986289962900629016290262903629046290562906629076290862909629106291162912629136291462915629166291762918629196292062921629226292362924629256292662927629286292962930629316293262933629346293562936629376293862939629406294162942629436294462945629466294762948629496295062951629526295362954629556295662957629586295962960629616296262963629646296562966629676296862969629706297162972629736297462975629766297762978629796298062981629826298362984629856298662987629886298962990629916299262993629946299562996629976299862999630006300163002630036300463005630066300763008630096301063011630126301363014630156301663017630186301963020630216302263023630246302563026630276302863029630306303163032630336303463035630366303763038630396304063041630426304363044630456304663047630486304963050630516305263053630546305563056630576305863059630606306163062630636306463065630666306763068630696307063071630726307363074630756307663077630786307963080630816308263083630846308563086630876308863089630906309163092630936309463095630966309763098630996310063101631026310363104631056310663107631086310963110631116311263113631146311563116631176311863119631206312163122631236312463125631266312763128631296313063131631326313363134631356313663137631386313963140631416314263143631446314563146631476314863149631506315163152631536315463155631566315763158631596316063161631626316363164631656316663167631686316963170631716317263173631746317563176631776317863179631806318163182631836318463185631866318763188631896319063191631926319363194631956319663197631986319963200632016320263203632046320563206632076320863209632106321163212632136321463215632166321763218632196322063221632226322363224632256322663227632286322963230632316323263233632346323563236632376323863239632406324163242632436324463245632466324763248632496325063251632526325363254632556325663257632586325963260632616326263263632646326563266632676326863269632706327163272632736327463275632766327763278632796328063281632826328363284632856328663287632886328963290632916329263293632946329563296632976329863299633006330163302633036330463305633066330763308633096331063311633126331363314633156331663317633186331963320633216332263323633246332563326633276332863329633306333163332633336333463335633366333763338633396334063341633426334363344633456334663347633486334963350633516335263353633546335563356633576335863359633606336163362633636336463365633666336763368633696337063371633726337363374633756337663377633786337963380633816338263383633846338563386633876338863389633906339163392633936339463395633966339763398633996340063401634026340363404634056340663407634086340963410634116341263413634146341563416634176341863419634206342163422634236342463425634266342763428634296343063431634326343363434634356343663437634386343963440634416344263443634446344563446634476344863449634506345163452634536345463455634566345763458634596346063461634626346363464634656346663467634686346963470634716347263473634746347563476634776347863479634806348163482634836348463485634866348763488634896349063491634926349363494634956349663497634986349963500635016350263503635046350563506635076350863509635106351163512635136351463515635166351763518635196352063521635226352363524635256352663527635286352963530635316353263533635346353563536635376353863539635406354163542635436354463545635466354763548635496355063551635526355363554635556355663557635586355963560635616356263563635646356563566635676356863569635706357163572635736357463575635766357763578635796358063581635826358363584635856358663587635886358963590635916359263593635946359563596635976359863599636006360163602636036360463605636066360763608636096361063611636126361363614636156361663617636186361963620636216362263623636246362563626636276362863629636306363163632636336363463635636366363763638636396364063641636426364363644636456364663647636486364963650636516365263653636546365563656636576365863659636606366163662636636366463665636666366763668636696367063671636726367363674636756367663677636786367963680636816368263683636846368563686636876368863689636906369163692636936369463695636966369763698636996370063701637026370363704637056370663707637086370963710637116371263713637146371563716637176371863719637206372163722637236372463725637266372763728637296373063731637326373363734637356373663737637386373963740637416374263743637446374563746637476374863749637506375163752637536375463755637566375763758637596376063761637626376363764637656376663767637686376963770637716377263773637746377563776637776377863779637806378163782637836378463785637866378763788637896379063791637926379363794637956379663797637986379963800638016380263803638046380563806638076380863809638106381163812638136381463815638166381763818638196382063821638226382363824638256382663827638286382963830638316383263833638346383563836638376383863839638406384163842638436384463845638466384763848638496385063851638526385363854638556385663857638586385963860638616386263863638646386563866638676386863869638706387163872638736387463875638766387763878638796388063881638826388363884638856388663887638886388963890638916389263893638946389563896638976389863899639006390163902639036390463905639066390763908639096391063911639126391363914639156391663917639186391963920639216392263923639246392563926639276392863929639306393163932639336393463935639366393763938639396394063941639426394363944639456394663947639486394963950639516395263953639546395563956639576395863959639606396163962639636396463965639666396763968639696397063971639726397363974639756397663977639786397963980639816398263983639846398563986639876398863989639906399163992639936399463995639966399763998639996400064001640026400364004640056400664007640086400964010640116401264013640146401564016640176401864019640206402164022640236402464025640266402764028640296403064031640326403364034640356403664037640386403964040640416404264043640446404564046640476404864049640506405164052640536405464055640566405764058640596406064061640626406364064640656406664067640686406964070640716407264073640746407564076640776407864079640806408164082640836408464085640866408764088640896409064091640926409364094640956409664097640986409964100641016410264103641046410564106641076410864109641106411164112641136411464115641166411764118641196412064121641226412364124641256412664127641286412964130641316413264133641346413564136641376413864139641406414164142641436414464145641466414764148641496415064151641526415364154641556415664157641586415964160641616416264163641646416564166641676416864169641706417164172641736417464175641766417764178641796418064181641826418364184641856418664187641886418964190641916419264193641946419564196641976419864199642006420164202642036420464205642066420764208642096421064211642126421364214642156421664217642186421964220642216422264223642246422564226642276422864229642306423164232642336423464235642366423764238642396424064241642426424364244642456424664247642486424964250642516425264253642546425564256642576425864259642606426164262642636426464265642666426764268642696427064271642726427364274642756427664277642786427964280642816428264283642846428564286642876428864289642906429164292642936429464295642966429764298642996430064301643026430364304643056430664307643086430964310643116431264313643146431564316643176431864319643206432164322643236432464325643266432764328643296433064331643326433364334643356433664337643386433964340643416434264343643446434564346643476434864349643506435164352643536435464355643566435764358643596436064361643626436364364643656436664367643686436964370643716437264373643746437564376643776437864379643806438164382643836438464385643866438764388643896439064391643926439364394643956439664397643986439964400644016440264403644046440564406644076440864409644106441164412644136441464415644166441764418644196442064421644226442364424644256442664427644286442964430644316443264433644346443564436644376443864439644406444164442644436444464445644466444764448644496445064451644526445364454644556445664457644586445964460644616446264463644646446564466644676446864469644706447164472644736447464475644766447764478644796448064481644826448364484644856448664487644886448964490644916449264493644946449564496644976449864499645006450164502645036450464505645066450764508645096451064511645126451364514645156451664517645186451964520645216452264523645246452564526645276452864529645306453164532645336453464535645366453764538645396454064541645426454364544645456454664547645486454964550645516455264553645546455564556645576455864559645606456164562645636456464565645666456764568645696457064571645726457364574645756457664577645786457964580645816458264583645846458564586645876458864589645906459164592645936459464595645966459764598645996460064601646026460364604646056460664607646086460964610646116461264613646146461564616646176461864619646206462164622646236462464625646266462764628646296463064631646326463364634646356463664637646386463964640646416464264643646446464564646646476464864649646506465164652646536465464655646566465764658646596466064661646626466364664646656466664667646686466964670646716467264673646746467564676646776467864679646806468164682646836468464685646866468764688646896469064691646926469364694646956469664697646986469964700647016470264703647046470564706647076470864709647106471164712647136471464715647166471764718647196472064721647226472364724647256472664727647286472964730647316473264733647346473564736647376473864739647406474164742647436474464745647466474764748647496475064751647526475364754647556475664757647586475964760647616476264763647646476564766647676476864769647706477164772647736477464775647766477764778647796478064781647826478364784647856478664787647886478964790647916479264793647946479564796647976479864799648006480164802648036480464805648066480764808648096481064811648126481364814648156481664817648186481964820648216482264823648246482564826648276482864829648306483164832648336483464835648366483764838648396484064841648426484364844648456484664847648486484964850648516485264853648546485564856648576485864859648606486164862648636486464865648666486764868648696487064871648726487364874648756487664877648786487964880648816488264883648846488564886648876488864889648906489164892648936489464895648966489764898648996490064901649026490364904649056490664907649086490964910649116491264913649146491564916649176491864919649206492164922649236492464925649266492764928649296493064931649326493364934649356493664937649386493964940649416494264943649446494564946649476494864949649506495164952649536495464955649566495764958649596496064961649626496364964649656496664967649686496964970649716497264973649746497564976649776497864979649806498164982649836498464985649866498764988649896499064991649926499364994649956499664997649986499965000650016500265003650046500565006650076500865009650106501165012650136501465015650166501765018650196502065021650226502365024650256502665027650286502965030650316503265033650346503565036650376503865039650406504165042650436504465045650466504765048650496505065051650526505365054650556505665057650586505965060650616506265063650646506565066650676506865069650706507165072650736507465075650766507765078650796508065081650826508365084650856508665087650886508965090650916509265093650946509565096650976509865099651006510165102651036510465105651066510765108651096511065111651126511365114651156511665117651186511965120651216512265123651246512565126651276512865129651306513165132651336513465135651366513765138651396514065141651426514365144651456514665147651486514965150651516515265153651546515565156651576515865159651606516165162651636516465165651666516765168651696517065171651726517365174651756517665177651786517965180651816518265183651846518565186651876518865189651906519165192651936519465195651966519765198651996520065201652026520365204652056520665207652086520965210652116521265213652146521565216652176521865219652206522165222652236522465225652266522765228652296523065231652326523365234652356523665237652386523965240652416524265243652446524565246652476524865249652506525165252652536525465255652566525765258652596526065261652626526365264652656526665267652686526965270652716527265273652746527565276652776527865279652806528165282652836528465285652866528765288652896529065291652926529365294652956529665297652986529965300653016530265303653046530565306653076530865309653106531165312653136531465315653166531765318653196532065321653226532365324653256532665327653286532965330653316533265333653346533565336653376533865339653406534165342653436534465345653466534765348653496535065351653526535365354653556535665357653586535965360653616536265363653646536565366653676536865369653706537165372653736537465375653766537765378653796538065381653826538365384653856538665387653886538965390653916539265393653946539565396653976539865399654006540165402654036540465405654066540765408654096541065411654126541365414654156541665417654186541965420654216542265423654246542565426654276542865429654306543165432654336543465435654366543765438654396544065441654426544365444654456544665447654486544965450654516545265453654546545565456654576545865459654606546165462654636546465465654666546765468654696547065471654726547365474654756547665477654786547965480654816548265483654846548565486654876548865489654906549165492654936549465495654966549765498654996550065501655026550365504655056550665507655086550965510655116551265513655146551565516655176551865519655206552165522655236552465525655266552765528655296553065531655326553365534655356553665537655386553965540655416554265543655446554565546655476554865549655506555165552655536555465555655566555765558655596556065561655626556365564655656556665567655686556965570655716557265573655746557565576655776557865579655806558165582655836558465585655866558765588655896559065591655926559365594655956559665597655986559965600656016560265603656046560565606656076560865609656106561165612656136561465615656166561765618656196562065621656226562365624656256562665627656286562965630656316563265633656346563565636656376563865639656406564165642656436564465645656466564765648656496565065651656526565365654656556565665657656586565965660656616566265663656646566565666656676566865669656706567165672656736567465675656766567765678656796568065681656826568365684656856568665687656886568965690656916569265693656946569565696656976569865699657006570165702657036570465705657066570765708657096571065711657126571365714657156571665717657186571965720657216572265723657246572565726657276572865729657306573165732657336573465735657366573765738657396574065741657426574365744657456574665747657486574965750657516575265753657546575565756657576575865759657606576165762657636576465765657666576765768657696577065771657726577365774657756577665777657786577965780657816578265783657846578565786657876578865789657906579165792657936579465795657966579765798657996580065801658026580365804658056580665807658086580965810658116581265813658146581565816658176581865819658206582165822658236582465825658266582765828658296583065831658326583365834658356583665837658386583965840658416584265843658446584565846658476584865849658506585165852658536585465855658566585765858658596586065861658626586365864658656586665867658686586965870658716587265873658746587565876658776587865879658806588165882658836588465885658866588765888658896589065891658926589365894658956589665897658986589965900659016590265903659046590565906659076590865909659106591165912659136591465915659166591765918659196592065921659226592365924659256592665927659286592965930659316593265933659346593565936659376593865939659406594165942659436594465945659466594765948659496595065951659526595365954659556595665957659586595965960659616596265963659646596565966659676596865969659706597165972659736597465975659766597765978659796598065981659826598365984659856598665987659886598965990659916599265993659946599565996659976599865999660006600166002660036600466005660066600766008660096601066011660126601366014660156601666017660186601966020660216602266023660246602566026660276602866029660306603166032660336603466035660366603766038660396604066041660426604366044660456604666047660486604966050660516605266053660546605566056660576605866059660606606166062660636606466065660666606766068660696607066071660726607366074660756607666077660786607966080660816608266083660846608566086660876608866089660906609166092660936609466095660966609766098660996610066101661026610366104661056610666107661086610966110661116611266113661146611566116661176611866119661206612166122661236612466125661266612766128661296613066131661326613366134661356613666137661386613966140661416614266143661446614566146661476614866149661506615166152661536615466155661566615766158661596616066161661626616366164661656616666167661686616966170661716617266173661746617566176661776617866179661806618166182661836618466185661866618766188661896619066191661926619366194661956619666197661986619966200662016620266203662046620566206662076620866209662106621166212662136621466215662166621766218662196622066221662226622366224662256622666227662286622966230662316623266233662346623566236662376623866239662406624166242662436624466245662466624766248662496625066251662526625366254662556625666257662586625966260662616626266263662646626566266662676626866269662706627166272662736627466275662766627766278662796628066281662826628366284662856628666287662886628966290662916629266293662946629566296662976629866299663006630166302663036630466305663066630766308663096631066311663126631366314663156631666317663186631966320663216632266323663246632566326663276632866329663306633166332663336633466335663366633766338663396634066341663426634366344663456634666347663486634966350663516635266353663546635566356663576635866359663606636166362663636636466365663666636766368663696637066371663726637366374663756637666377663786637966380663816638266383663846638566386663876638866389663906639166392663936639466395663966639766398663996640066401664026640366404664056640666407664086640966410664116641266413664146641566416664176641866419664206642166422664236642466425664266642766428664296643066431664326643366434664356643666437664386643966440664416644266443664446644566446664476644866449664506645166452664536645466455664566645766458664596646066461664626646366464664656646666467664686646966470664716647266473664746647566476664776647866479664806648166482664836648466485664866648766488664896649066491664926649366494664956649666497664986649966500665016650266503665046650566506665076650866509665106651166512665136651466515665166651766518665196652066521665226652366524665256652666527665286652966530665316653266533665346653566536665376653866539665406654166542665436654466545665466654766548665496655066551665526655366554665556655666557665586655966560665616656266563665646656566566665676656866569665706657166572665736657466575665766657766578665796658066581665826658366584665856658666587665886658966590665916659266593665946659566596665976659866599666006660166602666036660466605666066660766608666096661066611666126661366614666156661666617666186661966620666216662266623666246662566626666276662866629666306663166632666336663466635666366663766638666396664066641666426664366644666456664666647666486664966650666516665266653666546665566656666576665866659666606666166662666636666466665666666666766668666696667066671666726667366674666756667666677666786667966680666816668266683666846668566686666876668866689666906669166692666936669466695666966669766698666996670066701667026670366704667056670666707667086670966710667116671266713667146671566716667176671866719667206672166722667236672466725667266672766728667296673066731667326673366734667356673666737667386673966740667416674266743667446674566746667476674866749667506675166752667536675466755667566675766758667596676066761667626676366764667656676666767667686676966770667716677266773667746677566776667776677866779667806678166782667836678466785667866678766788667896679066791667926679366794667956679666797667986679966800668016680266803668046680566806668076680866809668106681166812668136681466815668166681766818668196682066821668226682366824668256682666827668286682966830668316683266833668346683566836668376683866839668406684166842668436684466845668466684766848668496685066851668526685366854668556685666857668586685966860668616686266863668646686566866668676686866869668706687166872668736687466875668766687766878668796688066881668826688366884668856688666887668886688966890668916689266893668946689566896668976689866899669006690166902669036690466905669066690766908669096691066911669126691366914669156691666917669186691966920669216692266923669246692566926669276692866929669306693166932669336693466935669366693766938669396694066941669426694366944669456694666947669486694966950669516695266953669546695566956669576695866959669606696166962669636696466965669666696766968669696697066971669726697366974669756697666977669786697966980669816698266983669846698566986669876698866989669906699166992669936699466995669966699766998669996700067001670026700367004670056700667007670086700967010670116701267013670146701567016670176701867019670206702167022670236702467025670266702767028670296703067031670326703367034670356703667037670386703967040670416704267043670446704567046670476704867049670506705167052670536705467055670566705767058670596706067061670626706367064670656706667067670686706967070670716707267073670746707567076670776707867079670806708167082670836708467085670866708767088670896709067091670926709367094670956709667097670986709967100671016710267103671046710567106671076710867109671106711167112671136711467115671166711767118671196712067121671226712367124671256712667127671286712967130671316713267133671346713567136671376713867139671406714167142671436714467145671466714767148671496715067151671526715367154671556715667157671586715967160671616716267163671646716567166671676716867169671706717167172671736717467175671766717767178671796718067181671826718367184671856718667187671886718967190671916719267193671946719567196671976719867199672006720167202672036720467205672066720767208672096721067211672126721367214672156721667217672186721967220672216722267223672246722567226672276722867229672306723167232672336723467235672366723767238672396724067241672426724367244672456724667247672486724967250672516725267253672546725567256672576725867259672606726167262672636726467265672666726767268672696727067271672726727367274672756727667277672786727967280672816728267283672846728567286672876728867289672906729167292672936729467295672966729767298672996730067301673026730367304673056730667307673086730967310673116731267313673146731567316673176731867319673206732167322673236732467325673266732767328673296733067331673326733367334673356733667337673386733967340673416734267343673446734567346673476734867349673506735167352673536735467355673566735767358673596736067361673626736367364673656736667367673686736967370673716737267373673746737567376673776737867379673806738167382673836738467385673866738767388673896739067391673926739367394673956739667397673986739967400674016740267403674046740567406674076740867409674106741167412674136741467415674166741767418674196742067421674226742367424674256742667427674286742967430674316743267433674346743567436674376743867439674406744167442674436744467445674466744767448674496745067451674526745367454674556745667457674586745967460674616746267463674646746567466674676746867469674706747167472674736747467475674766747767478674796748067481674826748367484674856748667487674886748967490674916749267493674946749567496674976749867499675006750167502675036750467505675066750767508675096751067511675126751367514675156751667517675186751967520675216752267523675246752567526675276752867529675306753167532675336753467535675366753767538675396754067541675426754367544675456754667547675486754967550675516755267553675546755567556675576755867559675606756167562675636756467565675666756767568675696757067571675726757367574675756757667577675786757967580675816758267583675846758567586675876758867589675906759167592675936759467595675966759767598675996760067601676026760367604676056760667607676086760967610676116761267613676146761567616676176761867619676206762167622676236762467625676266762767628676296763067631676326763367634676356763667637676386763967640676416764267643676446764567646676476764867649676506765167652676536765467655676566765767658676596766067661676626766367664676656766667667676686766967670676716767267673676746767567676676776767867679676806768167682676836768467685676866768767688676896769067691676926769367694676956769667697676986769967700677016770267703677046770567706677076770867709677106771167712677136771467715677166771767718677196772067721677226772367724677256772667727677286772967730677316773267733677346773567736677376773867739677406774167742677436774467745677466774767748677496775067751677526775367754677556775667757677586775967760677616776267763677646776567766677676776867769677706777167772677736777467775677766777767778677796778067781677826778367784677856778667787677886778967790677916779267793677946779567796677976779867799678006780167802678036780467805678066780767808678096781067811678126781367814678156781667817678186781967820678216782267823678246782567826678276782867829678306783167832678336783467835678366783767838678396784067841678426784367844678456784667847678486784967850678516785267853678546785567856678576785867859678606786167862678636786467865678666786767868678696787067871678726787367874678756787667877678786787967880678816788267883678846788567886678876788867889678906789167892678936789467895678966789767898678996790067901679026790367904679056790667907679086790967910679116791267913679146791567916679176791867919679206792167922679236792467925679266792767928679296793067931679326793367934679356793667937679386793967940679416794267943679446794567946679476794867949679506795167952679536795467955679566795767958679596796067961679626796367964679656796667967679686796967970679716797267973679746797567976679776797867979679806798167982679836798467985679866798767988679896799067991679926799367994679956799667997679986799968000680016800268003680046800568006680076800868009680106801168012680136801468015680166801768018680196802068021680226802368024680256802668027680286802968030680316803268033680346803568036680376803868039680406804168042680436804468045680466804768048680496805068051680526805368054680556805668057680586805968060680616806268063680646806568066680676806868069680706807168072680736807468075680766807768078680796808068081680826808368084680856808668087680886808968090680916809268093680946809568096680976809868099681006810168102681036810468105681066810768108681096811068111681126811368114681156811668117681186811968120681216812268123681246812568126681276812868129681306813168132681336813468135681366813768138681396814068141681426814368144681456814668147681486814968150681516815268153681546815568156681576815868159681606816168162681636816468165681666816768168681696817068171681726817368174681756817668177681786817968180681816818268183681846818568186681876818868189681906819168192681936819468195681966819768198681996820068201682026820368204682056820668207682086820968210682116821268213682146821568216682176821868219682206822168222682236822468225682266822768228682296823068231682326823368234682356823668237682386823968240682416824268243682446824568246682476824868249682506825168252682536825468255682566825768258682596826068261682626826368264682656826668267682686826968270682716827268273682746827568276682776827868279682806828168282682836828468285682866828768288682896829068291682926829368294682956829668297682986829968300683016830268303683046830568306683076830868309683106831168312683136831468315683166831768318683196832068321683226832368324683256832668327683286832968330683316833268333683346833568336683376833868339683406834168342683436834468345683466834768348683496835068351683526835368354683556835668357683586835968360683616836268363683646836568366683676836868369683706837168372683736837468375683766837768378683796838068381683826838368384683856838668387683886838968390683916839268393683946839568396683976839868399684006840168402684036840468405684066840768408684096841068411684126841368414684156841668417684186841968420684216842268423684246842568426684276842868429684306843168432684336843468435684366843768438684396844068441684426844368444684456844668447684486844968450684516845268453684546845568456684576845868459684606846168462684636846468465684666846768468684696847068471684726847368474684756847668477684786847968480684816848268483684846848568486684876848868489684906849168492684936849468495684966849768498684996850068501685026850368504685056850668507685086850968510685116851268513685146851568516685176851868519685206852168522685236852468525685266852768528685296853068531685326853368534685356853668537685386853968540685416854268543685446854568546685476854868549685506855168552685536855468555685566855768558685596856068561685626856368564685656856668567685686856968570685716857268573685746857568576685776857868579685806858168582685836858468585685866858768588685896859068591685926859368594685956859668597685986859968600686016860268603686046860568606686076860868609686106861168612686136861468615686166861768618686196862068621686226862368624686256862668627686286862968630686316863268633686346863568636686376863868639686406864168642686436864468645686466864768648686496865068651686526865368654686556865668657686586865968660686616866268663686646866568666686676866868669686706867168672686736867468675686766867768678686796868068681686826868368684686856868668687686886868968690686916869268693686946869568696686976869868699687006870168702687036870468705687066870768708687096871068711687126871368714687156871668717687186871968720687216872268723687246872568726687276872868729687306873168732687336873468735687366873768738687396874068741687426874368744687456874668747687486874968750687516875268753687546875568756687576875868759687606876168762687636876468765687666876768768687696877068771687726877368774687756877668777687786877968780687816878268783687846878568786687876878868789687906879168792687936879468795687966879768798687996880068801688026880368804688056880668807688086880968810688116881268813688146881568816688176881868819688206882168822688236882468825688266882768828688296883068831688326883368834688356883668837688386883968840688416884268843688446884568846688476884868849688506885168852688536885468855688566885768858688596886068861688626886368864688656886668867688686886968870688716887268873688746887568876688776887868879688806888168882688836888468885688866888768888688896889068891688926889368894688956889668897688986889968900689016890268903689046890568906689076890868909689106891168912689136891468915689166891768918689196892068921689226892368924689256892668927689286892968930689316893268933689346893568936689376893868939689406894168942689436894468945689466894768948689496895068951689526895368954689556895668957689586895968960689616896268963689646896568966689676896868969689706897168972689736897468975689766897768978689796898068981689826898368984689856898668987689886898968990689916899268993689946899568996689976899868999690006900169002690036900469005690066900769008690096901069011690126901369014690156901669017690186901969020690216902269023690246902569026690276902869029690306903169032690336903469035690366903769038690396904069041690426904369044690456904669047690486904969050690516905269053690546905569056690576905869059690606906169062690636906469065690666906769068690696907069071690726907369074690756907669077690786907969080690816908269083690846908569086690876908869089690906909169092690936909469095690966909769098690996910069101691026910369104691056910669107691086910969110691116911269113691146911569116691176911869119691206912169122691236912469125691266912769128691296913069131691326913369134691356913669137691386913969140691416914269143691446914569146691476914869149691506915169152691536915469155691566915769158691596916069161691626916369164691656916669167691686916969170691716917269173691746917569176691776917869179691806918169182691836918469185691866918769188691896919069191691926919369194691956919669197691986919969200692016920269203692046920569206692076920869209692106921169212692136921469215692166921769218692196922069221692226922369224692256922669227692286922969230692316923269233692346923569236692376923869239692406924169242692436924469245692466924769248692496925069251692526925369254692556925669257692586925969260692616926269263692646926569266692676926869269692706927169272692736927469275692766927769278692796928069281692826928369284692856928669287692886928969290692916929269293692946929569296692976929869299693006930169302693036930469305693066930769308693096931069311693126931369314693156931669317693186931969320693216932269323693246932569326693276932869329693306933169332693336933469335693366933769338693396934069341693426934369344693456934669347693486934969350693516935269353693546935569356693576935869359693606936169362693636936469365693666936769368693696937069371693726937369374693756937669377693786937969380693816938269383693846938569386693876938869389693906939169392693936939469395693966939769398693996940069401694026940369404694056940669407694086940969410694116941269413694146941569416694176941869419694206942169422694236942469425694266942769428694296943069431694326943369434694356943669437694386943969440694416944269443694446944569446694476944869449694506945169452694536945469455694566945769458694596946069461694626946369464694656946669467694686946969470694716947269473694746947569476694776947869479694806948169482694836948469485694866948769488694896949069491694926949369494694956949669497694986949969500695016950269503695046950569506695076950869509695106951169512695136951469515695166951769518695196952069521695226952369524695256952669527695286952969530695316953269533695346953569536695376953869539695406954169542695436954469545695466954769548695496955069551695526955369554695556955669557695586955969560695616956269563695646956569566695676956869569695706957169572695736957469575695766957769578695796958069581695826958369584695856958669587695886958969590695916959269593695946959569596695976959869599696006960169602696036960469605696066960769608696096961069611696126961369614696156961669617696186961969620696216962269623696246962569626696276962869629696306963169632696336963469635696366963769638696396964069641696426964369644696456964669647696486964969650696516965269653696546965569656696576965869659696606966169662696636966469665696666966769668696696967069671696726967369674696756967669677696786967969680696816968269683696846968569686696876968869689696906969169692696936969469695696966969769698696996970069701697026970369704697056970669707697086970969710697116971269713697146971569716697176971869719697206972169722697236972469725697266972769728697296973069731697326973369734697356973669737697386973969740697416974269743697446974569746697476974869749697506975169752697536975469755697566975769758697596976069761697626976369764697656976669767697686976969770697716977269773697746977569776697776977869779697806978169782697836978469785697866978769788697896979069791697926979369794697956979669797697986979969800698016980269803698046980569806698076980869809698106981169812698136981469815698166981769818698196982069821698226982369824698256982669827698286982969830698316983269833698346983569836698376983869839698406984169842698436984469845698466984769848698496985069851698526985369854698556985669857698586985969860698616986269863698646986569866698676986869869698706987169872698736987469875698766987769878698796988069881698826988369884698856988669887698886988969890698916989269893698946989569896698976989869899699006990169902699036990469905699066990769908699096991069911699126991369914699156991669917699186991969920699216992269923699246992569926699276992869929699306993169932699336993469935699366993769938699396994069941699426994369944699456994669947699486994969950699516995269953699546995569956699576995869959699606996169962699636996469965699666996769968699696997069971699726997369974699756997669977699786997969980699816998269983699846998569986699876998869989699906999169992699936999469995699966999769998699997000070001700027000370004700057000670007700087000970010700117001270013700147001570016700177001870019700207002170022700237002470025700267002770028700297003070031700327003370034700357003670037700387003970040700417004270043700447004570046700477004870049700507005170052700537005470055700567005770058700597006070061700627006370064700657006670067700687006970070700717007270073700747007570076700777007870079700807008170082700837008470085700867008770088700897009070091700927009370094700957009670097700987009970100701017010270103701047010570106701077010870109701107011170112701137011470115701167011770118701197012070121701227012370124701257012670127701287012970130701317013270133701347013570136701377013870139701407014170142701437014470145701467014770148701497015070151701527015370154701557015670157701587015970160701617016270163701647016570166701677016870169701707017170172701737017470175701767017770178701797018070181701827018370184701857018670187701887018970190701917019270193701947019570196701977019870199702007020170202702037020470205702067020770208702097021070211702127021370214702157021670217702187021970220702217022270223702247022570226702277022870229702307023170232702337023470235702367023770238702397024070241702427024370244702457024670247702487024970250702517025270253702547025570256702577025870259702607026170262702637026470265702667026770268702697027070271702727027370274702757027670277702787027970280702817028270283702847028570286702877028870289702907029170292702937029470295702967029770298702997030070301703027030370304703057030670307703087030970310703117031270313703147031570316703177031870319703207032170322703237032470325703267032770328703297033070331703327033370334703357033670337703387033970340703417034270343703447034570346703477034870349703507035170352703537035470355703567035770358703597036070361703627036370364703657036670367703687036970370703717037270373703747037570376703777037870379703807038170382703837038470385703867038770388703897039070391703927039370394703957039670397703987039970400704017040270403704047040570406704077040870409704107041170412704137041470415704167041770418704197042070421704227042370424704257042670427704287042970430704317043270433704347043570436704377043870439704407044170442704437044470445704467044770448704497045070451704527045370454704557045670457704587045970460704617046270463704647046570466704677046870469704707047170472704737047470475704767047770478704797048070481704827048370484704857048670487704887048970490704917049270493704947049570496704977049870499705007050170502705037050470505705067050770508705097051070511705127051370514705157051670517705187051970520705217052270523705247052570526705277052870529705307053170532705337053470535705367053770538705397054070541705427054370544705457054670547705487054970550705517055270553705547055570556705577055870559705607056170562705637056470565705667056770568705697057070571705727057370574705757057670577705787057970580705817058270583705847058570586705877058870589705907059170592705937059470595705967059770598705997060070601706027060370604706057060670607706087060970610706117061270613706147061570616706177061870619706207062170622706237062470625706267062770628706297063070631706327063370634706357063670637706387063970640706417064270643706447064570646706477064870649706507065170652706537065470655706567065770658706597066070661706627066370664706657066670667706687066970670706717067270673706747067570676706777067870679706807068170682706837068470685706867068770688706897069070691706927069370694706957069670697706987069970700707017070270703707047070570706707077070870709707107071170712707137071470715707167071770718707197072070721707227072370724707257072670727707287072970730707317073270733707347073570736707377073870739707407074170742707437074470745707467074770748707497075070751707527075370754707557075670757707587075970760707617076270763707647076570766707677076870769707707077170772707737077470775707767077770778707797078070781707827078370784707857078670787707887078970790707917079270793707947079570796707977079870799708007080170802708037080470805708067080770808708097081070811708127081370814708157081670817708187081970820708217082270823708247082570826708277082870829708307083170832708337083470835708367083770838708397084070841708427084370844708457084670847708487084970850708517085270853708547085570856708577085870859708607086170862708637086470865708667086770868708697087070871708727087370874708757087670877708787087970880708817088270883708847088570886708877088870889708907089170892708937089470895708967089770898708997090070901709027090370904709057090670907709087090970910709117091270913709147091570916709177091870919709207092170922709237092470925709267092770928709297093070931709327093370934709357093670937709387093970940709417094270943709447094570946709477094870949709507095170952709537095470955709567095770958709597096070961709627096370964709657096670967709687096970970709717097270973709747097570976709777097870979709807098170982709837098470985709867098770988709897099070991709927099370994709957099670997709987099971000710017100271003710047100571006710077100871009710107101171012710137101471015710167101771018710197102071021710227102371024710257102671027710287102971030710317103271033710347103571036710377103871039710407104171042710437104471045710467104771048710497105071051710527105371054710557105671057710587105971060710617106271063710647106571066710677106871069710707107171072710737107471075710767107771078710797108071081710827108371084710857108671087710887108971090710917109271093710947109571096710977109871099711007110171102711037110471105711067110771108711097111071111711127111371114711157111671117711187111971120711217112271123711247112571126711277112871129711307113171132711337113471135711367113771138711397114071141711427114371144711457114671147711487114971150711517115271153711547115571156711577115871159711607116171162711637116471165711667116771168711697117071171711727117371174711757117671177711787117971180711817118271183711847118571186711877118871189711907119171192711937119471195711967119771198711997120071201712027120371204712057120671207712087120971210712117121271213712147121571216712177121871219712207122171222712237122471225712267122771228712297123071231712327123371234712357123671237712387123971240712417124271243712447124571246712477124871249712507125171252712537125471255712567125771258712597126071261712627126371264712657126671267712687126971270712717127271273712747127571276712777127871279712807128171282712837128471285712867128771288712897129071291712927129371294712957129671297712987129971300713017130271303713047130571306713077130871309713107131171312713137131471315713167131771318713197132071321713227132371324713257132671327713287132971330713317133271333713347133571336713377133871339713407134171342713437134471345713467134771348713497135071351713527135371354713557135671357713587135971360713617136271363713647136571366713677136871369713707137171372713737137471375713767137771378713797138071381713827138371384713857138671387713887138971390713917139271393713947139571396713977139871399714007140171402714037140471405714067140771408714097141071411714127141371414714157141671417714187141971420714217142271423714247142571426714277142871429714307143171432714337143471435714367143771438714397144071441714427144371444714457144671447714487144971450714517145271453714547145571456714577145871459714607146171462714637146471465714667146771468714697147071471714727147371474714757147671477714787147971480714817148271483714847148571486714877148871489714907149171492714937149471495714967149771498714997150071501715027150371504715057150671507715087150971510715117151271513715147151571516715177151871519715207152171522715237152471525715267152771528715297153071531715327153371534715357153671537715387153971540715417154271543715447154571546715477154871549715507155171552715537155471555715567155771558715597156071561715627156371564715657156671567715687156971570715717157271573715747157571576715777157871579715807158171582715837158471585715867158771588715897159071591715927159371594715957159671597715987159971600716017160271603716047160571606716077160871609716107161171612716137161471615716167161771618716197162071621716227162371624716257162671627716287162971630716317163271633716347163571636716377163871639716407164171642716437164471645716467164771648716497165071651716527165371654716557165671657716587165971660716617166271663716647166571666716677166871669716707167171672716737167471675716767167771678716797168071681716827168371684716857168671687716887168971690716917169271693716947169571696716977169871699717007170171702717037170471705717067170771708717097171071711717127171371714717157171671717717187171971720717217172271723717247172571726717277172871729717307173171732717337173471735717367173771738717397174071741717427174371744717457174671747717487174971750717517175271753717547175571756717577175871759717607176171762717637176471765717667176771768717697177071771717727177371774717757177671777717787177971780717817178271783717847178571786717877178871789717907179171792717937179471795717967179771798717997180071801718027180371804718057180671807718087180971810718117181271813718147181571816718177181871819718207182171822718237182471825718267182771828718297183071831718327183371834718357183671837718387183971840718417184271843718447184571846718477184871849718507185171852718537185471855718567185771858718597186071861718627186371864718657186671867718687186971870718717187271873718747187571876718777187871879718807188171882718837188471885718867188771888718897189071891718927189371894718957189671897718987189971900719017190271903719047190571906719077190871909719107191171912719137191471915719167191771918719197192071921719227192371924719257192671927719287192971930719317193271933719347193571936719377193871939719407194171942719437194471945719467194771948719497195071951719527195371954719557195671957719587195971960719617196271963719647196571966719677196871969719707197171972719737197471975719767197771978719797198071981719827198371984719857198671987719887198971990719917199271993719947199571996719977199871999720007200172002720037200472005720067200772008720097201072011720127201372014720157201672017720187201972020720217202272023720247202572026720277202872029720307203172032720337203472035720367203772038720397204072041720427204372044720457204672047720487204972050720517205272053720547205572056720577205872059720607206172062720637206472065720667206772068720697207072071720727207372074720757207672077720787207972080720817208272083720847208572086720877208872089720907209172092720937209472095720967209772098720997210072101721027210372104721057210672107721087210972110721117211272113721147211572116721177211872119721207212172122721237212472125721267212772128721297213072131721327213372134721357213672137721387213972140721417214272143721447214572146721477214872149721507215172152721537215472155721567215772158721597216072161721627216372164721657216672167721687216972170721717217272173721747217572176721777217872179721807218172182721837218472185721867218772188721897219072191721927219372194721957219672197721987219972200722017220272203722047220572206722077220872209722107221172212722137221472215722167221772218722197222072221722227222372224722257222672227722287222972230722317223272233722347223572236722377223872239722407224172242722437224472245722467224772248722497225072251722527225372254722557225672257722587225972260722617226272263722647226572266722677226872269722707227172272722737227472275722767227772278722797228072281722827228372284722857228672287722887228972290722917229272293722947229572296722977229872299723007230172302723037230472305723067230772308723097231072311723127231372314723157231672317723187231972320723217232272323723247232572326723277232872329723307233172332723337233472335723367233772338723397234072341723427234372344723457234672347723487234972350723517235272353723547235572356723577235872359723607236172362723637236472365723667236772368723697237072371723727237372374723757237672377723787237972380723817238272383723847238572386723877238872389723907239172392723937239472395723967239772398723997240072401724027240372404724057240672407724087240972410724117241272413724147241572416724177241872419724207242172422724237242472425724267242772428724297243072431724327243372434724357243672437724387243972440724417244272443724447244572446724477244872449724507245172452724537245472455724567245772458724597246072461724627246372464724657246672467724687246972470724717247272473724747247572476724777247872479724807248172482724837248472485724867248772488724897249072491724927249372494724957249672497724987249972500725017250272503725047250572506725077250872509725107251172512725137251472515725167251772518725197252072521725227252372524725257252672527725287252972530725317253272533725347253572536725377253872539725407254172542725437254472545725467254772548725497255072551725527255372554725557255672557725587255972560725617256272563725647256572566725677256872569725707257172572725737257472575725767257772578725797258072581725827258372584725857258672587725887258972590725917259272593725947259572596725977259872599726007260172602726037260472605726067260772608726097261072611726127261372614726157261672617726187261972620726217262272623726247262572626726277262872629726307263172632726337263472635726367263772638726397264072641726427264372644726457264672647726487264972650726517265272653726547265572656726577265872659726607266172662726637266472665726667266772668726697267072671726727267372674726757267672677726787267972680726817268272683726847268572686726877268872689726907269172692726937269472695726967269772698726997270072701727027270372704727057270672707727087270972710727117271272713727147271572716727177271872719727207272172722727237272472725727267272772728727297273072731727327273372734727357273672737727387273972740727417274272743727447274572746727477274872749727507275172752727537275472755727567275772758727597276072761727627276372764727657276672767727687276972770727717277272773727747277572776727777277872779727807278172782727837278472785727867278772788727897279072791727927279372794727957279672797727987279972800728017280272803728047280572806728077280872809728107281172812728137281472815728167281772818728197282072821728227282372824728257282672827728287282972830728317283272833728347283572836728377283872839728407284172842728437284472845728467284772848728497285072851728527285372854728557285672857728587285972860728617286272863728647286572866728677286872869728707287172872728737287472875728767287772878728797288072881728827288372884728857288672887728887288972890728917289272893728947289572896728977289872899729007290172902729037290472905729067290772908729097291072911729127291372914729157291672917729187291972920729217292272923729247292572926729277292872929729307293172932729337293472935729367293772938729397294072941729427294372944729457294672947729487294972950729517295272953729547295572956729577295872959729607296172962729637296472965729667296772968729697297072971729727297372974729757297672977729787297972980729817298272983729847298572986729877298872989729907299172992729937299472995729967299772998729997300073001730027300373004730057300673007730087300973010730117301273013730147301573016730177301873019730207302173022730237302473025730267302773028730297303073031730327303373034730357303673037730387303973040730417304273043730447304573046730477304873049730507305173052730537305473055730567305773058730597306073061730627306373064730657306673067730687306973070730717307273073730747307573076730777307873079730807308173082730837308473085730867308773088730897309073091730927309373094730957309673097730987309973100731017310273103731047310573106731077310873109731107311173112731137311473115731167311773118731197312073121731227312373124731257312673127731287312973130731317313273133731347313573136731377313873139731407314173142731437314473145731467314773148731497315073151731527315373154731557315673157731587315973160731617316273163731647316573166731677316873169731707317173172731737317473175731767317773178731797318073181731827318373184731857318673187731887318973190731917319273193731947319573196731977319873199732007320173202732037320473205732067320773208732097321073211732127321373214732157321673217732187321973220732217322273223732247322573226732277322873229732307323173232732337323473235732367323773238732397324073241732427324373244732457324673247732487324973250732517325273253732547325573256732577325873259732607326173262732637326473265732667326773268732697327073271732727327373274732757327673277732787327973280732817328273283732847328573286732877328873289732907329173292732937329473295732967329773298732997330073301733027330373304733057330673307733087330973310733117331273313733147331573316733177331873319733207332173322733237332473325733267332773328733297333073331733327333373334733357333673337733387333973340733417334273343733447334573346733477334873349733507335173352733537335473355733567335773358733597336073361733627336373364733657336673367733687336973370733717337273373733747337573376733777337873379733807338173382733837338473385733867338773388733897339073391733927339373394733957339673397733987339973400734017340273403734047340573406734077340873409734107341173412734137341473415734167341773418734197342073421734227342373424734257342673427734287342973430734317343273433734347343573436734377343873439734407344173442734437344473445734467344773448734497345073451734527345373454734557345673457734587345973460734617346273463734647346573466734677346873469734707347173472734737347473475734767347773478734797348073481734827348373484734857348673487734887348973490734917349273493734947349573496734977349873499735007350173502735037350473505735067350773508735097351073511735127351373514735157351673517735187351973520735217352273523735247352573526735277352873529735307353173532735337353473535735367353773538735397354073541735427354373544735457354673547735487354973550735517355273553735547355573556735577355873559735607356173562735637356473565735667356773568735697357073571735727357373574735757357673577735787357973580735817358273583735847358573586735877358873589735907359173592735937359473595735967359773598735997360073601736027360373604736057360673607736087360973610736117361273613736147361573616736177361873619736207362173622736237362473625736267362773628736297363073631736327363373634736357363673637736387363973640736417364273643736447364573646736477364873649736507365173652736537365473655736567365773658736597366073661736627366373664736657366673667736687366973670736717367273673736747367573676736777367873679736807368173682736837368473685736867368773688736897369073691736927369373694736957369673697736987369973700737017370273703737047370573706737077370873709737107371173712737137371473715737167371773718737197372073721737227372373724737257372673727737287372973730737317373273733737347373573736737377373873739737407374173742737437374473745737467374773748737497375073751737527375373754737557375673757737587375973760737617376273763737647376573766737677376873769737707377173772737737377473775737767377773778737797378073781737827378373784737857378673787737887378973790737917379273793737947379573796737977379873799738007380173802738037380473805738067380773808738097381073811738127381373814738157381673817738187381973820738217382273823738247382573826738277382873829738307383173832738337383473835738367383773838738397384073841738427384373844738457384673847738487384973850738517385273853738547385573856738577385873859738607386173862738637386473865738667386773868738697387073871738727387373874738757387673877738787387973880738817388273883738847388573886738877388873889738907389173892738937389473895738967389773898738997390073901739027390373904739057390673907739087390973910739117391273913739147391573916739177391873919739207392173922739237392473925739267392773928739297393073931739327393373934739357393673937739387393973940739417394273943739447394573946739477394873949739507395173952739537395473955739567395773958739597396073961739627396373964739657396673967739687396973970739717397273973739747397573976739777397873979739807398173982739837398473985739867398773988739897399073991739927399373994739957399673997739987399974000740017400274003740047400574006740077400874009740107401174012740137401474015740167401774018740197402074021740227402374024740257402674027740287402974030740317403274033740347403574036740377403874039740407404174042740437404474045740467404774048740497405074051740527405374054740557405674057740587405974060740617406274063740647406574066740677406874069740707407174072740737407474075740767407774078740797408074081740827408374084740857408674087740887408974090740917409274093740947409574096740977409874099741007410174102741037410474105741067410774108741097411074111741127411374114741157411674117741187411974120741217412274123741247412574126741277412874129741307413174132741337413474135741367413774138741397414074141741427414374144741457414674147741487414974150741517415274153741547415574156741577415874159741607416174162741637416474165741667416774168741697417074171741727417374174741757417674177741787417974180741817418274183741847418574186741877418874189741907419174192741937419474195741967419774198741997420074201742027420374204742057420674207742087420974210742117421274213742147421574216742177421874219742207422174222742237422474225742267422774228742297423074231742327423374234742357423674237742387423974240742417424274243742447424574246742477424874249742507425174252742537425474255742567425774258742597426074261742627426374264742657426674267742687426974270742717427274273742747427574276742777427874279742807428174282742837428474285742867428774288742897429074291742927429374294742957429674297742987429974300743017430274303743047430574306743077430874309743107431174312743137431474315743167431774318743197432074321743227432374324743257432674327743287432974330743317433274333743347433574336743377433874339743407434174342743437434474345743467434774348743497435074351743527435374354743557435674357743587435974360743617436274363743647436574366743677436874369743707437174372743737437474375743767437774378743797438074381743827438374384743857438674387743887438974390743917439274393743947439574396743977439874399744007440174402744037440474405744067440774408744097441074411744127441374414744157441674417744187441974420744217442274423744247442574426744277442874429744307443174432744337443474435744367443774438744397444074441744427444374444744457444674447744487444974450744517445274453744547445574456744577445874459744607446174462744637446474465744667446774468744697447074471744727447374474744757447674477744787447974480744817448274483744847448574486744877448874489744907449174492744937449474495744967449774498744997450074501745027450374504745057450674507745087450974510745117451274513745147451574516745177451874519745207452174522745237452474525745267452774528745297453074531745327453374534745357453674537745387453974540745417454274543745447454574546745477454874549745507455174552745537455474555745567455774558745597456074561745627456374564745657456674567745687456974570745717457274573745747457574576745777457874579745807458174582745837458474585745867458774588745897459074591745927459374594745957459674597745987459974600746017460274603746047460574606746077460874609746107461174612746137461474615746167461774618746197462074621746227462374624746257462674627746287462974630746317463274633746347463574636746377463874639746407464174642746437464474645746467464774648746497465074651746527465374654746557465674657746587465974660746617466274663746647466574666746677466874669746707467174672746737467474675746767467774678746797468074681746827468374684746857468674687746887468974690746917469274693746947469574696746977469874699747007470174702747037470474705747067470774708747097471074711747127471374714747157471674717747187471974720747217472274723747247472574726747277472874729747307473174732747337473474735747367473774738747397474074741747427474374744747457474674747747487474974750747517475274753747547475574756747577475874759747607476174762747637476474765747667476774768747697477074771747727477374774747757477674777747787477974780747817478274783747847478574786747877478874789747907479174792747937479474795747967479774798747997480074801748027480374804748057480674807748087480974810748117481274813748147481574816748177481874819748207482174822748237482474825748267482774828748297483074831748327483374834748357483674837748387483974840748417484274843748447484574846748477484874849748507485174852748537485474855748567485774858748597486074861748627486374864748657486674867748687486974870748717487274873748747487574876748777487874879748807488174882748837488474885748867488774888748897489074891748927489374894748957489674897748987489974900749017490274903749047490574906749077490874909749107491174912749137491474915749167491774918749197492074921749227492374924749257492674927749287492974930749317493274933749347493574936749377493874939749407494174942749437494474945749467494774948749497495074951749527495374954749557495674957749587495974960749617496274963749647496574966749677496874969749707497174972749737497474975749767497774978749797498074981749827498374984749857498674987749887498974990749917499274993749947499574996749977499874999750007500175002750037500475005750067500775008750097501075011750127501375014750157501675017750187501975020750217502275023750247502575026750277502875029750307503175032750337503475035750367503775038750397504075041750427504375044750457504675047750487504975050750517505275053750547505575056750577505875059750607506175062750637506475065750667506775068750697507075071750727507375074750757507675077750787507975080750817508275083750847508575086750877508875089750907509175092750937509475095750967509775098750997510075101751027510375104751057510675107751087510975110751117511275113751147511575116751177511875119751207512175122751237512475125751267512775128751297513075131751327513375134751357513675137751387513975140751417514275143751447514575146751477514875149751507515175152751537515475155751567515775158751597516075161751627516375164751657516675167751687516975170751717517275173751747517575176751777517875179751807518175182751837518475185751867518775188751897519075191751927519375194751957519675197751987519975200752017520275203752047520575206752077520875209752107521175212752137521475215752167521775218752197522075221752227522375224752257522675227752287522975230752317523275233752347523575236752377523875239752407524175242752437524475245752467524775248752497525075251752527525375254752557525675257752587525975260752617526275263752647526575266752677526875269752707527175272752737527475275752767527775278752797528075281752827528375284752857528675287752887528975290752917529275293752947529575296752977529875299753007530175302753037530475305753067530775308753097531075311753127531375314753157531675317753187531975320753217532275323753247532575326753277532875329753307533175332753337533475335753367533775338753397534075341753427534375344753457534675347753487534975350753517535275353753547535575356753577535875359753607536175362753637536475365753667536775368753697537075371753727537375374753757537675377753787537975380753817538275383753847538575386753877538875389753907539175392753937539475395753967539775398753997540075401754027540375404754057540675407754087540975410754117541275413754147541575416754177541875419754207542175422754237542475425754267542775428754297543075431754327543375434754357543675437754387543975440754417544275443754447544575446754477544875449754507545175452754537545475455754567545775458754597546075461754627546375464754657546675467754687546975470754717547275473754747547575476754777547875479754807548175482754837548475485754867548775488754897549075491754927549375494754957549675497754987549975500755017550275503755047550575506755077550875509755107551175512755137551475515755167551775518755197552075521755227552375524755257552675527755287552975530755317553275533755347553575536755377553875539755407554175542755437554475545755467554775548755497555075551755527555375554755557555675557755587555975560755617556275563755647556575566755677556875569755707557175572755737557475575755767557775578755797558075581755827558375584755857558675587755887558975590755917559275593755947559575596755977559875599756007560175602756037560475605756067560775608756097561075611756127561375614756157561675617756187561975620756217562275623756247562575626756277562875629756307563175632756337563475635756367563775638756397564075641756427564375644756457564675647756487564975650756517565275653756547565575656756577565875659756607566175662756637566475665756667566775668756697567075671756727567375674756757567675677756787567975680756817568275683756847568575686756877568875689756907569175692756937569475695756967569775698756997570075701757027570375704757057570675707757087570975710757117571275713757147571575716757177571875719757207572175722757237572475725757267572775728757297573075731757327573375734757357573675737757387573975740757417574275743757447574575746757477574875749757507575175752757537575475755757567575775758757597576075761757627576375764757657576675767757687576975770757717577275773757747577575776757777577875779757807578175782757837578475785757867578775788757897579075791757927579375794757957579675797757987579975800758017580275803758047580575806758077580875809758107581175812758137581475815758167581775818758197582075821758227582375824758257582675827758287582975830758317583275833758347583575836758377583875839758407584175842758437584475845758467584775848758497585075851758527585375854758557585675857758587585975860758617586275863758647586575866758677586875869758707587175872758737587475875758767587775878758797588075881758827588375884758857588675887758887588975890758917589275893758947589575896758977589875899759007590175902759037590475905759067590775908759097591075911759127591375914759157591675917759187591975920759217592275923759247592575926759277592875929759307593175932759337593475935759367593775938759397594075941759427594375944759457594675947759487594975950759517595275953759547595575956759577595875959759607596175962759637596475965759667596775968759697597075971759727597375974759757597675977759787597975980759817598275983759847598575986759877598875989759907599175992759937599475995759967599775998759997600076001760027600376004760057600676007760087600976010760117601276013760147601576016760177601876019760207602176022760237602476025760267602776028760297603076031760327603376034760357603676037760387603976040760417604276043760447604576046760477604876049760507605176052760537605476055760567605776058760597606076061760627606376064760657606676067760687606976070760717607276073760747607576076760777607876079760807608176082760837608476085760867608776088760897609076091760927609376094760957609676097760987609976100761017610276103761047610576106761077610876109761107611176112761137611476115761167611776118761197612076121761227612376124761257612676127761287612976130761317613276133761347613576136761377613876139761407614176142761437614476145761467614776148761497615076151761527615376154761557615676157761587615976160761617616276163761647616576166761677616876169761707617176172761737617476175761767617776178761797618076181761827618376184761857618676187761887618976190761917619276193761947619576196761977619876199762007620176202762037620476205762067620776208762097621076211762127621376214762157621676217762187621976220762217622276223762247622576226762277622876229762307623176232762337623476235762367623776238762397624076241762427624376244762457624676247762487624976250762517625276253762547625576256762577625876259762607626176262762637626476265762667626776268762697627076271762727627376274762757627676277762787627976280762817628276283762847628576286762877628876289762907629176292762937629476295762967629776298762997630076301763027630376304763057630676307763087630976310763117631276313763147631576316763177631876319763207632176322763237632476325763267632776328763297633076331763327633376334763357633676337763387633976340763417634276343763447634576346763477634876349763507635176352763537635476355763567635776358763597636076361763627636376364763657636676367763687636976370763717637276373763747637576376763777637876379763807638176382763837638476385763867638776388763897639076391763927639376394763957639676397763987639976400764017640276403764047640576406764077640876409764107641176412764137641476415764167641776418764197642076421764227642376424764257642676427764287642976430764317643276433764347643576436764377643876439764407644176442764437644476445764467644776448764497645076451764527645376454764557645676457764587645976460764617646276463764647646576466764677646876469764707647176472764737647476475764767647776478764797648076481764827648376484764857648676487764887648976490764917649276493764947649576496764977649876499765007650176502765037650476505765067650776508765097651076511765127651376514765157651676517765187651976520765217652276523765247652576526765277652876529765307653176532765337653476535765367653776538765397654076541765427654376544765457654676547765487654976550765517655276553765547655576556765577655876559765607656176562765637656476565765667656776568765697657076571765727657376574765757657676577765787657976580765817658276583765847658576586765877658876589765907659176592765937659476595765967659776598765997660076601766027660376604766057660676607766087660976610766117661276613766147661576616766177661876619766207662176622766237662476625766267662776628766297663076631766327663376634766357663676637766387663976640766417664276643766447664576646766477664876649766507665176652766537665476655766567665776658766597666076661766627666376664766657666676667766687666976670766717667276673766747667576676766777667876679766807668176682766837668476685766867668776688766897669076691766927669376694766957669676697766987669976700767017670276703767047670576706767077670876709767107671176712767137671476715767167671776718767197672076721767227672376724767257672676727767287672976730767317673276733767347673576736767377673876739767407674176742767437674476745767467674776748767497675076751767527675376754767557675676757767587675976760767617676276763767647676576766767677676876769767707677176772767737677476775767767677776778767797678076781767827678376784767857678676787767887678976790767917679276793767947679576796767977679876799768007680176802768037680476805768067680776808768097681076811768127681376814768157681676817768187681976820768217682276823768247682576826768277682876829768307683176832768337683476835768367683776838768397684076841768427684376844768457684676847768487684976850768517685276853768547685576856768577685876859768607686176862768637686476865768667686776868768697687076871768727687376874768757687676877768787687976880768817688276883768847688576886768877688876889768907689176892768937689476895768967689776898768997690076901769027690376904769057690676907769087690976910769117691276913769147691576916769177691876919769207692176922769237692476925769267692776928769297693076931769327693376934769357693676937769387693976940769417694276943769447694576946769477694876949769507695176952769537695476955769567695776958769597696076961769627696376964769657696676967769687696976970769717697276973769747697576976769777697876979769807698176982769837698476985769867698776988769897699076991769927699376994769957699676997769987699977000770017700277003770047700577006770077700877009770107701177012770137701477015770167701777018770197702077021770227702377024770257702677027770287702977030770317703277033770347703577036770377703877039770407704177042770437704477045770467704777048770497705077051770527705377054770557705677057770587705977060770617706277063770647706577066770677706877069770707707177072770737707477075770767707777078770797708077081770827708377084770857708677087770887708977090770917709277093770947709577096770977709877099771007710177102771037710477105771067710777108771097711077111771127711377114771157711677117771187711977120771217712277123771247712577126771277712877129771307713177132771337713477135771367713777138771397714077141771427714377144771457714677147771487714977150771517715277153771547715577156771577715877159771607716177162771637716477165771667716777168771697717077171771727717377174771757717677177771787717977180771817718277183771847718577186771877718877189771907719177192771937719477195771967719777198771997720077201772027720377204772057720677207772087720977210772117721277213772147721577216772177721877219772207722177222772237722477225772267722777228772297723077231772327723377234772357723677237772387723977240772417724277243772447724577246772477724877249772507725177252772537725477255772567725777258772597726077261772627726377264772657726677267772687726977270772717727277273772747727577276772777727877279772807728177282772837728477285772867728777288772897729077291772927729377294772957729677297772987729977300773017730277303773047730577306773077730877309773107731177312773137731477315773167731777318773197732077321773227732377324773257732677327773287732977330773317733277333773347733577336773377733877339773407734177342773437734477345773467734777348773497735077351773527735377354773557735677357773587735977360773617736277363773647736577366773677736877369773707737177372773737737477375773767737777378773797738077381773827738377384773857738677387773887738977390773917739277393773947739577396773977739877399774007740177402774037740477405774067740777408774097741077411774127741377414774157741677417774187741977420774217742277423774247742577426774277742877429774307743177432774337743477435774367743777438774397744077441774427744377444774457744677447774487744977450774517745277453774547745577456774577745877459774607746177462774637746477465774667746777468774697747077471774727747377474774757747677477774787747977480774817748277483774847748577486774877748877489774907749177492774937749477495774967749777498774997750077501775027750377504775057750677507775087750977510775117751277513775147751577516775177751877519775207752177522775237752477525775267752777528775297753077531775327753377534775357753677537775387753977540775417754277543775447754577546775477754877549775507755177552775537755477555775567755777558775597756077561775627756377564775657756677567775687756977570775717757277573775747757577576775777757877579775807758177582775837758477585775867758777588775897759077591775927759377594775957759677597775987759977600776017760277603776047760577606776077760877609776107761177612776137761477615776167761777618776197762077621776227762377624776257762677627776287762977630776317763277633776347763577636776377763877639776407764177642776437764477645776467764777648776497765077651776527765377654776557765677657776587765977660776617766277663776647766577666776677766877669776707767177672776737767477675776767767777678776797768077681776827768377684776857768677687776887768977690776917769277693776947769577696776977769877699777007770177702777037770477705777067770777708777097771077711777127771377714777157771677717777187771977720777217772277723777247772577726777277772877729777307773177732777337773477735777367773777738777397774077741777427774377744777457774677747777487774977750777517775277753777547775577756777577775877759777607776177762777637776477765777667776777768777697777077771777727777377774777757777677777777787777977780777817778277783777847778577786777877778877789777907779177792777937779477795777967779777798777997780077801778027780377804778057780677807778087780977810778117781277813778147781577816778177781877819778207782177822778237782477825778267782777828778297783077831778327783377834778357783677837778387783977840778417784277843778447784577846778477784877849778507785177852778537785477855778567785777858778597786077861778627786377864778657786677867778687786977870778717787277873778747787577876778777787877879778807788177882778837788477885778867788777888778897789077891778927789377894778957789677897778987789977900779017790277903779047790577906779077790877909779107791177912779137791477915779167791777918779197792077921779227792377924779257792677927779287792977930779317793277933779347793577936779377793877939779407794177942779437794477945779467794777948779497795077951779527795377954779557795677957779587795977960779617796277963779647796577966779677796877969779707797177972779737797477975779767797777978779797798077981779827798377984779857798677987779887798977990779917799277993779947799577996779977799877999780007800178002780037800478005780067800778008780097801078011780127801378014780157801678017780187801978020780217802278023780247802578026780277802878029780307803178032780337803478035780367803778038780397804078041780427804378044780457804678047780487804978050780517805278053780547805578056780577805878059780607806178062780637806478065780667806778068780697807078071780727807378074780757807678077780787807978080780817808278083780847808578086780877808878089780907809178092780937809478095780967809778098780997810078101781027810378104781057810678107781087810978110781117811278113781147811578116781177811878119781207812178122781237812478125781267812778128781297813078131781327813378134781357813678137781387813978140781417814278143781447814578146781477814878149781507815178152781537815478155781567815778158781597816078161781627816378164781657816678167781687816978170781717817278173781747817578176781777817878179781807818178182781837818478185781867818778188781897819078191781927819378194781957819678197781987819978200782017820278203782047820578206782077820878209782107821178212782137821478215782167821778218782197822078221782227822378224782257822678227782287822978230782317823278233782347823578236782377823878239782407824178242782437824478245782467824778248782497825078251782527825378254782557825678257782587825978260782617826278263782647826578266782677826878269782707827178272782737827478275782767827778278782797828078281782827828378284782857828678287782887828978290782917829278293782947829578296782977829878299783007830178302783037830478305783067830778308783097831078311783127831378314783157831678317783187831978320783217832278323783247832578326783277832878329783307833178332783337833478335783367833778338783397834078341783427834378344783457834678347783487834978350783517835278353783547835578356783577835878359783607836178362783637836478365783667836778368783697837078371783727837378374783757837678377783787837978380783817838278383783847838578386783877838878389783907839178392783937839478395783967839778398783997840078401784027840378404784057840678407784087840978410784117841278413784147841578416784177841878419784207842178422784237842478425784267842778428784297843078431784327843378434784357843678437784387843978440784417844278443784447844578446784477844878449784507845178452784537845478455784567845778458784597846078461784627846378464784657846678467784687846978470784717847278473784747847578476784777847878479784807848178482784837848478485784867848778488784897849078491784927849378494784957849678497784987849978500785017850278503785047850578506785077850878509785107851178512785137851478515785167851778518785197852078521785227852378524785257852678527785287852978530785317853278533785347853578536785377853878539785407854178542785437854478545785467854778548785497855078551785527855378554785557855678557785587855978560785617856278563785647856578566785677856878569785707857178572785737857478575785767857778578785797858078581785827858378584785857858678587785887858978590785917859278593785947859578596785977859878599786007860178602786037860478605786067860778608786097861078611786127861378614786157861678617786187861978620786217862278623786247862578626786277862878629786307863178632786337863478635786367863778638786397864078641786427864378644786457864678647786487864978650786517865278653786547865578656786577865878659786607866178662786637866478665786667866778668786697867078671786727867378674786757867678677786787867978680786817868278683786847868578686786877868878689786907869178692786937869478695786967869778698786997870078701787027870378704787057870678707787087870978710787117871278713787147871578716787177871878719787207872178722787237872478725787267872778728787297873078731787327873378734787357873678737787387873978740787417874278743787447874578746787477874878749787507875178752787537875478755787567875778758787597876078761787627876378764787657876678767787687876978770787717877278773787747877578776787777877878779787807878178782787837878478785787867878778788787897879078791787927879378794787957879678797787987879978800788017880278803788047880578806788077880878809788107881178812788137881478815788167881778818788197882078821788227882378824788257882678827788287882978830788317883278833788347883578836788377883878839788407884178842788437884478845788467884778848788497885078851788527885378854788557885678857788587885978860788617886278863788647886578866788677886878869788707887178872788737887478875788767887778878788797888078881788827888378884788857888678887788887888978890788917889278893788947889578896788977889878899789007890178902789037890478905789067890778908789097891078911789127891378914789157891678917789187891978920789217892278923789247892578926789277892878929789307893178932789337893478935789367893778938789397894078941789427894378944789457894678947789487894978950789517895278953789547895578956789577895878959789607896178962789637896478965789667896778968789697897078971789727897378974789757897678977789787897978980789817898278983789847898578986789877898878989789907899178992789937899478995789967899778998789997900079001790027900379004790057900679007790087900979010790117901279013790147901579016790177901879019790207902179022790237902479025790267902779028790297903079031790327903379034790357903679037790387903979040790417904279043790447904579046790477904879049790507905179052790537905479055790567905779058790597906079061790627906379064790657906679067790687906979070790717907279073790747907579076790777907879079790807908179082790837908479085790867908779088790897909079091790927909379094790957909679097790987909979100791017910279103791047910579106791077910879109791107911179112791137911479115791167911779118791197912079121791227912379124791257912679127791287912979130791317913279133791347913579136791377913879139791407914179142791437914479145791467914779148791497915079151791527915379154791557915679157791587915979160791617916279163791647916579166791677916879169791707917179172791737917479175791767917779178791797918079181791827918379184791857918679187791887918979190791917919279193791947919579196791977919879199792007920179202792037920479205792067920779208792097921079211792127921379214792157921679217792187921979220792217922279223792247922579226792277922879229792307923179232792337923479235792367923779238792397924079241792427924379244792457924679247792487924979250792517925279253792547925579256792577925879259792607926179262792637926479265792667926779268792697927079271792727927379274792757927679277792787927979280792817928279283792847928579286792877928879289792907929179292792937929479295792967929779298792997930079301793027930379304793057930679307793087930979310793117931279313793147931579316793177931879319793207932179322793237932479325793267932779328793297933079331793327933379334793357933679337793387933979340793417934279343793447934579346793477934879349793507935179352793537935479355793567935779358793597936079361793627936379364793657936679367793687936979370793717937279373793747937579376793777937879379793807938179382793837938479385793867938779388793897939079391793927939379394793957939679397793987939979400794017940279403794047940579406794077940879409794107941179412794137941479415794167941779418794197942079421794227942379424794257942679427794287942979430794317943279433794347943579436794377943879439794407944179442794437944479445794467944779448794497945079451794527945379454794557945679457794587945979460794617946279463794647946579466794677946879469794707947179472794737947479475794767947779478794797948079481794827948379484794857948679487794887948979490794917949279493794947949579496794977949879499795007950179502795037950479505795067950779508795097951079511795127951379514795157951679517795187951979520795217952279523795247952579526795277952879529795307953179532795337953479535795367953779538795397954079541795427954379544795457954679547795487954979550795517955279553795547955579556795577955879559795607956179562795637956479565795667956779568795697957079571795727957379574795757957679577795787957979580795817958279583795847958579586795877958879589795907959179592795937959479595795967959779598795997960079601796027960379604796057960679607796087960979610796117961279613796147961579616796177961879619796207962179622796237962479625796267962779628796297963079631796327963379634796357963679637796387963979640796417964279643796447964579646796477964879649796507965179652796537965479655796567965779658796597966079661796627966379664796657966679667796687966979670796717967279673796747967579676796777967879679796807968179682796837968479685796867968779688796897969079691796927969379694796957969679697796987969979700797017970279703797047970579706797077970879709797107971179712797137971479715797167971779718797197972079721797227972379724797257972679727797287972979730797317973279733797347973579736797377973879739797407974179742797437974479745797467974779748797497975079751797527975379754797557975679757797587975979760797617976279763797647976579766797677976879769797707977179772797737977479775797767977779778797797978079781797827978379784797857978679787797887978979790797917979279793797947979579796797977979879799798007980179802798037980479805798067980779808798097981079811798127981379814798157981679817798187981979820798217982279823798247982579826798277982879829798307983179832798337983479835798367983779838798397984079841798427984379844798457984679847798487984979850798517985279853798547985579856798577985879859798607986179862798637986479865798667986779868798697987079871798727987379874798757987679877798787987979880798817988279883798847988579886798877988879889798907989179892798937989479895798967989779898798997990079901799027990379904799057990679907799087990979910799117991279913799147991579916799177991879919799207992179922799237992479925799267992779928799297993079931799327993379934799357993679937799387993979940799417994279943799447994579946799477994879949799507995179952799537995479955799567995779958799597996079961799627996379964799657996679967799687996979970799717997279973799747997579976799777997879979799807998179982799837998479985799867998779988799897999079991799927999379994799957999679997799987999980000800018000280003800048000580006800078000880009800108001180012800138001480015800168001780018800198002080021800228002380024800258002680027800288002980030800318003280033800348003580036800378003880039800408004180042800438004480045800468004780048800498005080051800528005380054800558005680057800588005980060800618006280063800648006580066800678006880069800708007180072800738007480075800768007780078800798008080081800828008380084800858008680087800888008980090800918009280093800948009580096800978009880099801008010180102801038010480105801068010780108801098011080111801128011380114801158011680117801188011980120801218012280123801248012580126801278012880129801308013180132801338013480135801368013780138801398014080141801428014380144801458014680147801488014980150801518015280153801548015580156801578015880159801608016180162801638016480165801668016780168801698017080171801728017380174801758017680177801788017980180801818018280183801848018580186801878018880189801908019180192801938019480195801968019780198801998020080201802028020380204802058020680207802088020980210802118021280213802148021580216802178021880219802208022180222802238022480225802268022780228802298023080231802328023380234802358023680237802388023980240802418024280243802448024580246802478024880249802508025180252802538025480255802568025780258802598026080261802628026380264802658026680267802688026980270802718027280273802748027580276802778027880279802808028180282802838028480285802868028780288802898029080291802928029380294802958029680297802988029980300803018030280303803048030580306803078030880309803108031180312803138031480315803168031780318803198032080321803228032380324803258032680327803288032980330803318033280333803348033580336803378033880339803408034180342803438034480345803468034780348803498035080351803528035380354803558035680357803588035980360803618036280363803648036580366803678036880369803708037180372803738037480375803768037780378803798038080381803828038380384803858038680387803888038980390803918039280393803948039580396803978039880399804008040180402804038040480405804068040780408804098041080411804128041380414804158041680417804188041980420804218042280423804248042580426804278042880429804308043180432804338043480435804368043780438804398044080441804428044380444804458044680447804488044980450804518045280453804548045580456804578045880459804608046180462804638046480465804668046780468804698047080471804728047380474804758047680477804788047980480804818048280483804848048580486804878048880489804908049180492804938049480495804968049780498804998050080501805028050380504805058050680507805088050980510805118051280513805148051580516805178051880519805208052180522805238052480525805268052780528805298053080531805328053380534805358053680537805388053980540805418054280543805448054580546805478054880549805508055180552805538055480555805568055780558805598056080561805628056380564805658056680567805688056980570805718057280573805748057580576805778057880579805808058180582805838058480585805868058780588805898059080591805928059380594805958059680597805988059980600806018060280603806048060580606806078060880609806108061180612806138061480615806168061780618806198062080621806228062380624806258062680627806288062980630806318063280633806348063580636806378063880639806408064180642806438064480645806468064780648806498065080651806528065380654806558065680657806588065980660806618066280663806648066580666806678066880669806708067180672806738067480675806768067780678806798068080681806828068380684806858068680687806888068980690806918069280693806948069580696806978069880699807008070180702807038070480705807068070780708807098071080711807128071380714807158071680717807188071980720807218072280723807248072580726807278072880729807308073180732807338073480735807368073780738807398074080741807428074380744807458074680747807488074980750807518075280753807548075580756807578075880759807608076180762807638076480765807668076780768807698077080771807728077380774807758077680777807788077980780807818078280783807848078580786807878078880789807908079180792807938079480795807968079780798807998080080801808028080380804808058080680807808088080980810808118081280813808148081580816808178081880819808208082180822808238082480825808268082780828808298083080831808328083380834808358083680837808388083980840808418084280843808448084580846808478084880849808508085180852808538085480855808568085780858808598086080861808628086380864808658086680867808688086980870808718087280873808748087580876808778087880879808808088180882808838088480885808868088780888808898089080891808928089380894808958089680897808988089980900809018090280903809048090580906809078090880909809108091180912809138091480915809168091780918809198092080921809228092380924809258092680927809288092980930809318093280933809348093580936809378093880939809408094180942809438094480945809468094780948809498095080951809528095380954809558095680957809588095980960809618096280963809648096580966809678096880969809708097180972809738097480975809768097780978809798098080981809828098380984809858098680987809888098980990809918099280993809948099580996809978099880999810008100181002810038100481005810068100781008810098101081011810128101381014810158101681017810188101981020810218102281023810248102581026810278102881029810308103181032810338103481035810368103781038810398104081041810428104381044810458104681047810488104981050810518105281053810548105581056810578105881059810608106181062810638106481065810668106781068810698107081071810728107381074810758107681077810788107981080810818108281083810848108581086810878108881089810908109181092810938109481095810968109781098810998110081101811028110381104811058110681107811088110981110811118111281113811148111581116811178111881119811208112181122811238112481125811268112781128811298113081131811328113381134811358113681137811388113981140811418114281143811448114581146811478114881149811508115181152811538115481155811568115781158811598116081161811628116381164811658116681167811688116981170811718117281173811748117581176811778117881179811808118181182811838118481185811868118781188811898119081191811928119381194811958119681197811988119981200812018120281203812048120581206812078120881209812108121181212812138121481215812168121781218812198122081221812228122381224812258122681227812288122981230812318123281233812348123581236812378123881239812408124181242812438124481245812468124781248812498125081251812528125381254812558125681257812588125981260812618126281263812648126581266812678126881269812708127181272812738127481275812768127781278812798128081281812828128381284812858128681287812888128981290812918129281293812948129581296812978129881299813008130181302813038130481305813068130781308813098131081311813128131381314813158131681317813188131981320813218132281323813248132581326813278132881329813308133181332813338133481335813368133781338813398134081341813428134381344813458134681347813488134981350813518135281353813548135581356813578135881359813608136181362813638136481365813668136781368813698137081371813728137381374813758137681377813788137981380813818138281383813848138581386813878138881389813908139181392813938139481395813968139781398813998140081401814028140381404814058140681407814088140981410814118141281413814148141581416814178141881419814208142181422814238142481425814268142781428814298143081431814328143381434814358143681437814388143981440814418144281443814448144581446814478144881449814508145181452814538145481455814568145781458814598146081461814628146381464814658146681467814688146981470814718147281473814748147581476814778147881479814808148181482814838148481485814868148781488814898149081491814928149381494814958149681497814988149981500815018150281503815048150581506815078150881509815108151181512815138151481515815168151781518815198152081521815228152381524815258152681527815288152981530815318153281533815348153581536815378153881539815408154181542815438154481545815468154781548815498155081551815528155381554815558155681557815588155981560815618156281563815648156581566815678156881569815708157181572815738157481575815768157781578815798158081581815828158381584815858158681587815888158981590815918159281593815948159581596815978159881599816008160181602816038160481605816068160781608816098161081611816128161381614816158161681617816188161981620816218162281623816248162581626816278162881629816308163181632816338163481635816368163781638816398164081641816428164381644816458164681647816488164981650816518165281653816548165581656816578165881659816608166181662816638166481665816668166781668816698167081671816728167381674816758167681677816788167981680816818168281683816848168581686816878168881689816908169181692816938169481695816968169781698816998170081701817028170381704817058170681707817088170981710817118171281713817148171581716817178171881719817208172181722817238172481725817268172781728817298173081731817328173381734817358173681737817388173981740817418174281743817448174581746817478174881749817508175181752817538175481755817568175781758817598176081761817628176381764817658176681767817688176981770817718177281773817748177581776817778177881779817808178181782817838178481785817868178781788817898179081791817928179381794817958179681797817988179981800818018180281803818048180581806818078180881809818108181181812818138181481815818168181781818818198182081821818228182381824818258182681827818288182981830818318183281833818348183581836818378183881839818408184181842818438184481845818468184781848818498185081851818528185381854818558185681857818588185981860818618186281863818648186581866818678186881869818708187181872818738187481875818768187781878818798188081881818828188381884818858188681887818888188981890818918189281893818948189581896818978189881899819008190181902819038190481905819068190781908819098191081911819128191381914819158191681917819188191981920819218192281923819248192581926819278192881929819308193181932819338193481935819368193781938819398194081941819428194381944819458194681947819488194981950819518195281953819548195581956819578195881959819608196181962819638196481965819668196781968819698197081971819728197381974819758197681977819788197981980819818198281983819848198581986819878198881989819908199181992819938199481995819968199781998819998200082001820028200382004820058200682007820088200982010820118201282013820148201582016820178201882019820208202182022820238202482025820268202782028820298203082031820328203382034820358203682037820388203982040820418204282043820448204582046820478204882049820508205182052820538205482055820568205782058820598206082061820628206382064820658206682067820688206982070820718207282073820748207582076820778207882079820808208182082820838208482085820868208782088820898209082091820928209382094820958209682097820988209982100821018210282103821048210582106821078210882109821108211182112821138211482115821168211782118821198212082121821228212382124821258212682127821288212982130821318213282133821348213582136821378213882139821408214182142821438214482145821468214782148821498215082151821528215382154821558215682157821588215982160821618216282163821648216582166821678216882169821708217182172821738217482175821768217782178821798218082181821828218382184821858218682187821888218982190821918219282193821948219582196821978219882199822008220182202822038220482205822068220782208822098221082211822128221382214822158221682217822188221982220822218222282223822248222582226822278222882229822308223182232822338223482235822368223782238822398224082241822428224382244822458224682247822488224982250822518225282253822548225582256822578225882259822608226182262822638226482265822668226782268822698227082271822728227382274822758227682277822788227982280822818228282283822848228582286822878228882289822908229182292822938229482295822968229782298822998230082301823028230382304823058230682307823088230982310823118231282313823148231582316
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) 2021 the authors of Guix (msgids) and the following authors (msgstr)
  3. # This file is distributed under the same license as the guix manual package.
  4. # Rafael Fontenelle <rafaelff@gnome.org>, 2021.
  5. # Thiago Jung Bauermann <bauermann@kolabnow.com>, 2021.
  6. # Camila Flores Granella <cgranell@redhat.com>, 2022.
  7. # Fábio Rodrigues Ribeiro <farribeiro@gmail.com>, 2022, 2023.
  8. msgid ""
  9. msgstr ""
  10. "Project-Id-Version: guix manual checkout\n"
  11. "Report-Msgid-Bugs-To: bug-guix@gnu.org\n"
  12. "POT-Creation-Date: 2023-05-25 03:18+0000\n"
  13. "PO-Revision-Date: 2023-01-26 17:20+0000\n"
  14. "Last-Translator: Fábio Rodrigues Ribeiro <farribeiro@gmail.com>\n"
  15. "Language-Team: Portuguese (Brazil) <https://translate.fedoraproject.org/projects/guix/documentation-manual/pt_BR/>\n"
  16. "Language: pt_BR\n"
  17. "MIME-Version: 1.0\n"
  18. "Content-Type: text/plain; charset=UTF-8\n"
  19. "Content-Transfer-Encoding: 8bit\n"
  20. "Plural-Forms: nplurals=2; plural=n > 1;\n"
  21. "X-Generator: Weblate 4.15.2\n"
  22. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  23. #. type: chapter
  24. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  25. #. type: menuentry
  26. #: guix-git/doc/contributing.texi:1 guix-git/doc/contributing.texi:2
  27. #: guix-git/doc/guix.texi:204
  28. #, no-wrap
  29. msgid "Contributing"
  30. msgstr "Contribuindo"
  31. #. type: Plain text
  32. #: guix-git/doc/contributing.texi:9
  33. #, fuzzy
  34. #| msgid "This project is a cooperative effort, and we need your help to make it grow! Please get in touch with us on @email{guix-devel@@gnu.org} and @code{#guix} on the Freenode IRC network. We welcome ideas, bug reports, patches, and anything that may be helpful to the project. We particularly welcome help on packaging (@pxref{Packaging Guidelines})."
  35. msgid "This project is a cooperative effort, and we need your help to make it grow! Please get in touch with us on @email{guix-devel@@gnu.org} and @code{#guix} on the Libera Chat IRC network. We welcome ideas, bug reports, patches, and anything that may be helpful to the project. We particularly welcome help on packaging (@pxref{Packaging Guidelines})."
  36. msgstr "Este projeto é um esforço cooperativo e precisamos da sua ajuda para fazê-lo crescer! Por favor, entre em contato conosco por meio de @email{guix-devel@@gnu.org} e @code{#guix} na rede IRC do Freenode. São muito bem-vindas ideias, relatórios de bugs, patches e qualquer coisa que possa ser útil para o projeto. Nós particularmente agradecemos a ajuda no empacotamento das (@pxref{Diretrizes de empacotamento})."
  37. #. type: cindex
  38. #: guix-git/doc/contributing.texi:10
  39. #, no-wrap
  40. msgid "code of conduct, of contributors"
  41. msgstr "código de conduta, de contribuidores"
  42. #. type: cindex
  43. #: guix-git/doc/contributing.texi:11
  44. #, no-wrap
  45. msgid "contributor covenant"
  46. msgstr "acordo de contribuição"
  47. #. type: Plain text
  48. #: guix-git/doc/contributing.texi:17
  49. msgid "We want to provide a warm, friendly, and harassment-free environment, so that anyone can contribute to the best of their abilities. To this end our project uses a ``Contributor Covenant'', which was adapted from @url{https://contributor-covenant.org/}. You can find a local version in the @file{CODE-OF-CONDUCT} file in the source tree."
  50. msgstr "Queremos oferecer um ambiente acolhedor, amigável e sem assédio, para que todos possam contribuir com o melhor de suas habilidades. Para este fim, nosso projeto usa um ``Acordo de contribuição``, que foi adaptado de @url{https://contributor-covenant.org/}. Você pode encontrar uma versão local no arquivo @file{CODE-OF-CONDUCT} na árvore de fontes."
  51. #. type: Plain text
  52. #: guix-git/doc/contributing.texi:21
  53. msgid "Contributors are not required to use their legal name in patches and on-line communication; they can use any name or pseudonym of their choice."
  54. msgstr "Os contribuidores não são obrigados a usar seu nome legal em patches e comunicação on-line; eles podem usar qualquer nome ou pseudônimo de sua escolha."
  55. #. type: section
  56. #: guix-git/doc/contributing.texi:34 guix-git/doc/contributing.texi:36
  57. #: guix-git/doc/contributing.texi:37
  58. #, no-wrap
  59. msgid "Building from Git"
  60. msgstr "Compilando do git"
  61. #. type: menuentry
  62. #: guix-git/doc/contributing.texi:34
  63. msgid "The latest and greatest."
  64. msgstr "A mais recente e melhor."
  65. #. type: section
  66. #: guix-git/doc/contributing.texi:34 guix-git/doc/contributing.texi:195
  67. #: guix-git/doc/contributing.texi:196
  68. #, no-wrap
  69. msgid "Running Guix Before It Is Installed"
  70. msgstr "Executando guix antes dele ser instalado"
  71. #. type: menuentry
  72. #: guix-git/doc/contributing.texi:34
  73. msgid "Hacker tricks."
  74. msgstr "Truques de hacker."
  75. #. type: section
  76. #: guix-git/doc/contributing.texi:34 guix-git/doc/contributing.texi:286
  77. #: guix-git/doc/contributing.texi:287
  78. #, no-wrap
  79. msgid "The Perfect Setup"
  80. msgstr "A configuração perfeita"
  81. #. type: menuentry
  82. #: guix-git/doc/contributing.texi:34
  83. msgid "The right tools."
  84. msgstr "As ferramentas certas."
  85. #. type: section
  86. #: guix-git/doc/contributing.texi:34 guix-git/doc/contributing.texi:387
  87. #: guix-git/doc/contributing.texi:388
  88. #, no-wrap
  89. msgid "Packaging Guidelines"
  90. msgstr "Diretrizes de empacotamento"
  91. #. type: menuentry
  92. #: guix-git/doc/contributing.texi:34
  93. msgid "Growing the distribution."
  94. msgstr "Crescendo a distribuição."
  95. #. type: section
  96. #: guix-git/doc/contributing.texi:34 guix-git/doc/contributing.texi:1052
  97. #: guix-git/doc/contributing.texi:1053
  98. #, no-wrap
  99. msgid "Coding Style"
  100. msgstr "Estilo de código"
  101. #. type: menuentry
  102. #: guix-git/doc/contributing.texi:34
  103. msgid "Hygiene of the contributor."
  104. msgstr "Limpeza do contribuidor."
  105. #. type: section
  106. #: guix-git/doc/contributing.texi:34 guix-git/doc/contributing.texi:1150
  107. #: guix-git/doc/contributing.texi:1151
  108. #, no-wrap
  109. msgid "Submitting Patches"
  110. msgstr "Enviando patches"
  111. #. type: menuentry
  112. #: guix-git/doc/contributing.texi:34
  113. msgid "Share your work."
  114. msgstr "Compartilhe seu trabalho."
  115. #. type: section
  116. #: guix-git/doc/contributing.texi:34 guix-git/doc/contributing.texi:1577
  117. #: guix-git/doc/contributing.texi:1578
  118. #, no-wrap
  119. msgid "Tracking Bugs and Patches"
  120. msgstr ""
  121. #. type: menuentry
  122. #: guix-git/doc/contributing.texi:34
  123. msgid "Keeping it all organized."
  124. msgstr ""
  125. #. type: section
  126. #: guix-git/doc/contributing.texi:34 guix-git/doc/contributing.texi:1692
  127. #: guix-git/doc/contributing.texi:1693
  128. #, no-wrap
  129. msgid "Commit Access"
  130. msgstr ""
  131. #. type: menuentry
  132. #: guix-git/doc/contributing.texi:34
  133. msgid "Pushing to the official repository."
  134. msgstr ""
  135. #. type: section
  136. #: guix-git/doc/contributing.texi:34 guix-git/doc/contributing.texi:1926
  137. #: guix-git/doc/contributing.texi:1927
  138. #, no-wrap
  139. msgid "Updating the Guix Package"
  140. msgstr ""
  141. #. type: menuentry
  142. #: guix-git/doc/contributing.texi:34
  143. msgid "Updating the Guix package definition."
  144. msgstr ""
  145. #. type: section
  146. #: guix-git/doc/contributing.texi:34 guix-git/doc/contributing.texi:1964
  147. #: guix-git/doc/contributing.texi:1965
  148. #, fuzzy, no-wrap
  149. #| msgid "Documentation"
  150. msgid "Writing Documentation"
  151. msgstr "Documentação"
  152. #. type: menuentry
  153. #: guix-git/doc/contributing.texi:34
  154. msgid "Improving documentation in GNU Guix."
  155. msgstr ""
  156. #. type: section
  157. #: guix-git/doc/contributing.texi:34 guix-git/doc/contributing.texi:2008
  158. #: guix-git/doc/contributing.texi:2009
  159. #, no-wrap
  160. msgid "Translating Guix"
  161. msgstr "Traduzindo o Guix"
  162. #. type: menuentry
  163. #: guix-git/doc/contributing.texi:34
  164. msgid "Make Guix speak your native language."
  165. msgstr ""
  166. #. type: Plain text
  167. #: guix-git/doc/contributing.texi:41
  168. msgid "If you want to hack Guix itself, it is recommended to use the latest version from the Git repository:"
  169. msgstr "Se você quiser hackear o próprio Guix, é recomendado usar a versão mais recente do repositório Git:"
  170. #. type: example
  171. #: guix-git/doc/contributing.texi:44
  172. #, no-wrap
  173. msgid "git clone https://git.savannah.gnu.org/git/guix.git\n"
  174. msgstr "git clone https://git.savannah.gnu.org/git/guix.git\n"
  175. #. type: cindex
  176. #: guix-git/doc/contributing.texi:46
  177. #, no-wrap
  178. msgid "authentication, of a Guix checkout"
  179. msgstr ""
  180. #. type: Plain text
  181. #: guix-git/doc/contributing.texi:51
  182. msgid "How do you ensure that you obtained a genuine copy of the repository? To do that, run @command{guix git authenticate}, passing it the commit and OpenPGP fingerprint of the @dfn{channel introduction} (@pxref{Invoking guix git authenticate}):"
  183. msgstr ""
  184. #. type: example
  185. #: guix-git/doc/contributing.texi:58
  186. #, no-wrap
  187. msgid ""
  188. "git fetch origin keyring:keyring\n"
  189. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  190. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  191. msgstr ""
  192. #. type: Plain text
  193. #: guix-git/doc/contributing.texi:63
  194. msgid "This command completes with exit code zero on success; it prints an error message and exits with a non-zero code otherwise."
  195. msgstr ""
  196. #. type: Plain text
  197. #: guix-git/doc/contributing.texi:70
  198. msgid "As you can see, there is a chicken-and-egg problem: you first need to have Guix installed. Typically you would install Guix System (@pxref{System Installation}) or Guix on top of another distro (@pxref{Binary Installation}); in either case, you would verify the OpenPGP signature on the installation medium. This ``bootstraps'' the trust chain."
  199. msgstr ""
  200. #. type: Plain text
  201. #: guix-git/doc/contributing.texi:75
  202. msgid "The easiest way to set up a development environment for Guix is, of course, by using Guix! The following command starts a new shell where all the dependencies and appropriate environment variables are set up to hack on Guix:"
  203. msgstr "A maneira mais fácil de configurar um ambiente de desenvolvimento para o Guix é, obviamente, usando o Guix! O comando a seguir inicia um novo shell no qual todas as dependências e variáveis de ambiente apropriadas são configuradas para hackear o Guix:"
  204. #. type: example
  205. #: guix-git/doc/contributing.texi:78
  206. #, no-wrap
  207. msgid "guix shell -D guix --pure\n"
  208. msgstr ""
  209. #. type: Plain text
  210. #: guix-git/doc/contributing.texi:81
  211. #, fuzzy
  212. #| msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  213. msgid "@xref{Invoking guix shell}, for more information on that command."
  214. msgstr "@xref{Invocando guix pack}, para mais informações sobre essa ferramenta útil."
  215. #. type: Plain text
  216. #: guix-git/doc/contributing.texi:85
  217. msgid "If you are unable to use Guix when building Guix from a checkout, the following are the required packages in addition to those mentioned in the installation instructions (@pxref{Requirements})."
  218. msgstr ""
  219. #. type: item
  220. #: guix-git/doc/contributing.texi:87
  221. #, no-wrap
  222. msgid "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  223. msgstr ""
  224. #. type: item
  225. #: guix-git/doc/contributing.texi:88
  226. #, no-wrap
  227. msgid "@url{https://gnu.org/software/automake/, GNU Automake};"
  228. msgstr ""
  229. #. type: item
  230. #: guix-git/doc/contributing.texi:89
  231. #, no-wrap
  232. msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  233. msgstr ""
  234. #. type: item
  235. #: guix-git/doc/contributing.texi:90
  236. #, no-wrap
  237. msgid "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  238. msgstr ""
  239. #. type: item
  240. #: guix-git/doc/contributing.texi:91
  241. #, no-wrap
  242. msgid "@url{https://www.graphviz.org/, Graphviz};"
  243. msgstr ""
  244. #. type: item
  245. #: guix-git/doc/contributing.texi:92
  246. #, no-wrap
  247. msgid "@url{https://www.gnu.org/software/help2man/, GNU Help2man (optional)}."
  248. msgstr ""
  249. #. type: Plain text
  250. #: guix-git/doc/contributing.texi:97
  251. msgid "On Guix, extra dependencies can be added by instead running @command{guix shell}:"
  252. msgstr ""
  253. #. type: example
  254. #: guix-git/doc/contributing.texi:100
  255. #, no-wrap
  256. msgid "guix shell -D guix help2man git strace --pure\n"
  257. msgstr ""
  258. #. type: Plain text
  259. #: guix-git/doc/contributing.texi:104
  260. #, fuzzy
  261. #| msgid "Run @command{./bootstrap} to generate the build system infrastructure using Autoconf and Automake. If you get an error like this one:"
  262. msgid "From there you can generate the build system infrastructure using Autoconf and Automake:"
  263. msgstr "Execute @command{./bootstrap} para gerar a infraestrutura do sistema de compilação usando o Autoconf e o Automake. Se você receber um erro como este:"
  264. #. type: example
  265. #: guix-git/doc/contributing.texi:107
  266. #, fuzzy, no-wrap
  267. #| msgid "Bootstrapping"
  268. msgid "./bootstrap\n"
  269. msgstr "Inicializando"
  270. #. type: Plain text
  271. #: guix-git/doc/contributing.texi:110
  272. msgid "If you get an error like this one:"
  273. msgstr ""
  274. #. type: example
  275. #: guix-git/doc/contributing.texi:113
  276. #, no-wrap
  277. msgid "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  278. msgstr "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  279. #. type: Plain text
  280. #: guix-git/doc/contributing.texi:122
  281. msgid "it probably means that Autoconf couldn’t find @file{pkg.m4}, which is provided by pkg-config. Make sure that @file{pkg.m4} is available. The same holds for the @file{guile.m4} set of macros provided by Guile. For instance, if you installed Automake in @file{/usr/local}, it wouldn’t look for @file{.m4} files in @file{/usr/share}. In that case, you have to invoke the following command:"
  282. msgstr "provavelmente significa que o Autoconf não conseguiu encontrar o @file{pkg.m4}, que é fornecido pelo pkg-config. Certifique-se de que @file{pkg.m4} esteja disponível. O mesmo vale para o conjunto de macros @file{guile.m4} fornecido pelo Guile. Por exemplo, se você instalou o Automake em @file{/usr/local}, ele não procuraria arquivos @file{.m4} em @file{/usr/share}. Nesse caso, você tem que invocar o seguinte comando:"
  283. #. type: example
  284. #: guix-git/doc/contributing.texi:125
  285. #, no-wrap
  286. msgid "export ACLOCAL_PATH=/usr/share/aclocal\n"
  287. msgstr "export ACLOCAL_PATH=/usr/share/aclocal\n"
  288. #. type: Plain text
  289. #: guix-git/doc/contributing.texi:129
  290. msgid "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information."
  291. msgstr "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, para mais informações."
  292. #. type: Plain text
  293. #: guix-git/doc/contributing.texi:131
  294. msgid "Then, run:"
  295. msgstr ""
  296. #. type: example
  297. #: guix-git/doc/contributing.texi:134
  298. #, fuzzy, no-wrap
  299. #| msgid "--localstatedir"
  300. msgid "./configure --localstatedir=/var --sysconfdir=/etc\n"
  301. msgstr "--localstatedir"
  302. #. type: Plain text
  303. #: guix-git/doc/contributing.texi:143
  304. msgid "... where @file{/var} is the normal @code{localstatedir} value (@pxref{The Store}, for information about this) and @file{/etc} is the normal @code{sysconfdir} value. Note that you will probably not run @command{make install} at the end (you don't have to) but it's still important to pass the right @code{localstatedir} and @code{sysconfdir} values, which get recorded in the @code{(guix config)} Guile module."
  305. msgstr ""
  306. #. type: Plain text
  307. #: guix-git/doc/contributing.texi:146
  308. msgid "Finally, you can build Guix and, if you feel so inclined, run the tests (@pxref{Running the Test Suite}):"
  309. msgstr ""
  310. #. type: example
  311. #: guix-git/doc/contributing.texi:150
  312. #, fuzzy, no-wrap
  313. #| msgid "make check\n"
  314. msgid ""
  315. "make\n"
  316. "make check\n"
  317. msgstr "make check\n"
  318. #. type: Plain text
  319. #: guix-git/doc/contributing.texi:156
  320. #, fuzzy
  321. msgid "If anything fails, take a look at installation instructions (@pxref{Installation}) or send a message to the @email{guix-devel@@gnu.org, mailing list}."
  322. msgstr "Finalmente, você tem que invocar @code{make check} para executar testes (@pxref{Executando a suíte de testes}). Se alguma coisa falhar, dê uma olhada nas instruções de instalação (@pxref{Instalação}) ou envie uma mensagem para a @email{guix-devel@@gnu.org, a lista de discussão}."
  323. #. type: Plain text
  324. #: guix-git/doc/contributing.texi:159
  325. msgid "From there on, you can authenticate all the commits included in your checkout by running:"
  326. msgstr ""
  327. #. type: example
  328. #: guix-git/doc/contributing.texi:162 guix-git/doc/contributing.texi:1807
  329. #, no-wrap
  330. msgid "make authenticate\n"
  331. msgstr ""
  332. #. type: Plain text
  333. #: guix-git/doc/contributing.texi:165
  334. msgid "The first run takes a couple of minutes, but subsequent runs are faster."
  335. msgstr ""
  336. #. type: Plain text
  337. #: guix-git/doc/contributing.texi:171
  338. msgid "Or, when your configuration for your local Git repository doesn't match the default one, you can provide the reference for the @code{keyring} branch through the variable @code{GUIX_GIT_KEYRING}. The following example assumes that you have a Git remote called @samp{myremote} pointing to the official repository:"
  339. msgstr ""
  340. #. type: example
  341. #: guix-git/doc/contributing.texi:174
  342. #, no-wrap
  343. msgid "make authenticate GUIX_GIT_KEYRING=myremote/keyring\n"
  344. msgstr ""
  345. #. type: quotation
  346. #: guix-git/doc/contributing.texi:176 guix-git/doc/contributing.texi:790
  347. #: guix-git/doc/contributing.texi:1417 guix-git/doc/contributing.texi:1462
  348. #: guix-git/doc/contributing.texi:1780 guix-git/doc/guix.texi:680
  349. #: guix-git/doc/guix.texi:729 guix-git/doc/guix.texi:933
  350. #: guix-git/doc/guix.texi:1564 guix-git/doc/guix.texi:1951
  351. #: guix-git/doc/guix.texi:2164 guix-git/doc/guix.texi:2226
  352. #: guix-git/doc/guix.texi:2413 guix-git/doc/guix.texi:2635
  353. #: guix-git/doc/guix.texi:2847 guix-git/doc/guix.texi:4079
  354. #: guix-git/doc/guix.texi:4857 guix-git/doc/guix.texi:4871
  355. #: guix-git/doc/guix.texi:4928 guix-git/doc/guix.texi:4981
  356. #: guix-git/doc/guix.texi:5211 guix-git/doc/guix.texi:6001
  357. #: guix-git/doc/guix.texi:6022 guix-git/doc/guix.texi:6644
  358. #: guix-git/doc/guix.texi:6923 guix-git/doc/guix.texi:7044
  359. #: guix-git/doc/guix.texi:7073 guix-git/doc/guix.texi:7114
  360. #: guix-git/doc/guix.texi:7169 guix-git/doc/guix.texi:8597
  361. #: guix-git/doc/guix.texi:10802 guix-git/doc/guix.texi:10944
  362. #: guix-git/doc/guix.texi:11014 guix-git/doc/guix.texi:12892
  363. #: guix-git/doc/guix.texi:12932 guix-git/doc/guix.texi:13032
  364. #: guix-git/doc/guix.texi:13257 guix-git/doc/guix.texi:13269
  365. #: guix-git/doc/guix.texi:15970 guix-git/doc/guix.texi:16664
  366. #: guix-git/doc/guix.texi:16770 guix-git/doc/guix.texi:17747
  367. #: guix-git/doc/guix.texi:18305 guix-git/doc/guix.texi:18807
  368. #: guix-git/doc/guix.texi:21895 guix-git/doc/guix.texi:22078
  369. #: guix-git/doc/guix.texi:22565 guix-git/doc/guix.texi:27143
  370. #: guix-git/doc/guix.texi:27752 guix-git/doc/guix.texi:31140
  371. #: guix-git/doc/guix.texi:35316 guix-git/doc/guix.texi:39561
  372. #: guix-git/doc/guix.texi:39635 guix-git/doc/guix.texi:39677
  373. #: guix-git/doc/guix.texi:39952 guix-git/doc/guix.texi:40122
  374. #: guix-git/doc/guix.texi:40290 guix-git/doc/guix.texi:40397
  375. #: guix-git/doc/guix.texi:40443 guix-git/doc/guix.texi:40500
  376. #: guix-git/doc/guix.texi:40527 guix-git/doc/guix.texi:40865
  377. #: guix-git/doc/guix.texi:42073 guix-git/doc/guix.texi:42148
  378. #: guix-git/doc/guix.texi:42198 guix-git/doc/guix.texi:42248
  379. #: guix-git/doc/guix.texi:42353 guix-git/doc/guix.texi:43862
  380. #: guix-git/doc/guix.texi:45064
  381. #, no-wrap
  382. msgid "Note"
  383. msgstr "Nota"
  384. #. type: quotation
  385. #: guix-git/doc/contributing.texi:180
  386. msgid "You are advised to run @command{make authenticate} after every @command{git pull} invocation. This ensures you keep receiving valid changes to the repository."
  387. msgstr ""
  388. #. type: Plain text
  389. #: guix-git/doc/contributing.texi:184
  390. msgid "After updating the repository, @command{make} might fail with an error similar to the following example:"
  391. msgstr ""
  392. #. type: example
  393. #: guix-git/doc/contributing.texi:188
  394. #, no-wrap
  395. msgid ""
  396. "error: failed to load 'gnu/packages/dunst.scm':\n"
  397. "ice-9/eval.scm:293:34: In procedure abi-check: #<record-type <origin>>: record ABI mismatch; recompilation needed\n"
  398. msgstr ""
  399. #. type: Plain text
  400. #: guix-git/doc/contributing.texi:194
  401. msgid "This means that one of the record types that Guix defines (in this example, the @code{origin} record) has changed, and all of guix needs to be recompiled to take that change into account. To do so, run @command{make clean-go} followed by @command{make}."
  402. msgstr ""
  403. #. type: Plain text
  404. #: guix-git/doc/contributing.texi:202
  405. msgid "In order to keep a sane working environment, you will find it useful to test the changes made in your local source tree checkout without actually installing them. So that you can distinguish between your ``end-user'' hat and your ``motley'' costume."
  406. msgstr "Para manter um ambiente de trabalho saudável, você achará útil testar as alterações feitas na árvore local de fontes sem realmente instalá-las. Para que você possa distinguir entre o seu chapéude ''usuário final'' e sua fantasia ''misturada''."
  407. #. type: Plain text
  408. #: guix-git/doc/contributing.texi:213
  409. msgid "To that end, all the command-line tools can be used even if you have not run @code{make install}. To do that, you first need to have an environment with all the dependencies available (@pxref{Building from Git}), and then simply prefix each command with @command{./pre-inst-env} (the @file{pre-inst-env} script lives in the top build tree of Guix; it is generated by running @command{./bootstrap} followed by @command{./configure}). As an example, here is how you would build the @code{hello} package as defined in your working tree (this assumes @command{guix-daemon} is already running on your system; it's OK if it's a different version):"
  410. msgstr ""
  411. #. type: example
  412. #: guix-git/doc/contributing.texi:216
  413. #, no-wrap
  414. msgid "$ ./pre-inst-env guix build hello\n"
  415. msgstr ""
  416. #. type: Plain text
  417. #: guix-git/doc/contributing.texi:220
  418. msgid "Similarly, an example for a Guile session using the Guix modules:"
  419. msgstr ""
  420. #. type: example
  421. #: guix-git/doc/contributing.texi:223
  422. #, no-wrap
  423. msgid ""
  424. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  425. "\n"
  426. msgstr ""
  427. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  428. "\n"
  429. #. type: example
  430. #: guix-git/doc/contributing.texi:225
  431. #, no-wrap
  432. msgid ";;; (\"x86_64-linux\")\n"
  433. msgstr ";;; (\"x86_64-linux\")\n"
  434. #. type: cindex
  435. #: guix-git/doc/contributing.texi:228
  436. #, no-wrap
  437. msgid "REPL"
  438. msgstr "REPL"
  439. #. type: cindex
  440. #: guix-git/doc/contributing.texi:229
  441. #, no-wrap
  442. msgid "read-eval-print loop"
  443. msgstr "read-eval-print loop"
  444. #. type: Plain text
  445. #: guix-git/doc/contributing.texi:231
  446. #, fuzzy
  447. #| msgid "@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):"
  448. msgid "@dots{} and for a REPL (@pxref{Using Guix Interactively}):"
  449. msgstr "@dots{} e para um REPL (@pxref{Usando o Guile interativamente,,, guile, Manual de referência do Guile}):"
  450. #. type: example
  451. #: guix-git/doc/contributing.texi:246
  452. #, no-wrap
  453. msgid ""
  454. "$ ./pre-inst-env guile\n"
  455. "scheme@@(guile-user)> ,use(guix)\n"
  456. "scheme@@(guile-user)> ,use(gnu)\n"
  457. "scheme@@(guile-user)> (define snakes\n"
  458. " (fold-packages\n"
  459. " (lambda (package lst)\n"
  460. " (if (string-prefix? \"python\"\n"
  461. " (package-name package))\n"
  462. " (cons package lst)\n"
  463. " lst))\n"
  464. " '()))\n"
  465. "scheme@@(guile-user)> (length snakes)\n"
  466. "$1 = 361\n"
  467. msgstr ""
  468. "$ ./pre-inst-env guile\n"
  469. "scheme@@(guile-user)> ,use(guix)\n"
  470. "scheme@@(guile-user)> ,use(gnu)\n"
  471. "scheme@@(guile-user)> (define snakes\n"
  472. " (fold-packages\n"
  473. " (lambda (package lst)\n"
  474. " (if (string-prefix? \"python\"\n"
  475. " (package-name package))\n"
  476. " (cons package lst)\n"
  477. " lst))\n"
  478. " '()))\n"
  479. "scheme@@(guile-user)> (length snakes)\n"
  480. "$1 = 361\n"
  481. #. type: Plain text
  482. #: guix-git/doc/contributing.texi:254
  483. msgid "If you are hacking on the daemon and its supporting code or if @command{guix-daemon} is not already running on your system, you can launch it straight from the build tree@footnote{The @option{-E} flag to @command{sudo} guarantees that @code{GUILE_LOAD_PATH} is correctly set such that @command{guix-daemon} and the tools it uses can find the Guile modules they need.}:"
  484. msgstr ""
  485. #. type: example
  486. #: guix-git/doc/contributing.texi:257
  487. #, no-wrap
  488. msgid "$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n"
  489. msgstr ""
  490. #. type: Plain text
  491. #: guix-git/doc/contributing.texi:261
  492. msgid "The @command{pre-inst-env} script sets up all the environment variables necessary to support this, including @env{PATH} and @env{GUILE_LOAD_PATH}."
  493. msgstr "O script @command{pre-inst-env} configura todas as variáveis de ambiente necessárias para prover suporte a isso, incluindo @env{PATH} e @env{GUILE_LOAD_PATH}."
  494. #. type: Plain text
  495. #: guix-git/doc/contributing.texi:266
  496. msgid "Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the local source tree; it simply updates the @file{~/.config/guix/current} symlink (@pxref{Invoking guix pull}). Run @command{git pull} instead if you want to upgrade your local source tree."
  497. msgstr "Observe que @command{./pre-inst-env guix pull} @emph{não} atualiza a área de fontes local; ele simplesmente atualiza o link simbólico @file{~/.config/guix/current} (@pxref{Invocando guix pull}). Execute @command{git pull} em vez disso, se você quiser atualizar sua árvore de fontes local."
  498. #. type: Plain text
  499. #: guix-git/doc/contributing.texi:270
  500. msgid "Sometimes, especially if you have recently updated your repository, running @command{./pre-inst-env} will print a message similar to the following example:"
  501. msgstr ""
  502. #. type: example
  503. #: guix-git/doc/contributing.texi:274
  504. #, no-wrap
  505. msgid ""
  506. ";;; note: source file /home/user/projects/guix/guix/progress.scm\n"
  507. ";;; newer than compiled /home/user/projects/guix/guix/progress.go\n"
  508. msgstr ""
  509. #. type: Plain text
  510. #: guix-git/doc/contributing.texi:280
  511. msgid "This is only a note and you can safely ignore it. You can get rid of the message by running @command{make -j4}. Until you do, Guile will run slightly slower because it will interpret the code instead of using prepared Guile object (@file{.go}) files."
  512. msgstr ""
  513. #. type: Plain text
  514. #: guix-git/doc/contributing.texi:285
  515. msgid "You can run @command{make} automatically as you work using @command{watchexec} from the @code{watchexec} package. For example, to build again each time you update a package file, run @samp{watchexec -w gnu/packages -- make -j4}."
  516. msgstr ""
  517. #. type: Plain text
  518. #: guix-git/doc/contributing.texi:294
  519. msgid "The Perfect Setup to hack on Guix is basically the perfect setup used for Guile hacking (@pxref{Using Guile in Emacs,,, guile, Guile Reference Manual}). First, you need more than an editor, you need @url{https://www.gnu.org/software/emacs, Emacs}, empowered by the wonderful @url{https://nongnu.org/geiser/, Geiser}. To set that up, run:"
  520. msgstr ""
  521. #. type: example
  522. #: guix-git/doc/contributing.texi:297
  523. #, fuzzy, no-wrap
  524. #| msgid "guix package -i emacs guile emacs-geiser\n"
  525. msgid "guix install emacs guile emacs-geiser emacs-geiser-guile\n"
  526. msgstr "guix package -i emacs guile emacs-geiser\n"
  527. #. type: Plain text
  528. #: guix-git/doc/contributing.texi:306
  529. msgid "Geiser allows for interactive and incremental development from within Emacs: code compilation and evaluation from within buffers, access to on-line documentation (docstrings), context-sensitive completion, @kbd{M-.} to jump to an object definition, a REPL to try out your code, and more (@pxref{Introduction,,, geiser, Geiser User Manual}). For convenient Guix development, make sure to augment Guile’s load path so that it finds source files from your checkout:"
  530. msgstr "O Geiser permite um desenvolvimento interativo e incremental de dentro do Emacs: compilação e avaliação de código de dentro dos buffers, acesso à documentação on-line (docstrings), completação sensível ao contexto, @kbd{M-.} para pular para uma definição de objeto, um REPL para tentar seu código e muito mais (@pxref{Introdução ,,, geiser, Manual de usuário do Geiser}). Para um desenvolvimento prático do Guix, certifique-se de aumentar o caminho de carregamento do Guile para que ele encontre os arquivos de origem do seu checkout:"
  531. #. type: lisp
  532. #: guix-git/doc/contributing.texi:311
  533. #, no-wrap
  534. msgid ""
  535. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  536. "(with-eval-after-load 'geiser-guile\n"
  537. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  538. msgstr ""
  539. ";; @r{Presumindo que o checkout do Guix está em ~/src/guix.}\n"
  540. "(with-eval-after-load 'geiser-guile\n"
  541. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  542. #. type: Plain text
  543. #: guix-git/doc/contributing.texi:319
  544. msgid "To actually edit the code, Emacs already has a neat Scheme mode. But in addition to that, you must not miss @url{https://www.emacswiki.org/emacs/ParEdit, Paredit}. It provides facilities to directly operate on the syntax tree, such as raising an s-expression or wrapping it, swallowing or rejecting the following s-expression, etc."
  545. msgstr ""
  546. #. type: cindex
  547. #: guix-git/doc/contributing.texi:320
  548. #, no-wrap
  549. msgid "code snippets"
  550. msgstr "trechos de código"
  551. #. type: cindex
  552. #: guix-git/doc/contributing.texi:321
  553. #, no-wrap
  554. msgid "templates"
  555. msgstr "modelos"
  556. #. type: cindex
  557. #: guix-git/doc/contributing.texi:322
  558. #, no-wrap
  559. msgid "reducing boilerplate"
  560. msgstr "reduzindo boilerplate"
  561. #. type: Plain text
  562. #: guix-git/doc/contributing.texi:332
  563. msgid "We also provide templates for common git commit messages and package definitions in the @file{etc/snippets} directory. These templates can be used to expand short trigger strings to interactive text snippets. If you use @url{https://joaotavora.github.io/yasnippet/, YASnippet}, you may want to add the @file{etc/snippets/yas} snippets directory to the @var{yas-snippet-dirs} variable. If you use @url{https://github.com/minad/tempel/, Tempel}, you may want to add the @file{etc/snippets/tempel/*} path to the @var{tempel-path} variable in Emacs."
  564. msgstr ""
  565. #. type: lisp
  566. #: guix-git/doc/contributing.texi:344
  567. #, no-wrap
  568. msgid ""
  569. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  570. ";; @r{Yasnippet configuration}\n"
  571. "(with-eval-after-load 'yasnippet\n"
  572. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets/yas\"))\n"
  573. ";; @r{Tempel configuration}\n"
  574. "(with-eval-after-load 'tempel\n"
  575. " ;; Ensure tempel-path is a list -- it may also be a string.\n"
  576. " (unless (listp 'tempel-path)\n"
  577. " (setq tempel-path (list tempel-path)))\n"
  578. " (add-to-list 'tempel-path \"~/src/guix/etc/snippets/tempel/*\"))\n"
  579. msgstr ""
  580. #. type: Plain text
  581. #: guix-git/doc/contributing.texi:352
  582. msgid "The commit message snippets depend on @url{https://magit.vc/, Magit} to display staged files. When editing a commit message type @code{add} followed by @kbd{TAB} to insert a commit message template for adding a package; type @code{update} followed by @kbd{TAB} to insert a template for updating a package; type @code{https} followed by @kbd{TAB} to insert a template for changing the home page URI of a package to HTTPS."
  583. msgstr "Os trechos de mensagens de commit dependem de @url{https://magit.vc/, Magit} para exibir arquivos \"staged\". Ao editar uma mensagem de commit, digite @code{add} seguido por @kbd{TAB} para inserir um modelo de mensagem de commit para adicionar um pacote; digite @code{update} seguido por @kbd{TAB} para inserir um modelo para atualizar um pacote; digite @code{https} seguido por @kbd{TAB} para inserir um modelo para alterar a URI da página inicial de um pacote para HTTPS."
  584. #. type: Plain text
  585. #: guix-git/doc/contributing.texi:358
  586. msgid "The main snippet for @code{scheme-mode} is triggered by typing @code{package...} followed by @kbd{TAB}. This snippet also inserts the trigger string @code{origin...}, which can be expanded further. The @code{origin} snippet in turn may insert other trigger strings ending on @code{...}, which also can be expanded further."
  587. msgstr "O trecho principal para @code{scheme-mode} é acionado digitando @code{package ...} seguido de @kbd{TAB}. Esse trecho também insere a string de acionamento @code{origin...}, que pode ser expandida ainda mais. O trecho @code{origin}, por sua vez, pode inserir outras strings acionadoras que terminam em @code{...}, que também podem ser expandidas."
  588. #. type: cindex
  589. #: guix-git/doc/contributing.texi:359
  590. #, no-wrap
  591. msgid "insert or update copyright"
  592. msgstr ""
  593. #. type: code{#1}
  594. #: guix-git/doc/contributing.texi:360
  595. #, no-wrap
  596. msgid "M-x guix-copyright"
  597. msgstr ""
  598. #. type: code{#1}
  599. #: guix-git/doc/contributing.texi:361
  600. #, no-wrap
  601. msgid "M-x copyright-update"
  602. msgstr ""
  603. #. type: Plain text
  604. #: guix-git/doc/contributing.texi:365
  605. msgid "We additionally provide insertion and automatic update of a copyright in @file{etc/copyright.el}. You may want to set your full name, mail, and load a file."
  606. msgstr ""
  607. #. type: lisp
  608. #: guix-git/doc/contributing.texi:371
  609. #, no-wrap
  610. msgid ""
  611. "(setq user-full-name \"Alice Doe\")\n"
  612. "(setq user-mail-address \"alice@@mail.org\")\n"
  613. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  614. "(load-file \"~/src/guix/etc/copyright.el\")\n"
  615. msgstr ""
  616. #. type: Plain text
  617. #: guix-git/doc/contributing.texi:374
  618. msgid "To insert a copyright at the current line invoke @code{M-x guix-copyright}."
  619. msgstr ""
  620. #. type: Plain text
  621. #: guix-git/doc/contributing.texi:376
  622. msgid "To update a copyright you need to specify a @code{copyright-names-regexp}."
  623. msgstr ""
  624. #. type: lisp
  625. #: guix-git/doc/contributing.texi:380
  626. #, no-wrap
  627. msgid ""
  628. "(setq copyright-names-regexp\n"
  629. " (format \"%s <%s>\" user-full-name user-mail-address))\n"
  630. msgstr ""
  631. #. type: Plain text
  632. #: guix-git/doc/contributing.texi:386
  633. msgid "You can check if your copyright is up to date by evaluating @code{M-x copyright-update}. If you want to do it automatically after each buffer save then add @code{(add-hook 'after-save-hook 'copyright-update)} in Emacs."
  634. msgstr ""
  635. #. type: cindex
  636. #: guix-git/doc/contributing.texi:390
  637. #, no-wrap
  638. msgid "packages, creating"
  639. msgstr "pacotes, criação"
  640. #. type: Plain text
  641. #: guix-git/doc/contributing.texi:394
  642. msgid "The GNU distribution is nascent and may well lack some of your favorite packages. This section describes how you can help make the distribution grow."
  643. msgstr "A distribuição do GNU é incipiente e pode muito bem não ter alguns dos seus pacotes favoritos. Esta seção descreve como você pode ajudar a fazer a distribuição crescer."
  644. #. type: Plain text
  645. #: guix-git/doc/contributing.texi:402
  646. msgid "Free software packages are usually distributed in the form of @dfn{source code tarballs}---typically @file{tar.gz} files that contain all the source files. Adding a package to the distribution means essentially two things: adding a @dfn{recipe} that describes how to build the package, including a list of other packages required to build it, and adding @dfn{package metadata} along with that recipe, such as a description and licensing information."
  647. msgstr "Pacotes de software livre geralmente são distribuídos na forma de @dfn{tarballs de código-fonte} -- geralmente arquivos @file{tar.gz} que contêm todos os arquivos fonte. Adicionar um pacote à distribuição significa essencialmente duas coisas: adicionar uma @dfn{receita} que descreve como criar o pacote, incluindo uma lista de outros pacotes necessários para compilá-lo e adicionar @dfn{metadados de pacote} junto com essa receita, como uma descrição e informações de licenciamento."
  648. #. type: Plain text
  649. #: guix-git/doc/contributing.texi:411
  650. msgid "In Guix all this information is embodied in @dfn{package definitions}. Package definitions provide a high-level view of the package. They are written using the syntax of the Scheme programming language; in fact, for each package we define a variable bound to the package definition, and export that variable from a module (@pxref{Package Modules}). However, in-depth Scheme knowledge is @emph{not} a prerequisite for creating packages. For more information on package definitions, @pxref{Defining Packages}."
  651. msgstr "No Guix, todas essas informações estão incorporadas em @dfn{configurações de pacote}. As definições de pacote fornecem uma visão de alto nível do pacote. Elas são escritas usando a sintaxe da linguagem de programação Scheme; de fato, para cada pacote, definimos uma variável vinculada à definição do pacote e exportamos essa variável de um módulo (@pxref{Módulos de pacote}). No entanto, o conhecimento profundo de Scheme @emph{não} é um pré-requisito para a criação de pacotes. Para mais informações sobre definições de pacotes, @pxref{Definindo pacotes}."
  652. #. type: Plain text
  653. #: guix-git/doc/contributing.texi:417
  654. msgid "Once a package definition is in place, stored in a file in the Guix source tree, it can be tested using the @command{guix build} command (@pxref{Invoking guix build}). For example, assuming the new package is called @code{gnew}, you may run this command from the Guix build tree (@pxref{Running Guix Before It Is Installed}):"
  655. msgstr "Quando uma definição de pacote está em vigor, armazenada em um arquivo na árvore de fontes do Guix, ela pode ser testada usando o comando @command{guix build} (@pxref{Invocando guix build}). Por exemplo, supondo que o novo pacote seja chamado @code{gnew}, você pode executar este comando na árvore de construção do Guix (@pxref{Executando guix antes dele ser instalado}):"
  656. #. type: example
  657. #: guix-git/doc/contributing.texi:420
  658. #, no-wrap
  659. msgid "./pre-inst-env guix build gnew --keep-failed\n"
  660. msgstr "./pre-inst-env guix build gnew --keep-failed\n"
  661. #. type: Plain text
  662. #: guix-git/doc/contributing.texi:426
  663. msgid "Using @code{--keep-failed} makes it easier to debug build failures since it provides access to the failed build tree. Another useful command-line option when debugging is @code{--log-file}, to access the build log."
  664. msgstr "O uso de @code{--keep-failed} facilita a depuração de falhas de compilação, pois fornece acesso à árvore de compilação com falha. Outra opção útil da linha de comando ao depurar é @code{--log-file}, para acessar o log de compilação."
  665. #. type: Plain text
  666. #: guix-git/doc/contributing.texi:431
  667. msgid "If the package is unknown to the @command{guix} command, it may be that the source file contains a syntax error, or lacks a @code{define-public} clause to export the package variable. To figure it out, you may load the module from Guile to get more information about the actual error:"
  668. msgstr "Se o pacote for desconhecido para o comando @command{guix}, pode ser que o arquivo fonte contenha um erro de sintaxe ou não tenha uma cláusula @code{define-public} para exportar a variável do pacote. Para descobrir isso, você pode carregar o módulo do Guile para obter mais informações sobre o erro real:"
  669. #. type: example
  670. #: guix-git/doc/contributing.texi:434
  671. #, no-wrap
  672. msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  673. msgstr "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  674. #. type: Plain text
  675. #: guix-git/doc/contributing.texi:441
  676. msgid "Once your package builds correctly, please send us a patch (@pxref{Submitting Patches}). Well, if you need help, we will be happy to help you too. Once the patch is committed in the Guix repository, the new package automatically gets built on the supported platforms by @url{https://@value{SUBSTITUTE-SERVER-1}, our continuous integration system}."
  677. msgstr ""
  678. #. type: cindex
  679. #: guix-git/doc/contributing.texi:442
  680. #, no-wrap
  681. msgid "substituter"
  682. msgstr "substituidor"
  683. #. type: Plain text
  684. #: guix-git/doc/contributing.texi:449
  685. #, fuzzy
  686. #| msgid "Users can obtain the new package definition simply by running @command{guix pull} (@pxref{Invoking guix pull}). When @code{@value{SUBSTITUTE-SERVER}} is done building the package, installing the package automatically downloads binaries from there (@pxref{Substitutes}). The only place where human intervention is needed is to review and apply the patch."
  687. msgid "Users can obtain the new package definition simply by running @command{guix pull} (@pxref{Invoking guix pull}). When @code{@value{SUBSTITUTE-SERVER-1}} is done building the package, installing the package automatically downloads binaries from there (@pxref{Substitutes}). The only place where human intervention is needed is to review and apply the patch."
  688. msgstr "Os usuários podem obter a nova definição de pacote simplesmente executando @command{guix pull} (@pxref{Invocando guix pull}). Quando o @code{@value{SUBSTITUTE-SERVER}} terminar de compilar o pacote, a instalação do pacote fará o download automático dos binários a partir daí (@pxref{Substitutos}). O único lugar onde a intervenção humana é necessária é para revisar e aplicar o patch."
  689. #. type: subsection
  690. #: guix-git/doc/contributing.texi:464 guix-git/doc/contributing.texi:466
  691. #: guix-git/doc/contributing.texi:467
  692. #, no-wrap
  693. msgid "Software Freedom"
  694. msgstr "Liberdade de software"
  695. #. type: menuentry
  696. #: guix-git/doc/contributing.texi:464
  697. msgid "What may go into the distribution."
  698. msgstr "O que pode ir na distribuição."
  699. #. type: subsection
  700. #: guix-git/doc/contributing.texi:464 guix-git/doc/contributing.texi:494
  701. #: guix-git/doc/contributing.texi:495
  702. #, no-wrap
  703. msgid "Package Naming"
  704. msgstr "Nomeando um pacote"
  705. #. type: menuentry
  706. #: guix-git/doc/contributing.texi:464
  707. msgid "What's in a name?"
  708. msgstr "Que há em um nome?"
  709. #. type: subsection
  710. #: guix-git/doc/contributing.texi:464 guix-git/doc/contributing.texi:527
  711. #: guix-git/doc/contributing.texi:528
  712. #, no-wrap
  713. msgid "Version Numbers"
  714. msgstr "Números de versão"
  715. #. type: menuentry
  716. #: guix-git/doc/contributing.texi:464
  717. msgid "When the name is not enough."
  718. msgstr "Quando o nome não é suficiente."
  719. #. type: subsection
  720. #: guix-git/doc/contributing.texi:464 guix-git/doc/contributing.texi:634
  721. #: guix-git/doc/contributing.texi:635
  722. #, no-wrap
  723. msgid "Synopses and Descriptions"
  724. msgstr "Sinopses e descrições"
  725. #. type: menuentry
  726. #: guix-git/doc/contributing.texi:464
  727. msgid "Helping users find the right package."
  728. msgstr "Ajudando usuários a localizar o pacote certo."
  729. #. type: subsection
  730. #: guix-git/doc/contributing.texi:464 guix-git/doc/contributing.texi:713
  731. #: guix-git/doc/contributing.texi:714
  732. #, no-wrap
  733. msgid "Snippets versus Phases"
  734. msgstr ""
  735. #. type: menuentry
  736. #: guix-git/doc/contributing.texi:464
  737. msgid "Whether to use a snippet, or a build phase."
  738. msgstr ""
  739. #. type: subsection
  740. #: guix-git/doc/contributing.texi:464 guix-git/doc/contributing.texi:728
  741. #: guix-git/doc/contributing.texi:729 guix-git/doc/guix.texi:2148
  742. #, no-wrap
  743. msgid "Emacs Packages"
  744. msgstr ""
  745. #. type: menuentry
  746. #: guix-git/doc/contributing.texi:464
  747. msgid "Your Elisp fix."
  748. msgstr ""
  749. #. type: subsection
  750. #: guix-git/doc/contributing.texi:464 guix-git/doc/contributing.texi:768
  751. #: guix-git/doc/contributing.texi:769
  752. #, no-wrap
  753. msgid "Python Modules"
  754. msgstr "Módulos Python"
  755. #. type: menuentry
  756. #: guix-git/doc/contributing.texi:464
  757. msgid "A touch of British comedy."
  758. msgstr "Um toque de comédia britânica."
  759. #. type: subsection
  760. #: guix-git/doc/contributing.texi:464 guix-git/doc/contributing.texi:863
  761. #: guix-git/doc/contributing.texi:864
  762. #, no-wrap
  763. msgid "Perl Modules"
  764. msgstr "Módulos Perl"
  765. #. type: menuentry
  766. #: guix-git/doc/contributing.texi:464
  767. msgid "Little pearls."
  768. msgstr "Pequenas pérolas."
  769. #. type: subsection
  770. #: guix-git/doc/contributing.texi:464 guix-git/doc/contributing.texi:879
  771. #: guix-git/doc/contributing.texi:880
  772. #, no-wrap
  773. msgid "Java Packages"
  774. msgstr "Pacotes Java"
  775. #. type: menuentry
  776. #: guix-git/doc/contributing.texi:464
  777. msgid "Coffee break."
  778. msgstr "Parada para o café."
  779. #. type: subsection
  780. #: guix-git/doc/contributing.texi:464 guix-git/doc/contributing.texi:899
  781. #: guix-git/doc/contributing.texi:900
  782. #, no-wrap
  783. msgid "Rust Crates"
  784. msgstr ""
  785. #. type: menuentry
  786. #: guix-git/doc/contributing.texi:464
  787. msgid "Beware of oxidation."
  788. msgstr ""
  789. #. type: subsection
  790. #: guix-git/doc/contributing.texi:464 guix-git/doc/contributing.texi:933
  791. #: guix-git/doc/contributing.texi:934
  792. #, fuzzy, no-wrap
  793. #| msgid "Java Packages"
  794. msgid "Elm Packages"
  795. msgstr "Pacotes Java"
  796. #. type: menuentry
  797. #: guix-git/doc/contributing.texi:464
  798. msgid "Trees of browser code"
  799. msgstr ""
  800. #. type: subsection
  801. #: guix-git/doc/contributing.texi:464 guix-git/doc/contributing.texi:1014
  802. #: guix-git/doc/contributing.texi:1015
  803. #, no-wrap
  804. msgid "Fonts"
  805. msgstr "Fontes"
  806. #. type: menuentry
  807. #: guix-git/doc/contributing.texi:464
  808. msgid "Fond of fonts."
  809. msgstr "Vício em fontes."
  810. #. type: cindex
  811. #: guix-git/doc/contributing.texi:470
  812. #, no-wrap
  813. msgid "free software"
  814. msgstr "software livre"
  815. #. type: Plain text
  816. #: guix-git/doc/contributing.texi:478
  817. msgid "The GNU operating system has been developed so that users can have freedom in their computing. GNU is @dfn{free software}, meaning that users have the @url{https://www.gnu.org/philosophy/free-sw.html,four essential freedoms}: to run the program, to study and change the program in source code form, to redistribute exact copies, and to distribute modified versions. Packages found in the GNU distribution provide only software that conveys these four freedoms."
  818. msgstr ""
  819. #. type: Plain text
  820. #: guix-git/doc/contributing.texi:484
  821. msgid "In addition, the GNU distribution follow the @url{https://www.gnu.org/distros/free-system-distribution-guidelines.html,free software distribution guidelines}. Among other things, these guidelines reject non-free firmware, recommendations of non-free software, and discuss ways to deal with trademarks and patents."
  822. msgstr ""
  823. #. type: Plain text
  824. #: guix-git/doc/contributing.texi:492
  825. msgid "Some otherwise free upstream package sources contain a small and optional subset that violates the above guidelines, for instance because this subset is itself non-free code. When that happens, the offending items are removed with appropriate patches or code snippets in the @code{origin} form of the package (@pxref{Defining Packages}). This way, @code{guix build --source} returns the ``freed'' source rather than the unmodified upstream source."
  826. msgstr "Algumas fontes de pacotes upstream livres de outra forma contêm um subconjunto pequeno e opcional que viola as diretrizes acima, por exemplo, porque esse subconjunto é ele próprio um código não livre. Quando isso acontece, os itens incorretos são removidos com patches ou trechos de código apropriados no formato @code{origin} do pacote (@pxref{Definindo pacotes}). Dessa forma, o @code{guix build --source} retorna a fonte ``lançada'' em vez da fonte upstream não modificada."
  827. #. type: cindex
  828. #: guix-git/doc/contributing.texi:497
  829. #, no-wrap
  830. msgid "package name"
  831. msgstr "nome de pacote"
  832. #. type: Plain text
  833. #: guix-git/doc/contributing.texi:505
  834. #, fuzzy
  835. msgid "A package actually has two names associated with it. First, there is the name of the @emph{Scheme variable}, the one following @code{define-public}. By this name, the package can be made known in the Scheme code, for instance as input to another package. Second, there is the string in the @code{name} field of a package definition. This name is used by package management commands such as @command{guix package} and @command{guix build}."
  836. msgstr "Na verdade, um pacote possui dois nomes associados: Primeiro, existe o nome da @emph{variável Scheme}, a que vem após @code{define-public}. Com esse nome, o pacote pode ser conhecido no código do esquema, por exemplo, como entrada para outro pacote. Segundo, existe a string no campo @code{name} de uma definição de pacote. Esse nome é usado por comandos de gerenciamento de pacotes como @command{guix package} e @command{guix build}."
  837. #. type: Plain text
  838. #: guix-git/doc/contributing.texi:510
  839. msgid "Both are usually the same and correspond to the lowercase conversion of the project name chosen upstream, with underscores replaced with hyphens. For instance, GNUnet is available as @code{gnunet}, and SDL_net as @code{sdl-net}."
  840. msgstr "Ambos são geralmente iguais e correspondem à conversão em minúscula do nome do projeto escolhido a montante, com os sublinhados substituídos por hífenes. Por exemplo, o GNUnet está disponível como @code{gnunet} e SDL_net como @code{sdl-net}."
  841. #. type: Plain text
  842. #: guix-git/doc/contributing.texi:518
  843. msgid "A noteworthy exception to this rule is when the project name is only a single character, or if an older maintained project with the same name already exists---regardless of whether it has already been packaged for Guix. Use common sense to make such names unambiguous and meaningful. For example, Guix's package for the shell called ``s'' upstream is @code{s-shell} and @emph{not} @code{s}. Feel free to ask your fellow hackers for inspiration."
  844. msgstr ""
  845. #. type: Plain text
  846. #: guix-git/doc/contributing.texi:523
  847. msgid "We do not add @code{lib} prefixes for library packages, unless these are already part of the official project name. But @pxref{Python Modules} and @ref{Perl Modules} for special rules concerning modules for the Python and Perl languages."
  848. msgstr "Não adicionamos prefixos @code{lib} para pacotes de bibliotecas, a menos que eles já façam parte do nome oficial do projeto. Mas @pxref{Módulos Python} e @ref{Módulos Perl} para regras especiais relativas a módulos para as linguagens Python e Perl."
  849. #. type: Plain text
  850. #: guix-git/doc/contributing.texi:525
  851. msgid "Font package names are handled differently, @pxref{Fonts}."
  852. msgstr "Nomes de pacote de fontes são lidados de forma diferente. @xref{Fontes}."
  853. #. type: cindex
  854. #: guix-git/doc/contributing.texi:530
  855. #, no-wrap
  856. msgid "package version"
  857. msgstr "versão de pacote"
  858. #. type: Plain text
  859. #: guix-git/doc/contributing.texi:539
  860. msgid "We usually package only the latest version of a given free software project. But sometimes, for instance for incompatible library versions, two (or more) versions of the same package are needed. These require different Scheme variable names. We use the name as defined in @ref{Package Naming} for the most recent version; previous versions use the same name, suffixed by @code{-} and the smallest prefix of the version number that may distinguish the two versions."
  861. msgstr "Geralmente, empacotamos apenas a versão mais recente de um determinado projeto de software livre. Mas, às vezes, por exemplo, para versões incompatíveis de bibliotecas, são necessárias duas (ou mais) versões do mesmo pacote. Isso requer nomes de variáveis Scheme diferentes. Usamos o nome como definido em @ref{Nomeando um pacote} para a versão mais recente; as versões anteriores usam o mesmo nome, com o sufixo @code{-} e o menor prefixo do número da versão que pode distinguir as duas versões."
  862. #. type: Plain text
  863. #: guix-git/doc/contributing.texi:542
  864. msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number."
  865. msgstr "O nome dentro da definição do pacote é o mesmo para todas as versões de um pacote e não contém nenhum número de versão."
  866. #. type: Plain text
  867. #: guix-git/doc/contributing.texi:544
  868. msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:"
  869. msgstr "Por exemplo, as versões 2.24.20 e 3.9.12 do GTK podem ser empacotados da seguinte forma:"
  870. #. type: lisp
  871. #: guix-git/doc/contributing.texi:556
  872. #, no-wrap
  873. msgid ""
  874. "(define-public gtk+\n"
  875. " (package\n"
  876. " (name \"gtk+\")\n"
  877. " (version \"3.9.12\")\n"
  878. " ...))\n"
  879. "(define-public gtk+-2\n"
  880. " (package\n"
  881. " (name \"gtk+\")\n"
  882. " (version \"2.24.20\")\n"
  883. " ...))\n"
  884. msgstr ""
  885. "(define-public gtk+\n"
  886. " (package\n"
  887. " (name \"gtk+\")\n"
  888. " (version \"3.9.12\")\n"
  889. " ...))\n"
  890. "(define-public gtk+-2\n"
  891. " (package\n"
  892. " (name \"gtk+\")\n"
  893. " (version \"2.24.20\")\n"
  894. " ...))\n"
  895. #. type: Plain text
  896. #: guix-git/doc/contributing.texi:558
  897. msgid "If we also wanted GTK+ 3.8.2, this would be packaged as"
  898. msgstr "Se também quiséssemos GTK 3.8.2, este seria empacotado como"
  899. #. type: lisp
  900. #: guix-git/doc/contributing.texi:564
  901. #, no-wrap
  902. msgid ""
  903. "(define-public gtk+-3.8\n"
  904. " (package\n"
  905. " (name \"gtk+\")\n"
  906. " (version \"3.8.2\")\n"
  907. " ...))\n"
  908. msgstr ""
  909. "(define-public gtk+-3.8\n"
  910. " (package\n"
  911. " (name \"gtk+\")\n"
  912. " (version \"3.8.2\")\n"
  913. " ...))\n"
  914. #. type: cindex
  915. #: guix-git/doc/contributing.texi:568
  916. #, no-wrap
  917. msgid "version number, for VCS snapshots"
  918. msgstr "número de versão, para snapshots de VCS"
  919. #. type: Plain text
  920. #: guix-git/doc/contributing.texi:574
  921. msgid "Occasionally, we package snapshots of upstream's version control system (VCS) instead of formal releases. This should remain exceptional, because it is up to upstream developers to clarify what the stable release is. Yet, it is sometimes necessary. So, what should we put in the @code{version} field?"
  922. msgstr "Ocasionalmente, empacotamos snapshots do sistema de controle de versão (VCS) do upstream em vez de lançamentos formais. Isso deve permanecer excepcional, porque cabe aos desenvolvedores upstream esclarecer qual é a versão estável. No entanto, às vezes é necessário. Então, o que devemos colocar no campo @code{version}?"
  923. #. type: Plain text
  924. #: guix-git/doc/contributing.texi:582
  925. msgid "Clearly, we need to make the commit identifier of the VCS snapshot visible in the version string, but we also need to make sure that the version string is monotonically increasing so that @command{guix package --upgrade} can determine which version is newer. Since commit identifiers, notably with Git, are not monotonically increasing, we add a revision number that we increase each time we upgrade to a newer snapshot. The resulting version string looks like this:"
  926. msgstr "Claramente, precisamos tornar o identificador de commit do snapshot VCS visível na string de versão, mas também precisamos garantir que a string de versão esteja aumentando monotonicamente para que o @command{pacote guix --upgrade} possa determinar qual versão é mais recente. Como os identificadores de commit, principalmente com o Git, não estão aumentando monotonicamente, adicionamos um número de revisão que aumentamos cada vez que atualizamos para um snapshot mais recente. A sequência da versão resultante é assim:"
  927. #. type: example
  928. #: guix-git/doc/contributing.texi:591
  929. #, no-wrap
  930. msgid ""
  931. "2.0.11-3.cabba9e\n"
  932. " ^ ^ ^\n"
  933. " | | `-- upstream commit ID\n"
  934. " | |\n"
  935. " | `--- Guix package revision\n"
  936. " |\n"
  937. "latest upstream version\n"
  938. msgstr ""
  939. "2.0.11-3.cabba9e\n"
  940. " ^ ^ ^\n"
  941. " | | `-- ID do commit do upstream\n"
  942. " | |\n"
  943. " | `--- revisão do pacote do Guix\n"
  944. " |\n"
  945. "versão mais recente do upstream\n"
  946. #. type: Plain text
  947. #: guix-git/doc/contributing.texi:601
  948. msgid "It is a good idea to strip commit identifiers in the @code{version} field to, say, 7 digits. It avoids an aesthetic annoyance (assuming aesthetics have a role to play here) as well as problems related to OS limits such as the maximum shebang length (127 bytes for the Linux kernel). There are helper functions for doing this for packages using @code{git-fetch} or @code{hg-fetch} (see below). It is best to use the full commit identifiers in @code{origin}s, though, to avoid ambiguities. A typical package definition may look like this:"
  949. msgstr ""
  950. #. type: lisp
  951. #: guix-git/doc/contributing.texi:618
  952. #, no-wrap
  953. msgid ""
  954. "(define my-package\n"
  955. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  956. " (revision \"1\")) ;Guix package revision\n"
  957. " (package\n"
  958. " (version (git-version \"0.9\" revision commit))\n"
  959. " (source (origin\n"
  960. " (method git-fetch)\n"
  961. " (uri (git-reference\n"
  962. " (url \"git://example.org/my-package.git\")\n"
  963. " (commit commit)))\n"
  964. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  965. " (file-name (git-file-name name version))))\n"
  966. " ;; @dots{}\n"
  967. " )))\n"
  968. msgstr ""
  969. "(define meu-pacote\n"
  970. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  971. " (revision \"1\")) ;revisão do pacote do Guix\n"
  972. " (package\n"
  973. " (version (git-version \"0.9\" revision commit))\n"
  974. " (source (origin\n"
  975. " (method git-fetch)\n"
  976. " (uri (git-reference\n"
  977. " (url \"git://example.org/meu-pacote.git\")\n"
  978. " (commit commit)))\n"
  979. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  980. " (file-name (git-file-name name version))))\n"
  981. " ;; @dots{}\n"
  982. " )))\n"
  983. #. type: deffn
  984. #: guix-git/doc/contributing.texi:620
  985. #, no-wrap
  986. msgid "{Scheme Procedure} git-version @var{VERSION} @var{REVISION} @var{COMMIT}"
  987. msgstr ""
  988. #. type: deffn
  989. #: guix-git/doc/contributing.texi:622
  990. msgid "Return the version string for packages using @code{git-fetch}."
  991. msgstr ""
  992. #. type: lisp
  993. #: guix-git/doc/contributing.texi:626
  994. #, no-wrap
  995. msgid ""
  996. "(git-version \"0.2.3\" \"0\" \"93818c936ee7e2f1ba1b315578bde363a7d43d05\")\n"
  997. "@result{} \"0.2.3-0.93818c9\"\n"
  998. msgstr ""
  999. #. type: deffn
  1000. #: guix-git/doc/contributing.texi:629
  1001. #, no-wrap
  1002. msgid "{Scheme Procedure} hg-version @var{VERSION} @var{REVISION} @var{CHANGESET}"
  1003. msgstr ""
  1004. #. type: deffn
  1005. #: guix-git/doc/contributing.texi:632
  1006. msgid "Return the version string for packages using @code{hg-fetch}. It works in the same way as @code{git-version}."
  1007. msgstr ""
  1008. #. type: cindex
  1009. #: guix-git/doc/contributing.texi:637
  1010. #, no-wrap
  1011. msgid "package description"
  1012. msgstr "descrição do pacote"
  1013. #. type: cindex
  1014. #: guix-git/doc/contributing.texi:638
  1015. #, no-wrap
  1016. msgid "package synopsis"
  1017. msgstr "sinopse do pacote"
  1018. #. type: Plain text
  1019. #: guix-git/doc/contributing.texi:645
  1020. msgid "As we have seen before, each package in GNU@tie{}Guix includes a synopsis and a description (@pxref{Defining Packages}). Synopses and descriptions are important: They are what @command{guix package --search} searches, and a crucial piece of information to help users determine whether a given package suits their needs. Consequently, packagers should pay attention to what goes into them."
  1021. msgstr "Como vimos anteriormente, cada pacote no GNU@tie{}Guix inclui uma sinopse e uma descrição (@pxref{Definindo pacotes}). Sinopses e descrições são importantes: são o que o @command{guix package --search} pesquisa e uma informação crucial para ajudar os usuários a determinar se um determinado pacote atende às suas necessidades. Consequentemente, os empacotadores devem prestar atenção ao que entra neles."
  1022. #. type: Plain text
  1023. #: guix-git/doc/contributing.texi:653
  1024. msgid "Synopses must start with a capital letter and must not end with a period. They must not start with ``a'' or ``the'', which usually does not bring anything; for instance, prefer ``File-frobbing tool'' over ``A tool that frobs files''. The synopsis should say what the package is---e.g., ``Core GNU utilities (file, text, shell)''---or what it is used for---e.g., the synopsis for GNU@tie{}grep is ``Print lines matching a pattern''."
  1025. msgstr "As sinopses devem começar com uma letra maiúscula e não devem terminar com um ponto. Elas não devem começar com ``a'' ou ``the'', que geralmente não traz nada; por exemplo, prefira ``Tool-frobbing tool'' em vez de ``A tool that frobs files''. A sinopse deve dizer o que é o pacote -- por exemplo, ``Core GNU utilities (file, text, shell)'' -- ou para que é usado -- por exemplo, a sinopse do GNU@tie{}grep é ``Print lines matching a pattern''."
  1026. #. type: Plain text
  1027. #: guix-git/doc/contributing.texi:663
  1028. msgid "Keep in mind that the synopsis must be meaningful for a very wide audience. For example, ``Manipulate alignments in the SAM format'' might make sense for a seasoned bioinformatics researcher, but might be fairly unhelpful or even misleading to a non-specialized audience. It is a good idea to come up with a synopsis that gives an idea of the application domain of the package. In this example, this might give something like ``Manipulate nucleotide sequence alignments'', which hopefully gives the user a better idea of whether this is what they are looking for."
  1029. msgstr "Lembre-se de que a sinopse deve ser significativa para um público muito amplo. Por exemplo, ``Manipulate alignments in the SAM format'' pode fazer sentido para um pesquisador experiente em bioinformática, mas pode ser bastante inútil ou até enganoso para um público não especializado. É uma boa ideia apresentar uma sinopse que dê uma ideia do domínio do aplicativo do pacote. Neste exemplo, isso pode fornecer algo como ``Manipulate nucleotide sequence alignments'', o que, esperançosamente, dá ao usuário uma melhor ideia de se é isso que eles estão procurando."
  1030. #. type: Plain text
  1031. #: guix-git/doc/contributing.texi:671
  1032. msgid "Descriptions should take between five and ten lines. Use full sentences, and avoid using acronyms without first introducing them. Please avoid marketing phrases such as ``world-leading'', ``industrial-strength'', and ``next-generation'', and avoid superlatives like ``the most advanced''---they are not helpful to users looking for a package and may even sound suspicious. Instead, try to be factual, mentioning use cases and features."
  1033. msgstr "Descrições devem levar entre cinco e dez linhas. Use sentenças completas e evite usar acrônimos sem primeiro apresentá-los. Por favor, evite frases de marketing como ``inovação mundial'', ``força industrial'' e ``próxima geração'', e evite superlativos como ``a mais avançada'' -- eles não ajudam o usuário procurando por um pacote e podem atém parece suspeito. Em vez idsso, tente se ater aos fatos, mencionando casos de uso e recursos."
  1034. #. type: cindex
  1035. #: guix-git/doc/contributing.texi:672
  1036. #, no-wrap
  1037. msgid "Texinfo markup, in package descriptions"
  1038. msgstr "Marcação Texinfo, em descrições de pacote"
  1039. #. type: Plain text
  1040. #: guix-git/doc/contributing.texi:681
  1041. #, fuzzy
  1042. #| msgid "Descriptions can include Texinfo markup, which is useful to introduce ornaments such as @code{@@code} or @code{@@dfn}, bullet lists, or hyperlinks (@pxref{Overview,,, texinfo, GNU Texinfo}). However you should be careful when using some characters for example @samp{@@} and curly braces which are the basic special characters in Texinfo (@pxref{Special Characters,,, texinfo, GNU Texinfo}). User interfaces such as @command{guix package --show} take care of rendering it appropriately."
  1043. msgid "Descriptions can include Texinfo markup, which is useful to introduce ornaments such as @code{@@code} or @code{@@dfn}, bullet lists, or hyperlinks (@pxref{Overview,,, texinfo, GNU Texinfo}). However you should be careful when using some characters for example @samp{@@} and curly braces which are the basic special characters in Texinfo (@pxref{Special Characters,,, texinfo, GNU Texinfo}). User interfaces such as @command{guix show} take care of rendering it appropriately."
  1044. msgstr "Descrições podem incluir marcação Texinfo, a qual é útil para apresentar adornos como @code{@@code} ou @code{@@dfn}, listas não numeradas ou hiperlinks (@pxref{Overview,,, texinfo, GNU Texinfo}). Porém, você deve ter cuidado ao usar alguns caracteres, por exemplo @samp{@@} e chaves, que são caracteres especiais básicos no Texinfo (@pxref{Special Characters,,, texinfo, GNU Texinfo}). Interfaces de usuário, como @command{guix package --show}, cuidam de renderizá-las adequadamente."
  1045. #. type: Plain text
  1046. #: guix-git/doc/contributing.texi:687
  1047. msgid "Synopses and descriptions are translated by volunteers @uref{https://translate.fedoraproject.org/projects/guix/packages, at Weblate} so that as many users as possible can read them in their native language. User interfaces search them and display them in the language specified by the current locale."
  1048. msgstr ""
  1049. #. type: Plain text
  1050. #: guix-git/doc/contributing.texi:692
  1051. msgid "To allow @command{xgettext} to extract them as translatable strings, synopses and descriptions @emph{must be literal strings}. This means that you cannot use @code{string-append} or @code{format} to construct these strings:"
  1052. msgstr "Para permitir que @command{xgettext} extrai-as com strings traduzíveis, as sinopses e descrições @emph{devem ser strings literais}. Isso significa que você não pode usar @code{string-append} ou @code{format} para construir essas strings:"
  1053. #. type: lisp
  1054. #: guix-git/doc/contributing.texi:698
  1055. #, no-wrap
  1056. msgid ""
  1057. "(package\n"
  1058. " ;; @dots{}\n"
  1059. " (synopsis \"This is translatable\")\n"
  1060. " (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n"
  1061. msgstr ""
  1062. "(package\n"
  1063. " ;; @dots{}\n"
  1064. " (synopsis \"Isso é traduzível\")\n"
  1065. " (description (string-append \"Isso \" \"*não*\" \" é traduzível.\")))\n"
  1066. #. type: Plain text
  1067. #: guix-git/doc/contributing.texi:706
  1068. msgid "Translation is a lot of work so, as a packager, please pay even more attention to your synopses and descriptions as every change may entail additional work for translators. In order to help them, it is possible to make recommendations or instructions visible to them by inserting special comments like this (@pxref{xgettext Invocation,,, gettext, GNU Gettext}):"
  1069. msgstr "Tradução é muito trabalhoso, então, como empacotador, por favor, tenha ainda mais atenção às suas sinopses e descrições, pois cada alteração pode implicar em trabalho adicional para tradutores. Para ajudá-loas, é possível tornar recomendações ou instruções visíveis inserindo comentários especiais como esse (@pxref{xgettext Invocation,,, gettext, GNU Gettext}):"
  1070. #. type: lisp
  1071. #: guix-git/doc/contributing.texi:711
  1072. #, no-wrap
  1073. msgid ""
  1074. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  1075. "(description \"ARandR is designed to provide a simple visual front end\n"
  1076. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  1077. msgstr ""
  1078. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  1079. "(description \"ARandR is designed to provide a simple visual front end\n"
  1080. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  1081. #. type: cindex
  1082. #: guix-git/doc/contributing.texi:716
  1083. #, no-wrap
  1084. msgid "snippets, when to use"
  1085. msgstr ""
  1086. #. type: Plain text
  1087. #: guix-git/doc/contributing.texi:727
  1088. msgid "The boundary between using an origin snippet versus a build phase to modify the sources of a package can be elusive. Origin snippets are typically used to remove unwanted files such as bundled libraries, nonfree sources, or to apply simple substitutions. The source derived from an origin should produce a source that can be used to build the package on any system that the upstream package supports (i.e., act as the corresponding source). In particular, origin snippets must not embed store items in the sources; such patching should rather be done using build phases. Refer to the @code{origin} record documentation for more information (@pxref{origin Reference})."
  1089. msgstr ""
  1090. #. type: cindex
  1091. #: guix-git/doc/contributing.texi:731
  1092. #, no-wrap
  1093. msgid "emacs, packaging"
  1094. msgstr ""
  1095. #. type: cindex
  1096. #: guix-git/doc/contributing.texi:732
  1097. #, no-wrap
  1098. msgid "elisp, packaging"
  1099. msgstr ""
  1100. #. type: Plain text
  1101. #: guix-git/doc/contributing.texi:744
  1102. msgid "Emacs packages should preferably use the Emacs build system (@pxref{emacs-build-system}), for uniformity and the benefits provided by its build phases, such as the auto-generation of the autoloads file and the byte compilation of the sources. Because there is no standardized way to run a test suite for Emacs packages, tests are disabled by default. When a test suite is available, it should be enabled by setting the @code{#:tests?} argument to @code{#true}. By default, the command to run the test is @command{make check}, but any command can be specified via the @code{#:test-command} argument. The @code{#:test-command} argument expects a list containing a command and its arguments, to be invoked during the @code{check} phase."
  1103. msgstr ""
  1104. #. type: Plain text
  1105. #: guix-git/doc/contributing.texi:749
  1106. msgid "The Elisp dependencies of Emacs packages are typically provided as @code{propagated-inputs} when required at run time. As for other packages, build or test dependencies should be specified as @code{native-inputs}."
  1107. msgstr ""
  1108. #. type: Plain text
  1109. #: guix-git/doc/contributing.texi:758
  1110. msgid "Emacs packages sometimes depend on resources directories that should be installed along the Elisp files. The @code{#:include} argument can be used for that purpose, by specifying a list of regexps to match. The best practice when using the @code{#:include} argument is to extend rather than override its default value (accessible via the @code{%default-include} variable). As an example, a yasnippet extension package typically include a @file{snippets} directory, which could be copied to the installation directory using:"
  1111. msgstr ""
  1112. #. type: lisp
  1113. #: guix-git/doc/contributing.texi:761
  1114. #, no-wrap
  1115. msgid "#:include (cons \"^snippets/\" %default-include)\n"
  1116. msgstr ""
  1117. #. type: Plain text
  1118. #: guix-git/doc/contributing.texi:767
  1119. msgid "When encountering problems, it is wise to check for the presence of the @code{Package-Requires} extension header in the package main source file, and whether any dependencies and their versions listed therein are satisfied."
  1120. msgstr ""
  1121. #. type: cindex
  1122. #: guix-git/doc/contributing.texi:771
  1123. #, no-wrap
  1124. msgid "python"
  1125. msgstr "python"
  1126. #. type: Plain text
  1127. #: guix-git/doc/contributing.texi:777
  1128. msgid "We currently package Python 2 and Python 3, under the Scheme variable names @code{python-2} and @code{python} as explained in @ref{Version Numbers}. To avoid confusion and naming clashes with other programming languages, it seems desirable that the name of a package for a Python module contains the word @code{python}."
  1129. msgstr "Atualmente empacotamos Python 2 e Python 3, sob os nomes de variável Scheme @code{python-2} e @code{python} conforme explicado em @ref{Números de versão}. Para evitar confusão e conflitos de nomes com outras linguagens de programação, parece desejável que o nome de um pacote para um módulo Python contenha a palavra @code{python}."
  1130. #. type: Plain text
  1131. #: guix-git/doc/contributing.texi:783
  1132. msgid "Some modules are compatible with only one version of Python, others with both. If the package Foo is compiled with Python 3, we name it @code{python-foo}. If it is compiled with Python 2, we name it @code{python2-foo}. Python 2 packages are being removed from the distribution; please do no not submit any new Python 2 packages."
  1133. msgstr ""
  1134. #. type: Plain text
  1135. #: guix-git/doc/contributing.texi:789
  1136. msgid "If a project already contains the word @code{python}, we drop this; for instance, the module python-dateutil is packaged under the names @code{python-dateutil} and @code{python2-dateutil}. If the project name starts with @code{py} (e.g.@: @code{pytz}), we keep it and prefix it as described above."
  1137. msgstr "Se um projeto já contém a palavra @code{python}, nós a descartamos; por exemplo, o módulo python-dateutil é empacotado sob os nomes @code{python-dateutil} e @code{python2-dateutil}. Se o nome do projeto começa com @code{py} (p.ex., @code{pytz}), nós o mantemos e o prefixamos conforme descrito acima."
  1138. #. type: quotation
  1139. #: guix-git/doc/contributing.texi:803
  1140. msgid "Currently there are two different build systems for Python packages in Guix: @var{python-build-system} and @var{pyproject-build-system}. For the longest time, Python packages were built from an informally specified @file{setup.py} file. That worked amazingly well, considering Python's success, but was difficult to build tooling around. As a result, a host of alternative build systems emerged and the community eventually settled on a @url{https://peps.python.org/pep-0517/, formal standard} for specifying build requirements. @var{pyproject-build-system} is Guix's implementation of this standard. It is considered ``experimental'' in that it does not yet support all the various PEP-517 @emph{build backends}, but you are encouraged to try it for new Python packages and report any problems. It will eventually be deprecated and merged into @var{python-build-system}."
  1141. msgstr ""
  1142. #. type: subsubsection
  1143. #: guix-git/doc/contributing.texi:805
  1144. #, no-wrap
  1145. msgid "Specifying Dependencies"
  1146. msgstr "Especificando dependências"
  1147. #. type: cindex
  1148. #: guix-git/doc/contributing.texi:806
  1149. #, no-wrap
  1150. msgid "inputs, for Python packages"
  1151. msgstr "entradas, para pacotes Python"
  1152. #. type: Plain text
  1153. #: guix-git/doc/contributing.texi:813
  1154. #, fuzzy
  1155. #| msgid "Dependency information for Python packages is usually available in the package source tree, with varying degrees of accuracy: in the @file{setup.py} file, in @file{requirements.txt}, or in @file{tox.ini}."
  1156. msgid "Dependency information for Python packages is usually available in the package source tree, with varying degrees of accuracy: in the @file{pyproject.toml} file, the @file{setup.py} file, in @file{requirements.txt}, or in @file{tox.ini} (the latter mostly for test dependencies)."
  1157. msgstr "Informações de dependências para pacotes Python estão geralmente disponíveis na árvore de fonte do pacote, com vários graus de precisão: no arquivo @file{setup.py}, no @file{requirements.txt} ou no @file{tox.ini}."
  1158. #. type: Plain text
  1159. #: guix-git/doc/contributing.texi:819
  1160. msgid "Your mission, when writing a recipe for a Python package, is to map these dependencies to the appropriate type of ``input'' (@pxref{package Reference, inputs}). Although the @code{pypi} importer normally does a good job (@pxref{Invoking guix import}), you may want to check the following check list to determine which dependency goes where."
  1161. msgstr "Sua missão, ao escrever uma receita para um pacote Python, é mapear essas dependências para o tipo apropriado de ``entrada'' (@pxref{Referência do package, inputs}). Apesar do importador do @code{pypi} normalmente fazer um bom trabalho (@pxref{Invocando guix import}), você pode se interessar em verificar a lista de verificação a seguir para determinar qual dependência vai onde."
  1162. #. type: itemize
  1163. #: guix-git/doc/contributing.texi:826
  1164. #, fuzzy
  1165. #| msgid "We currently package Python 2 with @code{setuptools} and @code{pip} installed like Python 3.4 has per default. Thus you don't need to specify either of these as an input. @command{guix lint} will warn you if you do."
  1166. msgid "We currently package Python with @code{setuptools} and @code{pip} installed per default. This is about to change, and users are encouraged to use @code{python-toolchain} if they want a build environment for Python."
  1167. msgstr "Atualmente empacotamos Python 2 com @code{setuptools} e @code{pip} instalado como Python 3.4 tem por padrão. Então, você não precisa especificar nenhum deles como entrada. @command{guix lint} vai avisar você se precisar."
  1168. #. type: itemize
  1169. #: guix-git/doc/contributing.texi:829
  1170. msgid "@command{guix lint} will warn if @code{setuptools} or @code{pip} are added as native-inputs because they are generally not necessary."
  1171. msgstr ""
  1172. #. type: itemize
  1173. #: guix-git/doc/contributing.texi:835
  1174. msgid "Python dependencies required at run time go into @code{propagated-inputs}. They are typically defined with the @code{install_requires} keyword in @file{setup.py}, or in the @file{requirements.txt} file."
  1175. msgstr "Dependências de Python necessárias em tempo de execução vão em @code{propagated-inputs}. Elas geralmente são definidas com a palavra-chave @code{install_requires} em @file{setup.py} ou no arquivo @file{requirements.txt}."
  1176. #. type: itemize
  1177. #: guix-git/doc/contributing.texi:844
  1178. #, fuzzy
  1179. #| msgid "Python packages required only at build time---e.g., those listed with the @code{setup_requires} keyword in @file{setup.py}---or only for testing---e.g., those in @code{tests_require}---go into @code{native-inputs}. The rationale is that (1) they do not need to be propagated because they are not needed at run time, and (2) in a cross-compilation context, it's the ``native'' input that we'd want."
  1180. msgid "Python packages required only at build time---e.g., those listed under @code{build-system.requires} in @file{pyproject.toml} or with the @code{setup_requires} keyword in @file{setup.py}---or dependencies only for testing---e.g., those in @code{tests_require} or @file{tox.ini}---go into @code{native-inputs}. The rationale is that (1) they do not need to be propagated because they are not needed at run time, and (2) in a cross-compilation context, it's the ``native'' input that we'd want."
  1181. msgstr "Pacotes Python necessários apenas em tempo de compilação -- p.ex., aqueles listados com a palavra-chave @code{setup_requires} em @file{setup.py} -- ou apenas para teste -- p.ex., aqueles em @code{tests_require} -- vão em @code{native-inputs}. O motivo é que (1) eles não precisam ser propagados porque não são necessários em tempo de execução e (2) em um contexto de compilação cruzada, é a entrada ``nativa'' que nós queremos."
  1182. #. type: itemize
  1183. #: guix-git/doc/contributing.texi:848
  1184. msgid "Examples are the @code{pytest}, @code{mock}, and @code{nose} test frameworks. Of course if any of these packages is also required at run-time, it needs to go to @code{propagated-inputs}."
  1185. msgstr "Exemplos são os frameworks de teste @code{pytest}, @code{mock} e @code{nose}. É claro, se qualquer um desses pacotes também for necessário em tempo de compilação, ele precisa ir para @code{propagated-inputs}."
  1186. #. type: itemize
  1187. #: guix-git/doc/contributing.texi:853
  1188. msgid "Anything that does not fall in the previous categories goes to @code{inputs}, for example programs or C libraries required for building Python packages containing C extensions."
  1189. msgstr "Qualquer coisa que não encaixar nas categorias anteriores vai para @code{inputs}. Por exemplo, programas ou bibliotecas C necessárias para compilar pacotes Python contendo extensões C."
  1190. #. type: itemize
  1191. #: guix-git/doc/contributing.texi:859
  1192. msgid "If a Python package has optional dependencies (@code{extras_require}), it is up to you to decide whether to add them or not, based on their usefulness/overhead ratio (@pxref{Submitting Patches, @command{guix size}})."
  1193. msgstr "Se um pacote Python tem dependências opcionais (@code{extras_require}), fica a seu critério adicioná-las ou não, com base na sua proporção de utilidade/sobrecarga (@pxref{Enviando patches, @command{guix size}})."
  1194. #. type: cindex
  1195. #: guix-git/doc/contributing.texi:866
  1196. #, no-wrap
  1197. msgid "perl"
  1198. msgstr "perl"
  1199. #. type: Plain text
  1200. #: guix-git/doc/contributing.texi:877
  1201. msgid "Perl programs standing for themselves are named as any other package, using the lowercase upstream name. For Perl packages containing a single class, we use the lowercase class name, replace all occurrences of @code{::} by dashes and prepend the prefix @code{perl-}. So the class @code{XML::Parser} becomes @code{perl-xml-parser}. Modules containing several classes keep their lowercase upstream name and are also prepended by @code{perl-}. Such modules tend to have the word @code{perl} somewhere in their name, which gets dropped in favor of the prefix. For instance, @code{libwww-perl} becomes @code{perl-libwww}."
  1202. msgstr "Os programas Perl próprios são nomeados como qualquer outro pacote, usando o nome upstream em letras minúsculas. Para pacotes Perl que contêm uma única classe, usamos o nome da classe em letras minúsculas, substituímos todas as ocorrências de @code{::} por traços e precede o prefixo @code{perl-}. Portanto, a classe @code{XML::Parser} se torna @code{perl-xml-parser}. Módulos contendo várias classes mantêm seu nome upstream em minúsculas e também são precedidos por @code{perl-}. Esses módulos tendem a ter a palavra @code{perl} em algum lugar do nome, que é descartada em favor do prefixo. Por exemplo, @code{libwww-perl} se torna @code{perl-libwww}."
  1203. #. type: cindex
  1204. #: guix-git/doc/contributing.texi:882
  1205. #, no-wrap
  1206. msgid "java"
  1207. msgstr "java"
  1208. #. type: Plain text
  1209. #: guix-git/doc/contributing.texi:885
  1210. msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name."
  1211. msgstr "Os programas Java próprios são nomeados como qualquer outro pacote, usando o nome do upstream em letras minúsculas."
  1212. #. type: Plain text
  1213. #: guix-git/doc/contributing.texi:891
  1214. msgid "To avoid confusion and naming clashes with other programming languages, it is desirable that the name of a package for a Java package is prefixed with @code{java-}. If a project already contains the word @code{java}, we drop this; for instance, the package @code{ngsjava} is packaged under the name @code{java-ngs}."
  1215. msgstr "Para evitar confusão e conflitos de nomes com outras linguagens de programação, é desejável que o nome de um pacote para um pacote Java seja prefixado com @code{java-}. Se um projeto já contém a palavra @code{java}, descartamos isso; por exemplo, o pacote @code{ngsjava} é empacotado com o nome @code{java-ngs}."
  1216. #. type: Plain text
  1217. #: guix-git/doc/contributing.texi:897
  1218. msgid "For Java packages containing a single class or a small class hierarchy, we use the lowercase class name, replace all occurrences of @code{.} by dashes and prepend the prefix @code{java-}. So the class @code{apache.commons.cli} becomes package @code{java-apache-commons-cli}."
  1219. msgstr "Para pacotes Java que contêm uma única classe ou uma pequena hierarquia de classes, usamos o nome da classe em letras minúsculas, substitua todas as ocorrências de @code{.} por traços e acrescente o prefixo @code{java-}. Assim, a classe @code{apache.commons.cli} se torna o pacote @code{java-apache-commons-cli}."
  1220. #. type: cindex
  1221. #: guix-git/doc/contributing.texi:902
  1222. #, no-wrap
  1223. msgid "rust"
  1224. msgstr ""
  1225. #. type: Plain text
  1226. #: guix-git/doc/contributing.texi:905
  1227. msgid "Rust programs standing for themselves are named as any other package, using the lowercase upstream name."
  1228. msgstr ""
  1229. #. type: Plain text
  1230. #: guix-git/doc/contributing.texi:909
  1231. msgid "To prevent namespace collisions we prefix all other Rust packages with the @code{rust-} prefix. The name should be changed to lowercase as appropriate and dashes should remain in place."
  1232. msgstr ""
  1233. #. type: Plain text
  1234. #: guix-git/doc/contributing.texi:915
  1235. msgid "In the rust ecosystem it is common for multiple incompatible versions of a package to be used at any given time, so all package definitions should have a versioned suffix. The versioned suffix is the left-most non-zero digit (and any leading zeros, of course). This follows the ``caret'' version scheme intended by Cargo. Examples@: @code{rust-clap-2}, @code{rust-rand-0.6}."
  1236. msgstr ""
  1237. #. type: Plain text
  1238. #: guix-git/doc/contributing.texi:925
  1239. msgid "Because of the difficulty in reusing rust packages as pre-compiled inputs for other packages the Cargo build system (@pxref{Build Systems, @code{cargo-build-system}}) presents the @code{#:cargo-inputs} and @code{cargo-development-inputs} keywords as build system arguments. It would be helpful to think of these as similar to @code{propagated-inputs} and @code{native-inputs}. Rust @code{dependencies} and @code{build-dependencies} should go in @code{#:cargo-inputs}, and @code{dev-dependencies} should go in @code{#:cargo-development-inputs}. If a Rust package links to other libraries then the standard placement in @code{inputs} and the like should be used."
  1240. msgstr ""
  1241. #. type: Plain text
  1242. #: guix-git/doc/contributing.texi:931
  1243. msgid "Care should be taken to ensure the correct version of dependencies are used; to this end we try to refrain from skipping the tests or using @code{#:skip-build?} when possible. Of course this is not always possible, as the package may be developed for a different Operating System, depend on features from the Nightly Rust compiler, or the test suite may have atrophied since it was released."
  1244. msgstr ""
  1245. #. type: cindex
  1246. #: guix-git/doc/contributing.texi:936
  1247. #, no-wrap
  1248. msgid "Elm"
  1249. msgstr ""
  1250. #. type: Plain text
  1251. #: guix-git/doc/contributing.texi:939
  1252. msgid "Elm applications can be named like other software: their names need not mention Elm."
  1253. msgstr ""
  1254. #. type: Plain text
  1255. #: guix-git/doc/contributing.texi:945
  1256. msgid "Packages in the Elm sense (see @code{elm-build-system} under @ref{Build Systems}) are required use names of the format @var{author}@code{/}@var{project}, where both the @var{author} and the @var{project} may contain hyphens internally, and the @var{author} sometimes contains uppercase letters."
  1257. msgstr ""
  1258. #. type: Plain text
  1259. #: guix-git/doc/contributing.texi:949
  1260. msgid "To form the Guix package name from the upstream name, we follow a convention similar to Python packages (@pxref{Python Modules}), adding an @code{elm-} prefix unless the name would already begin with @code{elm-}."
  1261. msgstr ""
  1262. #. type: Plain text
  1263. #: guix-git/doc/contributing.texi:956
  1264. msgid "In many cases we can reconstruct an Elm package's upstream name heuristically, but, since conversion to a Guix-style name involves a loss of information, this is not always possible. Care should be taken to add the @code{'upstream-name} property when necessary so that @samp{guix import elm} will work correctly (@pxref{Invoking guix import}). The most notable scenarios when explicitly specifying the upstream name is necessary are:"
  1265. msgstr ""
  1266. #. type: enumerate
  1267. #: guix-git/doc/contributing.texi:961
  1268. msgid "When the @var{author} is @code{elm} and the @var{project} contains one or more hyphens, as with @code{elm/virtual-dom}; and"
  1269. msgstr ""
  1270. #. type: enumerate
  1271. #: guix-git/doc/contributing.texi:968
  1272. msgid "When the @var{author} contains hyphens or uppercase letters, as with @code{Elm-Canvas/raster-shapes}---unless the @var{author} is @code{elm-explorations}, which is handled as a special case, so packages like @code{elm-explorations/markdown} do @emph{not} need to use the @code{'upstream-name} property."
  1273. msgstr ""
  1274. #. type: Plain text
  1275. #: guix-git/doc/contributing.texi:972
  1276. msgid "The module @code{(guix build-system elm)} provides the following utilities for working with names and related conventions:"
  1277. msgstr ""
  1278. #. type: deffn
  1279. #: guix-git/doc/contributing.texi:973
  1280. #, no-wrap
  1281. msgid "{Scheme procedure} elm-package-origin @var{elm-name} @var{version} @"
  1282. msgstr ""
  1283. #. type: deffn
  1284. #: guix-git/doc/contributing.texi:978
  1285. msgid "@var{hash} Returns a Git origin using the repository naming and tagging regime required for a published Elm package with the upstream name @var{elm-name} at version @var{version} with sha256 checksum @var{hash}."
  1286. msgstr ""
  1287. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  1288. #. type: deffn
  1289. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  1290. #. type: defun
  1291. #: guix-git/doc/contributing.texi:980 guix-git/doc/guix.texi:35183
  1292. #: guix-git/doc/guix.texi:38812
  1293. msgid "For example:"
  1294. msgstr ""
  1295. #. type: lisp
  1296. #: guix-git/doc/contributing.texi:990
  1297. #, no-wrap
  1298. msgid ""
  1299. "(package\n"
  1300. " (name \"elm-html\")\n"
  1301. " (version \"1.0.0\")\n"
  1302. " (source\n"
  1303. " (elm-package-origin\n"
  1304. " \"elm/html\"\n"
  1305. " version\n"
  1306. " (base32 \"15k1679ja57vvlpinpv06znmrxy09lbhzfkzdc89i01qa8c4gb4a\")))\n"
  1307. " ...)\n"
  1308. msgstr ""
  1309. #. type: deffn
  1310. #: guix-git/doc/contributing.texi:993
  1311. #, no-wrap
  1312. msgid "{Scheme procedure} elm->package-name @var{elm-name}"
  1313. msgstr ""
  1314. #. type: deffn
  1315. #: guix-git/doc/contributing.texi:996
  1316. msgid "Returns the Guix-style package name for an Elm package with upstream name @var{elm-name}."
  1317. msgstr ""
  1318. #. type: deffn
  1319. #: guix-git/doc/contributing.texi:999
  1320. msgid "Note that there is more than one possible @var{elm-name} for which @code{elm->package-name} will produce a given result."
  1321. msgstr ""
  1322. #. type: deffn
  1323. #: guix-git/doc/contributing.texi:1001
  1324. #, no-wrap
  1325. msgid "{Scheme procedure} guix-package->elm-name @var{package}"
  1326. msgstr ""
  1327. #. type: deffn
  1328. #: guix-git/doc/contributing.texi:1005
  1329. msgid "Given an Elm @var{package}, returns the possibly-inferred upstream name, or @code{#f} the upstream name is not specified via the @code{'upstream-name} property and can not be inferred by @code{infer-elm-package-name}."
  1330. msgstr ""
  1331. #. type: deffn
  1332. #: guix-git/doc/contributing.texi:1007
  1333. #, no-wrap
  1334. msgid "{Scheme procedure} infer-elm-package-name @var{guix-name}"
  1335. msgstr ""
  1336. #. type: deffn
  1337. #: guix-git/doc/contributing.texi:1012
  1338. msgid "Given the @var{guix-name} of an Elm package, returns the inferred upstream name, or @code{#f} if the upstream name can't be inferred. If the result is not @code{#f}, supplying it to @code{elm->package-name} would produce @var{guix-name}."
  1339. msgstr ""
  1340. #. type: cindex
  1341. #: guix-git/doc/contributing.texi:1017 guix-git/doc/guix.texi:2083
  1342. #, no-wrap
  1343. msgid "fonts"
  1344. msgstr "fontes"
  1345. #. type: Plain text
  1346. #: guix-git/doc/contributing.texi:1023
  1347. msgid "For fonts that are in general not installed by a user for typesetting purposes, or that are distributed as part of a larger software package, we rely on the general packaging rules for software; for instance, this applies to the fonts delivered as part of the X.Org system or fonts that are part of TeX Live."
  1348. msgstr "Para fontes que geralmente não são instaladas por um usuário para fins de digitação ou que são distribuídas como parte de um pacote de software maior, contamos com as regras gerais de empacotamento de software; por exemplo, isso se aplica às fontes entregues como parte do sistema X.Org ou às fontes que fazem parte do TeX Live."
  1349. #. type: Plain text
  1350. #: guix-git/doc/contributing.texi:1027
  1351. msgid "To make it easier for a user to search for fonts, names for other packages containing only fonts are constructed as follows, independently of the upstream package name."
  1352. msgstr "Para facilitar a busca de fontes por um usuário, os nomes de outros pacotes contendo apenas fontes são compilados da seguinte maneira, independentemente do nome do pacote upstream."
  1353. #. type: Plain text
  1354. #: guix-git/doc/contributing.texi:1035
  1355. msgid "The name of a package containing only one font family starts with @code{font-}; it is followed by the foundry name and a dash @code{-} if the foundry is known, and the font family name, in which spaces are replaced by dashes (and as usual, all upper case letters are transformed to lower case). For example, the Gentium font family by SIL is packaged under the name @code{font-sil-gentium}."
  1356. msgstr "O nome de um pacote que contém apenas uma família de fontes começa com @code{font-}; é seguido pelo nome da fundição e um traço @code{-} se a fundição for conhecida e o nome da família da fonte, em que os espaços são substituídos por hífenes (e, como sempre, todas as letras maiúsculas são transformadas em minúsculas). Por exemplo, a família de fontes Gentium da SIL é empacotada com o nome @code{font-sil-gentium}."
  1357. #. type: Plain text
  1358. #: guix-git/doc/contributing.texi:1044
  1359. msgid "For a package containing several font families, the name of the collection is used in the place of the font family name. For instance, the Liberation fonts consist of three families, Liberation Sans, Liberation Serif and Liberation Mono. These could be packaged separately under the names @code{font-liberation-sans} and so on; but as they are distributed together under a common name, we prefer to package them together as @code{font-liberation}."
  1360. msgstr "Para um pacote que contém várias famílias de fontes, o nome da coleção é usado no lugar do nome da família de fontes. Por exemplo, as fontes Liberation consistem em três famílias, Liberation Sans, Liberation Serif e Liberation Mono. Eles podem ser empacotados separadamente com os nomes @code{font-liberation-sans} e assim por diante; mas como eles são distribuídos juntos com um nome comum, preferimos agrupá-los como @code{font-liberation}."
  1361. #. type: Plain text
  1362. #: guix-git/doc/contributing.texi:1050
  1363. msgid "In the case where several formats of the same font family or font collection are packaged separately, a short form of the format, prepended by a dash, is added to the package name. We use @code{-ttf} for TrueType fonts, @code{-otf} for OpenType fonts and @code{-type1} for PostScript Type 1 fonts."
  1364. msgstr "No caso de vários formatos da mesma família ou coleção de fontes serem empacotados separadamente, um formato abreviado do formato, precedido por um traço, é adicionado ao nome do pacote. Usamos @code{-ttf} para fontes TrueType, @code{-otf} para fontes OpenType e @code{-type1} para fontes PostScript Type 1."
  1365. #. type: Plain text
  1366. #: guix-git/doc/contributing.texi:1058
  1367. msgid "In general our code follows the GNU Coding Standards (@pxref{Top,,, standards, GNU Coding Standards}). However, they do not say much about Scheme, so here are some additional rules."
  1368. msgstr "Em geral, nosso código segue os Padrões de Codificação GNU (@pxref{Top ,,, standards, GNU Coding Standards}). No entanto, eles não dizem muito sobre Scheme, então aqui estão algumas regras adicionais."
  1369. #. type: subsection
  1370. #: guix-git/doc/contributing.texi:1064 guix-git/doc/contributing.texi:1066
  1371. #: guix-git/doc/contributing.texi:1067
  1372. #, no-wrap
  1373. msgid "Programming Paradigm"
  1374. msgstr "Paradigma de programação"
  1375. #. type: menuentry
  1376. #: guix-git/doc/contributing.texi:1064
  1377. msgid "How to compose your elements."
  1378. msgstr "Como compor seus elementos."
  1379. #. type: subsection
  1380. #: guix-git/doc/contributing.texi:1064 guix-git/doc/contributing.texi:1073
  1381. #: guix-git/doc/contributing.texi:1074
  1382. #, no-wrap
  1383. msgid "Modules"
  1384. msgstr "Módulos"
  1385. #. type: menuentry
  1386. #: guix-git/doc/contributing.texi:1064
  1387. msgid "Where to store your code?"
  1388. msgstr "Onde armazenar seu código?"
  1389. #. type: subsection
  1390. #: guix-git/doc/contributing.texi:1064 guix-git/doc/contributing.texi:1084
  1391. #: guix-git/doc/contributing.texi:1085
  1392. #, no-wrap
  1393. msgid "Data Types and Pattern Matching"
  1394. msgstr "Tipos de dados e correspondência de padrão"
  1395. #. type: menuentry
  1396. #: guix-git/doc/contributing.texi:1064
  1397. msgid "Implementing data structures."
  1398. msgstr "Implementação de estruturas de dados."
  1399. #. type: subsection
  1400. #: guix-git/doc/contributing.texi:1064 guix-git/doc/contributing.texi:1104
  1401. #: guix-git/doc/contributing.texi:1105
  1402. #, no-wrap
  1403. msgid "Formatting Code"
  1404. msgstr "Formatação de código"
  1405. #. type: menuentry
  1406. #: guix-git/doc/contributing.texi:1064
  1407. msgid "Writing conventions."
  1408. msgstr "Convenções de escrita."
  1409. #. type: Plain text
  1410. #: guix-git/doc/contributing.texi:1072
  1411. msgid "Scheme code in Guix is written in a purely functional style. One exception is code that involves input/output, and procedures that implement low-level concepts, such as the @code{memoize} procedure."
  1412. msgstr "O código Scheme no Guix é escrito em um estilo puramente funcional. Uma exceção é o código que envolve entrada/saída e procedimentos que implementam conceitos de baixo nível, como o procedimento @code{memoize}."
  1413. #. type: Plain text
  1414. #: guix-git/doc/contributing.texi:1080
  1415. msgid "Guile modules that are meant to be used on the builder side must live in the @code{(guix build @dots{})} name space. They must not refer to other Guix or GNU modules. However, it is OK for a ``host-side'' module to use a build-side module."
  1416. msgstr "Os módulos de Guile que devem ser usados no lado do compilador devem residir no espaço de nomes @code{(guix build @dots{})}. Eles não devem fazer referência a outros módulos Guix ou GNU. No entanto, é aceitável que um módulo no lado do ``hospedeiro'' use um módulo do lado do compilador."
  1417. #. type: Plain text
  1418. #: guix-git/doc/contributing.texi:1083
  1419. msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}."
  1420. msgstr "Módulos que lidam com o sistema GNU mais amplo devem estar no espaço de nome @code{(gnu @dots{})} em vez de @code{(guix @dots{})}."
  1421. #. type: Plain text
  1422. #: guix-git/doc/contributing.texi:1092
  1423. msgid "The tendency in classical Lisp is to use lists to represent everything, and then to browse them ``by hand'' using @code{car}, @code{cdr}, @code{cadr}, and co. There are several problems with that style, notably the fact that it is hard to read, error-prone, and a hindrance to proper type error reports."
  1424. msgstr "A tendência no Lisp clássico é usar listas para representar tudo e, em seguida, pesquisá-las ``à mão'' usando @code{car}, @code{cdr}, @code{cadr} e co. Existem vários problemas com esse estilo, notadamente o fato de que é difícil de ler, propenso a erros e um obstáculo para os relatórios de erros de tipos adequados."
  1425. #. type: findex
  1426. #: guix-git/doc/contributing.texi:1093
  1427. #, no-wrap
  1428. msgid "define-record-type*"
  1429. msgstr ""
  1430. #. type: findex
  1431. #: guix-git/doc/contributing.texi:1094
  1432. #, no-wrap
  1433. msgid "match-record"
  1434. msgstr ""
  1435. #. type: cindex
  1436. #: guix-git/doc/contributing.texi:1095
  1437. #, fuzzy, no-wrap
  1438. #| msgid "Data Types and Pattern Matching"
  1439. msgid "pattern matching"
  1440. msgstr "Tipos de dados e correspondência de padrão"
  1441. #. type: Plain text
  1442. #: guix-git/doc/contributing.texi:1103
  1443. msgid "Guix code should define appropriate data types (for instance, using @code{define-record-type*}) rather than abuse lists. In addition, it should use pattern matching, via Guile’s @code{(ice-9 match)} module, especially when matching lists (@pxref{Pattern Matching,,, guile, GNU Guile Reference Manual}); pattern matching for records is better done using @code{match-record} from @code{(guix records)}, which, unlike @code{match}, verifies field names at macro-expansion time."
  1444. msgstr ""
  1445. #. type: cindex
  1446. #: guix-git/doc/contributing.texi:1107
  1447. #, no-wrap
  1448. msgid "formatting code"
  1449. msgstr "formatação de código"
  1450. #. type: cindex
  1451. #: guix-git/doc/contributing.texi:1108
  1452. #, no-wrap
  1453. msgid "coding style"
  1454. msgstr "estilo de codificação"
  1455. #. type: Plain text
  1456. #: guix-git/doc/contributing.texi:1115
  1457. msgid "When writing Scheme code, we follow common wisdom among Scheme programmers. In general, we follow the @url{https://mumble.net/~campbell/scheme/style.txt, Riastradh's Lisp Style Rules}. This document happens to describe the conventions mostly used in Guile’s code too. It is very thoughtful and well written, so please do read it."
  1458. msgstr ""
  1459. #. type: Plain text
  1460. #: guix-git/doc/contributing.texi:1122
  1461. msgid "Some special forms introduced in Guix, such as the @code{substitute*} macro, have special indentation rules. These are defined in the @file{.dir-locals.el} file, which Emacs automatically uses. Also note that Emacs-Guix provides @code{guix-devel-mode} mode that indents and highlights Guix code properly (@pxref{Development,,, emacs-guix, The Emacs-Guix Reference Manual})."
  1462. msgstr "Alguns formulários especiais introduzidos no Guix, como a macro @code{substitute*}, possuem regras especiais de recuo. Estes são definidos no arquivo @file{.dir-locals.el}, que o Emacs usa automaticamente. Observe também que o Emacs-Guix fornece o modo @code{guix-devel-mode} que recua e destaca o código Guix corretamente (@pxref{Development ,,, emacs-guix, O manual de referência do Emacs-Guix})."
  1463. #. type: cindex
  1464. #: guix-git/doc/contributing.texi:1123
  1465. #, no-wrap
  1466. msgid "indentation, of code"
  1467. msgstr "recuo, de código"
  1468. #. type: cindex
  1469. #: guix-git/doc/contributing.texi:1124
  1470. #, no-wrap
  1471. msgid "formatting, of code"
  1472. msgstr "formatação, de código"
  1473. #. type: Plain text
  1474. #: guix-git/doc/contributing.texi:1127
  1475. msgid "If you do not use Emacs, please make sure to let your editor knows these rules. To automatically indent a package definition, you can also run:"
  1476. msgstr "Se você não usa o Emacs, por favor, certifique-se que o seu editor conhece estas regras. Para recuar automaticamente uma definição de pacote, você também pode executar:"
  1477. #. type: example
  1478. #: guix-git/doc/contributing.texi:1130
  1479. #, fuzzy, no-wrap
  1480. #| msgid "./pre-inst-env guix build gnew --keep-failed\n"
  1481. msgid "./pre-inst-env guix style @var{package}\n"
  1482. msgstr "./pre-inst-env guix build gnew --keep-failed\n"
  1483. #. type: Plain text
  1484. #: guix-git/doc/contributing.texi:1134
  1485. #, fuzzy
  1486. #| msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  1487. msgid "@xref{Invoking guix style}, for more information."
  1488. msgstr "@xref{Invocando guix pack}, para mais informações sobre essa ferramenta útil."
  1489. #. type: cindex
  1490. #: guix-git/doc/contributing.texi:1135
  1491. #, no-wrap
  1492. msgid "Vim, Scheme code editing"
  1493. msgstr "Vim, edição de código Scheme"
  1494. #. type: Plain text
  1495. #: guix-git/doc/contributing.texi:1141
  1496. msgid "If you are editing code with Vim, we recommend that you run @code{:set autoindent} so that your code is automatically indented as you type. Additionally, @uref{https://www.vim.org/scripts/script.php?script_id=3998, @code{paredit.vim}} may help you deal with all these parentheses."
  1497. msgstr "Se você estiver editando código com o Vim, recomendamos que execute @code{:set autoindent} para que seu código seja automaticamente recuado na medida em que você digita. Além disso, o @uref{https://www.vim.org/scripts/script.php?script_id=3998, @code{paredit.vim}} pode ajudá-lo a lidar com todos esses parênteses."
  1498. #. type: Plain text
  1499. #: guix-git/doc/contributing.texi:1145
  1500. msgid "We require all top-level procedures to carry a docstring. This requirement can be relaxed for simple private procedures in the @code{(guix build @dots{})} name space, though."
  1501. msgstr "Nós exigimos que todos os procedimentos de nível superior carreguem uma docstring. Porém, este requisito pode ser relaxado para procedimentos privados simples no espaço de nomes @code{(guix build @dots{})}."
  1502. #. type: Plain text
  1503. #: guix-git/doc/contributing.texi:1148
  1504. msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters."
  1505. msgstr "Os procedimentos não devem ter mais de quatro parâmetros posicionais. Use os parâmetros de palavra-chave para procedimentos que levam mais de quatro parâmetros."
  1506. #. type: Plain text
  1507. #: guix-git/doc/contributing.texi:1162
  1508. msgid "Development is done using the Git distributed version control system. Thus, access to the repository is not strictly necessary. We welcome contributions in the form of patches as produced by @code{git format-patch} sent to the @email{guix-patches@@gnu.org} mailing list (@pxref{Submitting patches to a project,,, git, Git User Manual}). Contributors are encouraged to take a moment to set some Git repository options (@pxref{Configuring Git}) first, which can improve the readability of patches. Seasoned Guix developers may also want to look at the section on commit access (@pxref{Commit Access})."
  1509. msgstr ""
  1510. #. type: Plain text
  1511. #: guix-git/doc/contributing.texi:1169
  1512. msgid "This mailing list is backed by a Debbugs instance, which allows us to keep track of submissions (@pxref{Tracking Bugs and Patches}). Each message sent to that mailing list gets a new tracking number assigned; people can then follow up on the submission by sending email to @code{@var{ISSUE_NUMBER}@@debbugs.gnu.org}, where @var{ISSUE_NUMBER} is the tracking number (@pxref{Sending a Patch Series})."
  1513. msgstr ""
  1514. #. type: Plain text
  1515. #: guix-git/doc/contributing.texi:1173
  1516. msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples."
  1517. msgstr "Por favor, escreva os logs de commit no formato de ChangeLog (@pxref{Change Logs ,,, standards, GNU Coding Standards}); você pode verificar o histórico de commit para exemplos."
  1518. #. type: Plain text
  1519. #: guix-git/doc/contributing.texi:1183
  1520. msgid "You can help make the review process more efficient, and increase the chance that your patch will be reviewed quickly, by describing the context of your patch and the impact you expect it to have. For example, if your patch is fixing something that is broken, describe the problem and how your patch fixes it. Tell us how you have tested your patch. Will users of the code changed by your patch have to adjust their workflow at all? If so, tell us how. In general, try to imagine what questions a reviewer will ask, and answer those questions in advance."
  1521. msgstr ""
  1522. #. type: Plain text
  1523. #: guix-git/doc/contributing.texi:1186
  1524. msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:"
  1525. msgstr "Antes de enviar um patch que adicione ou modifique uma definição de pacote, execute esta lista de verificação:"
  1526. #. type: enumerate
  1527. #: guix-git/doc/contributing.texi:1193
  1528. msgid "If the authors of the packaged software provide a cryptographic signature for the release tarball, make an effort to verify the authenticity of the archive. For a detached GPG signature file this would be done with the @code{gpg --verify} command."
  1529. msgstr "Se os autores do software empacotado fornecerem uma assinatura criptográfica para o tarball de lançamento, faça um esforço para verificar a autenticidade do arquivo. Para um arquivo de assinatura GPG separado, isso seria feito com o comando @code{gpg --verify}."
  1530. #. type: enumerate
  1531. #: guix-git/doc/contributing.texi:1197
  1532. msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines."
  1533. msgstr "Reserve algum tempo para fornecer uma sinopse e descrição adequadas para o pacote. @xref{Sinopses e descrições}, para algumas diretrizes."
  1534. #. type: enumerate
  1535. #: guix-git/doc/contributing.texi:1202
  1536. msgid "Run @code{guix lint @var{package}}, where @var{package} is the name of the new or modified package, and fix any errors it reports (@pxref{Invoking guix lint})."
  1537. msgstr "Execute @code{guix lint @var{pacote}}, sendo @var{pacote} o nome do pacote novo ou modificado e corrija quaisquer erros que forem relatados (@pxref{Invocando guix lint})."
  1538. #. type: enumerate
  1539. #: guix-git/doc/contributing.texi:1206
  1540. #, fuzzy
  1541. #| msgid "Run @code{guix lint @var{package}}, where @var{package} is the name of the new or modified package, and fix any errors it reports (@pxref{Invoking guix lint})."
  1542. msgid "Run @code{guix style @var{package}} to format the new package definition according to the project's conventions (@pxref{Invoking guix style})."
  1543. msgstr "Execute @code{guix lint @var{pacote}}, sendo @var{pacote} o nome do pacote novo ou modificado e corrija quaisquer erros que forem relatados (@pxref{Invocando guix lint})."
  1544. #. type: enumerate
  1545. #: guix-git/doc/contributing.texi:1210
  1546. msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}."
  1547. msgstr "Certifique-se de que o pacote compila em sua plataforma, usando @code{guix build @var{pacote}}."
  1548. #. type: enumerate
  1549. #: guix-git/doc/contributing.texi:1218
  1550. #, fuzzy
  1551. #| msgid "We recommend you also try building the package on other supported platforms. As you may not have access to actual hardware platforms, we recommend using the @code{qemu-binfmt-service-type} to emulate them. In order to enable it, add the following service to the list of services in your @code{operating-system} configuration:"
  1552. msgid "We recommend you also try building the package on other supported platforms. As you may not have access to actual hardware platforms, we recommend using the @code{qemu-binfmt-service-type} to emulate them. In order to enable it, add the @code{virtualization} service module and the following service to the list of services in your @code{operating-system} configuration:"
  1553. msgstr "Recomendamos que você também tente compilar o pacote em outras plataformas suportadas. Como você pode não ter acesso às plataformas de hardware reais, recomendamos o uso do @code{qemu-binfmt-service-type} para emulá-las. Para habilitar isso, adicione o seguinte serviço à lista de serviços na sua configuração @code{operating-system}:"
  1554. #. type: lisp
  1555. #: guix-git/doc/contributing.texi:1223
  1556. #, no-wrap
  1557. msgid ""
  1558. "(service qemu-binfmt-service-type\n"
  1559. " (qemu-binfmt-configuration\n"
  1560. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  1561. msgstr ""
  1562. #. type: enumerate
  1563. #: guix-git/doc/contributing.texi:1226
  1564. msgid "Then reconfigure your system."
  1565. msgstr "Então, reconfigure seu sistema."
  1566. #. type: enumerate
  1567. #: guix-git/doc/contributing.texi:1231
  1568. #, fuzzy
  1569. #| msgid "You can then build packages for different platforms by specifying the @code{--system} option. For example, to build the \"hello\" package for the armhf, aarch64, or mips64 architectures, you would run the following commands, respectively:"
  1570. msgid "You can then build packages for different platforms by specifying the @code{--system} option. For example, to build the \"hello\" package for the armhf or aarch64 architectures, you would run the following commands, respectively:"
  1571. msgstr "Você pode criar pacotes para plataformas diferentes especificando a opção @code{--system}. Por exemplo, para compilar o pacote \"hello\" para as arquiteturas armhf, aarch64 ou mips64, você executaria os seguintes comandos, respectivamente:"
  1572. #. type: example
  1573. #: guix-git/doc/contributing.texi:1234
  1574. #, no-wrap
  1575. msgid ""
  1576. "guix build --system=armhf-linux --rounds=2 hello\n"
  1577. "guix build --system=aarch64-linux --rounds=2 hello\n"
  1578. msgstr ""
  1579. #. type: cindex
  1580. #: guix-git/doc/contributing.texi:1237
  1581. #, no-wrap
  1582. msgid "bundling"
  1583. msgstr "incorporando"
  1584. #. type: enumerate
  1585. #: guix-git/doc/contributing.texi:1240
  1586. msgid "Make sure the package does not use bundled copies of software already available as separate packages."
  1587. msgstr "Verifique se o pacote não usa cópias de software já disponíveis como pacotes separados."
  1588. #. type: enumerate
  1589. #: guix-git/doc/contributing.texi:1249
  1590. msgid "Sometimes, packages include copies of the source code of their dependencies as a convenience for users. However, as a distribution, we want to make sure that such packages end up using the copy we already have in the distribution, if there is one. This improves resource usage (the dependency is built and stored only once), and allows the distribution to make transverse changes such as applying security updates for a given software package in a single place and have them affect the whole system---something that bundled copies prevent."
  1591. msgstr "Às vezes, os pacotes incluem cópias do código-fonte de suas dependências como uma conveniência para os usuários. No entanto, como uma distribuição, queremos garantir que esses pacotes acabem usando a cópia que já temos na distribuição, se houver. Isso melhora o uso de recursos (a dependência é criada e armazenada apenas uma vez) e permite que a distribuição faça alterações transversais, como aplicar atualizações de segurança para um determinado pacote de software em um único local e fazê-las afetar todo o sistema -- algo que cópias incluídas impedem."
  1592. #. type: enumerate
  1593. #: guix-git/doc/contributing.texi:1258
  1594. msgid "Take a look at the profile reported by @command{guix size} (@pxref{Invoking guix size}). This will allow you to notice references to other packages unwillingly retained. It may also help determine whether to split the package (@pxref{Packages with Multiple Outputs}), and which optional dependencies should be used. In particular, avoid adding @code{texlive} as a dependency: because of its extreme size, use the @code{texlive-tiny} package or @code{texlive-union} procedure instead."
  1595. msgstr ""
  1596. #. type: enumerate
  1597. #: guix-git/doc/contributing.texi:1263
  1598. #, fuzzy
  1599. #| msgid "For important changes, check that dependent package (if applicable) are not affected by the change; @code{guix refresh --list-dependent @var{package}} will help you do that (@pxref{Invoking guix refresh})."
  1600. msgid "For important changes, check that dependent packages (if applicable) are not affected by the change; @code{guix refresh --list-dependent @var{package}} will help you do that (@pxref{Invoking guix refresh})."
  1601. msgstr "Para alterações importantes, verifique se o pacote dependente (se aplicável) não é afetado pela alteração; @code{guix refresh --list-dependent @var{pacote}} ajudará você a fazer isso (@pxref{Invocando guix refresh})."
  1602. #. type: cindex
  1603. #: guix-git/doc/contributing.texi:1265
  1604. #, no-wrap
  1605. msgid "branching strategy"
  1606. msgstr "estratégia de ramificação"
  1607. #. type: cindex
  1608. #: guix-git/doc/contributing.texi:1266
  1609. #, no-wrap
  1610. msgid "rebuild scheduling strategy"
  1611. msgstr "estratégia de agendamento de recompilação"
  1612. #. type: enumerate
  1613. #: guix-git/doc/contributing.texi:1269
  1614. msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:"
  1615. msgstr "Dependendo do número de pacotes dependentes e, portanto, da quantidade de recompilação induzida, os commits vão para diferentes ramos, ao longo das seguintes linhas:"
  1616. #. type: item
  1617. #: guix-git/doc/contributing.texi:1271
  1618. #, no-wrap
  1619. msgid "300 dependent packages or less"
  1620. msgstr "300 pacotes dependentes ou menos"
  1621. #. type: table
  1622. #: guix-git/doc/contributing.texi:1273
  1623. msgid "@code{master} branch (non-disruptive changes)."
  1624. msgstr "Ramo @code{master} (alterações não disruptivas)."
  1625. #. type: item
  1626. #: guix-git/doc/contributing.texi:1274
  1627. #, no-wrap
  1628. msgid "between 300 and 1,800 dependent packages"
  1629. msgstr ""
  1630. #. type: table
  1631. #: guix-git/doc/contributing.texi:1280
  1632. msgid "@code{staging} branch (non-disruptive changes). This branch is intended to be merged in @code{master} every 6 weeks or so. Topical changes (e.g., an update of the GNOME stack) can instead go to a specific branch (say, @code{gnome-updates}). This branch is not expected to be buildable or usable until late in its development process."
  1633. msgstr ""
  1634. #. type: item
  1635. #: guix-git/doc/contributing.texi:1281
  1636. #, no-wrap
  1637. msgid "more than 1,800 dependent packages"
  1638. msgstr ""
  1639. #. type: table
  1640. #: guix-git/doc/contributing.texi:1286
  1641. msgid "@code{core-updates} branch (may include major and potentially disruptive changes). This branch is intended to be merged in @code{master} every 6 months or so. This branch is not expected to be buildable or usable until late in its development process."
  1642. msgstr ""
  1643. #. type: enumerate
  1644. #: guix-git/doc/contributing.texi:1293
  1645. msgid "All these branches are @uref{https://@value{SUBSTITUTE-SERVER-1}, tracked by our build farm} and merged into @code{master} once everything has been successfully built. This allows us to fix issues before they hit users, and to reduce the window during which pre-built binaries are not available."
  1646. msgstr ""
  1647. #. type: enumerate
  1648. #: guix-git/doc/contributing.texi:1302
  1649. msgid "When we decide to start building the @code{staging} or @code{core-updates} branches, they will be forked and renamed with the suffix @code{-frozen}, at which time only bug fixes may be pushed to the frozen branches. The @code{core-updates} and @code{staging} branches will remain open to accept patches for the next cycle. Please ask on the mailing list or IRC if unsure where to place a patch."
  1650. msgstr ""
  1651. #. type: cindex
  1652. #: guix-git/doc/contributing.texi:1304
  1653. #, no-wrap
  1654. msgid "determinism, of build processes"
  1655. msgstr "determinismo, de processos de compilação"
  1656. #. type: cindex
  1657. #: guix-git/doc/contributing.texi:1305
  1658. #, no-wrap
  1659. msgid "reproducible builds, checking"
  1660. msgstr "compilações reproduzíveis, verificação"
  1661. #. type: enumerate
  1662. #: guix-git/doc/contributing.texi:1309
  1663. msgid "Check whether the package's build process is deterministic. This typically means checking whether an independent build of the package yields the exact same result that you obtained, bit for bit."
  1664. msgstr "Verifique se o processo de compilação do pacote é determinístico. Isso normalmente significa verificar se uma compilação independente do pacote produz o mesmo resultado que você obteve, bit por bit."
  1665. #. type: enumerate
  1666. #: guix-git/doc/contributing.texi:1312
  1667. msgid "A simple way to do that is by building the same package several times in a row on your machine (@pxref{Invoking guix build}):"
  1668. msgstr "Uma maneira simples de fazer isso é compilar o mesmo pacote várias vezes seguidas em sua máquina (@pxref{Invocando guix build}):"
  1669. #. type: example
  1670. #: guix-git/doc/contributing.texi:1315
  1671. #, no-wrap
  1672. msgid "guix build --rounds=2 my-package\n"
  1673. msgstr "guix build --rounds=2 meu-pacote\n"
  1674. #. type: enumerate
  1675. #: guix-git/doc/contributing.texi:1319
  1676. msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result."
  1677. msgstr "Isso é suficiente para capturar uma classe de problemas comuns de não-determinismo, como registros de data e hora ou saída gerada aleatoriamente no resultado da compilação."
  1678. #. type: enumerate
  1679. #: guix-git/doc/contributing.texi:1329
  1680. #, fuzzy
  1681. #| msgid "Another option is to use @command{guix challenge} (@pxref{Invoking guix challenge}). You may run it once the package has been committed and built by @code{@value{SUBSTITUTE-SERVER}} to check whether it obtains the same result as you did. Better yet: Find another machine that can build it and run @command{guix publish}. Since the remote build machine is likely different from yours, this can catch non-determinism issues related to the hardware---e.g., use of different instruction set extensions---or to the operating system kernel---e.g., reliance on @code{uname} or @file{/proc} files."
  1682. msgid "Another option is to use @command{guix challenge} (@pxref{Invoking guix challenge}). You may run it once the package has been committed and built by @code{@value{SUBSTITUTE-SERVER-1}} to check whether it obtains the same result as you did. Better yet: Find another machine that can build it and run @command{guix publish}. Since the remote build machine is likely different from yours, this can catch non-determinism issues related to the hardware---e.g., use of different instruction set extensions---or to the operating system kernel---e.g., reliance on @code{uname} or @file{/proc} files."
  1683. msgstr "Outra opção é usar @command{guix challenge} (@pxref{Invocando guix challenge}). Você pode executá-lo uma vez que o pacote se tenha sido feito o commit e compilação por @code{SUBSTITUTE-SERVER} para verificar se obtém o mesmo resultado que você fez. Melhor ainda: encontre outra máquina que possa compilá-lo e executar @command{guix publish}. Como a máquina de compilação remota provavelmente é diferente da sua, isso pode capturar problemas de não determinismo relacionados ao hardware - por exemplo, uso de extensões de conjunto de instruções diferentes – ou ao kernel do sistema operacional – por exemplo, confiança em @code{uname} ou arquivos de @file{/proc}."
  1684. #. type: enumerate
  1685. #: guix-git/doc/contributing.texi:1335
  1686. msgid "When writing documentation, please use gender-neutral wording when referring to people, such as @uref{https://en.wikipedia.org/wiki/Singular_they, singular ``they''@comma{} ``their''@comma{} ``them''}, and so forth."
  1687. msgstr "Ao escrever documentação, por favor, use palavras de gênero neutras ao se referir a pessoas, como @uref{https://en.wikipedia.org/wiki/Singular_they, singular ``they''@comma{} ``their'' @comma{} ``them''}, e assim por diante."
  1688. #. type: enumerate
  1689. #: guix-git/doc/contributing.texi:1339
  1690. msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower."
  1691. msgstr "Verifique se o seu patch contém apenas um conjunto de alterações relacionadas. Agrupar mudanças não relacionadas juntas torna a revisão mais difícil e lenta."
  1692. #. type: enumerate
  1693. #: guix-git/doc/contributing.texi:1342
  1694. msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package."
  1695. msgstr "Exemplos de alterações não relacionadas incluem a adição de vários pacotes ou uma atualização de pacote juntamente com correções para esse pacote."
  1696. #. type: enumerate
  1697. #: guix-git/doc/contributing.texi:1347
  1698. #, fuzzy
  1699. #| msgid "Please follow our code formatting rules, possibly running the @command{etc/indent-code.el} script to do that automatically for you (@pxref{Formatting Code})."
  1700. msgid "Please follow our code formatting rules, possibly running @command{guix style} script to do that automatically for you (@pxref{Formatting Code})."
  1701. msgstr "Siga nossas regras de formatação de código, possivelmente executando o script @command{etc/indent-code.el} para fazer isso automaticamente para você (@pxref{Formatação de código})."
  1702. #. type: enumerate
  1703. #: guix-git/doc/contributing.texi:1355
  1704. msgid "When possible, use mirrors in the source URL (@pxref{Invoking guix download}). Use reliable URLs, not generated ones. For instance, GitHub archives are not necessarily identical from one generation to the next, so in this case it's often better to clone the repository. Don't use the @command{name} field in the URL: it is not very useful and if the name changes, the URL will probably be wrong."
  1705. msgstr "Quando possível, use espelhos no URL fonte (@pxref{Invocando guix download}). Use URLs confiáveis, não os gerados. Por exemplo, os arquivos do GitHub não são necessariamente idênticos de uma geração para a seguinte, portanto, nesse caso, geralmente é melhor clonar o repositório. Não use o campo @command{name} no URL: não é muito útil e se o nome mudar, o URL provavelmente estará errado."
  1706. #. type: enumerate
  1707. #: guix-git/doc/contributing.texi:1359
  1708. msgid "Check if Guix builds (@pxref{Building from Git}) and address the warnings, especially those about use of undefined symbols."
  1709. msgstr ""
  1710. #. type: enumerate
  1711. #: guix-git/doc/contributing.texi:1362
  1712. msgid "Make sure your changes do not break Guix and simulate a @code{guix pull} with:"
  1713. msgstr ""
  1714. #. type: example
  1715. #: guix-git/doc/contributing.texi:1364
  1716. #, no-wrap
  1717. msgid "guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master\n"
  1718. msgstr ""
  1719. #. type: Plain text
  1720. #: guix-git/doc/contributing.texi:1372
  1721. msgid "When posting a patch to the mailing list, use @samp{[PATCH] @dots{}} as a subject, if your patch is to be applied on a branch other than @code{master}, say @code{core-updates}, specify it in the subject like @samp{[PATCH core-updates] @dots{}}."
  1722. msgstr ""
  1723. #. type: Plain text
  1724. #: guix-git/doc/contributing.texi:1378
  1725. msgid "You may use your email client or the @command{git send-email} command (@pxref{Sending a Patch Series}). We prefer to get patches in plain text messages, either inline or as MIME attachments. You are advised to pay attention if your email client changes anything like line breaks or indentation which could potentially break the patches."
  1726. msgstr ""
  1727. #. type: Plain text
  1728. #: guix-git/doc/contributing.texi:1383
  1729. msgid "Expect some delay when you submit your very first patch to @email{guix-patches@@gnu.org}. You have to wait until you get an acknowledgement with the assigned tracking number. Future acknowledgements should not be delayed."
  1730. msgstr ""
  1731. #. type: Plain text
  1732. #: guix-git/doc/contributing.texi:1386
  1733. #, fuzzy
  1734. #| msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}."
  1735. msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{ISSUE_NUMBER}-done@@debbugs.gnu.org}."
  1736. msgstr "Quando um erro for resolvido, feche o tópico enviando um e-mail para @email{@var{NNN}-done@@debbugs.gnu.org}."
  1737. #. type: subsection
  1738. #: guix-git/doc/contributing.texi:1387 guix-git/doc/contributing.texi:1388
  1739. #, no-wrap
  1740. msgid "Configuring Git"
  1741. msgstr "Configurando o Git"
  1742. #. type: cindex
  1743. #: guix-git/doc/contributing.texi:1389
  1744. #, no-wrap
  1745. msgid "git configuration"
  1746. msgstr "Configuração do git"
  1747. #. type: code{#1}
  1748. #: guix-git/doc/contributing.texi:1390 guix-git/doc/contributing.texi:1407
  1749. #, no-wrap
  1750. msgid "git format-patch"
  1751. msgstr ""
  1752. #. type: code{#1}
  1753. #: guix-git/doc/contributing.texi:1391 guix-git/doc/contributing.texi:1406
  1754. #, no-wrap
  1755. msgid "git send-email"
  1756. msgstr "git send-email"
  1757. #. type: Plain text
  1758. #: guix-git/doc/contributing.texi:1399
  1759. msgid "If you have not done so already, you may wish to set a name and email that will be associated with your commits (@pxref{telling git your name, , Telling Git your name, git, Git User Manual}). If you wish to use a different name or email just for commits in this repository, you can use @command{git config --local}, or edit @file{.git/config} in the repository instead of @file{~/.gitconfig}."
  1760. msgstr ""
  1761. #. type: Plain text
  1762. #: guix-git/doc/contributing.texi:1402
  1763. msgid "Other important Git configuration will automatically be configured when building the project (@pxref{Building from Git})."
  1764. msgstr ""
  1765. #. type: subsection
  1766. #: guix-git/doc/contributing.texi:1403 guix-git/doc/contributing.texi:1404
  1767. #, no-wrap
  1768. msgid "Sending a Patch Series"
  1769. msgstr "Enviando uma série de patches"
  1770. #. type: cindex
  1771. #: guix-git/doc/contributing.texi:1405
  1772. #, no-wrap
  1773. msgid "patch series"
  1774. msgstr "série de patches"
  1775. #. type: anchor{#1}
  1776. #: guix-git/doc/contributing.texi:1409 guix-git/doc/contributing.texi:1416
  1777. #, fuzzy, no-wrap
  1778. #| msgid "Submitting Patches"
  1779. msgid "Single Patches"
  1780. msgstr "Enviando patches"
  1781. #. type: Plain text
  1782. #: guix-git/doc/contributing.texi:1416
  1783. msgid "The @command{git send-email} command is the best way to send both single patches and patch series (@pxref{Multiple Patches}) to the Guix mailing list. Sending patches as email attachments may make them difficult to review in some mail clients, and @command{git diff} does not store commit metadata."
  1784. msgstr ""
  1785. #. type: quotation
  1786. #: guix-git/doc/contributing.texi:1420
  1787. msgid "The @command{git send-email} command is provided by the @code{send-email} output of the @code{git} package, i.e. @code{git:send-email}."
  1788. msgstr ""
  1789. #. type: Plain text
  1790. #: guix-git/doc/contributing.texi:1427
  1791. msgid "The following command will create a patch email from the latest commit, open it in your @var{EDITOR} or @var{VISUAL} for editing, and send it to the Guix mailing list to be reviewed and merged. Assuming you have already configured Git according to @xref{Configuring Git}, you can simply use:"
  1792. msgstr ""
  1793. #. type: example
  1794. #: guix-git/doc/contributing.texi:1430
  1795. #, fuzzy, no-wrap
  1796. #| msgid "git send-email"
  1797. msgid "$ git send-email --annotate -1\n"
  1798. msgstr "git send-email"
  1799. #. type: quotation
  1800. #: guix-git/doc/contributing.texi:1432 guix-git/doc/guix.texi:19525
  1801. #: guix-git/doc/guix.texi:19533 guix-git/doc/guix.texi:32947
  1802. #, fuzzy, no-wrap
  1803. #| msgid "Top"
  1804. msgid "Tip"
  1805. msgstr "Top"
  1806. #. type: quotation
  1807. #: guix-git/doc/contributing.texi:1438
  1808. msgid "To add a prefix to the subject of your patch, you may use the @option{--subject-prefix} option. The Guix project uses this to specify that the patch is intended for a branch or repository other than the @code{master} branch of @url{https://git.savannah.gnu.org/cgit/guix.git}."
  1809. msgstr ""
  1810. #. type: example
  1811. #: guix-git/doc/contributing.texi:1441
  1812. #, no-wrap
  1813. msgid "git send-email --annotate --subject-prefix='PATCH core-updates' -1\n"
  1814. msgstr ""
  1815. #. type: Plain text
  1816. #: guix-git/doc/contributing.texi:1448
  1817. msgid "The patch email contains a three-dash separator line after the commit message. You may ``annotate'' the patch with explanatory text by adding it under this line. If you do not wish to annotate the email, you may drop the @option{--annotate} option."
  1818. msgstr ""
  1819. #. type: Plain text
  1820. #: guix-git/doc/contributing.texi:1455
  1821. msgid "If you need to send a revised patch, don't resend it like this or send a ``fix'' patch to be applied on top of the last one; instead, use @command{git commit --amend} or @url{https://git-rebase.io, @command{git rebase}} to modify the commit, and use the @email{@var{ISSUE_NUMBER}@@debbugs.gnu.org} address and the @option{-v} flag with @command{git send-email}."
  1822. msgstr ""
  1823. #. type: example
  1824. #: guix-git/doc/contributing.texi:1460
  1825. #, no-wrap
  1826. msgid ""
  1827. "$ git commit --amend\n"
  1828. "$ git send-email --annotate -v@var{REVISION} \\\n"
  1829. " --to=@var{ISSUE_NUMBER}@@debbugs.gnu.org -1\n"
  1830. msgstr ""
  1831. #. type: quotation
  1832. #: guix-git/doc/contributing.texi:1466
  1833. msgid "Due to an apparent bug in @command{git send-email}, @option{-v @var{REVISION}} (with the space) will not work; you @emph{must} use @option{-v@var{REVISION}}."
  1834. msgstr ""
  1835. #. type: Plain text
  1836. #: guix-git/doc/contributing.texi:1472
  1837. msgid "You can find out @var{ISSUE_NUMBER} either by searching on the mumi interface at @url{https://issues.guix.gnu.org} for the name of your patch or reading the acknowledgement email sent automatically by Debbugs in reply to incoming bugs and patches, which contains the bug number."
  1838. msgstr ""
  1839. #. type: anchor{#1}
  1840. #: guix-git/doc/contributing.texi:1473 guix-git/doc/contributing.texi:1475
  1841. #, no-wrap
  1842. msgid "Notifying Teams"
  1843. msgstr ""
  1844. #. type: cindex
  1845. #: guix-git/doc/contributing.texi:1475 guix-git/doc/contributing.texi:1541
  1846. #, no-wrap
  1847. msgid "teams"
  1848. msgstr ""
  1849. #. type: Plain text
  1850. #: guix-git/doc/contributing.texi:1484
  1851. msgid "If your git checkout has been correctly configured (@pxref{Configuring Git}), the @command{git send-email} command will automatically notify the appropriate team members, based on the scope of your changes. This relies on the @file{etc/teams.scm} script, which can also be invoked manually if you do not use the preferred @command{git send-email} command to submit patches. To list the available actions of the script, you can invoke it via the @command{etc/teams.scm help} command. For more information regarding teams, see @xref{Teams}."
  1852. msgstr ""
  1853. #. type: anchor{#1}
  1854. #: guix-git/doc/contributing.texi:1485 guix-git/doc/contributing.texi:1487
  1855. #, fuzzy, no-wrap
  1856. #| msgid "Submitting Patches"
  1857. msgid "Multiple Patches"
  1858. msgstr "Enviando patches"
  1859. #. type: cindex
  1860. #: guix-git/doc/contributing.texi:1487
  1861. #, no-wrap
  1862. msgid "cover letter"
  1863. msgstr ""
  1864. #. type: Plain text
  1865. #: guix-git/doc/contributing.texi:1493
  1866. msgid "While @command{git send-email} alone will suffice for a single patch, an unfortunate flaw in Debbugs means you need to be more careful when sending multiple patches: if you send them all to the @email{guix-patches@@gnu.org} address, a new issue will be created for each patch!"
  1867. msgstr ""
  1868. #. type: Plain text
  1869. #: guix-git/doc/contributing.texi:1499
  1870. msgid "When sending a series of patches, it's best to send a Git ``cover letter'' first, to give reviewers an overview of the patch series. We can create a directory called @file{outgoing} containing both our patch series and a cover letter called @file{0000-cover-letter.patch} with @command{git format-patch}."
  1871. msgstr ""
  1872. #. type: example
  1873. #: guix-git/doc/contributing.texi:1503
  1874. #, no-wrap
  1875. msgid ""
  1876. "$ git format-patch -@var{NUMBER_COMMITS} -o outgoing \\\n"
  1877. " --cover-letter --base=auto\n"
  1878. msgstr ""
  1879. #. type: Plain text
  1880. #: guix-git/doc/contributing.texi:1508
  1881. msgid "We can now send @emph{just} the cover letter to the @email{guix-patches@@gnu.org} address, which will create an issue that we can send the rest of the patches to."
  1882. msgstr ""
  1883. #. type: example
  1884. #: guix-git/doc/contributing.texi:1512
  1885. #, no-wrap
  1886. msgid ""
  1887. "$ git send-email outgoing/0000-cover-letter.patch --annotate\n"
  1888. "$ rm outgoing/0000-cover-letter.patch # we don't want to resend it!\n"
  1889. msgstr ""
  1890. #. type: Plain text
  1891. #: guix-git/doc/contributing.texi:1517
  1892. msgid "Ensure you edit the email to add an appropriate subject line and blurb before sending it. Note the automatically generated shortlog and diffstat below the blurb."
  1893. msgstr ""
  1894. #. type: Plain text
  1895. #: guix-git/doc/contributing.texi:1520
  1896. msgid "Once the Debbugs mailer has replied to your cover letter email, you can send the actual patches to the newly-created issue address."
  1897. msgstr ""
  1898. #. type: example
  1899. #: guix-git/doc/contributing.texi:1524
  1900. #, no-wrap
  1901. msgid ""
  1902. "$ git send-email outgoing/*.patch --to=@var{ISSUE_NUMBER}@@debbugs.gnu.org\n"
  1903. "$ rm -rf outgoing # we don't need these anymore\n"
  1904. msgstr ""
  1905. #. type: Plain text
  1906. #: guix-git/doc/contributing.texi:1529
  1907. msgid "Thankfully, this @command{git format-patch} dance is not necessary to send an amended patch series, since an issue already exists for the patchset."
  1908. msgstr ""
  1909. #. type: example
  1910. #: guix-git/doc/contributing.texi:1533
  1911. #, no-wrap
  1912. msgid ""
  1913. "$ git send-email -@var{NUMBER_COMMITS} -v@var{REVISION} \\\n"
  1914. " --to=@var{ISSUE_NUMBER}@@debbugs.gnu.org\n"
  1915. msgstr ""
  1916. #. type: Plain text
  1917. #: guix-git/doc/contributing.texi:1538
  1918. msgid "If need be, you may use @option{--cover-letter --annotate} to send another cover letter, e.g. for explaining what's changed since the last revision, and these changes are necessary."
  1919. msgstr ""
  1920. #. type: subsection
  1921. #: guix-git/doc/contributing.texi:1539 guix-git/doc/contributing.texi:1540
  1922. #, no-wrap
  1923. msgid "Teams"
  1924. msgstr ""
  1925. #. type: Plain text
  1926. #: guix-git/doc/contributing.texi:1545
  1927. msgid "There are several teams mentoring different parts of the Guix source code. To list all those teams, you can run from a Guix checkout:"
  1928. msgstr ""
  1929. #. type: example
  1930. #: guix-git/doc/contributing.texi:1558
  1931. #, no-wrap
  1932. msgid ""
  1933. "$ ./etc/teams.scm list-teams\n"
  1934. "id: mentors\n"
  1935. "name: Mentors\n"
  1936. "description: A group of mentors who chaperone contributions by newcomers.\n"
  1937. "members:\n"
  1938. "+ Christopher Baines <mail@@cbaines.net>\n"
  1939. "+ Ricardo Wurmus <rekado@@elephly.net>\n"
  1940. "+ Mathieu Othacehe <othacehe@@gnu.org>\n"
  1941. "+ jgart <jgart@@dismail.de>\n"
  1942. "+ Ludovic Courtès <ludo@@gnu.org>\n"
  1943. "@dots{}\n"
  1944. msgstr ""
  1945. #. type: Plain text
  1946. #: guix-git/doc/contributing.texi:1562
  1947. msgid "You can run the following command to have the @code{Mentors} team put in CC of a patch series:"
  1948. msgstr ""
  1949. #. type: example
  1950. #: guix-git/doc/contributing.texi:1566
  1951. #, no-wrap
  1952. msgid ""
  1953. "$ git send-email --to=@var{ISSUE_NUMBER}@@debbugs.gnu.org \\\n"
  1954. " --header-cmd='etc/teams.scm cc-mentors-header-cmd' *.patch\n"
  1955. msgstr ""
  1956. #. type: Plain text
  1957. #: guix-git/doc/contributing.texi:1571
  1958. msgid "The appropriate team or teams can also be inferred from the modified files. For instance, if you want to send the two latest commits of the current Git repository to review, you can run:"
  1959. msgstr ""
  1960. #. type: example
  1961. #: guix-git/doc/contributing.texi:1575
  1962. #, no-wrap
  1963. msgid ""
  1964. "$ guix shell -D guix\n"
  1965. "[env]$ git send-email --to=@var{ISSUE_NUMBER}@@debbugs.gnu.org -2\n"
  1966. msgstr ""
  1967. #. type: Plain text
  1968. #: guix-git/doc/contributing.texi:1582
  1969. msgid "This section describes how the Guix project tracks its bug reports and patch submissions."
  1970. msgstr ""
  1971. #. type: subsection
  1972. #: guix-git/doc/contributing.texi:1587 guix-git/doc/contributing.texi:1589
  1973. #: guix-git/doc/contributing.texi:1590
  1974. #, no-wrap
  1975. msgid "The Issue Tracker"
  1976. msgstr ""
  1977. #. type: menuentry
  1978. #: guix-git/doc/contributing.texi:1587
  1979. msgid "The official bug and patch tracker."
  1980. msgstr ""
  1981. #. type: subsection
  1982. #: guix-git/doc/contributing.texi:1587 guix-git/doc/contributing.texi:1603
  1983. #: guix-git/doc/contributing.texi:1604
  1984. #, fuzzy, no-wrap
  1985. #| msgid "user interfaces"
  1986. msgid "Debbugs User Interfaces"
  1987. msgstr "interfaces de usuário"
  1988. #. type: menuentry
  1989. #: guix-git/doc/contributing.texi:1587
  1990. msgid "Ways to interact with Debbugs."
  1991. msgstr ""
  1992. #. type: subsection
  1993. #: guix-git/doc/contributing.texi:1587 guix-git/doc/contributing.texi:1643
  1994. #: guix-git/doc/contributing.texi:1644
  1995. #, no-wrap
  1996. msgid "Debbugs Usertags"
  1997. msgstr ""
  1998. #. type: menuentry
  1999. #: guix-git/doc/contributing.texi:1587
  2000. msgid "Tag reports with custom labels."
  2001. msgstr ""
  2002. #. type: cindex
  2003. #: guix-git/doc/contributing.texi:1592
  2004. #, no-wrap
  2005. msgid "bug reports, tracking"
  2006. msgstr ""
  2007. #. type: cindex
  2008. #: guix-git/doc/contributing.texi:1593
  2009. #, no-wrap
  2010. msgid "patch submissions, tracking"
  2011. msgstr ""
  2012. #. type: cindex
  2013. #: guix-git/doc/contributing.texi:1594
  2014. #, no-wrap
  2015. msgid "issue tracking"
  2016. msgstr ""
  2017. #. type: cindex
  2018. #: guix-git/doc/contributing.texi:1595
  2019. #, no-wrap
  2020. msgid "Debbugs, issue tracking system"
  2021. msgstr ""
  2022. #. type: Plain text
  2023. #: guix-git/doc/contributing.texi:1602
  2024. msgid "Bug reports and patch submissions are currently tracked using the Debbugs instance at @uref{https://bugs.gnu.org}. Bug reports are filed against the @code{guix} ``package'' (in Debbugs parlance), by sending email to @email{bug-guix@@gnu.org}, while patch submissions are filed against the @code{guix-patches} package by sending email to @email{guix-patches@@gnu.org} (@pxref{Submitting Patches})."
  2025. msgstr ""
  2026. #. type: Plain text
  2027. #: guix-git/doc/contributing.texi:1608
  2028. msgid "A web interface (actually @emph{two} web interfaces!) are available to browse issues:"
  2029. msgstr ""
  2030. #. type: itemize
  2031. #: guix-git/doc/contributing.texi:1617
  2032. msgid "@url{https://issues.guix.gnu.org} provides a pleasant interface@footnote{The web interface at @url{https://issues.guix.gnu.org} is powered by Mumi, a nice piece of software written in Guile, and you can help! See @url{https://git.elephly.net/gitweb.cgi?p=software/mumi.git}.} to browse bug reports and patches, and to participate in discussions;"
  2033. msgstr ""
  2034. #. type: itemize
  2035. #: guix-git/doc/contributing.texi:1619
  2036. msgid "@url{https://bugs.gnu.org/guix} lists bug reports;"
  2037. msgstr ""
  2038. #. type: itemize
  2039. #: guix-git/doc/contributing.texi:1621
  2040. msgid "@url{https://bugs.gnu.org/guix-patches} lists patch submissions."
  2041. msgstr ""
  2042. #. type: Plain text
  2043. #: guix-git/doc/contributing.texi:1626
  2044. msgid "To view discussions related to issue number @var{n}, go to @indicateurl{https://issues.guix.gnu.org/@var{n}} or @indicateurl{https://bugs.gnu.org/@var{n}}."
  2045. msgstr ""
  2046. #. type: Plain text
  2047. #: guix-git/doc/contributing.texi:1629
  2048. msgid "If you use Emacs, you may find it more convenient to interact with issues using @file{debbugs.el}, which you can install with:"
  2049. msgstr ""
  2050. #. type: example
  2051. #: guix-git/doc/contributing.texi:1632
  2052. #, no-wrap
  2053. msgid "guix install emacs-debbugs\n"
  2054. msgstr ""
  2055. #. type: Plain text
  2056. #: guix-git/doc/contributing.texi:1635
  2057. msgid "For example, to list all open issues on @code{guix-patches}, hit:"
  2058. msgstr ""
  2059. #. type: example
  2060. #: guix-git/doc/contributing.texi:1638
  2061. #, no-wrap
  2062. msgid "@kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y\n"
  2063. msgstr ""
  2064. #. type: Plain text
  2065. #: guix-git/doc/contributing.texi:1642
  2066. msgid "@xref{Top,,, debbugs-ug, Debbugs User Guide}, for more information on this nifty tool!"
  2067. msgstr ""
  2068. #. type: cindex
  2069. #: guix-git/doc/contributing.texi:1646
  2070. #, no-wrap
  2071. msgid "usertags, for debbugs"
  2072. msgstr ""
  2073. #. type: cindex
  2074. #: guix-git/doc/contributing.texi:1647
  2075. #, no-wrap
  2076. msgid "Debbugs usertags"
  2077. msgstr ""
  2078. #. type: Plain text
  2079. #: guix-git/doc/contributing.texi:1653
  2080. msgid "Debbugs provides a feature called @dfn{usertags} that allows any user to tag any bug with an arbitrary label. Bugs can be searched by usertag, so this is a handy way to organize bugs@footnote{The list of usertags is public information, and anyone can modify any user's list of usertags, so keep that in mind if you choose to use this feature.}."
  2081. msgstr ""
  2082. #. type: Plain text
  2083. #: guix-git/doc/contributing.texi:1659
  2084. msgid "For example, to view all the bug reports (or patches, in the case of @code{guix-patches}) tagged with the usertag @code{powerpc64le-linux} for the user @code{guix}, open a URL like the following in a web browser: @url{https://debbugs.gnu.org/cgi-bin/pkgreport.cgi?tag=powerpc64le-linux;users=guix}."
  2085. msgstr ""
  2086. #. type: Plain text
  2087. #: guix-git/doc/contributing.texi:1663
  2088. msgid "For more information on how to use usertags, please refer to the documentation for Debbugs or the documentation for whatever tool you use to interact with Debbugs."
  2089. msgstr ""
  2090. #. type: Plain text
  2091. #: guix-git/doc/contributing.texi:1668
  2092. msgid "In Guix, we are experimenting with usertags to keep track of architecture-specific issues. To facilitate collaboration, all our usertags are associated with the single user @code{guix}. The following usertags currently exist for that user:"
  2093. msgstr ""
  2094. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  2095. #. type: item
  2096. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  2097. #. type: defvar
  2098. #: guix-git/doc/contributing.texi:1671 guix-git/doc/guix.texi:632
  2099. #: guix-git/doc/guix.texi:44220
  2100. #, fuzzy, no-wrap
  2101. msgid "powerpc64le-linux"
  2102. msgstr "aarch64-linux"
  2103. #. type: table
  2104. #: guix-git/doc/contributing.texi:1679
  2105. msgid "The purpose of this usertag is to make it easy to find the issues that matter most for the @code{powerpc64le-linux} system type. Please assign this usertag to bugs or patches that affect @code{powerpc64le-linux} but not other system types. In addition, you may use it to identify issues that for some reason are particularly important for the @code{powerpc64le-linux} system type, even if the issue affects other system types, too."
  2106. msgstr ""
  2107. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  2108. #. type: item
  2109. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  2110. #. type: cindex
  2111. #: guix-git/doc/contributing.texi:1680 guix-git/doc/guix.texi:3358
  2112. #: guix-git/doc/guix.texi:5105
  2113. #, no-wrap
  2114. msgid "reproducibility"
  2115. msgstr ""
  2116. #. type: table
  2117. #: guix-git/doc/contributing.texi:1684
  2118. msgid "For issues related to reproducibility. For example, it would be appropriate to assign this usertag to a bug report for a package that fails to build reproducibly."
  2119. msgstr ""
  2120. #. type: Plain text
  2121. #: guix-git/doc/contributing.texi:1691
  2122. msgid "If you're a committer and you want to add a usertag, just start using it with the @code{guix} user. If the usertag proves useful to you, consider updating this section of the manual so that others will know what your usertag means."
  2123. msgstr ""
  2124. #. type: cindex
  2125. #: guix-git/doc/contributing.texi:1695
  2126. #, no-wrap
  2127. msgid "commit access, for developers"
  2128. msgstr ""
  2129. #. type: Plain text
  2130. #: guix-git/doc/contributing.texi:1711
  2131. msgid "Everyone can contribute to Guix without having commit access (@pxref{Submitting Patches}). However, for frequent contributors, having write access to the repository can be convenient. As a rule of thumb, a contributor should have accumulated fifty (50) reviewed commits to be considered as a committer and have sustained their activity in the project for at least 6 months. This ensures enough interactions with the contributor, which is essential for mentoring and assessing whether they are ready to become a committer. Commit access should not be thought of as a ``badge of honor'' but rather as a responsibility a contributor is willing to take to help the project. It is expected from all contributors, and even more so from committers, to help build consensus and make decisions based on consensus. To learn what consensus decision making means and understand its finer details, you are encouraged to read @url{https://www.seedsforchange.org.uk/consensus}."
  2132. msgstr ""
  2133. #. type: Plain text
  2134. #: guix-git/doc/contributing.texi:1715
  2135. msgid "The following sections explain how to get commit access, how to be ready to push commits, and the policies and community expectations for commits pushed upstream."
  2136. msgstr ""
  2137. #. type: subsection
  2138. #: guix-git/doc/contributing.texi:1716
  2139. #, no-wrap
  2140. msgid "Applying for Commit Access"
  2141. msgstr ""
  2142. #. type: Plain text
  2143. #: guix-git/doc/contributing.texi:1720
  2144. msgid "When you deem it necessary, consider applying for commit access by following these steps:"
  2145. msgstr ""
  2146. #. type: enumerate
  2147. #: guix-git/doc/contributing.texi:1729
  2148. msgid "Find three committers who would vouch for you. You can view the list of committers at @url{https://savannah.gnu.org/project/memberlist.php?group=guix}. Each of them should email a statement to @email{guix-maintainers@@gnu.org} (a private alias for the collective of maintainers), signed with their OpenPGP key."
  2149. msgstr ""
  2150. #. type: enumerate
  2151. #: guix-git/doc/contributing.texi:1735
  2152. msgid "Committers are expected to have had some interactions with you as a contributor and to be able to judge whether you are sufficiently familiar with the project's practices. It is @emph{not} a judgment on the value of your work, so a refusal should rather be interpreted as ``let's try again later''."
  2153. msgstr ""
  2154. #. type: enumerate
  2155. #: guix-git/doc/contributing.texi:1742
  2156. msgid "Send @email{guix-maintainers@@gnu.org} a message stating your intent, listing the three committers who support your application, signed with the OpenPGP key you will use to sign commits, and giving its fingerprint (see below). See @uref{https://emailselfdefense.fsf.org/en/}, for an introduction to public-key cryptography with GnuPG."
  2157. msgstr ""
  2158. #. type: enumerate
  2159. #: guix-git/doc/contributing.texi:1748
  2160. msgid "Set up GnuPG such that it never uses the SHA1 hash algorithm for digital signatures, which is known to be unsafe since 2019, for instance by adding the following line to @file{~/.gnupg/gpg.conf} (@pxref{GPG Esoteric Options,,, gnupg, The GNU Privacy Guard Manual}):"
  2161. msgstr ""
  2162. #. type: example
  2163. #: guix-git/doc/contributing.texi:1751
  2164. #, no-wrap
  2165. msgid "digest-algo sha512\n"
  2166. msgstr ""
  2167. #. type: enumerate
  2168. #: guix-git/doc/contributing.texi:1756
  2169. msgid "Maintainers ultimately decide whether to grant you commit access, usually following your referrals' recommendation."
  2170. msgstr ""
  2171. #. type: cindex
  2172. #: guix-git/doc/contributing.texi:1758
  2173. #, no-wrap
  2174. msgid "OpenPGP, signed commits"
  2175. msgstr ""
  2176. #. type: enumerate
  2177. #: guix-git/doc/contributing.texi:1763
  2178. msgid "If and once you've been given access, please send a message to @email{guix-devel@@gnu.org} to say so, again signed with the OpenPGP key you will use to sign commits (do that before pushing your first commit). That way, everyone can notice and ensure you control that OpenPGP key."
  2179. msgstr ""
  2180. #. type: quotation
  2181. #: guix-git/doc/contributing.texi:1764 guix-git/doc/guix.texi:20709
  2182. #, no-wrap
  2183. msgid "Important"
  2184. msgstr "Importante"
  2185. #. type: quotation
  2186. #: guix-git/doc/contributing.texi:1766
  2187. msgid "Before you can push for the first time, maintainers must:"
  2188. msgstr ""
  2189. #. type: enumerate
  2190. #: guix-git/doc/contributing.texi:1770
  2191. msgid "add your OpenPGP key to the @code{keyring} branch;"
  2192. msgstr ""
  2193. #. type: enumerate
  2194. #: guix-git/doc/contributing.texi:1773
  2195. msgid "add your OpenPGP fingerprint to the @file{.guix-authorizations} file of the branch(es) you will commit to."
  2196. msgstr ""
  2197. #. type: enumerate
  2198. #: guix-git/doc/contributing.texi:1778
  2199. msgid "Make sure to read the rest of this section and... profit!"
  2200. msgstr ""
  2201. #. type: quotation
  2202. #: guix-git/doc/contributing.texi:1784
  2203. msgid "Maintainers are happy to give commit access to people who have been contributing for some time and have a track record---don't be shy and don't underestimate your work!"
  2204. msgstr ""
  2205. #. type: quotation
  2206. #: guix-git/doc/contributing.texi:1788
  2207. msgid "However, note that the project is working towards a more automated patch review and merging system, which, as a consequence, may lead us to have fewer people with commit access to the main repository. Stay tuned!"
  2208. msgstr ""
  2209. #. type: Plain text
  2210. #: guix-git/doc/contributing.texi:1795
  2211. msgid "All commits that are pushed to the central repository on Savannah must be signed with an OpenPGP key, and the public key should be uploaded to your user account on Savannah and to public key servers, such as @code{keys.openpgp.org}. To configure Git to automatically sign commits, run:"
  2212. msgstr ""
  2213. #. type: example
  2214. #: guix-git/doc/contributing.texi:1798
  2215. #, no-wrap
  2216. msgid ""
  2217. "git config commit.gpgsign true\n"
  2218. "\n"
  2219. msgstr ""
  2220. #. type: example
  2221. #: guix-git/doc/contributing.texi:1801
  2222. #, no-wrap
  2223. msgid ""
  2224. "# Substitute the fingerprint of your public PGP key.\n"
  2225. "git config user.signingkey CABBA6EA1DC0FF33\n"
  2226. msgstr ""
  2227. #. type: Plain text
  2228. #: guix-git/doc/contributing.texi:1804
  2229. msgid "To check that commits are signed with correct key, use:"
  2230. msgstr ""
  2231. #. type: Plain text
  2232. #: guix-git/doc/contributing.texi:1812
  2233. msgid "To avoid accidentally pushing unsigned or signed with the wrong key commits to Savannah, make sure to configure Git according to @xref{Configuring Git}."
  2234. msgstr ""
  2235. #. type: subsection
  2236. #: guix-git/doc/contributing.texi:1813
  2237. #, no-wrap
  2238. msgid "Commit Policy"
  2239. msgstr ""
  2240. #. type: Plain text
  2241. #: guix-git/doc/contributing.texi:1818
  2242. msgid "If you get commit access, please make sure to follow the policy below (discussions of the policy can take place on @email{guix-devel@@gnu.org})."
  2243. msgstr ""
  2244. #. type: Plain text
  2245. #: guix-git/doc/contributing.texi:1830
  2246. msgid "Changes should be posted to @email{guix-patches@@gnu.org}. This mailing list fills the patch-tracking database (@pxref{Tracking Bugs and Patches}). It also allows patches to be picked up and tested by the quality assurance tooling; the result of that testing eventually shows up on the dashboard at @indicateurl{https://qa.guix.gnu.org/issue/@var{ISSUE_NUMBER}}, where @var{ISSUE_NUMBER} is the number assigned by the issue tracker. Leave time for a review, without committing anything (@pxref{Submitting Patches}). If you didn’t receive any reply after one week (two weeks for more significant changes), and if you're confident, it's OK to commit."
  2247. msgstr ""
  2248. #. type: Plain text
  2249. #: guix-git/doc/contributing.texi:1836
  2250. msgid "As an exception, some changes considered ``trivial'' or ``obvious'' may be pushed directly. This includes changes to fix typos and reverting commits that caused immediate problems. This is subject to being adjusted, allowing individuals to commit directly on non-controversial changes on parts they’re familiar with."
  2251. msgstr ""
  2252. #. type: Plain text
  2253. #: guix-git/doc/contributing.texi:1841
  2254. msgid "When pushing a commit on behalf of somebody else, please add a @code{Signed-off-by} line at the end of the commit log message---e.g., with @command{git am --signoff}. This improves tracking of who did what."
  2255. msgstr ""
  2256. #. type: Plain text
  2257. #: guix-git/doc/contributing.texi:1845
  2258. msgid "When adding channel news entries (@pxref{Channels, Writing Channel News}), make sure they are well-formed by running the following command right before pushing:"
  2259. msgstr ""
  2260. #. type: example
  2261. #: guix-git/doc/contributing.texi:1848
  2262. #, no-wrap
  2263. msgid "make check-channel-news\n"
  2264. msgstr ""
  2265. #. type: subsection
  2266. #: guix-git/doc/contributing.texi:1850
  2267. #, no-wrap
  2268. msgid "Addressing Issues"
  2269. msgstr ""
  2270. #. type: Plain text
  2271. #: guix-git/doc/contributing.texi:1861
  2272. msgid "Peer review (@pxref{Submitting Patches}) and tools such as @command{guix lint} (@pxref{Invoking guix lint}) and the test suite (@pxref{Running the Test Suite}) should catch issues before they are pushed. Yet, commits that ``break'' functionality might occasionally go through. When that happens, there are two priorities: mitigating the impact, and understanding what happened to reduce the chance of similar incidents in the future. The responsibility for both these things primarily lies with those involved, but like everything this is a group effort."
  2273. msgstr ""
  2274. #. type: Plain text
  2275. #: guix-git/doc/contributing.texi:1866
  2276. msgid "Some issues can directly affect all users---for instance because they make @command{guix pull} fail or break core functionality, because they break major packages (at build time or run time), or because they introduce known security vulnerabilities."
  2277. msgstr ""
  2278. #. type: cindex
  2279. #: guix-git/doc/contributing.texi:1867
  2280. #, no-wrap
  2281. msgid "reverting commits"
  2282. msgstr ""
  2283. #. type: Plain text
  2284. #: guix-git/doc/contributing.texi:1873
  2285. msgid "The people involved in authoring, reviewing, and pushing such commit(s) should be at the forefront to mitigate their impact in a timely fashion: by pushing a followup commit to fix it (if possible), or by reverting it to leave time to come up with a proper fix, and by communicating with other developers about the problem."
  2286. msgstr ""
  2287. #. type: Plain text
  2288. #: guix-git/doc/contributing.texi:1879
  2289. msgid "If these persons are unavailable to address the issue in time, other committers are entitled to revert the commit(s), explaining in the commit log and on the mailing list what the problem was, with the goal of leaving time to the original committer, reviewer(s), and author(s) to propose a way forward."
  2290. msgstr ""
  2291. #. type: Plain text
  2292. #: guix-git/doc/contributing.texi:1888
  2293. msgid "Once the problem has been dealt with, it is the responsibility of those involved to make sure the situation is understood. If you are working to understand what happened, focus on gathering information and avoid assigning any blame. Do ask those involved to describe what happened, do not ask them to explain the situation---this would implicitly blame them, which is unhelpful. Accountability comes from a consensus about the problem, learning from it and improving processes so that it's less likely to reoccur."
  2294. msgstr ""
  2295. #. type: subsection
  2296. #: guix-git/doc/contributing.texi:1889
  2297. #, fuzzy, no-wrap
  2298. #| msgid "Log Rotation"
  2299. msgid "Commit Revocation"
  2300. msgstr "Rotação de log"
  2301. #. type: Plain text
  2302. #: guix-git/doc/contributing.texi:1896
  2303. msgid "In order to reduce the possibility of mistakes, committers will have their Savannah account removed from the Guix Savannah project and their key removed from @file{.guix-authorizations} after 12 months of inactivity; they can ask to regain commit access by emailing the maintainers, without going through the vouching process."
  2304. msgstr ""
  2305. #. type: Plain text
  2306. #: guix-git/doc/contributing.texi:1906
  2307. msgid "Maintainers@footnote{See @uref{https://guix.gnu.org/en/about} for the current list of maintainers. You can email them privately at @email{guix-maintainers@@gnu.org}.} may also revoke an individual's commit rights, as a last resort, if cooperation with the rest of the community has caused too much friction---even within the bounds of the project's code of conduct (@pxref{Contributing}). They would only do so after public or private discussion with the individual and a clear notice. Examples of behavior that hinders cooperation and could lead to such a decision include:"
  2308. msgstr ""
  2309. #. type: item
  2310. #: guix-git/doc/contributing.texi:1908
  2311. #, no-wrap
  2312. msgid "repeated violation of the commit policy stated above;"
  2313. msgstr ""
  2314. #. type: item
  2315. #: guix-git/doc/contributing.texi:1909
  2316. #, no-wrap
  2317. msgid "repeated failure to take peer criticism into account;"
  2318. msgstr ""
  2319. #. type: item
  2320. #: guix-git/doc/contributing.texi:1910
  2321. #, no-wrap
  2322. msgid "breaching trust through a series of grave incidents."
  2323. msgstr ""
  2324. #. type: Plain text
  2325. #: guix-git/doc/contributing.texi:1917
  2326. msgid "When maintainers resort to such a decision, they notify developers on @email{guix-devel@@gnu.org}; inquiries may be sent to @email{guix-maintainers@@gnu.org}. Depending on the situation, the individual may still be welcome to contribute."
  2327. msgstr ""
  2328. #. type: subsection
  2329. #: guix-git/doc/contributing.texi:1918
  2330. #, no-wrap
  2331. msgid "Helping Out"
  2332. msgstr ""
  2333. #. type: Plain text
  2334. #: guix-git/doc/contributing.texi:1925
  2335. msgid "One last thing: the project keeps moving forward because committers not only push their own awesome changes, but also offer some of their time @emph{reviewing} and pushing other people's changes. As a committer, you're welcome to use your expertise and commit rights to help other contributors, too!"
  2336. msgstr ""
  2337. #. type: cindex
  2338. #: guix-git/doc/contributing.texi:1929
  2339. #, no-wrap
  2340. msgid "update-guix-package, updating the guix package"
  2341. msgstr ""
  2342. #. type: Plain text
  2343. #: guix-git/doc/contributing.texi:1935
  2344. msgid "It is sometimes desirable to update the @code{guix} package itself (the package defined in @code{(gnu packages package-management)}), for example to make new daemon features available for use by the @code{guix-service-type} service type. In order to simplify this task, the following command can be used:"
  2345. msgstr ""
  2346. #. type: example
  2347. #: guix-git/doc/contributing.texi:1938
  2348. #, no-wrap
  2349. msgid "make update-guix-package\n"
  2350. msgstr ""
  2351. #. type: Plain text
  2352. #: guix-git/doc/contributing.texi:1945
  2353. msgid "The @code{update-guix-package} make target will use the last known @emph{commit} corresponding to @code{HEAD} in your Guix checkout, compute the hash of the Guix sources corresponding to that commit and update the @code{commit}, @code{revision} and hash of the @code{guix} package definition."
  2354. msgstr ""
  2355. #. type: Plain text
  2356. #: guix-git/doc/contributing.texi:1949
  2357. msgid "To validate that the updated @code{guix} package hashes are correct and that it can be built successfully, the following command can be run from the directory of your Guix checkout:"
  2358. msgstr ""
  2359. #. type: example
  2360. #: guix-git/doc/contributing.texi:1952
  2361. #, no-wrap
  2362. msgid "./pre-inst-env guix build guix\n"
  2363. msgstr ""
  2364. #. type: Plain text
  2365. #: guix-git/doc/contributing.texi:1957
  2366. msgid "To guard against accidentally updating the @code{guix} package to a commit that others can't refer to, a check is made that the commit used has already been pushed to the Savannah-hosted Guix git repository."
  2367. msgstr ""
  2368. #. type: Plain text
  2369. #: guix-git/doc/contributing.texi:1962
  2370. msgid "This check can be disabled, @emph{at your own peril}, by setting the @code{GUIX_ALLOW_ME_TO_USE_PRIVATE_COMMIT} environment variable. When this variable is set, the updated package source is also added to the store. This is used as part of the release process of Guix."
  2371. msgstr ""
  2372. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  2373. #. type: cindex
  2374. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  2375. #. type: item
  2376. #: guix-git/doc/contributing.texi:1963 guix-git/doc/guix.texi:4374
  2377. #: guix-git/doc/guix.texi:41492 guix-git/doc/guix.texi:41549
  2378. #, no-wrap
  2379. msgid "documentation"
  2380. msgstr ""
  2381. #. type: Plain text
  2382. #: guix-git/doc/contributing.texi:1970
  2383. msgid "Guix is documented using the Texinfo system. If you are not yet familiar with it, we accept contributions for documentation in most formats. That includes plain text, Markdown, Org, etc."
  2384. msgstr ""
  2385. #. type: Plain text
  2386. #: guix-git/doc/contributing.texi:1974
  2387. msgid "Documentation contributions can be sent to @email{guix-patches@@gnu.org}. Prepend @samp{[DOCUMENTATION]} to the subject."
  2388. msgstr ""
  2389. #. type: Plain text
  2390. #: guix-git/doc/contributing.texi:1979
  2391. msgid "When you need to make more than a simple addition to the documentation, we prefer that you send a proper patch as opposed to sending an email as described above. @xref{Submitting Patches} for more information on how to send your patches."
  2392. msgstr ""
  2393. #. type: Plain text
  2394. #: guix-git/doc/contributing.texi:1988
  2395. msgid "To modify the documentation, you need to edit @file{doc/guix.texi} and @file{doc/contributing.texi} (which contains this documentation section), or @file{doc/guix-cookbook.texi} for the cookbook. If you compiled the Guix repository before, you will have many more @file{.texi} files that are translations of these documents. Do not modify them, the translation is managed through @uref{https://translate.fedoraproject.org/projects/guix, Weblate}. @xref{Translating Guix} for more information."
  2396. msgstr ""
  2397. #. type: Plain text
  2398. #: guix-git/doc/contributing.texi:1993
  2399. msgid "To render documentation, you must first make sure that you ran @command{./configure} in your source tree (@pxref{Running Guix Before It Is Installed}). After that you can run one of the following commands:"
  2400. msgstr ""
  2401. #. type: item
  2402. #: guix-git/doc/contributing.texi:1995
  2403. #, no-wrap
  2404. msgid "@samp{make doc/guix.info} to compile the Info manual."
  2405. msgstr ""
  2406. #. type: itemize
  2407. #: guix-git/doc/contributing.texi:1997
  2408. msgid "You can check it with @command{info doc/guix.info}."
  2409. msgstr ""
  2410. #. type: item
  2411. #: guix-git/doc/contributing.texi:1997
  2412. #, no-wrap
  2413. msgid "@samp{make doc/guix.html} to compile the HTML version."
  2414. msgstr ""
  2415. #. type: itemize
  2416. #: guix-git/doc/contributing.texi:2000
  2417. msgid "You can point your browser to the relevant file in the @file{doc/guix.html} directory."
  2418. msgstr ""
  2419. #. type: item
  2420. #: guix-git/doc/contributing.texi:2000
  2421. #, no-wrap
  2422. msgid "@samp{make doc/guix-cookbook.info} for the cookbook Info manual."
  2423. msgstr ""
  2424. #. type: item
  2425. #: guix-git/doc/contributing.texi:2001
  2426. #, no-wrap
  2427. msgid "@samp{make doc/guix-cookbook.html} for the cookbook HTML version."
  2428. msgstr ""
  2429. #. type: cindex
  2430. #: guix-git/doc/contributing.texi:2004
  2431. #, no-wrap
  2432. msgid "translation"
  2433. msgstr "tradução"
  2434. #. type: cindex
  2435. #: guix-git/doc/contributing.texi:2005
  2436. #, no-wrap
  2437. msgid "l10n"
  2438. msgstr ""
  2439. #. type: cindex
  2440. #: guix-git/doc/contributing.texi:2006
  2441. #, no-wrap
  2442. msgid "i18n"
  2443. msgstr "i18n"
  2444. #. type: cindex
  2445. #: guix-git/doc/contributing.texi:2007
  2446. #, no-wrap
  2447. msgid "native language support"
  2448. msgstr ""
  2449. #. type: Plain text
  2450. #: guix-git/doc/contributing.texi:2017
  2451. msgid "Writing code and packages is not the only way to provide a meaningful contribution to Guix. Translating to a language you speak is another example of a valuable contribution you can make. This section is designed to describe the translation process. It gives you advice on how you can get involved, what can be translated, what mistakes you should avoid and what we can do to help you!"
  2452. msgstr ""
  2453. #. type: Plain text
  2454. #: guix-git/doc/contributing.texi:2023
  2455. msgid "Guix is a big project that has multiple components that can be translated. We coordinate the translation effort on a @uref{https://translate.fedoraproject.org/projects/guix/,Weblate instance} hosted by our friends at Fedora. You will need an account to submit translations."
  2456. msgstr ""
  2457. #. type: Plain text
  2458. #: guix-git/doc/contributing.texi:2030
  2459. msgid "Some of the software packaged in Guix also contain translations. We do not host a translation platform for them. If you want to translate a package provided by Guix, you should contact their developers or find the information on their website. As an example, you can find the homepage of the @code{hello} package by typing @code{guix show hello}. On the ``homepage'' line, you will see @url{https://www.gnu.org/software/hello/} as the homepage."
  2460. msgstr ""
  2461. #. type: Plain text
  2462. #: guix-git/doc/contributing.texi:2035
  2463. msgid "Many GNU and non-GNU packages can be translated on the @uref{https://translationproject.org,Translation Project}. Some projects with multiple components have their own platform. For instance, GNOME has its own platform, @uref{https://l10n.gnome.org/,Damned Lies}."
  2464. msgstr ""
  2465. #. type: Plain text
  2466. #: guix-git/doc/contributing.texi:2037
  2467. msgid "Guix has five components hosted on Weblate."
  2468. msgstr ""
  2469. #. type: item
  2470. #: guix-git/doc/contributing.texi:2039
  2471. #, no-wrap
  2472. msgid "@code{guix} contains all the strings from the Guix software (the"
  2473. msgstr ""
  2474. #. type: itemize
  2475. #: guix-git/doc/contributing.texi:2041
  2476. msgid "guided system installer, the package manager, etc), excluding packages."
  2477. msgstr ""
  2478. #. type: item
  2479. #: guix-git/doc/contributing.texi:2041
  2480. #, no-wrap
  2481. msgid "@code{packages} contains the synopsis (single-sentence description"
  2482. msgstr ""
  2483. #. type: itemize
  2484. #: guix-git/doc/contributing.texi:2043
  2485. msgid "of a package) and description (longer description) of packages in Guix."
  2486. msgstr ""
  2487. #. type: item
  2488. #: guix-git/doc/contributing.texi:2043
  2489. #, no-wrap
  2490. msgid "@code{website} contains the official Guix website, except for"
  2491. msgstr ""
  2492. #. type: itemize
  2493. #: guix-git/doc/contributing.texi:2045
  2494. msgid "blog posts and multimedia content."
  2495. msgstr ""
  2496. #. type: item
  2497. #: guix-git/doc/contributing.texi:2045
  2498. #, no-wrap
  2499. msgid "@code{documentation-manual} corresponds to this manual."
  2500. msgstr ""
  2501. #. type: item
  2502. #: guix-git/doc/contributing.texi:2046
  2503. #, no-wrap
  2504. msgid "@code{documentation-cookbook} is the component for the cookbook."
  2505. msgstr ""
  2506. #. type: subsubheading
  2507. #: guix-git/doc/contributing.texi:2049
  2508. #, fuzzy, no-wrap
  2509. #| msgid "generations"
  2510. msgid "General Directions"
  2511. msgstr "gerações"
  2512. #. type: Plain text
  2513. #: guix-git/doc/contributing.texi:2057
  2514. msgid "Once you get an account, you should be able to select a component from @uref{https://translate.fedoraproject.org/projects/guix/,the guix project}, and select a language. If your language does not appear in the list, go to the bottom and click on the ``Start new translation'' button. Select the language you want to translate to from the list, to start your new translation."
  2515. msgstr ""
  2516. #. type: Plain text
  2517. #: guix-git/doc/contributing.texi:2062
  2518. msgid "Like lots of other free software packages, Guix uses @uref{https://www.gnu.org/software/gettext,GNU Gettext} for its translations, with which translatable strings are extracted from the source code to so-called PO files."
  2519. msgstr ""
  2520. #. type: Plain text
  2521. #: guix-git/doc/contributing.texi:2073
  2522. msgid "Even though PO files are text files, changes should not be made with a text editor but with PO editing software. Weblate integrates PO editing functionality. Alternatively, translators can use any of various free-software tools for filling in translations, of which @uref{https://poedit.net/,Poedit} is one example, and (after logging in) @uref{https://docs.weblate.org/en/latest/user/files.html,upload} the changed file. There is also a special @uref{https://www.emacswiki.org/emacs/PoMode,PO editing mode} for users of GNU Emacs. Over time translators find out what software they are happy with and what features they need."
  2523. msgstr ""
  2524. #. type: Plain text
  2525. #: guix-git/doc/contributing.texi:2078
  2526. msgid "On Weblate, you will find various links to the editor, that will show various subsets (or all) of the strings. Have a look around and at the @uref{https://docs.weblate.org/en/latest/,documentation} to familiarize yourself with the platform."
  2527. msgstr ""
  2528. #. type: subsubheading
  2529. #: guix-git/doc/contributing.texi:2079
  2530. #, no-wrap
  2531. msgid "Translation Components"
  2532. msgstr ""
  2533. #. type: Plain text
  2534. #: guix-git/doc/contributing.texi:2084
  2535. msgid "In this section, we provide more detailed guidance on the translation process, as well as details on what you should or should not do. When in doubt, please contact us, we will be happy to help!"
  2536. msgstr ""
  2537. #. type: item
  2538. #: guix-git/doc/contributing.texi:2086 guix-git/doc/guix.texi:10973
  2539. #, no-wrap
  2540. msgid "guix"
  2541. msgstr "guix"
  2542. #. type: table
  2543. #: guix-git/doc/contributing.texi:2091
  2544. msgid "Guix is written in the Guile programming language, and some strings contain special formatting that is interpreted by Guile. These special formatting should be highlighted by Weblate. They start with @code{~} followed by one or more characters."
  2545. msgstr ""
  2546. #. type: table
  2547. #: guix-git/doc/contributing.texi:2100
  2548. msgid "When printing the string, Guile replaces the special formatting symbols with actual values. For instance, the string @samp{ambiguous package specification `~a'} would be substituted to contain said package specification instead of @code{~a}. To properly translate this string, you must keep the formatting code in your translation, although you can place it where it makes sense in your language. For instance, the French translation says @samp{spécification du paquet « ~a » ambiguë} because the adjective needs to be placed in the end of the sentence."
  2549. msgstr ""
  2550. #. type: table
  2551. #: guix-git/doc/contributing.texi:2104
  2552. msgid "If there are multiple formatting symbols, make sure to respect the order. Guile does not know in which order you intended the string to be read, so it will substitute the symbols in the same order as the English sentence."
  2553. msgstr ""
  2554. #. type: table
  2555. #: guix-git/doc/contributing.texi:2112
  2556. msgid "As an example, you cannot translate @samp{package '~a' has been superseded by '~a'} by @samp{'~a' superseeds package '~a'}, because the meaning would be reversed. If @var{foo} is superseded by @var{bar}, the translation would read @samp{'foo' superseeds package 'bar'}. To work around this problem, it is possible to use more advanced formatting to select a given piece of data, instead of following the default English order. @xref{Formatted Output,,, guile, GNU Guile Reference Manual}, for more information on formatting in Guile."
  2557. msgstr ""
  2558. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  2559. #. type: item
  2560. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  2561. #. type: cindex
  2562. #: guix-git/doc/contributing.texi:2113 guix-git/doc/guix.texi:3276
  2563. #, no-wrap
  2564. msgid "packages"
  2565. msgstr "pacotes"
  2566. #. type: table
  2567. #: guix-git/doc/contributing.texi:2118
  2568. msgid "Package descriptions occasionally contain Texinfo markup (@pxref{Synopses and Descriptions}). Texinfo markup looks like @samp{@@code@{rm -rf@}}, @samp{@@emph@{important@}}, etc. When translating, please leave markup as is."
  2569. msgstr ""
  2570. #. type: table
  2571. #: guix-git/doc/contributing.texi:2127
  2572. msgid "The characters after ``@@'' form the name of the markup, and the text between ``@{'' and ``@}'' is its content. In general, you should not translate the content of markup like @code{@@code}, as it contains literal code that do not change with language. You can translate the content of formatting markup such as @code{@@emph}, @code{@@i}, @code{@@itemize}, @code{@@item}. However, do not translate the name of the markup, or it will not be recognized. Do not translate the word after @code{@@end}, it is the name of the markup that is closed at this position (e.g.@: @code{@@itemize ... @@end itemize})."
  2573. msgstr ""
  2574. #. type: item
  2575. #: guix-git/doc/contributing.texi:2128
  2576. #, no-wrap
  2577. msgid "documentation-manual and documentation-cookbook"
  2578. msgstr ""
  2579. #. type: table
  2580. #: guix-git/doc/contributing.texi:2132
  2581. msgid "The first step to ensure a successful translation of the manual is to find and translate the following strings @emph{first}:"
  2582. msgstr ""
  2583. #. type: item
  2584. #: guix-git/doc/contributing.texi:2134
  2585. #, no-wrap
  2586. msgid "@code{version.texi}: Translate this string as @code{version-xx.texi},"
  2587. msgstr ""
  2588. #. type: itemize
  2589. #: guix-git/doc/contributing.texi:2137
  2590. msgid "where @code{xx} is your language code (the one shown in the URL on weblate)."
  2591. msgstr ""
  2592. #. type: item
  2593. #: guix-git/doc/contributing.texi:2137
  2594. #, no-wrap
  2595. msgid "@code{contributing.texi}: Translate this string as"
  2596. msgstr ""
  2597. #. type: itemize
  2598. #: guix-git/doc/contributing.texi:2139
  2599. msgid "@code{contributing.xx.texi}, where @code{xx} is the same language code."
  2600. msgstr ""
  2601. #. type: item
  2602. #: guix-git/doc/contributing.texi:2139
  2603. #, no-wrap
  2604. msgid "@code{Top}: Do not translate this string, it is important for Texinfo."
  2605. msgstr ""
  2606. #. type: itemize
  2607. #: guix-git/doc/contributing.texi:2142
  2608. msgid "If you translate it, the document will be empty (missing a Top node). Please look for it, and register @code{Top} as its translation."
  2609. msgstr ""
  2610. #. type: table
  2611. #: guix-git/doc/contributing.texi:2147
  2612. msgid "Translating these strings first ensure we can include your translation in the guix repository without breaking the make process or the @command{guix pull} machinery."
  2613. msgstr ""
  2614. #. type: table
  2615. #: guix-git/doc/contributing.texi:2154
  2616. msgid "The manual and the cookbook both use Texinfo. As for @code{packages}, please keep Texinfo markup as is. There are more possible markup types in the manual than in the package descriptions. In general, do not translate the content of @code{@@code}, @code{@@file}, @code{@@var}, @code{@@value}, etc. You should translate the content of formatting markup such as @code{@@emph}, @code{@@i}, etc."
  2617. msgstr ""
  2618. #. type: table
  2619. #: guix-git/doc/contributing.texi:2162
  2620. msgid "The manual contains sections that can be referred to by name by @code{@@ref}, @code{@@xref} and @code{@@pxref}. We have a mechanism in place so you do not have to translate their content. If you keep the English title, we will automatically replace it with your translation of that title. This ensures that Texinfo will always be able to find the node. If you decide to change the translation of the title, the references will automatically be updated and you will not have to update them all yourself."
  2621. msgstr ""
  2622. #. type: table
  2623. #: guix-git/doc/contributing.texi:2172
  2624. msgid "When translating references from the cookbook to the manual, you need to replace the name of the manual and the name of the section. For instance, to translate @code{@@pxref@{Defining Packages,,, guix, GNU Guix Reference Manual@}}, you would replace @code{Defining Packages} with the title of that section in the translated manual @emph{only} if that title is translated. If the title is not translated in your language yet, do not translate it here, or the link will be broken. Replace @code{guix} with @code{guix.xx} where @code{xx} is your language code. @code{GNU Guix Reference Manual} is the text of the link. You can translate it however you wish."
  2625. msgstr ""
  2626. #. type: item
  2627. #: guix-git/doc/contributing.texi:2173
  2628. #, fuzzy, no-wrap
  2629. #| msgid "official website"
  2630. msgid "website"
  2631. msgstr "website"
  2632. #. type: table
  2633. #: guix-git/doc/contributing.texi:2180
  2634. msgid "The website pages are written using SXML, an s-expression version of HTML, the basic language of the web. We have a process to extract translatable strings from the source, and replace complex s-expressions with a more familiar XML markup, where each markup is numbered. Translators can arbitrarily change the ordering, as in the following example."
  2635. msgstr ""
  2636. #. type: example
  2637. #: guix-git/doc/contributing.texi:2187
  2638. #, no-wrap
  2639. msgid ""
  2640. "#. TRANSLATORS: Defining Packages is a section name\n"
  2641. "#. in the English (en) manual.\n"
  2642. "#: apps/base/templates/about.scm:64\n"
  2643. "msgid \"Packages are <1>defined<1.1>en</1.1><1.2>Defining-Packages.html</1.2></1> as native <2>Guile</2> modules.\"\n"
  2644. "msgstr \"Pakete werden als reine <2>Guile</2>-Module <1>definiert<1.1>de</1.1><1.2>Pakete-definieren.html</1.2></1>.\"\n"
  2645. msgstr ""
  2646. #. type: table
  2647. #: guix-git/doc/contributing.texi:2190
  2648. msgid "Note that you need to include the same markups. You cannot skip any."
  2649. msgstr ""
  2650. #. type: Plain text
  2651. #: guix-git/doc/contributing.texi:2198
  2652. msgid "In case you make a mistake, the component might fail to build properly with your language, or even make guix pull fail. To prevent that, we have a process in place to check the content of the files before pushing to our repository. We will not be able to update the translation for your language in Guix, so we will notify you (through weblate and/or by email) so you get a chance to fix the issue."
  2653. msgstr ""
  2654. #. type: subsubheading
  2655. #: guix-git/doc/contributing.texi:2199
  2656. #, no-wrap
  2657. msgid "Outside of Weblate"
  2658. msgstr ""
  2659. #. type: Plain text
  2660. #: guix-git/doc/contributing.texi:2202
  2661. msgid "Currently, some parts of Guix cannot be translated on Weblate, help wanted!"
  2662. msgstr ""
  2663. #. type: item
  2664. #: guix-git/doc/contributing.texi:2204
  2665. #, no-wrap
  2666. msgid "@command{guix pull} news can be translated in @file{news.scm}, but is not"
  2667. msgstr ""
  2668. #. type: itemize
  2669. #: guix-git/doc/contributing.texi:2210
  2670. msgid "available from Weblate. If you want to provide a translation, you can prepare a patch as described above, or simply send us your translation with the name of the news entry you translated and your language. @xref{Writing Channel News}, for more information about channel news."
  2671. msgstr ""
  2672. #. type: item
  2673. #: guix-git/doc/contributing.texi:2210
  2674. #, no-wrap
  2675. msgid "Guix blog posts cannot currently be translated."
  2676. msgstr ""
  2677. #. type: item
  2678. #: guix-git/doc/contributing.texi:2211
  2679. #, no-wrap
  2680. msgid "The installer script (for foreign distributions) is entirely in English."
  2681. msgstr ""
  2682. #. type: item
  2683. #: guix-git/doc/contributing.texi:2212
  2684. #, no-wrap
  2685. msgid "Some of the libraries Guix uses cannot be translated or are translated"
  2686. msgstr ""
  2687. #. type: itemize
  2688. #: guix-git/doc/contributing.texi:2214
  2689. msgid "outside of the Guix project. Guile itself is not internationalized."
  2690. msgstr ""
  2691. #. type: item
  2692. #: guix-git/doc/contributing.texi:2214
  2693. #, no-wrap
  2694. msgid "Other manuals linked from this manual or the cookbook might not be"
  2695. msgstr ""
  2696. #. type: itemize
  2697. #: guix-git/doc/contributing.texi:2216
  2698. msgid "translated."
  2699. msgstr ""
  2700. #. type: subsubheading
  2701. #: guix-git/doc/contributing.texi:2218
  2702. #, no-wrap
  2703. msgid "Conditions for Inclusion"
  2704. msgstr ""
  2705. #. type: Plain text
  2706. #: guix-git/doc/contributing.texi:2225
  2707. msgid "There are no conditions for adding new translations of the @code{guix} and @code{guix-packages} components, other than they need at least one translated string. New languages will be added to Guix as soon as possible. The files may be removed if they fall out of sync and have no more translated strings."
  2708. msgstr ""
  2709. #. type: Plain text
  2710. #: guix-git/doc/contributing.texi:2231
  2711. msgid "Given that the web site is dedicated to new users, we want its translation to be as complete as possible before we include it in the language menu. For a new language to be included, it needs to reach at least 80% completion. When a language is included, it may be removed in the future if it stays out of sync and falls below 60% completion."
  2712. msgstr ""
  2713. #. type: Plain text
  2714. #: guix-git/doc/contributing.texi:2239
  2715. msgid "The manual and cookbook are automatically added in the default compilation target. Every time we synchronize translations, developers need to recompile all the translated manuals and cookbooks. This is useless for what is essentially the English manual or cookbook. Therefore, we will only include a new language when it reaches 10% completion in the component. When a language is included, it may be removed in the future if it stays out of sync and falls below 5% completion."
  2716. msgstr ""
  2717. #. type: subsubheading
  2718. #: guix-git/doc/contributing.texi:2240
  2719. #, no-wrap
  2720. msgid "Translation Infrastructure"
  2721. msgstr ""
  2722. #. type: Plain text
  2723. #: guix-git/doc/contributing.texi:2251
  2724. msgid "Weblate is backed by a git repository from which it discovers new strings to translate and pushes new and updated translations. Normally, it would be enough to give it commit access to our repositories. However, we decided to use a separate repository for two reasons. First, we would have to give Weblate commit access and authorize its signing key, but we do not trust it in the same way we trust guix developers, especially since we do not manage the instance ourselves. Second, if translators mess something up, it can break the generation of the website and/or guix pull for all our users, independently of their language."
  2725. msgstr ""
  2726. #. type: Plain text
  2727. #: guix-git/doc/contributing.texi:2255
  2728. msgid "For these reasons, we use a dedicated repository to host translations, and we synchronize it with our guix and artworks repositories after checking no issue was introduced in the translation."
  2729. msgstr ""
  2730. #. type: Plain text
  2731. #: guix-git/doc/contributing.texi:2261
  2732. msgid "Developers can download the latest PO files from weblate in the Guix repository by running the @command{make download-po} command. It will automatically download the latest files from weblate, reformat them to a canonical form, and check they do not contain issues. The manual needs to be built again to check for additional issues that might crash Texinfo."
  2733. msgstr ""
  2734. #. type: Plain text
  2735. #: guix-git/doc/contributing.texi:2265
  2736. msgid "Before pushing new translation files, developers should add them to the make machinery so the translations are actually available. The process differs for the various components."
  2737. msgstr ""
  2738. #. type: item
  2739. #: guix-git/doc/contributing.texi:2267
  2740. #, no-wrap
  2741. msgid "New po files for the @code{guix} and @code{packages} components must"
  2742. msgstr ""
  2743. #. type: itemize
  2744. #: guix-git/doc/contributing.texi:2270
  2745. msgid "be registered by adding the new language to @file{po/guix/LINGUAS} or @file{po/packages/LINGUAS}."
  2746. msgstr ""
  2747. #. type: item
  2748. #: guix-git/doc/contributing.texi:2270
  2749. #, no-wrap
  2750. msgid "New po files for the @code{documentation-manual} component must be"
  2751. msgstr ""
  2752. #. type: itemize
  2753. #: guix-git/doc/contributing.texi:2276
  2754. msgid "registered by adding the file name to @code{DOC_PO_FILES} in @file{po/doc/local.mk}, the generated @file{%D%/guix.xx.texi} manual to @code{info_TEXINFOS} in @file{doc/local.mk} and the generated @file{%D%/guix.xx.texi} and @file{%D%/contributing.xx.texi} to @code{TRANSLATED_INFO} also in @file{doc/local.mk}."
  2755. msgstr ""
  2756. #. type: item
  2757. #: guix-git/doc/contributing.texi:2276
  2758. #, no-wrap
  2759. msgid "New po files for the @code{documentation-cookbook} component must be"
  2760. msgstr ""
  2761. #. type: itemize
  2762. #: guix-git/doc/contributing.texi:2282
  2763. msgid "registered by adding the file name to @code{DOC_COOKBOOK_PO_FILES} in @file{po/doc/local.mk}, the generated @file{%D%/guix-cookbook.xx.texi} manual to @code{info_TEXINFOS} in @file{doc/local.mk} and the generated @file{%D%/guix-cookbook.xx.texi} to @code{TRANSLATED_INFO} also in @file{doc/local.mk}."
  2764. msgstr ""
  2765. #. type: item
  2766. #: guix-git/doc/contributing.texi:2282
  2767. #, no-wrap
  2768. msgid "New po files for the @code{website} component must be added to the"
  2769. msgstr ""
  2770. #. type: itemize
  2771. #: guix-git/doc/contributing.texi:2287
  2772. msgid "@code{guix-artwork} repository, in @file{website/po/}. @file{website/po/LINGUAS} and @file{website/po/ietf-tags.scm} must be updated accordingly (see @file{website/i18n-howto.txt} for more information on the process)."
  2773. msgstr ""
  2774. #. type: Plain text
  2775. #: guix-git/doc/guix.texi:7
  2776. #, fuzzy
  2777. msgid "@documentencoding UTF-8"
  2778. msgstr ""
  2779. "@documentencoding UTF-8\n"
  2780. "@documentlanguage pt_BR\n"
  2781. "@frenchspacing on"
  2782. #. type: title
  2783. #: guix-git/doc/guix.texi:7 guix-git/doc/guix.texi:147
  2784. #, no-wrap
  2785. msgid "GNU Guix Reference Manual"
  2786. msgstr "Manual de referência do GNU Guix"
  2787. #. type: include
  2788. #: guix-git/doc/guix.texi:10
  2789. #, no-wrap
  2790. msgid "version.texi"
  2791. msgstr "version-pt_BR.texi"
  2792. #. type: copying
  2793. #: guix-git/doc/guix.texi:119
  2794. msgid "Copyright @copyright{} 2012-2023 Ludovic Courtès@* Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@* Copyright @copyright{} 2013 Nikita Karetnikov@* Copyright @copyright{} 2014, 2015, 2016 Alex Kost@* Copyright @copyright{} 2015, 2016 Mathieu Lirzin@* Copyright @copyright{} 2014 Pierre-Antoine Rault@* Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@* Copyright @copyright{} 2015, 2016, 2017, 2019, 2020, 2021, 2023 Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018, 2021 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright @copyright{} 2016, 2017 Nikita Gillmann@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Jan Nieuwenhuizen@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Christopher Baines@* Copyright @copyright{} 2017, 2018, 2019 Clément Lassieur@* Copyright @copyright{} 2017, 2018, 2020, 2021, 2022 Mathieu Othacehe@* Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017, 2018 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017, 2021 Christine Lemmer-Webber@* Copyright @copyright{} 2017, 2018, 2019, 2020, 2021, 2022 Marius Bakke@* Copyright @copyright{} 2017, 2019, 2020, 2022 Hartmut Goebel@* Copyright @copyright{} 2017, 2019, 2020, 2021, 2022, 2023 Maxim Cournoyer@* Copyright @copyright{} 2017–2022 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018, 2019, 2020 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018, 2021 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby@* Copyright @copyright{} 2018, 2019 Gábor Boskovits@* Copyright @copyright{} 2018, 2019, 2020, 2022, 2023 Florian Pelz@* Copyright @copyright{} 2018 Laura Lazzati@* Copyright @copyright{} 2018 Alex Vong@* Copyright @copyright{} 2019 Josh Holland@* Copyright @copyright{} 2019, 2020 Diego Nicola Barbato@* Copyright @copyright{} 2019 Ivan Petkov@* Copyright @copyright{} 2019 Jakob L. Kreuze@* Copyright @copyright{} 2019 Kyle Andrews@* Copyright @copyright{} 2019 Alex Griffin@* Copyright @copyright{} 2019, 2020, 2021, 2022 Guillaume Le Vaillant@* Copyright @copyright{} 2020 Liliana Marie Prikler@* Copyright @copyright{} 2019, 2020, 2021, 2022, 2023 Simon Tournier@* Copyright @copyright{} 2020 Wiktor Żelazny@* Copyright @copyright{} 2020 Damien Cassou@* Copyright @copyright{} 2020 Jakub Kądziołka@* Copyright @copyright{} 2020 Jack Hill@* Copyright @copyright{} 2020 Naga Malleswari@* Copyright @copyright{} 2020, 2021 Brice Waegeneire@* Copyright @copyright{} 2020 R Veera Kumar@* Copyright @copyright{} 2020, 2021, 2022 Pierre Langlois@* Copyright @copyright{} 2020 pinoaffe@* Copyright @copyright{} 2020, 2023 André Batista@* Copyright @copyright{} 2020, 2021 Alexandru-Sergiu Marton@* Copyright @copyright{} 2020 raingloom@* Copyright @copyright{} 2020 Daniel Brooks@* Copyright @copyright{} 2020 John Soo@* Copyright @copyright{} 2020 Jonathan Brielmaier@* Copyright @copyright{} 2020 Edgar Vincent@* Copyright @copyright{} 2021, 2022 Maxime Devos@* Copyright @copyright{} 2021 B. Wilson@* Copyright @copyright{} 2021 Xinglu Chen@* Copyright @copyright{} 2021 Raghav Gururajan@* Copyright @copyright{} 2021 Domagoj Stolfa@* Copyright @copyright{} 2021 Hui Lu@* Copyright @copyright{} 2021 pukkamustard@* Copyright @copyright{} 2021 Alice Brenon@* Copyright @copyright{} 2021, 2022 Josselin Poiret@* Copyright @copyright{} 2021 muradm@* Copyright @copyright{} 2021, 2022 Andrew Tropin@* Copyright @copyright{} 2021 Sarah Morgensen@* Copyright @copyright{} 2022 Remco van 't Veer@* Copyright @copyright{} 2022 Aleksandr Vityazev@* Copyright @copyright{} 2022 Philip M@sup{c}Grath@* Copyright @copyright{} 2022 Karl Hallsby@* Copyright @copyright{} 2022 Justin Veilleux@* Copyright @copyright{} 2022 Reily Siegel@* Copyright @copyright{} 2022 Simon Streit@* Copyright @copyright{} 2022 (@* Copyright @copyright{} 2022 John Kehayias@* Copyright @copyright{} 2022⁠–⁠2023 Bruno Victal@* Copyright @copyright{} 2022 Ivan Vilata-i-Balaguer@* Copyright @copyright{} 2023 Giacomo Leidi@* Copyright @copyright{} 2022 Antero Mejr@* Copyright @copyright{} 2023 Karl Hallsby@* Copyright @copyright{} 2023 Nathaniel Nicandro@* Copyright @copyright{} 2023 Tanguy Le Carrour@*"
  2795. msgstr ""
  2796. #. type: copying
  2797. #: guix-git/doc/guix.texi:126
  2798. msgid "Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License''."
  2799. msgstr "Permissão concedida para copiar, distribuir e/ou modificar este documento sob os termos da Licença de Documentação Livre GNU, Versão 1.3 ou qualquer versão mais recente publicada pela Free Software Foundation; sem Seções Invariantes, Textos de Capa Frontal, e sem Textos de Contracapa. Uma cópia da licença está incluída na seção intitulada ``GNU Free Documentation License''."
  2800. #. type: dircategory
  2801. #: guix-git/doc/guix.texi:128
  2802. #, no-wrap
  2803. msgid "System administration"
  2804. msgstr "Administração de Sistemas"
  2805. #. type: menuentry
  2806. #: guix-git/doc/guix.texi:136
  2807. msgid "Guix: (guix)"
  2808. msgstr "Guix: (guix)"
  2809. #. type: menuentry
  2810. #: guix-git/doc/guix.texi:136
  2811. msgid "Manage installed software and system configuration."
  2812. msgstr "Gerencie softwares instalados e configuração do sistema."
  2813. #. type: menuentry
  2814. #: guix-git/doc/guix.texi:136
  2815. msgid "guix package: (guix)Invoking guix package"
  2816. msgstr "guix package: (guix)Invocando guix package"
  2817. #. type: menuentry
  2818. #: guix-git/doc/guix.texi:136
  2819. msgid "Installing, removing, and upgrading packages."
  2820. msgstr "Instalando, removendo e atualizando pacotes."
  2821. #. type: menuentry
  2822. #: guix-git/doc/guix.texi:136
  2823. msgid "guix gc: (guix)Invoking guix gc"
  2824. msgstr "guix gc: (guix)Invocando guix gc"
  2825. #. type: menuentry
  2826. #: guix-git/doc/guix.texi:136
  2827. msgid "Reclaiming unused disk space."
  2828. msgstr "Recuperando espaço em disco não utilizado."
  2829. #. type: menuentry
  2830. #: guix-git/doc/guix.texi:136
  2831. msgid "guix pull: (guix)Invoking guix pull"
  2832. msgstr "guix pull: (guix)Invocando guix pull"
  2833. #. type: menuentry
  2834. #: guix-git/doc/guix.texi:136
  2835. msgid "Update the list of available packages."
  2836. msgstr "Atualize a lista de pacotes disponíveis."
  2837. #. type: menuentry
  2838. #: guix-git/doc/guix.texi:136
  2839. msgid "guix system: (guix)Invoking guix system"
  2840. msgstr "guix system: (guix)Invocando guix system"
  2841. #. type: menuentry
  2842. #: guix-git/doc/guix.texi:136
  2843. msgid "Manage the operating system configuration."
  2844. msgstr "Gerencie a configuração do sistema operacional."
  2845. #. type: menuentry
  2846. #: guix-git/doc/guix.texi:136
  2847. msgid "guix deploy: (guix)Invoking guix deploy"
  2848. msgstr ""
  2849. #. type: menuentry
  2850. #: guix-git/doc/guix.texi:136
  2851. msgid "Manage operating system configurations for remote hosts."
  2852. msgstr ""
  2853. #. type: dircategory
  2854. #: guix-git/doc/guix.texi:138
  2855. #, no-wrap
  2856. msgid "Software development"
  2857. msgstr "Desenvolvimento de software"
  2858. #. type: menuentry
  2859. #: guix-git/doc/guix.texi:144
  2860. #, fuzzy
  2861. #| msgid "guix pull: (guix)Invoking guix pull"
  2862. msgid "guix shell: (guix)Invoking guix shell"
  2863. msgstr "guix pull: (guix)Invocando guix pull"
  2864. #. type: menuentry
  2865. #: guix-git/doc/guix.texi:144
  2866. #, fuzzy
  2867. #| msgid "Creating software bundles."
  2868. msgid "Creating software environments."
  2869. msgstr "Criando pacotes de software."
  2870. #. type: menuentry
  2871. #: guix-git/doc/guix.texi:144
  2872. msgid "guix environment: (guix)Invoking guix environment"
  2873. msgstr "guix environment: (guix)Invocando guix environment"
  2874. #. type: menuentry
  2875. #: guix-git/doc/guix.texi:144
  2876. msgid "Building development environments with Guix."
  2877. msgstr "Compilando ambientes de desenvolvimento com Guix."
  2878. #. type: menuentry
  2879. #: guix-git/doc/guix.texi:144
  2880. msgid "guix build: (guix)Invoking guix build"
  2881. msgstr "guix build: (guix)Invocando guix build"
  2882. #. type: menuentry
  2883. #: guix-git/doc/guix.texi:144
  2884. msgid "Building packages."
  2885. msgstr "Compilando pacotes."
  2886. #. type: menuentry
  2887. #: guix-git/doc/guix.texi:144
  2888. msgid "guix pack: (guix)Invoking guix pack"
  2889. msgstr "guix pack: (guix)Invocando guix pack"
  2890. #. type: menuentry
  2891. #: guix-git/doc/guix.texi:144
  2892. msgid "Creating binary bundles."
  2893. msgstr "Criando pacotes de binários."
  2894. #. type: subtitle
  2895. #: guix-git/doc/guix.texi:148
  2896. #, no-wrap
  2897. msgid "Using the GNU Guix Functional Package Manager"
  2898. msgstr "Usando o Gerenciador de Pacotes Funcional GNU Guix"
  2899. #. type: author
  2900. #: guix-git/doc/guix.texi:149
  2901. #, no-wrap
  2902. msgid "The GNU Guix Developers"
  2903. msgstr "Os desenvolvedores do GNU Guix"
  2904. #. type: titlepage
  2905. #: guix-git/doc/guix.texi:155
  2906. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  2907. msgstr "Edição @value{EDITION} @* @value{UPDATED} @*"
  2908. #. type: node
  2909. #: guix-git/doc/guix.texi:162
  2910. #, no-wrap
  2911. msgid "Top"
  2912. msgstr "Top"
  2913. #. type: top
  2914. #: guix-git/doc/guix.texi:163
  2915. #, no-wrap
  2916. msgid "GNU Guix"
  2917. msgstr "GNU Guix"
  2918. #. type: Plain text
  2919. #: guix-git/doc/guix.texi:167
  2920. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  2921. msgstr "Esse documento descreve Guix versão @value{VERSION}, uma ferramenta de gerenciamento de pacotes funcional escrita para o sistema GNU."
  2922. #. You can replace the following paragraph with information on
  2923. #. type: Plain text
  2924. #: guix-git/doc/guix.texi:180
  2925. msgid "This manual is also available in Simplified Chinese (@pxref{Top,,, guix.zh_CN, GNU Guix参考手册}), French (@pxref{Top,,, guix.fr, Manuel de référence de GNU Guix}), German (@pxref{Top,,, guix.de, Referenzhandbuch zu GNU Guix}), Spanish (@pxref{Top,,, guix.es, Manual de referencia de GNU Guix}), Brazilian Portuguese (@pxref{Top,,, guix.pt_BR, Manual de referência do GNU Guix}), and Russian (@pxref{Top,,, guix.ru, Руководство GNU Guix}). If you would like to translate it in your native language, consider joining @uref{https://translate.fedoraproject.org/projects/guix/documentation-manual, Weblate} (@pxref{Translating Guix})."
  2926. msgstr ""
  2927. #. type: chapter
  2928. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:214
  2929. #: guix-git/doc/guix.texi:478 guix-git/doc/guix.texi:479
  2930. #, no-wrap
  2931. msgid "Introduction"
  2932. msgstr "Introdução"
  2933. #. type: menuentry
  2934. #: guix-git/doc/guix.texi:204
  2935. msgid "What is Guix about?"
  2936. msgstr "Sobre o que é o Guix?"
  2937. #. type: chapter
  2938. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:219
  2939. #: guix-git/doc/guix.texi:675 guix-git/doc/guix.texi:676
  2940. #, no-wrap
  2941. msgid "Installation"
  2942. msgstr "Instalação"
  2943. #. type: menuentry
  2944. #: guix-git/doc/guix.texi:204
  2945. msgid "Installing Guix."
  2946. msgstr "Instalando o Guix."
  2947. #. type: chapter
  2948. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:235
  2949. #: guix-git/doc/guix.texi:2215 guix-git/doc/guix.texi:2216
  2950. #, no-wrap
  2951. msgid "System Installation"
  2952. msgstr "Instalação do sistema"
  2953. #. type: menuentry
  2954. #: guix-git/doc/guix.texi:204
  2955. msgid "Installing the whole operating system."
  2956. msgstr "Instalando todo o sistema operacional."
  2957. #. type: chapter
  2958. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:252
  2959. #: guix-git/doc/guix.texi:2949 guix-git/doc/guix.texi:2950
  2960. #, no-wrap
  2961. msgid "System Troubleshooting Tips"
  2962. msgstr ""
  2963. #. type: menuentry
  2964. #: guix-git/doc/guix.texi:204
  2965. msgid "When things don't go as planned."
  2966. msgstr ""
  2967. #. type: chapter
  2968. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:3065
  2969. #: guix-git/doc/guix.texi:3066
  2970. #, no-wrap
  2971. msgid "Getting Started"
  2972. msgstr "Primeiros passos"
  2973. #. type: menuentry
  2974. #: guix-git/doc/guix.texi:204
  2975. msgid "Your first steps."
  2976. msgstr ""
  2977. #. type: chapter
  2978. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:256
  2979. #: guix-git/doc/guix.texi:3273 guix-git/doc/guix.texi:3274
  2980. #, no-wrap
  2981. msgid "Package Management"
  2982. msgstr "Gerenciamento de pacote"
  2983. #. type: menuentry
  2984. #: guix-git/doc/guix.texi:204
  2985. msgid "Package installation, upgrade, etc."
  2986. msgstr "Instalação de pacote, atualização, etc."
  2987. #. type: chapter
  2988. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:279
  2989. #: guix-git/doc/guix.texi:5390 guix-git/doc/guix.texi:5391
  2990. #, no-wrap
  2991. msgid "Channels"
  2992. msgstr "Canais"
  2993. #. type: menuentry
  2994. #: guix-git/doc/guix.texi:204
  2995. msgid "Customizing the package collection."
  2996. msgstr "Personalizando a coleção de pacotes."
  2997. #. type: chapter
  2998. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:293
  2999. #: guix-git/doc/guix.texi:5966 guix-git/doc/guix.texi:5967
  3000. #, no-wrap
  3001. msgid "Development"
  3002. msgstr "Desenvolvimento"
  3003. #. type: menuentry
  3004. #: guix-git/doc/guix.texi:204
  3005. msgid "Guix-aided software development."
  3006. msgstr "Desenvolvimento de software auxiliado pelo Guix."
  3007. #. type: chapter
  3008. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:301
  3009. #: guix-git/doc/guix.texi:7442 guix-git/doc/guix.texi:7443
  3010. #, no-wrap
  3011. msgid "Programming Interface"
  3012. msgstr "Interface de programação"
  3013. #. type: menuentry
  3014. #: guix-git/doc/guix.texi:204
  3015. msgid "Using Guix in Scheme."
  3016. msgstr "Usando o Guix no Scheme."
  3017. #. type: chapter
  3018. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:323
  3019. #: guix-git/doc/guix.texi:12467 guix-git/doc/guix.texi:12468
  3020. #, no-wrap
  3021. msgid "Utilities"
  3022. msgstr "Utilitários"
  3023. #. type: menuentry
  3024. #: guix-git/doc/guix.texi:204
  3025. msgid "Package management commands."
  3026. msgstr "Comandos de gerenciamento de pacote."
  3027. #. type: chapter
  3028. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:349
  3029. #: guix-git/doc/guix.texi:16250 guix-git/doc/guix.texi:16251
  3030. #, no-wrap
  3031. msgid "Foreign Architectures"
  3032. msgstr ""
  3033. #. type: menuentry
  3034. #: guix-git/doc/guix.texi:204
  3035. msgid "Build for foreign architectures."
  3036. msgstr ""
  3037. #. type: chapter
  3038. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:354
  3039. #: guix-git/doc/guix.texi:16412 guix-git/doc/guix.texi:16413
  3040. #, no-wrap
  3041. msgid "System Configuration"
  3042. msgstr "Configuração do sistema"
  3043. #. type: menuentry
  3044. #: guix-git/doc/guix.texi:204
  3045. msgid "Configuring the operating system."
  3046. msgstr "Configurando o sistema operacional."
  3047. #. type: chapter
  3048. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:426
  3049. #: guix-git/doc/guix.texi:42058 guix-git/doc/guix.texi:42059
  3050. #, fuzzy, no-wrap
  3051. #| msgid "System Configuration"
  3052. msgid "Home Configuration"
  3053. msgstr "Configuração do sistema"
  3054. #. type: menuentry
  3055. #: guix-git/doc/guix.texi:204
  3056. #, fuzzy
  3057. #| msgid "Configuring the boot loader."
  3058. msgid "Configuring the home environment."
  3059. msgstr "Configurando o \"bootloader\"."
  3060. #. type: chapter
  3061. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:44076
  3062. #: guix-git/doc/guix.texi:44077
  3063. #, no-wrap
  3064. msgid "Documentation"
  3065. msgstr "Documentação"
  3066. #. type: menuentry
  3067. #: guix-git/doc/guix.texi:204
  3068. msgid "Browsing software user manuals."
  3069. msgstr "Navegando por manuais do usuário do software."
  3070. #. type: chapter
  3071. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:449
  3072. #: guix-git/doc/guix.texi:44142 guix-git/doc/guix.texi:44143
  3073. #, no-wrap
  3074. msgid "Platforms"
  3075. msgstr ""
  3076. #. type: menuentry
  3077. #: guix-git/doc/guix.texi:204
  3078. #, fuzzy
  3079. #| msgid "Defining new packages."
  3080. msgid "Defining platforms."
  3081. msgstr "Definindo novos pacotes."
  3082. #. type: node
  3083. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:44251
  3084. #, no-wrap
  3085. msgid "System Images"
  3086. msgstr ""
  3087. #. type: menuentry
  3088. #: guix-git/doc/guix.texi:204
  3089. #, fuzzy
  3090. #| msgid "Creating software bundles."
  3091. msgid "Creating system images."
  3092. msgstr "Criando pacotes de software."
  3093. #. type: chapter
  3094. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:465
  3095. #: guix-git/doc/guix.texi:44763 guix-git/doc/guix.texi:44764
  3096. #, no-wrap
  3097. msgid "Installing Debugging Files"
  3098. msgstr "Instalando arquivos de depuração"
  3099. #. type: menuentry
  3100. #: guix-git/doc/guix.texi:204
  3101. msgid "Feeding the debugger."
  3102. msgstr "Alimentando o depurador."
  3103. #. type: node
  3104. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:44918
  3105. #, no-wrap
  3106. msgid "Using TeX and LaTeX"
  3107. msgstr ""
  3108. #. type: menuentry
  3109. #: guix-git/doc/guix.texi:204
  3110. #, fuzzy
  3111. #| msgid "Testing Guix."
  3112. msgid "Typesetting."
  3113. msgstr "Testando o Guix."
  3114. #. type: chapter
  3115. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:45069
  3116. #: guix-git/doc/guix.texi:45070
  3117. #, no-wrap
  3118. msgid "Security Updates"
  3119. msgstr "Atualizações de segurança"
  3120. #. type: menuentry
  3121. #: guix-git/doc/guix.texi:204
  3122. msgid "Deploying security fixes quickly."
  3123. msgstr "Implementando correções de segurança rapidamente."
  3124. #. type: chapter
  3125. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:470
  3126. #: guix-git/doc/guix.texi:45184 guix-git/doc/guix.texi:45185
  3127. #, no-wrap
  3128. msgid "Bootstrapping"
  3129. msgstr "Inicializando"
  3130. #. type: menuentry
  3131. #: guix-git/doc/guix.texi:204
  3132. msgid "GNU/Linux built from scratch."
  3133. msgstr "GNU/Linux compilado do zero."
  3134. #. type: node
  3135. #: guix-git/doc/guix.texi:204 guix-git/doc/guix.texi:45483
  3136. #, no-wrap
  3137. msgid "Porting"
  3138. msgstr "Portando"
  3139. #. type: menuentry
  3140. #: guix-git/doc/guix.texi:204
  3141. msgid "Targeting another platform or kernel."
  3142. msgstr "Objetivando outra plataforma ou kernel."
  3143. #. type: menuentry
  3144. #: guix-git/doc/guix.texi:204
  3145. msgid "Your help needed!"
  3146. msgstr "Sua ajuda é necessária!"
  3147. #. type: chapter
  3148. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:45533
  3149. #: guix-git/doc/guix.texi:45534
  3150. #, no-wrap
  3151. msgid "Acknowledgments"
  3152. msgstr "Agradecimentos"
  3153. #. type: menuentry
  3154. #: guix-git/doc/guix.texi:209
  3155. msgid "Thanks!"
  3156. msgstr "Obrigado!"
  3157. #. type: appendix
  3158. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:45555
  3159. #: guix-git/doc/guix.texi:45556
  3160. #, no-wrap
  3161. msgid "GNU Free Documentation License"
  3162. msgstr "Licença de Documentação Livre GNU"
  3163. #. type: menuentry
  3164. #: guix-git/doc/guix.texi:209
  3165. msgid "The license of this manual."
  3166. msgstr "A licença deste manual."
  3167. #. type: unnumbered
  3168. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:45561
  3169. #: guix-git/doc/guix.texi:45562
  3170. #, no-wrap
  3171. msgid "Concept Index"
  3172. msgstr "Índice de conceitos"
  3173. #. type: menuentry
  3174. #: guix-git/doc/guix.texi:209
  3175. msgid "Concepts."
  3176. msgstr "Conceitos."
  3177. #. type: unnumbered
  3178. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:45565
  3179. #: guix-git/doc/guix.texi:45566
  3180. #, no-wrap
  3181. msgid "Programming Index"
  3182. msgstr "Índice de programação"
  3183. #. type: menuentry
  3184. #: guix-git/doc/guix.texi:209
  3185. msgid "Data types, functions, and variables."
  3186. msgstr "Tipos de dados, funções e variáveis."
  3187. #. type: menuentry
  3188. #: guix-git/doc/guix.texi:212
  3189. msgid "--- The Detailed Node Listing ---"
  3190. msgstr "--- A listagem detalhada de nós ---"
  3191. #. type: section
  3192. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:505
  3193. #: guix-git/doc/guix.texi:507 guix-git/doc/guix.texi:508
  3194. #, no-wrap
  3195. msgid "Managing Software the Guix Way"
  3196. msgstr "Gerenciando software do jeito do Guix"
  3197. #. type: menuentry
  3198. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:505
  3199. msgid "What's special."
  3200. msgstr "O que há de especial."
  3201. #. type: section
  3202. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:505
  3203. #: guix-git/doc/guix.texi:562 guix-git/doc/guix.texi:563
  3204. #, no-wrap
  3205. msgid "GNU Distribution"
  3206. msgstr "Distribuição GNU"
  3207. #. type: menuentry
  3208. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:505
  3209. msgid "The packages and tools."
  3210. msgstr "Os pacotes e as ferramentas."
  3211. #. type: section
  3212. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:715
  3213. #: guix-git/doc/guix.texi:717 guix-git/doc/guix.texi:718
  3214. #, no-wrap
  3215. msgid "Binary Installation"
  3216. msgstr "Instalação de binários"
  3217. #. type: menuentry
  3218. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:715
  3219. msgid "Getting Guix running in no time!"
  3220. msgstr "Faça o Guix funcionar rapidamente!"
  3221. #. type: section
  3222. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:715
  3223. #: guix-git/doc/guix.texi:971 guix-git/doc/guix.texi:972
  3224. #, no-wrap
  3225. msgid "Requirements"
  3226. msgstr "Requisitos"
  3227. #. type: menuentry
  3228. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:715
  3229. msgid "Software needed to build and run Guix."
  3230. msgstr "Software necessário para compilar e executar o Guix."
  3231. #. type: section
  3232. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:715
  3233. #: guix-git/doc/guix.texi:1067 guix-git/doc/guix.texi:1068
  3234. #, no-wrap
  3235. msgid "Running the Test Suite"
  3236. msgstr "Executando a suíte de testes"
  3237. #. type: menuentry
  3238. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:715
  3239. msgid "Testing Guix."
  3240. msgstr "Testando o Guix."
  3241. #. type: section
  3242. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:229
  3243. #: guix-git/doc/guix.texi:715 guix-git/doc/guix.texi:1164
  3244. #: guix-git/doc/guix.texi:1165
  3245. #, no-wrap
  3246. msgid "Setting Up the Daemon"
  3247. msgstr "Configurando o daemon"
  3248. #. type: menuentry
  3249. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:715
  3250. msgid "Preparing the build daemon's environment."
  3251. msgstr "Preparando o ambiente do daemon de compilação."
  3252. #. type: node
  3253. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:715
  3254. #: guix-git/doc/guix.texi:1659
  3255. #, no-wrap
  3256. msgid "Invoking guix-daemon"
  3257. msgstr "Invocando guix-daemon"
  3258. #. type: menuentry
  3259. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:715
  3260. msgid "Running the build daemon."
  3261. msgstr "Executando o daemon de compilação."
  3262. #. type: section
  3263. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:715
  3264. #: guix-git/doc/guix.texi:1965 guix-git/doc/guix.texi:1966
  3265. #, no-wrap
  3266. msgid "Application Setup"
  3267. msgstr "Configuração de aplicativo"
  3268. #. type: menuentry
  3269. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:715
  3270. msgid "Application-specific setup."
  3271. msgstr "Configuração específica de aplicativo."
  3272. #. type: section
  3273. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:715
  3274. #: guix-git/doc/guix.texi:2178 guix-git/doc/guix.texi:2179
  3275. #, no-wrap
  3276. msgid "Upgrading Guix"
  3277. msgstr ""
  3278. #. type: menuentry
  3279. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:715
  3280. msgid "Upgrading Guix and its build daemon."
  3281. msgstr ""
  3282. #. type: subsection
  3283. #: guix-git/doc/guix.texi:233 guix-git/doc/guix.texi:1184
  3284. #: guix-git/doc/guix.texi:1186 guix-git/doc/guix.texi:1187
  3285. #, no-wrap
  3286. msgid "Build Environment Setup"
  3287. msgstr "Configuração do ambiente de compilação"
  3288. #. type: menuentry
  3289. #: guix-git/doc/guix.texi:233 guix-git/doc/guix.texi:1184
  3290. msgid "Preparing the isolated build environment."
  3291. msgstr "Preparando o ambiente de compilação isolado."
  3292. #. type: node
  3293. #: guix-git/doc/guix.texi:233 guix-git/doc/guix.texi:1184
  3294. #: guix-git/doc/guix.texi:1310
  3295. #, no-wrap
  3296. msgid "Daemon Offload Setup"
  3297. msgstr "Configuração de descarregamento de daemon"
  3298. #. type: menuentry
  3299. #: guix-git/doc/guix.texi:233 guix-git/doc/guix.texi:1184
  3300. msgid "Offloading builds to remote machines."
  3301. msgstr "Descarregando compilações para máquinas remotas."
  3302. #. type: subsection
  3303. #: guix-git/doc/guix.texi:233 guix-git/doc/guix.texi:1184
  3304. #: guix-git/doc/guix.texi:1549 guix-git/doc/guix.texi:1550
  3305. #, no-wrap
  3306. msgid "SELinux Support"
  3307. msgstr "Suporte a SELinux"
  3308. #. type: menuentry
  3309. #: guix-git/doc/guix.texi:233 guix-git/doc/guix.texi:1184
  3310. msgid "Using an SELinux policy for the daemon."
  3311. msgstr "Usando um política SELinux para o daemon."
  3312. #. type: section
  3313. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:1604
  3314. #: guix-git/doc/guix.texi:2249 guix-git/doc/guix.texi:2251
  3315. #: guix-git/doc/guix.texi:2252
  3316. #, no-wrap
  3317. msgid "Limitations"
  3318. msgstr "Limitações"
  3319. #. type: menuentry
  3320. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:2249
  3321. msgid "What you can expect."
  3322. msgstr "O que você pode esperar."
  3323. #. type: section
  3324. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:2249
  3325. #: guix-git/doc/guix.texi:2277 guix-git/doc/guix.texi:2278
  3326. #, no-wrap
  3327. msgid "Hardware Considerations"
  3328. msgstr "Considerações de hardware"
  3329. #. type: menuentry
  3330. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:2249
  3331. msgid "Supported hardware."
  3332. msgstr "Hardware suportado."
  3333. #. type: section
  3334. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:2249
  3335. #: guix-git/doc/guix.texi:2315 guix-git/doc/guix.texi:2316
  3336. #, no-wrap
  3337. msgid "USB Stick and DVD Installation"
  3338. msgstr "Instalação em um pendrive e em DVD"
  3339. #. type: menuentry
  3340. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:2249
  3341. msgid "Preparing the installation medium."
  3342. msgstr "Preparando a mídia de instalação."
  3343. #. type: section
  3344. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:2249
  3345. #: guix-git/doc/guix.texi:2396 guix-git/doc/guix.texi:2397
  3346. #, no-wrap
  3347. msgid "Preparing for Installation"
  3348. msgstr "Preparando para instalação"
  3349. #. type: menuentry
  3350. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:2249
  3351. msgid "Networking, partitioning, etc."
  3352. msgstr "Rede, particionamento, etc."
  3353. #. type: section
  3354. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:2249
  3355. #: guix-git/doc/guix.texi:2419 guix-git/doc/guix.texi:2420
  3356. #, no-wrap
  3357. msgid "Guided Graphical Installation"
  3358. msgstr "Instalação gráfica guiada"
  3359. #. type: menuentry
  3360. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:2249
  3361. msgid "Easy graphical installation."
  3362. msgstr "Instalação gráfica fácil."
  3363. #. type: section
  3364. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:247
  3365. #: guix-git/doc/guix.texi:2249 guix-git/doc/guix.texi:2450
  3366. #: guix-git/doc/guix.texi:2451
  3367. #, no-wrap
  3368. msgid "Manual Installation"
  3369. msgstr "Instalação manual"
  3370. #. type: menuentry
  3371. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:2249
  3372. msgid "Manual installation for wizards."
  3373. msgstr "Instalação manual para magos."
  3374. #. type: section
  3375. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:2249
  3376. #: guix-git/doc/guix.texi:2830 guix-git/doc/guix.texi:2831
  3377. #, no-wrap
  3378. msgid "After System Installation"
  3379. msgstr "Após a instalação do sistema"
  3380. #. type: menuentry
  3381. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:2249
  3382. msgid "When installation succeeded."
  3383. msgstr "Quando a instalação conclui com sucesso."
  3384. #. type: node
  3385. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:2249
  3386. #: guix-git/doc/guix.texi:2864
  3387. #, no-wrap
  3388. msgid "Installing Guix in a VM"
  3389. msgstr "Instalando Guix em um VM"
  3390. #. type: menuentry
  3391. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:2249
  3392. msgid "Guix System playground."
  3393. msgstr "Parque de diversões do Guix System."
  3394. #. type: section
  3395. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:2249
  3396. #: guix-git/doc/guix.texi:2915 guix-git/doc/guix.texi:2916
  3397. #, no-wrap
  3398. msgid "Building the Installation Image"
  3399. msgstr "Compilando a imagem de instalação"
  3400. #. type: menuentry
  3401. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:2249
  3402. msgid "How this comes to be."
  3403. msgstr "Como isso vem a ser."
  3404. #. type: node
  3405. #: guix-git/doc/guix.texi:250 guix-git/doc/guix.texi:2468
  3406. #: guix-git/doc/guix.texi:2470
  3407. #, no-wrap
  3408. msgid "Keyboard Layout and Networking and Partitioning"
  3409. msgstr "Disposição de teclado e rede e particionamento"
  3410. #. type: menuentry
  3411. #: guix-git/doc/guix.texi:250 guix-git/doc/guix.texi:2468
  3412. msgid "Initial setup."
  3413. msgstr "Configuração inicial."
  3414. #. type: subsection
  3415. #: guix-git/doc/guix.texi:250 guix-git/doc/guix.texi:2468
  3416. #: guix-git/doc/guix.texi:2741 guix-git/doc/guix.texi:2742
  3417. #, no-wrap
  3418. msgid "Proceeding with the Installation"
  3419. msgstr "Prosseguindo com a instalação"
  3420. #. type: menuentry
  3421. #: guix-git/doc/guix.texi:250 guix-git/doc/guix.texi:2468
  3422. msgid "Installing."
  3423. msgstr "Instalando."
  3424. #. type: section
  3425. #: guix-git/doc/guix.texi:254 guix-git/doc/guix.texi:2966
  3426. #: guix-git/doc/guix.texi:2968 guix-git/doc/guix.texi:2969
  3427. #, fuzzy, no-wrap
  3428. #| msgid "Configuring the operating system."
  3429. msgid "Chrooting into an existing system"
  3430. msgstr "Configurando o sistema operacional."
  3431. #. type: section
  3432. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3433. #: guix-git/doc/guix.texi:3307 guix-git/doc/guix.texi:3308
  3434. #, no-wrap
  3435. msgid "Features"
  3436. msgstr "Recursos"
  3437. #. type: menuentry
  3438. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3439. msgid "How Guix will make your life brighter."
  3440. msgstr "Como o Guix vai iluminar a sua vida."
  3441. #. type: node
  3442. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3443. #: guix-git/doc/guix.texi:3397
  3444. #, no-wrap
  3445. msgid "Invoking guix package"
  3446. msgstr "Invocando guix package"
  3447. #. type: menuentry
  3448. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3449. msgid "Package installation, removal, etc."
  3450. msgstr "Instalação de pacote, remoção, etc."
  3451. #. type: section
  3452. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:269
  3453. #: guix-git/doc/guix.texi:3305 guix-git/doc/guix.texi:4010
  3454. #: guix-git/doc/guix.texi:4011
  3455. #, no-wrap
  3456. msgid "Substitutes"
  3457. msgstr "Substitutos"
  3458. #. type: menuentry
  3459. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3460. msgid "Downloading pre-built binaries."
  3461. msgstr "Baixando binários pré-compilados."
  3462. #. type: section
  3463. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3464. #: guix-git/doc/guix.texi:4346 guix-git/doc/guix.texi:4347
  3465. #, no-wrap
  3466. msgid "Packages with Multiple Outputs"
  3467. msgstr "Pacotes com múltiplas saídas"
  3468. #. type: menuentry
  3469. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3470. msgid "Single source package, multiple outputs."
  3471. msgstr "Um único pacote de fontes, várias saídas."
  3472. #. type: node
  3473. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3474. #: guix-git/doc/guix.texi:4419
  3475. #, no-wrap
  3476. msgid "Invoking guix gc"
  3477. msgstr "Invocando guix gc"
  3478. #. type: menuentry
  3479. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3480. msgid "Running the garbage collector."
  3481. msgstr "Executando o coletor de lixo."
  3482. #. type: node
  3483. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3484. #: guix-git/doc/guix.texi:4643
  3485. #, no-wrap
  3486. msgid "Invoking guix pull"
  3487. msgstr "Invocando guix pull"
  3488. #. type: menuentry
  3489. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3490. msgid "Fetching the latest Guix and distribution."
  3491. msgstr "Obtendo o Guix mais recente e distribuição."
  3492. #. type: node
  3493. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3494. #: guix-git/doc/guix.texi:4894
  3495. #, no-wrap
  3496. msgid "Invoking guix time-machine"
  3497. msgstr ""
  3498. #. type: menuentry
  3499. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3500. msgid "Running an older revision of Guix."
  3501. msgstr ""
  3502. #. type: section
  3503. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3504. #: guix-git/doc/guix.texi:4977 guix-git/doc/guix.texi:4978
  3505. #, no-wrap
  3506. msgid "Inferiors"
  3507. msgstr "Inferiores"
  3508. #. type: menuentry
  3509. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3510. msgid "Interacting with another revision of Guix."
  3511. msgstr "Interagindo com outra revisão do Guix."
  3512. #. type: node
  3513. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3514. #: guix-git/doc/guix.texi:5102
  3515. #, no-wrap
  3516. msgid "Invoking guix describe"
  3517. msgstr "Invocando guix describe"
  3518. #. type: menuentry
  3519. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3520. msgid "Display information about your Guix revision."
  3521. msgstr "Exibe informações sobre sua revisão do Guix."
  3522. #. type: node
  3523. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3524. #: guix-git/doc/guix.texi:5198
  3525. #, no-wrap
  3526. msgid "Invoking guix archive"
  3527. msgstr "Invocando guix archive"
  3528. #. type: menuentry
  3529. #: guix-git/doc/guix.texi:267 guix-git/doc/guix.texi:3305
  3530. msgid "Exporting and importing store files."
  3531. msgstr "Exportando e importando arquivos do armazém."
  3532. #. type: subsection
  3533. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:4034
  3534. #: guix-git/doc/guix.texi:4036 guix-git/doc/guix.texi:4037
  3535. #, fuzzy, no-wrap
  3536. #| msgid "Official Substitute Server"
  3537. msgid "Official Substitute Servers"
  3538. msgstr "Servidor substituto oficial"
  3539. #. type: menuentry
  3540. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:4034
  3541. msgid "One particular source of substitutes."
  3542. msgstr "Uma fonte específica de substitutos."
  3543. #. type: subsection
  3544. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:4034
  3545. #: guix-git/doc/guix.texi:4066 guix-git/doc/guix.texi:4067
  3546. #, no-wrap
  3547. msgid "Substitute Server Authorization"
  3548. msgstr "Autorização de servidor substituto"
  3549. #. type: menuentry
  3550. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:4034
  3551. msgid "How to enable or disable substitutes."
  3552. msgstr "Como habilitar ou desabilitar substitutos."
  3553. #. type: subsection
  3554. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:4034
  3555. #: guix-git/doc/guix.texi:4136 guix-git/doc/guix.texi:4137
  3556. #, no-wrap
  3557. msgid "Getting Substitutes from Other Servers"
  3558. msgstr ""
  3559. #. type: menuentry
  3560. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:4034
  3561. msgid "Substitute diversity."
  3562. msgstr ""
  3563. #. type: subsection
  3564. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:4034
  3565. #: guix-git/doc/guix.texi:4241 guix-git/doc/guix.texi:4242
  3566. #, no-wrap
  3567. msgid "Substitute Authentication"
  3568. msgstr "Autenticação de substituto"
  3569. #. type: menuentry
  3570. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:4034
  3571. msgid "How Guix verifies substitutes."
  3572. msgstr "Como Guix verifica substitutos."
  3573. #. type: subsection
  3574. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:4034
  3575. #: guix-git/doc/guix.texi:4276 guix-git/doc/guix.texi:4277
  3576. #, no-wrap
  3577. msgid "Proxy Settings"
  3578. msgstr "Configurações de proxy"
  3579. #. type: menuentry
  3580. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:4034
  3581. msgid "How to get substitutes via proxy."
  3582. msgstr "Como obter substitutos via proxy."
  3583. #. type: subsection
  3584. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:4034
  3585. #: guix-git/doc/guix.texi:4288 guix-git/doc/guix.texi:4289
  3586. #, no-wrap
  3587. msgid "Substitution Failure"
  3588. msgstr "Falha na substituição"
  3589. #. type: menuentry
  3590. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:4034
  3591. msgid "What happens when substitution fails."
  3592. msgstr "O que acontece quando a substituição falha."
  3593. #. type: subsection
  3594. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:4034
  3595. #: guix-git/doc/guix.texi:4316 guix-git/doc/guix.texi:4317
  3596. #, no-wrap
  3597. msgid "On Trusting Binaries"
  3598. msgstr "Confiança em binários"
  3599. #. type: menuentry
  3600. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:4034
  3601. msgid "How can you trust that binary blob?"
  3602. msgstr "Como você pode confiar naquele blob binário?"
  3603. #. type: section
  3604. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3605. #: guix-git/doc/guix.texi:5423 guix-git/doc/guix.texi:5424
  3606. #, no-wrap
  3607. msgid "Specifying Additional Channels"
  3608. msgstr ""
  3609. #. type: menuentry
  3610. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3611. msgid "Extending the package collection."
  3612. msgstr ""
  3613. #. type: section
  3614. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3615. #: guix-git/doc/guix.texi:5469 guix-git/doc/guix.texi:5470
  3616. #, no-wrap
  3617. msgid "Using a Custom Guix Channel"
  3618. msgstr ""
  3619. #. type: menuentry
  3620. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3621. msgid "Using a customized Guix."
  3622. msgstr ""
  3623. #. type: section
  3624. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3625. #: guix-git/doc/guix.texi:5510 guix-git/doc/guix.texi:5511
  3626. #, no-wrap
  3627. msgid "Replicating Guix"
  3628. msgstr ""
  3629. #. type: menuentry
  3630. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3631. msgid "Running the @emph{exact same} Guix."
  3632. msgstr ""
  3633. #. type: section
  3634. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3635. #: guix-git/doc/guix.texi:5570 guix-git/doc/guix.texi:5571
  3636. #, no-wrap
  3637. msgid "Channel Authentication"
  3638. msgstr ""
  3639. #. type: menuentry
  3640. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3641. msgid "How Guix verifies what it fetches."
  3642. msgstr ""
  3643. #. type: section
  3644. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3645. #: guix-git/doc/guix.texi:5610 guix-git/doc/guix.texi:5611
  3646. #, no-wrap
  3647. msgid "Channels with Substitutes"
  3648. msgstr ""
  3649. #. type: menuentry
  3650. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3651. msgid "Using channels with available substitutes."
  3652. msgstr ""
  3653. #. type: section
  3654. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3655. #: guix-git/doc/guix.texi:5635 guix-git/doc/guix.texi:5636
  3656. #, no-wrap
  3657. msgid "Creating a Channel"
  3658. msgstr ""
  3659. #. type: menuentry
  3660. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3661. msgid "How to write your custom channel."
  3662. msgstr ""
  3663. #. type: section
  3664. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3665. #: guix-git/doc/guix.texi:5702 guix-git/doc/guix.texi:5703
  3666. #, no-wrap
  3667. msgid "Package Modules in a Sub-directory"
  3668. msgstr ""
  3669. #. type: menuentry
  3670. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3671. msgid "Specifying the channel's package modules location."
  3672. msgstr ""
  3673. #. type: section
  3674. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3675. #: guix-git/doc/guix.texi:5728 guix-git/doc/guix.texi:5729
  3676. #, no-wrap
  3677. msgid "Declaring Channel Dependencies"
  3678. msgstr ""
  3679. #. type: menuentry
  3680. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3681. msgid "How to depend on other channels."
  3682. msgstr ""
  3683. #. type: section
  3684. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3685. #: guix-git/doc/guix.texi:5770 guix-git/doc/guix.texi:5771
  3686. #, no-wrap
  3687. msgid "Specifying Channel Authorizations"
  3688. msgstr ""
  3689. #. type: menuentry
  3690. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3691. msgid "Defining channel authors authorizations."
  3692. msgstr ""
  3693. #. type: section
  3694. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3695. #: guix-git/doc/guix.texi:5873 guix-git/doc/guix.texi:5874
  3696. #, no-wrap
  3697. msgid "Primary URL"
  3698. msgstr ""
  3699. #. type: menuentry
  3700. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3701. msgid "Distinguishing mirror to original."
  3702. msgstr ""
  3703. #. type: section
  3704. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3705. #: guix-git/doc/guix.texi:5896 guix-git/doc/guix.texi:5897
  3706. #, no-wrap
  3707. msgid "Writing Channel News"
  3708. msgstr ""
  3709. #. type: menuentry
  3710. #: guix-git/doc/guix.texi:291 guix-git/doc/guix.texi:5421
  3711. msgid "Communicating information to channel's users."
  3712. msgstr ""
  3713. #. type: node
  3714. #: guix-git/doc/guix.texi:299 guix-git/doc/guix.texi:5986
  3715. #: guix-git/doc/guix.texi:5988
  3716. #, fuzzy, no-wrap
  3717. #| msgid "Invoking guix size"
  3718. msgid "Invoking guix shell"
  3719. msgstr "Invocando guix size"
  3720. #. type: menuentry
  3721. #: guix-git/doc/guix.texi:299 guix-git/doc/guix.texi:5986
  3722. #, fuzzy
  3723. #| msgid "Preparing the isolated build environment."
  3724. msgid "Spawning one-off software environments."
  3725. msgstr "Preparando o ambiente de compilação isolado."
  3726. #. type: node
  3727. #: guix-git/doc/guix.texi:299 guix-git/doc/guix.texi:5986
  3728. #: guix-git/doc/guix.texi:6516
  3729. #, no-wrap
  3730. msgid "Invoking guix environment"
  3731. msgstr "Invocando guix environment"
  3732. #. type: menuentry
  3733. #: guix-git/doc/guix.texi:299 guix-git/doc/guix.texi:5986
  3734. msgid "Setting up development environments."
  3735. msgstr "Configurando ambientes de desenvolvimento."
  3736. #. type: node
  3737. #: guix-git/doc/guix.texi:299 guix-git/doc/guix.texi:5986
  3738. #: guix-git/doc/guix.texi:6913
  3739. #, no-wrap
  3740. msgid "Invoking guix pack"
  3741. msgstr "Invocando guix pack"
  3742. #. type: menuentry
  3743. #: guix-git/doc/guix.texi:299 guix-git/doc/guix.texi:5986
  3744. msgid "Creating software bundles."
  3745. msgstr "Criando pacotes de software."
  3746. #. type: section
  3747. #: guix-git/doc/guix.texi:299 guix-git/doc/guix.texi:5986
  3748. #: guix-git/doc/guix.texi:7352 guix-git/doc/guix.texi:7353
  3749. #, no-wrap
  3750. msgid "The GCC toolchain"
  3751. msgstr ""
  3752. #. type: menuentry
  3753. #: guix-git/doc/guix.texi:299 guix-git/doc/guix.texi:5986
  3754. msgid "Working with languages supported by GCC."
  3755. msgstr ""
  3756. #. type: node
  3757. #: guix-git/doc/guix.texi:299 guix-git/doc/guix.texi:5986
  3758. #: guix-git/doc/guix.texi:7378
  3759. #, no-wrap
  3760. msgid "Invoking guix git authenticate"
  3761. msgstr ""
  3762. #. type: menuentry
  3763. #: guix-git/doc/guix.texi:299 guix-git/doc/guix.texi:5986
  3764. msgid "Authenticating Git repositories."
  3765. msgstr ""
  3766. #. type: section
  3767. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3768. #: guix-git/doc/guix.texi:7487 guix-git/doc/guix.texi:7488
  3769. #, no-wrap
  3770. msgid "Package Modules"
  3771. msgstr "Módulos de pacote"
  3772. #. type: menuentry
  3773. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3774. msgid "Packages from the programmer's viewpoint."
  3775. msgstr "Pacotes do ponto de vista do programador."
  3776. #. type: section
  3777. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:318
  3778. #: guix-git/doc/guix.texi:7485 guix-git/doc/guix.texi:7549
  3779. #: guix-git/doc/guix.texi:7550
  3780. #, no-wrap
  3781. msgid "Defining Packages"
  3782. msgstr "Definindo pacotes"
  3783. #. type: menuentry
  3784. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3785. msgid "Defining new packages."
  3786. msgstr "Definindo novos pacotes."
  3787. #. type: section
  3788. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3789. #: guix-git/doc/guix.texi:8254 guix-git/doc/guix.texi:8255
  3790. #, no-wrap
  3791. msgid "Defining Package Variants"
  3792. msgstr ""
  3793. #. type: menuentry
  3794. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3795. msgid "Customizing packages."
  3796. msgstr ""
  3797. #. type: section
  3798. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3799. #: guix-git/doc/guix.texi:8526 guix-git/doc/guix.texi:8527
  3800. #, fuzzy, no-wrap
  3801. #| msgid "Writing conventions."
  3802. msgid "Writing Manifests"
  3803. msgstr "Convenções de escrita."
  3804. #. type: menuentry
  3805. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3806. msgid "The bill of materials of your environment."
  3807. msgstr ""
  3808. #. type: section
  3809. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3810. #: guix-git/doc/guix.texi:8831 guix-git/doc/guix.texi:8832
  3811. #, no-wrap
  3812. msgid "Build Systems"
  3813. msgstr "Sistemas de compilação"
  3814. #. type: menuentry
  3815. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3816. msgid "Specifying how packages are built."
  3817. msgstr "Especificando como pacotes são compilados."
  3818. #. type: subsection
  3819. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3820. #: guix-git/doc/guix.texi:10036 guix-git/doc/guix.texi:10037
  3821. #: guix-git/doc/guix.texi:10568
  3822. #, no-wrap
  3823. msgid "Build Phases"
  3824. msgstr ""
  3825. #. type: menuentry
  3826. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3827. msgid "Phases of the build process of a package."
  3828. msgstr ""
  3829. #. type: section
  3830. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3831. #: guix-git/doc/guix.texi:10256 guix-git/doc/guix.texi:10257
  3832. #, no-wrap
  3833. msgid "Build Utilities"
  3834. msgstr ""
  3835. #. type: menuentry
  3836. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3837. msgid "Helpers for your package definitions and more."
  3838. msgstr ""
  3839. #. type: section
  3840. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3841. #: guix-git/doc/guix.texi:10725 guix-git/doc/guix.texi:10726
  3842. #, fuzzy, no-wrap
  3843. #| msgid "--search-paths"
  3844. msgid "Search Paths"
  3845. msgstr "--search-paths"
  3846. #. type: menuentry
  3847. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3848. #, fuzzy
  3849. #| msgid "Preparing the isolated build environment."
  3850. msgid "Declaring search path environment variables."
  3851. msgstr "Declarando o Ambiente Doméstico"
  3852. #. type: section
  3853. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3854. #: guix-git/doc/guix.texi:10922 guix-git/doc/guix.texi:10923
  3855. #, no-wrap
  3856. msgid "The Store"
  3857. msgstr "O armazém"
  3858. #. type: menuentry
  3859. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3860. msgid "Manipulating the package store."
  3861. msgstr "Manipulação do armazém de pacotes."
  3862. #. type: section
  3863. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3864. #: guix-git/doc/guix.texi:11074 guix-git/doc/guix.texi:11075
  3865. #, no-wrap
  3866. msgid "Derivations"
  3867. msgstr "Derivações"
  3868. #. type: menuentry
  3869. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3870. msgid "Low-level interface to package derivations."
  3871. msgstr "Interface de baixo nível para derivações de pacotes."
  3872. #. type: section
  3873. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3874. #: guix-git/doc/guix.texi:11267 guix-git/doc/guix.texi:11268
  3875. #, no-wrap
  3876. msgid "The Store Monad"
  3877. msgstr "A mônada do armazém"
  3878. #. type: menuentry
  3879. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3880. msgid "Purely functional interface to the store."
  3881. msgstr "Interface puramente funcional para o armazém."
  3882. #. type: section
  3883. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3884. #: guix-git/doc/guix.texi:11589 guix-git/doc/guix.texi:11590
  3885. #, no-wrap
  3886. msgid "G-Expressions"
  3887. msgstr "Expressões-G"
  3888. #. type: menuentry
  3889. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3890. msgid "Manipulating build expressions."
  3891. msgstr "Manipulação de expressões de compilação."
  3892. #. type: node
  3893. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3894. #: guix-git/doc/guix.texi:12223
  3895. #, no-wrap
  3896. msgid "Invoking guix repl"
  3897. msgstr "Invocando guix repl"
  3898. #. type: menuentry
  3899. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3900. msgid "Programming Guix in Guile"
  3901. msgstr ""
  3902. #. type: section
  3903. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3904. #: guix-git/doc/guix.texi:12340 guix-git/doc/guix.texi:12341
  3905. #, fuzzy, no-wrap
  3906. #| msgid "Using Guix in Scheme."
  3907. msgid "Using Guix Interactively"
  3908. msgstr "Usando o Guix no Scheme."
  3909. #. type: menuentry
  3910. #: guix-git/doc/guix.texi:316 guix-git/doc/guix.texi:7485
  3911. msgid "Fine-grain interaction at the REPL."
  3912. msgstr ""
  3913. #. type: node
  3914. #: guix-git/doc/guix.texi:321 guix-git/doc/guix.texi:7753
  3915. #: guix-git/doc/guix.texi:7756
  3916. #, no-wrap
  3917. msgid "package Reference"
  3918. msgstr "Referência do package"
  3919. #. type: menuentry
  3920. #: guix-git/doc/guix.texi:321 guix-git/doc/guix.texi:7753
  3921. msgid "The package data type."
  3922. msgstr "O tipo de dados package."
  3923. #. type: node
  3924. #: guix-git/doc/guix.texi:321 guix-git/doc/guix.texi:7753
  3925. #: guix-git/doc/guix.texi:8064
  3926. #, no-wrap
  3927. msgid "origin Reference"
  3928. msgstr "Referência do origin"
  3929. #. type: menuentry
  3930. #: guix-git/doc/guix.texi:321 guix-git/doc/guix.texi:7753
  3931. msgid "The origin data type."
  3932. msgstr "O tipo de dados origin."
  3933. #. type: node
  3934. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  3935. #: guix-git/doc/guix.texi:12494
  3936. #, no-wrap
  3937. msgid "Invoking guix build"
  3938. msgstr "Invocando guix build"
  3939. #. type: menuentry
  3940. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  3941. msgid "Building packages from the command line."
  3942. msgstr "Compilando pacotes a partir da linha de comando."
  3943. #. type: node
  3944. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  3945. #: guix-git/doc/guix.texi:13452
  3946. #, no-wrap
  3947. msgid "Invoking guix edit"
  3948. msgstr "Invocando guix edit"
  3949. #. type: menuentry
  3950. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  3951. msgid "Editing package definitions."
  3952. msgstr "Editando definições de pacote."
  3953. #. type: node
  3954. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  3955. #: guix-git/doc/guix.texi:13482
  3956. #, no-wrap
  3957. msgid "Invoking guix download"
  3958. msgstr "Invocando guix download"
  3959. #. type: menuentry
  3960. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  3961. msgid "Downloading a file and printing its hash."
  3962. msgstr "Baixando um arquivo e imprimindo seu hash."
  3963. #. type: node
  3964. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  3965. #: guix-git/doc/guix.texi:13540
  3966. #, no-wrap
  3967. msgid "Invoking guix hash"
  3968. msgstr "Invocando guix hash"
  3969. #. type: menuentry
  3970. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  3971. msgid "Computing the cryptographic hash of a file."
  3972. msgstr "Computando a hash criptográfica de um arquivo."
  3973. #. type: node
  3974. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  3975. #: guix-git/doc/guix.texi:13631
  3976. #, no-wrap
  3977. msgid "Invoking guix import"
  3978. msgstr "Invocando guix import"
  3979. #. type: menuentry
  3980. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  3981. msgid "Importing package definitions."
  3982. msgstr "Importando definições de pacote."
  3983. #. type: node
  3984. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  3985. #: guix-git/doc/guix.texi:14228
  3986. #, no-wrap
  3987. msgid "Invoking guix refresh"
  3988. msgstr "Invocando guix refresh"
  3989. #. type: menuentry
  3990. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  3991. msgid "Updating package definitions."
  3992. msgstr "Atualizando definições de pacotes."
  3993. #. type: node
  3994. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  3995. #: guix-git/doc/guix.texi:14626
  3996. #, fuzzy, no-wrap
  3997. #| msgid "Invoking guix system"
  3998. msgid "Invoking guix style"
  3999. msgstr "Invocando guix system"
  4000. #. type: menuentry
  4001. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4002. #, fuzzy
  4003. #| msgid "Editing package definitions."
  4004. msgid "Styling package definitions."
  4005. msgstr "Editando definições de pacote."
  4006. #. type: node
  4007. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4008. #: guix-git/doc/guix.texi:14828
  4009. #, no-wrap
  4010. msgid "Invoking guix lint"
  4011. msgstr "Invocando guix lint"
  4012. #. type: menuentry
  4013. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4014. msgid "Finding errors in package definitions."
  4015. msgstr "Encontrando erros nas definições de pacote."
  4016. #. type: node
  4017. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4018. #: guix-git/doc/guix.texi:15014
  4019. #, no-wrap
  4020. msgid "Invoking guix size"
  4021. msgstr "Invocando guix size"
  4022. #. type: menuentry
  4023. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4024. msgid "Profiling disk usage."
  4025. msgstr "Perfilando uso de disco."
  4026. #. type: node
  4027. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4028. #: guix-git/doc/guix.texi:15158
  4029. #, no-wrap
  4030. msgid "Invoking guix graph"
  4031. msgstr "Invocando guix graph"
  4032. #. type: menuentry
  4033. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4034. msgid "Visualizing the graph of packages."
  4035. msgstr "Visualizando o grafo de pacotes."
  4036. #. type: node
  4037. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4038. #: guix-git/doc/guix.texi:15439
  4039. #, no-wrap
  4040. msgid "Invoking guix publish"
  4041. msgstr "Invocando guix publish"
  4042. #. type: menuentry
  4043. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4044. msgid "Sharing substitutes."
  4045. msgstr "Compartilhando substitutos."
  4046. #. type: node
  4047. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4048. #: guix-git/doc/guix.texi:15713
  4049. #, no-wrap
  4050. msgid "Invoking guix challenge"
  4051. msgstr "Invocando guix challenge"
  4052. #. type: menuentry
  4053. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4054. msgid "Challenging substitute servers."
  4055. msgstr "Desafiando servidores substitutos."
  4056. #. type: node
  4057. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4058. #: guix-git/doc/guix.texi:15902
  4059. #, no-wrap
  4060. msgid "Invoking guix copy"
  4061. msgstr "Invocando guix copy"
  4062. #. type: menuentry
  4063. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4064. msgid "Copying to and from a remote store."
  4065. msgstr "Copiando para e de um armazém remoto."
  4066. #. type: node
  4067. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4068. #: guix-git/doc/guix.texi:15966
  4069. #, no-wrap
  4070. msgid "Invoking guix container"
  4071. msgstr "Invocando guix container"
  4072. #. type: menuentry
  4073. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4074. msgid "Process isolation."
  4075. msgstr "Isolação de processo."
  4076. #. type: node
  4077. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4078. #: guix-git/doc/guix.texi:16020
  4079. #, no-wrap
  4080. msgid "Invoking guix weather"
  4081. msgstr "Invocando guix weather"
  4082. #. type: menuentry
  4083. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4084. msgid "Assessing substitute availability."
  4085. msgstr "Acessando disponibilidade de substituto."
  4086. #. type: node
  4087. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4088. #: guix-git/doc/guix.texi:16151
  4089. #, no-wrap
  4090. msgid "Invoking guix processes"
  4091. msgstr "Invocando guix processes"
  4092. #. type: menuentry
  4093. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:12492
  4094. msgid "Listing client processes."
  4095. msgstr "Listando processos do cliente."
  4096. #. type: section
  4097. #: guix-git/doc/guix.texi:342 guix-git/doc/guix.texi:12495
  4098. #, no-wrap
  4099. msgid "Invoking @command{guix build}"
  4100. msgstr "Invocando @command{guix build}"
  4101. #. type: subsection
  4102. #: guix-git/doc/guix.texi:347 guix-git/doc/guix.texi:12546
  4103. #: guix-git/doc/guix.texi:12548 guix-git/doc/guix.texi:12549
  4104. #, no-wrap
  4105. msgid "Common Build Options"
  4106. msgstr "Opções de compilação comum"
  4107. #. type: menuentry
  4108. #: guix-git/doc/guix.texi:347 guix-git/doc/guix.texi:12546
  4109. msgid "Build options for most commands."
  4110. msgstr "Opções de compilação para a maioria dos comandos."
  4111. #. type: subsection
  4112. #: guix-git/doc/guix.texi:347 guix-git/doc/guix.texi:12546
  4113. #: guix-git/doc/guix.texi:12703 guix-git/doc/guix.texi:12704
  4114. #, no-wrap
  4115. msgid "Package Transformation Options"
  4116. msgstr "Opções de transformação de pacote"
  4117. #. type: menuentry
  4118. #: guix-git/doc/guix.texi:347 guix-git/doc/guix.texi:12546
  4119. msgid "Creating variants of packages."
  4120. msgstr "Criando variantes de pacotes."
  4121. #. type: subsection
  4122. #: guix-git/doc/guix.texi:347 guix-git/doc/guix.texi:12546
  4123. #: guix-git/doc/guix.texi:13126 guix-git/doc/guix.texi:13127
  4124. #, no-wrap
  4125. msgid "Additional Build Options"
  4126. msgstr "Opções de compilação adicional"
  4127. #. type: menuentry
  4128. #: guix-git/doc/guix.texi:347 guix-git/doc/guix.texi:12546
  4129. msgid "Options specific to 'guix build'."
  4130. msgstr "Opções específicas para \"guix build\"."
  4131. #. type: subsection
  4132. #: guix-git/doc/guix.texi:347 guix-git/doc/guix.texi:12546
  4133. #: guix-git/doc/guix.texi:13372 guix-git/doc/guix.texi:13373
  4134. #, no-wrap
  4135. msgid "Debugging Build Failures"
  4136. msgstr "Depurando falhas de compilação"
  4137. #. type: menuentry
  4138. #: guix-git/doc/guix.texi:347 guix-git/doc/guix.texi:12546
  4139. msgid "Real life packaging experience."
  4140. msgstr "Experiência de empacotamento na vida real."
  4141. #. type: section
  4142. #: guix-git/doc/guix.texi:352 guix-git/doc/guix.texi:16274
  4143. #: guix-git/doc/guix.texi:16276 guix-git/doc/guix.texi:16277
  4144. #, fuzzy, no-wrap
  4145. #| msgid "Process isolation."
  4146. msgid "Cross-Compilation"
  4147. msgstr "Isolação de processo."
  4148. #. type: menuentry
  4149. #: guix-git/doc/guix.texi:352 guix-git/doc/guix.texi:16274
  4150. msgid "Cross-compiling for another architecture."
  4151. msgstr ""
  4152. #. type: section
  4153. #: guix-git/doc/guix.texi:352 guix-git/doc/guix.texi:16274
  4154. #: guix-git/doc/guix.texi:16324 guix-git/doc/guix.texi:16325
  4155. #, no-wrap
  4156. msgid "Native Builds"
  4157. msgstr ""
  4158. #. type: menuentry
  4159. #: guix-git/doc/guix.texi:352 guix-git/doc/guix.texi:16274
  4160. #, fuzzy
  4161. #| msgid "Targeting another platform or kernel."
  4162. msgid "Targeting another architecture through native builds."
  4163. msgstr "Objetivando outra plataforma ou kernel."
  4164. #. type: section
  4165. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4166. #: guix-git/doc/guix.texi:16458 guix-git/doc/guix.texi:16459
  4167. #, no-wrap
  4168. msgid "Using the Configuration System"
  4169. msgstr "Usando o sistema de configuração"
  4170. #. type: menuentry
  4171. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4172. msgid "Customizing your GNU system."
  4173. msgstr "Personalizando seu sistema GNU."
  4174. #. type: node
  4175. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4176. #: guix-git/doc/guix.texi:16714
  4177. #, no-wrap
  4178. msgid "operating-system Reference"
  4179. msgstr "Referência do operating-system"
  4180. #. type: menuentry
  4181. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4182. msgid "Detail of operating-system declarations."
  4183. msgstr "Detalhe das declarações do operating-system."
  4184. #. type: section
  4185. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:375
  4186. #: guix-git/doc/guix.texi:16456 guix-git/doc/guix.texi:16932
  4187. #: guix-git/doc/guix.texi:16933
  4188. #, no-wrap
  4189. msgid "File Systems"
  4190. msgstr "Sistemas de arquivos"
  4191. #. type: menuentry
  4192. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4193. msgid "Configuring file system mounts."
  4194. msgstr "Configurando montagens de sistema de arquivos."
  4195. #. type: section
  4196. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4197. #: guix-git/doc/guix.texi:17295 guix-git/doc/guix.texi:17296
  4198. #, no-wrap
  4199. msgid "Mapped Devices"
  4200. msgstr "Dispositivos mapeados"
  4201. #. type: menuentry
  4202. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4203. msgid "Block device extra processing."
  4204. msgstr "Processamento extra de dispositivo de bloco."
  4205. #. type: section
  4206. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4207. #: guix-git/doc/guix.texi:17444 guix-git/doc/guix.texi:17445
  4208. #, no-wrap
  4209. msgid "Swap Space"
  4210. msgstr ""
  4211. #. type: menuentry
  4212. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4213. msgid "Backing RAM with disk space."
  4214. msgstr ""
  4215. #. type: section
  4216. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4217. #: guix-git/doc/guix.texi:17626 guix-git/doc/guix.texi:17627
  4218. #, no-wrap
  4219. msgid "User Accounts"
  4220. msgstr "Contas de usuários"
  4221. #. type: menuentry
  4222. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4223. msgid "Specifying user accounts."
  4224. msgstr "Especificando contas de usuários."
  4225. #. type: section
  4226. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:2477
  4227. #: guix-git/doc/guix.texi:16456 guix-git/doc/guix.texi:17807
  4228. #: guix-git/doc/guix.texi:17808
  4229. #, no-wrap
  4230. msgid "Keyboard Layout"
  4231. msgstr "Disposição do teclado"
  4232. #. type: menuentry
  4233. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4234. msgid "How the system interprets key strokes."
  4235. msgstr "Como o sistema interpreta pressionamento de teclas."
  4236. #. type: section
  4237. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:1973
  4238. #: guix-git/doc/guix.texi:16456 guix-git/doc/guix.texi:17952
  4239. #: guix-git/doc/guix.texi:17953
  4240. #, no-wrap
  4241. msgid "Locales"
  4242. msgstr "Locales"
  4243. #. type: menuentry
  4244. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4245. msgid "Language and cultural convention settings."
  4246. msgstr "Configurações de idioma e de convenção cultural."
  4247. #. type: node
  4248. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:379
  4249. #: guix-git/doc/guix.texi:16456 guix-git/doc/guix.texi:18092
  4250. #: guix-git/doc/guix.texi:18093 guix-git/doc/guix.texi:32920
  4251. #, no-wrap
  4252. msgid "Services"
  4253. msgstr "Serviços"
  4254. #. type: menuentry
  4255. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4256. msgid "Specifying system services."
  4257. msgstr "Especificando serviços de sistema."
  4258. #. type: section
  4259. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4260. #: guix-git/doc/guix.texi:39008 guix-git/doc/guix.texi:39009
  4261. #, no-wrap
  4262. msgid "Setuid Programs"
  4263. msgstr "Programas setuid"
  4264. #. type: menuentry
  4265. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4266. #, fuzzy
  4267. #| msgid "Programs running with root privileges."
  4268. msgid "Programs running with elevated privileges."
  4269. msgstr "Programas sendo executados com privilégios de root."
  4270. #. type: section
  4271. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:2137
  4272. #: guix-git/doc/guix.texi:16456 guix-git/doc/guix.texi:39095
  4273. #: guix-git/doc/guix.texi:39096
  4274. #, no-wrap
  4275. msgid "X.509 Certificates"
  4276. msgstr "Certificados X.509"
  4277. #. type: menuentry
  4278. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4279. msgid "Authenticating HTTPS servers."
  4280. msgstr "Autenticando servidores HTTPS."
  4281. #. type: section
  4282. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:2032
  4283. #: guix-git/doc/guix.texi:16456 guix-git/doc/guix.texi:39159
  4284. #: guix-git/doc/guix.texi:39160
  4285. #, no-wrap
  4286. msgid "Name Service Switch"
  4287. msgstr "Name Service Switch"
  4288. #. type: menuentry
  4289. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4290. msgid "Configuring libc's name service switch."
  4291. msgstr "Configurando name service switch do libc."
  4292. #. type: section
  4293. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4294. #: guix-git/doc/guix.texi:39297 guix-git/doc/guix.texi:39298
  4295. #, no-wrap
  4296. msgid "Initial RAM Disk"
  4297. msgstr "Disco de RAM inicial"
  4298. #. type: menuentry
  4299. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4300. msgid "Linux-Libre bootstrapping."
  4301. msgstr "Inicialização do Linux-Libre."
  4302. #. type: section
  4303. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4304. #: guix-git/doc/guix.texi:39504 guix-git/doc/guix.texi:39505
  4305. #, no-wrap
  4306. msgid "Bootloader Configuration"
  4307. msgstr "Configuração do carregador de inicialização"
  4308. #. type: menuentry
  4309. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4310. msgid "Configuring the boot loader."
  4311. msgstr "Configurando o \"bootloader\"."
  4312. #. type: node
  4313. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4314. #: guix-git/doc/guix.texi:39869
  4315. #, no-wrap
  4316. msgid "Invoking guix system"
  4317. msgstr "Invocando guix system"
  4318. #. type: menuentry
  4319. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4320. msgid "Instantiating a system configuration."
  4321. msgstr "Inicializando uma configuração de sistema."
  4322. #. type: node
  4323. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4324. #: guix-git/doc/guix.texi:40516
  4325. #, no-wrap
  4326. msgid "Invoking guix deploy"
  4327. msgstr ""
  4328. #. type: menuentry
  4329. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4330. msgid "Deploying a system configuration to a remote host."
  4331. msgstr ""
  4332. #. type: node
  4333. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4334. #: guix-git/doc/guix.texi:40757
  4335. #, no-wrap
  4336. msgid "Running Guix in a VM"
  4337. msgstr "Executando Guix em uma VM"
  4338. #. type: menuentry
  4339. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4340. msgid "How to run Guix System in a virtual machine."
  4341. msgstr "Como executar Guix System em uma máquina virtual."
  4342. #. type: section
  4343. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:418
  4344. #: guix-git/doc/guix.texi:16456 guix-git/doc/guix.texi:40892
  4345. #: guix-git/doc/guix.texi:40893
  4346. #, no-wrap
  4347. msgid "Defining Services"
  4348. msgstr "Definindo serviços"
  4349. #. type: menuentry
  4350. #: guix-git/doc/guix.texi:373 guix-git/doc/guix.texi:16456
  4351. msgid "Adding new service definitions."
  4352. msgstr "Adicionando novas definições de serviço."
  4353. #. type: subsection
  4354. #: guix-git/doc/guix.texi:377 guix-git/doc/guix.texi:17189
  4355. #: guix-git/doc/guix.texi:17191 guix-git/doc/guix.texi:17192
  4356. #, no-wrap
  4357. msgid "Btrfs file system"
  4358. msgstr ""
  4359. #. type: subsection
  4360. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4361. #: guix-git/doc/guix.texi:18191 guix-git/doc/guix.texi:18192
  4362. #, no-wrap
  4363. msgid "Base Services"
  4364. msgstr "Serviços base"
  4365. #. type: menuentry
  4366. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4367. msgid "Essential system services."
  4368. msgstr "Serviços essenciais do sistema."
  4369. #. type: subsection
  4370. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4371. #: guix-git/doc/guix.texi:19464 guix-git/doc/guix.texi:19465
  4372. #, no-wrap
  4373. msgid "Scheduled Job Execution"
  4374. msgstr "Execução de trabalho agendado"
  4375. #. type: menuentry
  4376. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4377. msgid "The mcron service."
  4378. msgstr "O serviço mcron."
  4379. #. type: subsection
  4380. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4381. #: guix-git/doc/guix.texi:19638 guix-git/doc/guix.texi:19639
  4382. #, no-wrap
  4383. msgid "Log Rotation"
  4384. msgstr "Rotação de log"
  4385. #. type: menuentry
  4386. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4387. msgid "The rottlog service."
  4388. msgstr "O serviço rottlog."
  4389. #. type: subsection
  4390. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4391. #: guix-git/doc/guix.texi:19859 guix-git/doc/guix.texi:19860
  4392. #, fuzzy, no-wrap
  4393. #| msgid "Networking"
  4394. msgid "Networking Setup"
  4395. msgstr "Rede"
  4396. #. type: menuentry
  4397. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4398. msgid "Setting up network interfaces."
  4399. msgstr "Configurando interfaces de rede."
  4400. #. type: subsection
  4401. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4402. #: guix-git/doc/guix.texi:20298 guix-git/doc/guix.texi:20299
  4403. #, no-wrap
  4404. msgid "Networking Services"
  4405. msgstr "Serviços de Rede"
  4406. #. type: menuentry
  4407. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4408. #, fuzzy
  4409. #| msgid "Network setup, SSH daemon, etc."
  4410. msgid "Firewall, SSH daemon, etc."
  4411. msgstr "Configuração de rede, daemon SSH, etc."
  4412. #. type: subsection
  4413. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4414. #: guix-git/doc/guix.texi:21764 guix-git/doc/guix.texi:21765
  4415. #, no-wrap
  4416. msgid "Unattended Upgrades"
  4417. msgstr ""
  4418. #. type: menuentry
  4419. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4420. msgid "Automated system upgrades."
  4421. msgstr ""
  4422. #. type: subsection
  4423. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4424. #: guix-git/doc/guix.texi:21913 guix-git/doc/guix.texi:21914
  4425. #, no-wrap
  4426. msgid "X Window"
  4427. msgstr "X Window"
  4428. #. type: menuentry
  4429. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4430. msgid "Graphical display."
  4431. msgstr "Exibição gráfica."
  4432. #. type: subsection
  4433. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4434. #: guix-git/doc/guix.texi:22526 guix-git/doc/guix.texi:22527
  4435. #, no-wrap
  4436. msgid "Printing Services"
  4437. msgstr "Serviços de impressão"
  4438. #. type: menuentry
  4439. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4440. msgid "Local and remote printer support."
  4441. msgstr "Suporte a impressora local e remota."
  4442. #. type: subsection
  4443. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4444. #: guix-git/doc/guix.texi:23348 guix-git/doc/guix.texi:23349
  4445. #, no-wrap
  4446. msgid "Desktop Services"
  4447. msgstr "Serviços de desktop"
  4448. #. type: menuentry
  4449. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4450. msgid "D-Bus and desktop services."
  4451. msgstr "Serviços de D-Bus e desktop."
  4452. #. type: subsection
  4453. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4454. #: guix-git/doc/guix.texi:24474 guix-git/doc/guix.texi:24475
  4455. #, no-wrap
  4456. msgid "Sound Services"
  4457. msgstr "Serviços de som"
  4458. #. type: menuentry
  4459. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4460. msgid "ALSA and Pulseaudio services."
  4461. msgstr "Serviços ALSA e Pulseaudio."
  4462. #. type: subsection
  4463. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4464. #: guix-git/doc/guix.texi:24647 guix-git/doc/guix.texi:24648
  4465. #, no-wrap
  4466. msgid "Database Services"
  4467. msgstr "Serviços de bancos de dados"
  4468. #. type: menuentry
  4469. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4470. msgid "SQL databases, key-value stores, etc."
  4471. msgstr "Banco de dados SQL, armazenamentos de valor chave, etc."
  4472. #. type: subsection
  4473. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4474. #: guix-git/doc/guix.texi:24982 guix-git/doc/guix.texi:24983
  4475. #, no-wrap
  4476. msgid "Mail Services"
  4477. msgstr "Serviços de correio"
  4478. #. type: menuentry
  4479. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4480. msgid "IMAP, POP3, SMTP, and all that."
  4481. msgstr "IMAP, POP3, SMTP e tudo isso."
  4482. #. type: subsection
  4483. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4484. #: guix-git/doc/guix.texi:26852 guix-git/doc/guix.texi:26853
  4485. #, no-wrap
  4486. msgid "Messaging Services"
  4487. msgstr "Serviços de mensageria"
  4488. #. type: menuentry
  4489. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4490. msgid "Messaging services."
  4491. msgstr "Serviços de mensageria."
  4492. #. type: subsection
  4493. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4494. #: guix-git/doc/guix.texi:27357 guix-git/doc/guix.texi:27358
  4495. #, no-wrap
  4496. msgid "Telephony Services"
  4497. msgstr "Serviços de telefonia"
  4498. #. type: menuentry
  4499. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4500. msgid "Telephony services."
  4501. msgstr "Serviços de telefonia."
  4502. #. type: subsection
  4503. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4504. #: guix-git/doc/guix.texi:27801 guix-git/doc/guix.texi:27802
  4505. #, no-wrap
  4506. msgid "File-Sharing Services"
  4507. msgstr ""
  4508. #. type: menuentry
  4509. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4510. msgid "File-sharing services."
  4511. msgstr ""
  4512. #. type: subsection
  4513. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4514. #: guix-git/doc/guix.texi:28599 guix-git/doc/guix.texi:28600
  4515. #, no-wrap
  4516. msgid "Monitoring Services"
  4517. msgstr "Serviços de monitoramento"
  4518. #. type: menuentry
  4519. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4520. msgid "Monitoring services."
  4521. msgstr "Serviços de monitoramento."
  4522. #. type: subsection
  4523. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4524. #: guix-git/doc/guix.texi:29257 guix-git/doc/guix.texi:29258
  4525. #, no-wrap
  4526. msgid "Kerberos Services"
  4527. msgstr "Serviços Kerberos"
  4528. #. type: menuentry
  4529. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4530. msgid "Kerberos services."
  4531. msgstr "Serviços Kerberos."
  4532. #. type: subsection
  4533. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4534. #: guix-git/doc/guix.texi:29383 guix-git/doc/guix.texi:29384
  4535. #, no-wrap
  4536. msgid "LDAP Services"
  4537. msgstr ""
  4538. #. type: menuentry
  4539. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4540. msgid "LDAP services."
  4541. msgstr ""
  4542. #. type: subsection
  4543. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4544. #: guix-git/doc/guix.texi:30047 guix-git/doc/guix.texi:30048
  4545. #, no-wrap
  4546. msgid "Web Services"
  4547. msgstr "Serviços Web"
  4548. #. type: menuentry
  4549. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4550. msgid "Web servers."
  4551. msgstr "Servidores Web."
  4552. #. type: subsection
  4553. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4554. #: guix-git/doc/guix.texi:31272 guix-git/doc/guix.texi:31273
  4555. #, no-wrap
  4556. msgid "Certificate Services"
  4557. msgstr "Serviços de certificado"
  4558. #. type: menuentry
  4559. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4560. msgid "TLS certificates via Let's Encrypt."
  4561. msgstr "Certificados TLS via Let's Encrypt."
  4562. #. type: subsection
  4563. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4564. #: guix-git/doc/guix.texi:31453 guix-git/doc/guix.texi:31454
  4565. #, no-wrap
  4566. msgid "DNS Services"
  4567. msgstr "Serviços DNS"
  4568. #. type: menuentry
  4569. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4570. msgid "DNS daemons."
  4571. msgstr "Deamons DNS."
  4572. #. type: subsection
  4573. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4574. #: guix-git/doc/guix.texi:32213 guix-git/doc/guix.texi:32214
  4575. #, fuzzy, no-wrap
  4576. #| msgid "VPN Services"
  4577. msgid "VNC Services"
  4578. msgstr "Serviços VPN"
  4579. #. type: menuentry
  4580. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4581. #, fuzzy
  4582. #| msgid "VPN daemons."
  4583. msgid "VNC daemons."
  4584. msgstr "Deamons VPN."
  4585. #. type: subsection
  4586. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4587. #: guix-git/doc/guix.texi:32367 guix-git/doc/guix.texi:32368
  4588. #, no-wrap
  4589. msgid "VPN Services"
  4590. msgstr "Serviços VPN"
  4591. #. type: menuentry
  4592. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4593. msgid "VPN daemons."
  4594. msgstr "Deamons VPN."
  4595. #. type: node
  4596. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4597. #: guix-git/doc/guix.texi:32724 guix-git/doc/guix.texi:32725
  4598. #: guix-git/doc/guix.texi:32920
  4599. #, no-wrap
  4600. msgid "Network File System"
  4601. msgstr "Sistema de arquivos de rede"
  4602. #. type: menuentry
  4603. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4604. msgid "NFS related services."
  4605. msgstr "Serviços relacionados a NFS."
  4606. #. type: subsection
  4607. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4608. #: guix-git/doc/guix.texi:32920 guix-git/doc/guix.texi:32921
  4609. #, fuzzy, no-wrap
  4610. #| msgid "Game Services"
  4611. msgid "Samba Services"
  4612. msgstr "Serviços de jogos"
  4613. #. type: menuentry
  4614. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4615. #, fuzzy
  4616. #| msgid "Other services."
  4617. msgid "Samba services."
  4618. msgstr "Serviços domésticos"
  4619. #. type: subsection
  4620. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4621. #: guix-git/doc/guix.texi:32920 guix-git/doc/guix.texi:33072
  4622. #: guix-git/doc/guix.texi:33073
  4623. #, no-wrap
  4624. msgid "Continuous Integration"
  4625. msgstr "Integração contínua"
  4626. #. type: menuentry
  4627. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4628. #, fuzzy
  4629. msgid "Cuirass and Laminar services."
  4630. msgstr "O serviço Cuirass."
  4631. #. type: subsection
  4632. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4633. #: guix-git/doc/guix.texi:33358 guix-git/doc/guix.texi:33359
  4634. #, no-wrap
  4635. msgid "Power Management Services"
  4636. msgstr "Serviços de gerenciamento de energia"
  4637. #. type: menuentry
  4638. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4639. msgid "Extending battery life."
  4640. msgstr "Estendendo a vida da bateria."
  4641. #. type: subsection
  4642. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4643. #: guix-git/doc/guix.texi:33924 guix-git/doc/guix.texi:33925
  4644. #, no-wrap
  4645. msgid "Audio Services"
  4646. msgstr "Serviços de áudio"
  4647. #. type: menuentry
  4648. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4649. msgid "The MPD."
  4650. msgstr "O MPD."
  4651. #. type: subsection
  4652. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4653. #: guix-git/doc/guix.texi:34291 guix-git/doc/guix.texi:34292
  4654. #, no-wrap
  4655. msgid "Virtualization Services"
  4656. msgstr "Serviços de virtualização"
  4657. #. type: menuentry
  4658. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4659. msgid "Virtualization services."
  4660. msgstr "Serviços de virtualização."
  4661. #. type: subsection
  4662. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4663. #: guix-git/doc/guix.texi:35985 guix-git/doc/guix.texi:35986
  4664. #, no-wrap
  4665. msgid "Version Control Services"
  4666. msgstr "Serviços de controlando versão"
  4667. #. type: menuentry
  4668. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4669. msgid "Providing remote access to Git repositories."
  4670. msgstr "Fornecendo acesso remoto a repositórios Git."
  4671. #. type: subsection
  4672. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4673. #: guix-git/doc/guix.texi:37341 guix-git/doc/guix.texi:37342
  4674. #, no-wrap
  4675. msgid "Game Services"
  4676. msgstr "Serviços de jogos"
  4677. #. type: menuentry
  4678. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4679. msgid "Game servers."
  4680. msgstr "Servidores de jogos."
  4681. #. type: subsection
  4682. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4683. #: guix-git/doc/guix.texi:37392 guix-git/doc/guix.texi:37393
  4684. #, no-wrap
  4685. msgid "PAM Mount Service"
  4686. msgstr ""
  4687. #. type: menuentry
  4688. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4689. msgid "Service to mount volumes when logging in."
  4690. msgstr ""
  4691. #. type: subsection
  4692. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4693. #: guix-git/doc/guix.texi:37475 guix-git/doc/guix.texi:37476
  4694. #, no-wrap
  4695. msgid "Guix Services"
  4696. msgstr ""
  4697. #. type: menuentry
  4698. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4699. msgid "Services relating specifically to Guix."
  4700. msgstr ""
  4701. #. type: subsection
  4702. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4703. #: guix-git/doc/guix.texi:37902 guix-git/doc/guix.texi:37903
  4704. #, no-wrap
  4705. msgid "Linux Services"
  4706. msgstr ""
  4707. #. type: menuentry
  4708. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4709. msgid "Services tied to the Linux kernel."
  4710. msgstr ""
  4711. #. type: subsection
  4712. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4713. #: guix-git/doc/guix.texi:38191 guix-git/doc/guix.texi:38192
  4714. #, no-wrap
  4715. msgid "Hurd Services"
  4716. msgstr ""
  4717. #. type: menuentry
  4718. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4719. msgid "Services specific for a Hurd System."
  4720. msgstr ""
  4721. #. type: subsection
  4722. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4723. #: guix-git/doc/guix.texi:38233 guix-git/doc/guix.texi:38234
  4724. #, no-wrap
  4725. msgid "Miscellaneous Services"
  4726. msgstr "Serviços diversos"
  4727. #. type: menuentry
  4728. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:18189
  4729. msgid "Other services."
  4730. msgstr "Outros serviços."
  4731. #. type: subsection
  4732. #: guix-git/doc/guix.texi:424 guix-git/doc/guix.texi:40905
  4733. #: guix-git/doc/guix.texi:40907 guix-git/doc/guix.texi:40908
  4734. #, no-wrap
  4735. msgid "Service Composition"
  4736. msgstr "Composição de serviço"
  4737. #. type: menuentry
  4738. #: guix-git/doc/guix.texi:424 guix-git/doc/guix.texi:40905
  4739. msgid "The model for composing services."
  4740. msgstr "O modelo para serviços de composição."
  4741. #. type: subsection
  4742. #: guix-git/doc/guix.texi:424 guix-git/doc/guix.texi:40905
  4743. #: guix-git/doc/guix.texi:40963 guix-git/doc/guix.texi:40964
  4744. #, no-wrap
  4745. msgid "Service Types and Services"
  4746. msgstr "Tipos de Service e Serviços"
  4747. #. type: menuentry
  4748. #: guix-git/doc/guix.texi:424 guix-git/doc/guix.texi:40905
  4749. msgid "Types and services."
  4750. msgstr "Tipos e serviços."
  4751. #. type: subsection
  4752. #: guix-git/doc/guix.texi:424 guix-git/doc/guix.texi:40905
  4753. #: guix-git/doc/guix.texi:41099 guix-git/doc/guix.texi:41100
  4754. #, no-wrap
  4755. msgid "Service Reference"
  4756. msgstr "Referência de Service"
  4757. #. type: menuentry
  4758. #: guix-git/doc/guix.texi:424 guix-git/doc/guix.texi:40905
  4759. msgid "API reference."
  4760. msgstr "Referência de API."
  4761. #. type: subsection
  4762. #: guix-git/doc/guix.texi:424 guix-git/doc/guix.texi:40905
  4763. #: guix-git/doc/guix.texi:41416 guix-git/doc/guix.texi:41417
  4764. #, no-wrap
  4765. msgid "Shepherd Services"
  4766. msgstr "Serviços de Shepherd"
  4767. #. type: menuentry
  4768. #: guix-git/doc/guix.texi:424 guix-git/doc/guix.texi:40905
  4769. msgid "A particular type of service."
  4770. msgstr "Um tipo em particular de serviço."
  4771. #. type: subsection
  4772. #: guix-git/doc/guix.texi:424 guix-git/doc/guix.texi:40905
  4773. #: guix-git/doc/guix.texi:41668 guix-git/doc/guix.texi:41669
  4774. #, fuzzy, no-wrap
  4775. #| msgid "System Configuration"
  4776. msgid "Complex Configurations"
  4777. msgstr "Configuração do sistema"
  4778. #. type: menuentry
  4779. #: guix-git/doc/guix.texi:424 guix-git/doc/guix.texi:40905
  4780. #, fuzzy
  4781. #| msgid "Instantiating a system configuration."
  4782. msgid "Defining bindings for complex configurations."
  4783. msgstr "Inicializando uma configuração de sistema."
  4784. #. type: section
  4785. #: guix-git/doc/guix.texi:431 guix-git/doc/guix.texi:42121
  4786. #: guix-git/doc/guix.texi:42123 guix-git/doc/guix.texi:42124
  4787. #, fuzzy, no-wrap
  4788. #| msgid "Preparing the isolated build environment."
  4789. msgid "Declaring the Home Environment"
  4790. msgstr "Declarando o Ambiente Doméstico"
  4791. #. type: menuentry
  4792. #: guix-git/doc/guix.texi:431 guix-git/doc/guix.texi:42121
  4793. #, fuzzy
  4794. #| msgid "Customizing your GNU system."
  4795. msgid "Customizing your Home."
  4796. msgstr "Personalizando seu sistema GNU."
  4797. #. type: section
  4798. #: guix-git/doc/guix.texi:431 guix-git/doc/guix.texi:42121
  4799. #: guix-git/doc/guix.texi:42206 guix-git/doc/guix.texi:42207
  4800. #, no-wrap
  4801. msgid "Configuring the Shell"
  4802. msgstr "Configurando o \"Shell\""
  4803. #. type: menuentry
  4804. #: guix-git/doc/guix.texi:431 guix-git/doc/guix.texi:42121
  4805. #, fuzzy
  4806. #| msgid "Invoking guix environment"
  4807. msgid "Enabling home environment."
  4808. msgstr "Habilitando o ambiente doméstico."
  4809. #. type: section
  4810. #: guix-git/doc/guix.texi:431 guix-git/doc/guix.texi:433
  4811. #: guix-git/doc/guix.texi:42121 guix-git/doc/guix.texi:42253
  4812. #: guix-git/doc/guix.texi:42254
  4813. #, fuzzy, no-wrap
  4814. #| msgid "Game Services"
  4815. msgid "Home Services"
  4816. msgstr "Serviços de jogos"
  4817. #. type: menuentry
  4818. #: guix-git/doc/guix.texi:431 guix-git/doc/guix.texi:42121
  4819. #, fuzzy
  4820. #| msgid "Specifying system services."
  4821. msgid "Specifying home services."
  4822. msgstr "Especificando serviços de sistema."
  4823. #. type: node
  4824. #: guix-git/doc/guix.texi:431 guix-git/doc/guix.texi:42121
  4825. #: guix-git/doc/guix.texi:43735
  4826. #, fuzzy, no-wrap
  4827. #| msgid "Invoking guix hash"
  4828. msgid "Invoking guix home"
  4829. msgstr "Invocando guix hash"
  4830. #. type: menuentry
  4831. #: guix-git/doc/guix.texi:431 guix-git/doc/guix.texi:42121
  4832. #, fuzzy
  4833. #| msgid "Instantiating a system configuration."
  4834. msgid "Instantiating a home configuration."
  4835. msgstr "Inicializando uma configuração de sistema."
  4836. #. type: subsection
  4837. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4838. #: guix-git/doc/guix.texi:42302 guix-git/doc/guix.texi:42303
  4839. #, no-wrap
  4840. msgid "Essential Home Services"
  4841. msgstr "Serviços essenciais domésticos"
  4842. #. type: menuentry
  4843. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4844. msgid "Environment variables, packages, on-* scripts."
  4845. msgstr ""
  4846. #. type: menuentry
  4847. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4848. #, fuzzy
  4849. #| msgid "Shepherd Services"
  4850. msgid "Shells: Shells Home Services"
  4851. msgstr "Serviços de Shepherd"
  4852. #. type: menuentry
  4853. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4854. msgid "POSIX shells, Bash, Zsh."
  4855. msgstr ""
  4856. #. type: menuentry
  4857. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4858. #, fuzzy
  4859. #| msgid "Version Control Services"
  4860. msgid "Mcron: Mcron Home Service"
  4861. msgstr "Serviços de controlando versão"
  4862. #. type: menuentry
  4863. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4864. msgid "Scheduled User's Job Execution."
  4865. msgstr "Execução de trabalho do Usuário agendado."
  4866. #. type: menuentry
  4867. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4868. #, fuzzy
  4869. #| msgid "Power Management Services"
  4870. msgid "Power Management: Power Management Home Services"
  4871. msgstr "Serviços de gerenciamento de energia"
  4872. #. type: menuentry
  4873. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4874. #, fuzzy
  4875. #| msgid "Services"
  4876. msgid "Services for battery power."
  4877. msgstr "Serviços"
  4878. #. type: menuentry
  4879. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4880. #, fuzzy
  4881. #| msgid "Shepherd Services"
  4882. msgid "Shepherd: Shepherd Home Service"
  4883. msgstr "Serviços de Shepherd"
  4884. #. type: menuentry
  4885. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4886. #, fuzzy
  4887. #| msgid "Messaging services."
  4888. msgid "Managing User's Daemons."
  4889. msgstr "Serviços de mensageria."
  4890. #. type: menuentry
  4891. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4892. msgid "SSH: Secure Shell"
  4893. msgstr ""
  4894. #. type: menuentry
  4895. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4896. msgid "Setting up the secure shell client."
  4897. msgstr ""
  4898. #. type: menuentry
  4899. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4900. msgid "GPG: GNU Privacy Guard"
  4901. msgstr ""
  4902. #. type: menuentry
  4903. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4904. msgid "Setting up GPG and related tools."
  4905. msgstr ""
  4906. #. type: menuentry
  4907. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4908. #, fuzzy
  4909. #| msgid "Desktop Services"
  4910. msgid "Desktop: Desktop Home Services"
  4911. msgstr "Serviços de desktop"
  4912. #. type: menuentry
  4913. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4914. msgid "Services for graphical environments."
  4915. msgstr ""
  4916. #. type: menuentry
  4917. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4918. #, fuzzy
  4919. #| msgid "Game Services"
  4920. msgid "Guix: Guix Home Services"
  4921. msgstr "Serviços de jogos"
  4922. #. type: menuentry
  4923. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4924. #, fuzzy
  4925. #| msgid "Services"
  4926. msgid "Services for Guix."
  4927. msgstr "Serviços"
  4928. #. type: menuentry
  4929. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4930. #, fuzzy
  4931. #| msgid "Version Control Services"
  4932. msgid "Fonts: Fonts Home Services"
  4933. msgstr "Serviços de controlando versão"
  4934. #. type: menuentry
  4935. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4936. #, fuzzy
  4937. #| msgid "Messaging services."
  4938. msgid "Services for managing User's fonts."
  4939. msgstr "Serviços de mensageria."
  4940. #. type: menuentry
  4941. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4942. #, fuzzy
  4943. #| msgid "Version Control Services"
  4944. msgid "Sound: Sound Home Services"
  4945. msgstr "Serviços de controlando versão"
  4946. #. type: menuentry
  4947. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4948. msgid "Dealing with audio."
  4949. msgstr ""
  4950. #. type: menuentry
  4951. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4952. #, fuzzy
  4953. #| msgid "Messaging Services"
  4954. msgid "Messaging: Messaging Home Services"
  4955. msgstr "Serviços de mensageria"
  4956. #. type: menuentry
  4957. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4958. #, fuzzy
  4959. #| msgid "Messaging services."
  4960. msgid "Services for managing messaging."
  4961. msgstr "Serviços de mensageria."
  4962. #. type: menuentry
  4963. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4964. #, fuzzy
  4965. #| msgid "Game Services"
  4966. msgid "Media: Media Home Services"
  4967. msgstr "Serviços de jogos"
  4968. #. type: menuentry
  4969. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:42299
  4970. #, fuzzy
  4971. #| msgid "Messaging services."
  4972. msgid "Services for managing media."
  4973. msgstr "Serviços de mensageria."
  4974. #. type: node
  4975. #: guix-git/doc/guix.texi:452 guix-git/doc/guix.texi:44154
  4976. #: guix-git/doc/guix.texi:44156
  4977. #, fuzzy, no-wrap
  4978. #| msgid "origin Reference"
  4979. msgid "platform Reference"
  4980. msgstr "Referência do origin"
  4981. #. type: menuentry
  4982. #: guix-git/doc/guix.texi:452 guix-git/doc/guix.texi:44154
  4983. #, fuzzy
  4984. #| msgid "Detail of operating-system declarations."
  4985. msgid "Detail of platform declarations."
  4986. msgstr "Detalhe das declarações do operating-system."
  4987. #. type: section
  4988. #: guix-git/doc/guix.texi:452 guix-git/doc/guix.texi:44154
  4989. #: guix-git/doc/guix.texi:44198 guix-git/doc/guix.texi:44199
  4990. #, fuzzy, no-wrap
  4991. #| msgid "Supported hardware."
  4992. msgid "Supported Platforms"
  4993. msgstr "Hardware suportado."
  4994. #. type: menuentry
  4995. #: guix-git/doc/guix.texi:452 guix-git/doc/guix.texi:44154
  4996. #, fuzzy
  4997. #| msgid "List the supported graph types."
  4998. msgid "Description of the supported platforms."
  4999. msgstr "Lista os tipos de gráficos disponíveis."
  5000. #. type: chapter
  5001. #: guix-git/doc/guix.texi:454 guix-git/doc/guix.texi:44252
  5002. #, fuzzy, no-wrap
  5003. #| msgid "Creating software bundles."
  5004. msgid "Creating System Images"
  5005. msgstr "Criando pacotes de software."
  5006. #. type: node
  5007. #: guix-git/doc/guix.texi:459 guix-git/doc/guix.texi:44284
  5008. #: guix-git/doc/guix.texi:44286
  5009. #, fuzzy, no-wrap
  5010. #| msgid "package Reference"
  5011. msgid "image Reference"
  5012. msgstr "Referência do package"
  5013. #. type: menuentry
  5014. #: guix-git/doc/guix.texi:459 guix-git/doc/guix.texi:44284
  5015. #, fuzzy
  5016. #| msgid "Detail of operating-system declarations."
  5017. msgid "Detail of image declarations."
  5018. msgstr "Detalhe das declarações do operating-system."
  5019. #. type: section
  5020. #: guix-git/doc/guix.texi:459 guix-git/doc/guix.texi:44284
  5021. #: guix-git/doc/guix.texi:44435 guix-git/doc/guix.texi:44436
  5022. #, no-wrap
  5023. msgid "Instantiate an Image"
  5024. msgstr ""
  5025. #. type: menuentry
  5026. #: guix-git/doc/guix.texi:459 guix-git/doc/guix.texi:44284
  5027. msgid "How to instantiate an image record."
  5028. msgstr ""
  5029. #. type: section
  5030. #: guix-git/doc/guix.texi:459 guix-git/doc/guix.texi:44284
  5031. #: guix-git/doc/guix.texi:44589 guix-git/doc/guix.texi:44590
  5032. #, fuzzy, no-wrap
  5033. #| msgid "package Reference"
  5034. msgid "image-type Reference"
  5035. msgstr "Referência do package"
  5036. #. type: menuentry
  5037. #: guix-git/doc/guix.texi:459 guix-git/doc/guix.texi:44284
  5038. #, fuzzy
  5039. #| msgid "Detail of operating-system declarations."
  5040. msgid "Detail of image types declaration."
  5041. msgstr "Detalhe das declarações do operating-system."
  5042. #. type: section
  5043. #: guix-git/doc/guix.texi:459 guix-git/doc/guix.texi:44284
  5044. #: guix-git/doc/guix.texi:44710 guix-git/doc/guix.texi:44711
  5045. #, fuzzy, no-wrap
  5046. #| msgid "Package Modules"
  5047. msgid "Image Modules"
  5048. msgstr "Módulos de pacote"
  5049. #. type: menuentry
  5050. #: guix-git/doc/guix.texi:459 guix-git/doc/guix.texi:44284
  5051. msgid "Definition of image modules."
  5052. msgstr ""
  5053. #. type: section
  5054. #: guix-git/doc/guix.texi:461 guix-git/doc/guix.texi:44287
  5055. #, fuzzy, no-wrap
  5056. #| msgid "package Reference"
  5057. msgid "@code{image} Reference"
  5058. msgstr "Referência do package"
  5059. #. type: node
  5060. #: guix-git/doc/guix.texi:463 guix-git/doc/guix.texi:44376
  5061. #: guix-git/doc/guix.texi:44378
  5062. #, fuzzy, no-wrap
  5063. #| msgid "origin Reference"
  5064. msgid "partition Reference"
  5065. msgstr "Referência do origin"
  5066. #. type: section
  5067. #: guix-git/doc/guix.texi:468 guix-git/doc/guix.texi:44780
  5068. #: guix-git/doc/guix.texi:44782 guix-git/doc/guix.texi:44783
  5069. #, no-wrap
  5070. msgid "Separate Debug Info"
  5071. msgstr ""
  5072. #. type: menuentry
  5073. #: guix-git/doc/guix.texi:468 guix-git/doc/guix.texi:44780
  5074. msgid "Installing 'debug' outputs."
  5075. msgstr ""
  5076. #. type: section
  5077. #: guix-git/doc/guix.texi:468 guix-git/doc/guix.texi:44780
  5078. #: guix-git/doc/guix.texi:44855 guix-git/doc/guix.texi:44856
  5079. #, no-wrap
  5080. msgid "Rebuilding Debug Info"
  5081. msgstr ""
  5082. #. type: menuentry
  5083. #: guix-git/doc/guix.texi:468 guix-git/doc/guix.texi:44780
  5084. msgid "Building missing debug info."
  5085. msgstr ""
  5086. #. type: node
  5087. #: guix-git/doc/guix.texi:473 guix-git/doc/guix.texi:45223
  5088. #: guix-git/doc/guix.texi:45225
  5089. #, no-wrap
  5090. msgid "Full-Source Bootstrap"
  5091. msgstr ""
  5092. #. type: menuentry
  5093. #: guix-git/doc/guix.texi:473 guix-git/doc/guix.texi:45223
  5094. msgid "A Bootstrap worthy of GNU."
  5095. msgstr ""
  5096. #. type: section
  5097. #: guix-git/doc/guix.texi:473 guix-git/doc/guix.texi:45223
  5098. #: guix-git/doc/guix.texi:45307 guix-git/doc/guix.texi:45308
  5099. #, no-wrap
  5100. msgid "Preparing to Use the Bootstrap Binaries"
  5101. msgstr ""
  5102. #. type: menuentry
  5103. #: guix-git/doc/guix.texi:473 guix-git/doc/guix.texi:45223
  5104. msgid "Building that what matters most."
  5105. msgstr ""
  5106. #. type: cindex
  5107. #: guix-git/doc/guix.texi:481
  5108. #, no-wrap
  5109. msgid "purpose"
  5110. msgstr "propósito"
  5111. #. type: Plain text
  5112. #: guix-git/doc/guix.texi:489
  5113. msgid "GNU Guix@footnote{``Guix'' is pronounced like ``geeks'', or ``ɡiːks'' using the international phonetic alphabet (IPA).} is a package management tool for and distribution of the GNU system. Guix makes it easy for unprivileged users to install, upgrade, or remove software packages, to roll back to a previous package set, to build packages from source, and generally assists with the creation and maintenance of software environments."
  5114. msgstr "GNU Guix@footnote{``Guix'' é pronunciado como ``geeks'', ou ``ɡiːks'' usando o alfabeto fonético internacional (IPA).} é uma ferramenta de gerenciamento de pacotes e distribuição do sistema GNU. O Guix facilita a instalação, a atualização ou a remoção de pacotes de software, a reversão para um conjunto de pacotes anterior, a compilação de pacotes a partir do código-fonte e geralmente ajuda na criação e manutenção de ambientes de software."
  5115. #. type: cindex
  5116. #: guix-git/doc/guix.texi:490 guix-git/doc/guix.texi:565
  5117. #, no-wrap
  5118. msgid "Guix System"
  5119. msgstr "Sistema Guix"
  5120. #. type: cindex
  5121. #: guix-git/doc/guix.texi:491
  5122. #, no-wrap
  5123. msgid "GuixSD, now Guix System"
  5124. msgstr "GuixSD, agora Guix System"
  5125. #. type: cindex
  5126. #: guix-git/doc/guix.texi:492
  5127. #, no-wrap
  5128. msgid "Guix System Distribution, now Guix System"
  5129. msgstr "Guix System Distribution, agora Guix System"
  5130. #. type: Plain text
  5131. #: guix-git/doc/guix.texi:501
  5132. msgid "You can install GNU@tie{}Guix on top of an existing GNU/Linux system where it complements the available tools without interference (@pxref{Installation}), or you can use it as a standalone operating system distribution, @dfn{Guix@tie{}System}@footnote{We used to refer to Guix System as ``Guix System Distribution'' or ``GuixSD''. We now consider it makes more sense to group everything under the ``Guix'' banner since, after all, Guix System is readily available through the @command{guix system} command, even if you're using a different distro underneath!}. @xref{GNU Distribution}."
  5133. msgstr "Você pode instalar o GNU@tie{}Guix sobre um sistema GNU/Linux existente, onde ele complementa as ferramentas disponíveis sem interferência (@pxref{Instalação}) ou você pode usá-lo como uma distribuição de sistema operacional independente, @dfn{Guix@tie{}System}@footnote{Costumávamos nos referir ao Guix System como ``Guix System Distribution'' ou ``GuixSD''. Agora consideramos que faz mais sentido agrupar tudo sob o banner ``Guix'', pois, afinal, o Guix System está prontamente disponível através do comando @command{guix system}, mesmo se você estiver usando uma distribuição diferente por baixo!}. @xref{Distribuição GNU}."
  5134. #. type: cindex
  5135. #: guix-git/doc/guix.texi:510
  5136. #, no-wrap
  5137. msgid "user interfaces"
  5138. msgstr "interfaces de usuário"
  5139. #. type: Plain text
  5140. #: guix-git/doc/guix.texi:516
  5141. msgid "Guix provides a command-line package management interface (@pxref{Package Management}), tools to help with software development (@pxref{Development}), command-line utilities for more advanced usage (@pxref{Utilities}), as well as Scheme programming interfaces (@pxref{Programming Interface})."
  5142. msgstr ""
  5143. #. type: cindex
  5144. #: guix-git/doc/guix.texi:516
  5145. #, no-wrap
  5146. msgid "build daemon"
  5147. msgstr "build daemon"
  5148. #. type: Plain text
  5149. #: guix-git/doc/guix.texi:520
  5150. msgid "Its @dfn{build daemon} is responsible for building packages on behalf of users (@pxref{Setting Up the Daemon}) and for downloading pre-built binaries from authorized sources (@pxref{Substitutes})."
  5151. msgstr "O @dfn{build daemon} é responsável por compilar pacotes em nome dos usuários (@pxref{Configurando o daemon}) e por baixar binários pré-compilados de fontes autorizados (@pxref{Substitutos})."
  5152. #. type: cindex
  5153. #: guix-git/doc/guix.texi:521
  5154. #, no-wrap
  5155. msgid "extensibility of the distribution"
  5156. msgstr "extensibilidade da distribuição"
  5157. #. type: cindex
  5158. #: guix-git/doc/guix.texi:522 guix-git/doc/guix.texi:7509
  5159. #, no-wrap
  5160. msgid "customization, of packages"
  5161. msgstr "personalização, de pacotes"
  5162. #. type: Plain text
  5163. #: guix-git/doc/guix.texi:531
  5164. msgid "Guix includes package definitions for many GNU and non-GNU packages, all of which @uref{https://www.gnu.org/philosophy/free-sw.html, respect the user's computing freedom}. It is @emph{extensible}: users can write their own package definitions (@pxref{Defining Packages}) and make them available as independent package modules (@pxref{Package Modules}). It is also @emph{customizable}: users can @emph{derive} specialized package definitions from existing ones, including from the command line (@pxref{Package Transformation Options})."
  5165. msgstr "Guix inclui definições de pacotes para muitos pacotes GNU e não-GNU, todos os quais @uref{https://www.gnu.org/philosophy/free-sw.html, respeitam a liberdade de computação do usuário}. É @emph{extensível}: os usuários podem escrever suas próprias definições de pacotes (@pxref{Definindo pacotes}) e disponibilizá-los como módulos de pacotes independentes (@pxref{Módulos de pacote}). Também é @emph{personalizável}: os usuários podem @emph{derivar} definições de pacotes especializados das existentes, incluindo da linha de comando (@pxref{Opções de transformação de pacote})."
  5166. #. type: cindex
  5167. #: guix-git/doc/guix.texi:532
  5168. #, no-wrap
  5169. msgid "functional package management"
  5170. msgstr "gerenciamento de pacotes funcional"
  5171. #. type: cindex
  5172. #: guix-git/doc/guix.texi:533
  5173. #, no-wrap
  5174. msgid "isolation"
  5175. msgstr "isolação"
  5176. #. type: Plain text
  5177. #: guix-git/doc/guix.texi:548
  5178. msgid "Under the hood, Guix implements the @dfn{functional package management} discipline pioneered by Nix (@pxref{Acknowledgments}). In Guix, the package build and installation process is seen as a @emph{function}, in the mathematical sense. That function takes inputs, such as build scripts, a compiler, and libraries, and returns an installed package. As a pure function, its result depends solely on its inputs---for instance, it cannot refer to software or scripts that were not explicitly passed as inputs. A build function always produces the same result when passed a given set of inputs. It cannot alter the environment of the running system in any way; for instance, it cannot create, modify, or delete files outside of its build and installation directories. This is achieved by running build processes in isolated environments (or @dfn{containers}), where only their explicit inputs are visible."
  5179. msgstr "Nos bastidores, a Guix implementa a disciplina @dfn{gerenciamento de pacotes funcional} pioneira da Nix (@pxref{Agradecimentos}). No Guix, o processo de compilação e instalação de pacotes é visto como uma @emph{função}, no sentido matemático. Essa função recebe entradas, como scripts de compilação, um compilador e bibliotecas, e retorna um pacote instalado. Como uma função pura, seu resultado depende apenas de suas entradas – por exemplo, não pode fazer referência a um software ou scripts que não foram explicitamente passados como entradas. Uma função de compilação sempre produz o mesmo resultado ao passar por um determinado conjunto de entradas. Não pode alterar o ambiente do sistema em execução de qualquer forma; por exemplo, ele não pode criar, modificar ou excluir arquivos fora de seus diretórios de compilação e instalação. Isto é conseguido através da execução de processos de compilação em ambientes isolados (ou @dfn{containers}), onde somente suas entradas explícitas são visíveis."
  5180. #. type: cindex
  5181. #: guix-git/doc/guix.texi:549 guix-git/doc/guix.texi:10925
  5182. #, no-wrap
  5183. msgid "store"
  5184. msgstr "armazém"
  5185. #. type: Plain text
  5186. #: guix-git/doc/guix.texi:556
  5187. msgid "The result of package build functions is @dfn{cached} in the file system, in a special directory called @dfn{the store} (@pxref{The Store}). Each package is installed in a directory of its own in the store---by default under @file{/gnu/store}. The directory name contains a hash of all the inputs used to build that package; thus, changing an input yields a different directory name."
  5188. msgstr "O resultado das funções de compilação do pacote é mantido (@dfn{cached}) no sistema de arquivos, em um diretório especial chamado @dfn{armazém} (@pxref{The Store}). Cada pacote é instalado em um diretório próprio no armazém – por padrão, em @file{/gnu/store}. O nome do diretório contém um hash de todas as entradas usadas para compilar esse pacote; Assim, a alteração uma entrada gera um nome de diretório diferente."
  5189. #. type: Plain text
  5190. #: guix-git/doc/guix.texi:560
  5191. msgid "This approach is the foundation for the salient features of Guix: support for transactional package upgrade and rollback, per-user installation, and garbage collection of packages (@pxref{Features})."
  5192. msgstr "Essa abordagem é a fundação para os principais recursos do Guix: suporte para atualização transacional de pacotes e reversão, instalação por usuário e coleta de lixo de pacotes (@pxref{Recursos})."
  5193. #. type: Plain text
  5194. #: guix-git/doc/guix.texi:575
  5195. msgid "Guix comes with a distribution of the GNU system consisting entirely of free software@footnote{The term ``free'' here refers to the @url{https://www.gnu.org/philosophy/free-sw.html,freedom provided to users of that software}.}. The distribution can be installed on its own (@pxref{System Installation}), but it is also possible to install Guix as a package manager on top of an installed GNU/Linux system (@pxref{Installation}). When we need to distinguish between the two, we refer to the standalone distribution as Guix@tie{}System."
  5196. msgstr "O Guix vem com uma distribuição do sistema GNU que consiste inteiramente de software livre@footnote{O termo ``free'' em ``free software`` se refere à @url{https://www.gnu.org/philosophy/free-sw.html,liberdade fornecida aos usuários desse software}. A ambiguidade no termo em inglês não ocorre na tradução para português ``livre``.}. A distribuição pode ser instalada por conta própria (@pxref{Instalação do sistema}), mas também é possível instalar o Guix como um gerenciador de pacotes em cima de um sistema GNU/Linux instalado (@pxref{Instalação}). Quando precisamos distinguir entre os dois, nos referimos à distribuição independente como Guix@tie{}System."
  5197. #. type: Plain text
  5198. #: guix-git/doc/guix.texi:581
  5199. msgid "The distribution provides core GNU packages such as GNU libc, GCC, and Binutils, as well as many GNU and non-GNU applications. The complete list of available packages can be browsed @url{https://www.gnu.org/software/guix/packages,on-line} or by running @command{guix package} (@pxref{Invoking guix package}):"
  5200. msgstr "A distribuição fornece pacotes GNU principais, como GNU libc, GCC e Binutils, além de muitos aplicativos GNU e não GNU. A lista completa de pacotes disponíveis pode ser acessada @url{https://www.gnu.org/software/guix/packages,online} ou executando @command{guix package} (@pxref{Invocando guix package}):"
  5201. #. type: example
  5202. #: guix-git/doc/guix.texi:584
  5203. #, no-wrap
  5204. msgid "guix package --list-available\n"
  5205. msgstr "guix package --list-available\n"
  5206. #. type: Plain text
  5207. #: guix-git/doc/guix.texi:590
  5208. msgid "Our goal is to provide a practical 100% free software distribution of Linux-based and other variants of GNU, with a focus on the promotion and tight integration of GNU components, and an emphasis on programs and tools that help users exert that freedom."
  5209. msgstr "Nosso objetivo é fornecer uma distribuição prática e 100% de software livre, baseada em Linux e outras variantes do GNU, com foco na promoção e forte integração de componentes do GNU e ênfase em programas e ferramentas que ajudam os usuários a exercer essa liberdade."
  5210. #. type: Plain text
  5211. #: guix-git/doc/guix.texi:592
  5212. msgid "Packages are currently available on the following platforms:"
  5213. msgstr "Os pacotes estão atualmente disponíveis nas seguintes plataformas:"
  5214. #. type: defvar
  5215. #: guix-git/doc/guix.texi:595 guix-git/doc/guix.texi:2324
  5216. #: guix-git/doc/guix.texi:44232
  5217. #, no-wrap
  5218. msgid "x86_64-linux"
  5219. msgstr "x86_64-linux"
  5220. #. type: table
  5221. #: guix-git/doc/guix.texi:597
  5222. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  5223. msgstr ""
  5224. #. type: defvar
  5225. #: guix-git/doc/guix.texi:598 guix-git/doc/guix.texi:2327
  5226. #: guix-git/doc/guix.texi:44228
  5227. #, no-wrap
  5228. msgid "i686-linux"
  5229. msgstr "i686-linux"
  5230. #. type: table
  5231. #: guix-git/doc/guix.texi:600
  5232. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  5233. msgstr ""
  5234. #. type: item
  5235. #: guix-git/doc/guix.texi:601
  5236. #, no-wrap
  5237. msgid "armhf-linux"
  5238. msgstr "armhf-linux"
  5239. #. type: table
  5240. #: guix-git/doc/guix.texi:605
  5241. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  5242. msgstr "Arquitetura ARMv7-A com hard float, Thumb-2 e NEON, usando a interface binária de aplicativos EABI hard-float (ABI) e o kernel Linux-Libre."
  5243. #. type: defvar
  5244. #: guix-git/doc/guix.texi:606 guix-git/doc/guix.texi:44208
  5245. #, no-wrap
  5246. msgid "aarch64-linux"
  5247. msgstr "aarch64-linux"
  5248. #. type: table
  5249. #: guix-git/doc/guix.texi:608
  5250. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  5251. msgstr ""
  5252. #. type: defvar
  5253. #: guix-git/doc/guix.texi:609 guix-git/doc/guix.texi:44246
  5254. #, no-wrap
  5255. msgid "i586-gnu"
  5256. msgstr ""
  5257. #. type: table
  5258. #: guix-git/doc/guix.texi:612
  5259. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  5260. msgstr ""
  5261. #. type: table
  5262. #: guix-git/doc/guix.texi:618
  5263. msgid "This configuration is experimental and under development. The easiest way for you to give it a try is by setting up an instance of @code{hurd-vm-service-type} on your GNU/Linux machine (@pxref{transparent-emulation-qemu, @code{hurd-vm-service-type}}). @xref{Contributing}, on how to help!"
  5264. msgstr ""
  5265. #. type: item
  5266. #: guix-git/doc/guix.texi:619
  5267. #, no-wrap
  5268. msgid "mips64el-linux (unsupported)"
  5269. msgstr ""
  5270. #. type: table
  5271. #: guix-git/doc/guix.texi:625
  5272. msgid "little-endian 64-bit MIPS processors, specifically the Loongson series, n32 ABI, and Linux-Libre kernel. This configuration is no longer fully supported; in particular, there is no ongoing work to ensure that this architecture still works. Should someone decide they wish to revive this architecture then the code is still available."
  5273. msgstr ""
  5274. #. type: item
  5275. #: guix-git/doc/guix.texi:626
  5276. #, no-wrap
  5277. msgid "powerpc-linux (unsupported)"
  5278. msgstr ""
  5279. #. type: table
  5280. #: guix-git/doc/guix.texi:631
  5281. msgid "big-endian 32-bit PowerPC processors, specifically the PowerPC G4 with AltiVec support, and Linux-Libre kernel. This configuration is not fully supported and there is no ongoing work to ensure this architecture works."
  5282. msgstr ""
  5283. #. type: table
  5284. #: guix-git/doc/guix.texi:642
  5285. msgid "little-endian 64-bit Power ISA processors, Linux-Libre kernel. This includes POWER9 systems such as the @uref{https://www.fsf.org/news/talos-ii-mainboard-and-talos-ii-lite-mainboard-now-fsf-certified-to-respect-your-freedom, RYF Talos II mainboard}. This platform is available as a \"technology preview\": although it is supported, substitutes are not yet available from the build farm (@pxref{Substitutes}), and some packages may fail to build (@pxref{Tracking Bugs and Patches}). That said, the Guix community is actively working on improving this support, and now is a great time to try it and get involved!"
  5286. msgstr ""
  5287. #. type: defvar
  5288. #: guix-git/doc/guix.texi:643 guix-git/doc/guix.texi:44224
  5289. #, fuzzy, no-wrap
  5290. #| msgid "aarch64-linux"
  5291. msgid "riscv64-linux"
  5292. msgstr "aarch64-linux"
  5293. #. type: table
  5294. #: guix-git/doc/guix.texi:651
  5295. msgid "little-endian 64-bit RISC-V processors, specifically RV64GC, and Linux-Libre kernel. This platform is available as a \"technology preview\": although it is supported, substitutes are not yet available from the build farm (@pxref{Substitutes}), and some packages may fail to build (@pxref{Tracking Bugs and Patches}). That said, the Guix community is actively working on improving this support, and now is a great time to try it and get involved!"
  5296. msgstr ""
  5297. #. type: Plain text
  5298. #: guix-git/doc/guix.texi:661
  5299. msgid "With Guix@tie{}System, you @emph{declare} all aspects of the operating system configuration and Guix takes care of instantiating the configuration in a transactional, reproducible, and stateless fashion (@pxref{System Configuration}). Guix System uses the Linux-libre kernel, the Shepherd initialization system (@pxref{Introduction,,, shepherd, The GNU Shepherd Manual}), the well-known GNU utilities and tool chain, as well as the graphical environment or system services of your choice."
  5300. msgstr "Com o Guix@tie{}System, você @emph{declara} todos os aspectos da configuração do sistema operacional, e o Guix cuida de instanciar a configuração de maneira transacional, reproduzível e sem estado (@pxref{Configuração do sistema}). O Guix System usa o kernel Linux-libre, o sistema de inicialização Shepherd (@pxref{Introduction ,,, shepherd, The GNU Shepherd Manual}), os conhecidos utilitários do GNU e cadeia de ferramentas, bem como o ambiente gráfico ou os serviços de sistema do sua escolha."
  5301. #. type: Plain text
  5302. #: guix-git/doc/guix.texi:665
  5303. #, fuzzy
  5304. msgid "Guix System is available on all the above platforms except @code{mips64el-linux}, @code{powerpc-linux}, @code{powerpc64le-linux} and @code{riscv64-linux}."
  5305. msgstr "O Guix System está disponível em todas as plataformas acima, exceto @code{mips64el-linux}."
  5306. #. type: Plain text
  5307. #: guix-git/doc/guix.texi:669
  5308. msgid "For information on porting to other architectures or kernels, @pxref{Porting}."
  5309. msgstr "Para obter informações sobre como portar para outras arquiteturas ou kernels, @pxref{Portando}."
  5310. #. type: Plain text
  5311. #: guix-git/doc/guix.texi:672
  5312. msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help."
  5313. msgstr "A construção desta distribuição é um esforço cooperativo e você está convidado a participar! @xref{Contribuindo}, para obter informações sobre como você pode ajudar."
  5314. #. type: cindex
  5315. #: guix-git/doc/guix.texi:678
  5316. #, no-wrap
  5317. msgid "installing Guix"
  5318. msgstr "instalando Guix"
  5319. #. type: quotation
  5320. #: guix-git/doc/guix.texi:690
  5321. msgid "We recommend the use of this @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, shell installer script} to install Guix on top of a running GNU/Linux system, thereafter called a @dfn{foreign distro}.@footnote{This section is concerned with the installation of the package manager, which can be done on top of a running GNU/Linux system. If, instead, you want to install the complete GNU operating system, @pxref{System Installation}.} The script automates the download, installation, and initial configuration of Guix. It should be run as the root user."
  5322. msgstr "Recomendamos o uso deste @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, script de instalação do shell} para instalar o Guix sobre o sistema GNU/Linux que você esteja usando, posteriormente denominado @dfn{distro alheia}.@footnote{Esta seção trata da instalação do gerenciador de pacotes, que pode ser feita sobre um sistema GNU/Linux atualmente em uso. Se, em vez disso, você deseja instalar o sistema operacional GNU completo, @pxref{Instalação do sistema}.} O script automatiza o download, a instalação e a configuração inicial do Guix. Ele deve ser executado como usuário root."
  5323. #. type: cindex
  5324. #: guix-git/doc/guix.texi:692 guix-git/doc/guix.texi:1968
  5325. #, no-wrap
  5326. msgid "foreign distro"
  5327. msgstr "distro alheia"
  5328. #. type: cindex
  5329. #: guix-git/doc/guix.texi:693
  5330. #, no-wrap
  5331. msgid "directories related to foreign distro"
  5332. msgstr "diretórios relacionados à distro alheia"
  5333. #. type: Plain text
  5334. #: guix-git/doc/guix.texi:698
  5335. msgid "When installed on a foreign distro, GNU@tie{}Guix complements the available tools without interference. Its data lives exclusively in two directories, usually @file{/gnu/store} and @file{/var/guix}; other files on your system, such as @file{/etc}, are left untouched."
  5336. msgstr "Quando instalado sobre uma distro alheia. GNU@tie{}Guix complementa as ferramentas disponíveis sem interferência. Seus dados residem exclusivamente em dois diretórios, geralmente @file{/gnu/store} e @file{/var/guix}; outros arquivos no seu sistema, como @file{/etc}, são deixados intactos."
  5337. #. type: Plain text
  5338. #: guix-git/doc/guix.texi:701
  5339. msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})."
  5340. msgstr "Uma vez instalado, o Guix pode ser atualizado executando @command{guix pull} (@pxref{Invocando guix pull})."
  5341. #. type: Plain text
  5342. #: guix-git/doc/guix.texi:706
  5343. msgid "If you prefer to perform the installation steps manually or want to tweak them, you may find the following subsections useful. They describe the software requirements of Guix, as well as how to install it manually and get ready to use it."
  5344. msgstr "Se você preferir executar as etapas de instalação manualmente ou desejar ajustá-las, poderá achar úteis as seguintes subseções. Eles descrevem os requisitos de software do Guix, bem como instalá-lo manualmente e se preparar para usá-lo."
  5345. #. type: cindex
  5346. #: guix-git/doc/guix.texi:720
  5347. #, no-wrap
  5348. msgid "installing Guix from binaries"
  5349. msgstr "instalando Guix de binários"
  5350. #. type: cindex
  5351. #: guix-git/doc/guix.texi:721
  5352. #, no-wrap
  5353. msgid "installer script"
  5354. msgstr "script de instalação"
  5355. #. type: Plain text
  5356. #: guix-git/doc/guix.texi:727
  5357. msgid "This section describes how to install Guix on an arbitrary system from a self-contained tarball providing binaries for Guix and for all its dependencies. This is often quicker than installing from source, which is described in the next sections. The only requirement is to have GNU@tie{}tar and Xz."
  5358. msgstr "Esta seção descreve como instalar o Guix em um sistema arbitrário a partir de um tarball independente que fornece binários para o Guix e para todas as suas dependências. Isso geralmente é mais rápido do que instalar do código-fonte, o que é descrito nas próximas seções. O único requisito é ter o GNU@tie{}tar e Xz."
  5359. #. type: quotation
  5360. #: guix-git/doc/guix.texi:735
  5361. msgid "We recommend the use of this @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, shell installer script}. The script automates the download, installation, and initial configuration steps described below. It should be run as the root user. As root, you can thus run this:"
  5362. msgstr ""
  5363. #. type: example
  5364. #: guix-git/doc/guix.texi:741
  5365. #, no-wrap
  5366. msgid ""
  5367. "cd /tmp\n"
  5368. "wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh\n"
  5369. "chmod +x guix-install.sh\n"
  5370. "./guix-install.sh\n"
  5371. msgstr ""
  5372. #. type: quotation
  5373. #: guix-git/doc/guix.texi:746
  5374. msgid "If you're running Debian or a derivative such as Ubuntu, you can instead install the package (it might be a version older than @value{VERSION} but you can update it afterwards by running @samp{guix pull}):"
  5375. msgstr ""
  5376. #. type: example
  5377. #: guix-git/doc/guix.texi:749
  5378. #, no-wrap
  5379. msgid "sudo apt install guix\n"
  5380. msgstr ""
  5381. #. type: quotation
  5382. #: guix-git/doc/guix.texi:752
  5383. msgid "Likewise on openSUSE:"
  5384. msgstr ""
  5385. #. type: example
  5386. #: guix-git/doc/guix.texi:755
  5387. #, no-wrap
  5388. msgid "sudo zypper install guix\n"
  5389. msgstr ""
  5390. #. type: quotation
  5391. #: guix-git/doc/guix.texi:759
  5392. msgid "When you're done, @pxref{Application Setup} for extra configuration you might need, and @ref{Getting Started} for your first steps!"
  5393. msgstr ""
  5394. #. type: Plain text
  5395. #: guix-git/doc/guix.texi:762
  5396. msgid "Installing goes along these lines:"
  5397. msgstr "A instalação segue as seguintes linhas:"
  5398. #. type: cindex
  5399. #: guix-git/doc/guix.texi:765
  5400. #, no-wrap
  5401. msgid "downloading Guix binary"
  5402. msgstr "baixando binário do Guix"
  5403. #. type: enumerate
  5404. #: guix-git/doc/guix.texi:771
  5405. msgid "Download the binary tarball from @indicateurl{@value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz}, where @code{x86_64-linux} can be replaced with @code{i686-linux} for an @code{i686} (32-bits) machine already running the kernel Linux, and so on (@pxref{GNU Distribution})."
  5406. msgstr ""
  5407. #. type: enumerate
  5408. #: guix-git/doc/guix.texi:775
  5409. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:"
  5410. msgstr "Certifique-se de baixar o arquivo @file{.sig} associado e verificar a autenticidade do tarball, seguindo estas linhas:"
  5411. #. type: example
  5412. #: guix-git/doc/guix.texi:779
  5413. #, no-wrap
  5414. msgid ""
  5415. "$ wget @value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  5416. "$ gpg --verify guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  5417. msgstr ""
  5418. #. type: Plain text
  5419. #: guix-git/doc/guix.texi:783 guix-git/doc/guix.texi:2342
  5420. msgid "If that command fails because you do not have the required public key, then run this command to import it:"
  5421. msgstr "Se esse comando falhar porque você não possui a chave pública requerida, execute este comando para importá-lo:"
  5422. #. type: example
  5423. #: guix-git/doc/guix.texi:787
  5424. #, no-wrap
  5425. msgid ""
  5426. "$ wget '@value{OPENPGP-SIGNING-KEY-URL}' \\\n"
  5427. " -qO - | gpg --import -\n"
  5428. msgstr ""
  5429. #. type: Plain text
  5430. #: guix-git/doc/guix.texi:791 guix-git/doc/guix.texi:2350
  5431. msgid "and rerun the @code{gpg --verify} command."
  5432. msgstr "e execute novamente o comando @code{gpg --verify}."
  5433. #. type: Plain text
  5434. #: guix-git/doc/guix.texi:794 guix-git/doc/guix.texi:2353
  5435. msgid "Take note that a warning like ``This key is not certified with a trusted signature!'' is normal."
  5436. msgstr ""
  5437. #. type: enumerate
  5438. #: guix-git/doc/guix.texi:800
  5439. msgid "Now, you need to become the @code{root} user. Depending on your distribution, you may have to run @code{su -} or @code{sudo -i}. As @code{root}, run:"
  5440. msgstr "Agora, você precisa se tornar o usuário @code{root}. Dependendo de sua distribuição, você pode ter que executar @code{su -} ou @code{sudo -i}. Como @code{root}, execute:"
  5441. #. type: example
  5442. #: guix-git/doc/guix.texi:806
  5443. #, no-wrap
  5444. msgid ""
  5445. "# cd /tmp\n"
  5446. "# tar --warning=no-timestamp -xf \\\n"
  5447. " /path/to/guix-binary-@value{VERSION}.x86_64-linux.tar.xz\n"
  5448. "# mv var/guix /var/ && mv gnu /\n"
  5449. msgstr ""
  5450. #. type: enumerate
  5451. #: guix-git/doc/guix.texi:811
  5452. msgid "This creates @file{/gnu/store} (@pxref{The Store}) and @file{/var/guix}. The latter contains a ready-to-use profile for @code{root} (see next step)."
  5453. msgstr ""
  5454. #. type: enumerate
  5455. #: guix-git/doc/guix.texi:814
  5456. msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files."
  5457. msgstr "@emph{Não} descompacte o tarball em um sistema Guix funcional, pois isso substituiria seus próprios arquivos essenciais."
  5458. #. type: enumerate
  5459. #: guix-git/doc/guix.texi:824
  5460. msgid "The @option{--warning=no-timestamp} option makes sure GNU@tie{}tar does not emit warnings about ``implausibly old time stamps'' (such warnings were triggered by GNU@tie{}tar 1.26 and older; recent versions are fine). They stem from the fact that all the files in the archive have their modification time set to 1 (which means January 1st, 1970). This is done on purpose to make sure the archive content is independent of its creation time, thus making it reproducible."
  5461. msgstr ""
  5462. #. type: enumerate
  5463. #: guix-git/doc/guix.texi:828
  5464. msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):"
  5465. msgstr "Torne o perfil disponível sob @file{~root/.config/guix/current}, que é onde @command{guix pull} vai instalar atualizações (@pxref{Invoking guix pull}):"
  5466. #. type: example
  5467. #: guix-git/doc/guix.texi:833
  5468. #, no-wrap
  5469. msgid ""
  5470. "# mkdir -p ~root/.config/guix\n"
  5471. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  5472. " ~root/.config/guix/current\n"
  5473. msgstr ""
  5474. "# mkdir -p ~root/.config/guix\n"
  5475. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  5476. " ~root/.config/guix/current\n"
  5477. #. type: enumerate
  5478. #: guix-git/doc/guix.texi:837
  5479. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  5480. msgstr ""
  5481. #. type: example
  5482. #: guix-git/doc/guix.texi:841
  5483. #, no-wrap
  5484. msgid ""
  5485. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  5486. " source $GUIX_PROFILE/etc/profile\n"
  5487. msgstr ""
  5488. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  5489. " source $GUIX_PROFILE/etc/profile\n"
  5490. #. type: enumerate
  5491. #: guix-git/doc/guix.texi:846
  5492. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  5493. msgstr "Crie o grupo e contas de usuário para compilar usuários conforme explicado abaixo (@pxref{Configuração do ambiente de compilação})."
  5494. #. type: enumerate
  5495. #: guix-git/doc/guix.texi:849
  5496. msgid "Run the daemon, and set it to automatically start on boot."
  5497. msgstr "Execute o daemon e configure-o para iniciar automaticamente na inicialização do sistema."
  5498. #. type: enumerate
  5499. #: guix-git/doc/guix.texi:852
  5500. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  5501. msgstr "Se sua distro hospedeira usa o sistema init systemd, isso pode ser obtido com estes comandos:"
  5502. #. type: example
  5503. #: guix-git/doc/guix.texi:865
  5504. #, no-wrap
  5505. msgid ""
  5506. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  5507. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  5508. " /etc/systemd/system/\n"
  5509. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  5510. msgstr ""
  5511. #. type: enumerate
  5512. #: guix-git/doc/guix.texi:868
  5513. msgid "You may also want to arrange for @command{guix gc} to run periodically:"
  5514. msgstr ""
  5515. #. type: example
  5516. #: guix-git/doc/guix.texi:874
  5517. #, no-wrap
  5518. msgid ""
  5519. "# cp ~root/.config/guix/current/lib/systemd/system/guix-gc.service \\\n"
  5520. " ~root/.config/guix/current/lib/systemd/system/guix-gc.timer \\\n"
  5521. " /etc/systemd/system/\n"
  5522. "# systemctl enable --now guix-gc.timer\n"
  5523. msgstr ""
  5524. #. type: enumerate
  5525. #: guix-git/doc/guix.texi:878
  5526. msgid "You may want to edit @file{guix-gc.service} to adjust the command line options to fit your needs (@pxref{Invoking guix gc})."
  5527. msgstr ""
  5528. #. type: itemize
  5529. #: guix-git/doc/guix.texi:880 guix-git/doc/guix.texi:15703
  5530. msgid "If your host distro uses the Upstart init system:"
  5531. msgstr "Se sua distro hospedeira usa o sistema init Upstart:"
  5532. #. type: example
  5533. #: guix-git/doc/guix.texi:886
  5534. #, no-wrap
  5535. msgid ""
  5536. "# initctl reload-configuration\n"
  5537. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  5538. " /etc/init/\n"
  5539. "# start guix-daemon\n"
  5540. msgstr ""
  5541. "# initctl reload-configuration\n"
  5542. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  5543. " /etc/init/\n"
  5544. "# start guix-daemon\n"
  5545. #. type: enumerate
  5546. #: guix-git/doc/guix.texi:889
  5547. msgid "Otherwise, you can still start the daemon manually with:"
  5548. msgstr "Caso contrário, você ainda pode iniciar o daemon manualmente com:"
  5549. #. type: example
  5550. #: guix-git/doc/guix.texi:893
  5551. #, no-wrap
  5552. msgid ""
  5553. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  5554. " --build-users-group=guixbuild\n"
  5555. msgstr ""
  5556. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  5557. " --build-users-group=guixbuild\n"
  5558. #. type: enumerate
  5559. #: guix-git/doc/guix.texi:898
  5560. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  5561. msgstr "Disponibilize o comando @command{guix} para outros usuários na máquina, por exemplo, com:"
  5562. #. type: example
  5563. #: guix-git/doc/guix.texi:903
  5564. #, no-wrap
  5565. msgid ""
  5566. "# mkdir -p /usr/local/bin\n"
  5567. "# cd /usr/local/bin\n"
  5568. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  5569. msgstr ""
  5570. "# mkdir -p /usr/local/bin\n"
  5571. "# cd /usr/local/bin\n"
  5572. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  5573. #. type: enumerate
  5574. #: guix-git/doc/guix.texi:907
  5575. msgid "It is also a good idea to make the Info version of this manual available there:"
  5576. msgstr "Também é uma boa ideia disponibilizar a versão Info deste manual:"
  5577. #. type: example
  5578. #: guix-git/doc/guix.texi:913
  5579. #, no-wrap
  5580. msgid ""
  5581. "# mkdir -p /usr/local/share/info\n"
  5582. "# cd /usr/local/share/info\n"
  5583. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  5584. " do ln -s $i ; done\n"
  5585. msgstr ""
  5586. "# mkdir -p /usr/local/share/info\n"
  5587. "# cd /usr/local/share/info\n"
  5588. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  5589. " do ln -s $i ; done\n"
  5590. #. type: enumerate
  5591. #: guix-git/doc/guix.texi:919
  5592. msgid "That way, assuming @file{/usr/local/share/info} is in the search path, running @command{info guix} will open this manual (@pxref{Other Info Directories,,, texinfo, GNU Texinfo}, for more details on changing the Info search path)."
  5593. msgstr ""
  5594. #. type: cindex
  5595. #: guix-git/doc/guix.texi:921 guix-git/doc/guix.texi:4070
  5596. #: guix-git/doc/guix.texi:18794
  5597. #, no-wrap
  5598. msgid "substitutes, authorization thereof"
  5599. msgstr "substitutos, autenticação dela"
  5600. #. type: enumerate
  5601. #: guix-git/doc/guix.texi:925
  5602. #, fuzzy
  5603. #| msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER}} or one of its mirrors (@pxref{Substitutes}), authorize them:"
  5604. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror (@pxref{Substitutes}), authorize them:"
  5605. msgstr "Para usar substitutos de @code{@value{SUBSTITUTE-SERVER}} ou um de seus espelhos (@pxref{Substitutos}), autorize-os:"
  5606. #. type: example
  5607. #: guix-git/doc/guix.texi:931
  5608. #, no-wrap
  5609. msgid ""
  5610. "# guix archive --authorize < \\\n"
  5611. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  5612. "# guix archive --authorize < \\\n"
  5613. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  5614. msgstr ""
  5615. "# guix archive --authorize < \\\n"
  5616. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  5617. "# guix archive --authorize < \\\n"
  5618. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  5619. #. type: quotation
  5620. #: guix-git/doc/guix.texi:938
  5621. msgid "If you do not enable substitutes, Guix will end up building @emph{everything} from source on your machine, making each installation and upgrade very expensive. @xref{On Trusting Binaries}, for a discussion of reasons why one might want do disable substitutes."
  5622. msgstr ""
  5623. #. type: enumerate
  5624. #: guix-git/doc/guix.texi:943
  5625. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  5626. msgstr "Cada usuário pode precisar executar algumas etapas adicionais para tornar seu ambiente Guix pronto para uso, @pxref{Configuração de aplicativo}."
  5627. #. type: Plain text
  5628. #: guix-git/doc/guix.texi:946
  5629. msgid "Voilà, the installation is complete!"
  5630. msgstr "Voilà, a instalação está completa!"
  5631. #. type: Plain text
  5632. #: guix-git/doc/guix.texi:949
  5633. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  5634. msgstr "Você pode confirmar que o Guix está funcionando instalando um pacote de amostra no perfil raiz:"
  5635. #. type: example
  5636. #: guix-git/doc/guix.texi:952
  5637. #, no-wrap
  5638. msgid "# guix install hello\n"
  5639. msgstr "# guix install hello\n"
  5640. #. type: Plain text
  5641. #: guix-git/doc/guix.texi:956
  5642. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  5643. msgstr "O tarball da instalação binária pode ser (re)produzido e verificado simplesmente executando o seguinte comando na árvore de código-fonte do Guix:"
  5644. #. type: example
  5645. #: guix-git/doc/guix.texi:959
  5646. #, no-wrap
  5647. msgid "make guix-binary.@var{system}.tar.xz\n"
  5648. msgstr "make guix-binary.@var{system}.tar.xz\n"
  5649. #. type: Plain text
  5650. #: guix-git/doc/guix.texi:963
  5651. msgid "...@: which, in turn, runs:"
  5652. msgstr "...@: que, por sua vez, executa:"
  5653. #. type: example
  5654. #: guix-git/doc/guix.texi:967
  5655. #, no-wrap
  5656. msgid ""
  5657. "guix pack -s @var{system} --localstatedir \\\n"
  5658. " --profile-name=current-guix guix\n"
  5659. msgstr ""
  5660. "guix pack -s @var{system} --localstatedir \\\n"
  5661. " --profile-name=current-guix guix\n"
  5662. #. type: Plain text
  5663. #: guix-git/doc/guix.texi:970
  5664. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  5665. msgstr "@xref{Invocando guix pack}, para mais informações sobre essa ferramenta útil."
  5666. #. type: Plain text
  5667. #: guix-git/doc/guix.texi:978
  5668. msgid "This section lists requirements when building Guix from source. The build procedure for Guix is the same as for other GNU software, and is not covered here. Please see the files @file{README} and @file{INSTALL} in the Guix source tree for additional details."
  5669. msgstr "Esta seção lista os requisitos ao compilar o Guix a partir do fonte. O procedimento de compilação do Guix é o mesmo que para outros softwares GNU, e não é coberto aqui. Por favor, veja os arquivos @file{README} e @file{INSTALL} na árvore fonte do Guix para detalhes adicionais."
  5670. #. type: cindex
  5671. #: guix-git/doc/guix.texi:979
  5672. #, no-wrap
  5673. msgid "official website"
  5674. msgstr "site oficial"
  5675. #. type: Plain text
  5676. #: guix-git/doc/guix.texi:982
  5677. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  5678. msgstr "O GNU Guix está disponível para download em seu site em @url{http://www.gnu.org/software/guix/}."
  5679. #. type: Plain text
  5680. #: guix-git/doc/guix.texi:984
  5681. msgid "GNU Guix depends on the following packages:"
  5682. msgstr "GNU Guix depende dos seguintes pacotes:"
  5683. #. type: item
  5684. #: guix-git/doc/guix.texi:986
  5685. #, fuzzy, no-wrap
  5686. #| msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  5687. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x,"
  5688. msgstr "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x;"
  5689. #. type: itemize
  5690. #: guix-git/doc/guix.texi:988
  5691. #, fuzzy
  5692. msgid "version 3.0.3 or later;"
  5693. msgstr "0.1.0 ou posterior;"
  5694. #. type: item
  5695. #: guix-git/doc/guix.texi:988
  5696. #, no-wrap
  5697. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  5698. msgstr "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, versão"
  5699. #. type: itemize
  5700. #: guix-git/doc/guix.texi:990
  5701. msgid "0.1.0 or later;"
  5702. msgstr "0.1.0 ou posterior;"
  5703. #. type: itemize
  5704. #: guix-git/doc/guix.texi:996
  5705. msgid "@uref{https://gitlab.com/gnutls/guile/, Guile-GnuTLS} (@pxref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile})@footnote{The Guile bindings to @uref{https://gnutls.org/, GnuTLS} were distributed as part of GnuTLS until version 3.7.8 included.};"
  5706. msgstr ""
  5707. #. type: itemize
  5708. #: guix-git/doc/guix.texi:999
  5709. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  5710. msgstr "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, versão 0.1.0 ou posterior;"
  5711. #. type: item
  5712. #: guix-git/doc/guix.texi:999
  5713. #, fuzzy, no-wrap
  5714. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  5715. msgstr "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  5716. #. type: itemize
  5717. #: guix-git/doc/guix.texi:1001
  5718. #, fuzzy
  5719. msgid "version 0.1.0 or later;"
  5720. msgstr "0.1.0 ou posterior;"
  5721. #. type: item
  5722. #: guix-git/doc/guix.texi:1001
  5723. #, no-wrap
  5724. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  5725. msgstr ""
  5726. #. type: item
  5727. #: guix-git/doc/guix.texi:1002
  5728. #, no-wrap
  5729. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  5730. msgstr ""
  5731. #. type: itemize
  5732. #: guix-git/doc/guix.texi:1006
  5733. #, fuzzy
  5734. #| msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  5735. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.5.0 or later;"
  5736. msgstr "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, versão 0.1.0 ou posterior;"
  5737. #. type: item
  5738. #: guix-git/doc/guix.texi:1006
  5739. #, no-wrap
  5740. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  5741. msgstr ""
  5742. #. type: itemize
  5743. #: guix-git/doc/guix.texi:1008
  5744. msgid "4.3.0 or later;"
  5745. msgstr ""
  5746. #. type: item
  5747. #: guix-git/doc/guix.texi:1008
  5748. #, no-wrap
  5749. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  5750. msgstr "@url{https://www.gnu.org/software/make/, GNU Make}."
  5751. #. type: Plain text
  5752. #: guix-git/doc/guix.texi:1012
  5753. msgid "The following dependencies are optional:"
  5754. msgstr "As seguintes dependências são opcionais:"
  5755. #. type: itemize
  5756. #: guix-git/doc/guix.texi:1020
  5757. msgid "Support for build offloading (@pxref{Daemon Offload Setup}) and @command{guix copy} (@pxref{Invoking guix copy}) depends on @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH}, version 0.13.0 or later."
  5758. msgstr ""
  5759. #. type: itemize
  5760. #: guix-git/doc/guix.texi:1025
  5761. msgid "@uref{https://notabug.org/guile-zstd/guile-zstd, Guile-zstd}, for zstd compression and decompression in @command{guix publish} and for substitutes (@pxref{Invoking guix publish})."
  5762. msgstr ""
  5763. #. type: itemize
  5764. #: guix-git/doc/guix.texi:1029
  5765. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  5766. msgstr ""
  5767. #. type: itemize
  5768. #: guix-git/doc/guix.texi:1034
  5769. msgid "@uref{https://www.nongnu.org/guile-lib/doc/ref/htmlprag/, Guile-Lib} for the @code{go} importer (@pxref{Invoking guix import}) and for some of the ``updaters'' (@pxref{Invoking guix refresh})."
  5770. msgstr ""
  5771. #. type: itemize
  5772. #: guix-git/doc/guix.texi:1038
  5773. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  5774. msgstr "Quando @url{http://www.bzip.org, libbz2} está disponível, @command{guix-daemon} pode usá-lo para comprimir logs de compilação."
  5775. #. type: Plain text
  5776. #: guix-git/doc/guix.texi:1042
  5777. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  5778. msgstr ""
  5779. #. type: item
  5780. #: guix-git/doc/guix.texi:1044
  5781. #, no-wrap
  5782. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  5783. msgstr "@url{https://gnupg.org/, GNU libgcrypt};"
  5784. #. type: item
  5785. #: guix-git/doc/guix.texi:1045
  5786. #, no-wrap
  5787. msgid "@url{https://sqlite.org, SQLite 3};"
  5788. msgstr "@url{https://sqlite.org, SQLite 3};"
  5789. #. type: item
  5790. #: guix-git/doc/guix.texi:1046
  5791. #, no-wrap
  5792. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  5793. msgstr "@url{https://gcc.gnu.org, GCC's g++}, com suporte ao"
  5794. #. type: itemize
  5795. #: guix-git/doc/guix.texi:1048
  5796. msgid "C++11 standard."
  5797. msgstr "padrão C++11."
  5798. #. type: cindex
  5799. #: guix-git/doc/guix.texi:1050
  5800. #, no-wrap
  5801. msgid "state directory"
  5802. msgstr "diretório de estado"
  5803. #. type: cindex
  5804. #: guix-git/doc/guix.texi:1051
  5805. #, fuzzy, no-wrap
  5806. #| msgid "--localstatedir"
  5807. msgid "localstatedir"
  5808. msgstr "--localstatedir"
  5809. #. type: cindex
  5810. #: guix-git/doc/guix.texi:1052
  5811. #, fuzzy, no-wrap
  5812. #| msgid "System Configuration"
  5813. msgid "system configuration directory"
  5814. msgstr "Configuração do sistema"
  5815. #. type: cindex
  5816. #: guix-git/doc/guix.texi:1053
  5817. #, fuzzy, no-wrap
  5818. #| msgid "config"
  5819. msgid "sysconfdir"
  5820. msgstr "config"
  5821. #. type: Plain text
  5822. #: guix-git/doc/guix.texi:1066
  5823. msgid "When configuring Guix on a system that already has a Guix installation, be sure to specify the same state directory as the existing installation using the @option{--localstatedir} option of the @command{configure} script (@pxref{Directory Variables, @code{localstatedir},, standards, GNU Coding Standards}). Usually, this @var{localstatedir} option is set to the value @file{/var}. The @command{configure} script protects against unintended misconfiguration of @var{localstatedir} so you do not inadvertently corrupt your store (@pxref{The Store}). The configuration directory should also be configured by setting the @option{--sysconfdir} option to the @file{/etc} value, which is the location used by Guix to store for example the access control list of authorized machines and the definition of offload machines."
  5824. msgstr ""
  5825. #. type: cindex
  5826. #: guix-git/doc/guix.texi:1070
  5827. #, no-wrap
  5828. msgid "test suite"
  5829. msgstr "suíte/conjunto de testes"
  5830. #. type: Plain text
  5831. #: guix-git/doc/guix.texi:1076
  5832. msgid "After a successful @command{configure} and @code{make} run, it is a good idea to run the test suite. It can help catch issues with the setup or environment, or bugs in Guix itself---and really, reporting test failures is a good way to help improve the software. To run the test suite, type:"
  5833. msgstr "Depois que um @command{configure} e @code{make} bem-sucedido forem executados, é uma boa ideia executar o conjunto de testes. Ele pode ajudar a detectar problemas com a configuração ou o ambiente, ou com bugs no próprio Guix – e realmente, relatar falhas de teste é uma boa maneira de ajudar a melhorar o software. Para executar o conjunto de testes, digite:"
  5834. #. type: example
  5835. #: guix-git/doc/guix.texi:1079
  5836. #, no-wrap
  5837. msgid "make check\n"
  5838. msgstr "make check\n"
  5839. #. type: Plain text
  5840. #: guix-git/doc/guix.texi:1086
  5841. msgid "Test cases can run in parallel: you can use the @code{-j} option of GNU@tie{}make to speed things up. The first run may take a few minutes on a recent machine; subsequent runs will be faster because the store that is created for test purposes will already have various things in cache."
  5842. msgstr "Os casos de teste podem ser executados em paralelo: você pode usar a opção @code{-j} do GNU@tie{}make para acelerar as coisas. A primeira execução pode levar alguns minutos em uma máquina recente; as execuções subsequentes serão mais rápidas porque o armazém criado para fins de teste já terá vários itens no cache."
  5843. #. type: Plain text
  5844. #: guix-git/doc/guix.texi:1089
  5845. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  5846. msgstr "Também é possível executar um subconjunto dos testes definindo a variável makefile @code{TESTS} como neste exemplo:"
  5847. #. type: example
  5848. #: guix-git/doc/guix.texi:1092
  5849. #, no-wrap
  5850. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  5851. msgstr "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  5852. #. type: Plain text
  5853. #: guix-git/doc/guix.texi:1097
  5854. msgid "By default, tests results are displayed at a file level. In order to see the details of every individual test cases, it is possible to define the @code{SCM_LOG_DRIVER_FLAGS} makefile variable as in this example:"
  5855. msgstr "Por padrão, os resultados dos testes são exibidos em um nível de arquivo. Para ver os detalhes de cada caso de teste individual, é possível definir a variável makefile @code{SCM_LOG_DRIVER_FLAGS} como neste exemplo:"
  5856. #. type: example
  5857. #: guix-git/doc/guix.texi:1100
  5858. #, no-wrap
  5859. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  5860. msgstr "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  5861. #. type: Plain text
  5862. #: guix-git/doc/guix.texi:1108
  5863. msgid "The underlying SRFI 64 custom Automake test driver used for the 'check' test suite (located at @file{build-aux/test-driver.scm}) also allows selecting which test cases to run at a finer level, via its @option{--select} and @option{--exclude} options. Here's an example, to run all the test cases from the @file{tests/packages.scm} test file whose names start with ``transaction-upgrade-entry'':"
  5864. msgstr ""
  5865. #. type: example
  5866. #: guix-git/doc/guix.texi:1112
  5867. #, no-wrap
  5868. msgid ""
  5869. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  5870. "make check TESTS=\"tests/packages.scm\"\n"
  5871. msgstr ""
  5872. #. type: Plain text
  5873. #: guix-git/doc/guix.texi:1118
  5874. msgid "Those wishing to inspect the results of failed tests directly from the command line can add the @option{--errors-only=yes} option to the @code{SCM_LOG_DRIVER_FLAGS} makefile variable and set the @code{VERBOSE} Automake makefile variable, as in:"
  5875. msgstr ""
  5876. #. type: example
  5877. #: guix-git/doc/guix.texi:1121
  5878. #, no-wrap
  5879. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  5880. msgstr ""
  5881. #. type: Plain text
  5882. #: guix-git/doc/guix.texi:1126
  5883. msgid "The @option{--show-duration=yes} option can be used to print the duration of the individual test cases, when used in combination with @option{--brief=no}:"
  5884. msgstr ""
  5885. #. type: example
  5886. #: guix-git/doc/guix.texi:1129
  5887. #, no-wrap
  5888. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  5889. msgstr ""
  5890. #. type: Plain text
  5891. #: guix-git/doc/guix.texi:1133
  5892. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  5893. msgstr ""
  5894. #. type: Plain text
  5895. #: guix-git/doc/guix.texi:1138
  5896. msgid "Upon failure, please email @email{bug-guix@@gnu.org} and attach the @file{test-suite.log} file. Please specify the Guix version being used as well as version numbers of the dependencies (@pxref{Requirements}) in your message."
  5897. msgstr "Em caso de falha, envie um e-mail para @email{bug-guix@@gnu.org} e anexe o arquivo @file{test-suite.log}. Por favor, especifique a versão do Guix que está sendo usada, bem como os números de versão das dependências (@pxref{Requisitos}) em sua mensagem."
  5898. #. type: Plain text
  5899. #: guix-git/doc/guix.texi:1142
  5900. msgid "Guix also comes with a whole-system test suite that tests complete Guix System instances. It can only run on systems where Guix is already installed, using:"
  5901. msgstr "O Guix também vem com um conjunto de testes de sistema completo que testa instâncias completas do Guix System. Ele só pode ser executado em sistemas nos quais o Guix já está instalado, usando:"
  5902. #. type: example
  5903. #: guix-git/doc/guix.texi:1145
  5904. #, no-wrap
  5905. msgid "make check-system\n"
  5906. msgstr "make check-system\n"
  5907. #. type: Plain text
  5908. #: guix-git/doc/guix.texi:1149
  5909. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  5910. msgstr "ou, novamente, definindo @code{TESTS} para selecionar um subconjunto de testes a serem executados:"
  5911. #. type: example
  5912. #: guix-git/doc/guix.texi:1152
  5913. #, no-wrap
  5914. msgid "make check-system TESTS=\"basic mcron\"\n"
  5915. msgstr "make check-system TESTS=\"basic mcron\"\n"
  5916. #. type: Plain text
  5917. #: guix-git/doc/guix.texi:1160
  5918. msgid "These system tests are defined in the @code{(gnu tests @dots{})} modules. They work by running the operating systems under test with lightweight instrumentation in a virtual machine (VM). They can be computationally intensive or rather cheap, depending on whether substitutes are available for their dependencies (@pxref{Substitutes}). Some of them require a lot of storage space to hold VM images."
  5919. msgstr "Esses testes de sistema são definidos nos módulos @code{(gnu tests @dots{})}. Eles trabalham executando os sistemas operacionais em teste com instrumentação leve em uma máquina virtual (VM). Eles podem ser computacionalmente intensivos ou bastante baratos, dependendo se os substitutos estão disponíveis para suas dependências (@pxref{Substitutos}). Alguns deles exigem muito espaço de armazenamento para armazenar imagens de VM."
  5920. #. type: Plain text
  5921. #: guix-git/doc/guix.texi:1163
  5922. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  5923. msgstr "Novamente, em caso de falhas nos testes, por favor envie @email{bug-guix@@gnu.org} todos os detalhes."
  5924. #. type: cindex
  5925. #: guix-git/doc/guix.texi:1167
  5926. #, no-wrap
  5927. msgid "daemon"
  5928. msgstr "daemon"
  5929. #. type: Plain text
  5930. #: guix-git/doc/guix.texi:1175
  5931. msgid "Operations such as building a package or running the garbage collector are all performed by a specialized process, the @dfn{build daemon}, on behalf of clients. Only the daemon may access the store and its associated database. Thus, any operation that manipulates the store goes through the daemon. For instance, command-line tools such as @command{guix package} and @command{guix build} communicate with the daemon (@i{via} remote procedure calls) to instruct it what to do."
  5932. msgstr "Operações como compilar um pacote ou executar o coletor de lixo são todas executadas por um processo especializado, o @dfn{build daemon}, em nome dos clientes. Apenas o daemon pode acessar o armazém e seu banco de dados associado. Assim, qualquer operação que manipule o armazém passa pelo daemon. Por exemplo, ferramentas de linha de comando como @command{guix package} e @command{guix build} se comunicam com o daemon (@i{via} chamadas de procedimento remoto) para instruir o que fazer."
  5933. #. type: Plain text
  5934. #: guix-git/doc/guix.texi:1179
  5935. msgid "The following sections explain how to prepare the build daemon's environment. See also @ref{Substitutes}, for information on how to allow the daemon to download pre-built binaries."
  5936. msgstr "As seções a seguir explicam como preparar o ambiente do daemon de compilação. Veja também @ref{Substitutos}, para informações sobre como permitir que o daemon baixe binários pré-compilados."
  5937. #. type: cindex
  5938. #: guix-git/doc/guix.texi:1189 guix-git/doc/guix.texi:1680
  5939. #, no-wrap
  5940. msgid "build environment"
  5941. msgstr "ambiente de compilação"
  5942. #. type: Plain text
  5943. #: guix-git/doc/guix.texi:1197
  5944. msgid "In a standard multi-user setup, Guix and its daemon---the @command{guix-daemon} program---are installed by the system administrator; @file{/gnu/store} is owned by @code{root} and @command{guix-daemon} runs as @code{root}. Unprivileged users may use Guix tools to build packages or otherwise access the store, and the daemon will do it on their behalf, ensuring that the store is kept in a consistent state, and allowing built packages to be shared among users."
  5945. msgstr "Em uma configuração multiusuário padrão, o Guix e seu daemon – o programa @command{guix-daemon} – são instalados pelo administrador do sistema; @file{/gnu/store} é de propriedade de @code{root} e @command{guix-daemon} é executado como @code{root}. Usuários desprivilegiados podem usar ferramentas Guix para criar pacotes ou acessar o armazém, e o daemon fará isso em seu nome, garantindo que o armazém seja mantido em um estado consistente e permitindo que pacotes construídos sejam compartilhados entre os usuários."
  5946. #. type: cindex
  5947. #: guix-git/doc/guix.texi:1198
  5948. #, no-wrap
  5949. msgid "build users"
  5950. msgstr "usuários de compilação"
  5951. #. type: Plain text
  5952. #: guix-git/doc/guix.texi:1209
  5953. msgid "When @command{guix-daemon} runs as @code{root}, you may not want package build processes themselves to run as @code{root} too, for obvious security reasons. To avoid that, a special pool of @dfn{build users} should be created for use by build processes started by the daemon. These build users need not have a shell and a home directory: they will just be used when the daemon drops @code{root} privileges in build processes. Having several such users allows the daemon to launch distinct build processes under separate UIDs, which guarantees that they do not interfere with each other---an essential feature since builds are regarded as pure functions (@pxref{Introduction})."
  5954. msgstr "Quando @command{guix-daemon} é executado como @code{root}, você pode não querer que os próprios processos de compilação de pacotes também sejam executados como @code{root}, por razões óbvias de segurança. Para evitar isso, um conjunto especial de @dfn{usuários de compilação} deve ser criado para uso pelos processos de construção iniciados pelo daemon. Esses usuários de compilação não precisam ter um shell e um diretório inicial: eles serão usados apenas quando o daemon der um privilégio @code{root} nos processos de compilação. Ter vários desses usuários permite que o daemon ative processos de compilação distintos sob UIDs separados, o que garante que eles não interfiram uns com os outros - um recurso essencial, pois as compilações são consideradas funções puras (@pxref{Introdução})."
  5955. #. type: Plain text
  5956. #: guix-git/doc/guix.texi:1212
  5957. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  5958. msgstr "Em um sistema GNU/Linux, um conjunto de usuários de construção pode ser criado assim (usando a sintaxe Bash e os comandos @code{shadow}):"
  5959. #. type: example
  5960. #: guix-git/doc/guix.texi:1224
  5961. #, fuzzy, no-wrap
  5962. msgid ""
  5963. "# groupadd --system guixbuild\n"
  5964. "# for i in $(seq -w 1 10);\n"
  5965. " do\n"
  5966. " useradd -g guixbuild -G guixbuild \\\n"
  5967. " -d /var/empty -s $(which nologin) \\\n"
  5968. " -c \"Guix build user $i\" --system \\\n"
  5969. " guixbuilder$i;\n"
  5970. " done\n"
  5971. msgstr ""
  5972. "# groupadd --system guixbuild\n"
  5973. "# for i in `seq -w 1 10`;\n"
  5974. " do\n"
  5975. " useradd -g guixbuild -G guixbuild \\\n"
  5976. " -d /var/empty -s `which nologin` \\\n"
  5977. " -c \"Guix build user $i\" --system \\\n"
  5978. " guixbuilder$i;\n"
  5979. " done\n"
  5980. #. type: Plain text
  5981. #: guix-git/doc/guix.texi:1234
  5982. msgid "The number of build users determines how many build jobs may run in parallel, as specified by the @option{--max-jobs} option (@pxref{Invoking guix-daemon, @option{--max-jobs}}). To use @command{guix system vm} and related commands, you may need to add the build users to the @code{kvm} group so they can access @file{/dev/kvm}, using @code{-G guixbuild,kvm} instead of @code{-G guixbuild} (@pxref{Invoking guix system})."
  5983. msgstr "O número de usuários de compilação determina quantos trabalhos de compilação podem ser executados em paralelo, conforme especificado pela opção @option{--max-jobs} (@pxref{Invocando guix-daemon, @option{--max-jobs}}). Para usar @command{guix system vm} e comandos relacionados, você pode precisar adicionar os usuários de compilação ao grupo @code{kvm} para que eles possam acessar @file{/dev/kvm}, usando @code{-G guixbuild,kvm} em vez de @code{-G guixbuild} (@pxref{Invocando guix system})."
  5984. #. type: Plain text
  5985. #: guix-git/doc/guix.texi:1243
  5986. #, fuzzy
  5987. #| msgid "The @code{guix-daemon} program may then be run as @code{root} with the following command@footnote{If your machine uses the systemd init system, dropping the @file{@var{prefix}/lib/systemd/system/guix-daemon.service} file in @file{/etc/systemd/system} will ensure that @command{guix-daemon} is automatically started. Similarly, if your machine uses the Upstart init system, drop the @file{@var{prefix}/lib/upstart/system/guix-daemon.conf} file in @file{/etc/init}.}:"
  5988. msgid "The @code{guix-daemon} program may then be run as @code{root} with the following command@footnote{If your machine uses the systemd init system, copying the @file{@var{prefix}/lib/systemd/system/guix-daemon.service} file to @file{/etc/systemd/system} will ensure that @command{guix-daemon} is automatically started. Similarly, if your machine uses the Upstart init system, copy the @file{@var{prefix}/lib/upstart/system/guix-daemon.conf} file to @file{/etc/init}.}:"
  5989. msgstr "O programa @code{guix-daemon} pode então ser executado como @code{root} com o seguinte comando@footnote{Se sua máquina usa o sistema init systemd, colocar o arquivo @file{@var{prefixo}/lib/systemd/system/guix-daemon.service} em @file{/etc/systemd/system} irá assegurar que @command{guix-daemon} seja iniciado automaticamente. Da mesma forma, se a sua máquina usa o sistema init Upstart, coloque o arquivo @file{@var{prefixo}/lib/upstart/system/guix-daemon.conf} em @file{/etc/init}.}:"
  5990. #. type: example
  5991. #: guix-git/doc/guix.texi:1246 guix-git/doc/guix.texi:1669
  5992. #, no-wrap
  5993. msgid "# guix-daemon --build-users-group=guixbuild\n"
  5994. msgstr "# guix-daemon --build-users-group=guixbuild\n"
  5995. #. type: cindex
  5996. #: guix-git/doc/guix.texi:1248 guix-git/doc/guix.texi:1678
  5997. #, no-wrap
  5998. msgid "chroot"
  5999. msgstr "chroot"
  6000. #. type: Plain text
  6001. #: guix-git/doc/guix.texi:1253
  6002. msgid "This way, the daemon starts build processes in a chroot, under one of the @code{guixbuilder} users. On GNU/Linux, by default, the chroot environment contains nothing but:"
  6003. msgstr "Dessa forma, o daemon inicia os processos de compilação em um chroot, sob um dos usuários @code{guixbuilder}. No GNU/Linux, por padrão, o ambiente chroot contém nada além de:"
  6004. #. type: itemize
  6005. #: guix-git/doc/guix.texi:1261
  6006. msgid "a minimal @code{/dev} directory, created mostly independently from the host @code{/dev}@footnote{``Mostly'', because while the set of files that appear in the chroot's @code{/dev} is fixed, most of these files can only be created if the host has them.};"
  6007. msgstr "um diretório @code{/dev} mínimo, criado principalmente independentemente do @code{/dev} do hospedeiro@footnote{``Principalmente'' porque enquanto o conjunto de arquivos que aparece no @code{/dev} do chroot é corrigido, a maioria desses arquivos só pode ser criada se o hospedeiro os possuir.};"
  6008. #. type: itemize
  6009. #: guix-git/doc/guix.texi:1265
  6010. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  6011. msgstr "o diretório @code{/proc}; mostra apenas os processos do contêiner desde que um espaço de nome PID separado é usado;"
  6012. #. type: itemize
  6013. #: guix-git/doc/guix.texi:1269
  6014. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  6015. msgstr "@file{/etc/passwd} com uma entrada para o usuário atual e uma entrada para o usuário @file{nobody};"
  6016. #. type: itemize
  6017. #: guix-git/doc/guix.texi:1272
  6018. msgid "@file{/etc/group} with an entry for the user's group;"
  6019. msgstr "@file{/etc/group} com uma entrada para o grupo de usuários;"
  6020. #. type: itemize
  6021. #: guix-git/doc/guix.texi:1276
  6022. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  6023. msgstr "@file{/etc/hosts} com uma entrada que mapeia @code{localhost} para @code{127.0.0.1};"
  6024. #. type: itemize
  6025. #: guix-git/doc/guix.texi:1279
  6026. msgid "a writable @file{/tmp} directory."
  6027. msgstr "um diretório @file{/tmp} com permissão de escrita."
  6028. #. type: Plain text
  6029. #: guix-git/doc/guix.texi:1285
  6030. msgid "The chroot does not contain a @file{/home} directory, and the @env{HOME} environment variable is set to the non-existent @file{/homeless-shelter}. This helps to highlight inappropriate uses of @env{HOME} in the build scripts of packages."
  6031. msgstr ""
  6032. #. type: Plain text
  6033. #: guix-git/doc/guix.texi:1293
  6034. msgid "You can influence the directory where the daemon stores build trees @i{via} the @env{TMPDIR} environment variable. However, the build tree within the chroot is always called @file{/tmp/guix-build-@var{name}.drv-0}, where @var{name} is the derivation name---e.g., @code{coreutils-8.24}. This way, the value of @env{TMPDIR} does not leak inside build environments, which avoids discrepancies in cases where build processes capture the name of their build tree."
  6035. msgstr ""
  6036. #. type: vindex
  6037. #: guix-git/doc/guix.texi:1294 guix-git/doc/guix.texi:4279
  6038. #, no-wrap
  6039. msgid "http_proxy"
  6040. msgstr "http_proxy"
  6041. #. type: vindex
  6042. #: guix-git/doc/guix.texi:1295 guix-git/doc/guix.texi:4280
  6043. #, no-wrap
  6044. msgid "https_proxy"
  6045. msgstr ""
  6046. #. type: Plain text
  6047. #: guix-git/doc/guix.texi:1300
  6048. msgid "The daemon also honors the @env{http_proxy} and @env{https_proxy} environment variables for HTTP and HTTPS downloads it performs, be it for fixed-output derivations (@pxref{Derivations}) or for substitutes (@pxref{Substitutes})."
  6049. msgstr ""
  6050. #. type: Plain text
  6051. #: guix-git/doc/guix.texi:1308
  6052. msgid "If you are installing Guix as an unprivileged user, it is still possible to run @command{guix-daemon} provided you pass @option{--disable-chroot}. However, build processes will not be isolated from one another, and not from the rest of the system. Thus, build processes may interfere with each other, and may access programs, libraries, and other files available on the system---making it much harder to view them as @emph{pure} functions."
  6053. msgstr ""
  6054. #. type: subsection
  6055. #: guix-git/doc/guix.texi:1311
  6056. #, no-wrap
  6057. msgid "Using the Offload Facility"
  6058. msgstr "Usando o recurso de descarregamento"
  6059. #. type: cindex
  6060. #: guix-git/doc/guix.texi:1313 guix-git/doc/guix.texi:1739
  6061. #, no-wrap
  6062. msgid "offloading"
  6063. msgstr "descarregamento"
  6064. #. type: cindex
  6065. #: guix-git/doc/guix.texi:1314
  6066. #, no-wrap
  6067. msgid "build hook"
  6068. msgstr "hook de compilação"
  6069. #. type: Plain text
  6070. #: guix-git/doc/guix.texi:1333
  6071. msgid "When desired, the build daemon can @dfn{offload} derivation builds to other machines running Guix, using the @code{offload} @dfn{build hook}@footnote{This feature is available only when @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH} is present.}. When that feature is enabled, a list of user-specified build machines is read from @file{/etc/guix/machines.scm}; every time a build is requested, for instance via @code{guix build}, the daemon attempts to offload it to one of the machines that satisfy the constraints of the derivation, in particular its system types---e.g., @code{x86_64-linux}. A single machine can have multiple system types, either because its architecture natively supports it, via emulation (@pxref{transparent-emulation-qemu, Transparent Emulation with QEMU}), or both. Missing prerequisites for the build are copied over SSH to the target machine, which then proceeds with the build; upon success the output(s) of the build are copied back to the initial machine. The offload facility comes with a basic scheduler that attempts to select the best machine. The best machine is chosen among the available machines based on criteria such as:"
  6072. msgstr ""
  6073. #. type: enumerate
  6074. #: guix-git/doc/guix.texi:1339
  6075. msgid "The availability of a build slot. A build machine can have as many build slots (connections) as the value of the @code{parallel-builds} field of its @code{build-machine} object."
  6076. msgstr ""
  6077. #. type: enumerate
  6078. #: guix-git/doc/guix.texi:1343
  6079. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  6080. msgstr ""
  6081. #. type: enumerate
  6082. #: guix-git/doc/guix.texi:1348
  6083. msgid "Its load. The normalized machine load must be lower than a threshold value, configurable via the @code{overload-threshold} field of its @code{build-machine} object."
  6084. msgstr ""
  6085. #. type: enumerate
  6086. #: guix-git/doc/guix.texi:1351
  6087. msgid "Disk space availability. More than a 100 MiB must be available."
  6088. msgstr ""
  6089. #. type: Plain text
  6090. #: guix-git/doc/guix.texi:1354
  6091. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  6092. msgstr "O arquivo @file{/etc/guix/machines.scm} geralmente se parece com isso:"
  6093. #. type: lisp
  6094. #: guix-git/doc/guix.texi:1362
  6095. #, no-wrap
  6096. msgid ""
  6097. "(list (build-machine\n"
  6098. " (name \"eightysix.example.org\")\n"
  6099. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  6100. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  6101. " (user \"bob\")\n"
  6102. " (speed 2.)) ;incredibly fast!\n"
  6103. "\n"
  6104. msgstr ""
  6105. #. type: lisp
  6106. #: guix-git/doc/guix.texi:1368
  6107. #, no-wrap
  6108. msgid ""
  6109. " (build-machine\n"
  6110. " (name \"armeight.example.org\")\n"
  6111. " (systems (list \"aarch64-linux\"))\n"
  6112. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  6113. " (user \"alice\")\n"
  6114. "\n"
  6115. msgstr ""
  6116. #. type: lisp
  6117. #: guix-git/doc/guix.texi:1372
  6118. #, no-wrap
  6119. msgid ""
  6120. " ;; Remember 'guix offload' is spawned by\n"
  6121. " ;; 'guix-daemon' as root.\n"
  6122. " (private-key \"/root/.ssh/identity-for-guix\")))\n"
  6123. msgstr ""
  6124. #. type: Plain text
  6125. #: guix-git/doc/guix.texi:1378
  6126. msgid "In the example above we specify a list of two build machines, one for the @code{x86_64} and @code{i686} architectures and one for the @code{aarch64} architecture."
  6127. msgstr ""
  6128. #. type: Plain text
  6129. #: guix-git/doc/guix.texi:1387
  6130. msgid "In fact, this file is---not surprisingly!---a Scheme file that is evaluated when the @code{offload} hook is started. Its return value must be a list of @code{build-machine} objects. While this example shows a fixed list of build machines, one could imagine, say, using DNS-SD to return a list of potential build machines discovered in the local network (@pxref{Introduction, Guile-Avahi,, guile-avahi, Using Avahi in Guile Scheme Programs}). The @code{build-machine} data type is detailed below."
  6131. msgstr "De fato, esse arquivo é -- não surpreendentemente! -- um arquivo de esquema que é avaliado quando o hook @code{offload} é iniciado. Seu valor de retorno deve ser uma lista de objetos de @code{build-machine}. Embora este exemplo mostre uma lista fixa de máquinas de compilação, pode-se imaginar, digamos, usando DNS-SD para retornar uma lista de possíveis máquinas de compilação descobertas na rede local (@pxref{Introduction, Guile-Avahi ,, guile-avahi, Using Avahi in Guile Scheme Programs}). O tipo de dados de @code{build-machine} está detalhado abaixo."
  6132. #. type: deftp
  6133. #: guix-git/doc/guix.texi:1388
  6134. #, no-wrap
  6135. msgid "{Data Type} build-machine"
  6136. msgstr "build-machine {Data Type}"
  6137. #. type: deftp
  6138. #: guix-git/doc/guix.texi:1391
  6139. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  6140. msgstr "Esse tipo de dados representa máquinas de compilação nas quais o daemon pode descarregar compilações. Os campos importantes são:"
  6141. #. type: code{#1}
  6142. #: guix-git/doc/guix.texi:1394 guix-git/doc/guix.texi:7766
  6143. #: guix-git/doc/guix.texi:8689 guix-git/doc/guix.texi:17672
  6144. #: guix-git/doc/guix.texi:17771 guix-git/doc/guix.texi:18011
  6145. #: guix-git/doc/guix.texi:20030 guix-git/doc/guix.texi:20672
  6146. #: guix-git/doc/guix.texi:20932 guix-git/doc/guix.texi:24848
  6147. #: guix-git/doc/guix.texi:27777 guix-git/doc/guix.texi:29318
  6148. #: guix-git/doc/guix.texi:30115 guix-git/doc/guix.texi:30482
  6149. #: guix-git/doc/guix.texi:30526 guix-git/doc/guix.texi:32697
  6150. #: guix-git/doc/guix.texi:35478 guix-git/doc/guix.texi:35516
  6151. #: guix-git/doc/guix.texi:38457 guix-git/doc/guix.texi:38474
  6152. #: guix-git/doc/guix.texi:39276 guix-git/doc/guix.texi:41221
  6153. #: guix-git/doc/guix.texi:41546 guix-git/doc/guix.texi:44606
  6154. #, no-wrap
  6155. msgid "name"
  6156. msgstr "name"
  6157. #. type: table
  6158. #: guix-git/doc/guix.texi:1396
  6159. msgid "The host name of the remote machine."
  6160. msgstr "O nome de host da máquina remota."
  6161. #. type: item
  6162. #: guix-git/doc/guix.texi:1397
  6163. #, no-wrap
  6164. msgid "systems"
  6165. msgstr ""
  6166. #. type: table
  6167. #: guix-git/doc/guix.texi:1400
  6168. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  6169. msgstr ""
  6170. #. type: code{#1}
  6171. #: guix-git/doc/guix.texi:1401 guix-git/doc/guix.texi:20682
  6172. #, no-wrap
  6173. msgid "user"
  6174. msgstr "user"
  6175. #. type: table
  6176. #: guix-git/doc/guix.texi:1405
  6177. msgid "The user account to use when connecting to the remote machine over SSH. Note that the SSH key pair must @emph{not} be passphrase-protected, to allow non-interactive logins."
  6178. msgstr "A conta de usuário a ser usada ao conectar-se à máquina remota por SSH. Observe que o par de chaves SSH deve @emph{não} protegido por senha, para permitir logins não interativos."
  6179. #. type: item
  6180. #: guix-git/doc/guix.texi:1406
  6181. #, no-wrap
  6182. msgid "host-key"
  6183. msgstr "host-key"
  6184. #. type: table
  6185. #: guix-git/doc/guix.texi:1410
  6186. msgid "This must be the machine's SSH @dfn{public host key} in OpenSSH format. This is used to authenticate the machine when we connect to it. It is a long string that looks like this:"
  6187. msgstr "Essa deve ser a SSH @dfn{chave pública do host} da máquina no formato OpenSSH. Isso é usado para autenticar a máquina quando nos conectamos a ela. É uma string longa que se parece com isso:"
  6188. #. type: example
  6189. #: guix-git/doc/guix.texi:1413
  6190. #, no-wrap
  6191. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  6192. msgstr "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  6193. #. type: table
  6194. #: guix-git/doc/guix.texi:1418
  6195. msgid "If the machine is running the OpenSSH daemon, @command{sshd}, the host key can be found in a file such as @file{/etc/ssh/ssh_host_ed25519_key.pub}."
  6196. msgstr "Se a máquina estiver executando o daemon OpenSSH, @command{sshd}, a chave do host poderá ser encontrada em um arquivo como @file{/etc/ssh/ssh_host_ed25519_key.pub}."
  6197. #. type: table
  6198. #: guix-git/doc/guix.texi:1423
  6199. msgid "If the machine is running the SSH daemon of GNU@tie{}lsh, @command{lshd}, the host key is in @file{/etc/lsh/host-key.pub} or a similar file. It can be converted to the OpenSSH format using @command{lsh-export-key} (@pxref{Converting keys,,, lsh, LSH Manual}):"
  6200. msgstr "Se a máquina estiver executando o daemon SSH do GNU@tie{}lsh, @command{lshd}, a chave do host estará em @file{/etc/lsh/host-key.pub} ou em um arquivo semelhante. Ele pode ser convertido para o formato OpenSSH usando o @command{lsh-export-key} (@pxref{Converting keys,,, lsh, LSH Manual}):"
  6201. #. type: example
  6202. #: guix-git/doc/guix.texi:1427
  6203. #, no-wrap
  6204. msgid ""
  6205. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  6206. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  6207. msgstr ""
  6208. #. type: deftp
  6209. #: guix-git/doc/guix.texi:1432
  6210. msgid "A number of optional fields may be specified:"
  6211. msgstr "Vários campos opcionais podem ser especificados:"
  6212. #. type: item
  6213. #: guix-git/doc/guix.texi:1435 guix-git/doc/guix.texi:40697
  6214. #, no-wrap
  6215. msgid "@code{port} (default: @code{22})"
  6216. msgstr "@code{port} (padrão: @code{22})"
  6217. #. type: table
  6218. #: guix-git/doc/guix.texi:1437
  6219. msgid "Port number of SSH server on the machine."
  6220. msgstr "O número da porta para o servidor SSH na máquina."
  6221. #. type: item
  6222. #: guix-git/doc/guix.texi:1438
  6223. #, no-wrap
  6224. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  6225. msgstr "@code{private-key} (padrão: @file{~root/.ssh/id_rsa})"
  6226. #. type: table
  6227. #: guix-git/doc/guix.texi:1441
  6228. msgid "The SSH private key file to use when connecting to the machine, in OpenSSH format. This key must not be protected with a passphrase."
  6229. msgstr "O arquivo de chave privada SSH a ser usado ao conectar-se à máquina, no formato OpenSSH. Esta chave não deve ser protegida com uma senha."
  6230. #. type: table
  6231. #: guix-git/doc/guix.texi:1444
  6232. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  6233. msgstr "Observe que o valor padrão é a chave privada @emph{da usuário root}. Verifique se ele existe se você usar o padrão."
  6234. #. type: item
  6235. #: guix-git/doc/guix.texi:1445
  6236. #, no-wrap
  6237. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  6238. msgstr "@code{compression} (padrão: @code{\"zlib@@openssh.com,zlib\"})"
  6239. #. type: itemx
  6240. #: guix-git/doc/guix.texi:1446
  6241. #, no-wrap
  6242. msgid "@code{compression-level} (default: @code{3})"
  6243. msgstr "@code{compression-level} (padrão: @code{3})"
  6244. #. type: table
  6245. #: guix-git/doc/guix.texi:1448
  6246. msgid "The SSH-level compression methods and compression level requested."
  6247. msgstr "Os métodos de compactação no nível SSH e o nível de compactação solicitado."
  6248. #. type: table
  6249. #: guix-git/doc/guix.texi:1451
  6250. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  6251. msgstr "Observe que o descarregamento depende da compactação SSH para reduzir o uso da largura de banda ao transferir arquivos de e para máquinas de compilação."
  6252. #. type: item
  6253. #: guix-git/doc/guix.texi:1452
  6254. #, no-wrap
  6255. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  6256. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  6257. #. type: table
  6258. #: guix-git/doc/guix.texi:1455
  6259. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  6260. msgstr "O nome do arquivo do soquete do domínio Unix @command{guix-daemon} está escutando nessa máquina."
  6261. #. type: item
  6262. #: guix-git/doc/guix.texi:1456
  6263. #, fuzzy, no-wrap
  6264. #| msgid "@code{no-resolv?} (default: @code{#f})"
  6265. msgid "@code{overload-threshold} (default: @code{0.8})"
  6266. msgstr "@code{no-resolv?} (padrão: @code{#f})"
  6267. #. type: table
  6268. #: guix-git/doc/guix.texi:1462
  6269. msgid "The load threshold above which a potential offload machine is disregarded by the offload scheduler. The value roughly translates to the total processor usage of the build machine, ranging from 0.0 (0%) to 1.0 (100%). It can also be disabled by setting @code{overload-threshold} to @code{#f}."
  6270. msgstr ""
  6271. #. type: item
  6272. #: guix-git/doc/guix.texi:1463
  6273. #, no-wrap
  6274. msgid "@code{parallel-builds} (default: @code{1})"
  6275. msgstr "@code{parallel-builds} (padrão: @code{1})"
  6276. #. type: table
  6277. #: guix-git/doc/guix.texi:1465
  6278. msgid "The number of builds that may run in parallel on the machine."
  6279. msgstr "O número de compilações que podem ser executadas paralelamente na máquina."
  6280. #. type: item
  6281. #: guix-git/doc/guix.texi:1466
  6282. #, no-wrap
  6283. msgid "@code{speed} (default: @code{1.0})"
  6284. msgstr "@code{speed} (padrão: @code{1.0})"
  6285. #. type: table
  6286. #: guix-git/doc/guix.texi:1469
  6287. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  6288. msgstr "Um ``fator de velocidade relativo''. O agendador de descarregamento tenderá a preferir máquinas com um fator de velocidade mais alto."
  6289. #. type: item
  6290. #: guix-git/doc/guix.texi:1470
  6291. #, no-wrap
  6292. msgid "@code{features} (default: @code{'()})"
  6293. msgstr "@code{features} (padrão: @code{'()})"
  6294. #. type: table
  6295. #: guix-git/doc/guix.texi:1475
  6296. msgid "A list of strings denoting specific features supported by the machine. An example is @code{\"kvm\"} for machines that have the KVM Linux modules and corresponding hardware support. Derivations can request features by name, and they will be scheduled on matching build machines."
  6297. msgstr "Uma lista de strgins que denotam recursos específicos suportados pela máquina. Um exemplo é @code{\"kvm\"} para máquinas que possuem os módulos KVM Linux e o suporte de hardware correspondente. As derivações podem solicitar recursos pelo nome e serão agendadas nas máquinas de compilação correspondentes."
  6298. #. type: Plain text
  6299. #: guix-git/doc/guix.texi:1481
  6300. msgid "The @command{guix} command must be in the search path on the build machines. You can check whether this is the case by running:"
  6301. msgstr "O comando @command{guix} deve estar no caminho de pesquisa nas máquinas de compilação. Você pode verificar se este é o caso executando:"
  6302. #. type: example
  6303. #: guix-git/doc/guix.texi:1484
  6304. #, no-wrap
  6305. msgid "ssh build-machine guix repl --version\n"
  6306. msgstr "ssh build-machine guix repl --version\n"
  6307. #. type: Plain text
  6308. #: guix-git/doc/guix.texi:1491
  6309. msgid "There is one last thing to do once @file{machines.scm} is in place. As explained above, when offloading, files are transferred back and forth between the machine stores. For this to work, you first need to generate a key pair on each machine to allow the daemon to export signed archives of files from the store (@pxref{Invoking guix archive}):"
  6310. msgstr "Há uma última coisa a fazer quando o @file{machines.scm} está em vigor. Como explicado acima, ao descarregar, os arquivos são transferidos entre os armazéns das máquinas. Para que isso funcione, primeiro você precisa gerar um par de chaves em cada máquina para permitir que o daemon exporte arquivos assinados de arquivos do armazém (@pxref{Invocando guix archive}):"
  6311. #. type: example
  6312. #: guix-git/doc/guix.texi:1494 guix-git/doc/guix.texi:40601
  6313. #, no-wrap
  6314. msgid "# guix archive --generate-key\n"
  6315. msgstr "# guix archive --generate-key\n"
  6316. #. type: Plain text
  6317. #: guix-git/doc/guix.texi:1499
  6318. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  6319. msgstr "Cada máquina de construção deve autorizar a chave da máquina principal para que ela aceite itens do armazém que recebe do mestre:"
  6320. #. type: example
  6321. #: guix-git/doc/guix.texi:1502
  6322. #, no-wrap
  6323. msgid "# guix archive --authorize < master-public-key.txt\n"
  6324. msgstr "# guix archive --authorize < master-public-key.txt\n"
  6325. #. type: Plain text
  6326. #: guix-git/doc/guix.texi:1506
  6327. msgid "Likewise, the master machine must authorize the key of each build machine."
  6328. msgstr "Da mesma forma, a máquina principal deve autorizar a chave de cada máquina de compilação."
  6329. #. type: Plain text
  6330. #: guix-git/doc/guix.texi:1512
  6331. msgid "All the fuss with keys is here to express pairwise mutual trust relations between the master and the build machines. Concretely, when the master receives files from a build machine (and @i{vice versa}), its build daemon can make sure they are genuine, have not been tampered with, and that they are signed by an authorized key."
  6332. msgstr "Todo esse barulho com as chaves está aqui para expressar relações de confiança mútua de pares entre a máquina mestre e as de compilação. Concretamente, quando o mestre recebe arquivos de uma máquina de compilação (e @i{vice-versa}), seu daemon de compilação pode garantir que eles sejam genuínos, não tenham sido violados e que sejam assinados por uma chave autorizada."
  6333. #. type: cindex
  6334. #: guix-git/doc/guix.texi:1513
  6335. #, no-wrap
  6336. msgid "offload test"
  6337. msgstr "offload test"
  6338. #. type: Plain text
  6339. #: guix-git/doc/guix.texi:1516
  6340. msgid "To test whether your setup is operational, run this command on the master node:"
  6341. msgstr "Para testar se sua configuração está operacional, execute este comando no nó principal:"
  6342. #. type: example
  6343. #: guix-git/doc/guix.texi:1519
  6344. #, no-wrap
  6345. msgid "# guix offload test\n"
  6346. msgstr "# guix offload test\n"
  6347. #. type: Plain text
  6348. #: guix-git/doc/guix.texi:1525
  6349. msgid "This will attempt to connect to each of the build machines specified in @file{/etc/guix/machines.scm}, make sure Guix is available on each machine, attempt to export to the machine and import from it, and report any error in the process."
  6350. msgstr ""
  6351. #. type: Plain text
  6352. #: guix-git/doc/guix.texi:1528
  6353. msgid "If you want to test a different machine file, just specify it on the command line:"
  6354. msgstr "Se você quiser testar um arquivo de máquina diferente, basta especificá-lo na linha de comando:"
  6355. #. type: example
  6356. #: guix-git/doc/guix.texi:1531
  6357. #, no-wrap
  6358. msgid "# guix offload test machines-qualif.scm\n"
  6359. msgstr "# guix offload test machines-qualif.scm\n"
  6360. #. type: Plain text
  6361. #: guix-git/doc/guix.texi:1535
  6362. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  6363. msgstr "Por fim, você pode testar o subconjunto das máquinas cujo nome corresponde a uma expressão regular como esta:"
  6364. #. type: example
  6365. #: guix-git/doc/guix.texi:1538
  6366. #, no-wrap
  6367. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  6368. msgstr "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  6369. #. type: cindex
  6370. #: guix-git/doc/guix.texi:1540
  6371. #, no-wrap
  6372. msgid "offload status"
  6373. msgstr "offload status"
  6374. #. type: Plain text
  6375. #: guix-git/doc/guix.texi:1543
  6376. msgid "To display the current load of all build hosts, run this command on the main node:"
  6377. msgstr "Para exibir o carregamento atual de todos os hosts de compilação, execute este comando no nó principal:"
  6378. #. type: example
  6379. #: guix-git/doc/guix.texi:1546
  6380. #, no-wrap
  6381. msgid "# guix offload status\n"
  6382. msgstr "# guix offload status\n"
  6383. #. type: cindex
  6384. #: guix-git/doc/guix.texi:1552
  6385. #, no-wrap
  6386. msgid "SELinux, daemon policy"
  6387. msgstr "SELinux, política de daemons"
  6388. #. type: cindex
  6389. #: guix-git/doc/guix.texi:1553
  6390. #, no-wrap
  6391. msgid "mandatory access control, SELinux"
  6392. msgstr "controle de acesso obrigatório, SELinux"
  6393. #. type: cindex
  6394. #: guix-git/doc/guix.texi:1554
  6395. #, no-wrap
  6396. msgid "security, guix-daemon"
  6397. msgstr "segurança, guix-daemon"
  6398. #. type: Plain text
  6399. #: guix-git/doc/guix.texi:1560
  6400. msgid "Guix includes an SELinux policy file at @file{etc/guix-daemon.cil} that can be installed on a system where SELinux is enabled, in order to label Guix files and to specify the expected behavior of the daemon. Since Guix System does not provide an SELinux base policy, the daemon policy cannot be used on Guix System."
  6401. msgstr "O Guix inclui um arquivo de políticas do SELinux em @file{etc/guix-daemon.cil} que pode ser instalado em um sistema em que o SELinux está ativado, para rotular os arquivos do Guix e especificar o comportamento esperado do daemon. Como o Guix System não fornece uma política básica do SELinux, a política do daemon não pode ser usada no Guix System."
  6402. #. type: subsubsection
  6403. #: guix-git/doc/guix.texi:1561
  6404. #, no-wrap
  6405. msgid "Installing the SELinux policy"
  6406. msgstr "Instalando a política do SELinux"
  6407. #. type: cindex
  6408. #: guix-git/doc/guix.texi:1562
  6409. #, no-wrap
  6410. msgid "SELinux, policy installation"
  6411. msgstr "SELinux, instalação de política"
  6412. #. type: quotation
  6413. #: guix-git/doc/guix.texi:1567
  6414. msgid "The @code{guix-install.sh} binary installation script offers to perform the steps below for you (@pxref{Binary Installation})."
  6415. msgstr ""
  6416. #. type: Plain text
  6417. #: guix-git/doc/guix.texi:1570
  6418. msgid "To install the policy run this command as root:"
  6419. msgstr "Para instalar a política, execute esse comando como root:"
  6420. #. type: example
  6421. #: guix-git/doc/guix.texi:1573
  6422. #, fuzzy, no-wrap
  6423. #| msgid ""
  6424. #| "# mkdir -p /usr/local/bin\n"
  6425. #| "# cd /usr/local/bin\n"
  6426. #| "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  6427. msgid "semodule -i /var/guix/profiles/per-user/root/current-guix/share/selinux/guix-daemon.cil\n"
  6428. msgstr ""
  6429. "# mkdir -p /usr/local/bin\n"
  6430. "# cd /usr/local/bin\n"
  6431. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  6432. #. type: Plain text
  6433. #: guix-git/doc/guix.texi:1577
  6434. msgid "Then, as root, relabel the file system, possibly after making it writable:"
  6435. msgstr ""
  6436. #. type: example
  6437. #: guix-git/doc/guix.texi:1581
  6438. #, no-wrap
  6439. msgid ""
  6440. "mount -o remount,rw /gnu/store\n"
  6441. "restorecon -R /gnu /var/guix\n"
  6442. msgstr ""
  6443. #. type: Plain text
  6444. #: guix-git/doc/guix.texi:1586
  6445. msgid "At this point you can start or restart @command{guix-daemon}; on a distribution that uses systemd as its service manager, you can do that with:"
  6446. msgstr ""
  6447. #. type: example
  6448. #: guix-git/doc/guix.texi:1589
  6449. #, fuzzy, no-wrap
  6450. #| msgid "security, guix-daemon"
  6451. msgid "systemctl restart guix-daemon\n"
  6452. msgstr "segurança, guix-daemon"
  6453. #. type: Plain text
  6454. #: guix-git/doc/guix.texi:1595
  6455. msgid "Once the policy is installed, the file system has been relabeled, and the daemon has been restarted, it should be running in the @code{guix_daemon_t} context. You can confirm this with the following command:"
  6456. msgstr "Depois que a política é instalada, o sistema de arquivos foi rotulado novamente e o daemon foi reiniciado, ele deve estar em execução no contexto @code{guix_daemon_t}. Você pode confirmar isso com o seguinte comando:"
  6457. #. type: example
  6458. #: guix-git/doc/guix.texi:1598
  6459. #, no-wrap
  6460. msgid "ps -Zax | grep guix-daemon\n"
  6461. msgstr "ps -Zax | grep guix-daemon\n"
  6462. #. type: Plain text
  6463. #: guix-git/doc/guix.texi:1603
  6464. msgid "Monitor the SELinux log files as you run a command like @code{guix build hello} to convince yourself that SELinux permits all necessary operations."
  6465. msgstr "Monitore os arquivos de log do SELinux enquanto executa um comando como @code{guix build hello} para se convencer de que o SELinux permite todas as operações necessárias."
  6466. #. type: cindex
  6467. #: guix-git/doc/guix.texi:1605
  6468. #, no-wrap
  6469. msgid "SELinux, limitations"
  6470. msgstr "SELinux, limitações"
  6471. #. type: Plain text
  6472. #: guix-git/doc/guix.texi:1610
  6473. msgid "This policy is not perfect. Here is a list of limitations or quirks that should be considered when deploying the provided SELinux policy for the Guix daemon."
  6474. msgstr "Esta política não é perfeita. Aqui está uma lista de limitações ou peculiaridades que devem ser consideradas ao implementar a política SELinux fornecida para o daemon Guix."
  6475. #. type: enumerate
  6476. #: guix-git/doc/guix.texi:1617
  6477. #, fuzzy
  6478. msgid "@code{guix_daemon_socket_t} isn’t actually used. None of the socket operations involve contexts that have anything to do with @code{guix_daemon_socket_t}. It doesn’t hurt to have this unused label, but it would be preferable to define socket rules for only this label."
  6479. msgstr "@code{guix_daemon_socket_t} não é realmente usado. Nenhuma das operações de soquete envolve contextos que têm algo a ver com @code{guix_daemon_socket_t}. Não faz mal ter esse rótulo não utilizado, mas seria preferível definir regras de soquete apenas para esse rótulo."
  6480. #. type: enumerate
  6481. #: guix-git/doc/guix.texi:1628
  6482. #, fuzzy
  6483. #| msgid "@code{guix gc} cannot access arbitrary links to profiles. By design, the file label of the destination of a symlink is independent of the file label of the link itself. Although all profiles under $localstatedir are labelled, the links to these profiles inherit the label of the directory they are in. For links in the user’s home directory this will be @code{user_home_t}. But for links from the root user’s home directory, or @file{/tmp}, or the HTTP server’s working directory, etc, this won’t work. @code{guix gc} would be prevented from reading and following these links."
  6484. msgid "@code{guix gc} cannot access arbitrary links to profiles. By design, the file label of the destination of a symlink is independent of the file label of the link itself. Although all profiles under @file{$localstatedir} are labelled, the links to these profiles inherit the label of the directory they are in. For links in the user’s home directory this will be @code{user_home_t}. But for links from the root user’s home directory, or @file{/tmp}, or the HTTP server’s working directory, etc, this won’t work. @code{guix gc} would be prevented from reading and following these links."
  6485. msgstr "@code{guix gc} não pode acessar links arbitrários para perfis. Por design, o rótulo do arquivo do destino de um link simbólico é independente do rótulo do arquivo do próprio link. Embora todos os perfis em $localstatedir estejam rotulados, os links para esses perfis herdam o rótulo do diretório em que estão. Para os links no diretório inicial do usuário, será @code{user_home_t}. Mas, para links do diretório inicial do usuário raiz, ou @file{/tmp}, ou do diretório de trabalho do servidor HTTP etc., isso não funcionará. @code{guix gc} seria impedido de ler e seguir esses links."
  6486. #. type: enumerate
  6487. #: guix-git/doc/guix.texi:1633
  6488. msgid "The daemon’s feature to listen for TCP connections might no longer work. This might require extra rules, because SELinux treats network sockets differently from files."
  6489. msgstr "O recurso do daemon de escutar conexões TCP pode não funcionar mais. Isso pode exigir regras extras, porque o SELinux trata os soquetes de rede de maneira diferente dos arquivos."
  6490. #. type: enumerate
  6491. #: guix-git/doc/guix.texi:1644
  6492. msgid "Currently all files with a name matching the regular expression @code{/gnu/store/.+-(guix-.+|profile)/bin/guix-daemon} are assigned the label @code{guix_daemon_exec_t}; this means that @emph{any} file with that name in any profile would be permitted to run in the @code{guix_daemon_t} domain. This is not ideal. An attacker could build a package that provides this executable and convince a user to install and run it, which lifts it into the @code{guix_daemon_t} domain. At that point SELinux could not prevent it from accessing files that are allowed for processes in that domain."
  6493. msgstr "Atualmente, todos os arquivos com um nome correspondente à expressão regular @code{/gnu/store/.+-(guix-.+|profile)/bin/guix-daemon} recebem o rótulo @code{guix_daemon_exec_t}; isso significa que @emph{qualquer} arquivo com esse nome em qualquer perfil poderá ser executado no domínio de @code{guix_daemon_t}. Isto não é o ideal. Um invasor pode criar um pacote que forneça esse executável e convencer um usuário a instalar e executá-lo, o que o eleva ao domínio de @code{guix_daemon_t}. Nesse ponto, o SELinux não poderia impedir o acesso a arquivos permitidos para processos nesse domínio."
  6494. #. type: enumerate
  6495. #: guix-git/doc/guix.texi:1649
  6496. msgid "You will need to relabel the store directory after all upgrades to @file{guix-daemon}, such as after running @code{guix pull}. Assuming the store is in @file{/gnu}, you can do this with @code{restorecon -vR /gnu}, or by other means provided by your operating system."
  6497. msgstr ""
  6498. #. type: enumerate
  6499. #: guix-git/doc/guix.texi:1657
  6500. msgid "We could generate a much more restrictive policy at installation time, so that only the @emph{exact} file name of the currently installed @code{guix-daemon} executable would be labelled with @code{guix_daemon_exec_t}, instead of using a broad regular expression. The downside is that root would have to install or upgrade the policy at installation time whenever the Guix package that provides the effectively running @code{guix-daemon} executable is upgraded."
  6501. msgstr "Poderíamos gerar uma política muito mais restritiva no momento da instalação, para que apenas o nome do arquivo @emph{exato} do executável @code{guix-daemon} atualmente instalado seja rotulado com @code{guix_daemon_exec_t}, em vez de usar um amplo expressão regular. A desvantagem é que o root precisaria instalar ou atualizar a política no momento da instalação sempre que o pacote Guix que fornece o executável @code{guix-daemon} em execução efetiva for atualizado."
  6502. #. type: section
  6503. #: guix-git/doc/guix.texi:1660
  6504. #, no-wrap
  6505. msgid "Invoking @command{guix-daemon}"
  6506. msgstr "Invocando @command{guix-daemon}"
  6507. #. type: command{#1}
  6508. #: guix-git/doc/guix.texi:1661
  6509. #, fuzzy, no-wrap
  6510. #| msgid "Invoking guix-daemon"
  6511. msgid "guix-daemon"
  6512. msgstr "Invocando guix-daemon"
  6513. #. type: Plain text
  6514. #: guix-git/doc/guix.texi:1666
  6515. msgid "The @command{guix-daemon} program implements all the functionality to access the store. This includes launching build processes, running the garbage collector, querying the availability of a build result, etc. It is normally run as @code{root} like this:"
  6516. msgstr "O programa @command{guix-daemon} implementa todas as funcionalidades para acessar o armazém. Isso inclui iniciar processos de compilação, executar o coletor de lixo, consultar a disponibilidade de um resultado da compilação etc. É normalmente executado como @code{root}, assim:"
  6517. #. type: cindex
  6518. #: guix-git/doc/guix.texi:1671
  6519. #, fuzzy, no-wrap
  6520. #| msgid "Invoking @command{guix-daemon}"
  6521. msgid "socket activation, for @command{guix-daemon}"
  6522. msgstr "Invocando @command{guix-daemon}"
  6523. #. type: Plain text
  6524. #: guix-git/doc/guix.texi:1675
  6525. msgid "This daemon can also be started following the systemd ``socket activation'' protocol (@pxref{Service De- and Constructors, @code{make-systemd-constructor},, shepherd, The GNU Shepherd Manual})."
  6526. msgstr ""
  6527. #. type: Plain text
  6528. #: guix-git/doc/guix.texi:1677
  6529. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  6530. msgstr "Para detalhes sobre como configurá-lo, @pxref{Configurando o daemon}."
  6531. #. type: cindex
  6532. #: guix-git/doc/guix.texi:1679
  6533. #, no-wrap
  6534. msgid "container, build environment"
  6535. msgstr "contêiner, ambiente de compilação"
  6536. #. type: cindex
  6537. #: guix-git/doc/guix.texi:1681 guix-git/doc/guix.texi:3359
  6538. #: guix-git/doc/guix.texi:4260 guix-git/doc/guix.texi:15716
  6539. #, no-wrap
  6540. msgid "reproducible builds"
  6541. msgstr "compilações reproduzíveis"
  6542. #. type: Plain text
  6543. #: guix-git/doc/guix.texi:1693
  6544. msgid "By default, @command{guix-daemon} launches build processes under different UIDs, taken from the build group specified with @option{--build-users-group}. In addition, each build process is run in a chroot environment that only contains the subset of the store that the build process depends on, as specified by its derivation (@pxref{Programming Interface, derivation}), plus a set of specific system directories. By default, the latter contains @file{/dev} and @file{/dev/pts}. Furthermore, on GNU/Linux, the build environment is a @dfn{container}: in addition to having its own file system tree, it has a separate mount name space, its own PID name space, network name space, etc. This helps achieve reproducible builds (@pxref{Features})."
  6545. msgstr ""
  6546. #. type: Plain text
  6547. #: guix-git/doc/guix.texi:1699
  6548. msgid "When the daemon performs a build on behalf of the user, it creates a build directory under @file{/tmp} or under the directory specified by its @env{TMPDIR} environment variable. This directory is shared with the container for the duration of the build, though within the container, the build tree is always called @file{/tmp/guix-build-@var{name}.drv-0}."
  6549. msgstr ""
  6550. #. type: Plain text
  6551. #: guix-git/doc/guix.texi:1703
  6552. msgid "The build directory is automatically deleted upon completion, unless the build failed and the client specified @option{--keep-failed} (@pxref{Common Build Options, @option{--keep-failed}})."
  6553. msgstr ""
  6554. #. type: Plain text
  6555. #: guix-git/doc/guix.texi:1709
  6556. msgid "The daemon listens for connections and spawns one sub-process for each session started by a client (one of the @command{guix} sub-commands). The @command{guix processes} command allows you to get an overview of the activity on your system by viewing each of the active sessions and clients. @xref{Invoking guix processes}, for more information."
  6557. msgstr ""
  6558. #. type: Plain text
  6559. #: guix-git/doc/guix.texi:1711
  6560. msgid "The following command-line options are supported:"
  6561. msgstr "As seguintes opções de linha de comando são suportadas:"
  6562. #. type: item
  6563. #: guix-git/doc/guix.texi:1713
  6564. #, no-wrap
  6565. msgid "--build-users-group=@var{group}"
  6566. msgstr "--build-users-group=@var{grupo}"
  6567. #. type: table
  6568. #: guix-git/doc/guix.texi:1716
  6569. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  6570. msgstr "Obtém os usuários do @var{grupo} para executar os processos de compilação (@pxref{Configurando o daemon, usuários de compilação})."
  6571. #. type: item
  6572. #: guix-git/doc/guix.texi:1717 guix-git/doc/guix.texi:12608
  6573. #, no-wrap
  6574. msgid "--no-substitutes"
  6575. msgstr "--no-substitutes"
  6576. #. type: cindex
  6577. #: guix-git/doc/guix.texi:1718 guix-git/doc/guix.texi:3371
  6578. #: guix-git/doc/guix.texi:4013
  6579. #, no-wrap
  6580. msgid "substitutes"
  6581. msgstr "substitutos"
  6582. #. type: table
  6583. #: guix-git/doc/guix.texi:1722 guix-git/doc/guix.texi:12612
  6584. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  6585. msgstr "Não use substitutos para compilar produtos. Ou seja, sempre crie coisas localmente, em vez de permitir downloads de binários pré-compilados (@pxref{Substitutos})."
  6586. #. type: table
  6587. #: guix-git/doc/guix.texi:1726
  6588. msgid "When the daemon runs with @option{--no-substitutes}, clients can still explicitly enable substitution @i{via} the @code{set-build-options} remote procedure call (@pxref{The Store})."
  6589. msgstr ""
  6590. #. type: anchor{#1}
  6591. #: guix-git/doc/guix.texi:1728
  6592. msgid "daemon-substitute-urls"
  6593. msgstr "daemon-substitute-urls"
  6594. #. type: item
  6595. #: guix-git/doc/guix.texi:1728 guix-git/doc/guix.texi:12595
  6596. #: guix-git/doc/guix.texi:15118 guix-git/doc/guix.texi:15868
  6597. #: guix-git/doc/guix.texi:16095
  6598. #, no-wrap
  6599. msgid "--substitute-urls=@var{urls}"
  6600. msgstr "--substitute-urls=@var{urls}"
  6601. #. type: table
  6602. #: guix-git/doc/guix.texi:1732
  6603. #, fuzzy
  6604. #| msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{https://@value{SUBSTITUTE-SERVER}} is used."
  6605. msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{@value{SUBSTITUTE-URLS}} is used."
  6606. msgstr "Considere @var{urls} a lista padrão separada por espaços em branco de URLs de fontes substitutos. Quando essa opção é omitida, @indicateurl{https://@value{SUBSTITUTE-SERVER}} é usado."
  6607. #. type: table
  6608. #: guix-git/doc/guix.texi:1735
  6609. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  6610. msgstr "Isso significa que os substitutos podem ser baixados de @var{urls}, desde que assinados por uma assinatura confiável (@pxref{Substitutos})."
  6611. #. type: table
  6612. #: guix-git/doc/guix.texi:1738
  6613. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  6614. msgstr ""
  6615. #. type: item
  6616. #: guix-git/doc/guix.texi:1740 guix-git/doc/guix.texi:12631
  6617. #, no-wrap
  6618. msgid "--no-offload"
  6619. msgstr ""
  6620. #. type: table
  6621. #: guix-git/doc/guix.texi:1744 guix-git/doc/guix.texi:12635
  6622. msgid "Do not use offload builds to other machines (@pxref{Daemon Offload Setup}). That is, always build things locally instead of offloading builds to remote machines."
  6623. msgstr ""
  6624. #. type: item
  6625. #: guix-git/doc/guix.texi:1745
  6626. #, no-wrap
  6627. msgid "--cache-failures"
  6628. msgstr "--cache-failures"
  6629. #. type: table
  6630. #: guix-git/doc/guix.texi:1747
  6631. msgid "Cache build failures. By default, only successful builds are cached."
  6632. msgstr "Armazena em cache as compilações que falharam. Por padrão, apenas compilações bem-sucedidas são armazenadas em cache."
  6633. #. type: table
  6634. #: guix-git/doc/guix.texi:1752
  6635. msgid "When this option is used, @command{guix gc --list-failures} can be used to query the set of store items marked as failed; @command{guix gc --clear-failures} removes store items from the set of cached failures. @xref{Invoking guix gc}."
  6636. msgstr "Quando essa opção é usada, o @command{guix gc --list-failures} pode ser usado para consultar o conjunto de itens do armazém marcados como com falha; O @command{guix gc --clear-failures} remove os itens do armazém do conjunto de falhas em cache. @xref{Invocando guix gc}."
  6637. #. type: item
  6638. #: guix-git/doc/guix.texi:1753 guix-git/doc/guix.texi:12661
  6639. #, no-wrap
  6640. msgid "--cores=@var{n}"
  6641. msgstr "--cores=@var{n}"
  6642. #. type: itemx
  6643. #: guix-git/doc/guix.texi:1754 guix-git/doc/guix.texi:12662
  6644. #, no-wrap
  6645. msgid "-c @var{n}"
  6646. msgstr "-c @var{n}"
  6647. #. type: table
  6648. #: guix-git/doc/guix.texi:1757
  6649. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  6650. msgstr "Usa @var{n} núcleos de CPU para compilar cada derivação; @code{0} significa todos disponíveis."
  6651. #. type: table
  6652. #: guix-git/doc/guix.texi:1761
  6653. msgid "The default value is @code{0}, but it may be overridden by clients, such as the @option{--cores} option of @command{guix build} (@pxref{Invoking guix build})."
  6654. msgstr ""
  6655. #. type: table
  6656. #: guix-git/doc/guix.texi:1765
  6657. msgid "The effect is to define the @env{NIX_BUILD_CORES} environment variable in the build process, which can then use it to exploit internal parallelism---for instance, by running @code{make -j$NIX_BUILD_CORES}."
  6658. msgstr ""
  6659. #. type: item
  6660. #: guix-git/doc/guix.texi:1766 guix-git/doc/guix.texi:12666
  6661. #, no-wrap
  6662. msgid "--max-jobs=@var{n}"
  6663. msgstr "--max-jobs=@var{n}"
  6664. #. type: itemx
  6665. #: guix-git/doc/guix.texi:1767 guix-git/doc/guix.texi:12667
  6666. #, no-wrap
  6667. msgid "-M @var{n}"
  6668. msgstr "-M @var{n}"
  6669. #. type: table
  6670. #: guix-git/doc/guix.texi:1772
  6671. msgid "Allow at most @var{n} build jobs in parallel. The default value is @code{1}. Setting it to @code{0} means that no builds will be performed locally; instead, the daemon will offload builds (@pxref{Daemon Offload Setup}), or simply fail."
  6672. msgstr "Permite no máximo @var{n} tarefas de compilação em paralelo. O valor padrão é @code{1}. Definir como @code{0} significa que nenhuma compilação será executada localmente; em vez disso, o daemon descarregará as compilações (@pxref{Configuração de descarregamento de daemon}) ou simplesmente falhará."
  6673. #. type: item
  6674. #: guix-git/doc/guix.texi:1773 guix-git/doc/guix.texi:12636
  6675. #, no-wrap
  6676. msgid "--max-silent-time=@var{seconds}"
  6677. msgstr "--max-silent-time=@var{segundos}"
  6678. #. type: table
  6679. #: guix-git/doc/guix.texi:1776 guix-git/doc/guix.texi:12639
  6680. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  6681. msgstr "Quando o processo de compilação ou substituição permanecer em silêncio por mais de @var{segundos}, encerra-o e relata uma falha de compilação."
  6682. #. type: table
  6683. #: guix-git/doc/guix.texi:1778 guix-git/doc/guix.texi:1787
  6684. msgid "The default value is @code{0}, which disables the timeout."
  6685. msgstr "O valor padrão é @code{0}, que desativa o tempo limite."
  6686. #. type: table
  6687. #: guix-git/doc/guix.texi:1781
  6688. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  6689. msgstr ""
  6690. #. type: item
  6691. #: guix-git/doc/guix.texi:1782 guix-git/doc/guix.texi:12643
  6692. #, no-wrap
  6693. msgid "--timeout=@var{seconds}"
  6694. msgstr "--timeout=@var{segundos}"
  6695. #. type: table
  6696. #: guix-git/doc/guix.texi:1785 guix-git/doc/guix.texi:12646
  6697. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  6698. msgstr "Da mesma forma, quando o processo de compilação ou substituição durar mais que @var{segundos}, encerra-o e relata uma falha de compilação."
  6699. #. type: table
  6700. #: guix-git/doc/guix.texi:1790
  6701. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  6702. msgstr ""
  6703. #. type: item
  6704. #: guix-git/doc/guix.texi:1791
  6705. #, no-wrap
  6706. msgid "--rounds=@var{N}"
  6707. msgstr "--rounds=@var{N}"
  6708. #. type: table
  6709. #: guix-git/doc/guix.texi:1796
  6710. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical. Note that this setting can be overridden by clients such as @command{guix build} (@pxref{Invoking guix build})."
  6711. msgstr "Compila cada derivação @var{n} vezes seguidas e gera um erro se os resultados consecutivos da compilação não forem idênticos bit a bit. Observe que essa configuração pode ser substituída por clientes como @command{guix build} (@pxref{Invocando guix build})."
  6712. #. type: table
  6713. #: guix-git/doc/guix.texi:1800 guix-git/doc/guix.texi:12630
  6714. #: guix-git/doc/guix.texi:13314
  6715. msgid "When used in conjunction with @option{--keep-failed}, the differing output is kept in the store, under @file{/gnu/store/@dots{}-check}. This makes it easy to look for differences between the two results."
  6716. msgstr "Quando usado em conjunto com @option{--keep-failed}, uma saída de comparação é mantida no armazém, sob @file{/gnu/store/@dots{}-check}. Isso facilita procurar por diferenças entre os dois resultados."
  6717. #. type: item
  6718. #: guix-git/doc/guix.texi:1801
  6719. #, no-wrap
  6720. msgid "--debug"
  6721. msgstr "--debug"
  6722. #. type: table
  6723. #: guix-git/doc/guix.texi:1803
  6724. msgid "Produce debugging output."
  6725. msgstr "Produz uma saída de depuração."
  6726. #. type: table
  6727. #: guix-git/doc/guix.texi:1807
  6728. msgid "This is useful to debug daemon start-up issues, but then it may be overridden by clients, for example the @option{--verbosity} option of @command{guix build} (@pxref{Invoking guix build})."
  6729. msgstr ""
  6730. #. type: item
  6731. #: guix-git/doc/guix.texi:1808
  6732. #, no-wrap
  6733. msgid "--chroot-directory=@var{dir}"
  6734. msgstr "--chroot-directory=@var{dir}"
  6735. #. type: table
  6736. #: guix-git/doc/guix.texi:1810
  6737. msgid "Add @var{dir} to the build chroot."
  6738. msgstr "adiciona @var{dir} ao chroot de compilação."
  6739. #. type: table
  6740. #: guix-git/doc/guix.texi:1816
  6741. msgid "Doing this may change the result of build processes---for instance if they use optional dependencies found in @var{dir} when it is available, and not otherwise. For that reason, it is not recommended to do so. Instead, make sure that each derivation declares all the inputs that it needs."
  6742. msgstr "Isso pode alterar o resultado dos processos de compilação -- por exemplo, se eles usam dependências opcionais encontradas em @var{dir} quando estão disponíveis, e não o contrário. Por esse motivo, não é recomendável fazê-lo. Em vez disso, verifique se cada derivação declara todas as entradas necessárias."
  6743. #. type: item
  6744. #: guix-git/doc/guix.texi:1817
  6745. #, no-wrap
  6746. msgid "--disable-chroot"
  6747. msgstr "--disable-chroot"
  6748. #. type: table
  6749. #: guix-git/doc/guix.texi:1819
  6750. msgid "Disable chroot builds."
  6751. msgstr "Desabilita compilações em chroot."
  6752. #. type: table
  6753. #: guix-git/doc/guix.texi:1824
  6754. msgid "Using this option is not recommended since, again, it would allow build processes to gain access to undeclared dependencies. It is necessary, though, when @command{guix-daemon} is running under an unprivileged user account."
  6755. msgstr "O uso dessa opção não é recomendado, pois, novamente, isso permitiria que os processos de compilação obtivessem acesso a dependências não declaradas. Porém, é necessário quando o @command{guix-daemon} está sendo executado em uma conta de usuário sem privilégios."
  6756. #. type: item
  6757. #: guix-git/doc/guix.texi:1825
  6758. #, no-wrap
  6759. msgid "--log-compression=@var{type}"
  6760. msgstr "--log-compression=@var{tipo}"
  6761. #. type: table
  6762. #: guix-git/doc/guix.texi:1828
  6763. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  6764. msgstr "Compacta logs de compilação de aconrdo com @var{tipo}, que pode ser um entre @code{gzip}, @code{bzip2} e @code{none}."
  6765. #. type: table
  6766. #: guix-git/doc/guix.texi:1832
  6767. msgid "Unless @option{--lose-logs} is used, all the build logs are kept in the @var{localstatedir}. To save space, the daemon automatically compresses them with gzip by default."
  6768. msgstr ""
  6769. #. type: item
  6770. #: guix-git/doc/guix.texi:1833
  6771. #, no-wrap
  6772. msgid "--discover[=yes|no]"
  6773. msgstr ""
  6774. #. type: table
  6775. #: guix-git/doc/guix.texi:1836 guix-git/doc/guix.texi:18875
  6776. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  6777. msgstr ""
  6778. #. type: table
  6779. #: guix-git/doc/guix.texi:1839
  6780. msgid "This feature is still experimental. However, here are a few considerations."
  6781. msgstr ""
  6782. #. type: enumerate
  6783. #: guix-git/doc/guix.texi:1843
  6784. msgid "It might be faster/less expensive than fetching from remote servers;"
  6785. msgstr ""
  6786. #. type: enumerate
  6787. #: guix-git/doc/guix.texi:1846
  6788. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  6789. msgstr ""
  6790. #. type: enumerate
  6791. #: guix-git/doc/guix.texi:1850
  6792. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  6793. msgstr ""
  6794. #. type: enumerate
  6795. #: guix-git/doc/guix.texi:1853
  6796. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  6797. msgstr ""
  6798. #. type: table
  6799. #: guix-git/doc/guix.texi:1857
  6800. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  6801. msgstr ""
  6802. #. type: example
  6803. #: guix-git/doc/guix.texi:1861
  6804. #, no-wrap
  6805. msgid ""
  6806. "herd discover guix-daemon on\n"
  6807. "herd discover guix-daemon off\n"
  6808. msgstr ""
  6809. #. type: item
  6810. #: guix-git/doc/guix.texi:1863
  6811. #, no-wrap
  6812. msgid "--disable-deduplication"
  6813. msgstr "--disable-deduplication"
  6814. #. type: cindex
  6815. #: guix-git/doc/guix.texi:1864 guix-git/doc/guix.texi:4619
  6816. #, no-wrap
  6817. msgid "deduplication"
  6818. msgstr "deduplicação"
  6819. #. type: table
  6820. #: guix-git/doc/guix.texi:1866
  6821. msgid "Disable automatic file ``deduplication'' in the store."
  6822. msgstr "Desabilita ``deduplicação'' automática de arquivos no armazém."
  6823. #. type: table
  6824. #: guix-git/doc/guix.texi:1873
  6825. msgid "By default, files added to the store are automatically ``deduplicated'': if a newly added file is identical to another one found in the store, the daemon makes the new file a hard link to the other file. This can noticeably reduce disk usage, at the expense of slightly increased input/output load at the end of a build process. This option disables this optimization."
  6826. msgstr "Por padrão, os arquivos adicionados ao armazém são automaticamente ``deduplicados'': se um arquivo recém-adicionado for idêntico a outro encontrado no armazém, o daemon tornará o novo arquivo um link físico para o outro arquivo. Isso pode reduzir notavelmente o uso do disco, às custas de um leve aumento na carga de entrada/saída no final de um processo de criação. Esta opção desativa essa otimização."
  6827. #. type: item
  6828. #: guix-git/doc/guix.texi:1874
  6829. #, no-wrap
  6830. msgid "--gc-keep-outputs[=yes|no]"
  6831. msgstr "--gc-keep-outputs[=yes|no]"
  6832. #. type: table
  6833. #: guix-git/doc/guix.texi:1877
  6834. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  6835. msgstr "Diz se o coletor de lixo (GC) deve manter as saídas de derivações vivas."
  6836. #. type: cindex
  6837. #: guix-git/doc/guix.texi:1878 guix-git/doc/guix.texi:4431
  6838. #, no-wrap
  6839. msgid "GC roots"
  6840. msgstr "raízes de GC"
  6841. #. type: cindex
  6842. #: guix-git/doc/guix.texi:1879 guix-git/doc/guix.texi:4432
  6843. #, no-wrap
  6844. msgid "garbage collector roots"
  6845. msgstr "raízes de coletor de lixo"
  6846. #. type: table
  6847. #: guix-git/doc/guix.texi:1885
  6848. msgid "When set to @code{yes}, the GC will keep the outputs of any live derivation available in the store---the @file{.drv} files. The default is @code{no}, meaning that derivation outputs are kept only if they are reachable from a GC root. @xref{Invoking guix gc}, for more on GC roots."
  6849. msgstr ""
  6850. #. type: item
  6851. #: guix-git/doc/guix.texi:1886
  6852. #, no-wrap
  6853. msgid "--gc-keep-derivations[=yes|no]"
  6854. msgstr "--gc-keep-derivations[=yes|no]"
  6855. #. type: table
  6856. #: guix-git/doc/guix.texi:1889
  6857. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  6858. msgstr "Diz se o coletor de lixo (GC) deve manter as derivações correspondentes às saídas vivas."
  6859. #. type: table
  6860. #: guix-git/doc/guix.texi:1895
  6861. msgid "When set to @code{yes}, as is the case by default, the GC keeps derivations---i.e., @file{.drv} files---as long as at least one of their outputs is live. This allows users to keep track of the origins of items in their store. Setting it to @code{no} saves a bit of disk space."
  6862. msgstr ""
  6863. #. type: table
  6864. #: guix-git/doc/guix.texi:1904
  6865. msgid "In this way, setting @option{--gc-keep-derivations} to @code{yes} causes liveness to flow from outputs to derivations, and setting @option{--gc-keep-outputs} to @code{yes} causes liveness to flow from derivations to outputs. When both are set to @code{yes}, the effect is to keep all the build prerequisites (the sources, compiler, libraries, and other build-time tools) of live objects in the store, regardless of whether these prerequisites are reachable from a GC root. This is convenient for developers since it saves rebuilds or downloads."
  6866. msgstr ""
  6867. #. type: item
  6868. #: guix-git/doc/guix.texi:1905
  6869. #, no-wrap
  6870. msgid "--impersonate-linux-2.6"
  6871. msgstr ""
  6872. #. type: table
  6873. #: guix-git/doc/guix.texi:1908
  6874. msgid "On Linux-based systems, impersonate Linux 2.6. This means that the kernel's @command{uname} system call will report 2.6 as the release number."
  6875. msgstr ""
  6876. #. type: table
  6877. #: guix-git/doc/guix.texi:1911
  6878. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  6879. msgstr ""
  6880. #. type: item
  6881. #: guix-git/doc/guix.texi:1912
  6882. #, no-wrap
  6883. msgid "--lose-logs"
  6884. msgstr ""
  6885. #. type: table
  6886. #: guix-git/doc/guix.texi:1915
  6887. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  6888. msgstr ""
  6889. #. type: item
  6890. #: guix-git/doc/guix.texi:1916 guix-git/doc/guix.texi:4876
  6891. #: guix-git/doc/guix.texi:6304 guix-git/doc/guix.texi:6801
  6892. #: guix-git/doc/guix.texi:7269 guix-git/doc/guix.texi:13250
  6893. #: guix-git/doc/guix.texi:15145 guix-git/doc/guix.texi:15410
  6894. #: guix-git/doc/guix.texi:16100 guix-git/doc/guix.texi:40309
  6895. #, no-wrap
  6896. msgid "--system=@var{system}"
  6897. msgstr ""
  6898. #. type: table
  6899. #: guix-git/doc/guix.texi:1920
  6900. msgid "Assume @var{system} as the current system type. By default it is the architecture/kernel pair found at configure time, such as @code{x86_64-linux}."
  6901. msgstr ""
  6902. #. type: item
  6903. #: guix-git/doc/guix.texi:1921 guix-git/doc/guix.texi:12310
  6904. #, no-wrap
  6905. msgid "--listen=@var{endpoint}"
  6906. msgstr ""
  6907. #. type: table
  6908. #: guix-git/doc/guix.texi:1926
  6909. msgid "Listen for connections on @var{endpoint}. @var{endpoint} is interpreted as the file name of a Unix-domain socket if it starts with @code{/} (slash sign). Otherwise, @var{endpoint} is interpreted as a host name or host name and port to listen to. Here are a few examples:"
  6910. msgstr ""
  6911. #. type: item
  6912. #: guix-git/doc/guix.texi:1928
  6913. #, no-wrap
  6914. msgid "--listen=/gnu/var/daemon"
  6915. msgstr ""
  6916. #. type: table
  6917. #: guix-git/doc/guix.texi:1931
  6918. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  6919. msgstr ""
  6920. #. type: item
  6921. #: guix-git/doc/guix.texi:1932
  6922. #, no-wrap
  6923. msgid "--listen=localhost"
  6924. msgstr ""
  6925. #. type: cindex
  6926. #: guix-git/doc/guix.texi:1933 guix-git/doc/guix.texi:10974
  6927. #, no-wrap
  6928. msgid "daemon, remote access"
  6929. msgstr ""
  6930. #. type: cindex
  6931. #: guix-git/doc/guix.texi:1934 guix-git/doc/guix.texi:10975
  6932. #, no-wrap
  6933. msgid "remote access to the daemon"
  6934. msgstr ""
  6935. #. type: cindex
  6936. #: guix-git/doc/guix.texi:1935 guix-git/doc/guix.texi:10976
  6937. #, no-wrap
  6938. msgid "daemon, cluster setup"
  6939. msgstr ""
  6940. #. type: cindex
  6941. #: guix-git/doc/guix.texi:1936 guix-git/doc/guix.texi:10977
  6942. #, no-wrap
  6943. msgid "clusters, daemon setup"
  6944. msgstr ""
  6945. #. type: table
  6946. #: guix-git/doc/guix.texi:1939
  6947. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  6948. msgstr ""
  6949. #. type: item
  6950. #: guix-git/doc/guix.texi:1940
  6951. #, no-wrap
  6952. msgid "--listen=128.0.0.42:1234"
  6953. msgstr ""
  6954. #. type: table
  6955. #: guix-git/doc/guix.texi:1943
  6956. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  6957. msgstr ""
  6958. #. type: table
  6959. #: guix-git/doc/guix.texi:1950
  6960. msgid "This option can be repeated multiple times, in which case @command{guix-daemon} accepts connections on all the specified endpoints. Users can tell client commands what endpoint to connect to by setting the @env{GUIX_DAEMON_SOCKET} environment variable (@pxref{The Store, @env{GUIX_DAEMON_SOCKET}})."
  6961. msgstr ""
  6962. #. type: quotation
  6963. #: guix-git/doc/guix.texi:1957
  6964. msgid "The daemon protocol is @emph{unauthenticated and unencrypted}. Using @option{--listen=@var{host}} is suitable on local networks, such as clusters, where only trusted nodes may connect to the build daemon. In other cases where remote access to the daemon is needed, we recommend using Unix-domain sockets along with SSH."
  6965. msgstr ""
  6966. #. type: table
  6967. #: guix-git/doc/guix.texi:1962
  6968. msgid "When @option{--listen} is omitted, @command{guix-daemon} listens for connections on the Unix-domain socket located at @file{@var{localstatedir}/guix/daemon-socket/socket}."
  6969. msgstr ""
  6970. #. type: Plain text
  6971. #: guix-git/doc/guix.texi:1972
  6972. msgid "When using Guix on top of GNU/Linux distribution other than Guix System---a so-called @dfn{foreign distro}---a few additional steps are needed to get everything in place. Here are some of them."
  6973. msgstr "Ao usar Guix sobre uma distribuição GNU/Linux que não seja um Guix System --- uma chamada @dfn{distro alheia} --- algumas etapas adicionais são necessárias para colocar tudo no seu lugar. Aqui estão algumas delas."
  6974. #. type: anchor{#1}
  6975. #: guix-git/doc/guix.texi:1976
  6976. msgid "locales-and-locpath"
  6977. msgstr "locales-and-locpath"
  6978. #. type: cindex
  6979. #: guix-git/doc/guix.texi:1976
  6980. #, no-wrap
  6981. msgid "locales, when not on Guix System"
  6982. msgstr "locales, quando não está no Guix System"
  6983. #. type: vindex
  6984. #: guix-git/doc/guix.texi:1977 guix-git/doc/guix.texi:17995
  6985. #, no-wrap
  6986. msgid "LOCPATH"
  6987. msgstr "LOCPATH"
  6988. #. type: vindex
  6989. #: guix-git/doc/guix.texi:1978
  6990. #, no-wrap
  6991. msgid "GUIX_LOCPATH"
  6992. msgstr "GUIX_LOCPATH"
  6993. #. type: Plain text
  6994. #: guix-git/doc/guix.texi:1983
  6995. msgid "Packages installed @i{via} Guix will not use the locale data of the host system. Instead, you must first install one of the locale packages available with Guix and then define the @env{GUIX_LOCPATH} environment variable:"
  6996. msgstr ""
  6997. #. type: example
  6998. #: guix-git/doc/guix.texi:1987
  6999. #, no-wrap
  7000. msgid ""
  7001. "$ guix install glibc-locales\n"
  7002. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  7003. msgstr ""
  7004. #. type: Plain text
  7005. #: guix-git/doc/guix.texi:1999
  7006. msgid "Note that the @code{glibc-locales} package contains data for all the locales supported by the GNU@tie{}libc and weighs in at around 930@tie{}MiB@footnote{The size of the @code{glibc-locales} package is reduced down to about 213@tie{}MiB with store deduplication and further down to about 67@tie{}MiB when using a zstd-compressed Btrfs file system.}. If you only need a few locales, you can define your custom locales package via the @code{make-glibc-utf8-locales} procedure from the @code{(gnu packages base)} module. The following example defines a package containing the various Canadian UTF-8 locales known to the GNU@tie{}libc, that weighs around 14@tie{}MiB:"
  7007. msgstr ""
  7008. #. type: lisp
  7009. #: guix-git/doc/guix.texi:2002
  7010. #, fuzzy, no-wrap
  7011. #| msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  7012. msgid ""
  7013. "(use-modules (gnu packages base))\n"
  7014. "\n"
  7015. msgstr "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  7016. #. type: lisp
  7017. #: guix-git/doc/guix.texi:2008
  7018. #, no-wrap
  7019. msgid ""
  7020. "(define my-glibc-locales\n"
  7021. " (make-glibc-utf8-locales\n"
  7022. " glibc\n"
  7023. " #:locales (list \"en_CA\" \"fr_CA\" \"ik_CA\" \"iu_CA\" \"shs_CA\")\n"
  7024. " #:name \"glibc-canadian-utf8-locales\"))\n"
  7025. msgstr ""
  7026. #. type: Plain text
  7027. #: guix-git/doc/guix.texi:2013
  7028. msgid "The @env{GUIX_LOCPATH} variable plays a role similar to @env{LOCPATH} (@pxref{Locale Names, @env{LOCPATH},, libc, The GNU C Library Reference Manual}). There are two important differences though:"
  7029. msgstr ""
  7030. #. type: enumerate
  7031. #: guix-git/doc/guix.texi:2020
  7032. msgid "@env{GUIX_LOCPATH} is honored only by the libc in Guix, and not by the libc provided by foreign distros. Thus, using @env{GUIX_LOCPATH} allows you to make sure the programs of the foreign distro will not end up loading incompatible locale data."
  7033. msgstr ""
  7034. #. type: enumerate
  7035. #: guix-git/doc/guix.texi:2027
  7036. msgid "libc suffixes each entry of @env{GUIX_LOCPATH} with @code{/X.Y}, where @code{X.Y} is the libc version---e.g., @code{2.22}. This means that, should your Guix profile contain a mixture of programs linked against different libc version, each libc version will only try to load locale data in the right format."
  7037. msgstr ""
  7038. #. type: Plain text
  7039. #: guix-git/doc/guix.texi:2031
  7040. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  7041. msgstr ""
  7042. #. type: cindex
  7043. #: guix-git/doc/guix.texi:2034
  7044. #, no-wrap
  7045. msgid "name service switch, glibc"
  7046. msgstr ""
  7047. #. type: cindex
  7048. #: guix-git/doc/guix.texi:2035
  7049. #, no-wrap
  7050. msgid "NSS (name service switch), glibc"
  7051. msgstr ""
  7052. #. type: cindex
  7053. #: guix-git/doc/guix.texi:2036 guix-git/doc/guix.texi:18633
  7054. #, fuzzy, no-wrap
  7055. #| msgid "Web Services"
  7056. msgid "@abbr{nscd, name service cache daemon}"
  7057. msgstr "Serviços Web"
  7058. #. type: Plain text
  7059. #: guix-git/doc/guix.texi:2043
  7060. msgid "When using Guix on a foreign distro, we @emph{strongly recommend} that the system run the GNU C library's @dfn{name service cache daemon}, @command{nscd}, which should be listening on the @file{/var/run/nscd/socket} socket. Failing to do that, applications installed with Guix may fail to look up host names or user accounts, or may even crash. The next paragraphs explain why."
  7061. msgstr "Ao usar o Guix em uma distro alheia, nós @emph{recomendamos fortemente} que o sistema use o @dfn{daemon de cache de serviço de nomes} da biblioteca C do GNU, @command{nscd}, que deve ouvir no soquete @file{/var/run/nscd/socket}. Caso não faça isso, os aplicativos instalados com Guix podem falhar em procurar nomes de máquina e contas de usuário, ou até mesmo travar. Os próximos parágrafos explicam o porquê."
  7062. #. type: file{#1}
  7063. #: guix-git/doc/guix.texi:2044
  7064. #, no-wrap
  7065. msgid "nsswitch.conf"
  7066. msgstr ""
  7067. #. type: Plain text
  7068. #: guix-git/doc/guix.texi:2049
  7069. msgid "The GNU C library implements a @dfn{name service switch} (NSS), which is an extensible mechanism for ``name lookups'' in general: host name resolution, user accounts, and more (@pxref{Name Service Switch,,, libc, The GNU C Library Reference Manual})."
  7070. msgstr ""
  7071. #. type: cindex
  7072. #: guix-git/doc/guix.texi:2050
  7073. #, no-wrap
  7074. msgid "Network information service (NIS)"
  7075. msgstr ""
  7076. #. type: cindex
  7077. #: guix-git/doc/guix.texi:2051
  7078. #, no-wrap
  7079. msgid "NIS (Network information service)"
  7080. msgstr ""
  7081. #. type: Plain text
  7082. #: guix-git/doc/guix.texi:2060
  7083. msgid "Being extensible, the NSS supports @dfn{plugins}, which provide new name lookup implementations: for example, the @code{nss-mdns} plugin allow resolution of @code{.local} host names, the @code{nis} plugin allows user account lookup using the Network information service (NIS), and so on. These extra ``lookup services'' are configured system-wide in @file{/etc/nsswitch.conf}, and all the programs running on the system honor those settings (@pxref{NSS Configuration File,,, libc, The GNU C Reference Manual})."
  7084. msgstr ""
  7085. #. type: Plain text
  7086. #: guix-git/doc/guix.texi:2070
  7087. msgid "When they perform a name lookup---for instance by calling the @code{getaddrinfo} function in C---applications first try to connect to the nscd; on success, nscd performs name lookups on their behalf. If the nscd is not running, then they perform the name lookup by themselves, by loading the name lookup services into their own address space and running it. These name lookup services---the @file{libnss_*.so} files---are @code{dlopen}'d, but they may come from the host system's C library, rather than from the C library the application is linked against (the C library coming from Guix)."
  7088. msgstr ""
  7089. #. type: Plain text
  7090. #: guix-git/doc/guix.texi:2075
  7091. msgid "And this is where the problem is: if your application is linked against Guix's C library (say, glibc 2.24) and tries to load NSS plugins from another C library (say, @code{libnss_mdns.so} for glibc 2.22), it will likely crash or have its name lookups fail unexpectedly."
  7092. msgstr ""
  7093. #. type: Plain text
  7094. #: guix-git/doc/guix.texi:2080
  7095. msgid "Running @command{nscd} on the system, among other advantages, eliminates this binary incompatibility problem because those @code{libnss_*.so} files are loaded in the @command{nscd} process, not in applications themselves."
  7096. msgstr ""
  7097. #. type: subsection
  7098. #: guix-git/doc/guix.texi:2081
  7099. #, no-wrap
  7100. msgid "X11 Fonts"
  7101. msgstr ""
  7102. #. type: Plain text
  7103. #: guix-git/doc/guix.texi:2091
  7104. msgid "The majority of graphical applications use Fontconfig to locate and load fonts and perform X11-client-side rendering. The @code{fontconfig} package in Guix looks for fonts in @file{$HOME/.guix-profile} by default. Thus, to allow graphical applications installed with Guix to display fonts, you have to install fonts with Guix as well. Essential font packages include @code{font-ghostscript}, @code{font-dejavu}, and @code{font-gnu-freefont}."
  7105. msgstr ""
  7106. #. type: code{#1}
  7107. #: guix-git/doc/guix.texi:2092
  7108. #, no-wrap
  7109. msgid "fc-cache"
  7110. msgstr ""
  7111. #. type: cindex
  7112. #: guix-git/doc/guix.texi:2093
  7113. #, no-wrap
  7114. msgid "font cache"
  7115. msgstr ""
  7116. #. type: Plain text
  7117. #: guix-git/doc/guix.texi:2097
  7118. msgid "Once you have installed or removed fonts, or when you notice an application that does not find fonts, you may need to install Fontconfig and to force an update of its font cache by running:"
  7119. msgstr ""
  7120. #. type: example
  7121. #: guix-git/doc/guix.texi:2101
  7122. #, no-wrap
  7123. msgid ""
  7124. "guix install fontconfig\n"
  7125. "fc-cache -rv\n"
  7126. msgstr ""
  7127. #. type: Plain text
  7128. #: guix-git/doc/guix.texi:2109
  7129. msgid "To display text written in Chinese languages, Japanese, or Korean in graphical applications, consider installing @code{font-adobe-source-han-sans} or @code{font-wqy-zenhei}. The former has multiple outputs, one per language family (@pxref{Packages with Multiple Outputs}). For instance, the following command installs fonts for Chinese languages:"
  7130. msgstr ""
  7131. #. type: example
  7132. #: guix-git/doc/guix.texi:2112
  7133. #, no-wrap
  7134. msgid "guix install font-adobe-source-han-sans:cn\n"
  7135. msgstr ""
  7136. #. type: code{#1}
  7137. #: guix-git/doc/guix.texi:2114
  7138. #, no-wrap
  7139. msgid "xterm"
  7140. msgstr "xterm"
  7141. #. type: Plain text
  7142. #: guix-git/doc/guix.texi:2118
  7143. msgid "Older programs such as @command{xterm} do not use Fontconfig and instead rely on server-side font rendering. Such programs require to specify a full name of a font using XLFD (X Logical Font Description), like this:"
  7144. msgstr ""
  7145. #. type: example
  7146. #: guix-git/doc/guix.texi:2121
  7147. #, no-wrap
  7148. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  7149. msgstr ""
  7150. #. type: Plain text
  7151. #: guix-git/doc/guix.texi:2125
  7152. msgid "To be able to use such full names for the TrueType fonts installed in your Guix profile, you need to extend the font path of the X server:"
  7153. msgstr ""
  7154. #. type: example
  7155. #: guix-git/doc/guix.texi:2130
  7156. #, no-wrap
  7157. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  7158. msgstr ""
  7159. #. type: code{#1}
  7160. #: guix-git/doc/guix.texi:2132
  7161. #, no-wrap
  7162. msgid "xlsfonts"
  7163. msgstr ""
  7164. #. type: Plain text
  7165. #: guix-git/doc/guix.texi:2135
  7166. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  7167. msgstr ""
  7168. #. type: code{#1}
  7169. #: guix-git/doc/guix.texi:2139 guix-git/doc/guix.texi:39116
  7170. #, no-wrap
  7171. msgid "nss-certs"
  7172. msgstr ""
  7173. #. type: Plain text
  7174. #: guix-git/doc/guix.texi:2142
  7175. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  7176. msgstr ""
  7177. #. type: Plain text
  7178. #: guix-git/doc/guix.texi:2147
  7179. msgid "When using Guix on a foreign distro, you can install this package and define the relevant environment variables so that packages know where to look for certificates. @xref{X.509 Certificates}, for detailed information."
  7180. msgstr "Ao usar uma Guix em uma distro alheia, você pode instalar esse pacote e definir as variáveis de ambiente relevantes de forma que os pacotes saibam onde procurar por certificados. @xref{Certificados X.509}, para informações detalhadas."
  7181. #. type: code{#1}
  7182. #: guix-git/doc/guix.texi:2150
  7183. #, no-wrap
  7184. msgid "emacs"
  7185. msgstr ""
  7186. #. type: Plain text
  7187. #: guix-git/doc/guix.texi:2156
  7188. msgid "When you install Emacs packages with Guix, the Elisp files are placed under the @file{share/emacs/site-lisp/} directory of the profile in which they are installed. The Elisp libraries are made available to Emacs through the @env{EMACSLOADPATH} environment variable, which is set when installing Emacs itself."
  7189. msgstr ""
  7190. #. type: Plain text
  7191. #: guix-git/doc/guix.texi:2163
  7192. msgid "Additionally, autoload definitions are automatically evaluated at the initialization of Emacs, by the Guix-specific @code{guix-emacs-autoload-packages} procedure. If, for some reason, you want to avoid auto-loading the Emacs packages installed with Guix, you can do so by running Emacs with the @option{--no-site-file} option (@pxref{Init File,,, emacs, The GNU Emacs Manual})."
  7193. msgstr ""
  7194. #. type: quotation
  7195. #: guix-git/doc/guix.texi:2169
  7196. msgid "Emacs can now compile packages natively. Under the default configuration, this means that Emacs packages will now be just-in-time (JIT) compiled as you use them, and the results stored in a subdirectory of your @code{user-emacs-directory}."
  7197. msgstr ""
  7198. #. type: quotation
  7199. #: guix-git/doc/guix.texi:2176
  7200. msgid "Furthermore, the build system for Emacs packages transparently supports native compilation, but note, that @code{emacs-minimal}---the default Emacs for building packages---has been configured without native compilation. To natively compile your emacs packages ahead of time, use a transformation like @option{--with-input=emacs-minimal=emacs}."
  7201. msgstr ""
  7202. #. type: cindex
  7203. #: guix-git/doc/guix.texi:2181
  7204. #, no-wrap
  7205. msgid "Upgrading Guix, on a foreign distro"
  7206. msgstr ""
  7207. #. type: Plain text
  7208. #: guix-git/doc/guix.texi:2184
  7209. msgid "To upgrade Guix, run:"
  7210. msgstr ""
  7211. #. type: example
  7212. #: guix-git/doc/guix.texi:2187 guix-git/doc/guix.texi:3167
  7213. #, no-wrap
  7214. msgid "guix pull\n"
  7215. msgstr ""
  7216. #. type: Plain text
  7217. #: guix-git/doc/guix.texi:2190
  7218. msgid "@xref{Invoking guix pull}, for more information."
  7219. msgstr ""
  7220. #. type: cindex
  7221. #: guix-git/doc/guix.texi:2191
  7222. #, no-wrap
  7223. msgid "upgrading Guix for the root user, on a foreign distro"
  7224. msgstr ""
  7225. #. type: cindex
  7226. #: guix-git/doc/guix.texi:2192
  7227. #, no-wrap
  7228. msgid "upgrading the Guix daemon, on a foreign distro"
  7229. msgstr ""
  7230. #. type: cindex
  7231. #: guix-git/doc/guix.texi:2193
  7232. #, no-wrap
  7233. msgid "@command{guix pull} for the root user, on a foreign distro"
  7234. msgstr ""
  7235. #. type: Plain text
  7236. #: guix-git/doc/guix.texi:2196
  7237. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  7238. msgstr ""
  7239. #. type: example
  7240. #: guix-git/doc/guix.texi:2199
  7241. #, no-wrap
  7242. msgid "sudo -i guix pull\n"
  7243. msgstr ""
  7244. #. type: Plain text
  7245. #: guix-git/doc/guix.texi:2204
  7246. msgid "followed by (assuming your distro uses the systemd service management tool):"
  7247. msgstr ""
  7248. #. type: example
  7249. #: guix-git/doc/guix.texi:2207
  7250. #, no-wrap
  7251. msgid "systemctl restart guix-daemon.service\n"
  7252. msgstr ""
  7253. #. type: Plain text
  7254. #: guix-git/doc/guix.texi:2211
  7255. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  7256. msgstr ""
  7257. #. type: cindex
  7258. #: guix-git/doc/guix.texi:2218
  7259. #, no-wrap
  7260. msgid "installing Guix System"
  7261. msgstr "instalando o Guix System"
  7262. #. type: cindex
  7263. #: guix-git/doc/guix.texi:2219
  7264. #, no-wrap
  7265. msgid "Guix System, installation"
  7266. msgstr "Guix System, instalação"
  7267. #. type: Plain text
  7268. #: guix-git/doc/guix.texi:2224
  7269. msgid "This section explains how to install Guix System on a machine. Guix, as a package manager, can also be installed on top of a running GNU/Linux system, @pxref{Installation}."
  7270. msgstr ""
  7271. #. type: quotation
  7272. #: guix-git/doc/guix.texi:2233
  7273. msgid "You are reading this documentation with an Info reader. For details on how to use it, hit the @key{RET} key (``return'' or ``enter'') on the link that follows: @pxref{Top, Info reader,, info-stnd, Stand-alone GNU Info}. Hit @kbd{l} afterwards to come back here."
  7274. msgstr ""
  7275. #. type: quotation
  7276. #: guix-git/doc/guix.texi:2236
  7277. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  7278. msgstr ""
  7279. #. type: Plain text
  7280. #: guix-git/doc/guix.texi:2257
  7281. msgid "We consider Guix System to be ready for a wide range of ``desktop'' and server use cases. The reliability guarantees it provides---transactional upgrades and rollbacks, reproducibility---make it a solid foundation."
  7282. msgstr ""
  7283. #. type: Plain text
  7284. #: guix-git/doc/guix.texi:2260
  7285. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  7286. msgstr ""
  7287. #. type: itemize
  7288. #: guix-git/doc/guix.texi:2265
  7289. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  7290. msgstr ""
  7291. #. type: itemize
  7292. #: guix-git/doc/guix.texi:2270
  7293. msgid "GNOME, Xfce, LXDE, and Enlightenment are available (@pxref{Desktop Services}), as well as a number of X11 window managers. However, KDE is currently missing."
  7294. msgstr ""
  7295. #. type: Plain text
  7296. #: guix-git/doc/guix.texi:2275
  7297. msgid "More than a disclaimer, this is an invitation to report issues (and success stories!), and to join us in improving it. @xref{Contributing}, for more info."
  7298. msgstr ""
  7299. #. type: cindex
  7300. #: guix-git/doc/guix.texi:2280
  7301. #, no-wrap
  7302. msgid "hardware support on Guix System"
  7303. msgstr "suporte a hardware no Guix System"
  7304. #. type: Plain text
  7305. #: guix-git/doc/guix.texi:2289
  7306. msgid "GNU@tie{}Guix focuses on respecting the user's computing freedom. It builds around the kernel Linux-libre, which means that only hardware for which free software drivers and firmware exist is supported. Nowadays, a wide range of off-the-shelf hardware is supported on GNU/Linux-libre---from keyboards to graphics cards to scanners and Ethernet controllers. Unfortunately, there are still areas where hardware vendors deny users control over their own computing, and such hardware is not supported on Guix System."
  7307. msgstr ""
  7308. #. type: cindex
  7309. #: guix-git/doc/guix.texi:2290
  7310. #, no-wrap
  7311. msgid "WiFi, hardware support"
  7312. msgstr ""
  7313. #. type: Plain text
  7314. #: guix-git/doc/guix.texi:2299
  7315. msgid "One of the main areas where free drivers or firmware are lacking is WiFi devices. WiFi devices known to work include those using Atheros chips (AR9271 and AR7010), which corresponds to the @code{ath9k} Linux-libre driver, and those using Broadcom/AirForce chips (BCM43xx with Wireless-Core Revision 5), which corresponds to the @code{b43-open} Linux-libre driver. Free firmware exists for both and is available out-of-the-box on Guix System, as part of @code{%base-firmware} (@pxref{operating-system Reference, @code{firmware}})."
  7316. msgstr ""
  7317. #. type: Plain text
  7318. #: guix-git/doc/guix.texi:2302
  7319. msgid "The installer warns you early on if it detects devices that are known @emph{not} to work due to the lack of free firmware or free drivers."
  7320. msgstr ""
  7321. #. type: cindex
  7322. #: guix-git/doc/guix.texi:2303
  7323. #, no-wrap
  7324. msgid "RYF, Respects Your Freedom"
  7325. msgstr ""
  7326. #. type: Plain text
  7327. #: guix-git/doc/guix.texi:2309
  7328. msgid "The @uref{https://www.fsf.org/, Free Software Foundation} runs @uref{https://www.fsf.org/ryf, @dfn{Respects Your Freedom}} (RYF), a certification program for hardware products that respect your freedom and your privacy and ensure that you have control over your device. We encourage you to check the list of RYF-certified devices."
  7329. msgstr ""
  7330. #. type: Plain text
  7331. #: guix-git/doc/guix.texi:2313
  7332. msgid "Another useful resource is the @uref{https://www.h-node.org/, H-Node} web site. It contains a catalog of hardware devices with information about their support in GNU/Linux."
  7333. msgstr ""
  7334. #. type: Plain text
  7335. #: guix-git/doc/guix.texi:2322
  7336. msgid "An ISO-9660 installation image that can be written to a USB stick or burnt to a DVD can be downloaded from @indicateurl{@value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso}, where you can replace @code{x86_64-linux} with one of:"
  7337. msgstr ""
  7338. #. type: table
  7339. #: guix-git/doc/guix.texi:2326
  7340. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  7341. msgstr ""
  7342. #. type: table
  7343. #: guix-git/doc/guix.texi:2329
  7344. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  7345. msgstr ""
  7346. #. type: Plain text
  7347. #: guix-git/doc/guix.texi:2334
  7348. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  7349. msgstr ""
  7350. #. type: example
  7351. #: guix-git/doc/guix.texi:2338
  7352. #, no-wrap
  7353. msgid ""
  7354. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  7355. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  7356. msgstr ""
  7357. #. type: example
  7358. #: guix-git/doc/guix.texi:2346
  7359. #, no-wrap
  7360. msgid ""
  7361. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  7362. " -qO - | gpg --import -\n"
  7363. msgstr ""
  7364. #. type: Plain text
  7365. #: guix-git/doc/guix.texi:2358
  7366. msgid "This image contains the tools necessary for an installation. It is meant to be copied @emph{as is} to a large-enough USB stick or DVD."
  7367. msgstr ""
  7368. #. type: unnumberedsubsec
  7369. #: guix-git/doc/guix.texi:2359
  7370. #, no-wrap
  7371. msgid "Copying to a USB Stick"
  7372. msgstr ""
  7373. #. type: Plain text
  7374. #: guix-git/doc/guix.texi:2364
  7375. msgid "Insert a USB stick of 1@tie{}GiB or more into your machine, and determine its device name. Assuming that the USB stick is known as @file{/dev/sdX}, copy the image with:"
  7376. msgstr ""
  7377. #. type: example
  7378. #: guix-git/doc/guix.texi:2368
  7379. #, no-wrap
  7380. msgid ""
  7381. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  7382. "sync\n"
  7383. msgstr ""
  7384. #. type: Plain text
  7385. #: guix-git/doc/guix.texi:2371
  7386. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  7387. msgstr ""
  7388. #. type: unnumberedsubsec
  7389. #: guix-git/doc/guix.texi:2372
  7390. #, no-wrap
  7391. msgid "Burning on a DVD"
  7392. msgstr ""
  7393. #. type: Plain text
  7394. #: guix-git/doc/guix.texi:2377
  7395. msgid "Insert a blank DVD into your machine, and determine its device name. Assuming that the DVD drive is known as @file{/dev/srX}, copy the image with:"
  7396. msgstr ""
  7397. #. type: example
  7398. #: guix-git/doc/guix.texi:2380
  7399. #, no-wrap
  7400. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  7401. msgstr ""
  7402. #. type: Plain text
  7403. #: guix-git/doc/guix.texi:2383
  7404. msgid "Access to @file{/dev/srX} usually requires root privileges."
  7405. msgstr ""
  7406. #. type: unnumberedsubsec
  7407. #: guix-git/doc/guix.texi:2384
  7408. #, no-wrap
  7409. msgid "Booting"
  7410. msgstr ""
  7411. #. type: Plain text
  7412. #: guix-git/doc/guix.texi:2391
  7413. msgid "Once this is done, you should be able to reboot the system and boot from the USB stick or DVD@. The latter usually requires you to get in the BIOS or UEFI boot menu, where you can choose to boot from the USB stick. In order to boot from Libreboot, switch to the command mode by pressing the @kbd{c} key and type @command{search_grub usb}."
  7414. msgstr ""
  7415. #. type: Plain text
  7416. #: guix-git/doc/guix.texi:2394
  7417. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  7418. msgstr ""
  7419. #. type: Plain text
  7420. #: guix-git/doc/guix.texi:2404
  7421. msgid "Once you have booted, you can use the guided graphical installer, which makes it easy to get started (@pxref{Guided Graphical Installation}). Alternatively, if you are already familiar with GNU/Linux and if you want more control than what the graphical installer provides, you can choose the ``manual'' installation process (@pxref{Manual Installation})."
  7422. msgstr ""
  7423. #. type: Plain text
  7424. #: guix-git/doc/guix.texi:2412
  7425. msgid "The graphical installer is available on TTY1. You can obtain root shells on TTYs 3 to 6 by hitting @kbd{ctrl-alt-f3}, @kbd{ctrl-alt-f4}, etc. TTY2 shows this documentation and you can reach it with @kbd{ctrl-alt-f2}. Documentation is browsable using the Info reader commands (@pxref{Top,,, info-stnd, Stand-alone GNU Info}). The installation system runs the GPM mouse daemon, which allows you to select text with the left mouse button and to paste it with the middle button."
  7426. msgstr ""
  7427. #. type: quotation
  7428. #: guix-git/doc/guix.texi:2417
  7429. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  7430. msgstr ""
  7431. #. type: Plain text
  7432. #: guix-git/doc/guix.texi:2424
  7433. msgid "The graphical installer is a text-based user interface. It will guide you, with dialog boxes, through the steps needed to install GNU@tie{}Guix System."
  7434. msgstr ""
  7435. #. type: Plain text
  7436. #: guix-git/doc/guix.texi:2429
  7437. msgid "The first dialog boxes allow you to set up the system as you use it during the installation: you can choose the language, keyboard layout, and set up networking, which will be used during the installation. The image below shows the networking dialog."
  7438. msgstr ""
  7439. #. type: Plain text
  7440. #: guix-git/doc/guix.texi:2431
  7441. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  7442. msgstr ""
  7443. #. type: Plain text
  7444. #: guix-git/doc/guix.texi:2436
  7445. msgid "Later steps allow you to partition your hard disk, as shown in the image below, to choose whether or not to use encrypted file systems, to enter the host name and root password, and to create an additional account, among other things."
  7446. msgstr ""
  7447. #. type: Plain text
  7448. #: guix-git/doc/guix.texi:2438
  7449. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  7450. msgstr ""
  7451. #. type: Plain text
  7452. #: guix-git/doc/guix.texi:2441
  7453. msgid "Note that, at any time, the installer allows you to exit the current installation step and resume at a previous step, as show in the image below."
  7454. msgstr ""
  7455. #. type: Plain text
  7456. #: guix-git/doc/guix.texi:2443
  7457. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  7458. msgstr ""
  7459. #. type: Plain text
  7460. #: guix-git/doc/guix.texi:2448
  7461. msgid "Once you're done, the installer produces an operating system configuration and displays it (@pxref{Using the Configuration System}). At that point you can hit ``OK'' and installation will proceed. On success, you can reboot into the new system and enjoy. @xref{After System Installation}, for what's next!"
  7462. msgstr ""
  7463. #. type: Plain text
  7464. #: guix-git/doc/guix.texi:2458
  7465. msgid "This section describes how you would ``manually'' install GNU@tie{}Guix System on your machine. This option requires familiarity with GNU/Linux, with the shell, and with common administration tools. If you think this is not for you, consider using the guided graphical installer (@pxref{Guided Graphical Installation})."
  7466. msgstr ""
  7467. #. type: Plain text
  7468. #: guix-git/doc/guix.texi:2464
  7469. msgid "The installation system provides root shells on TTYs 3 to 6; press @kbd{ctrl-alt-f3}, @kbd{ctrl-alt-f4}, and so on to reach them. It includes many common tools needed to install the system, but is also a full-blown Guix System. This means that you can install additional packages, should you need it, using @command{guix package} (@pxref{Invoking guix package})."
  7470. msgstr ""
  7471. #. type: subsection
  7472. #: guix-git/doc/guix.texi:2471
  7473. #, no-wrap
  7474. msgid "Keyboard Layout, Networking, and Partitioning"
  7475. msgstr ""
  7476. #. type: Plain text
  7477. #: guix-git/doc/guix.texi:2476
  7478. msgid "Before you can install the system, you may want to adjust the keyboard layout, set up networking, and partition your target hard disk. This section will guide you through this."
  7479. msgstr ""
  7480. #. type: cindex
  7481. #: guix-git/doc/guix.texi:2479 guix-git/doc/guix.texi:17810
  7482. #, no-wrap
  7483. msgid "keyboard layout"
  7484. msgstr "disposição do teclado"
  7485. #. type: Plain text
  7486. #: guix-git/doc/guix.texi:2483
  7487. msgid "The installation image uses the US qwerty keyboard layout. If you want to change it, you can use the @command{loadkeys} command. For example, the following command selects the Dvorak keyboard layout:"
  7488. msgstr ""
  7489. #. type: example
  7490. #: guix-git/doc/guix.texi:2486
  7491. #, no-wrap
  7492. msgid "loadkeys dvorak\n"
  7493. msgstr ""
  7494. #. type: Plain text
  7495. #: guix-git/doc/guix.texi:2491
  7496. msgid "See the files under @file{/run/current-system/profile/share/keymaps} for a list of available keyboard layouts. Run @command{man loadkeys} for more information."
  7497. msgstr ""
  7498. #. type: anchor{#1}
  7499. #: guix-git/doc/guix.texi:2493
  7500. #, fuzzy
  7501. #| msgid "Manual Installation"
  7502. msgid "manual-installation-networking"
  7503. msgstr "Instalação manual"
  7504. #. type: subsubsection
  7505. #: guix-git/doc/guix.texi:2493
  7506. #, no-wrap
  7507. msgid "Networking"
  7508. msgstr "Rede"
  7509. #. type: Plain text
  7510. #: guix-git/doc/guix.texi:2496
  7511. msgid "Run the following command to see what your network interfaces are called:"
  7512. msgstr ""
  7513. #. type: example
  7514. #: guix-git/doc/guix.texi:2499
  7515. #, no-wrap
  7516. msgid "ifconfig -a\n"
  7517. msgstr ""
  7518. #. type: table
  7519. #: guix-git/doc/guix.texi:2503 guix-git/doc/guix.texi:2525
  7520. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  7521. msgstr ""
  7522. #. type: example
  7523. #: guix-git/doc/guix.texi:2506
  7524. #, no-wrap
  7525. msgid "ip address\n"
  7526. msgstr ""
  7527. #. type: Plain text
  7528. #: guix-git/doc/guix.texi:2513
  7529. msgid "Wired interfaces have a name starting with @samp{e}; for example, the interface corresponding to the first on-board Ethernet controller is called @samp{eno1}. Wireless interfaces have a name starting with @samp{w}, like @samp{w1p2s0}."
  7530. msgstr ""
  7531. #. type: item
  7532. #: guix-git/doc/guix.texi:2515
  7533. #, no-wrap
  7534. msgid "Wired connection"
  7535. msgstr "Conexão cabeada"
  7536. #. type: table
  7537. #: guix-git/doc/guix.texi:2518
  7538. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  7539. msgstr ""
  7540. #. type: example
  7541. #: guix-git/doc/guix.texi:2521
  7542. #, no-wrap
  7543. msgid "ifconfig @var{interface} up\n"
  7544. msgstr ""
  7545. #. type: example
  7546. #: guix-git/doc/guix.texi:2528
  7547. #, no-wrap
  7548. msgid "ip link set @var{interface} up\n"
  7549. msgstr ""
  7550. #. type: item
  7551. #: guix-git/doc/guix.texi:2530
  7552. #, no-wrap
  7553. msgid "Wireless connection"
  7554. msgstr ""
  7555. #. type: cindex
  7556. #: guix-git/doc/guix.texi:2531
  7557. #, no-wrap
  7558. msgid "wireless"
  7559. msgstr "sem fio"
  7560. #. type: cindex
  7561. #: guix-git/doc/guix.texi:2532
  7562. #, no-wrap
  7563. msgid "WiFi"
  7564. msgstr ""
  7565. #. type: table
  7566. #: guix-git/doc/guix.texi:2537
  7567. msgid "To configure wireless networking, you can create a configuration file for the @command{wpa_supplicant} configuration tool (its location is not important) using one of the available text editors such as @command{nano}:"
  7568. msgstr ""
  7569. #. type: example
  7570. #: guix-git/doc/guix.texi:2540
  7571. #, no-wrap
  7572. msgid "nano wpa_supplicant.conf\n"
  7573. msgstr ""
  7574. #. type: table
  7575. #: guix-git/doc/guix.texi:2545
  7576. msgid "As an example, the following stanza can go to this file and will work for many wireless networks, provided you give the actual SSID and passphrase for the network you are connecting to:"
  7577. msgstr ""
  7578. #. type: example
  7579. #: guix-git/doc/guix.texi:2552
  7580. #, no-wrap
  7581. msgid ""
  7582. "network=@{\n"
  7583. " ssid=\"@var{my-ssid}\"\n"
  7584. " key_mgmt=WPA-PSK\n"
  7585. " psk=\"the network's secret passphrase\"\n"
  7586. "@}\n"
  7587. msgstr ""
  7588. #. type: table
  7589. #: guix-git/doc/guix.texi:2557
  7590. msgid "Start the wireless service and run it in the background with the following command (substitute @var{interface} with the name of the network interface you want to use):"
  7591. msgstr ""
  7592. #. type: example
  7593. #: guix-git/doc/guix.texi:2560
  7594. #, no-wrap
  7595. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  7596. msgstr ""
  7597. #. type: table
  7598. #: guix-git/doc/guix.texi:2563
  7599. msgid "Run @command{man wpa_supplicant} for more information."
  7600. msgstr ""
  7601. #. type: cindex
  7602. #: guix-git/doc/guix.texi:2565
  7603. #, no-wrap
  7604. msgid "DHCP"
  7605. msgstr ""
  7606. #. type: Plain text
  7607. #: guix-git/doc/guix.texi:2568
  7608. msgid "At this point, you need to acquire an IP address. On a network where IP addresses are automatically assigned @i{via} DHCP, you can run:"
  7609. msgstr ""
  7610. #. type: example
  7611. #: guix-git/doc/guix.texi:2571
  7612. #, no-wrap
  7613. msgid "dhclient -v @var{interface}\n"
  7614. msgstr ""
  7615. #. type: Plain text
  7616. #: guix-git/doc/guix.texi:2574
  7617. msgid "Try to ping a server to see if networking is up and running:"
  7618. msgstr ""
  7619. #. type: example
  7620. #: guix-git/doc/guix.texi:2577
  7621. #, no-wrap
  7622. msgid "ping -c 3 gnu.org\n"
  7623. msgstr ""
  7624. #. type: Plain text
  7625. #: guix-git/doc/guix.texi:2581
  7626. msgid "Setting up network access is almost always a requirement because the image does not contain all the software and tools that may be needed."
  7627. msgstr ""
  7628. #. type: cindex
  7629. #: guix-git/doc/guix.texi:2582
  7630. #, no-wrap
  7631. msgid "proxy, during system installation"
  7632. msgstr ""
  7633. #. type: Plain text
  7634. #: guix-git/doc/guix.texi:2585
  7635. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  7636. msgstr ""
  7637. #. type: example
  7638. #: guix-git/doc/guix.texi:2588
  7639. #, no-wrap
  7640. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  7641. msgstr ""
  7642. #. type: Plain text
  7643. #: guix-git/doc/guix.texi:2593
  7644. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  7645. msgstr ""
  7646. #. type: cindex
  7647. #: guix-git/doc/guix.texi:2594
  7648. #, no-wrap
  7649. msgid "installing over SSH"
  7650. msgstr ""
  7651. #. type: Plain text
  7652. #: guix-git/doc/guix.texi:2597
  7653. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  7654. msgstr ""
  7655. #. type: example
  7656. #: guix-git/doc/guix.texi:2600
  7657. #, no-wrap
  7658. msgid "herd start ssh-daemon\n"
  7659. msgstr ""
  7660. #. type: Plain text
  7661. #: guix-git/doc/guix.texi:2604
  7662. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  7663. msgstr ""
  7664. #. type: subsubsection
  7665. #: guix-git/doc/guix.texi:2605
  7666. #, no-wrap
  7667. msgid "Disk Partitioning"
  7668. msgstr ""
  7669. #. type: Plain text
  7670. #: guix-git/doc/guix.texi:2609
  7671. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  7672. msgstr ""
  7673. #. type: Plain text
  7674. #: guix-git/doc/guix.texi:2614
  7675. msgid "The installation image includes several partitioning tools, including Parted (@pxref{Overview,,, parted, GNU Parted User Manual}), @command{fdisk}, and @command{cfdisk}. Run it and set up your disk with the partition layout you want:"
  7676. msgstr ""
  7677. #. type: example
  7678. #: guix-git/doc/guix.texi:2617
  7679. #, no-wrap
  7680. msgid "cfdisk\n"
  7681. msgstr ""
  7682. #. type: Plain text
  7683. #: guix-git/doc/guix.texi:2623
  7684. msgid "If your disk uses the GUID Partition Table (GPT) format and you plan to install BIOS-based GRUB (which is the default), make sure a BIOS Boot Partition is available (@pxref{BIOS installation,,, grub, GNU GRUB manual})."
  7685. msgstr ""
  7686. #. type: cindex
  7687. #: guix-git/doc/guix.texi:2624
  7688. #, no-wrap
  7689. msgid "EFI, installation"
  7690. msgstr ""
  7691. #. type: cindex
  7692. #: guix-git/doc/guix.texi:2625
  7693. #, no-wrap
  7694. msgid "UEFI, installation"
  7695. msgstr ""
  7696. #. type: cindex
  7697. #: guix-git/doc/guix.texi:2626
  7698. #, no-wrap
  7699. msgid "ESP, EFI system partition"
  7700. msgstr ""
  7701. #. type: Plain text
  7702. #: guix-git/doc/guix.texi:2630
  7703. msgid "If you instead wish to use EFI-based GRUB, a FAT32 @dfn{EFI System Partition} (ESP) is required. This partition can be mounted at @file{/boot/efi} for instance and must have the @code{esp} flag set. E.g., for @command{parted}:"
  7704. msgstr ""
  7705. #. type: example
  7706. #: guix-git/doc/guix.texi:2633
  7707. #, no-wrap
  7708. msgid "parted /dev/sda set 1 esp on\n"
  7709. msgstr ""
  7710. #. type: vindex
  7711. #: guix-git/doc/guix.texi:2636 guix-git/doc/guix.texi:39543
  7712. #, no-wrap
  7713. msgid "grub-bootloader"
  7714. msgstr ""
  7715. #. type: vindex
  7716. #: guix-git/doc/guix.texi:2637 guix-git/doc/guix.texi:39547
  7717. #, no-wrap
  7718. msgid "grub-efi-bootloader"
  7719. msgstr ""
  7720. #. type: quotation
  7721. #: guix-git/doc/guix.texi:2644
  7722. msgid "Unsure whether to use EFI- or BIOS-based GRUB? If the directory @file{/sys/firmware/efi} exists in the installation image, then you should probably perform an EFI installation, using @code{grub-efi-bootloader}. Otherwise you should use the BIOS-based GRUB, known as @code{grub-bootloader}. @xref{Bootloader Configuration}, for more info on bootloaders."
  7723. msgstr ""
  7724. #. type: Plain text
  7725. #: guix-git/doc/guix.texi:2652
  7726. msgid "Once you are done partitioning the target hard disk drive, you have to create a file system on the relevant partition(s)@footnote{Currently Guix System only supports ext4, btrfs, JFS, F2FS, and XFS file systems. In particular, code that reads file system UUIDs and labels only works for these file system types.}. For the ESP, if you have one and assuming it is @file{/dev/sda1}, run:"
  7727. msgstr ""
  7728. #. type: example
  7729. #: guix-git/doc/guix.texi:2655
  7730. #, no-wrap
  7731. msgid "mkfs.fat -F32 /dev/sda1\n"
  7732. msgstr ""
  7733. #. type: Plain text
  7734. #: guix-git/doc/guix.texi:2662
  7735. msgid "For the root file system, ext4 is the most widely used format. Other file systems, such as Btrfs, support compression, which is reported to nicely complement file deduplication that the daemon performs independently of the file system (@pxref{Invoking guix-daemon, deduplication})."
  7736. msgstr ""
  7737. #. type: Plain text
  7738. #: guix-git/doc/guix.texi:2669
  7739. msgid "Preferably, assign file systems a label so that you can easily and reliably refer to them in @code{file-system} declarations (@pxref{File Systems}). This is typically done using the @code{-L} option of @command{mkfs.ext4} and related commands. So, assuming the target root partition lives at @file{/dev/sda2}, a file system with the label @code{my-root} can be created with:"
  7740. msgstr ""
  7741. #. type: example
  7742. #: guix-git/doc/guix.texi:2672
  7743. #, no-wrap
  7744. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  7745. msgstr ""
  7746. #. type: cindex
  7747. #: guix-git/doc/guix.texi:2674 guix-git/doc/guix.texi:16609
  7748. #, no-wrap
  7749. msgid "encrypted disk"
  7750. msgstr ""
  7751. #. type: Plain text
  7752. #: guix-git/doc/guix.texi:2679
  7753. msgid "If you are instead planning to encrypt the root partition, you can use the Cryptsetup/LUKS utilities to do that (see @inlinefmtifelse{html, @uref{https://linux.die.net/man/8/cryptsetup, @code{man cryptsetup}}, @code{man cryptsetup}} for more information)."
  7754. msgstr ""
  7755. #. type: quotation
  7756. #: guix-git/doc/guix.texi:2680 guix-git/doc/guix.texi:5651
  7757. #: guix-git/doc/guix.texi:7081 guix-git/doc/guix.texi:7121
  7758. #: guix-git/doc/guix.texi:13069 guix-git/doc/guix.texi:16740
  7759. #: guix-git/doc/guix.texi:24559 guix-git/doc/guix.texi:24566
  7760. #: guix-git/doc/guix.texi:32284 guix-git/doc/guix.texi:37976
  7761. #, no-wrap
  7762. msgid "Warning"
  7763. msgstr ""
  7764. #. type: quotation
  7765. #: guix-git/doc/guix.texi:2687
  7766. msgid "Note that GRUB can unlock LUKS2 devices since version 2.06, but only supports the PBKDF2 key derivation function, which is not the default for @command{cryptsetup luksFormat}. You can check which key derivation function is being used by a device by running @command{cryptsetup luksDump @var{device}}, and looking for the PBKDF field of your keyslots."
  7767. msgstr ""
  7768. #. type: Plain text
  7769. #: guix-git/doc/guix.texi:2692
  7770. msgid "Assuming you want to store the root partition on @file{/dev/sda2}, the command sequence to format it as a LUKS2 partition would be along these lines:"
  7771. msgstr ""
  7772. #. type: example
  7773. #: guix-git/doc/guix.texi:2697
  7774. #, no-wrap
  7775. msgid ""
  7776. "cryptsetup luksFormat --type luks2 --pbkdf pbkdf2 /dev/sda2\n"
  7777. "cryptsetup open /dev/sda2 my-partition\n"
  7778. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  7779. msgstr ""
  7780. #. type: Plain text
  7781. #: guix-git/doc/guix.texi:2702
  7782. msgid "Once that is done, mount the target file system under @file{/mnt} with a command like (again, assuming @code{my-root} is the label of the root file system):"
  7783. msgstr ""
  7784. #. type: example
  7785. #: guix-git/doc/guix.texi:2705
  7786. #, no-wrap
  7787. msgid "mount LABEL=my-root /mnt\n"
  7788. msgstr ""
  7789. #. type: Plain text
  7790. #: guix-git/doc/guix.texi:2711
  7791. msgid "Also mount any other file systems you would like to use on the target system relative to this path. If you have opted for @file{/boot/efi} as an EFI mount point for example, mount it at @file{/mnt/boot/efi} now so it is found by @code{guix system init} afterwards."
  7792. msgstr ""
  7793. #. type: Plain text
  7794. #: guix-git/doc/guix.texi:2715
  7795. msgid "Finally, if you plan to use one or more swap partitions (@pxref{Swap Space}), make sure to initialize them with @command{mkswap}. Assuming you have one swap partition on @file{/dev/sda3}, you would run:"
  7796. msgstr ""
  7797. #. type: example
  7798. #: guix-git/doc/guix.texi:2719
  7799. #, no-wrap
  7800. msgid ""
  7801. "mkswap /dev/sda3\n"
  7802. "swapon /dev/sda3\n"
  7803. msgstr ""
  7804. #. type: Plain text
  7805. #: guix-git/doc/guix.texi:2727
  7806. msgid "Alternatively, you may use a swap file. For example, assuming that in the new system you want to use the file @file{/swapfile} as a swap file, you would run@footnote{This example will work for many types of file systems (e.g., ext4). However, for copy-on-write file systems (e.g., btrfs), the required steps may be different. For details, see the manual pages for @command{mkswap} and @command{swapon}.}:"
  7807. msgstr ""
  7808. #. type: example
  7809. #: guix-git/doc/guix.texi:2735
  7810. #, no-wrap
  7811. msgid ""
  7812. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  7813. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  7814. "# For security, make the file readable and writable only by root.\n"
  7815. "chmod 600 /mnt/swapfile\n"
  7816. "mkswap /mnt/swapfile\n"
  7817. "swapon /mnt/swapfile\n"
  7818. msgstr ""
  7819. #. type: Plain text
  7820. #: guix-git/doc/guix.texi:2740
  7821. msgid "Note that if you have encrypted the root partition and created a swap file in its file system as described above, then the encryption also protects the swap file, just like any other file in that file system."
  7822. msgstr ""
  7823. #. type: Plain text
  7824. #: guix-git/doc/guix.texi:2746
  7825. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  7826. msgstr ""
  7827. #. type: example
  7828. #: guix-git/doc/guix.texi:2749
  7829. #, no-wrap
  7830. msgid "herd start cow-store /mnt\n"
  7831. msgstr ""
  7832. #. type: Plain text
  7833. #: guix-git/doc/guix.texi:2756
  7834. msgid "This makes @file{/gnu/store} copy-on-write, such that packages added to it during the installation phase are written to the target disk on @file{/mnt} rather than kept in memory. This is necessary because the first phase of the @command{guix system init} command (see below) entails downloads or builds to @file{/gnu/store} which, initially, is an in-memory file system."
  7835. msgstr ""
  7836. #. type: Plain text
  7837. #: guix-git/doc/guix.texi:2767
  7838. msgid "Next, you have to edit a file and provide the declaration of the operating system to be installed. To that end, the installation system comes with three text editors. We recommend GNU nano (@pxref{Top,,, nano, GNU nano Manual}), which supports syntax highlighting and parentheses matching; other editors include mg (an Emacs clone), and nvi (a clone of the original BSD @command{vi} editor). We strongly recommend storing that file on the target root file system, say, as @file{/mnt/etc/config.scm}. Failing to do that, you will have lost your configuration file once you have rebooted into the newly-installed system."
  7839. msgstr ""
  7840. #. type: Plain text
  7841. #: guix-git/doc/guix.texi:2774
  7842. msgid "@xref{Using the Configuration System}, for an overview of the configuration file. The example configurations discussed in that section are available under @file{/etc/configuration} in the installation image. Thus, to get started with a system configuration providing a graphical display server (a ``desktop'' system), you can run something along these lines:"
  7843. msgstr ""
  7844. #. type: example
  7845. #: guix-git/doc/guix.texi:2779
  7846. #, no-wrap
  7847. msgid ""
  7848. "# mkdir /mnt/etc\n"
  7849. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  7850. "# nano /mnt/etc/config.scm\n"
  7851. msgstr ""
  7852. #. type: Plain text
  7853. #: guix-git/doc/guix.texi:2783
  7854. msgid "You should pay attention to what your configuration file contains, and in particular:"
  7855. msgstr ""
  7856. #. type: itemize
  7857. #: guix-git/doc/guix.texi:2795
  7858. msgid "Make sure the @code{bootloader-configuration} form refers to the targets you want to install GRUB on. It should mention @code{grub-bootloader} if you are installing GRUB in the legacy way, or @code{grub-efi-bootloader} for newer UEFI systems. For legacy systems, the @code{targets} field contain the names of the devices, like @code{(list \"/dev/sda\")}; for UEFI systems it names the paths to mounted EFI partitions, like @code{(list \"/boot/efi\")}; do make sure the paths are currently mounted and a @code{file-system} entry is specified in your configuration."
  7859. msgstr ""
  7860. #. type: itemize
  7861. #: guix-git/doc/guix.texi:2801
  7862. msgid "Be sure that your file system labels match the value of their respective @code{device} fields in your @code{file-system} configuration, assuming your @code{file-system} configuration uses the @code{file-system-label} procedure in its @code{device} field."
  7863. msgstr ""
  7864. #. type: itemize
  7865. #: guix-git/doc/guix.texi:2805
  7866. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  7867. msgstr ""
  7868. #. type: Plain text
  7869. #: guix-git/doc/guix.texi:2810
  7870. msgid "Once you are done preparing the configuration file, the new system must be initialized (remember that the target root file system is mounted under @file{/mnt}):"
  7871. msgstr ""
  7872. #. type: example
  7873. #: guix-git/doc/guix.texi:2813
  7874. #, no-wrap
  7875. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  7876. msgstr ""
  7877. #. type: Plain text
  7878. #: guix-git/doc/guix.texi:2820
  7879. msgid "This copies all the necessary files and installs GRUB on @file{/dev/sdX}, unless you pass the @option{--no-bootloader} option. For more information, @pxref{Invoking guix system}. This command may trigger downloads or builds of missing packages, which can take some time."
  7880. msgstr ""
  7881. #. type: Plain text
  7882. #: guix-git/doc/guix.texi:2828
  7883. msgid "Once that command has completed---and hopefully succeeded!---you can run @command{reboot} and boot into the new system. The @code{root} password in the new system is initially empty; other users' passwords need to be initialized by running the @command{passwd} command as @code{root}, unless your configuration specifies otherwise (@pxref{user-account-password, user account passwords}). @xref{After System Installation}, for what's next!"
  7884. msgstr "Após a conclusão desse comando -- e esperamos que com sucesso! -- você pode executar o comando @command{reboot} e inicializar no novo sistema. A senha @code{root} no novo sistema está inicialmente vazia; as senhas de outros usuários precisam ser inicializadas executando o comando @command{passwd} como @code{root}, a menos que sua configuração especifique o contrário (@pxref{user-account-password, senhas de contas de usuário}). @xref{Após a instalação do sistema}, para o que vem a seguir!"
  7885. #. type: Plain text
  7886. #: guix-git/doc/guix.texi:2835
  7887. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  7888. msgstr ""
  7889. #. type: example
  7890. #: guix-git/doc/guix.texi:2839
  7891. #, no-wrap
  7892. msgid ""
  7893. "guix pull\n"
  7894. "sudo guix system reconfigure /etc/config.scm\n"
  7895. msgstr ""
  7896. #. type: Plain text
  7897. #: guix-git/doc/guix.texi:2845
  7898. msgid "This builds a new system generation with the latest packages and services (@pxref{Invoking guix system}). We recommend doing that regularly so that your system includes the latest security updates (@pxref{Security Updates})."
  7899. msgstr ""
  7900. #. type: cindex
  7901. #: guix-git/doc/guix.texi:2848
  7902. #, no-wrap
  7903. msgid "sudo vs. @command{guix pull}"
  7904. msgstr ""
  7905. #. type: quotation
  7906. #: guix-git/doc/guix.texi:2852
  7907. msgid "Note that @command{sudo guix} runs your user's @command{guix} command and @emph{not} root's, because @command{sudo} leaves @env{PATH} unchanged. To explicitly run root's @command{guix}, type @command{sudo -i guix @dots{}}."
  7908. msgstr ""
  7909. #. type: quotation
  7910. #: guix-git/doc/guix.texi:2857
  7911. msgid "The difference matters here, because @command{guix pull} updates the @command{guix} command and package definitions only for the user it is run as. This means that if you choose to use @command{guix system reconfigure} in root's login shell, you'll need to @command{guix pull} separately."
  7912. msgstr ""
  7913. #. type: Plain text
  7914. #: guix-git/doc/guix.texi:2862
  7915. msgid "Now, @pxref{Getting Started}, and join us on @code{#guix} on the Libera Chat IRC network or on @email{guix-devel@@gnu.org} to share your experience!"
  7916. msgstr ""
  7917. #. type: section
  7918. #: guix-git/doc/guix.texi:2865
  7919. #, no-wrap
  7920. msgid "Installing Guix in a Virtual Machine"
  7921. msgstr ""
  7922. #. type: cindex
  7923. #: guix-git/doc/guix.texi:2867
  7924. #, no-wrap
  7925. msgid "virtual machine, Guix System installation"
  7926. msgstr "máquina virtual, instalação do Guix System"
  7927. #. type: cindex
  7928. #: guix-git/doc/guix.texi:2868
  7929. #, no-wrap
  7930. msgid "virtual private server (VPS)"
  7931. msgstr ""
  7932. #. type: cindex
  7933. #: guix-git/doc/guix.texi:2869
  7934. #, no-wrap
  7935. msgid "VPS (virtual private server)"
  7936. msgstr ""
  7937. #. type: Plain text
  7938. #: guix-git/doc/guix.texi:2873
  7939. msgid "If you'd like to install Guix System in a virtual machine (VM) or on a virtual private server (VPS) rather than on your beloved machine, this section is for you."
  7940. msgstr ""
  7941. #. type: Plain text
  7942. #: guix-git/doc/guix.texi:2876
  7943. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  7944. msgstr ""
  7945. #. type: enumerate
  7946. #: guix-git/doc/guix.texi:2881
  7947. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  7948. msgstr ""
  7949. #. type: enumerate
  7950. #: guix-git/doc/guix.texi:2885
  7951. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  7952. msgstr ""
  7953. #. type: example
  7954. #: guix-git/doc/guix.texi:2888
  7955. #, no-wrap
  7956. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  7957. msgstr ""
  7958. #. type: enumerate
  7959. #: guix-git/doc/guix.texi:2892
  7960. msgid "The resulting file will be much smaller than 50 GB (typically less than 1 MB), but it will grow as the virtualized storage device is filled up."
  7961. msgstr ""
  7962. #. type: enumerate
  7963. #: guix-git/doc/guix.texi:2895
  7964. msgid "Boot the USB installation image in an VM:"
  7965. msgstr ""
  7966. #. type: example
  7967. #: guix-git/doc/guix.texi:2901
  7968. #, no-wrap
  7969. msgid ""
  7970. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  7971. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  7972. " -drive file=guix-system.img \\\n"
  7973. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  7974. msgstr ""
  7975. #. type: enumerate
  7976. #: guix-git/doc/guix.texi:2905
  7977. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  7978. msgstr ""
  7979. #. type: enumerate
  7980. #: guix-git/doc/guix.texi:2909
  7981. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  7982. msgstr ""
  7983. #. type: Plain text
  7984. #: guix-git/doc/guix.texi:2914
  7985. msgid "Once installation is complete, you can boot the system that's on your @file{guix-system.img} image. @xref{Running Guix in a VM}, for how to do that."
  7986. msgstr ""
  7987. #. type: cindex
  7988. #: guix-git/doc/guix.texi:2918
  7989. #, no-wrap
  7990. msgid "installation image"
  7991. msgstr ""
  7992. #. type: Plain text
  7993. #: guix-git/doc/guix.texi:2921
  7994. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  7995. msgstr ""
  7996. #. type: example
  7997. #: guix-git/doc/guix.texi:2924
  7998. #, no-wrap
  7999. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  8000. msgstr ""
  8001. #. type: Plain text
  8002. #: guix-git/doc/guix.texi:2929
  8003. msgid "Have a look at @file{gnu/system/install.scm} in the source tree, and see also @ref{Invoking guix system} for more information about the installation image."
  8004. msgstr ""
  8005. #. type: section
  8006. #: guix-git/doc/guix.texi:2930
  8007. #, no-wrap
  8008. msgid "Building the Installation Image for ARM Boards"
  8009. msgstr ""
  8010. #. type: Plain text
  8011. #: guix-git/doc/guix.texi:2934
  8012. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  8013. msgstr ""
  8014. #. type: Plain text
  8015. #: guix-git/doc/guix.texi:2938
  8016. msgid "If you build a disk image and the bootloader is not available otherwise (on another boot drive etc), it's advisable to build an image that includes the bootloader, specifically:"
  8017. msgstr ""
  8018. #. type: example
  8019. #: guix-git/doc/guix.texi:2941
  8020. #, no-wrap
  8021. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  8022. msgstr ""
  8023. #. type: Plain text
  8024. #: guix-git/doc/guix.texi:2945
  8025. msgid "@code{A20-OLinuXino-Lime2} is the name of the board. If you specify an invalid board, a list of possible boards will be printed."
  8026. msgstr ""
  8027. #. type: cindex
  8028. #: guix-git/doc/guix.texi:2947
  8029. #, fuzzy, no-wrap
  8030. #| msgid "Invoking guix system"
  8031. msgid "troubleshooting, guix system"
  8032. msgstr "Invocando guix system"
  8033. #. type: cindex
  8034. #: guix-git/doc/guix.texi:2948
  8035. #, fuzzy, no-wrap
  8036. #| msgid "guix system vm"
  8037. msgid "guix system troubleshooting"
  8038. msgstr "guix system vm"
  8039. #. type: Plain text
  8040. #: guix-git/doc/guix.texi:2960
  8041. msgid "Guix System allows rebooting into a previous generation should the last one be malfunctioning, which makes it quite robust against being broken irreversibly. This feature depends on GRUB being correctly functioning though, which means that if for whatever reasons your GRUB installation becomes corrupted during a system reconfiguration, you may not be able to easily boot into a previous generation. A technique that can be used in this case is to @i{chroot} into your broken system and reconfigure it from there. Such technique is explained below."
  8042. msgstr ""
  8043. #. type: cindex
  8044. #: guix-git/doc/guix.texi:2961
  8045. #, fuzzy, no-wrap
  8046. #| msgid "Invoking guix system"
  8047. msgid "chroot, guix system"
  8048. msgstr "Invocando guix system"
  8049. #. type: cindex
  8050. #: guix-git/doc/guix.texi:2962
  8051. #, fuzzy, no-wrap
  8052. #| msgid "Invoking guix system"
  8053. msgid "chrooting, guix system"
  8054. msgstr "Invocando guix system"
  8055. #. type: cindex
  8056. #: guix-git/doc/guix.texi:2963
  8057. #, no-wrap
  8058. msgid "repairing GRUB, via chroot"
  8059. msgstr ""
  8060. #. type: Plain text
  8061. #: guix-git/doc/guix.texi:2976
  8062. msgid "This section details how to @i{chroot} to an already installed Guix System with the aim of reconfiguring it, for example to fix a broken GRUB installation. The process is similar to how it would be done on other GNU/Linux systems, but there are some Guix System particularities such as the daemon and profiles that make it worthy of explaining here."
  8063. msgstr ""
  8064. #. type: enumerate
  8065. #: guix-git/doc/guix.texi:2985
  8066. msgid "Obtain a bootable image of Guix System. It is recommended the latest development snapshot so the kernel and the tools used are at least as as new as those of your installed system; it can be retrieved from the @url{https://ci.guix.gnu.org/search/latest/ISO-9660?query=spec:images+status:success+system:x86_64-linux+image.iso, https://ci.guix.gnu.org} URL. Follow the @pxref{USB Stick and DVD Installation} section for copying it to a bootable media."
  8067. msgstr ""
  8068. #. type: enumerate
  8069. #: guix-git/doc/guix.texi:2994
  8070. msgid "Boot the image, and proceed with the graphical text-based installer until your network is configured. Alternatively, you could configure the network manually by following the @ref{manual-installation-networking} section. If you get the error @samp{RTNETLINK answers: Operation not possible due to RF-kill}, try @samp{rfkill list} followed by @samp{rfkill unblock 0}, where @samp{0} is your device identifier (ID)."
  8071. msgstr ""
  8072. #. type: enumerate
  8073. #: guix-git/doc/guix.texi:3000
  8074. msgid "Switch to a virtual console (tty) if you haven't already by pressing simultaneously the @kbd{Control + Alt + F4} keys. Mount your file system at @file{/mnt}. Assuming your root partition is @file{/dev/sda2}, you would do:"
  8075. msgstr ""
  8076. #. type: example
  8077. #: guix-git/doc/guix.texi:3003
  8078. #, no-wrap
  8079. msgid "mount /dev/sda2 /mnt\n"
  8080. msgstr ""
  8081. #. type: enumerate
  8082. #: guix-git/doc/guix.texi:3007
  8083. msgid "Mount special block devices and Linux-specific directories:"
  8084. msgstr ""
  8085. #. type: example
  8086. #: guix-git/doc/guix.texi:3012
  8087. #, no-wrap
  8088. msgid ""
  8089. "mount --rbind /proc /mnt/proc\n"
  8090. "mount --rbind /sys /mnt/sys\n"
  8091. "mount --rbind /dev /mnt/dev\n"
  8092. msgstr ""
  8093. #. type: enumerate
  8094. #: guix-git/doc/guix.texi:3016
  8095. msgid "If your system is EFI-based, you must also mount the ESP partition. Assuming it is @file{/dev/sda1}, you can do so with:"
  8096. msgstr ""
  8097. #. type: example
  8098. #: guix-git/doc/guix.texi:3019
  8099. #, no-wrap
  8100. msgid "mount /dev/sda1 /mnt/boot/efi\n"
  8101. msgstr ""
  8102. #. type: enumerate
  8103. #: guix-git/doc/guix.texi:3023
  8104. msgid "Enter your system via chroot:"
  8105. msgstr ""
  8106. #. type: example
  8107. #: guix-git/doc/guix.texi:3026
  8108. #, no-wrap
  8109. msgid "chroot /mnt /bin/sh\n"
  8110. msgstr ""
  8111. #. type: enumerate
  8112. #: guix-git/doc/guix.texi:3032
  8113. msgid "Source the system profile as well as your @var{user} profile to setup the environment, where @var{user} is the user name used for the Guix System you are attempting to repair:"
  8114. msgstr ""
  8115. #. type: example
  8116. #: guix-git/doc/guix.texi:3036
  8117. #, no-wrap
  8118. msgid ""
  8119. "source /var/guix/profiles/system/profile/etc/profile\n"
  8120. "source /home/@var{user}/.guix-profile/etc/profile\n"
  8121. msgstr ""
  8122. #. type: enumerate
  8123. #: guix-git/doc/guix.texi:3040
  8124. msgid "To ensure you are working with the Guix revision you normally would as your normal user, also source your current Guix profile:"
  8125. msgstr ""
  8126. #. type: example
  8127. #: guix-git/doc/guix.texi:3043
  8128. #, no-wrap
  8129. msgid "source /home/@var{user}/.config/guix/current/etc/profile\n"
  8130. msgstr ""
  8131. #. type: enumerate
  8132. #: guix-git/doc/guix.texi:3047
  8133. msgid "Start a minimal @command{guix-daemon} in the background:"
  8134. msgstr ""
  8135. #. type: example
  8136. #: guix-git/doc/guix.texi:3050
  8137. #, fuzzy, no-wrap
  8138. #| msgid "# guix-daemon --build-users-group=guixbuild\n"
  8139. msgid "guix-daemon --build-users-group=guixbuild --disable-chroot &\n"
  8140. msgstr "# guix-daemon --build-users-group=guixbuild\n"
  8141. #. type: enumerate
  8142. #: guix-git/doc/guix.texi:3054
  8143. msgid "Edit your Guix System configuration if needed, then reconfigure with:"
  8144. msgstr ""
  8145. #. type: example
  8146. #: guix-git/doc/guix.texi:3057
  8147. #, fuzzy, no-wrap
  8148. #| msgid "$ guix system list-generations 10d\n"
  8149. msgid "guix system reconfigure your-config.scm\n"
  8150. msgstr "$ guix system list-generations 10d\n"
  8151. #. type: enumerate
  8152. #: guix-git/doc/guix.texi:3061
  8153. msgid "Finally, you should be good to reboot the system to test your fix."
  8154. msgstr ""
  8155. #. type: Plain text
  8156. #: guix-git/doc/guix.texi:3073
  8157. msgid "Presumably, you've reached this section because either you have installed Guix on top of another distribution (@pxref{Installation}), or you've installed the standalone Guix System (@pxref{System Installation}). It's time for you to get started using Guix and this section aims to help you do that and give you a feel of what it's like."
  8158. msgstr ""
  8159. #. type: Plain text
  8160. #: guix-git/doc/guix.texi:3077
  8161. msgid "Guix is about installing software, so probably the first thing you'll want to do is to actually look for software. Let's say you're looking for a text editor, you can run:"
  8162. msgstr ""
  8163. #. type: example
  8164. #: guix-git/doc/guix.texi:3080
  8165. #, no-wrap
  8166. msgid "guix search text editor\n"
  8167. msgstr ""
  8168. #. type: Plain text
  8169. #: guix-git/doc/guix.texi:3087
  8170. msgid "This command shows you a number of matching @dfn{packages}, each time showing the package's name, version, a description, and additional info. Once you've found out the one you want to use, let's say Emacs (ah ha!), you can go ahead and install it (run this command as a regular user, @emph{no need for root privileges}!):"
  8171. msgstr ""
  8172. #. type: example
  8173. #: guix-git/doc/guix.texi:3090
  8174. #, no-wrap
  8175. msgid "guix install emacs\n"
  8176. msgstr ""
  8177. #. type: cindex
  8178. #: guix-git/doc/guix.texi:3092 guix-git/doc/guix.texi:3404
  8179. #: guix-git/doc/guix.texi:3457
  8180. #, no-wrap
  8181. msgid "profile"
  8182. msgstr "perfil"
  8183. #. type: Plain text
  8184. #: guix-git/doc/guix.texi:3100
  8185. msgid "You've installed your first package, congrats! The package is now visible in your default @dfn{profile}, @file{$HOME/.guix-profile}---a profile is a directory containing installed packages. In the process, you've probably noticed that Guix downloaded pre-built binaries; or, if you explicitly chose to @emph{not} use pre-built binaries, then probably Guix is still building software (@pxref{Substitutes}, for more info)."
  8186. msgstr ""
  8187. #. type: Plain text
  8188. #: guix-git/doc/guix.texi:3103
  8189. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  8190. msgstr ""
  8191. #. type: example
  8192. #: guix-git/doc/guix.texi:3106
  8193. #, no-wrap
  8194. msgid ""
  8195. "hint: Consider setting the necessary environment variables by running:\n"
  8196. "\n"
  8197. msgstr ""
  8198. #. type: example
  8199. #: guix-git/doc/guix.texi:3109
  8200. #, no-wrap
  8201. msgid ""
  8202. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  8203. " . \"$GUIX_PROFILE/etc/profile\"\n"
  8204. "\n"
  8205. msgstr ""
  8206. #. type: example
  8207. #: guix-git/doc/guix.texi:3111
  8208. #, no-wrap
  8209. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  8210. msgstr ""
  8211. #. type: Plain text
  8212. #: guix-git/doc/guix.texi:3125
  8213. msgid "Indeed, you must now tell your shell where @command{emacs} and other programs installed with Guix are to be found. Pasting the two lines above will do just that: it will add @code{$HOME/.guix-profile/bin}---which is where the installed package is---to the @code{PATH} environment variable. You can paste these two lines in your shell so they take effect right away, but more importantly you should add them to @file{~/.bash_profile} (or equivalent file if you do not use Bash) so that environment variables are set next time you spawn a shell. You only need to do this once and other search paths environment variables will be taken care of similarly---e.g., if you eventually install @code{python} and Python libraries, @env{GUIX_PYTHONPATH} will be defined."
  8214. msgstr ""
  8215. #. type: Plain text
  8216. #: guix-git/doc/guix.texi:3128
  8217. msgid "You can go on installing packages at your will. To list installed packages, run:"
  8218. msgstr ""
  8219. #. type: example
  8220. #: guix-git/doc/guix.texi:3131
  8221. #, no-wrap
  8222. msgid "guix package --list-installed\n"
  8223. msgstr ""
  8224. #. type: Plain text
  8225. #: guix-git/doc/guix.texi:3136
  8226. msgid "To remove a package, you would unsurprisingly run @command{guix remove}. A distinguishing feature is the ability to @dfn{roll back} any operation you made---installation, removal, upgrade---by simply typing:"
  8227. msgstr ""
  8228. #. type: example
  8229. #: guix-git/doc/guix.texi:3139
  8230. #, no-wrap
  8231. msgid "guix package --roll-back\n"
  8232. msgstr ""
  8233. #. type: Plain text
  8234. #: guix-git/doc/guix.texi:3144
  8235. msgid "This is because each operation is in fact a @dfn{transaction} that creates a new @dfn{generation}. These generations and the difference between them can be displayed by running:"
  8236. msgstr ""
  8237. #. type: example
  8238. #: guix-git/doc/guix.texi:3147
  8239. #, no-wrap
  8240. msgid "guix package --list-generations\n"
  8241. msgstr ""
  8242. #. type: Plain text
  8243. #: guix-git/doc/guix.texi:3150
  8244. msgid "Now you know the basics of package management!"
  8245. msgstr ""
  8246. #. type: quotation
  8247. #: guix-git/doc/guix.texi:3151 guix-git/doc/guix.texi:3210
  8248. #: guix-git/doc/guix.texi:7689
  8249. #, no-wrap
  8250. msgid "Going further"
  8251. msgstr ""
  8252. #. type: quotation
  8253. #: guix-git/doc/guix.texi:3159
  8254. msgid "@xref{Package Management}, for more about package management. You may like @dfn{declarative} package management with @command{guix package --manifest}, managing separate @dfn{profiles} with @option{--profile}, deleting old generations, collecting garbage, and other nifty features that will come in handy as you become more familiar with Guix. If you are a developer, @pxref{Development} for additional tools. And if you're curious, @pxref{Features}, to peek under the hood."
  8255. msgstr ""
  8256. #. type: Plain text
  8257. #: guix-git/doc/guix.texi:3164
  8258. msgid "Once you've installed a set of packages, you will want to periodically @emph{upgrade} them to the latest and greatest version. To do that, you will first pull the latest revision of Guix and its package collection:"
  8259. msgstr ""
  8260. #. type: Plain text
  8261. #: guix-git/doc/guix.texi:3174
  8262. msgid "The end result is a new @command{guix} command, under @file{~/.config/guix/current/bin}. Unless you're on Guix System, the first time you run @command{guix pull}, be sure to follow the hint that the command prints and, similar to what we saw above, paste these two lines in your terminal and @file{.bash_profile}:"
  8263. msgstr ""
  8264. #. type: example
  8265. #: guix-git/doc/guix.texi:3178
  8266. #, no-wrap
  8267. msgid ""
  8268. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  8269. ". \"$GUIX_PROFILE/etc/profile\"\n"
  8270. msgstr ""
  8271. #. type: Plain text
  8272. #: guix-git/doc/guix.texi:3182
  8273. msgid "You must also instruct your shell to point to this new @command{guix}:"
  8274. msgstr ""
  8275. #. type: example
  8276. #: guix-git/doc/guix.texi:3185
  8277. #, no-wrap
  8278. msgid "hash guix\n"
  8279. msgstr ""
  8280. #. type: Plain text
  8281. #: guix-git/doc/guix.texi:3189
  8282. msgid "At this point, you're running a brand new Guix. You can thus go ahead and actually upgrade all the packages you previously installed:"
  8283. msgstr ""
  8284. #. type: example
  8285. #: guix-git/doc/guix.texi:3192
  8286. #, no-wrap
  8287. msgid "guix upgrade\n"
  8288. msgstr ""
  8289. #. type: Plain text
  8290. #: guix-git/doc/guix.texi:3198
  8291. msgid "As you run this command, you will see that binaries are downloaded (or perhaps some packages are built), and eventually you end up with the upgraded packages. Should one of these upgraded packages not be to your liking, remember you can always roll back!"
  8292. msgstr ""
  8293. #. type: Plain text
  8294. #: guix-git/doc/guix.texi:3201
  8295. msgid "You can display the exact revision of Guix you're currently using by running:"
  8296. msgstr ""
  8297. #. type: example
  8298. #: guix-git/doc/guix.texi:3204
  8299. #, no-wrap
  8300. msgid "guix describe\n"
  8301. msgstr ""
  8302. #. type: Plain text
  8303. #: guix-git/doc/guix.texi:3209
  8304. msgid "The information it displays is @emph{all it takes to reproduce the exact same Guix}, be it at a different point in time or on a different machine."
  8305. msgstr ""
  8306. #. type: quotation
  8307. #: guix-git/doc/guix.texi:3215
  8308. msgid "@xref{Invoking guix pull}, for more information. @xref{Channels}, on how to specify additional @dfn{channels} to pull packages from, how to replicate Guix, and more. You may also find @command{time-machine} handy (@pxref{Invoking guix time-machine})."
  8309. msgstr ""
  8310. #. type: Plain text
  8311. #: guix-git/doc/guix.texi:3220
  8312. msgid "If you installed Guix System, one of the first things you'll want to do is to upgrade your system. Once you've run @command{guix pull} to get the latest Guix, you can upgrade the system like this:"
  8313. msgstr ""
  8314. #. type: example
  8315. #: guix-git/doc/guix.texi:3223
  8316. #, no-wrap
  8317. msgid "sudo guix system reconfigure /etc/config.scm\n"
  8318. msgstr ""
  8319. #. type: Plain text
  8320. #: guix-git/doc/guix.texi:3232
  8321. msgid "Upon completion, the system runs the latest versions of its software packages. When you eventually reboot, you'll notice a sub-menu in the bootloader that reads ``Old system generations'': it's what allows you to boot @emph{an older generation of your system}, should the latest generation be ``broken'' or otherwise unsatisfying. Just like for packages, you can always @emph{roll back} to a previous generation @emph{of the whole system}:"
  8322. msgstr ""
  8323. #. type: example
  8324. #: guix-git/doc/guix.texi:3235
  8325. #, no-wrap
  8326. msgid "sudo guix system roll-back\n"
  8327. msgstr ""
  8328. #. type: Plain text
  8329. #: guix-git/doc/guix.texi:3242
  8330. msgid "There are many things you'll probably want to tweak on your system: adding new user accounts, adding new system services, fiddling with the configuration of those services, etc. The system configuration is @emph{entirely} described in the @file{/etc/config.scm} file. @xref{Using the Configuration System}, to learn how to change it."
  8331. msgstr ""
  8332. #. type: Plain text
  8333. #: guix-git/doc/guix.texi:3244
  8334. msgid "Now you know enough to get started!"
  8335. msgstr ""
  8336. #. type: quotation
  8337. #: guix-git/doc/guix.texi:3245
  8338. #, no-wrap
  8339. msgid "Resources"
  8340. msgstr ""
  8341. #. type: quotation
  8342. #: guix-git/doc/guix.texi:3248
  8343. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  8344. msgstr ""
  8345. #. type: itemize
  8346. #: guix-git/doc/guix.texi:3253
  8347. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  8348. msgstr ""
  8349. #. type: itemize
  8350. #: guix-git/doc/guix.texi:3258
  8351. msgid "The @uref{https://guix.gnu.org/guix-refcard.pdf, GNU Guix Reference Card} lists in two pages most of the commands and options you'll ever need."
  8352. msgstr ""
  8353. #. type: itemize
  8354. #: guix-git/doc/guix.texi:3263
  8355. msgid "The web site contains @uref{https://guix.gnu.org/en/videos/, instructional videos} covering topics such as everyday use of Guix, how to get help, and how to become a contributor."
  8356. msgstr ""
  8357. #. type: itemize
  8358. #: guix-git/doc/guix.texi:3267
  8359. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  8360. msgstr ""
  8361. #. type: quotation
  8362. #: guix-git/doc/guix.texi:3270
  8363. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  8364. msgstr ""
  8365. #. type: Plain text
  8366. #: guix-git/doc/guix.texi:3281
  8367. msgid "The purpose of GNU Guix is to allow users to easily install, upgrade, and remove software packages, without having to know about their build procedures or dependencies. Guix also goes beyond this obvious set of features."
  8368. msgstr ""
  8369. #. type: Plain text
  8370. #: guix-git/doc/guix.texi:3289
  8371. msgid "This chapter describes the main features of Guix, as well as the package management tools it provides. Along with the command-line interface described below (@pxref{Invoking guix package, @code{guix package}}), you may also use the Emacs-Guix interface (@pxref{Top,,, emacs-guix, The Emacs-Guix Reference Manual}), after installing @code{emacs-guix} package (run @kbd{M-x guix-help} command to start with it):"
  8372. msgstr ""
  8373. #. type: example
  8374. #: guix-git/doc/guix.texi:3292
  8375. #, no-wrap
  8376. msgid "guix install emacs-guix\n"
  8377. msgstr ""
  8378. #. type: Plain text
  8379. #: guix-git/doc/guix.texi:3313
  8380. msgid "Here we assume you've already made your first steps with Guix (@pxref{Getting Started}) and would like to get an overview about what's going on under the hood."
  8381. msgstr ""
  8382. #. type: Plain text
  8383. #: guix-git/doc/guix.texi:3317
  8384. msgid "When using Guix, each package ends up in the @dfn{package store}, in its own directory---something that resembles @file{/gnu/store/xxx-package-1.2}, where @code{xxx} is a base32 string."
  8385. msgstr ""
  8386. #. type: Plain text
  8387. #: guix-git/doc/guix.texi:3322
  8388. msgid "Instead of referring to these directories, users have their own @dfn{profile}, which points to the packages that they actually want to use. These profiles are stored within each user's home directory, at @code{$HOME/.guix-profile}."
  8389. msgstr ""
  8390. #. type: Plain text
  8391. #: guix-git/doc/guix.texi:3330
  8392. msgid "For example, @code{alice} installs GCC 4.7.2. As a result, @file{/home/alice/.guix-profile/bin/gcc} points to @file{/gnu/store/@dots{}-gcc-4.7.2/bin/gcc}. Now, on the same machine, @code{bob} had already installed GCC 4.8.0. The profile of @code{bob} simply continues to point to @file{/gnu/store/@dots{}-gcc-4.8.0/bin/gcc}---i.e., both versions of GCC coexist on the same system without any interference."
  8393. msgstr ""
  8394. #. type: Plain text
  8395. #: guix-git/doc/guix.texi:3334
  8396. msgid "The @command{guix package} command is the central tool to manage packages (@pxref{Invoking guix package}). It operates on the per-user profiles, and can be used @emph{with normal user privileges}."
  8397. msgstr ""
  8398. #. type: cindex
  8399. #: guix-git/doc/guix.texi:3335 guix-git/doc/guix.texi:3419
  8400. #, no-wrap
  8401. msgid "transactions"
  8402. msgstr ""
  8403. #. type: Plain text
  8404. #: guix-git/doc/guix.texi:3342
  8405. msgid "The command provides the obvious install, remove, and upgrade operations. Each invocation is actually a @emph{transaction}: either the specified operation succeeds, or nothing happens. Thus, if the @command{guix package} process is terminated during the transaction, or if a power outage occurs during the transaction, then the user's profile remains in its previous state, and remains usable."
  8406. msgstr ""
  8407. #. type: Plain text
  8408. #: guix-git/doc/guix.texi:3350
  8409. msgid "In addition, any package transaction may be @emph{rolled back}. So, if, for example, an upgrade installs a new version of a package that turns out to have a serious bug, users may roll back to the previous instance of their profile, which was known to work well. Similarly, the global system configuration on Guix is subject to transactional upgrades and roll-back (@pxref{Using the Configuration System})."
  8410. msgstr ""
  8411. #. type: Plain text
  8412. #: guix-git/doc/guix.texi:3357
  8413. msgid "All packages in the package store may be @emph{garbage-collected}. Guix can determine which packages are still referenced by user profiles, and remove those that are provably no longer referenced (@pxref{Invoking guix gc}). Users may also explicitly remove old generations of their profile so that the packages they refer to can be collected."
  8414. msgstr ""
  8415. #. type: Plain text
  8416. #: guix-git/doc/guix.texi:3370
  8417. msgid "Guix takes a @dfn{purely functional} approach to package management, as described in the introduction (@pxref{Introduction}). Each @file{/gnu/store} package directory name contains a hash of all the inputs that were used to build that package---compiler, libraries, build scripts, etc. This direct correspondence allows users to make sure a given package installation matches the current state of their distribution. It also helps maximize @dfn{build reproducibility}: thanks to the isolated build environments that are used, a given build is likely to yield bit-identical files when performed on different machines (@pxref{Invoking guix-daemon, container})."
  8418. msgstr ""
  8419. #. type: Plain text
  8420. #: guix-git/doc/guix.texi:3381
  8421. msgid "This foundation allows Guix to support @dfn{transparent binary/source deployment}. When a pre-built binary for a @file{/gnu/store} item is available from an external source---a @dfn{substitute}, Guix just downloads it and unpacks it; otherwise, it builds the package from source, locally (@pxref{Substitutes}). Because build results are usually bit-for-bit reproducible, users do not have to trust servers that provide substitutes: they can force a local build and @emph{challenge} providers (@pxref{Invoking guix challenge})."
  8422. msgstr ""
  8423. #. type: Plain text
  8424. #: guix-git/doc/guix.texi:3387
  8425. msgid "Control over the build environment is a feature that is also useful for developers. The @command{guix shell} command allows developers of a package to quickly set up the right development environment for their package, without having to manually install the dependencies of the package into their profile (@pxref{Invoking guix shell})."
  8426. msgstr ""
  8427. #. type: cindex
  8428. #: guix-git/doc/guix.texi:3388
  8429. #, no-wrap
  8430. msgid "replication, of software environments"
  8431. msgstr ""
  8432. #. type: cindex
  8433. #: guix-git/doc/guix.texi:3389
  8434. #, no-wrap
  8435. msgid "provenance tracking, of software artifacts"
  8436. msgstr ""
  8437. #. type: Plain text
  8438. #: guix-git/doc/guix.texi:3396
  8439. msgid "All of Guix and its package definitions is version-controlled, and @command{guix pull} allows you to ``travel in time'' on the history of Guix itself (@pxref{Invoking guix pull}). This makes it possible to replicate a Guix instance on a different machine or at a later point in time, which in turn allows you to @emph{replicate complete software environments}, while retaining precise @dfn{provenance tracking} of the software."
  8440. msgstr ""
  8441. #. type: section
  8442. #: guix-git/doc/guix.texi:3398
  8443. #, no-wrap
  8444. msgid "Invoking @command{guix package}"
  8445. msgstr "Invocando @command{guix package}"
  8446. #. type: cindex
  8447. #: guix-git/doc/guix.texi:3400
  8448. #, no-wrap
  8449. msgid "installing packages"
  8450. msgstr ""
  8451. #. type: cindex
  8452. #: guix-git/doc/guix.texi:3401
  8453. #, no-wrap
  8454. msgid "removing packages"
  8455. msgstr ""
  8456. #. type: cindex
  8457. #: guix-git/doc/guix.texi:3402
  8458. #, no-wrap
  8459. msgid "package installation"
  8460. msgstr ""
  8461. #. type: cindex
  8462. #: guix-git/doc/guix.texi:3403
  8463. #, no-wrap
  8464. msgid "package removal"
  8465. msgstr ""
  8466. #. type: command{#1}
  8467. #: guix-git/doc/guix.texi:3405
  8468. #, fuzzy, no-wrap
  8469. #| msgid "Invoking guix package"
  8470. msgid "guix package"
  8471. msgstr "Invocando guix package"
  8472. #. type: Plain text
  8473. #: guix-git/doc/guix.texi:3414
  8474. msgid "The @command{guix package} command is the tool that allows users to install, upgrade, and remove packages, as well as rolling back to previous configurations. These operations work on a user @dfn{profile}---a directory of installed packages. Each user has a default profile in @file{$HOME/.guix-profile}. The command operates only on the user's own profile, and works with normal user privileges (@pxref{Features}). Its syntax is:"
  8475. msgstr ""
  8476. #. type: example
  8477. #: guix-git/doc/guix.texi:3417
  8478. #, no-wrap
  8479. msgid "guix package @var{options}\n"
  8480. msgstr "guix package @var{opções}\n"
  8481. #. type: Plain text
  8482. #: guix-git/doc/guix.texi:3424
  8483. msgid "Primarily, @var{options} specifies the operations to be performed during the transaction. Upon completion, a new profile is created, but previous @dfn{generations} of the profile remain available, should the user want to roll back."
  8484. msgstr ""
  8485. #. type: Plain text
  8486. #: guix-git/doc/guix.texi:3427
  8487. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  8488. msgstr ""
  8489. #. type: example
  8490. #: guix-git/doc/guix.texi:3430
  8491. #, no-wrap
  8492. msgid "guix package -r lua -i guile guile-cairo\n"
  8493. msgstr ""
  8494. #. type: cindex
  8495. #: guix-git/doc/guix.texi:3432
  8496. #, no-wrap
  8497. msgid "aliases, for @command{guix package}"
  8498. msgstr ""
  8499. #. type: Plain text
  8500. #: guix-git/doc/guix.texi:3434
  8501. msgid "For your convenience, we also provide the following aliases:"
  8502. msgstr ""
  8503. #. type: itemize
  8504. #: guix-git/doc/guix.texi:3438
  8505. msgid "@command{guix search} is an alias for @command{guix package -s},"
  8506. msgstr ""
  8507. #. type: itemize
  8508. #: guix-git/doc/guix.texi:3440
  8509. msgid "@command{guix install} is an alias for @command{guix package -i},"
  8510. msgstr ""
  8511. #. type: itemize
  8512. #: guix-git/doc/guix.texi:3442
  8513. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  8514. msgstr ""
  8515. #. type: itemize
  8516. #: guix-git/doc/guix.texi:3444
  8517. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  8518. msgstr ""
  8519. #. type: itemize
  8520. #: guix-git/doc/guix.texi:3446
  8521. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  8522. msgstr ""
  8523. #. type: Plain text
  8524. #: guix-git/doc/guix.texi:3451
  8525. msgid "These aliases are less expressive than @command{guix package} and provide fewer options, so in some cases you'll probably want to use @command{guix package} directly."
  8526. msgstr ""
  8527. #. type: Plain text
  8528. #: guix-git/doc/guix.texi:3456
  8529. msgid "@command{guix package} also supports a @dfn{declarative approach} whereby the user specifies the exact set of packages to be available and passes it @i{via} the @option{--manifest} option (@pxref{profile-manifest, @option{--manifest}})."
  8530. msgstr ""
  8531. #. type: Plain text
  8532. #: guix-git/doc/guix.texi:3463
  8533. msgid "For each user, a symlink to the user's default profile is automatically created in @file{$HOME/.guix-profile}. This symlink always points to the current generation of the user's default profile. Thus, users can add @file{$HOME/.guix-profile/bin} to their @env{PATH} environment variable, and so on."
  8534. msgstr ""
  8535. #. type: cindex
  8536. #: guix-git/doc/guix.texi:3463 guix-git/doc/guix.texi:3689
  8537. #, no-wrap
  8538. msgid "search paths"
  8539. msgstr ""
  8540. #. type: Plain text
  8541. #: guix-git/doc/guix.texi:3468
  8542. msgid "If you are not using Guix System, consider adding the following lines to your @file{~/.bash_profile} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}) so that newly-spawned shells get all the right environment variable definitions:"
  8543. msgstr ""
  8544. #. type: example
  8545. #: guix-git/doc/guix.texi:3472
  8546. #, no-wrap
  8547. msgid ""
  8548. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  8549. "source \"$GUIX_PROFILE/etc/profile\"\n"
  8550. msgstr ""
  8551. #. type: Plain text
  8552. #: guix-git/doc/guix.texi:3483
  8553. msgid "In a multi-user setup, user profiles are stored in a place registered as a @dfn{garbage-collector root}, which @file{$HOME/.guix-profile} points to (@pxref{Invoking guix gc}). That directory is normally @code{@var{localstatedir}/guix/profiles/per-user/@var{user}}, where @var{localstatedir} is the value passed to @code{configure} as @option{--localstatedir}, and @var{user} is the user name. The @file{per-user} directory is created when @command{guix-daemon} is started, and the @var{user} sub-directory is created by @command{guix package}."
  8554. msgstr ""
  8555. #. type: Plain text
  8556. #: guix-git/doc/guix.texi:3485
  8557. msgid "The @var{options} can be among the following:"
  8558. msgstr ""
  8559. #. type: item
  8560. #: guix-git/doc/guix.texi:3488
  8561. #, no-wrap
  8562. msgid "--install=@var{package} @dots{}"
  8563. msgstr ""
  8564. #. type: itemx
  8565. #: guix-git/doc/guix.texi:3489
  8566. #, no-wrap
  8567. msgid "-i @var{package} @dots{}"
  8568. msgstr ""
  8569. #. type: table
  8570. #: guix-git/doc/guix.texi:3491
  8571. msgid "Install the specified @var{package}s."
  8572. msgstr ""
  8573. #. type: table
  8574. #: guix-git/doc/guix.texi:3496
  8575. msgid "Each @var{package} may specify a simple package name, such as @code{guile}, optionally followed by an at-sign and version number, such as @code{guile@@3.0.7} or simply @code{guile@@3.0}. In the latter case, the newest version prefixed by @code{3.0} is selected."
  8576. msgstr ""
  8577. #. type: table
  8578. #: guix-git/doc/guix.texi:3502
  8579. msgid "If no version number is specified, the newest available version will be selected. In addition, such a @var{package} specification may contain a colon, followed by the name of one of the outputs of the package, as in @code{gcc:doc} or @code{binutils@@2.22:lib} (@pxref{Packages with Multiple Outputs})."
  8580. msgstr ""
  8581. #. type: table
  8582. #: guix-git/doc/guix.texi:3506
  8583. msgid "Packages with a corresponding name (and optionally version) are searched for among the GNU distribution modules (@pxref{Package Modules})."
  8584. msgstr ""
  8585. #. type: table
  8586. #: guix-git/doc/guix.texi:3510
  8587. msgid "Alternatively, a @var{package} can directly specify a store file name such as @file{/gnu/store/...-guile-3.0.7}, as produced by, e.g., @code{guix build}."
  8588. msgstr ""
  8589. #. type: cindex
  8590. #: guix-git/doc/guix.texi:3511
  8591. #, no-wrap
  8592. msgid "propagated inputs"
  8593. msgstr ""
  8594. #. type: table
  8595. #: guix-git/doc/guix.texi:3517
  8596. msgid "Sometimes packages have @dfn{propagated inputs}: these are dependencies that automatically get installed along with the required package (@pxref{package-propagated-inputs, @code{propagated-inputs} in @code{package} objects}, for information about propagated inputs in package definitions)."
  8597. msgstr ""
  8598. #. type: anchor{#1}
  8599. #: guix-git/doc/guix.texi:3524
  8600. msgid "package-cmd-propagated-inputs"
  8601. msgstr ""
  8602. #. type: table
  8603. #: guix-git/doc/guix.texi:3524
  8604. msgid "An example is the GNU MPC library: its C header files refer to those of the GNU MPFR library, which in turn refer to those of the GMP library. Thus, when installing MPC, the MPFR and GMP libraries also get installed in the profile; removing MPC also removes MPFR and GMP---unless they had also been explicitly installed by the user."
  8605. msgstr ""
  8606. #. type: table
  8607. #: guix-git/doc/guix.texi:3529
  8608. msgid "Besides, packages sometimes rely on the definition of environment variables for their search paths (see explanation of @option{--search-paths} below). Any missing or possibly incorrect environment variable definitions are reported here."
  8609. msgstr ""
  8610. #. type: item
  8611. #: guix-git/doc/guix.texi:3530
  8612. #, no-wrap
  8613. msgid "--install-from-expression=@var{exp}"
  8614. msgstr ""
  8615. #. type: itemx
  8616. #: guix-git/doc/guix.texi:3531
  8617. #, no-wrap
  8618. msgid "-e @var{exp}"
  8619. msgstr ""
  8620. #. type: table
  8621. #: guix-git/doc/guix.texi:3533
  8622. msgid "Install the package @var{exp} evaluates to."
  8623. msgstr ""
  8624. #. type: table
  8625. #: guix-git/doc/guix.texi:3538
  8626. msgid "@var{exp} must be a Scheme expression that evaluates to a @code{<package>} object. This option is notably useful to disambiguate between same-named variants of a package, with expressions such as @code{(@@ (gnu packages base) guile-final)}."
  8627. msgstr ""
  8628. #. type: table
  8629. #: guix-git/doc/guix.texi:3542
  8630. msgid "Note that this option installs the first output of the specified package, which may be insufficient when needing a specific output of a multiple-output package."
  8631. msgstr ""
  8632. #. type: item
  8633. #: guix-git/doc/guix.texi:3543
  8634. #, no-wrap
  8635. msgid "--install-from-file=@var{file}"
  8636. msgstr ""
  8637. #. type: itemx
  8638. #: guix-git/doc/guix.texi:3544 guix-git/doc/guix.texi:6193
  8639. #: guix-git/doc/guix.texi:13141
  8640. #, no-wrap
  8641. msgid "-f @var{file}"
  8642. msgstr "-f @var{arquivo}"
  8643. #. type: table
  8644. #: guix-git/doc/guix.texi:3546
  8645. msgid "Install the package that the code within @var{file} evaluates to."
  8646. msgstr ""
  8647. #. type: table
  8648. #: guix-git/doc/guix.texi:3549 guix-git/doc/guix.texi:6199
  8649. #: guix-git/doc/guix.texi:6724
  8650. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  8651. msgstr ""
  8652. #. type: include
  8653. #: guix-git/doc/guix.texi:3551 guix-git/doc/guix.texi:13149
  8654. #, no-wrap
  8655. msgid "package-hello.scm"
  8656. msgstr ""
  8657. #. type: table
  8658. #: guix-git/doc/guix.texi:3558
  8659. msgid "Developers may find it useful to include such a @file{guix.scm} file in the root of their project source tree that can be used to test development snapshots and create reproducible development environments (@pxref{Invoking guix shell})."
  8660. msgstr ""
  8661. #. type: table
  8662. #: guix-git/doc/guix.texi:3563
  8663. msgid "The @var{file} may also contain a JSON representation of one or more package definitions. Running @code{guix package -f} on @file{hello.json} with the following contents would result in installing the package @code{greeter} after building @code{myhello}:"
  8664. msgstr ""
  8665. #. type: example
  8666. #: guix-git/doc/guix.texi:3566 guix-git/doc/guix.texi:13159
  8667. #, no-wrap
  8668. msgid "@verbatiminclude package-hello.json\n"
  8669. msgstr ""
  8670. #. type: item
  8671. #: guix-git/doc/guix.texi:3568
  8672. #, no-wrap
  8673. msgid "--remove=@var{package} @dots{}"
  8674. msgstr ""
  8675. #. type: itemx
  8676. #: guix-git/doc/guix.texi:3569
  8677. #, no-wrap
  8678. msgid "-r @var{package} @dots{}"
  8679. msgstr "-r @var{pacote} @dots{}"
  8680. #. type: table
  8681. #: guix-git/doc/guix.texi:3571
  8682. msgid "Remove the specified @var{package}s."
  8683. msgstr ""
  8684. #. type: table
  8685. #: guix-git/doc/guix.texi:3576
  8686. msgid "As for @option{--install}, each @var{package} may specify a version number and/or output name in addition to the package name. For instance, @samp{-r glibc:debug} would remove the @code{debug} output of @code{glibc}."
  8687. msgstr ""
  8688. #. type: item
  8689. #: guix-git/doc/guix.texi:3577
  8690. #, no-wrap
  8691. msgid "--upgrade[=@var{regexp} @dots{}]"
  8692. msgstr ""
  8693. #. type: itemx
  8694. #: guix-git/doc/guix.texi:3578
  8695. #, no-wrap
  8696. msgid "-u [@var{regexp} @dots{}]"
  8697. msgstr ""
  8698. #. type: cindex
  8699. #: guix-git/doc/guix.texi:3579
  8700. #, no-wrap
  8701. msgid "upgrading packages"
  8702. msgstr ""
  8703. #. type: table
  8704. #: guix-git/doc/guix.texi:3583
  8705. msgid "Upgrade all the installed packages. If one or more @var{regexp}s are specified, upgrade only installed packages whose name matches a @var{regexp}. Also see the @option{--do-not-upgrade} option below."
  8706. msgstr ""
  8707. #. type: table
  8708. #: guix-git/doc/guix.texi:3588
  8709. msgid "Note that this upgrades package to the latest version of packages found in the distribution currently installed. To update your distribution, you should regularly run @command{guix pull} (@pxref{Invoking guix pull})."
  8710. msgstr ""
  8711. #. type: cindex
  8712. #: guix-git/doc/guix.texi:3589
  8713. #, no-wrap
  8714. msgid "package transformations, upgrades"
  8715. msgstr ""
  8716. #. type: table
  8717. #: guix-git/doc/guix.texi:3594
  8718. msgid "When upgrading, package transformations that were originally applied when creating the profile are automatically re-applied (@pxref{Package Transformation Options}). For example, assume you first installed Emacs from the tip of its development branch with:"
  8719. msgstr ""
  8720. #. type: example
  8721. #: guix-git/doc/guix.texi:3597
  8722. #, no-wrap
  8723. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  8724. msgstr ""
  8725. #. type: table
  8726. #: guix-git/doc/guix.texi:3602
  8727. msgid "Next time you run @command{guix upgrade}, Guix will again pull the tip of the Emacs development branch and build @code{emacs-next} from that checkout."
  8728. msgstr ""
  8729. #. type: table
  8730. #: guix-git/doc/guix.texi:3607
  8731. msgid "Note that transformation options such as @option{--with-branch} and @option{--with-source} depend on external state; it is up to you to ensure that they work as expected. You can also discard a transformations that apply to a package by running:"
  8732. msgstr ""
  8733. #. type: example
  8734. #: guix-git/doc/guix.texi:3610
  8735. #, no-wrap
  8736. msgid "guix install @var{package}\n"
  8737. msgstr ""
  8738. #. type: item
  8739. #: guix-git/doc/guix.texi:3612
  8740. #, no-wrap
  8741. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  8742. msgstr ""
  8743. #. type: table
  8744. #: guix-git/doc/guix.texi:3617
  8745. msgid "When used together with the @option{--upgrade} option, do @emph{not} upgrade any packages whose name matches a @var{regexp}. For example, to upgrade all packages in the current profile except those containing the substring ``emacs'':"
  8746. msgstr ""
  8747. #. type: example
  8748. #: guix-git/doc/guix.texi:3620
  8749. #, no-wrap
  8750. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  8751. msgstr ""
  8752. #. type: anchor{#1}
  8753. #: guix-git/doc/guix.texi:3622
  8754. #, no-wrap
  8755. msgid "profile-manifest"
  8756. msgstr "profile-manifest"
  8757. #. type: item
  8758. #: guix-git/doc/guix.texi:3622 guix-git/doc/guix.texi:6212
  8759. #: guix-git/doc/guix.texi:6729 guix-git/doc/guix.texi:7250
  8760. #: guix-git/doc/guix.texi:14375 guix-git/doc/guix.texi:16106
  8761. #, no-wrap
  8762. msgid "--manifest=@var{file}"
  8763. msgstr "--manifest=@var{arquivo}"
  8764. #. type: itemx
  8765. #: guix-git/doc/guix.texi:3623 guix-git/doc/guix.texi:6213
  8766. #: guix-git/doc/guix.texi:6730 guix-git/doc/guix.texi:7251
  8767. #: guix-git/doc/guix.texi:14376
  8768. #, no-wrap
  8769. msgid "-m @var{file}"
  8770. msgstr "-m @var{arquivo}"
  8771. #. type: cindex
  8772. #: guix-git/doc/guix.texi:3624
  8773. #, no-wrap
  8774. msgid "profile declaration"
  8775. msgstr "declaração de perfil"
  8776. #. type: cindex
  8777. #: guix-git/doc/guix.texi:3625
  8778. #, no-wrap
  8779. msgid "profile manifest"
  8780. msgstr "manifsto de perfil"
  8781. #. type: table
  8782. #: guix-git/doc/guix.texi:3629
  8783. msgid "Create a new generation of the profile from the manifest object returned by the Scheme code in @var{file}. This option can be repeated several times, in which case the manifests are concatenated."
  8784. msgstr ""
  8785. #. type: table
  8786. #: guix-git/doc/guix.texi:3635
  8787. msgid "This allows you to @emph{declare} the profile's contents rather than constructing it through a sequence of @option{--install} and similar commands. The advantage is that @var{file} can be put under version control, copied to different machines to reproduce the same profile, and so on."
  8788. msgstr ""
  8789. #. type: table
  8790. #: guix-git/doc/guix.texi:3638
  8791. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  8792. msgstr ""
  8793. #. type: findex
  8794. #: guix-git/doc/guix.texi:3639
  8795. #, no-wrap
  8796. msgid "packages->manifest"
  8797. msgstr "packages->manifest"
  8798. #. type: lisp
  8799. #: guix-git/doc/guix.texi:3642
  8800. #, no-wrap
  8801. msgid ""
  8802. "(use-package-modules guile emacs)\n"
  8803. "\n"
  8804. msgstr ""
  8805. "(use-package-modules guile emacs)\n"
  8806. "\n"
  8807. #. type: lisp
  8808. #: guix-git/doc/guix.texi:3648
  8809. #, no-wrap
  8810. msgid ""
  8811. "(packages->manifest\n"
  8812. " (list emacs\n"
  8813. " guile-2.0\n"
  8814. " ;; Use a specific package output.\n"
  8815. " (list guile-2.0 \"debug\")))\n"
  8816. msgstr ""
  8817. "(packages->manifest\n"
  8818. " (list emacs\n"
  8819. " guile-2.0\n"
  8820. " ;; Usa uma saída de pacote específica.\n"
  8821. " (list guile-2.0 \"debug\")))\n"
  8822. #. type: table
  8823. #: guix-git/doc/guix.texi:3653
  8824. msgid "@xref{Writing Manifests}, for information on how to write a manifest. @xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  8825. msgstr ""
  8826. #. type: item
  8827. #: guix-git/doc/guix.texi:3654 guix-git/doc/guix.texi:4801
  8828. #, no-wrap
  8829. msgid "--roll-back"
  8830. msgstr "--roll-back"
  8831. #. type: cindex
  8832. #: guix-git/doc/guix.texi:3655 guix-git/doc/guix.texi:4802
  8833. #: guix-git/doc/guix.texi:40055 guix-git/doc/guix.texi:43939
  8834. #, no-wrap
  8835. msgid "rolling back"
  8836. msgstr ""
  8837. #. type: cindex
  8838. #: guix-git/doc/guix.texi:3656 guix-git/doc/guix.texi:4803
  8839. #, no-wrap
  8840. msgid "undoing transactions"
  8841. msgstr "desfazendo transações"
  8842. #. type: cindex
  8843. #: guix-git/doc/guix.texi:3657 guix-git/doc/guix.texi:4804
  8844. #, no-wrap
  8845. msgid "transactions, undoing"
  8846. msgstr "transações, desfazendo"
  8847. #. type: table
  8848. #: guix-git/doc/guix.texi:3660
  8849. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  8850. msgstr ""
  8851. #. type: table
  8852. #: guix-git/doc/guix.texi:3663
  8853. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  8854. msgstr ""
  8855. #. type: table
  8856. #: guix-git/doc/guix.texi:3667
  8857. msgid "When rolling back from the first generation that actually contains installed packages, the profile is made to point to the @dfn{zeroth generation}, which contains no files apart from its own metadata."
  8858. msgstr ""
  8859. #. type: table
  8860. #: guix-git/doc/guix.texi:3671
  8861. msgid "After having rolled back, installing, removing, or upgrading packages overwrites previous future generations. Thus, the history of the generations in a profile is always linear."
  8862. msgstr ""
  8863. #. type: item
  8864. #: guix-git/doc/guix.texi:3672 guix-git/doc/guix.texi:4808
  8865. #, no-wrap
  8866. msgid "--switch-generation=@var{pattern}"
  8867. msgstr "--switch-generation=@var{padrão}"
  8868. #. type: itemx
  8869. #: guix-git/doc/guix.texi:3673 guix-git/doc/guix.texi:4809
  8870. #, no-wrap
  8871. msgid "-S @var{pattern}"
  8872. msgstr "-S @var{padrão}"
  8873. #. type: cindex
  8874. #: guix-git/doc/guix.texi:3674 guix-git/doc/guix.texi:3907
  8875. #: guix-git/doc/guix.texi:4810 guix-git/doc/guix.texi:40013
  8876. #, no-wrap
  8877. msgid "generations"
  8878. msgstr "gerações"
  8879. #. type: table
  8880. #: guix-git/doc/guix.texi:3676 guix-git/doc/guix.texi:4812
  8881. msgid "Switch to a particular generation defined by @var{pattern}."
  8882. msgstr ""
  8883. #. type: table
  8884. #: guix-git/doc/guix.texi:3682 guix-git/doc/guix.texi:4818
  8885. msgid "@var{pattern} may be either a generation number or a number prefixed with ``+'' or ``-''. The latter means: move forward/backward by a specified number of generations. For example, if you want to return to the latest generation after @option{--roll-back}, use @option{--switch-generation=+1}."
  8886. msgstr ""
  8887. #. type: table
  8888. #: guix-git/doc/guix.texi:3687
  8889. msgid "The difference between @option{--roll-back} and @option{--switch-generation=-1} is that @option{--switch-generation} will not make a zeroth generation, so if a specified generation does not exist, the current generation will not be changed."
  8890. msgstr ""
  8891. #. type: item
  8892. #: guix-git/doc/guix.texi:3688
  8893. #, no-wrap
  8894. msgid "--search-paths[=@var{kind}]"
  8895. msgstr "--search-paths[=@var{tipo}]"
  8896. #. type: table
  8897. #: guix-git/doc/guix.texi:3694
  8898. msgid "Report environment variable definitions, in Bash syntax, that may be needed in order to use the set of installed packages. These environment variables are used to specify @dfn{search paths} for files used by some of the installed packages."
  8899. msgstr ""
  8900. #. type: table
  8901. #: guix-git/doc/guix.texi:3703
  8902. msgid "For example, GCC needs the @env{CPATH} and @env{LIBRARY_PATH} environment variables to be defined so it can look for headers and libraries in the user's profile (@pxref{Environment Variables,,, gcc, Using the GNU Compiler Collection (GCC)}). If GCC and, say, the C library are installed in the profile, then @option{--search-paths} will suggest setting these variables to @file{@var{profile}/include} and @file{@var{profile}/lib}, respectively (@pxref{Search Paths}, for info on search path specifications associated with packages.)"
  8903. msgstr ""
  8904. #. type: table
  8905. #: guix-git/doc/guix.texi:3706
  8906. msgid "The typical use case is to define these environment variables in the shell:"
  8907. msgstr ""
  8908. #. type: example
  8909. #: guix-git/doc/guix.texi:3709
  8910. #, fuzzy, no-wrap
  8911. #| msgid "$ eval `guix package --search-paths`\n"
  8912. msgid "$ eval $(guix package --search-paths)\n"
  8913. msgstr "$ eval `guix package --search-paths`\n"
  8914. #. type: table
  8915. #: guix-git/doc/guix.texi:3715
  8916. msgid "@var{kind} may be one of @code{exact}, @code{prefix}, or @code{suffix}, meaning that the returned environment variable definitions will either be exact settings, or prefixes or suffixes of the current value of these variables. When omitted, @var{kind} defaults to @code{exact}."
  8917. msgstr ""
  8918. #. type: table
  8919. #: guix-git/doc/guix.texi:3718
  8920. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  8921. msgstr ""
  8922. #. type: example
  8923. #: guix-git/doc/guix.texi:3723
  8924. #, no-wrap
  8925. msgid ""
  8926. "$ guix package -p foo -i guile\n"
  8927. "$ guix package -p bar -i guile-json\n"
  8928. "$ guix package -p foo -p bar --search-paths\n"
  8929. msgstr ""
  8930. "$ guix package -p foo -i guile\n"
  8931. "$ guix package -p bar -i guile-json\n"
  8932. "$ guix package -p foo -p bar --search-paths\n"
  8933. #. type: table
  8934. #: guix-git/doc/guix.texi:3728
  8935. msgid "The last command above reports about the @env{GUILE_LOAD_PATH} variable, even though, taken individually, neither @file{foo} nor @file{bar} would lead to that recommendation."
  8936. msgstr ""
  8937. #. type: cindex
  8938. #: guix-git/doc/guix.texi:3730
  8939. #, fuzzy, no-wrap
  8940. msgid "profile, choosing"
  8941. msgstr "declaração de perfil"
  8942. #. type: item
  8943. #: guix-git/doc/guix.texi:3731 guix-git/doc/guix.texi:4838
  8944. #: guix-git/doc/guix.texi:5193 guix-git/doc/guix.texi:6272
  8945. #: guix-git/doc/guix.texi:6769
  8946. #, no-wrap
  8947. msgid "--profile=@var{profile}"
  8948. msgstr "--profile=@var{perfil}"
  8949. #. type: itemx
  8950. #: guix-git/doc/guix.texi:3732 guix-git/doc/guix.texi:4839
  8951. #: guix-git/doc/guix.texi:5194 guix-git/doc/guix.texi:6273
  8952. #: guix-git/doc/guix.texi:6770
  8953. #, no-wrap
  8954. msgid "-p @var{profile}"
  8955. msgstr "-p @var{perfil}"
  8956. #. type: table
  8957. #: guix-git/doc/guix.texi:3734
  8958. msgid "Use @var{profile} instead of the user's default profile."
  8959. msgstr ""
  8960. #. type: table
  8961. #: guix-git/doc/guix.texi:3739
  8962. msgid "@var{profile} must be the name of a file that will be created upon completion. Concretely, @var{profile} will be a mere symbolic link (``symlink'') pointing to the actual profile where packages are installed:"
  8963. msgstr ""
  8964. #. type: example
  8965. #: guix-git/doc/guix.texi:3745
  8966. #, no-wrap
  8967. msgid ""
  8968. "$ guix install hello -p ~/code/my-profile\n"
  8969. "@dots{}\n"
  8970. "$ ~/code/my-profile/bin/hello\n"
  8971. "Hello, world!\n"
  8972. msgstr ""
  8973. #. type: table
  8974. #: guix-git/doc/guix.texi:3749
  8975. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  8976. msgstr ""
  8977. #. type: example
  8978. #: guix-git/doc/guix.texi:3752
  8979. #, no-wrap
  8980. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  8981. msgstr ""
  8982. #. type: item
  8983. #: guix-git/doc/guix.texi:3754
  8984. #, no-wrap
  8985. msgid "--list-profiles"
  8986. msgstr ""
  8987. #. type: table
  8988. #: guix-git/doc/guix.texi:3756
  8989. msgid "List all the user's profiles:"
  8990. msgstr ""
  8991. #. type: example
  8992. #: guix-git/doc/guix.texi:3763
  8993. #, no-wrap
  8994. msgid ""
  8995. "$ guix package --list-profiles\n"
  8996. "/home/charlie/.guix-profile\n"
  8997. "/home/charlie/code/my-profile\n"
  8998. "/home/charlie/code/devel-profile\n"
  8999. "/home/charlie/tmp/test\n"
  9000. msgstr ""
  9001. #. type: table
  9002. #: guix-git/doc/guix.texi:3766
  9003. msgid "When running as root, list all the profiles of all the users."
  9004. msgstr ""
  9005. #. type: cindex
  9006. #: guix-git/doc/guix.texi:3767
  9007. #, no-wrap
  9008. msgid "collisions, in a profile"
  9009. msgstr "colisões, em um perfil"
  9010. #. type: cindex
  9011. #: guix-git/doc/guix.texi:3768
  9012. #, no-wrap
  9013. msgid "colliding packages in profiles"
  9014. msgstr ""
  9015. #. type: cindex
  9016. #: guix-git/doc/guix.texi:3769
  9017. #, no-wrap
  9018. msgid "profile collisions"
  9019. msgstr ""
  9020. #. type: item
  9021. #: guix-git/doc/guix.texi:3770
  9022. #, no-wrap
  9023. msgid "--allow-collisions"
  9024. msgstr ""
  9025. #. type: table
  9026. #: guix-git/doc/guix.texi:3772
  9027. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  9028. msgstr ""
  9029. #. type: table
  9030. #: guix-git/doc/guix.texi:3776
  9031. msgid "By default, @command{guix package} reports as an error @dfn{collisions} in the profile. Collisions happen when two or more different versions or variants of a given package end up in the profile."
  9032. msgstr ""
  9033. #. type: item
  9034. #: guix-git/doc/guix.texi:3777 guix-git/doc/guix.texi:4881
  9035. #: guix-git/doc/guix.texi:7342
  9036. #, no-wrap
  9037. msgid "--bootstrap"
  9038. msgstr ""
  9039. #. type: table
  9040. #: guix-git/doc/guix.texi:3780
  9041. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  9042. msgstr ""
  9043. #. type: Plain text
  9044. #: guix-git/doc/guix.texi:3786
  9045. msgid "In addition to these actions, @command{guix package} supports the following options to query the current state of a profile, or the availability of packages:"
  9046. msgstr ""
  9047. #. type: item
  9048. #: guix-git/doc/guix.texi:3789
  9049. #, no-wrap
  9050. msgid "--search=@var{regexp}"
  9051. msgstr ""
  9052. #. type: itemx
  9053. #: guix-git/doc/guix.texi:3790
  9054. #, no-wrap
  9055. msgid "-s @var{regexp}"
  9056. msgstr ""
  9057. #. type: anchor{#1}
  9058. #: guix-git/doc/guix.texi:3792
  9059. msgid "guix-search"
  9060. msgstr ""
  9061. #. type: cindex
  9062. #: guix-git/doc/guix.texi:3792
  9063. #, no-wrap
  9064. msgid "searching for packages"
  9065. msgstr ""
  9066. #. type: table
  9067. #: guix-git/doc/guix.texi:3798
  9068. msgid "List the available packages whose name, synopsis, or description matches @var{regexp} (in a case-insensitive fashion), sorted by relevance. Print all the metadata of matching packages in @code{recutils} format (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})."
  9069. msgstr ""
  9070. #. type: table
  9071. #: guix-git/doc/guix.texi:3801
  9072. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  9073. msgstr ""
  9074. #. type: example
  9075. #: guix-git/doc/guix.texi:3807
  9076. #, no-wrap
  9077. msgid ""
  9078. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  9079. "name: jemalloc\n"
  9080. "version: 4.5.0\n"
  9081. "relevance: 6\n"
  9082. "\n"
  9083. msgstr ""
  9084. #. type: example
  9085. #: guix-git/doc/guix.texi:3811
  9086. #, no-wrap
  9087. msgid ""
  9088. "name: glibc\n"
  9089. "version: 2.25\n"
  9090. "relevance: 1\n"
  9091. "\n"
  9092. msgstr ""
  9093. #. type: example
  9094. #: guix-git/doc/guix.texi:3815
  9095. #, no-wrap
  9096. msgid ""
  9097. "name: libgc\n"
  9098. "version: 7.6.0\n"
  9099. "relevance: 1\n"
  9100. msgstr ""
  9101. #. type: table
  9102. #: guix-git/doc/guix.texi:3819
  9103. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  9104. msgstr ""
  9105. #. type: example
  9106. #: guix-git/doc/guix.texi:3823
  9107. #, no-wrap
  9108. msgid ""
  9109. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  9110. "name: elfutils\n"
  9111. "\n"
  9112. msgstr ""
  9113. #. type: example
  9114. #: guix-git/doc/guix.texi:3826
  9115. #, no-wrap
  9116. msgid ""
  9117. "name: gmp\n"
  9118. "@dots{}\n"
  9119. msgstr ""
  9120. #. type: table
  9121. #: guix-git/doc/guix.texi:3832
  9122. msgid "It is also possible to refine search results using several @code{-s} flags to @command{guix package}, or several arguments to @command{guix search}. For example, the following command returns a list of board games (this time using the @command{guix search} alias):"
  9123. msgstr ""
  9124. #. type: example
  9125. #: guix-git/doc/guix.texi:3837
  9126. #, no-wrap
  9127. msgid ""
  9128. "$ guix search '\\<board\\>' game | recsel -p name\n"
  9129. "name: gnubg\n"
  9130. "@dots{}\n"
  9131. msgstr ""
  9132. #. type: table
  9133. #: guix-git/doc/guix.texi:3843
  9134. msgid "If we were to omit @code{-s game}, we would also get software packages that deal with printed circuit boards; removing the angle brackets around @code{board} would further add packages that have to do with keyboards."
  9135. msgstr ""
  9136. #. type: table
  9137. #: guix-git/doc/guix.texi:3847
  9138. msgid "And now for a more elaborate example. The following command searches for cryptographic libraries, filters out Haskell, Perl, Python, and Ruby libraries, and prints the name and synopsis of the matching packages:"
  9139. msgstr ""
  9140. #. type: example
  9141. #: guix-git/doc/guix.texi:3851
  9142. #, no-wrap
  9143. msgid ""
  9144. "$ guix search crypto library | \\\n"
  9145. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  9146. msgstr ""
  9147. #. type: table
  9148. #: guix-git/doc/guix.texi:3856
  9149. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  9150. msgstr ""
  9151. #. type: item
  9152. #: guix-git/doc/guix.texi:3857
  9153. #, no-wrap
  9154. msgid "--show=@var{package}"
  9155. msgstr ""
  9156. #. type: table
  9157. #: guix-git/doc/guix.texi:3861
  9158. msgid "Show details about @var{package}, taken from the list of available packages, in @code{recutils} format (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})."
  9159. msgstr ""
  9160. #. type: example
  9161. #: guix-git/doc/guix.texi:3866
  9162. #, no-wrap
  9163. msgid ""
  9164. "$ guix package --show=guile | recsel -p name,version\n"
  9165. "name: guile\n"
  9166. "version: 3.0.5\n"
  9167. "\n"
  9168. msgstr ""
  9169. #. type: example
  9170. #: guix-git/doc/guix.texi:3869
  9171. #, fuzzy, no-wrap
  9172. #| msgid ""
  9173. #| "name: python\n"
  9174. #| "version: 3.3.5\n"
  9175. msgid ""
  9176. "name: guile\n"
  9177. "version: 3.0.2\n"
  9178. "\n"
  9179. msgstr ""
  9180. "name: guile\n"
  9181. "version: 3.0.2\n"
  9182. "\n"
  9183. #. type: example
  9184. #: guix-git/doc/guix.texi:3873
  9185. #, fuzzy, no-wrap
  9186. #| msgid ""
  9187. #| "name: python\n"
  9188. #| "version: 3.3.5\n"
  9189. msgid ""
  9190. "name: guile\n"
  9191. "version: 2.2.7\n"
  9192. "@dots{}\n"
  9193. msgstr ""
  9194. "name: guile\n"
  9195. "version: 2.2.7\n"
  9196. "@dots{}\n"
  9197. #. type: table
  9198. #: guix-git/doc/guix.texi:3877
  9199. msgid "You may also specify the full name of a package to only get details about a specific version of it (this time using the @command{guix show} alias):"
  9200. msgstr ""
  9201. #. type: example
  9202. #: guix-git/doc/guix.texi:3881
  9203. #, no-wrap
  9204. msgid ""
  9205. "$ guix show guile@@3.0.5 | recsel -p name,version\n"
  9206. "name: guile\n"
  9207. "version: 3.0.5\n"
  9208. msgstr ""
  9209. #. type: item
  9210. #: guix-git/doc/guix.texi:3883
  9211. #, no-wrap
  9212. msgid "--list-installed[=@var{regexp}]"
  9213. msgstr ""
  9214. #. type: itemx
  9215. #: guix-git/doc/guix.texi:3884
  9216. #, no-wrap
  9217. msgid "-I [@var{regexp}]"
  9218. msgstr ""
  9219. #. type: table
  9220. #: guix-git/doc/guix.texi:3888
  9221. msgid "List the currently installed packages in the specified profile, with the most recently installed packages shown last. When @var{regexp} is specified, list only installed packages whose name matches @var{regexp}."
  9222. msgstr ""
  9223. #. type: table
  9224. #: guix-git/doc/guix.texi:3894
  9225. msgid "For each installed package, print the following items, separated by tabs: the package name, its version string, the part of the package that is installed (for instance, @code{out} for the default output, @code{include} for its headers, etc.), and the path of this package in the store."
  9226. msgstr ""
  9227. #. type: item
  9228. #: guix-git/doc/guix.texi:3895
  9229. #, no-wrap
  9230. msgid "--list-available[=@var{regexp}]"
  9231. msgstr ""
  9232. #. type: itemx
  9233. #: guix-git/doc/guix.texi:3896
  9234. #, no-wrap
  9235. msgid "-A [@var{regexp}]"
  9236. msgstr ""
  9237. #. type: table
  9238. #: guix-git/doc/guix.texi:3900
  9239. msgid "List packages currently available in the distribution for this system (@pxref{GNU Distribution}). When @var{regexp} is specified, list only available packages whose name matches @var{regexp}."
  9240. msgstr ""
  9241. #. type: table
  9242. #: guix-git/doc/guix.texi:3904
  9243. msgid "For each package, print the following items separated by tabs: its name, its version string, the parts of the package (@pxref{Packages with Multiple Outputs}), and the source location of its definition."
  9244. msgstr ""
  9245. #. type: item
  9246. #: guix-git/doc/guix.texi:3905 guix-git/doc/guix.texi:4784
  9247. #, no-wrap
  9248. msgid "--list-generations[=@var{pattern}]"
  9249. msgstr "--list-generations[=@var{padrão}]"
  9250. #. type: itemx
  9251. #: guix-git/doc/guix.texi:3906 guix-git/doc/guix.texi:4785
  9252. #, no-wrap
  9253. msgid "-l [@var{pattern}]"
  9254. msgstr "-l [@var{padrão}]"
  9255. #. type: table
  9256. #: guix-git/doc/guix.texi:3912
  9257. msgid "Return a list of generations along with their creation dates; for each generation, show the installed packages, with the most recently installed packages shown last. Note that the zeroth generation is never shown."
  9258. msgstr ""
  9259. #. type: table
  9260. #: guix-git/doc/guix.texi:3917
  9261. msgid "For each installed package, print the following items, separated by tabs: the name of a package, its version string, the part of the package that is installed (@pxref{Packages with Multiple Outputs}), and the location of this package in the store."
  9262. msgstr ""
  9263. #. type: table
  9264. #: guix-git/doc/guix.texi:3920
  9265. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  9266. msgstr ""
  9267. #. type: item
  9268. #: guix-git/doc/guix.texi:3922
  9269. #, no-wrap
  9270. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  9271. msgstr ""
  9272. #. type: itemize
  9273. #: guix-git/doc/guix.texi:3925
  9274. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  9275. msgstr ""
  9276. #. type: itemize
  9277. #: guix-git/doc/guix.texi:3928
  9278. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  9279. msgstr ""
  9280. #. type: item
  9281. #: guix-git/doc/guix.texi:3929
  9282. #, no-wrap
  9283. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  9284. msgstr ""
  9285. #. type: itemize
  9286. #: guix-git/doc/guix.texi:3932
  9287. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  9288. msgstr ""
  9289. #. type: itemize
  9290. #: guix-git/doc/guix.texi:3936
  9291. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  9292. msgstr ""
  9293. #. type: item
  9294. #: guix-git/doc/guix.texi:3937
  9295. #, no-wrap
  9296. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  9297. msgstr ""
  9298. #. type: itemize
  9299. #: guix-git/doc/guix.texi:3941
  9300. msgid "or months by passing an integer along with the first letter of the duration. For example, @option{--list-generations=20d} lists generations that are up to 20 days old."
  9301. msgstr ""
  9302. #. type: item
  9303. #: guix-git/doc/guix.texi:3943 guix-git/doc/guix.texi:4819
  9304. #, no-wrap
  9305. msgid "--delete-generations[=@var{pattern}]"
  9306. msgstr ""
  9307. #. type: itemx
  9308. #: guix-git/doc/guix.texi:3944 guix-git/doc/guix.texi:4820
  9309. #, no-wrap
  9310. msgid "-d [@var{pattern}]"
  9311. msgstr ""
  9312. #. type: table
  9313. #: guix-git/doc/guix.texi:3947 guix-git/doc/guix.texi:4823
  9314. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  9315. msgstr ""
  9316. #. type: table
  9317. #: guix-git/doc/guix.texi:3953 guix-git/doc/guix.texi:4829
  9318. msgid "This command accepts the same patterns as @option{--list-generations}. When @var{pattern} is specified, delete the matching generations. When @var{pattern} specifies a duration, generations @emph{older} than the specified duration match. For instance, @option{--delete-generations=1m} deletes generations that are more than one month old."
  9319. msgstr ""
  9320. #. type: table
  9321. #: guix-git/doc/guix.texi:3956
  9322. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  9323. msgstr ""
  9324. #. type: table
  9325. #: guix-git/doc/guix.texi:3959 guix-git/doc/guix.texi:4834
  9326. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  9327. msgstr ""
  9328. #. type: cindex
  9329. #: guix-git/doc/guix.texi:3960 guix-git/doc/guix.texi:6225
  9330. #, no-wrap
  9331. msgid "manifest, exporting"
  9332. msgstr ""
  9333. #. type: anchor{#1}
  9334. #: guix-git/doc/guix.texi:3962
  9335. msgid "export-manifest"
  9336. msgstr ""
  9337. #. type: item
  9338. #: guix-git/doc/guix.texi:3962 guix-git/doc/guix.texi:6227
  9339. #, no-wrap
  9340. msgid "--export-manifest"
  9341. msgstr ""
  9342. #. type: table
  9343. #: guix-git/doc/guix.texi:3965
  9344. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  9345. msgstr ""
  9346. #. type: table
  9347. #: guix-git/doc/guix.texi:3969
  9348. msgid "This option is meant to help you migrate from the ``imperative'' operating mode---running @command{guix install}, @command{guix upgrade}, etc.---to the declarative mode that @option{--manifest} offers."
  9349. msgstr ""
  9350. #. type: table
  9351. #: guix-git/doc/guix.texi:3974
  9352. msgid "Be aware that the resulting manifest @emph{approximates} what your profile actually contains; for instance, depending on how your profile was created, it can refer to packages or package versions that are not exactly what you specified."
  9353. msgstr ""
  9354. #. type: table
  9355. #: guix-git/doc/guix.texi:3979
  9356. msgid "Keep in mind that a manifest is purely symbolic: it only contains package names and possibly versions, and their meaning varies over time. If you wish to ``pin'' channels to the revisions that were used to build the profile(s), see @option{--export-channels} below."
  9357. msgstr ""
  9358. #. type: cindex
  9359. #: guix-git/doc/guix.texi:3980
  9360. #, no-wrap
  9361. msgid "pinning, channel revisions of a profile"
  9362. msgstr ""
  9363. #. type: item
  9364. #: guix-git/doc/guix.texi:3981
  9365. #, no-wrap
  9366. msgid "--export-channels"
  9367. msgstr ""
  9368. #. type: table
  9369. #: guix-git/doc/guix.texi:3985
  9370. msgid "Write to standard output the list of channels used by the chosen profile(s), in a format suitable for @command{guix pull --channels} or @command{guix time-machine --channels} (@pxref{Channels})."
  9371. msgstr ""
  9372. #. type: table
  9373. #: guix-git/doc/guix.texi:3989
  9374. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  9375. msgstr ""
  9376. #. type: table
  9377. #: guix-git/doc/guix.texi:3997
  9378. msgid "However, note that the output of this command @emph{approximates} what was actually used to build this profile. In particular, a single profile might have been built from several different revisions of the same channel. In that case, @option{--export-manifest} chooses the last one and writes the list of other revisions in a comment. If you really need to pick packages from different channel revisions, you can use inferiors in your manifest to do so (@pxref{Inferiors})."
  9379. msgstr ""
  9380. #. type: table
  9381. #: guix-git/doc/guix.texi:4002
  9382. msgid "Together with @option{--export-manifest}, this is a good starting point if you are willing to migrate from the ``imperative'' model to the fully declarative model consisting of a manifest file along with a channels file pinning the exact channel revision(s) you want."
  9383. msgstr ""
  9384. #. type: Plain text
  9385. #: guix-git/doc/guix.texi:4009
  9386. msgid "Finally, since @command{guix package} may actually start build processes, it supports all the common build options (@pxref{Common Build Options}). It also supports package transformation options, such as @option{--with-source}, and preserves them across upgrades (@pxref{Package Transformation Options})."
  9387. msgstr ""
  9388. #. type: cindex
  9389. #: guix-git/doc/guix.texi:4014
  9390. #, no-wrap
  9391. msgid "pre-built binaries"
  9392. msgstr ""
  9393. #. type: Plain text
  9394. #: guix-git/doc/guix.texi:4020
  9395. msgid "Guix supports transparent source/binary deployment, which means that it can either build things locally, or download pre-built items from a server, or both. We call these pre-built items @dfn{substitutes}---they are substitutes for local build results. In many cases, downloading a substitute is much faster than building things locally."
  9396. msgstr ""
  9397. #. type: Plain text
  9398. #: guix-git/doc/guix.texi:4025
  9399. msgid "Substitutes can be anything resulting from a derivation build (@pxref{Derivations}). Of course, in the common case, they are pre-built package binaries, but source tarballs, for instance, which also result from derivation builds, can be available as substitutes."
  9400. msgstr ""
  9401. #. type: cindex
  9402. #: guix-git/doc/guix.texi:4039
  9403. #, no-wrap
  9404. msgid "build farm"
  9405. msgstr ""
  9406. #. type: Plain text
  9407. #: guix-git/doc/guix.texi:4050
  9408. msgid "@code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} are both front-ends to official build farms that build packages from Guix continuously for some architectures, and make them available as substitutes. These are the default source of substitutes; which can be overridden by passing the @option{--substitute-urls} option either to @command{guix-daemon} (@pxref{daemon-substitute-urls,, @code{guix-daemon --substitute-urls}}) or to client tools such as @command{guix package} (@pxref{client-substitute-urls,, client @option{--substitute-urls} option})."
  9409. msgstr ""
  9410. #. type: Plain text
  9411. #: guix-git/doc/guix.texi:4056
  9412. msgid "Substitute URLs can be either HTTP or HTTPS. HTTPS is recommended because communications are encrypted; conversely, using HTTP makes all communications visible to an eavesdropper, who could use the information gathered to determine, for instance, whether your system has unpatched security vulnerabilities."
  9413. msgstr ""
  9414. #. type: Plain text
  9415. #: guix-git/doc/guix.texi:4065
  9416. msgid "Substitutes from the official build farms are enabled by default when using Guix System (@pxref{GNU Distribution}). However, they are disabled by default when using Guix on a foreign distribution, unless you have explicitly enabled them via one of the recommended installation steps (@pxref{Installation}). The following paragraphs describe how to enable or disable substitutes for the official build farm; the same procedure can also be used to enable substitutes for any other substitute server."
  9417. msgstr ""
  9418. #. type: cindex
  9419. #: guix-git/doc/guix.texi:4069
  9420. #, no-wrap
  9421. msgid "security"
  9422. msgstr ""
  9423. #. type: cindex
  9424. #: guix-git/doc/guix.texi:4071
  9425. #, no-wrap
  9426. msgid "access control list (ACL), for substitutes"
  9427. msgstr ""
  9428. #. type: cindex
  9429. #: guix-git/doc/guix.texi:4072
  9430. #, no-wrap
  9431. msgid "ACL (access control list), for substitutes"
  9432. msgstr ""
  9433. #. type: Plain text
  9434. #: guix-git/doc/guix.texi:4078
  9435. msgid "To allow Guix to download substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror, you must add the relevant public key to the access control list (ACL) of archive imports, using the @command{guix archive} command (@pxref{Invoking guix archive}). Doing so implies that you trust the substitute server to not be compromised and to serve genuine substitutes."
  9436. msgstr ""
  9437. #. type: quotation
  9438. #: guix-git/doc/guix.texi:4083
  9439. msgid "If you are using Guix System, you can skip this section: Guix System authorizes substitutes from @code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} by default."
  9440. msgstr ""
  9441. #. type: Plain text
  9442. #: guix-git/doc/guix.texi:4091
  9443. msgid "The public keys for each of the project maintained substitute servers are installed along with Guix, in @code{@var{prefix}/share/guix/}, where @var{prefix} is the installation prefix of Guix. If you installed Guix from source, make sure you checked the GPG signature of @file{guix-@value{VERSION}.tar.gz}, which contains this public key file. Then, you can run something like this:"
  9444. msgstr ""
  9445. #. type: example
  9446. #: guix-git/doc/guix.texi:4095
  9447. #, fuzzy, no-wrap
  9448. #| msgid ""
  9449. #| "# guix archive --authorize < \\\n"
  9450. #| " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER}.pub\n"
  9451. msgid ""
  9452. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  9453. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  9454. msgstr ""
  9455. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  9456. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  9457. #. type: Plain text
  9458. #: guix-git/doc/guix.texi:4099
  9459. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  9460. msgstr ""
  9461. #. type: example
  9462. #: guix-git/doc/guix.texi:4108
  9463. #, no-wrap
  9464. msgid ""
  9465. "$ guix build emacs --dry-run\n"
  9466. "The following derivations would be built:\n"
  9467. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  9468. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  9469. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  9470. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  9471. "@dots{}\n"
  9472. msgstr ""
  9473. #. type: Plain text
  9474. #: guix-git/doc/guix.texi:4112
  9475. msgid "to something like:"
  9476. msgstr ""
  9477. #. type: example
  9478. #: guix-git/doc/guix.texi:4121
  9479. #, no-wrap
  9480. msgid ""
  9481. "$ guix build emacs --dry-run\n"
  9482. "112.3 MB would be downloaded:\n"
  9483. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  9484. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  9485. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  9486. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  9487. "@dots{}\n"
  9488. msgstr ""
  9489. #. type: Plain text
  9490. #: guix-git/doc/guix.texi:4128
  9491. msgid "The text changed from ``The following derivations would be built'' to ``112.3 MB would be downloaded''. This indicates that substitutes from the configured substitute servers are usable and will be downloaded, when possible, for future builds."
  9492. msgstr ""
  9493. #. type: cindex
  9494. #: guix-git/doc/guix.texi:4129
  9495. #, no-wrap
  9496. msgid "substitutes, how to disable"
  9497. msgstr ""
  9498. #. type: Plain text
  9499. #: guix-git/doc/guix.texi:4135
  9500. msgid "The substitute mechanism can be disabled globally by running @code{guix-daemon} with @option{--no-substitutes} (@pxref{Invoking guix-daemon}). It can also be disabled temporarily by passing the @option{--no-substitutes} option to @command{guix package}, @command{guix build}, and other command-line tools."
  9501. msgstr ""
  9502. #. type: cindex
  9503. #: guix-git/doc/guix.texi:4139
  9504. #, no-wrap
  9505. msgid "substitute servers, adding more"
  9506. msgstr ""
  9507. #. type: Plain text
  9508. #: guix-git/doc/guix.texi:4146
  9509. msgid "Guix can look up and fetch substitutes from several servers. This is useful when you are using packages from additional channels for which the official server does not have substitutes but another server provides them. Another situation where this is useful is when you would prefer to download from your organization's substitute server, resorting to the official server only as a fallback or dismissing it altogether."
  9510. msgstr ""
  9511. #. type: Plain text
  9512. #: guix-git/doc/guix.texi:4151
  9513. msgid "You can give Guix a list of substitute server URLs and it will check them in the specified order. You also need to explicitly authorize the public keys of substitute servers to instruct Guix to accept the substitutes they sign."
  9514. msgstr ""
  9515. #. type: Plain text
  9516. #: guix-git/doc/guix.texi:4158
  9517. msgid "On Guix System, this is achieved by modifying the configuration of the @code{guix} service. Since the @code{guix} service is part of the default lists of services, @code{%base-services} and @code{%desktop-services}, you can use @code{modify-services} to change its configuration and add the URLs and substitute keys that you want (@pxref{Service Reference, @code{modify-services}})."
  9518. msgstr ""
  9519. #. type: Plain text
  9520. #: guix-git/doc/guix.texi:4164
  9521. msgid "As an example, suppose you want to fetch substitutes from @code{guix.example.org} and to authorize the signing key of that server, in addition to the default @code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}}. The resulting operating system configuration will look something like:"
  9522. msgstr ""
  9523. #. type: lisp
  9524. #: guix-git/doc/guix.texi:4181
  9525. #, no-wrap
  9526. msgid ""
  9527. "(operating-system\n"
  9528. " ;; @dots{}\n"
  9529. " (services\n"
  9530. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  9531. " ;; with the list of services you're actually using.\n"
  9532. " (modify-services %desktop-services\n"
  9533. " (guix-service-type config =>\n"
  9534. " (guix-configuration\n"
  9535. " (inherit config)\n"
  9536. " (substitute-urls\n"
  9537. " (append (list \"https://guix.example.org\")\n"
  9538. " %default-substitute-urls))\n"
  9539. " (authorized-keys\n"
  9540. " (append (list (local-file \"./key.pub\"))\n"
  9541. " %default-authorized-guix-keys)))))))\n"
  9542. msgstr ""
  9543. #. type: Plain text
  9544. #: guix-git/doc/guix.texi:4188
  9545. msgid "This assumes that the file @file{key.pub} contains the signing key of @code{guix.example.org}. With this change in place in your operating system configuration file (say @file{/etc/config.scm}), you can reconfigure and restart the @code{guix-daemon} service or reboot so the changes take effect:"
  9546. msgstr ""
  9547. #. type: example
  9548. #: guix-git/doc/guix.texi:4192
  9549. #, no-wrap
  9550. msgid ""
  9551. "$ sudo guix system reconfigure /etc/config.scm\n"
  9552. "$ sudo herd restart guix-daemon\n"
  9553. msgstr ""
  9554. #. type: Plain text
  9555. #: guix-git/doc/guix.texi:4196
  9556. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  9557. msgstr ""
  9558. #. type: enumerate
  9559. #: guix-git/doc/guix.texi:4205
  9560. msgid "Edit the service configuration file for @code{guix-daemon}; when using systemd, this is normally @file{/etc/systemd/system/guix-daemon.service}. Add the @option{--substitute-urls} option on the @command{guix-daemon} command line and list the URLs of interest (@pxref{daemon-substitute-urls, @code{guix-daemon --substitute-urls}}):"
  9561. msgstr ""
  9562. #. type: example
  9563. #: guix-git/doc/guix.texi:4208
  9564. #, no-wrap
  9565. msgid "@dots{} --substitute-urls='https://guix.example.org @value{SUBSTITUTE-URLS}'\n"
  9566. msgstr ""
  9567. #. type: enumerate
  9568. #: guix-git/doc/guix.texi:4212
  9569. msgid "Restart the daemon. For systemd, it goes like this:"
  9570. msgstr ""
  9571. #. type: example
  9572. #: guix-git/doc/guix.texi:4216
  9573. #, no-wrap
  9574. msgid ""
  9575. "systemctl daemon-reload\n"
  9576. "systemctl restart guix-daemon.service\n"
  9577. msgstr ""
  9578. #. type: enumerate
  9579. #: guix-git/doc/guix.texi:4220
  9580. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  9581. msgstr ""
  9582. #. type: example
  9583. #: guix-git/doc/guix.texi:4223
  9584. #, no-wrap
  9585. msgid "guix archive --authorize < key.pub\n"
  9586. msgstr ""
  9587. #. type: enumerate
  9588. #: guix-git/doc/guix.texi:4227
  9589. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  9590. msgstr ""
  9591. #. type: Plain text
  9592. #: guix-git/doc/guix.texi:4236
  9593. msgid "Now you're all set! Substitutes will be preferably taken from @code{https://guix.example.org}, using @code{@value{SUBSTITUTE-SERVER-1}} then @code{@value{SUBSTITUTE-SERVER-2}} as fallback options. Of course you can list as many substitute servers as you like, with the caveat that substitute lookup can be slowed down if too many servers need to be contacted."
  9594. msgstr ""
  9595. #. type: Plain text
  9596. #: guix-git/doc/guix.texi:4240
  9597. msgid "Note that there are also situations where one may want to add the URL of a substitute server @emph{without} authorizing its key. @xref{Substitute Authentication}, to understand this fine point."
  9598. msgstr ""
  9599. #. type: cindex
  9600. #: guix-git/doc/guix.texi:4244
  9601. #, no-wrap
  9602. msgid "digital signatures"
  9603. msgstr ""
  9604. #. type: Plain text
  9605. #: guix-git/doc/guix.texi:4248
  9606. msgid "Guix detects and raises an error when attempting to use a substitute that has been tampered with. Likewise, it ignores substitutes that are not signed, or that are not signed by one of the keys listed in the ACL."
  9607. msgstr ""
  9608. #. type: Plain text
  9609. #: guix-git/doc/guix.texi:4254
  9610. msgid "There is one exception though: if an unauthorized server provides substitutes that are @emph{bit-for-bit identical} to those provided by an authorized server, then the unauthorized server becomes eligible for downloads. For example, assume we have chosen two substitute servers with this option:"
  9611. msgstr ""
  9612. #. type: example
  9613. #: guix-git/doc/guix.texi:4257
  9614. #, no-wrap
  9615. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  9616. msgstr ""
  9617. #. type: Plain text
  9618. #: guix-git/doc/guix.texi:4268
  9619. msgid "If the ACL contains only the key for @samp{b.example.org}, and if @samp{a.example.org} happens to serve the @emph{exact same} substitutes, then Guix will download substitutes from @samp{a.example.org} because it comes first in the list and can be considered a mirror of @samp{b.example.org}. In practice, independent build machines usually produce the same binaries, thanks to bit-reproducible builds (see below)."
  9620. msgstr ""
  9621. #. type: Plain text
  9622. #: guix-git/doc/guix.texi:4275
  9623. msgid "When using HTTPS, the server's X.509 certificate is @emph{not} validated (in other words, the server is not authenticated), contrary to what HTTPS clients such as Web browsers usually do. This is because Guix authenticates substitute information itself, as explained above, which is what we care about (whereas X.509 certificates are about authenticating bindings between domain names and public keys)."
  9624. msgstr ""
  9625. #. type: Plain text
  9626. #: guix-git/doc/guix.texi:4287
  9627. msgid "Substitutes are downloaded over HTTP or HTTPS@. The @env{http_proxy} and @env{https_proxy} environment variables can be set in the environment of @command{guix-daemon} and are honored for downloads of substitutes. Note that the value of those environment variables in the environment where @command{guix build}, @command{guix package}, and other client commands are run has @emph{absolutely no effect}."
  9628. msgstr ""
  9629. #. type: Plain text
  9630. #: guix-git/doc/guix.texi:4296
  9631. msgid "Even when a substitute for a derivation is available, sometimes the substitution attempt will fail. This can happen for a variety of reasons: the substitute server might be offline, the substitute may recently have been deleted, the connection might have been interrupted, etc."
  9632. msgstr ""
  9633. #. type: Plain text
  9634. #: guix-git/doc/guix.texi:4310
  9635. msgid "When substitutes are enabled and a substitute for a derivation is available, but the substitution attempt fails, Guix will attempt to build the derivation locally depending on whether or not @option{--fallback} was given (@pxref{fallback-option,, common build option @option{--fallback}}). Specifically, if @option{--fallback} was omitted, then no local build will be performed, and the derivation is considered to have failed. However, if @option{--fallback} was given, then Guix will attempt to build the derivation locally, and the success or failure of the derivation depends on the success or failure of the local build. Note that when substitutes are disabled or no substitute is available for the derivation in question, a local build will @emph{always} be performed, regardless of whether or not @option{--fallback} was given."
  9636. msgstr ""
  9637. #. type: Plain text
  9638. #: guix-git/doc/guix.texi:4315
  9639. msgid "To get an idea of how many substitutes are available right now, you can try running the @command{guix weather} command (@pxref{Invoking guix weather}). This command provides statistics on the substitutes provided by a server."
  9640. msgstr ""
  9641. #. type: cindex
  9642. #: guix-git/doc/guix.texi:4319
  9643. #, no-wrap
  9644. msgid "trust, of pre-built binaries"
  9645. msgstr ""
  9646. #. type: Plain text
  9647. #: guix-git/doc/guix.texi:4329
  9648. msgid "Today, each individual's control over their own computing is at the mercy of institutions, corporations, and groups with enough power and determination to subvert the computing infrastructure and exploit its weaknesses. While using substitutes can be convenient, we encourage users to also build on their own, or even run their own build farm, such that the project run substitute servers are less of an interesting target. One way to help is by publishing the software you build using @command{guix publish} so that others have one more choice of server to download substitutes from (@pxref{Invoking guix publish})."
  9649. msgstr ""
  9650. #. type: Plain text
  9651. #: guix-git/doc/guix.texi:4341
  9652. msgid "Guix has the foundations to maximize build reproducibility (@pxref{Features}). In most cases, independent builds of a given package or derivation should yield bit-identical results. Thus, through a diverse set of independent package builds, we can strengthen the integrity of our systems. The @command{guix challenge} command aims to help users assess substitute servers, and to assist developers in finding out about non-deterministic package builds (@pxref{Invoking guix challenge}). Similarly, the @option{--check} option of @command{guix build} allows users to check whether previously-installed substitutes are genuine by rebuilding them locally (@pxref{build-check, @command{guix build --check}})."
  9653. msgstr ""
  9654. #. type: Plain text
  9655. #: guix-git/doc/guix.texi:4345
  9656. msgid "In the future, we want Guix to have support to publish and retrieve binaries to/from other users, in a peer-to-peer fashion. If you would like to discuss this project, join us on @email{guix-devel@@gnu.org}."
  9657. msgstr ""
  9658. #. type: cindex
  9659. #: guix-git/doc/guix.texi:4349
  9660. #, no-wrap
  9661. msgid "multiple-output packages"
  9662. msgstr ""
  9663. #. type: cindex
  9664. #: guix-git/doc/guix.texi:4350
  9665. #, no-wrap
  9666. msgid "package outputs"
  9667. msgstr ""
  9668. #. type: cindex
  9669. #: guix-git/doc/guix.texi:4351
  9670. #, no-wrap
  9671. msgid "outputs"
  9672. msgstr ""
  9673. #. type: Plain text
  9674. #: guix-git/doc/guix.texi:4361
  9675. msgid "Often, packages defined in Guix have a single @dfn{output}---i.e., the source package leads to exactly one directory in the store. When running @command{guix install glibc}, one installs the default output of the GNU libc package; the default output is called @code{out}, but its name can be omitted as shown in this command. In this particular case, the default output of @code{glibc} contains all the C header files, shared libraries, static libraries, Info documentation, and other supporting files."
  9676. msgstr ""
  9677. #. type: Plain text
  9678. #: guix-git/doc/guix.texi:4369
  9679. msgid "Sometimes it is more appropriate to separate the various types of files produced from a single source package into separate outputs. For instance, the GLib C library (used by GTK+ and related packages) installs more than 20 MiB of reference documentation as HTML pages. To save space for users who do not need it, the documentation goes to a separate output, called @code{doc}. To install the main GLib output, which contains everything but the documentation, one would run:"
  9680. msgstr ""
  9681. #. type: example
  9682. #: guix-git/doc/guix.texi:4372
  9683. #, no-wrap
  9684. msgid "guix install glib\n"
  9685. msgstr ""
  9686. #. type: Plain text
  9687. #: guix-git/doc/guix.texi:4376
  9688. msgid "The command to install its documentation is:"
  9689. msgstr ""
  9690. #. type: example
  9691. #: guix-git/doc/guix.texi:4379
  9692. #, no-wrap
  9693. msgid "guix install glib:doc\n"
  9694. msgstr ""
  9695. #. type: Plain text
  9696. #: guix-git/doc/guix.texi:4388
  9697. msgid "While the colon syntax works for command-line specification of package outputs, it will not work when using a package @emph{variable} in Scheme code. For example, to add the documentation of @code{glib} to the globally installed packages of an @code{operating-system} (see @ref{operating-system Reference}), a list of two items, the first one being the package @emph{variable} and the second one the name of the output to select (a string), must be used instead:"
  9698. msgstr ""
  9699. #. type: lisp
  9700. #: guix-git/doc/guix.texi:4398
  9701. #, no-wrap
  9702. msgid ""
  9703. "(use-modules (gnu packages glib))\n"
  9704. ";; glib-with-documentation is the Guile symbol for the glib package\n"
  9705. "(operating-system\n"
  9706. " ...\n"
  9707. " (packages\n"
  9708. " (append\n"
  9709. " (list (list glib-with-documentation \"doc\"))\n"
  9710. " %base-packages)))\n"
  9711. msgstr ""
  9712. #. type: Plain text
  9713. #: guix-git/doc/guix.texi:4409
  9714. msgid "Some packages install programs with different ``dependency footprints''. For instance, the WordNet package installs both command-line tools and graphical user interfaces (GUIs). The former depend solely on the C library, whereas the latter depend on Tcl/Tk and the underlying X libraries. In this case, we leave the command-line tools in the default output, whereas the GUIs are in a separate output. This allows users who do not need the GUIs to save space. The @command{guix size} command can help find out about such situations (@pxref{Invoking guix size}). @command{guix graph} can also be helpful (@pxref{Invoking guix graph})."
  9715. msgstr ""
  9716. #. type: Plain text
  9717. #: guix-git/doc/guix.texi:4417
  9718. msgid "There are several such multiple-output packages in the GNU distribution. Other conventional output names include @code{lib} for libraries and possibly header files, @code{bin} for stand-alone programs, and @code{debug} for debugging information (@pxref{Installing Debugging Files}). The outputs of a packages are listed in the third column of the output of @command{guix package --list-available} (@pxref{Invoking guix package})."
  9719. msgstr ""
  9720. #. type: section
  9721. #: guix-git/doc/guix.texi:4420
  9722. #, no-wrap
  9723. msgid "Invoking @command{guix gc}"
  9724. msgstr "Invocando @command{guix gc}"
  9725. #. type: cindex
  9726. #: guix-git/doc/guix.texi:4422
  9727. #, no-wrap
  9728. msgid "garbage collector"
  9729. msgstr "coletor de lixo"
  9730. #. type: cindex
  9731. #: guix-git/doc/guix.texi:4423
  9732. #, no-wrap
  9733. msgid "disk space"
  9734. msgstr ""
  9735. #. type: command{#1}
  9736. #: guix-git/doc/guix.texi:4424
  9737. #, fuzzy, no-wrap
  9738. #| msgid "guix"
  9739. msgid "guix gc"
  9740. msgstr "guix"
  9741. #. type: Plain text
  9742. #: guix-git/doc/guix.texi:4430
  9743. msgid "Packages that are installed, but not used, may be @dfn{garbage-collected}. The @command{guix gc} command allows users to explicitly run the garbage collector to reclaim space from the @file{/gnu/store} directory. It is the @emph{only} way to remove files from @file{/gnu/store}---removing files or directories manually may break it beyond repair!"
  9744. msgstr ""
  9745. #. type: Plain text
  9746. #: guix-git/doc/guix.texi:4441
  9747. msgid "The garbage collector has a set of known @dfn{roots}: any file under @file{/gnu/store} reachable from a root is considered @dfn{live} and cannot be deleted; any other file is considered @dfn{dead} and may be deleted. The set of garbage collector roots (``GC roots'' for short) includes default user profiles; by default, the symlinks under @file{/var/guix/gcroots} represent these GC roots. New GC roots can be added with @command{guix build --root}, for example (@pxref{Invoking guix build}). The @command{guix gc --list-roots} command lists them."
  9748. msgstr ""
  9749. #. type: Plain text
  9750. #: guix-git/doc/guix.texi:4447
  9751. msgid "Prior to running @code{guix gc --collect-garbage} to make space, it is often useful to remove old generations from user profiles; that way, old package builds referenced by those generations can be reclaimed. This is achieved by running @code{guix package --delete-generations} (@pxref{Invoking guix package})."
  9752. msgstr ""
  9753. #. type: Plain text
  9754. #: guix-git/doc/guix.texi:4451
  9755. msgid "Our recommendation is to run a garbage collection periodically, or when you are short on disk space. For instance, to guarantee that at least 5@tie{}GB are available on your disk, simply run:"
  9756. msgstr ""
  9757. #. type: example
  9758. #: guix-git/doc/guix.texi:4454
  9759. #, no-wrap
  9760. msgid "guix gc -F 5G\n"
  9761. msgstr ""
  9762. #. type: Plain text
  9763. #: guix-git/doc/guix.texi:4463
  9764. msgid "It is perfectly safe to run as a non-interactive periodic job (@pxref{Scheduled Job Execution}, for how to set up such a job). Running @command{guix gc} with no arguments will collect as much garbage as it can, but that is often inconvenient: you may find yourself having to rebuild or re-download software that is ``dead'' from the GC viewpoint but that is necessary to build other pieces of software---e.g., the compiler tool chain."
  9765. msgstr ""
  9766. #. type: Plain text
  9767. #: guix-git/doc/guix.texi:4469
  9768. msgid "The @command{guix gc} command has three modes of operation: it can be used to garbage-collect any dead files (the default), to delete specific files (the @option{--delete} option), to print garbage-collector information, or for more advanced queries. The garbage collection options are as follows:"
  9769. msgstr ""
  9770. #. type: item
  9771. #: guix-git/doc/guix.texi:4471
  9772. #, no-wrap
  9773. msgid "--collect-garbage[=@var{min}]"
  9774. msgstr ""
  9775. #. type: itemx
  9776. #: guix-git/doc/guix.texi:4472
  9777. #, no-wrap
  9778. msgid "-C [@var{min}]"
  9779. msgstr ""
  9780. #. type: table
  9781. #: guix-git/doc/guix.texi:4476
  9782. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  9783. msgstr ""
  9784. #. type: table
  9785. #: guix-git/doc/guix.texi:4481
  9786. msgid "When @var{min} is given, stop once @var{min} bytes have been collected. @var{min} may be a number of bytes, or it may include a unit as a suffix, such as @code{MiB} for mebibytes and @code{GB} for gigabytes (@pxref{Block size, size specifications,, coreutils, GNU Coreutils})."
  9787. msgstr ""
  9788. #. type: table
  9789. #: guix-git/doc/guix.texi:4483
  9790. msgid "When @var{min} is omitted, collect all the garbage."
  9791. msgstr ""
  9792. #. type: item
  9793. #: guix-git/doc/guix.texi:4484
  9794. #, no-wrap
  9795. msgid "--free-space=@var{free}"
  9796. msgstr ""
  9797. #. type: itemx
  9798. #: guix-git/doc/guix.texi:4485
  9799. #, no-wrap
  9800. msgid "-F @var{free}"
  9801. msgstr ""
  9802. #. type: table
  9803. #: guix-git/doc/guix.texi:4489
  9804. msgid "Collect garbage until @var{free} space is available under @file{/gnu/store}, if possible; @var{free} denotes storage space, such as @code{500MiB}, as described above."
  9805. msgstr ""
  9806. #. type: table
  9807. #: guix-git/doc/guix.texi:4492
  9808. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  9809. msgstr ""
  9810. #. type: item
  9811. #: guix-git/doc/guix.texi:4493
  9812. #, no-wrap
  9813. msgid "--delete-generations[=@var{duration}]"
  9814. msgstr "--delete-generations[=@var{duração}]"
  9815. #. type: itemx
  9816. #: guix-git/doc/guix.texi:4494
  9817. #, no-wrap
  9818. msgid "-d [@var{duration}]"
  9819. msgstr ""
  9820. #. type: table
  9821. #: guix-git/doc/guix.texi:4499
  9822. msgid "Before starting the garbage collection process, delete all the generations older than @var{duration}, for all the user profiles and home environment generations; when run as root, this applies to all the profiles @emph{of all the users}."
  9823. msgstr ""
  9824. #. type: table
  9825. #: guix-git/doc/guix.texi:4503
  9826. msgid "For example, this command deletes all the generations of all your profiles that are older than 2 months (except generations that are current), and then proceeds to free space until at least 10 GiB are available:"
  9827. msgstr ""
  9828. #. type: example
  9829. #: guix-git/doc/guix.texi:4506
  9830. #, no-wrap
  9831. msgid "guix gc -d 2m -F 10G\n"
  9832. msgstr ""
  9833. #. type: item
  9834. #: guix-git/doc/guix.texi:4508
  9835. #, no-wrap
  9836. msgid "--delete"
  9837. msgstr ""
  9838. #. type: itemx
  9839. #: guix-git/doc/guix.texi:4509 guix-git/doc/guix.texi:6148
  9840. #, no-wrap
  9841. msgid "-D"
  9842. msgstr ""
  9843. #. type: table
  9844. #: guix-git/doc/guix.texi:4513
  9845. msgid "Attempt to delete all the store files and directories specified as arguments. This fails if some of the files are not in the store, or if they are still live."
  9846. msgstr ""
  9847. #. type: item
  9848. #: guix-git/doc/guix.texi:4514
  9849. #, no-wrap
  9850. msgid "--list-failures"
  9851. msgstr "--list-failures"
  9852. #. type: table
  9853. #: guix-git/doc/guix.texi:4516
  9854. msgid "List store items corresponding to cached build failures."
  9855. msgstr ""
  9856. #. type: table
  9857. #: guix-git/doc/guix.texi:4520
  9858. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  9859. msgstr ""
  9860. #. type: item
  9861. #: guix-git/doc/guix.texi:4521
  9862. #, no-wrap
  9863. msgid "--list-roots"
  9864. msgstr ""
  9865. #. type: table
  9866. #: guix-git/doc/guix.texi:4524
  9867. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  9868. msgstr ""
  9869. #. type: item
  9870. #: guix-git/doc/guix.texi:4525
  9871. #, no-wrap
  9872. msgid "--list-busy"
  9873. msgstr ""
  9874. #. type: table
  9875. #: guix-git/doc/guix.texi:4528
  9876. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  9877. msgstr ""
  9878. #. type: item
  9879. #: guix-git/doc/guix.texi:4529
  9880. #, no-wrap
  9881. msgid "--clear-failures"
  9882. msgstr "--clear-failures"
  9883. #. type: table
  9884. #: guix-git/doc/guix.texi:4531
  9885. msgid "Remove the specified store items from the failed-build cache."
  9886. msgstr ""
  9887. #. type: table
  9888. #: guix-git/doc/guix.texi:4534
  9889. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  9890. msgstr ""
  9891. #. type: item
  9892. #: guix-git/doc/guix.texi:4535
  9893. #, no-wrap
  9894. msgid "--list-dead"
  9895. msgstr "--list-dead"
  9896. #. type: table
  9897. #: guix-git/doc/guix.texi:4538
  9898. msgid "Show the list of dead files and directories still present in the store---i.e., files and directories no longer reachable from any root."
  9899. msgstr ""
  9900. #. type: item
  9901. #: guix-git/doc/guix.texi:4539
  9902. #, no-wrap
  9903. msgid "--list-live"
  9904. msgstr "--list-live"
  9905. #. type: table
  9906. #: guix-git/doc/guix.texi:4541
  9907. msgid "Show the list of live store files and directories."
  9908. msgstr ""
  9909. #. type: Plain text
  9910. #: guix-git/doc/guix.texi:4545
  9911. msgid "In addition, the references among existing store files can be queried:"
  9912. msgstr ""
  9913. #. type: item
  9914. #: guix-git/doc/guix.texi:4548
  9915. #, no-wrap
  9916. msgid "--references"
  9917. msgstr ""
  9918. #. type: itemx
  9919. #: guix-git/doc/guix.texi:4549
  9920. #, no-wrap
  9921. msgid "--referrers"
  9922. msgstr ""
  9923. #. type: cindex
  9924. #: guix-git/doc/guix.texi:4550 guix-git/doc/guix.texi:15163
  9925. #, no-wrap
  9926. msgid "package dependencies"
  9927. msgstr ""
  9928. #. type: table
  9929. #: guix-git/doc/guix.texi:4553
  9930. msgid "List the references (respectively, the referrers) of store files given as arguments."
  9931. msgstr ""
  9932. #. type: item
  9933. #: guix-git/doc/guix.texi:4554
  9934. #, no-wrap
  9935. msgid "--requisites"
  9936. msgstr "--requisites"
  9937. #. type: itemx
  9938. #: guix-git/doc/guix.texi:4555 guix-git/doc/guix.texi:7135
  9939. #, no-wrap
  9940. msgid "-R"
  9941. msgstr ""
  9942. #. type: item
  9943. #: guix-git/doc/guix.texi:4556 guix-git/doc/guix.texi:15019
  9944. #: guix-git/doc/guix.texi:15047 guix-git/doc/guix.texi:15128
  9945. #, no-wrap
  9946. msgid "closure"
  9947. msgstr ""
  9948. #. type: table
  9949. #: guix-git/doc/guix.texi:4561
  9950. msgid "List the requisites of the store files passed as arguments. Requisites include the store files themselves, their references, and the references of these, recursively. In other words, the returned list is the @dfn{transitive closure} of the store files."
  9951. msgstr ""
  9952. #. type: table
  9953. #: guix-git/doc/guix.texi:4565
  9954. msgid "@xref{Invoking guix size}, for a tool to profile the size of the closure of an element. @xref{Invoking guix graph}, for a tool to visualize the graph of references."
  9955. msgstr ""
  9956. #. type: item
  9957. #: guix-git/doc/guix.texi:4566
  9958. #, no-wrap
  9959. msgid "--derivers"
  9960. msgstr ""
  9961. #. type: item
  9962. #: guix-git/doc/guix.texi:4567 guix-git/doc/guix.texi:7458
  9963. #: guix-git/doc/guix.texi:14865 guix-git/doc/guix.texi:15272
  9964. #, no-wrap
  9965. msgid "derivation"
  9966. msgstr ""
  9967. #. type: table
  9968. #: guix-git/doc/guix.texi:4570
  9969. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  9970. msgstr ""
  9971. #. type: table
  9972. #: guix-git/doc/guix.texi:4572
  9973. msgid "For example, this command:"
  9974. msgstr ""
  9975. #. type: example
  9976. #: guix-git/doc/guix.texi:4575
  9977. #, no-wrap
  9978. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  9979. msgstr ""
  9980. #. type: table
  9981. #: guix-git/doc/guix.texi:4580
  9982. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  9983. msgstr ""
  9984. #. type: table
  9985. #: guix-git/doc/guix.texi:4584
  9986. msgid "Note that there may be zero matching @file{.drv} files, for instance because these files have been garbage-collected. There can also be more than one matching @file{.drv} due to fixed-output derivations."
  9987. msgstr ""
  9988. #. type: Plain text
  9989. #: guix-git/doc/guix.texi:4588
  9990. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  9991. msgstr ""
  9992. #. type: item
  9993. #: guix-git/doc/guix.texi:4591
  9994. #, no-wrap
  9995. msgid "--verify[=@var{options}]"
  9996. msgstr ""
  9997. #. type: cindex
  9998. #: guix-git/doc/guix.texi:4592
  9999. #, no-wrap
  10000. msgid "integrity, of the store"
  10001. msgstr ""
  10002. #. type: cindex
  10003. #: guix-git/doc/guix.texi:4593
  10004. #, no-wrap
  10005. msgid "integrity checking"
  10006. msgstr ""
  10007. #. type: table
  10008. #: guix-git/doc/guix.texi:4595
  10009. msgid "Verify the integrity of the store."
  10010. msgstr ""
  10011. #. type: table
  10012. #: guix-git/doc/guix.texi:4598
  10013. msgid "By default, make sure that all the store items marked as valid in the database of the daemon actually exist in @file{/gnu/store}."
  10014. msgstr ""
  10015. #. type: table
  10016. #: guix-git/doc/guix.texi:4601
  10017. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  10018. msgstr ""
  10019. #. type: table
  10020. #: guix-git/doc/guix.texi:4607
  10021. msgid "When passing @option{--verify=contents}, the daemon computes the content hash of each store item and compares it against its hash in the database. Hash mismatches are reported as data corruptions. Because it traverses @emph{all the files in the store}, this command can take a long time, especially on systems with a slow disk drive."
  10022. msgstr ""
  10023. #. type: cindex
  10024. #: guix-git/doc/guix.texi:4608
  10025. #, no-wrap
  10026. msgid "repairing the store"
  10027. msgstr ""
  10028. #. type: cindex
  10029. #: guix-git/doc/guix.texi:4609 guix-git/doc/guix.texi:13317
  10030. #, no-wrap
  10031. msgid "corruption, recovering from"
  10032. msgstr ""
  10033. #. type: table
  10034. #: guix-git/doc/guix.texi:4617
  10035. msgid "Using @option{--verify=repair} or @option{--verify=contents,repair} causes the daemon to try to repair corrupt store items by fetching substitutes for them (@pxref{Substitutes}). Because repairing is not atomic, and thus potentially dangerous, it is available only to the system administrator. A lightweight alternative, when you know exactly which items in the store are corrupt, is @command{guix build --repair} (@pxref{Invoking guix build})."
  10036. msgstr ""
  10037. #. type: item
  10038. #: guix-git/doc/guix.texi:4618
  10039. #, no-wrap
  10040. msgid "--optimize"
  10041. msgstr "--optimize"
  10042. #. type: table
  10043. #: guix-git/doc/guix.texi:4622
  10044. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  10045. msgstr ""
  10046. #. type: table
  10047. #: guix-git/doc/guix.texi:4628
  10048. msgid "The daemon performs deduplication after each successful build or archive import, unless it was started with @option{--disable-deduplication} (@pxref{Invoking guix-daemon, @option{--disable-deduplication}}). Thus, this option is primarily useful when the daemon was running with @option{--disable-deduplication}."
  10049. msgstr ""
  10050. #. type: item
  10051. #: guix-git/doc/guix.texi:4629
  10052. #, no-wrap
  10053. msgid "--vacuum-database"
  10054. msgstr ""
  10055. #. type: cindex
  10056. #: guix-git/doc/guix.texi:4630
  10057. #, no-wrap
  10058. msgid "vacuum the store database"
  10059. msgstr ""
  10060. #. type: table
  10061. #: guix-git/doc/guix.texi:4640
  10062. msgid "Guix uses an sqlite database to keep track of the items in (@pxref{The Store}). Over time it is possible that the database may grow to a large size and become fragmented. As a result, one may wish to clear the freed space and join the partially used pages in the database left behind from removed packages or after running the garbage collector. Running @command{sudo guix gc --vacuum-database} will lock the database and @code{VACUUM} the store, defragmenting the database and purging freed pages, unlocking the database when it finishes."
  10063. msgstr ""
  10064. #. type: section
  10065. #: guix-git/doc/guix.texi:4644
  10066. #, no-wrap
  10067. msgid "Invoking @command{guix pull}"
  10068. msgstr "Invocando @command{guix pull}"
  10069. #. type: cindex
  10070. #: guix-git/doc/guix.texi:4646
  10071. #, no-wrap
  10072. msgid "upgrading Guix"
  10073. msgstr ""
  10074. #. type: cindex
  10075. #: guix-git/doc/guix.texi:4647
  10076. #, no-wrap
  10077. msgid "updating Guix"
  10078. msgstr ""
  10079. #. type: command{#1}
  10080. #: guix-git/doc/guix.texi:4648
  10081. #, no-wrap
  10082. msgid "guix pull"
  10083. msgstr ""
  10084. #. type: cindex
  10085. #: guix-git/doc/guix.texi:4649
  10086. #, no-wrap
  10087. msgid "pull"
  10088. msgstr ""
  10089. #. type: cindex
  10090. #: guix-git/doc/guix.texi:4650
  10091. #, no-wrap
  10092. msgid "security, @command{guix pull}"
  10093. msgstr ""
  10094. #. type: cindex
  10095. #: guix-git/doc/guix.texi:4651
  10096. #, no-wrap
  10097. msgid "authenticity, of code obtained with @command{guix pull}"
  10098. msgstr ""
  10099. #. type: Plain text
  10100. #: guix-git/doc/guix.texi:4661
  10101. msgid "Packages are installed or upgraded to the latest version available in the distribution currently available on your local machine. To update that distribution, along with the Guix tools, you must run @command{guix pull}: the command downloads the latest Guix source code and package descriptions, and deploys it. Source code is downloaded from a @uref{https://git-scm.com/book/en/, Git} repository, by default the official GNU@tie{}Guix repository, though this can be customized. @command{guix pull} ensures that the code it downloads is @emph{authentic} by verifying that commits are signed by Guix developers."
  10102. msgstr ""
  10103. #. type: Plain text
  10104. #: guix-git/doc/guix.texi:4664
  10105. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  10106. msgstr ""
  10107. #. type: enumerate
  10108. #: guix-git/doc/guix.texi:4668
  10109. msgid "the @option{--channels} option;"
  10110. msgstr ""
  10111. #. type: enumerate
  10112. #: guix-git/doc/guix.texi:4670
  10113. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  10114. msgstr ""
  10115. #. type: enumerate
  10116. #: guix-git/doc/guix.texi:4672
  10117. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  10118. msgstr ""
  10119. #. type: enumerate
  10120. #: guix-git/doc/guix.texi:4675
  10121. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  10122. msgstr ""
  10123. #. type: Plain text
  10124. #: guix-git/doc/guix.texi:4682
  10125. msgid "On completion, @command{guix package} will use packages and package versions from this just-retrieved copy of Guix. Not only that, but all the Guix commands and Scheme modules will also be taken from that latest version. New @command{guix} sub-commands added by the update also become available."
  10126. msgstr ""
  10127. #. type: Plain text
  10128. #: guix-git/doc/guix.texi:4688
  10129. msgid "Any user can update their Guix copy using @command{guix pull}, and the effect is limited to the user who ran @command{guix pull}. For instance, when user @code{root} runs @command{guix pull}, this has no effect on the version of Guix that user @code{alice} sees, and vice versa."
  10130. msgstr ""
  10131. #. type: Plain text
  10132. #: guix-git/doc/guix.texi:4694
  10133. msgid "The result of running @command{guix pull} is a @dfn{profile} available under @file{~/.config/guix/current} containing the latest Guix. Thus, make sure to add it to the beginning of your search path so that you use the latest version, and similarly for the Info manual (@pxref{Documentation}):"
  10134. msgstr ""
  10135. #. type: example
  10136. #: guix-git/doc/guix.texi:4698
  10137. #, no-wrap
  10138. msgid ""
  10139. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  10140. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  10141. msgstr ""
  10142. #. type: Plain text
  10143. #: guix-git/doc/guix.texi:4702
  10144. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  10145. msgstr ""
  10146. #. type: example
  10147. #: guix-git/doc/guix.texi:4710
  10148. #, no-wrap
  10149. msgid ""
  10150. "$ guix pull -l\n"
  10151. "Generation 1\tJun 10 2018 00:18:18\n"
  10152. " guix 65956ad\n"
  10153. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  10154. " branch: origin/master\n"
  10155. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  10156. "\n"
  10157. msgstr ""
  10158. #. type: example
  10159. #: guix-git/doc/guix.texi:4716
  10160. #, no-wrap
  10161. msgid ""
  10162. "Generation 2\tJun 11 2018 11:02:49\n"
  10163. " guix e0cc7f6\n"
  10164. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  10165. " branch: origin/master\n"
  10166. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  10167. "\n"
  10168. msgstr ""
  10169. #. type: example
  10170. #: guix-git/doc/guix.texi:4722
  10171. #, no-wrap
  10172. msgid ""
  10173. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  10174. " guix 844cc1c\n"
  10175. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  10176. " branch: origin/master\n"
  10177. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  10178. msgstr ""
  10179. #. type: Plain text
  10180. #: guix-git/doc/guix.texi:4726
  10181. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  10182. msgstr ""
  10183. #. type: Plain text
  10184. #: guix-git/doc/guix.texi:4731
  10185. msgid "This @code{~/.config/guix/current} profile works exactly like the profiles created by @command{guix package} (@pxref{Invoking guix package}). That is, you can list generations, roll back to the previous generation---i.e., the previous Guix---and so on:"
  10186. msgstr ""
  10187. #. type: example
  10188. #: guix-git/doc/guix.texi:4737
  10189. #, no-wrap
  10190. msgid ""
  10191. "$ guix pull --roll-back\n"
  10192. "switched from generation 3 to 2\n"
  10193. "$ guix pull --delete-generations=1\n"
  10194. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  10195. msgstr ""
  10196. #. type: Plain text
  10197. #: guix-git/doc/guix.texi:4741
  10198. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  10199. msgstr ""
  10200. #. type: example
  10201. #: guix-git/doc/guix.texi:4746
  10202. #, no-wrap
  10203. msgid ""
  10204. "$ guix package -p ~/.config/guix/current --roll-back\n"
  10205. "switched from generation 3 to 2\n"
  10206. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  10207. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  10208. msgstr ""
  10209. #. type: Plain text
  10210. #: guix-git/doc/guix.texi:4750
  10211. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  10212. msgstr ""
  10213. #. type: item
  10214. #: guix-git/doc/guix.texi:4752 guix-git/doc/guix.texi:4948
  10215. #, no-wrap
  10216. msgid "--url=@var{url}"
  10217. msgstr ""
  10218. #. type: itemx
  10219. #: guix-git/doc/guix.texi:4753 guix-git/doc/guix.texi:4949
  10220. #, no-wrap
  10221. msgid "--commit=@var{commit}"
  10222. msgstr "--commit=@var{commit}"
  10223. #. type: itemx
  10224. #: guix-git/doc/guix.texi:4754 guix-git/doc/guix.texi:4950
  10225. #, no-wrap
  10226. msgid "--branch=@var{branch}"
  10227. msgstr "--branch=@var{ramo}"
  10228. #. type: table
  10229. #: guix-git/doc/guix.texi:4758
  10230. msgid "Download code for the @code{guix} channel from the specified @var{url}, at the given @var{commit} (a valid Git commit ID represented as a hexadecimal string or the name of a tag), or @var{branch}."
  10231. msgstr ""
  10232. #. type: cindex
  10233. #: guix-git/doc/guix.texi:4759 guix-git/doc/guix.texi:5394
  10234. #, no-wrap
  10235. msgid "@file{channels.scm}, configuration file"
  10236. msgstr ""
  10237. #. type: cindex
  10238. #: guix-git/doc/guix.texi:4760 guix-git/doc/guix.texi:5395
  10239. #, no-wrap
  10240. msgid "configuration file for channels"
  10241. msgstr ""
  10242. #. type: table
  10243. #: guix-git/doc/guix.texi:4764
  10244. msgid "These options are provided for convenience, but you can also specify your configuration in the @file{~/.config/guix/channels.scm} file or using the @option{--channels} option (see below)."
  10245. msgstr ""
  10246. #. type: item
  10247. #: guix-git/doc/guix.texi:4765 guix-git/doc/guix.texi:4955
  10248. #, no-wrap
  10249. msgid "--channels=@var{file}"
  10250. msgstr ""
  10251. #. type: itemx
  10252. #: guix-git/doc/guix.texi:4766 guix-git/doc/guix.texi:4956
  10253. #, no-wrap
  10254. msgid "-C @var{file}"
  10255. msgstr "-C @var{arquivo}"
  10256. #. type: table
  10257. #: guix-git/doc/guix.texi:4772
  10258. msgid "Read the list of channels from @var{file} instead of @file{~/.config/guix/channels.scm} or @file{/etc/guix/channels.scm}. @var{file} must contain Scheme code that evaluates to a list of channel objects. @xref{Channels}, for more information."
  10259. msgstr ""
  10260. #. type: cindex
  10261. #: guix-git/doc/guix.texi:4773
  10262. #, no-wrap
  10263. msgid "channel news"
  10264. msgstr ""
  10265. #. type: item
  10266. #: guix-git/doc/guix.texi:4774
  10267. #, no-wrap
  10268. msgid "--news"
  10269. msgstr ""
  10270. #. type: itemx
  10271. #: guix-git/doc/guix.texi:4775 guix-git/doc/guix.texi:6322
  10272. #: guix-git/doc/guix.texi:6819 guix-git/doc/guix.texi:40367
  10273. #: guix-git/doc/guix.texi:43817
  10274. #, no-wrap
  10275. msgid "-N"
  10276. msgstr ""
  10277. #. type: table
  10278. #: guix-git/doc/guix.texi:4780
  10279. msgid "Display news written by channel authors for their users for changes made since the previous generation (@pxref{Channels, Writing Channel News}). When @option{--details} is passed, additionally display new and upgraded packages."
  10280. msgstr ""
  10281. #. type: table
  10282. #: guix-git/doc/guix.texi:4783
  10283. msgid "You can view that information for previous generations with @command{guix pull -l}."
  10284. msgstr ""
  10285. #. type: table
  10286. #: guix-git/doc/guix.texi:4790
  10287. msgid "List all the generations of @file{~/.config/guix/current} or, if @var{pattern} is provided, the subset of generations that match @var{pattern}. The syntax of @var{pattern} is the same as with @code{guix package --list-generations} (@pxref{Invoking guix package})."
  10288. msgstr ""
  10289. #. type: table
  10290. #: guix-git/doc/guix.texi:4795
  10291. msgid "By default, this prints information about the channels used in each revision as well as the corresponding news entries. If you pass @option{--details}, it will also print the list of packages added and upgraded in each generation compared to the previous one."
  10292. msgstr ""
  10293. #. type: item
  10294. #: guix-git/doc/guix.texi:4796
  10295. #, no-wrap
  10296. msgid "--details"
  10297. msgstr ""
  10298. #. type: table
  10299. #: guix-git/doc/guix.texi:4800
  10300. msgid "Instruct @option{--list-generations} or @option{--news} to display more information about the differences between subsequent generations---see above."
  10301. msgstr ""
  10302. #. type: table
  10303. #: guix-git/doc/guix.texi:4807
  10304. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  10305. msgstr ""
  10306. #. type: table
  10307. #: guix-git/doc/guix.texi:4831
  10308. msgid "If the current generation matches, it is @emph{not} deleted."
  10309. msgstr ""
  10310. #. type: table
  10311. #: guix-git/doc/guix.texi:4837
  10312. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  10313. msgstr ""
  10314. #. type: table
  10315. #: guix-git/doc/guix.texi:4841
  10316. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  10317. msgstr ""
  10318. #. type: item
  10319. #: guix-git/doc/guix.texi:4842 guix-git/doc/guix.texi:12586
  10320. #: guix-git/doc/guix.texi:14703
  10321. #, no-wrap
  10322. msgid "--dry-run"
  10323. msgstr ""
  10324. #. type: itemx
  10325. #: guix-git/doc/guix.texi:4843 guix-git/doc/guix.texi:12587
  10326. #: guix-git/doc/guix.texi:14704 guix-git/doc/guix.texi:15001
  10327. #, no-wrap
  10328. msgid "-n"
  10329. msgstr ""
  10330. #. type: table
  10331. #: guix-git/doc/guix.texi:4846
  10332. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  10333. msgstr ""
  10334. #. type: item
  10335. #: guix-git/doc/guix.texi:4847 guix-git/doc/guix.texi:40386
  10336. #: guix-git/doc/guix.texi:44064
  10337. #, no-wrap
  10338. msgid "--allow-downgrades"
  10339. msgstr ""
  10340. #. type: table
  10341. #: guix-git/doc/guix.texi:4850
  10342. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  10343. msgstr ""
  10344. #. type: cindex
  10345. #: guix-git/doc/guix.texi:4851
  10346. #, no-wrap
  10347. msgid "downgrade attacks, protection against"
  10348. msgstr ""
  10349. #. type: table
  10350. #: guix-git/doc/guix.texi:4856
  10351. msgid "By default, @command{guix pull} protects against so-called ``downgrade attacks'' whereby the Git repository of a channel would be reset to an earlier or unrelated revision of itself, potentially leading you to install older, known-vulnerable versions of software packages."
  10352. msgstr ""
  10353. #. type: quotation
  10354. #: guix-git/doc/guix.texi:4860 guix-git/doc/guix.texi:40400
  10355. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  10356. msgstr ""
  10357. #. type: item
  10358. #: guix-git/doc/guix.texi:4862
  10359. #, no-wrap
  10360. msgid "--disable-authentication"
  10361. msgstr ""
  10362. #. type: table
  10363. #: guix-git/doc/guix.texi:4864
  10364. msgid "Allow pulling channel code without authenticating it."
  10365. msgstr ""
  10366. #. type: cindex
  10367. #: guix-git/doc/guix.texi:4865 guix-git/doc/guix.texi:5574
  10368. #, no-wrap
  10369. msgid "authentication, of channel code"
  10370. msgstr ""
  10371. #. type: table
  10372. #: guix-git/doc/guix.texi:4870
  10373. msgid "By default, @command{guix pull} authenticates code downloaded from channels by verifying that its commits are signed by authorized developers, and raises an error if this is not the case. This option instructs it to not perform any such verification."
  10374. msgstr ""
  10375. #. type: quotation
  10376. #: guix-git/doc/guix.texi:4874
  10377. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  10378. msgstr ""
  10379. #. type: itemx
  10380. #: guix-git/doc/guix.texi:4877 guix-git/doc/guix.texi:6305
  10381. #: guix-git/doc/guix.texi:6802 guix-git/doc/guix.texi:7270
  10382. #: guix-git/doc/guix.texi:13251 guix-git/doc/guix.texi:15146
  10383. #: guix-git/doc/guix.texi:15411 guix-git/doc/guix.texi:16101
  10384. #: guix-git/doc/guix.texi:40310
  10385. #, no-wrap
  10386. msgid "-s @var{system}"
  10387. msgstr "-s @var{sistema}"
  10388. #. type: table
  10389. #: guix-git/doc/guix.texi:4880 guix-git/doc/guix.texi:7273
  10390. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  10391. msgstr ""
  10392. #. type: table
  10393. #: guix-git/doc/guix.texi:4884
  10394. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  10395. msgstr ""
  10396. #. type: Plain text
  10397. #: guix-git/doc/guix.texi:4890
  10398. msgid "The @dfn{channel} mechanism allows you to instruct @command{guix pull} which repository and branch to pull from, as well as @emph{additional} repositories containing package modules that should be deployed. @xref{Channels}, for more information."
  10399. msgstr ""
  10400. #. type: Plain text
  10401. #: guix-git/doc/guix.texi:4893
  10402. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  10403. msgstr ""
  10404. #. type: section
  10405. #: guix-git/doc/guix.texi:4895
  10406. #, no-wrap
  10407. msgid "Invoking @command{guix time-machine}"
  10408. msgstr ""
  10409. #. type: command{#1}
  10410. #: guix-git/doc/guix.texi:4897
  10411. #, no-wrap
  10412. msgid "guix time-machine"
  10413. msgstr ""
  10414. #. type: cindex
  10415. #: guix-git/doc/guix.texi:4898 guix-git/doc/guix.texi:5513
  10416. #, no-wrap
  10417. msgid "pinning, channels"
  10418. msgstr ""
  10419. #. type: cindex
  10420. #: guix-git/doc/guix.texi:4899 guix-git/doc/guix.texi:5106
  10421. #: guix-git/doc/guix.texi:5514
  10422. #, no-wrap
  10423. msgid "replicating Guix"
  10424. msgstr ""
  10425. #. type: cindex
  10426. #: guix-git/doc/guix.texi:4900 guix-git/doc/guix.texi:5515
  10427. #, no-wrap
  10428. msgid "reproducibility, of Guix"
  10429. msgstr ""
  10430. #. type: Plain text
  10431. #: guix-git/doc/guix.texi:4908
  10432. msgid "The @command{guix time-machine} command provides access to other revisions of Guix, for example to install older versions of packages, or to reproduce a computation in an identical environment. The revision of Guix to be used is defined by a commit or by a channel description file created by @command{guix describe} (@pxref{Invoking guix describe})."
  10433. msgstr ""
  10434. #. type: Plain text
  10435. #: guix-git/doc/guix.texi:4912
  10436. msgid "Let's assume that you want to travel to those days of November 2020 when version 1.2.0 of Guix was released and, once you're there, run the @command{guile} of that time:"
  10437. msgstr ""
  10438. #. type: example
  10439. #: guix-git/doc/guix.texi:4916
  10440. #, no-wrap
  10441. msgid ""
  10442. "guix time-machine --commit=v1.2.0 -- \\\n"
  10443. " environment -C --ad-hoc guile -- guile\n"
  10444. msgstr ""
  10445. #. type: Plain text
  10446. #: guix-git/doc/guix.texi:4927
  10447. msgid "The command above fetches Guix@tie{}1.2.0 and runs its @command{guix environment} command to spawn an environment in a container running @command{guile} (@command{guix environment} has since been subsumed by @command{guix shell}; @pxref{Invoking guix shell}). It's like driving a DeLorean@footnote{If you don't know what a DeLorean is, consider traveling back to the 1980's.}! The first @command{guix time-machine} invocation can be expensive: it may have to download or even build a large number of packages; the result is cached though and subsequent commands targeting the same commit are almost instantaneous."
  10448. msgstr ""
  10449. #. type: quotation
  10450. #: guix-git/doc/guix.texi:4935
  10451. msgid "The history of Guix is immutable and @command{guix time-machine} provides the exact same software as they are in a specific Guix revision. Naturally, no security fixes are provided for old versions of Guix or its channels. A careless use of @command{guix time-machine} opens the door to security vulnerabilities. @xref{Invoking guix pull, @option{--allow-downgrades}}."
  10452. msgstr ""
  10453. #. type: Plain text
  10454. #: guix-git/doc/guix.texi:4938 guix-git/doc/guix.texi:6009
  10455. #: guix-git/doc/guix.texi:6536 guix-git/doc/guix.texi:7396
  10456. #: guix-git/doc/guix.texi:12239 guix-git/doc/guix.texi:12506
  10457. #: guix-git/doc/guix.texi:13550 guix-git/doc/guix.texi:13646
  10458. #: guix-git/doc/guix.texi:14683 guix-git/doc/guix.texi:14966
  10459. #: guix-git/doc/guix.texi:15469 guix-git/doc/guix.texi:15847
  10460. #: guix-git/doc/guix.texi:15943 guix-git/doc/guix.texi:15982
  10461. #: guix-git/doc/guix.texi:16080
  10462. msgid "The general syntax is:"
  10463. msgstr ""
  10464. #. type: example
  10465. #: guix-git/doc/guix.texi:4941
  10466. #, no-wrap
  10467. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  10468. msgstr ""
  10469. #. type: Plain text
  10470. #: guix-git/doc/guix.texi:4946
  10471. msgid "where @var{command} and @var{arg}@dots{} are passed unmodified to the @command{guix} command of the specified revision. The @var{options} that define this revision are the same as for @command{guix pull} (@pxref{Invoking guix pull}):"
  10472. msgstr ""
  10473. #. type: table
  10474. #: guix-git/doc/guix.texi:4954
  10475. msgid "Use the @code{guix} channel from the specified @var{url}, at the given @var{commit} (a valid Git commit ID represented as a hexadecimal string or the name of a tag), or @var{branch}."
  10476. msgstr ""
  10477. #. type: table
  10478. #: guix-git/doc/guix.texi:4960
  10479. msgid "Read the list of channels from @var{file}. @var{file} must contain Scheme code that evaluates to a list of channel objects. @xref{Channels} for more information."
  10480. msgstr ""
  10481. #. type: Plain text
  10482. #: guix-git/doc/guix.texi:4964
  10483. msgid "As for @command{guix pull}, the absence of any options means that the latest commit on the master branch will be used. The command"
  10484. msgstr ""
  10485. #. type: example
  10486. #: guix-git/doc/guix.texi:4967
  10487. #, no-wrap
  10488. msgid "guix time-machine -- build hello\n"
  10489. msgstr ""
  10490. #. type: Plain text
  10491. #: guix-git/doc/guix.texi:4972
  10492. msgid "will thus build the package @code{hello} as defined in the master branch, which is in general a newer revision of Guix than you have installed. Time travel works in both directions!"
  10493. msgstr ""
  10494. #. type: Plain text
  10495. #: guix-git/doc/guix.texi:4976
  10496. msgid "Note that @command{guix time-machine} can trigger builds of channels and their dependencies, and these are controlled by the standard build options (@pxref{Common Build Options})."
  10497. msgstr ""
  10498. #. type: quotation
  10499. #: guix-git/doc/guix.texi:4984
  10500. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  10501. msgstr ""
  10502. #. type: cindex
  10503. #: guix-git/doc/guix.texi:4986 guix-git/doc/guix.texi:12285
  10504. #, no-wrap
  10505. msgid "inferiors"
  10506. msgstr ""
  10507. #. type: cindex
  10508. #: guix-git/doc/guix.texi:4987
  10509. #, no-wrap
  10510. msgid "composition of Guix revisions"
  10511. msgstr ""
  10512. #. type: Plain text
  10513. #: guix-git/doc/guix.texi:4992
  10514. msgid "Sometimes you might need to mix packages from the revision of Guix you're currently running with packages available in a different revision of Guix. Guix @dfn{inferiors} allow you to achieve that by composing different Guix revisions in arbitrary ways."
  10515. msgstr ""
  10516. #. type: cindex
  10517. #: guix-git/doc/guix.texi:4993 guix-git/doc/guix.texi:5056
  10518. #, no-wrap
  10519. msgid "inferior packages"
  10520. msgstr ""
  10521. #. type: Plain text
  10522. #: guix-git/doc/guix.texi:4999
  10523. msgid "Technically, an ``inferior'' is essentially a separate Guix process connected to your main Guix process through a REPL (@pxref{Invoking guix repl}). The @code{(guix inferior)} module allows you to create inferiors and to communicate with them. It also provides a high-level interface to browse and manipulate the packages that an inferior provides---@dfn{inferior packages}."
  10524. msgstr ""
  10525. #. type: Plain text
  10526. #: guix-git/doc/guix.texi:5009
  10527. msgid "When combined with channels (@pxref{Channels}), inferiors provide a simple way to interact with a separate revision of Guix. For example, let's assume you want to install in your profile the current @code{guile} package, along with the @code{guile-json} as it existed in an older revision of Guix---perhaps because the newer @code{guile-json} has an incompatible API and you want to run your code against the old API@. To do that, you could write a manifest for use by @code{guix package --manifest} (@pxref{Writing Manifests}); in that manifest, you would create an inferior for that old Guix revision you care about, and you would look up the @code{guile-json} package in the inferior:"
  10528. msgstr ""
  10529. #. type: lisp
  10530. #: guix-git/doc/guix.texi:5013
  10531. #, no-wrap
  10532. msgid ""
  10533. "(use-modules (guix inferior) (guix channels)\n"
  10534. " (srfi srfi-1)) ;for 'first'\n"
  10535. "\n"
  10536. msgstr ""
  10537. #. type: lisp
  10538. #: guix-git/doc/guix.texi:5022
  10539. #, no-wrap
  10540. msgid ""
  10541. "(define channels\n"
  10542. " ;; This is the old revision from which we want to\n"
  10543. " ;; extract guile-json.\n"
  10544. " (list (channel\n"
  10545. " (name 'guix)\n"
  10546. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  10547. " (commit\n"
  10548. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  10549. "\n"
  10550. msgstr ""
  10551. #. type: lisp
  10552. #: guix-git/doc/guix.texi:5026
  10553. #, no-wrap
  10554. msgid ""
  10555. "(define inferior\n"
  10556. " ;; An inferior representing the above revision.\n"
  10557. " (inferior-for-channels channels))\n"
  10558. "\n"
  10559. msgstr ""
  10560. #. type: lisp
  10561. #: guix-git/doc/guix.texi:5032
  10562. #, no-wrap
  10563. msgid ""
  10564. ";; Now create a manifest with the current \"guile\" package\n"
  10565. ";; and the old \"guile-json\" package.\n"
  10566. "(packages->manifest\n"
  10567. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  10568. " (specification->package \"guile\")))\n"
  10569. msgstr ""
  10570. #. type: Plain text
  10571. #: guix-git/doc/guix.texi:5037
  10572. msgid "On its first run, @command{guix package --manifest} might have to build the channel you specified before it can create the inferior; subsequent runs will be much faster because the Guix revision will be cached."
  10573. msgstr ""
  10574. #. type: Plain text
  10575. #: guix-git/doc/guix.texi:5040
  10576. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  10577. msgstr ""
  10578. #. type: defun
  10579. #: guix-git/doc/guix.texi:5041
  10580. #, no-wrap
  10581. msgid "inferior-for-channels channels [#:cache-directory] [#:ttl]"
  10582. msgstr ""
  10583. #. type: defun
  10584. #: guix-git/doc/guix.texi:5045
  10585. msgid "Return an inferior for @var{channels}, a list of channels. Use the cache at @var{cache-directory}, where entries can be reclaimed after @var{ttl} seconds. This procedure opens a new connection to the build daemon."
  10586. msgstr ""
  10587. #. type: defun
  10588. #: guix-git/doc/guix.texi:5048
  10589. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  10590. msgstr ""
  10591. #. type: defun
  10592. #: guix-git/doc/guix.texi:5050
  10593. #, no-wrap
  10594. msgid "open-inferior directory [#:command \"bin/guix\"]"
  10595. msgstr ""
  10596. #. type: defun
  10597. #: guix-git/doc/guix.texi:5054
  10598. msgid "Open the inferior Guix in @var{directory}, running @code{@var{directory}/@var{command} repl} or equivalent. Return @code{#f} if the inferior could not be launched."
  10599. msgstr ""
  10600. #. type: Plain text
  10601. #: guix-git/doc/guix.texi:5059
  10602. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  10603. msgstr ""
  10604. #. type: defun
  10605. #: guix-git/doc/guix.texi:5060
  10606. #, no-wrap
  10607. msgid "inferior-packages inferior"
  10608. msgstr ""
  10609. #. type: defun
  10610. #: guix-git/doc/guix.texi:5062
  10611. msgid "Return the list of packages known to @var{inferior}."
  10612. msgstr ""
  10613. #. type: defun
  10614. #: guix-git/doc/guix.texi:5064
  10615. #, no-wrap
  10616. msgid "lookup-inferior-packages inferior name [version]"
  10617. msgstr ""
  10618. #. type: defun
  10619. #: guix-git/doc/guix.texi:5068
  10620. msgid "Return the sorted list of inferior packages matching @var{name} in @var{inferior}, with highest version numbers first. If @var{version} is true, return only packages with a version number prefixed by @var{version}."
  10621. msgstr ""
  10622. #. type: defun
  10623. #: guix-git/doc/guix.texi:5070
  10624. #, no-wrap
  10625. msgid "inferior-package? obj"
  10626. msgstr ""
  10627. #. type: defun
  10628. #: guix-git/doc/guix.texi:5072
  10629. msgid "Return true if @var{obj} is an inferior package."
  10630. msgstr ""
  10631. #. type: defun
  10632. #: guix-git/doc/guix.texi:5074
  10633. #, no-wrap
  10634. msgid "inferior-package-name package"
  10635. msgstr ""
  10636. #. type: defunx
  10637. #: guix-git/doc/guix.texi:5075
  10638. #, no-wrap
  10639. msgid "inferior-package-version package"
  10640. msgstr ""
  10641. #. type: defunx
  10642. #: guix-git/doc/guix.texi:5076
  10643. #, fuzzy, no-wrap
  10644. #| msgid "package synopsis"
  10645. msgid "inferior-package-synopsis package"
  10646. msgstr "sinopse do pacote"
  10647. #. type: defunx
  10648. #: guix-git/doc/guix.texi:5077
  10649. #, fuzzy, no-wrap
  10650. #| msgid "package description"
  10651. msgid "inferior-package-description package"
  10652. msgstr "descrição do pacote"
  10653. #. type: defunx
  10654. #: guix-git/doc/guix.texi:5078
  10655. #, no-wrap
  10656. msgid "inferior-package-home-page package"
  10657. msgstr ""
  10658. #. type: defunx
  10659. #: guix-git/doc/guix.texi:5079
  10660. #, no-wrap
  10661. msgid "inferior-package-location package"
  10662. msgstr ""
  10663. #. type: defunx
  10664. #: guix-git/doc/guix.texi:5080
  10665. #, no-wrap
  10666. msgid "inferior-package-inputs package"
  10667. msgstr ""
  10668. #. type: defunx
  10669. #: guix-git/doc/guix.texi:5081
  10670. #, no-wrap
  10671. msgid "inferior-package-native-inputs package"
  10672. msgstr ""
  10673. #. type: defunx
  10674. #: guix-git/doc/guix.texi:5082
  10675. #, no-wrap
  10676. msgid "inferior-package-propagated-inputs package"
  10677. msgstr ""
  10678. #. type: defunx
  10679. #: guix-git/doc/guix.texi:5083
  10680. #, no-wrap
  10681. msgid "inferior-package-transitive-propagated-inputs package"
  10682. msgstr ""
  10683. #. type: defunx
  10684. #: guix-git/doc/guix.texi:5084
  10685. #, no-wrap
  10686. msgid "inferior-package-native-search-paths package"
  10687. msgstr ""
  10688. #. type: defunx
  10689. #: guix-git/doc/guix.texi:5085
  10690. #, no-wrap
  10691. msgid "inferior-package-transitive-native-search-paths package"
  10692. msgstr ""
  10693. #. type: defunx
  10694. #: guix-git/doc/guix.texi:5086
  10695. #, no-wrap
  10696. msgid "inferior-package-search-paths package"
  10697. msgstr ""
  10698. #. type: defun
  10699. #: guix-git/doc/guix.texi:5091
  10700. msgid "These procedures are the counterpart of package record accessors (@pxref{package Reference}). Most of them work by querying the inferior @var{package} comes from, so the inferior must still be live when you call these procedures."
  10701. msgstr ""
  10702. #. type: Plain text
  10703. #: guix-git/doc/guix.texi:5101
  10704. msgid "Inferior packages can be used transparently like any other package or file-like object in G-expressions (@pxref{G-Expressions}). They are also transparently handled by the @code{packages->manifest} procedure, which is commonly used in manifests (@pxref{Invoking guix package, the @option{--manifest} option of @command{guix package}}). Thus you can insert an inferior package pretty much anywhere you would insert a regular package: in manifests, in the @code{packages} field of your @code{operating-system} declaration, and so on."
  10705. msgstr ""
  10706. #. type: section
  10707. #: guix-git/doc/guix.texi:5103
  10708. #, no-wrap
  10709. msgid "Invoking @command{guix describe}"
  10710. msgstr "Invocando @command{guix describe}"
  10711. #. type: command{#1}
  10712. #: guix-git/doc/guix.texi:5107
  10713. #, fuzzy, no-wrap
  10714. #| msgid "Invoking guix describe"
  10715. msgid "guix describe"
  10716. msgstr "guix home describe\n"
  10717. #. type: Plain text
  10718. #: guix-git/doc/guix.texi:5115
  10719. msgid "Often you may want to answer questions like: ``Which revision of Guix am I using?'' or ``Which channels am I using?'' This is useful information in many situations: if you want to @emph{replicate} an environment on a different machine or user account, if you want to report a bug or to determine what change in the channels you are using caused it, or if you want to record your system state for reproducibility purposes. The @command{guix describe} command answers these questions."
  10720. msgstr ""
  10721. #. type: Plain text
  10722. #: guix-git/doc/guix.texi:5119
  10723. msgid "When run from a @command{guix pull}ed @command{guix}, @command{guix describe} displays the channel(s) that it was built from, including their repository URL and commit IDs (@pxref{Channels}):"
  10724. msgstr ""
  10725. #. type: example
  10726. #: guix-git/doc/guix.texi:5127
  10727. #, no-wrap
  10728. msgid ""
  10729. "$ guix describe\n"
  10730. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  10731. " guix e0fa68c\n"
  10732. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  10733. " branch: master\n"
  10734. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  10735. msgstr ""
  10736. #. type: Plain text
  10737. #: guix-git/doc/guix.texi:5136
  10738. msgid "If you're familiar with the Git version control system, this is similar in spirit to @command{git describe}; the output is also similar to that of @command{guix pull --list-generations}, but limited to the current generation (@pxref{Invoking guix pull, the @option{--list-generations} option}). Because the Git commit ID shown above unambiguously refers to a snapshot of Guix, this information is all it takes to describe the revision of Guix you're using, and also to replicate it."
  10739. msgstr ""
  10740. #. type: Plain text
  10741. #: guix-git/doc/guix.texi:5139
  10742. msgid "To make it easier to replicate Guix, @command{guix describe} can also be asked to return a list of channels instead of the human-readable description above:"
  10743. msgstr ""
  10744. #. type: example
  10745. #: guix-git/doc/guix.texi:5152
  10746. #, no-wrap
  10747. msgid ""
  10748. "$ guix describe -f channels\n"
  10749. "(list (channel\n"
  10750. " (name 'guix)\n"
  10751. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  10752. " (commit\n"
  10753. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  10754. " (introduction\n"
  10755. " (make-channel-introduction\n"
  10756. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  10757. " (openpgp-fingerprint\n"
  10758. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  10759. msgstr ""
  10760. #. type: Plain text
  10761. #: guix-git/doc/guix.texi:5161
  10762. msgid "You can save this to a file and feed it to @command{guix pull -C} on some other machine or at a later point in time, which will instantiate @emph{this exact Guix revision} (@pxref{Invoking guix pull, the @option{-C} option}). From there on, since you're able to deploy the same revision of Guix, you can just as well @emph{replicate a complete software environment}. We humbly think that this is @emph{awesome}, and we hope you'll like it too!"
  10763. msgstr ""
  10764. #. type: Plain text
  10765. #: guix-git/doc/guix.texi:5164
  10766. msgid "The details of the options supported by @command{guix describe} are as follows:"
  10767. msgstr ""
  10768. #. type: item
  10769. #: guix-git/doc/guix.texi:5166 guix-git/doc/guix.texi:7021
  10770. #: guix-git/doc/guix.texi:16214
  10771. #, no-wrap
  10772. msgid "--format=@var{format}"
  10773. msgstr ""
  10774. #. type: itemx
  10775. #: guix-git/doc/guix.texi:5167 guix-git/doc/guix.texi:7022
  10776. #: guix-git/doc/guix.texi:16215
  10777. #, no-wrap
  10778. msgid "-f @var{format}"
  10779. msgstr ""
  10780. #. type: table
  10781. #: guix-git/doc/guix.texi:5169 guix-git/doc/guix.texi:16217
  10782. msgid "Produce output in the specified @var{format}, one of:"
  10783. msgstr ""
  10784. #. type: item
  10785. #: guix-git/doc/guix.texi:5171
  10786. #, no-wrap
  10787. msgid "human"
  10788. msgstr ""
  10789. #. type: table
  10790. #: guix-git/doc/guix.texi:5173
  10791. msgid "produce human-readable output;"
  10792. msgstr ""
  10793. #. type: cindex
  10794. #: guix-git/doc/guix.texi:5173 guix-git/doc/guix.texi:5393
  10795. #, no-wrap
  10796. msgid "channels"
  10797. msgstr ""
  10798. #. type: table
  10799. #: guix-git/doc/guix.texi:5177
  10800. msgid "produce a list of channel specifications that can be passed to @command{guix pull -C} or installed as @file{~/.config/guix/channels.scm} (@pxref{Invoking guix pull});"
  10801. msgstr ""
  10802. #. type: item
  10803. #: guix-git/doc/guix.texi:5177
  10804. #, no-wrap
  10805. msgid "channels-sans-intro"
  10806. msgstr ""
  10807. #. type: table
  10808. #: guix-git/doc/guix.texi:5183
  10809. msgid "like @code{channels}, but omit the @code{introduction} field; use it to produce a channel specification suitable for Guix version 1.1.0 or earlier---the @code{introduction} field has to do with channel authentication (@pxref{Channels, Channel Authentication}) and is not supported by these older versions;"
  10810. msgstr ""
  10811. #. type: item
  10812. #: guix-git/doc/guix.texi:5183 guix-git/doc/guix.texi:13873
  10813. #, no-wrap
  10814. msgid "json"
  10815. msgstr ""
  10816. #. type: cindex
  10817. #: guix-git/doc/guix.texi:5184
  10818. #, no-wrap
  10819. msgid "JSON"
  10820. msgstr ""
  10821. #. type: table
  10822. #: guix-git/doc/guix.texi:5186
  10823. msgid "produce a list of channel specifications in JSON format;"
  10824. msgstr ""
  10825. #. type: item
  10826. #: guix-git/doc/guix.texi:5186 guix-git/doc/guix.texi:16219
  10827. #, no-wrap
  10828. msgid "recutils"
  10829. msgstr ""
  10830. #. type: table
  10831. #: guix-git/doc/guix.texi:5188
  10832. msgid "produce a list of channel specifications in Recutils format."
  10833. msgstr ""
  10834. #. type: item
  10835. #: guix-git/doc/guix.texi:5190
  10836. #, no-wrap
  10837. msgid "--list-formats"
  10838. msgstr ""
  10839. #. type: table
  10840. #: guix-git/doc/guix.texi:5192
  10841. msgid "Display available formats for @option{--format} option."
  10842. msgstr ""
  10843. #. type: table
  10844. #: guix-git/doc/guix.texi:5196
  10845. msgid "Display information about @var{profile}."
  10846. msgstr ""
  10847. #. type: section
  10848. #: guix-git/doc/guix.texi:5199
  10849. #, no-wrap
  10850. msgid "Invoking @command{guix archive}"
  10851. msgstr "Invocando @command{guix archive}"
  10852. #. type: command{#1}
  10853. #: guix-git/doc/guix.texi:5201
  10854. #, no-wrap
  10855. msgid "guix archive"
  10856. msgstr ""
  10857. #. type: cindex
  10858. #: guix-git/doc/guix.texi:5202
  10859. #, no-wrap
  10860. msgid "archive"
  10861. msgstr "pacote"
  10862. #. type: cindex
  10863. #: guix-git/doc/guix.texi:5203
  10864. #, no-wrap
  10865. msgid "exporting files from the store"
  10866. msgstr ""
  10867. #. type: cindex
  10868. #: guix-git/doc/guix.texi:5204
  10869. #, no-wrap
  10870. msgid "importing files to the store"
  10871. msgstr ""
  10872. #. type: Plain text
  10873. #: guix-git/doc/guix.texi:5210
  10874. msgid "The @command{guix archive} command allows users to @dfn{export} files from the store into a single archive, and to later @dfn{import} them on a machine that runs Guix. In particular, it allows store files to be transferred from one machine to the store on another machine."
  10875. msgstr ""
  10876. #. type: quotation
  10877. #: guix-git/doc/guix.texi:5214
  10878. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  10879. msgstr ""
  10880. #. type: cindex
  10881. #: guix-git/doc/guix.texi:5216
  10882. #, no-wrap
  10883. msgid "exporting store items"
  10884. msgstr ""
  10885. #. type: Plain text
  10886. #: guix-git/doc/guix.texi:5218
  10887. msgid "To export store files as an archive to standard output, run:"
  10888. msgstr ""
  10889. #. type: example
  10890. #: guix-git/doc/guix.texi:5221
  10891. #, no-wrap
  10892. msgid "guix archive --export @var{options} @var{specifications}...\n"
  10893. msgstr ""
  10894. #. type: Plain text
  10895. #: guix-git/doc/guix.texi:5228
  10896. msgid "@var{specifications} may be either store file names or package specifications, as for @command{guix package} (@pxref{Invoking guix package}). For instance, the following command creates an archive containing the @code{gui} output of the @code{git} package and the main output of @code{emacs}:"
  10897. msgstr ""
  10898. #. type: example
  10899. #: guix-git/doc/guix.texi:5231
  10900. #, no-wrap
  10901. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  10902. msgstr ""
  10903. #. type: Plain text
  10904. #: guix-git/doc/guix.texi:5236
  10905. msgid "If the specified packages are not built yet, @command{guix archive} automatically builds them. The build process may be controlled with the common build options (@pxref{Common Build Options})."
  10906. msgstr ""
  10907. #. type: Plain text
  10908. #: guix-git/doc/guix.texi:5239
  10909. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  10910. msgstr ""
  10911. #. type: example
  10912. #: guix-git/doc/guix.texi:5242
  10913. #, no-wrap
  10914. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  10915. msgstr ""
  10916. #. type: Plain text
  10917. #: guix-git/doc/guix.texi:5247
  10918. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  10919. msgstr ""
  10920. #. type: example
  10921. #: guix-git/doc/guix.texi:5251
  10922. #, no-wrap
  10923. msgid ""
  10924. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  10925. " ssh the-machine guix archive --import\n"
  10926. msgstr ""
  10927. #. type: Plain text
  10928. #: guix-git/doc/guix.texi:5261
  10929. msgid "However, note that, in both examples, all of @code{emacs} and the profile as well as all of their dependencies are transferred (due to @option{-r}), regardless of what is already available in the store on the target machine. The @option{--missing} option can help figure out which items are missing from the target store. The @command{guix copy} command simplifies and optimizes this whole process, so this is probably what you should use in this case (@pxref{Invoking guix copy})."
  10930. msgstr ""
  10931. #. type: cindex
  10932. #: guix-git/doc/guix.texi:5262
  10933. #, no-wrap
  10934. msgid "nar, archive format"
  10935. msgstr ""
  10936. #. type: cindex
  10937. #: guix-git/doc/guix.texi:5263
  10938. #, no-wrap
  10939. msgid "normalized archive (nar)"
  10940. msgstr ""
  10941. #. type: cindex
  10942. #: guix-git/doc/guix.texi:5264
  10943. #, no-wrap
  10944. msgid "nar bundle, archive format"
  10945. msgstr ""
  10946. #. type: Plain text
  10947. #: guix-git/doc/guix.texi:5269
  10948. msgid "Each store item is written in the @dfn{normalized archive} or @dfn{nar} format (described below), and the output of @command{guix archive --export} (and input of @command{guix archive --import}) is a @dfn{nar bundle}."
  10949. msgstr ""
  10950. #. type: Plain text
  10951. #: guix-git/doc/guix.texi:5279
  10952. msgid "The nar format is comparable in spirit to `tar', but with differences that make it more appropriate for our purposes. First, rather than recording all Unix metadata for each file, the nar format only mentions the file type (regular, directory, or symbolic link); Unix permissions and owner/group are dismissed. Second, the order in which directory entries are stored always follows the order of file names according to the C locale collation order. This makes archive production fully deterministic."
  10953. msgstr ""
  10954. #. type: Plain text
  10955. #: guix-git/doc/guix.texi:5283
  10956. msgid "That nar bundle format is essentially the concatenation of zero or more nars along with metadata for each store item it contains: its file name, references, corresponding derivation, and a digital signature."
  10957. msgstr ""
  10958. #. type: Plain text
  10959. #: guix-git/doc/guix.texi:5289
  10960. msgid "When exporting, the daemon digitally signs the contents of the archive, and that digital signature is appended. When importing, the daemon verifies the signature and rejects the import in case of an invalid signature or if the signing key is not authorized."
  10961. msgstr ""
  10962. #. type: Plain text
  10963. #: guix-git/doc/guix.texi:5291
  10964. msgid "The main options are:"
  10965. msgstr ""
  10966. #. type: item
  10967. #: guix-git/doc/guix.texi:5293
  10968. #, no-wrap
  10969. msgid "--export"
  10970. msgstr ""
  10971. #. type: table
  10972. #: guix-git/doc/guix.texi:5296
  10973. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  10974. msgstr ""
  10975. #. type: table
  10976. #: guix-git/doc/guix.texi:5299
  10977. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  10978. msgstr ""
  10979. #. type: itemx
  10980. #: guix-git/doc/guix.texi:5300 guix-git/doc/guix.texi:13583
  10981. #: guix-git/doc/guix.texi:13710 guix-git/doc/guix.texi:13741
  10982. #: guix-git/doc/guix.texi:13773 guix-git/doc/guix.texi:13948
  10983. #: guix-git/doc/guix.texi:13989 guix-git/doc/guix.texi:14040
  10984. #: guix-git/doc/guix.texi:14065 guix-git/doc/guix.texi:14090
  10985. #: guix-git/doc/guix.texi:14106 guix-git/doc/guix.texi:14154
  10986. #: guix-git/doc/guix.texi:14190 guix-git/doc/guix.texi:14217
  10987. #: guix-git/doc/guix.texi:45058
  10988. #, no-wrap
  10989. msgid "-r"
  10990. msgstr ""
  10991. #. type: item
  10992. #: guix-git/doc/guix.texi:5301 guix-git/doc/guix.texi:13582
  10993. #: guix-git/doc/guix.texi:13709 guix-git/doc/guix.texi:13740
  10994. #: guix-git/doc/guix.texi:13772 guix-git/doc/guix.texi:13947
  10995. #: guix-git/doc/guix.texi:13988 guix-git/doc/guix.texi:14039
  10996. #: guix-git/doc/guix.texi:14064 guix-git/doc/guix.texi:14089
  10997. #: guix-git/doc/guix.texi:14105 guix-git/doc/guix.texi:14153
  10998. #: guix-git/doc/guix.texi:14189 guix-git/doc/guix.texi:14216
  10999. #: guix-git/doc/guix.texi:14265 guix-git/doc/guix.texi:45057
  11000. #, no-wrap
  11001. msgid "--recursive"
  11002. msgstr ""
  11003. #. type: table
  11004. #: guix-git/doc/guix.texi:5306
  11005. msgid "When combined with @option{--export}, this instructs @command{guix archive} to include dependencies of the given items in the archive. Thus, the resulting archive is self-contained: it contains the closure of the exported store items."
  11006. msgstr ""
  11007. #. type: item
  11008. #: guix-git/doc/guix.texi:5307
  11009. #, no-wrap
  11010. msgid "--import"
  11011. msgstr ""
  11012. #. type: table
  11013. #: guix-git/doc/guix.texi:5312
  11014. msgid "Read an archive from the standard input, and import the files listed therein into the store. Abort if the archive has an invalid digital signature, or if it is signed by a public key not among the authorized keys (see @option{--authorize} below)."
  11015. msgstr ""
  11016. #. type: item
  11017. #: guix-git/doc/guix.texi:5313
  11018. #, no-wrap
  11019. msgid "--missing"
  11020. msgstr ""
  11021. #. type: table
  11022. #: guix-git/doc/guix.texi:5317
  11023. msgid "Read a list of store file names from the standard input, one per line, and write on the standard output the subset of these files missing from the store."
  11024. msgstr ""
  11025. #. type: item
  11026. #: guix-git/doc/guix.texi:5318
  11027. #, no-wrap
  11028. msgid "--generate-key[=@var{parameters}]"
  11029. msgstr ""
  11030. #. type: cindex
  11031. #: guix-git/doc/guix.texi:5319
  11032. #, no-wrap
  11033. msgid "signing, archives"
  11034. msgstr ""
  11035. #. type: table
  11036. #: guix-git/doc/guix.texi:5326
  11037. msgid "Generate a new key pair for the daemon. This is a prerequisite before archives can be exported with @option{--export}. This operation is usually instantaneous but it can take time if the system's entropy pool needs to be refilled. On Guix System, @code{guix-service-type} takes care of generating this key pair the first boot."
  11038. msgstr ""
  11039. #. type: table
  11040. #: guix-git/doc/guix.texi:5336
  11041. msgid "The generated key pair is typically stored under @file{/etc/guix}, in @file{signing-key.pub} (public key) and @file{signing-key.sec} (private key, which must be kept secret). When @var{parameters} is omitted, an ECDSA key using the Ed25519 curve is generated, or, for Libgcrypt versions before 1.6.0, it is a 4096-bit RSA key. Alternatively, @var{parameters} can specify @code{genkey} parameters suitable for Libgcrypt (@pxref{General public-key related Functions, @code{gcry_pk_genkey},, gcrypt, The Libgcrypt Reference Manual})."
  11042. msgstr ""
  11043. #. type: item
  11044. #: guix-git/doc/guix.texi:5337
  11045. #, no-wrap
  11046. msgid "--authorize"
  11047. msgstr ""
  11048. #. type: cindex
  11049. #: guix-git/doc/guix.texi:5338
  11050. #, no-wrap
  11051. msgid "authorizing, archives"
  11052. msgstr ""
  11053. #. type: table
  11054. #: guix-git/doc/guix.texi:5342
  11055. msgid "Authorize imports signed by the public key passed on standard input. The public key must be in ``s-expression advanced format''---i.e., the same format as the @file{signing-key.pub} file."
  11056. msgstr ""
  11057. #. type: table
  11058. #: guix-git/doc/guix.texi:5349
  11059. msgid "The list of authorized keys is kept in the human-editable file @file{/etc/guix/acl}. The file contains @url{https://people.csail.mit.edu/rivest/Sexp.txt, ``advanced-format s-expressions''} and is structured as an access-control list in the @url{https://theworld.com/~cme/spki.txt, Simple Public-Key Infrastructure (SPKI)}."
  11060. msgstr ""
  11061. #. type: item
  11062. #: guix-git/doc/guix.texi:5350
  11063. #, no-wrap
  11064. msgid "--extract=@var{directory}"
  11065. msgstr ""
  11066. #. type: itemx
  11067. #: guix-git/doc/guix.texi:5351
  11068. #, no-wrap
  11069. msgid "-x @var{directory}"
  11070. msgstr ""
  11071. #. type: table
  11072. #: guix-git/doc/guix.texi:5355
  11073. msgid "Read a single-item archive as served by substitute servers (@pxref{Substitutes}) and extract it to @var{directory}. This is a low-level operation needed in only very narrow use cases; see below."
  11074. msgstr ""
  11075. #. type: table
  11076. #: guix-git/doc/guix.texi:5358
  11077. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER-1}} to @file{/tmp/emacs}:"
  11078. msgstr ""
  11079. #. type: example
  11080. #: guix-git/doc/guix.texi:5363
  11081. #, no-wrap
  11082. msgid ""
  11083. "$ wget -O - \\\n"
  11084. " https://@value{SUBSTITUTE-SERVER-1}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  11085. " | gunzip | guix archive -x /tmp/emacs\n"
  11086. msgstr ""
  11087. #. type: table
  11088. #: guix-git/doc/guix.texi:5370
  11089. msgid "Single-item archives are different from multiple-item archives produced by @command{guix archive --export}; they contain a single store item, and they do @emph{not} embed a signature. Thus this operation does @emph{no} signature verification and its output should be considered unsafe."
  11090. msgstr ""
  11091. #. type: table
  11092. #: guix-git/doc/guix.texi:5374
  11093. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  11094. msgstr ""
  11095. #. type: item
  11096. #: guix-git/doc/guix.texi:5375
  11097. #, no-wrap
  11098. msgid "--list"
  11099. msgstr ""
  11100. #. type: itemx
  11101. #: guix-git/doc/guix.texi:5376 guix-git/doc/guix.texi:13935
  11102. #: guix-git/doc/guix.texi:13982
  11103. #, no-wrap
  11104. msgid "-t"
  11105. msgstr ""
  11106. #. type: table
  11107. #: guix-git/doc/guix.texi:5380
  11108. msgid "Read a single-item archive as served by substitute servers (@pxref{Substitutes}) and print the list of files it contains, as in this example:"
  11109. msgstr ""
  11110. #. type: example
  11111. #: guix-git/doc/guix.texi:5385
  11112. #, no-wrap
  11113. msgid ""
  11114. "$ wget -O - \\\n"
  11115. " https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  11116. " | lzip -d | guix archive -t\n"
  11117. msgstr ""
  11118. #. type: cindex
  11119. #: guix-git/doc/guix.texi:5396
  11120. #, no-wrap
  11121. msgid "@command{guix pull}, configuration file"
  11122. msgstr ""
  11123. #. type: cindex
  11124. #: guix-git/doc/guix.texi:5397
  11125. #, no-wrap
  11126. msgid "configuration of @command{guix pull}"
  11127. msgstr ""
  11128. #. type: Plain text
  11129. #: guix-git/doc/guix.texi:5408
  11130. msgid "Guix and its package collection are updated by running @command{guix pull} (@pxref{Invoking guix pull}). By default @command{guix pull} downloads and deploys Guix itself from the official GNU@tie{}Guix repository. This can be customized by defining @dfn{channels} in the @file{~/.config/guix/channels.scm} file. A channel specifies a URL and branch of a Git repository to be deployed, and @command{guix pull} can be instructed to pull from one or more channels. In other words, channels can be used to @emph{customize} and to @emph{extend} Guix, as we will see below. Guix is able to take into account security concerns and deal with authenticated updates."
  11131. msgstr ""
  11132. #. type: cindex
  11133. #: guix-git/doc/guix.texi:5426
  11134. #, no-wrap
  11135. msgid "extending the package collection (channels)"
  11136. msgstr ""
  11137. #. type: cindex
  11138. #: guix-git/doc/guix.texi:5427
  11139. #, no-wrap
  11140. msgid "variant packages (channels)"
  11141. msgstr ""
  11142. #. type: Plain text
  11143. #: guix-git/doc/guix.texi:5431
  11144. msgid "You can specify @emph{additional channels} to pull from. To use a channel, write @code{~/.config/guix/channels.scm} to instruct @command{guix pull} to pull from it @emph{in addition} to the default Guix channel(s):"
  11145. msgstr ""
  11146. #. type: vindex
  11147. #: guix-git/doc/guix.texi:5432
  11148. #, no-wrap
  11149. msgid "%default-channels"
  11150. msgstr ""
  11151. #. type: lisp
  11152. #: guix-git/doc/guix.texi:5439
  11153. #, no-wrap
  11154. msgid ""
  11155. ";; Add variant packages to those Guix provides.\n"
  11156. "(cons (channel\n"
  11157. " (name 'variant-packages)\n"
  11158. " (url \"https://example.org/variant-packages.git\"))\n"
  11159. " %default-channels)\n"
  11160. msgstr ""
  11161. #. type: Plain text
  11162. #: guix-git/doc/guix.texi:5449
  11163. msgid "Note that the snippet above is (as always!)@: Scheme code; we use @code{cons} to add a channel the list of channels that the variable @code{%default-channels} is bound to (@pxref{Pairs, @code{cons} and lists,, guile, GNU Guile Reference Manual}). With this file in place, @command{guix pull} builds not only Guix but also the package modules from your own repository. The result in @file{~/.config/guix/current} is the union of Guix with your own package modules:"
  11164. msgstr ""
  11165. #. type: example
  11166. #: guix-git/doc/guix.texi:5461
  11167. #, no-wrap
  11168. msgid ""
  11169. "$ guix describe\n"
  11170. "Generation 19\tAug 27 2018 16:20:48\n"
  11171. " guix d894ab8\n"
  11172. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  11173. " branch: master\n"
  11174. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  11175. " variant-packages dd3df5e\n"
  11176. " repository URL: https://example.org/variant-packages.git\n"
  11177. " branch: master\n"
  11178. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  11179. msgstr ""
  11180. #. type: Plain text
  11181. #: guix-git/doc/guix.texi:5468
  11182. msgid "The output of @command{guix describe} above shows that we're now running Generation@tie{}19 and that it includes both Guix and packages from the @code{variant-personal-packages} channel (@pxref{Invoking guix describe})."
  11183. msgstr ""
  11184. #. type: Plain text
  11185. #: guix-git/doc/guix.texi:5477
  11186. msgid "The channel called @code{guix} specifies where Guix itself---its command-line tools as well as its package collection---should be downloaded. For instance, suppose you want to update from another copy of the Guix repository at @code{example.org}, and specifically the @code{super-hacks} branch, you can write in @code{~/.config/guix/channels.scm} this specification:"
  11187. msgstr ""
  11188. #. type: lisp
  11189. #: guix-git/doc/guix.texi:5484
  11190. #, no-wrap
  11191. msgid ""
  11192. ";; Tell 'guix pull' to use another repo.\n"
  11193. "(list (channel\n"
  11194. " (name 'guix)\n"
  11195. " (url \"https://example.org/another-guix.git\")\n"
  11196. " (branch \"super-hacks\")))\n"
  11197. msgstr ""
  11198. #. type: Plain text
  11199. #: guix-git/doc/guix.texi:5490
  11200. msgid "From there on, @command{guix pull} will fetch code from the @code{super-hacks} branch of the repository at @code{example.org}. The authentication concern is addressed below (@pxref{Channel Authentication})."
  11201. msgstr ""
  11202. #. type: Plain text
  11203. #: guix-git/doc/guix.texi:5500
  11204. msgid "Note that you can specify a local directory on the @code{url} field above if the channel that you intend to use resides on a local file system. However, in this case @command{guix} checks said directory for ownership before any further processing. This means that if the user is not the directory owner, but wants to use it as their default, they will then need to set it as a safe directory in their global git configuration file. Otherwise, @command{guix} will refuse to even read it. Supposing your system-wide local directory is at @code{/src/guix.git}, you would then create a git configuration file at @code{~/.gitconfig} with the following contents:"
  11205. msgstr ""
  11206. #. type: example
  11207. #: guix-git/doc/guix.texi:5504
  11208. #, no-wrap
  11209. msgid ""
  11210. "[safe]\n"
  11211. " directory = /src/guix.git\n"
  11212. msgstr ""
  11213. #. type: Plain text
  11214. #: guix-git/doc/guix.texi:5509
  11215. msgid "This also applies to the root user unless when called with @command{sudo} by the directory owner."
  11216. msgstr ""
  11217. #. type: Plain text
  11218. #: guix-git/doc/guix.texi:5521
  11219. msgid "The @command{guix describe} command shows precisely which commits were used to build the instance of Guix we're using (@pxref{Invoking guix describe}). We can replicate this instance on another machine or at a different point in time by providing a channel specification ``pinned'' to these commits that looks like this:"
  11220. msgstr ""
  11221. #. type: lisp
  11222. #: guix-git/doc/guix.texi:5532
  11223. #, no-wrap
  11224. msgid ""
  11225. ";; Deploy specific commits of my channels of interest.\n"
  11226. "(list (channel\n"
  11227. " (name 'guix)\n"
  11228. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  11229. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  11230. " (channel\n"
  11231. " (name 'variant-packages)\n"
  11232. " (url \"https://example.org/variant-packages.git\")\n"
  11233. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  11234. msgstr ""
  11235. #. type: Plain text
  11236. #: guix-git/doc/guix.texi:5537
  11237. msgid "To obtain this pinned channel specification, the easiest way is to run @command{guix describe} and to save its output in the @code{channels} format in a file, like so:"
  11238. msgstr ""
  11239. #. type: example
  11240. #: guix-git/doc/guix.texi:5540
  11241. #, no-wrap
  11242. msgid "guix describe -f channels > channels.scm\n"
  11243. msgstr ""
  11244. #. type: Plain text
  11245. #: guix-git/doc/guix.texi:5546
  11246. msgid "The resulting @file{channels.scm} file can be passed to the @option{-C} option of @command{guix pull} (@pxref{Invoking guix pull}) or @command{guix time-machine} (@pxref{Invoking guix time-machine}), as in this example:"
  11247. msgstr ""
  11248. #. type: example
  11249. #: guix-git/doc/guix.texi:5549
  11250. #, no-wrap
  11251. msgid "guix time-machine -C channels.scm -- shell python -- python3\n"
  11252. msgstr ""
  11253. #. type: Plain text
  11254. #: guix-git/doc/guix.texi:5555
  11255. msgid "Given the @file{channels.scm} file, the command above will always fetch the @emph{exact same Guix instance}, then use that instance to run the exact same Python (@pxref{Invoking guix shell}). On any machine, at any time, it ends up running the exact same binaries, bit for bit."
  11256. msgstr ""
  11257. #. type: cindex
  11258. #: guix-git/doc/guix.texi:5556
  11259. #, no-wrap
  11260. msgid "lock files"
  11261. msgstr ""
  11262. #. type: Plain text
  11263. #: guix-git/doc/guix.texi:5564
  11264. msgid "Pinned channels address a problem similar to ``lock files'' as implemented by some deployment tools---they let you pin and reproduce a set of packages. In the case of Guix though, you are effectively pinning the entire package set as defined at the given channel commits; in fact, you are pinning all of Guix, including its core modules and command-line tools. You're also getting strong guarantees that you are, indeed, obtaining the exact same software."
  11265. msgstr ""
  11266. #. type: Plain text
  11267. #: guix-git/doc/guix.texi:5569
  11268. msgid "This gives you super powers, allowing you to track the provenance of binary artifacts with very fine grain, and to reproduce software environments at will---some sort of ``meta reproducibility'' capabilities, if you will. @xref{Inferiors}, for another way to take advantage of these super powers."
  11269. msgstr ""
  11270. #. type: anchor{#1}
  11271. #: guix-git/doc/guix.texi:5574
  11272. msgid "channel-authentication"
  11273. msgstr ""
  11274. #. type: Plain text
  11275. #: guix-git/doc/guix.texi:5580
  11276. msgid "The @command{guix pull} and @command{guix time-machine} commands @dfn{authenticate} the code retrieved from channels: they make sure each commit that is fetched is signed by an authorized developer. The goal is to protect from unauthorized modifications to the channel that would lead users to run malicious code."
  11277. msgstr ""
  11278. #. type: Plain text
  11279. #: guix-git/doc/guix.texi:5585
  11280. msgid "As a user, you must provide a @dfn{channel introduction} in your channels file so that Guix knows how to authenticate its first commit. A channel specification, including its introduction, looks something along these lines:"
  11281. msgstr ""
  11282. #. type: lisp
  11283. #: guix-git/doc/guix.texi:5595
  11284. #, no-wrap
  11285. msgid ""
  11286. "(channel\n"
  11287. " (name 'some-channel)\n"
  11288. " (url \"https://example.org/some-channel.git\")\n"
  11289. " (introduction\n"
  11290. " (make-channel-introduction\n"
  11291. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  11292. " (openpgp-fingerprint\n"
  11293. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  11294. msgstr ""
  11295. #. type: Plain text
  11296. #: guix-git/doc/guix.texi:5601
  11297. msgid "The specification above shows the name and URL of the channel. The call to @code{make-channel-introduction} above specifies that authentication of this channel starts at commit @code{6f0d8cc@dots{}}, which is signed by the OpenPGP key with fingerprint @code{CABB A931@dots{}}."
  11298. msgstr ""
  11299. #. type: Plain text
  11300. #: guix-git/doc/guix.texi:5607
  11301. msgid "For the main channel, called @code{guix}, you automatically get that information from your Guix installation. For other channels, include the channel introduction provided by the channel authors in your @file{channels.scm} file. Make sure you retrieve the channel introduction from a trusted source since that is the root of your trust."
  11302. msgstr ""
  11303. #. type: Plain text
  11304. #: guix-git/doc/guix.texi:5609
  11305. msgid "If you're curious about the authentication mechanics, read on!"
  11306. msgstr ""
  11307. #. type: Plain text
  11308. #: guix-git/doc/guix.texi:5620
  11309. msgid "When running @command{guix pull}, Guix will first compile the definitions of every available package. This is an expensive operation for which substitutes (@pxref{Substitutes}) may be available. The following snippet in @file{channels.scm} will ensure that @command{guix pull} uses the latest commit with available substitutes for the package definitions: this is done by querying the continuous integration server at @url{https://ci.guix.gnu.org}."
  11310. msgstr ""
  11311. #. type: lisp
  11312. #: guix-git/doc/guix.texi:5623
  11313. #, no-wrap
  11314. msgid ""
  11315. "(use-modules (guix ci))\n"
  11316. "\n"
  11317. msgstr ""
  11318. #. type: lisp
  11319. #: guix-git/doc/guix.texi:5627
  11320. #, no-wrap
  11321. msgid ""
  11322. "(list (channel-with-substitutes-available\n"
  11323. " %default-guix-channel\n"
  11324. " \"https://ci.guix.gnu.org\"))\n"
  11325. msgstr ""
  11326. #. type: Plain text
  11327. #: guix-git/doc/guix.texi:5634
  11328. msgid "Note that this does not mean that all the packages that you will install after running @command{guix pull} will have available substitutes. It only ensures that @command{guix pull} will not try to compile package definitions. This is particularly useful when using machines with limited resources."
  11329. msgstr ""
  11330. #. type: cindex
  11331. #: guix-git/doc/guix.texi:5638
  11332. #, no-wrap
  11333. msgid "personal packages (channels)"
  11334. msgstr ""
  11335. #. type: cindex
  11336. #: guix-git/doc/guix.texi:5639
  11337. #, no-wrap
  11338. msgid "channels, for personal packages"
  11339. msgstr ""
  11340. #. type: Plain text
  11341. #: guix-git/doc/guix.texi:5647
  11342. msgid "Let's say you have a bunch of custom package variants or personal packages that you think would make little sense to contribute to the Guix project, but would like to have these packages transparently available to you at the command line. You would first write modules containing those package definitions (@pxref{Package Modules}), maintain them in a Git repository, and then you and anyone else can use it as an additional channel to get packages from. Neat, no?"
  11343. msgstr ""
  11344. #. type: quotation
  11345. #: guix-git/doc/guix.texi:5655
  11346. msgid "Before you, dear user, shout---``woow this is @emph{soooo coool}!''---and publish your personal channel to the world, we would like to share a few words of caution:"
  11347. msgstr ""
  11348. #. type: itemize
  11349. #: guix-git/doc/guix.texi:5663
  11350. msgid "Before publishing a channel, please consider contributing your package definitions to Guix proper (@pxref{Contributing}). Guix as a project is open to free software of all sorts, and packages in Guix proper are readily available to all Guix users and benefit from the project's quality assurance process."
  11351. msgstr ""
  11352. #. type: itemize
  11353. #: guix-git/doc/guix.texi:5672
  11354. msgid "When you maintain package definitions outside Guix, we, Guix developers, consider that @emph{the compatibility burden is on you}. Remember that package modules and package definitions are just Scheme code that uses various programming interfaces (APIs). We want to remain free to change these APIs to keep improving Guix, possibly in ways that break your channel. We never change APIs gratuitously, but we will @emph{not} commit to freezing APIs either."
  11355. msgstr ""
  11356. #. type: itemize
  11357. #: guix-git/doc/guix.texi:5676
  11358. msgid "Corollary: if you're using an external channel and that channel breaks, please @emph{report the issue to the channel authors}, not to the Guix project."
  11359. msgstr ""
  11360. #. type: quotation
  11361. #: guix-git/doc/guix.texi:5683
  11362. msgid "You've been warned! Having said this, we believe external channels are a practical way to exert your freedom to augment Guix' package collection and to share your improvements, which are basic tenets of @uref{https://www.gnu.org/philosophy/free-sw.html, free software}. Please email us at @email{guix-devel@@gnu.org} if you'd like to discuss this."
  11363. msgstr ""
  11364. #. type: Plain text
  11365. #: guix-git/doc/guix.texi:5695
  11366. msgid "To create a channel, create a Git repository containing your own package modules and make it available. The repository can contain anything, but a useful channel will contain Guile modules that export packages. Once you start using a channel, Guix will behave as if the root directory of that channel's Git repository has been added to the Guile load path (@pxref{Load Paths,,, guile, GNU Guile Reference Manual}). For example, if your channel contains a file at @file{my-packages/my-tools.scm} that defines a Guile module, then the module will be available under the name @code{(my-packages my-tools)}, and you will be able to use it like any other module (@pxref{Modules,,, guile, GNU Guile Reference Manual})."
  11367. msgstr ""
  11368. #. type: Plain text
  11369. #: guix-git/doc/guix.texi:5700
  11370. msgid "As a channel author, consider bundling authentication material with your channel so that users can authenticate it. @xref{Channel Authentication}, and @ref{Specifying Channel Authorizations}, for info on how to do it."
  11371. msgstr ""
  11372. #. type: cindex
  11373. #: guix-git/doc/guix.texi:5705
  11374. #, no-wrap
  11375. msgid "subdirectory, channels"
  11376. msgstr ""
  11377. #. type: Plain text
  11378. #: guix-git/doc/guix.texi:5709
  11379. msgid "As a channel author, you may want to keep your channel modules in a sub-directory. If your modules are in the sub-directory @file{guix}, you must add a meta-data file @file{.guix-channel} that contains:"
  11380. msgstr ""
  11381. #. type: lisp
  11382. #: guix-git/doc/guix.texi:5714
  11383. #, no-wrap
  11384. msgid ""
  11385. "(channel\n"
  11386. " (version 0)\n"
  11387. " (directory \"guix\"))\n"
  11388. msgstr ""
  11389. #. type: Plain text
  11390. #: guix-git/doc/guix.texi:5721
  11391. msgid "The modules must be @b{underneath} the specified directory, as the @code{directory} changes Guile's @code{load-path}. For example, if @file{.guix-channel} has @code{(directory \"base\")}, then a module defined as @code{(define-module (gnu packages fun))} must be located at @code{base/gnu/packages/fun.scm}."
  11392. msgstr ""
  11393. #. type: Plain text
  11394. #: guix-git/doc/guix.texi:5727
  11395. msgid "Doing this allows for only parts of a repository to be used as a channel, as Guix expects valid Guile modules when pulling. For instance, @command{guix deploy} machine configuration files are not valid Guile modules, and treating them as such would make @command{guix pull} fail."
  11396. msgstr ""
  11397. #. type: cindex
  11398. #: guix-git/doc/guix.texi:5731
  11399. #, no-wrap
  11400. msgid "dependencies, channels"
  11401. msgstr ""
  11402. #. type: cindex
  11403. #: guix-git/doc/guix.texi:5732
  11404. #, no-wrap
  11405. msgid "meta-data, channels"
  11406. msgstr ""
  11407. #. type: Plain text
  11408. #: guix-git/doc/guix.texi:5737
  11409. msgid "Channel authors may decide to augment a package collection provided by other channels. They can declare their channel to be dependent on other channels in a meta-data file @file{.guix-channel}, which is to be placed in the root of the channel repository."
  11410. msgstr ""
  11411. #. type: Plain text
  11412. #: guix-git/doc/guix.texi:5739
  11413. msgid "The meta-data file should contain a simple S-expression like this:"
  11414. msgstr ""
  11415. #. type: lisp
  11416. #: guix-git/doc/guix.texi:5747
  11417. #, no-wrap
  11418. msgid ""
  11419. "(channel\n"
  11420. " (version 0)\n"
  11421. " (dependencies\n"
  11422. " (channel\n"
  11423. " (name some-collection)\n"
  11424. " (url \"https://example.org/first-collection.git\")\n"
  11425. "\n"
  11426. msgstr ""
  11427. #. type: lisp
  11428. #: guix-git/doc/guix.texi:5759
  11429. #, no-wrap
  11430. msgid ""
  11431. " ;; The 'introduction' bit below is optional: you would\n"
  11432. " ;; provide it for dependencies that can be authenticated.\n"
  11433. " (introduction\n"
  11434. " (channel-introduction\n"
  11435. " (version 0)\n"
  11436. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  11437. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  11438. " (channel\n"
  11439. " (name some-other-collection)\n"
  11440. " (url \"https://example.org/second-collection.git\")\n"
  11441. " (branch \"testing\"))))\n"
  11442. msgstr ""
  11443. #. type: Plain text
  11444. #: guix-git/doc/guix.texi:5765
  11445. msgid "In the above example this channel is declared to depend on two other channels, which will both be fetched automatically. The modules provided by the channel will be compiled in an environment where the modules of all these declared channels are available."
  11446. msgstr ""
  11447. #. type: Plain text
  11448. #: guix-git/doc/guix.texi:5769
  11449. msgid "For the sake of reliability and maintainability, you should avoid dependencies on channels that you don't control, and you should aim to keep the number of dependencies to a minimum."
  11450. msgstr ""
  11451. #. type: cindex
  11452. #: guix-git/doc/guix.texi:5773
  11453. #, no-wrap
  11454. msgid "channel authorizations"
  11455. msgstr ""
  11456. #. type: anchor{#1}
  11457. #: guix-git/doc/guix.texi:5787
  11458. msgid "channel-authorizations"
  11459. msgstr ""
  11460. #. type: Plain text
  11461. #: guix-git/doc/guix.texi:5787
  11462. msgid "As we saw above, Guix ensures the source code it pulls from channels comes from authorized developers. As a channel author, you need to specify the list of authorized developers in the @file{.guix-authorizations} file in the channel's Git repository. The authentication rule is simple: each commit must be signed by a key listed in the @file{.guix-authorizations} file of its parent commit(s)@footnote{Git commits form a @dfn{directed acyclic graph} (DAG). Each commit can have zero or more parents; ``regular'' commits have one parent and merge commits have two parent commits. Read @uref{https://eagain.net/articles/git-for-computer-scientists/, @i{Git for Computer Scientists}} for a great overview.} The @file{.guix-authorizations} file looks like this:"
  11463. msgstr ""
  11464. #. type: lisp
  11465. #: guix-git/doc/guix.texi:5790
  11466. #, no-wrap
  11467. msgid ""
  11468. ";; Example '.guix-authorizations' file.\n"
  11469. "\n"
  11470. msgstr ""
  11471. #. type: lisp
  11472. #: guix-git/doc/guix.texi:5793
  11473. #, no-wrap
  11474. msgid ""
  11475. "(authorizations\n"
  11476. " (version 0) ;current file format version\n"
  11477. "\n"
  11478. msgstr ""
  11479. #. type: lisp
  11480. #: guix-git/doc/guix.texi:5800
  11481. #, no-wrap
  11482. msgid ""
  11483. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  11484. " (name \"alice\"))\n"
  11485. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  11486. " (name \"bob\"))\n"
  11487. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  11488. " (name \"charlie\"))))\n"
  11489. msgstr ""
  11490. #. type: Plain text
  11491. #: guix-git/doc/guix.texi:5804
  11492. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  11493. msgstr ""
  11494. #. type: Plain text
  11495. #: guix-git/doc/guix.texi:5809
  11496. msgid "This authentication rule creates a chicken-and-egg issue: how do we authenticate the first commit? Related to that: how do we deal with channels whose repository history contains unsigned commits and lack @file{.guix-authorizations}? And how do we fork existing channels?"
  11497. msgstr ""
  11498. #. type: cindex
  11499. #: guix-git/doc/guix.texi:5810
  11500. #, no-wrap
  11501. msgid "channel introduction"
  11502. msgstr ""
  11503. #. type: Plain text
  11504. #: guix-git/doc/guix.texi:5819
  11505. msgid "Channel introductions answer these questions by describing the first commit of a channel that should be authenticated. The first time a channel is fetched with @command{guix pull} or @command{guix time-machine}, the command looks up the introductory commit and verifies that it is signed by the specified OpenPGP key. From then on, it authenticates commits according to the rule above. Authentication fails if the target commit is neither a descendant nor an ancestor of the introductory commit."
  11506. msgstr ""
  11507. #. type: Plain text
  11508. #: guix-git/doc/guix.texi:5826
  11509. msgid "Additionally, your channel must provide all the OpenPGP keys that were ever mentioned in @file{.guix-authorizations}, stored as @file{.key} files, which can be either binary or ``ASCII-armored''. By default, those @file{.key} files are searched for in the branch named @code{keyring} but you can specify a different branch name in @code{.guix-channel} like so:"
  11510. msgstr ""
  11511. #. type: lisp
  11512. #: guix-git/doc/guix.texi:5831
  11513. #, no-wrap
  11514. msgid ""
  11515. "(channel\n"
  11516. " (version 0)\n"
  11517. " (keyring-reference \"my-keyring-branch\"))\n"
  11518. msgstr ""
  11519. #. type: Plain text
  11520. #: guix-git/doc/guix.texi:5835
  11521. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  11522. msgstr ""
  11523. #. type: enumerate
  11524. #: guix-git/doc/guix.texi:5841
  11525. msgid "Export the OpenPGP keys of past and present committers with @command{gpg --export} and store them in @file{.key} files, by default in a branch named @code{keyring} (we recommend making it an @dfn{orphan branch})."
  11526. msgstr ""
  11527. #. type: enumerate
  11528. #: guix-git/doc/guix.texi:5846
  11529. msgid "Introduce an initial @file{.guix-authorizations} in the channel's repository. Do that in a signed commit (@pxref{Commit Access}, for information on how to sign Git commits.)"
  11530. msgstr ""
  11531. #. type: enumerate
  11532. #: guix-git/doc/guix.texi:5852
  11533. msgid "Advertise the channel introduction, for instance on your channel's web page. The channel introduction, as we saw above, is the commit/key pair---i.e., the commit that introduced @file{.guix-authorizations}, and the fingerprint of the OpenPGP used to sign it."
  11534. msgstr ""
  11535. #. type: Plain text
  11536. #: guix-git/doc/guix.texi:5857
  11537. msgid "Before pushing to your public Git repository, you can run @command{guix git-authenticate} to verify that you did sign all the commits you are about to push with an authorized key:"
  11538. msgstr ""
  11539. #. type: example
  11540. #: guix-git/doc/guix.texi:5860
  11541. #, no-wrap
  11542. msgid "guix git authenticate @var{commit} @var{signer}\n"
  11543. msgstr ""
  11544. #. type: Plain text
  11545. #: guix-git/doc/guix.texi:5865
  11546. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  11547. msgstr ""
  11548. #. type: Plain text
  11549. #: guix-git/doc/guix.texi:5872
  11550. msgid "Publishing a signed channel requires discipline: any mistake, such as an unsigned commit or a commit signed by an unauthorized key, will prevent users from pulling from your channel---well, that's the whole point of authentication! Pay attention to merges in particular: merge commits are considered authentic if and only if they are signed by a key present in the @file{.guix-authorizations} file of @emph{both} branches."
  11551. msgstr ""
  11552. #. type: cindex
  11553. #: guix-git/doc/guix.texi:5876
  11554. #, no-wrap
  11555. msgid "primary URL, channels"
  11556. msgstr ""
  11557. #. type: Plain text
  11558. #: guix-git/doc/guix.texi:5879
  11559. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  11560. msgstr ""
  11561. #. type: lisp
  11562. #: guix-git/doc/guix.texi:5884
  11563. #, no-wrap
  11564. msgid ""
  11565. "(channel\n"
  11566. " (version 0)\n"
  11567. " (url \"https://example.org/guix.git\"))\n"
  11568. msgstr ""
  11569. #. type: Plain text
  11570. #: guix-git/doc/guix.texi:5891
  11571. msgid "This allows @command{guix pull} to determine whether it is pulling code from a mirror of the channel; when that is the case, it warns the user that the mirror might be stale and displays the primary URL@. That way, users cannot be tricked into fetching code from a stale mirror that does not receive security updates."
  11572. msgstr ""
  11573. #. type: Plain text
  11574. #: guix-git/doc/guix.texi:5895
  11575. msgid "This feature only makes sense for authenticated repositories, such as the official @code{guix} channel, for which @command{guix pull} ensures the code it fetches is authentic."
  11576. msgstr ""
  11577. #. type: cindex
  11578. #: guix-git/doc/guix.texi:5899
  11579. #, no-wrap
  11580. msgid "news, for channels"
  11581. msgstr ""
  11582. #. type: Plain text
  11583. #: guix-git/doc/guix.texi:5903
  11584. msgid "Channel authors may occasionally want to communicate to their users information about important changes in the channel. You'd send them all an email, but that's not convenient."
  11585. msgstr ""
  11586. #. type: Plain text
  11587. #: guix-git/doc/guix.texi:5908
  11588. msgid "Instead, channels can provide a @dfn{news file}; when the channel users run @command{guix pull}, that news file is automatically read and @command{guix pull --news} can display the announcements that correspond to the new commits that have been pulled, if any."
  11589. msgstr ""
  11590. #. type: Plain text
  11591. #: guix-git/doc/guix.texi:5911
  11592. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  11593. msgstr ""
  11594. #. type: lisp
  11595. #: guix-git/doc/guix.texi:5916
  11596. #, no-wrap
  11597. msgid ""
  11598. "(channel\n"
  11599. " (version 0)\n"
  11600. " (news-file \"etc/news.txt\"))\n"
  11601. msgstr ""
  11602. #. type: Plain text
  11603. #: guix-git/doc/guix.texi:5920
  11604. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  11605. msgstr ""
  11606. #. type: lisp
  11607. #: guix-git/doc/guix.texi:5933
  11608. #, no-wrap
  11609. msgid ""
  11610. "(channel-news\n"
  11611. " (version 0)\n"
  11612. " (entry (tag \"the-bug-fix\")\n"
  11613. " (title (en \"Fixed terrible bug\")\n"
  11614. " (fr \"Oh la la\"))\n"
  11615. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  11616. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  11617. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  11618. " (title (en \"Added a great package\")\n"
  11619. " (ca \"Què vol dir guix?\"))\n"
  11620. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  11621. msgstr ""
  11622. #. type: Plain text
  11623. #: guix-git/doc/guix.texi:5940
  11624. msgid "While the news file is using the Scheme syntax, avoid naming it with a @file{.scm} extension or else it will get picked up when building the channel and yield an error since it is not a valid module. Alternatively, you can move the channel module to a subdirectory and store the news file in another directory."
  11625. msgstr ""
  11626. #. type: Plain text
  11627. #: guix-git/doc/guix.texi:5945
  11628. msgid "The file consists of a list of @dfn{news entries}. Each entry is associated with a commit or tag: it describes changes made in this commit, possibly in preceding commits as well. Users see entries only the first time they obtain the commit the entry refers to."
  11629. msgstr ""
  11630. #. type: Plain text
  11631. #: guix-git/doc/guix.texi:5951
  11632. msgid "The @code{title} field should be a one-line summary while @code{body} can be arbitrarily long, and both can contain Texinfo markup (@pxref{Overview,,, texinfo, GNU Texinfo}). Both the title and body are a list of language tag/message tuples, which allows @command{guix pull} to display news in the language that corresponds to the user's locale."
  11633. msgstr ""
  11634. #. type: Plain text
  11635. #: guix-git/doc/guix.texi:5957
  11636. msgid "If you want to translate news using a gettext-based workflow, you can extract translatable strings with @command{xgettext} (@pxref{xgettext Invocation,,, gettext, GNU Gettext Utilities}). For example, assuming you write news entries in English first, the command below creates a PO file containing the strings to translate:"
  11637. msgstr ""
  11638. #. type: example
  11639. #: guix-git/doc/guix.texi:5960
  11640. #, no-wrap
  11641. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  11642. msgstr ""
  11643. #. type: Plain text
  11644. #: guix-git/doc/guix.texi:5964
  11645. msgid "To sum up, yes, you could use your channel as a blog. But beware, this is @emph{not quite} what your users might expect."
  11646. msgstr ""
  11647. #. type: cindex
  11648. #: guix-git/doc/guix.texi:5969
  11649. #, no-wrap
  11650. msgid "software development"
  11651. msgstr "desenvolvimento de software"
  11652. #. type: Plain text
  11653. #: guix-git/doc/guix.texi:5973
  11654. msgid "If you are a software developer, Guix provides tools that you should find helpful---independently of the language you're developing in. This is what this chapter is about."
  11655. msgstr ""
  11656. #. type: Plain text
  11657. #: guix-git/doc/guix.texi:5979
  11658. msgid "The @command{guix shell} command provides a convenient way to set up one-off software environments, be it for development purposes or to run a command without installing it in your profile. The @command{guix pack} command allows you to create @dfn{application bundles} that can be easily distributed to users who do not run Guix."
  11659. msgstr ""
  11660. #. type: section
  11661. #: guix-git/doc/guix.texi:5989
  11662. #, fuzzy, no-wrap
  11663. #| msgid "Invoking @command{guix size}"
  11664. msgid "Invoking @command{guix shell}"
  11665. msgstr "Invocando @command{guix size}"
  11666. #. type: cindex
  11667. #: guix-git/doc/guix.texi:5991
  11668. #, no-wrap
  11669. msgid "reproducible build environments"
  11670. msgstr ""
  11671. #. type: cindex
  11672. #: guix-git/doc/guix.texi:5992
  11673. #, no-wrap
  11674. msgid "development environments"
  11675. msgstr ""
  11676. #. type: command{#1}
  11677. #: guix-git/doc/guix.texi:5993 guix-git/doc/guix.texi:6519
  11678. #, no-wrap
  11679. msgid "guix environment"
  11680. msgstr ""
  11681. #. type: command{#1}
  11682. #: guix-git/doc/guix.texi:5994
  11683. #, fuzzy, no-wrap
  11684. #| msgid "# guix install hello\n"
  11685. msgid "guix shell"
  11686. msgstr "# guix install hello\n"
  11687. #. type: cindex
  11688. #: guix-git/doc/guix.texi:5995
  11689. #, no-wrap
  11690. msgid "environment, package build environment"
  11691. msgstr ""
  11692. #. type: Plain text
  11693. #: guix-git/doc/guix.texi:6000
  11694. msgid "The purpose of @command{guix shell} is to make it easy to create one-off software environments, without changing one's profile. It is typically used to create development environments; it is also a convenient way to run applications without ``polluting'' your profile."
  11695. msgstr ""
  11696. #. type: quotation
  11697. #: guix-git/doc/guix.texi:6006
  11698. msgid "The @command{guix shell} command was recently introduced to supersede @command{guix environment} (@pxref{Invoking guix environment}). If you are familiar with @command{guix environment}, you will notice that it is similar but also---we hope!---more convenient."
  11699. msgstr ""
  11700. #. type: example
  11701. #: guix-git/doc/guix.texi:6012
  11702. #, no-wrap
  11703. msgid "guix shell [@var{options}] [@var{package}@dots{}]\n"
  11704. msgstr ""
  11705. #. type: Plain text
  11706. #: guix-git/doc/guix.texi:6017
  11707. msgid "The following example creates an environment containing Python and NumPy, building or downloading any missing package, and runs the @command{python3} command in that environment:"
  11708. msgstr ""
  11709. #. type: example
  11710. #: guix-git/doc/guix.texi:6020
  11711. #, no-wrap
  11712. msgid "guix shell python python-numpy -- python3\n"
  11713. msgstr ""
  11714. #. type: cindex
  11715. #: guix-git/doc/guix.texi:6023
  11716. #, fuzzy, no-wrap
  11717. #| msgid "Invoking @command{guix size}"
  11718. msgid "shebang, for @command{guix shell}"
  11719. msgstr "Invocando @command{guix size}"
  11720. #. type: quotation
  11721. #: guix-git/doc/guix.texi:6027
  11722. msgid "@command{guix shell} can be also be used as a script interpreter, also known as @dfn{shebang}. Here is an example self-contained Python script making use of this feature:"
  11723. msgstr ""
  11724. #. type: example
  11725. #: guix-git/doc/guix.texi:6032
  11726. #, no-wrap
  11727. msgid ""
  11728. "#!/usr/bin/env -S guix shell python python-numpy -- python3\n"
  11729. "import numpy\n"
  11730. "print(\"This is numpy\", numpy.version.version)\n"
  11731. msgstr ""
  11732. #. type: quotation
  11733. #: guix-git/doc/guix.texi:6036
  11734. msgid "You may pass any @command{guix shell} option, but there's one caveat: the Linux kernel has a limit of 127 bytes on shebang length."
  11735. msgstr ""
  11736. #. type: Plain text
  11737. #: guix-git/doc/guix.texi:6041
  11738. msgid "Development environments can be created as in the example below, which spawns an interactive shell containing all the dependencies and environment variables needed to work on Inkscape:"
  11739. msgstr ""
  11740. #. type: example
  11741. #: guix-git/doc/guix.texi:6044
  11742. #, no-wrap
  11743. msgid "guix shell --development inkscape\n"
  11744. msgstr ""
  11745. #. type: Plain text
  11746. #: guix-git/doc/guix.texi:6050
  11747. msgid "Exiting the shell places the user back in the original environment before @command{guix shell} was invoked. The next garbage collection (@pxref{Invoking guix gc}) may clean up packages that were installed in the environment and that are no longer used outside of it."
  11748. msgstr ""
  11749. #. type: Plain text
  11750. #: guix-git/doc/guix.texi:6054
  11751. msgid "As an added convenience, @command{guix shell} will try to do what you mean when it is invoked interactively without any other arguments as in:"
  11752. msgstr ""
  11753. #. type: example
  11754. #: guix-git/doc/guix.texi:6057
  11755. #, fuzzy, no-wrap
  11756. #| msgid "# guix install hello\n"
  11757. msgid "guix shell\n"
  11758. msgstr "# guix install hello\n"
  11759. #. type: Plain text
  11760. #: guix-git/doc/guix.texi:6069
  11761. msgid "If it finds a @file{manifest.scm} in the current working directory or any of its parents, it uses this manifest as though it was given via @code{--manifest}. Likewise, if it finds a @file{guix.scm} in the same directories, it uses it to build a development profile as though both @code{--development} and @code{--file} were present. In either case, the file will only be loaded if the directory it resides in is listed in @file{~/.config/guix/shell-authorized-directories}. This provides an easy way to define, share, and enter development environments."
  11762. msgstr ""
  11763. #. type: Plain text
  11764. #: guix-git/doc/guix.texi:6080
  11765. msgid "By default, the shell session or command runs in an @emph{augmented} environment, where the new packages are added to search path environment variables such as @code{PATH}. You can, instead, choose to create an @emph{isolated} environment containing nothing but the packages you asked for. Passing the @option{--pure} option clears environment variable definitions found in the parent environment@footnote{Be sure to use the @option{--check} option the first time you use @command{guix shell} interactively to make sure the shell does not undo the effect of @option{--pure}.}; passing @option{--container} goes one step further by spawning a @dfn{container} isolated from the rest of the system:"
  11766. msgstr ""
  11767. #. type: example
  11768. #: guix-git/doc/guix.texi:6083
  11769. #, no-wrap
  11770. msgid "guix shell --container emacs gcc-toolchain\n"
  11771. msgstr ""
  11772. #. type: Plain text
  11773. #: guix-git/doc/guix.texi:6091
  11774. msgid "The command above spawns an interactive shell in a container where nothing but @code{emacs}, @code{gcc-toolchain}, and their dependencies is available. The container lacks network access and shares no files other than the current working directory with the surrounding environment. This is useful to prevent access to system-wide resources such as @file{/usr/bin} on foreign distros."
  11775. msgstr ""
  11776. #. type: Plain text
  11777. #: guix-git/doc/guix.texi:6098
  11778. msgid "This @option{--container} option can also prove useful if you wish to run a security-sensitive application, such as a web browser, in an isolated environment. For example, the command below launches Ungoogled-Chromium in an isolated environment, this time sharing network access with the host and preserving its @code{DISPLAY} environment variable, but without even sharing the current directory:"
  11779. msgstr ""
  11780. #. type: example
  11781. #: guix-git/doc/guix.texi:6102
  11782. #, no-wrap
  11783. msgid ""
  11784. "guix shell --container --network --no-cwd ungoogled-chromium \\\n"
  11785. " --preserve='^DISPLAY$' -- chromium\n"
  11786. msgstr ""
  11787. #. type: vindex
  11788. #: guix-git/doc/guix.texi:6104 guix-git/doc/guix.texi:6570
  11789. #, no-wrap
  11790. msgid "GUIX_ENVIRONMENT"
  11791. msgstr "GUIX_ENVIRONMENT"
  11792. #. type: Plain text
  11793. #: guix-git/doc/guix.texi:6110
  11794. msgid "@command{guix shell} defines the @env{GUIX_ENVIRONMENT} variable in the shell it spawns; its value is the file name of the profile of this environment. This allows users to, say, define a specific prompt for development environments in their @file{.bashrc} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}):"
  11795. msgstr ""
  11796. #. type: example
  11797. #: guix-git/doc/guix.texi:6116 guix-git/doc/guix.texi:6582
  11798. #, no-wrap
  11799. msgid ""
  11800. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  11801. "then\n"
  11802. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  11803. "fi\n"
  11804. msgstr ""
  11805. #. type: Plain text
  11806. #: guix-git/doc/guix.texi:6120 guix-git/doc/guix.texi:6586
  11807. msgid "...@: or to browse the profile:"
  11808. msgstr ""
  11809. #. type: example
  11810. #: guix-git/doc/guix.texi:6123 guix-git/doc/guix.texi:6589
  11811. #, no-wrap
  11812. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  11813. msgstr ""
  11814. #. type: Plain text
  11815. #: guix-git/doc/guix.texi:6126 guix-git/doc/guix.texi:6665
  11816. msgid "The available options are summarized below."
  11817. msgstr ""
  11818. #. type: item
  11819. #: guix-git/doc/guix.texi:6128 guix-git/doc/guix.texi:6667
  11820. #: guix-git/doc/guix.texi:13299
  11821. #, no-wrap
  11822. msgid "--check"
  11823. msgstr "--check"
  11824. #. type: table
  11825. #: guix-git/doc/guix.texi:6133
  11826. msgid "Set up the environment and check whether the shell would clobber environment variables. It's a good idea to use this option the first time you run @command{guix shell} for an interactive session to make sure your setup is correct."
  11827. msgstr ""
  11828. #. type: table
  11829. #: guix-git/doc/guix.texi:6137
  11830. msgid "For example, if the shell modifies the @env{PATH} environment variable, report it since you would get a different environment than what you asked for."
  11831. msgstr ""
  11832. #. type: table
  11833. #: guix-git/doc/guix.texi:6145
  11834. msgid "Such problems usually indicate that the shell startup files are unexpectedly modifying those environment variables. For example, if you are using Bash, make sure that environment variables are set or modified in @file{~/.bash_profile} and @emph{not} in @file{~/.bashrc}---the former is sourced only by log-in shells. @xref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}, for details on Bash start-up files."
  11835. msgstr ""
  11836. #. type: anchor{#1}
  11837. #: guix-git/doc/guix.texi:6147
  11838. #, fuzzy
  11839. #| msgid "Development"
  11840. msgid "shell-development-option"
  11841. msgstr "Desenvolvimento"
  11842. #. type: item
  11843. #: guix-git/doc/guix.texi:6147
  11844. #, fuzzy, no-wrap
  11845. #| msgid "Development"
  11846. msgid "--development"
  11847. msgstr "Desenvolvimento"
  11848. #. type: table
  11849. #: guix-git/doc/guix.texi:6154
  11850. msgid "Cause @command{guix shell} to include in the environment the dependencies of the following package rather than the package itself. This can be combined with other packages. For instance, the command below starts an interactive shell containing the build-time dependencies of GNU@tie{}Guile, plus Autoconf, Automake, and Libtool:"
  11851. msgstr ""
  11852. #. type: example
  11853. #: guix-git/doc/guix.texi:6157
  11854. #, no-wrap
  11855. msgid "guix shell -D guile autoconf automake libtool\n"
  11856. msgstr ""
  11857. #. type: item
  11858. #: guix-git/doc/guix.texi:6159 guix-git/doc/guix.texi:6688
  11859. #: guix-git/doc/guix.texi:7241 guix-git/doc/guix.texi:13166
  11860. #: guix-git/doc/guix.texi:14329 guix-git/doc/guix.texi:14792
  11861. #: guix-git/doc/guix.texi:14990 guix-git/doc/guix.texi:15400
  11862. #: guix-git/doc/guix.texi:40301 guix-git/doc/guix.texi:44058
  11863. #, no-wrap
  11864. msgid "--expression=@var{expr}"
  11865. msgstr ""
  11866. #. type: itemx
  11867. #: guix-git/doc/guix.texi:6160 guix-git/doc/guix.texi:6689
  11868. #: guix-git/doc/guix.texi:7242 guix-git/doc/guix.texi:13167
  11869. #: guix-git/doc/guix.texi:14330 guix-git/doc/guix.texi:14793
  11870. #: guix-git/doc/guix.texi:14991 guix-git/doc/guix.texi:15401
  11871. #: guix-git/doc/guix.texi:40302 guix-git/doc/guix.texi:44059
  11872. #, no-wrap
  11873. msgid "-e @var{expr}"
  11874. msgstr ""
  11875. #. type: table
  11876. #: guix-git/doc/guix.texi:6163 guix-git/doc/guix.texi:6692
  11877. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  11878. msgstr ""
  11879. #. type: table
  11880. #: guix-git/doc/guix.texi:6165 guix-git/doc/guix.texi:6694
  11881. #: guix-git/doc/guix.texi:14797
  11882. msgid "For example, running:"
  11883. msgstr ""
  11884. #. type: example
  11885. #: guix-git/doc/guix.texi:6168
  11886. #, no-wrap
  11887. msgid "guix shell -D -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  11888. msgstr ""
  11889. #. type: table
  11890. #: guix-git/doc/guix.texi:6172 guix-git/doc/guix.texi:6701
  11891. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  11892. msgstr ""
  11893. #. type: table
  11894. #: guix-git/doc/guix.texi:6174 guix-git/doc/guix.texi:6703
  11895. msgid "Running:"
  11896. msgstr ""
  11897. #. type: example
  11898. #: guix-git/doc/guix.texi:6177
  11899. #, no-wrap
  11900. msgid "guix shell -e '(@@ (gnu) %base-packages)'\n"
  11901. msgstr ""
  11902. #. type: table
  11903. #: guix-git/doc/guix.texi:6180 guix-git/doc/guix.texi:6709
  11904. msgid "starts a shell with all the base system packages available."
  11905. msgstr ""
  11906. #. type: table
  11907. #: guix-git/doc/guix.texi:6183 guix-git/doc/guix.texi:6712
  11908. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  11909. msgstr ""
  11910. #. type: example
  11911. #: guix-git/doc/guix.texi:6186
  11912. #, no-wrap
  11913. msgid "guix shell -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  11914. msgstr ""
  11915. #. type: table
  11916. #: guix-git/doc/guix.texi:6191
  11917. msgid "@xref{package-development-manifest, @code{package->development-manifest}}, for information on how to write a manifest for the development environment of a package."
  11918. msgstr ""
  11919. #. type: item
  11920. #: guix-git/doc/guix.texi:6192 guix-git/doc/guix.texi:13140
  11921. #, no-wrap
  11922. msgid "--file=@var{file}"
  11923. msgstr ""
  11924. #. type: table
  11925. #: guix-git/doc/guix.texi:6196
  11926. msgid "Create an environment containing the package or list of packages that the code within @var{file} evaluates to."
  11927. msgstr ""
  11928. #. type: lisp
  11929. #: guix-git/doc/guix.texi:6202 guix-git/doc/guix.texi:6727
  11930. #, no-wrap
  11931. msgid "@verbatiminclude environment-gdb.scm\n"
  11932. msgstr ""
  11933. #. type: table
  11934. #: guix-git/doc/guix.texi:6206
  11935. msgid "With the file above, you can enter a development environment for GDB by running:"
  11936. msgstr ""
  11937. #. type: example
  11938. #: guix-git/doc/guix.texi:6209
  11939. #, no-wrap
  11940. msgid "guix shell -D -f gdb-devel.scm\n"
  11941. msgstr ""
  11942. #. type: anchor{#1}
  11943. #: guix-git/doc/guix.texi:6212
  11944. #, fuzzy
  11945. #| msgid "profile-manifest"
  11946. msgid "shell-manifest"
  11947. msgstr "profile-manifest"
  11948. #. type: table
  11949. #: guix-git/doc/guix.texi:6217 guix-git/doc/guix.texi:6734
  11950. msgid "Create an environment for the packages contained in the manifest object returned by the Scheme code in @var{file}. This option can be repeated several times, in which case the manifests are concatenated."
  11951. msgstr ""
  11952. #. type: table
  11953. #: guix-git/doc/guix.texi:6221 guix-git/doc/guix.texi:6738
  11954. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  11955. msgstr ""
  11956. #. type: table
  11957. #: guix-git/doc/guix.texi:6224
  11958. msgid "@xref{Writing Manifests}, for information on how to write a manifest. See @option{--export-manifest} below on how to obtain a first manifest."
  11959. msgstr ""
  11960. #. type: anchor{#1}
  11961. #: guix-git/doc/guix.texi:6227
  11962. msgid "shell-export-manifest"
  11963. msgstr ""
  11964. #. type: table
  11965. #: guix-git/doc/guix.texi:6230
  11966. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to given command-line options."
  11967. msgstr ""
  11968. #. type: table
  11969. #: guix-git/doc/guix.texi:6234
  11970. msgid "This is a way to ``convert'' command-line arguments into a manifest. For example, imagine you are tired of typing long lines and would like to get a manifest equivalent to this command line:"
  11971. msgstr ""
  11972. #. type: example
  11973. #: guix-git/doc/guix.texi:6237
  11974. #, fuzzy, no-wrap
  11975. #| msgid "guix package -i emacs guile emacs-geiser\n"
  11976. msgid "guix shell -D guile git emacs emacs-geiser emacs-geiser-guile\n"
  11977. msgstr "guix package -i emacs guile emacs-geiser\n"
  11978. #. type: table
  11979. #: guix-git/doc/guix.texi:6240
  11980. msgid "Just add @option{--export-manifest} to the command line above:"
  11981. msgstr ""
  11982. #. type: example
  11983. #: guix-git/doc/guix.texi:6244
  11984. #, fuzzy, no-wrap
  11985. #| msgid "guix package -i emacs guile emacs-geiser\n"
  11986. msgid ""
  11987. "guix shell --export-manifest \\\n"
  11988. " -D guile git emacs emacs-geiser emacs-geiser-guile\n"
  11989. msgstr "guix package -i emacs guile emacs-geiser\n"
  11990. #. type: table
  11991. #: guix-git/doc/guix.texi:6248
  11992. #, fuzzy
  11993. #| msgid "Installing goes along these lines:"
  11994. msgid "... and you get a manifest along these lines:"
  11995. msgstr "A instalação segue as seguintes linhas:"
  11996. #. type: lisp
  11997. #: guix-git/doc/guix.texi:6258
  11998. #, no-wrap
  11999. msgid ""
  12000. "(concatenate-manifests\n"
  12001. " (list (specifications->manifest\n"
  12002. " (list \"git\"\n"
  12003. " \"emacs\"\n"
  12004. " \"emacs-geiser\"\n"
  12005. " \"emacs-geiser-guile\"))\n"
  12006. " (package->development-manifest\n"
  12007. " (specification->package \"guile\"))))\n"
  12008. msgstr ""
  12009. #. type: table
  12010. #: guix-git/doc/guix.texi:6263
  12011. msgid "You can store it into a file, say @file{manifest.scm}, and from there pass it to @command{guix shell} or indeed pretty much any @command{guix} command:"
  12012. msgstr ""
  12013. #. type: example
  12014. #: guix-git/doc/guix.texi:6266 guix-git/doc/guix.texi:8563
  12015. #, no-wrap
  12016. msgid "guix shell -m manifest.scm\n"
  12017. msgstr ""
  12018. #. type: table
  12019. #: guix-git/doc/guix.texi:6271
  12020. msgid "Voilà, you've converted a long command line into a manifest! That conversion process honors package transformation options (@pxref{Package Transformation Options}) so it should be lossless."
  12021. msgstr ""
  12022. #. type: table
  12023. #: guix-git/doc/guix.texi:6277 guix-git/doc/guix.texi:6774
  12024. msgid "Create an environment containing the packages installed in @var{profile}. Use @command{guix package} (@pxref{Invoking guix package}) to create and manage profiles."
  12025. msgstr ""
  12026. #. type: item
  12027. #: guix-git/doc/guix.texi:6278 guix-git/doc/guix.texi:6775
  12028. #, no-wrap
  12029. msgid "--pure"
  12030. msgstr ""
  12031. #. type: table
  12032. #: guix-git/doc/guix.texi:6282 guix-git/doc/guix.texi:6779
  12033. msgid "Unset existing environment variables when building the new environment, except those specified with @option{--preserve} (see below). This has the effect of creating an environment in which search paths only contain package inputs."
  12034. msgstr ""
  12035. #. type: item
  12036. #: guix-git/doc/guix.texi:6283 guix-git/doc/guix.texi:6780
  12037. #, no-wrap
  12038. msgid "--preserve=@var{regexp}"
  12039. msgstr ""
  12040. #. type: itemx
  12041. #: guix-git/doc/guix.texi:6284 guix-git/doc/guix.texi:6781
  12042. #, no-wrap
  12043. msgid "-E @var{regexp}"
  12044. msgstr ""
  12045. #. type: table
  12046. #: guix-git/doc/guix.texi:6289 guix-git/doc/guix.texi:6786
  12047. msgid "When used alongside @option{--pure}, preserve the environment variables matching @var{regexp}---in other words, put them on a ``white list'' of environment variables that must be preserved. This option can be repeated several times."
  12048. msgstr ""
  12049. #. type: example
  12050. #: guix-git/doc/guix.texi:6293
  12051. #, no-wrap
  12052. msgid ""
  12053. "guix shell --pure --preserve=^SLURM openmpi @dots{} \\\n"
  12054. " -- mpirun @dots{}\n"
  12055. msgstr ""
  12056. #. type: table
  12057. #: guix-git/doc/guix.texi:6299 guix-git/doc/guix.texi:6796
  12058. msgid "This example runs @command{mpirun} in a context where the only environment variables defined are @env{PATH}, environment variables whose name starts with @samp{SLURM}, as well as the usual ``precious'' variables (@env{HOME}, @env{USER}, etc.)."
  12059. msgstr ""
  12060. #. type: item
  12061. #: guix-git/doc/guix.texi:6300 guix-git/doc/guix.texi:6797
  12062. #, no-wrap
  12063. msgid "--search-paths"
  12064. msgstr "--search-paths"
  12065. #. type: table
  12066. #: guix-git/doc/guix.texi:6303 guix-git/doc/guix.texi:6800
  12067. msgid "Display the environment variable definitions that make up the environment."
  12068. msgstr ""
  12069. #. type: table
  12070. #: guix-git/doc/guix.texi:6307 guix-git/doc/guix.texi:6804
  12071. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  12072. msgstr ""
  12073. #. type: item
  12074. #: guix-git/doc/guix.texi:6308 guix-git/doc/guix.texi:6805
  12075. #, no-wrap
  12076. msgid "--container"
  12077. msgstr ""
  12078. #. type: itemx
  12079. #: guix-git/doc/guix.texi:6309 guix-git/doc/guix.texi:6806
  12080. #, no-wrap
  12081. msgid "-C"
  12082. msgstr "-C"
  12083. #. type: item
  12084. #: guix-git/doc/guix.texi:6310 guix-git/doc/guix.texi:6631
  12085. #: guix-git/doc/guix.texi:6807 guix-git/doc/guix.texi:15968
  12086. #: guix-git/doc/guix.texi:40265 guix-git/doc/guix.texi:43798
  12087. #, no-wrap
  12088. msgid "container"
  12089. msgstr "recipiente"
  12090. #. type: table
  12091. #: guix-git/doc/guix.texi:6316 guix-git/doc/guix.texi:6813
  12092. msgid "Run @var{command} within an isolated container. The current working directory outside the container is mapped inside the container. Additionally, unless overridden with @option{--user}, a dummy home directory is created that matches the current user's home directory, and @file{/etc/passwd} is configured accordingly."
  12093. msgstr ""
  12094. #. type: table
  12095. #: guix-git/doc/guix.texi:6320 guix-git/doc/guix.texi:6817
  12096. msgid "The spawned process runs as the current user outside the container. Inside the container, it has the same UID and GID as the current user, unless @option{--user} is passed (see below)."
  12097. msgstr ""
  12098. #. type: item
  12099. #: guix-git/doc/guix.texi:6321 guix-git/doc/guix.texi:6818
  12100. #: guix-git/doc/guix.texi:40366 guix-git/doc/guix.texi:43816
  12101. #, no-wrap
  12102. msgid "--network"
  12103. msgstr ""
  12104. #. type: table
  12105. #: guix-git/doc/guix.texi:6326 guix-git/doc/guix.texi:6823
  12106. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  12107. msgstr ""
  12108. #. type: item
  12109. #: guix-git/doc/guix.texi:6327 guix-git/doc/guix.texi:6824
  12110. #, no-wrap
  12111. msgid "--link-profile"
  12112. msgstr ""
  12113. #. type: itemx
  12114. #: guix-git/doc/guix.texi:6328 guix-git/doc/guix.texi:6825
  12115. #, no-wrap
  12116. msgid "-P"
  12117. msgstr ""
  12118. #. type: table
  12119. #: guix-git/doc/guix.texi:6336
  12120. msgid "For containers, link the environment profile to @file{~/.guix-profile} within the container and set @code{GUIX_ENVIRONMENT} to that. This is equivalent to making @file{~/.guix-profile} a symlink to the actual profile within the container. Linking will fail and abort the environment if the directory already exists, which will certainly be the case if @command{guix shell} was invoked in the user's home directory."
  12121. msgstr ""
  12122. #. type: table
  12123. #: guix-git/doc/guix.texi:6342 guix-git/doc/guix.texi:6839
  12124. msgid "Certain packages are configured to look in @file{~/.guix-profile} for configuration files and data;@footnote{For example, the @code{fontconfig} package inspects @file{~/.guix-profile/share/fonts} for additional fonts.} @option{--link-profile} allows these programs to behave as expected within the environment."
  12125. msgstr ""
  12126. #. type: item
  12127. #: guix-git/doc/guix.texi:6343 guix-git/doc/guix.texi:6840
  12128. #: guix-git/doc/guix.texi:15538
  12129. #, no-wrap
  12130. msgid "--user=@var{user}"
  12131. msgstr ""
  12132. #. type: itemx
  12133. #: guix-git/doc/guix.texi:6344 guix-git/doc/guix.texi:6841
  12134. #: guix-git/doc/guix.texi:15539
  12135. #, no-wrap
  12136. msgid "-u @var{user}"
  12137. msgstr "-u @var{usuário}"
  12138. #. type: table
  12139. #: guix-git/doc/guix.texi:6351 guix-git/doc/guix.texi:6848
  12140. msgid "For containers, use the username @var{user} in place of the current user. The generated @file{/etc/passwd} entry within the container will contain the name @var{user}, the home directory will be @file{/home/@var{user}}, and no user GECOS data will be copied. Furthermore, the UID and GID inside the container are 1000. @var{user} need not exist on the system."
  12141. msgstr ""
  12142. #. type: table
  12143. #: guix-git/doc/guix.texi:6356 guix-git/doc/guix.texi:6853
  12144. msgid "Additionally, any shared or exposed path (see @option{--share} and @option{--expose} respectively) whose target is within the current user's home directory will be remapped relative to @file{/home/USER}; this includes the automatic mapping of the current working directory."
  12145. msgstr ""
  12146. #. type: example
  12147. #: guix-git/doc/guix.texi:6363
  12148. #, no-wrap
  12149. msgid ""
  12150. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  12151. "cd $HOME/wd\n"
  12152. "guix shell --container --user=foo \\\n"
  12153. " --expose=$HOME/test \\\n"
  12154. " --expose=/tmp/target=$HOME/target\n"
  12155. msgstr ""
  12156. #. type: table
  12157. #: guix-git/doc/guix.texi:6368 guix-git/doc/guix.texi:6865
  12158. msgid "While this will limit the leaking of user identity through home paths and each of the user fields, this is only one useful component of a broader privacy/anonymity solution---not one in and of itself."
  12159. msgstr ""
  12160. #. type: item
  12161. #: guix-git/doc/guix.texi:6369 guix-git/doc/guix.texi:6866
  12162. #, no-wrap
  12163. msgid "--no-cwd"
  12164. msgstr ""
  12165. #. type: table
  12166. #: guix-git/doc/guix.texi:6376 guix-git/doc/guix.texi:6873
  12167. msgid "For containers, the default behavior is to share the current working directory with the isolated container and immediately change to that directory within the container. If this is undesirable, @option{--no-cwd} will cause the current working directory to @emph{not} be automatically shared and will change to the user's home directory within the container instead. See also @option{--user}."
  12168. msgstr ""
  12169. #. type: item
  12170. #: guix-git/doc/guix.texi:6377 guix-git/doc/guix.texi:6874
  12171. #: guix-git/doc/guix.texi:43820
  12172. #, no-wrap
  12173. msgid "--expose=@var{source}[=@var{target}]"
  12174. msgstr "--expose=@var{fonte}[=@var{alvo}]"
  12175. #. type: itemx
  12176. #: guix-git/doc/guix.texi:6378 guix-git/doc/guix.texi:6875
  12177. #: guix-git/doc/guix.texi:43821
  12178. #, no-wrap
  12179. msgid "--share=@var{source}[=@var{target}]"
  12180. msgstr "--share=@var{fonte}[=@var{alvo}]"
  12181. #. type: table
  12182. #: guix-git/doc/guix.texi:6384 guix-git/doc/guix.texi:6881
  12183. msgid "For containers, @option{--expose} (resp. @option{--share}) exposes the file system @var{source} from the host system as the read-only (resp. writable) file system @var{target} within the container. If @var{target} is not specified, @var{source} is used as the target mount point in the container."
  12184. msgstr ""
  12185. #. type: table
  12186. #: guix-git/doc/guix.texi:6388 guix-git/doc/guix.texi:6885
  12187. msgid "The example below spawns a Guile REPL in a container in which the user's home directory is accessible read-only via the @file{/exchange} directory:"
  12188. msgstr ""
  12189. #. type: example
  12190. #: guix-git/doc/guix.texi:6391
  12191. #, no-wrap
  12192. msgid "guix shell --container --expose=$HOME=/exchange guile -- guile\n"
  12193. msgstr ""
  12194. #. type: cindex
  12195. #: guix-git/doc/guix.texi:6393
  12196. #, fuzzy, no-wrap
  12197. #| msgid "Invoking guix size"
  12198. msgid "symbolic links, guix shell"
  12199. msgstr "Invocando guix size"
  12200. #. type: item
  12201. #: guix-git/doc/guix.texi:6394 guix-git/doc/guix.texi:7287
  12202. #, no-wrap
  12203. msgid "--symlink=@var{spec}"
  12204. msgstr ""
  12205. #. type: itemx
  12206. #: guix-git/doc/guix.texi:6395 guix-git/doc/guix.texi:7288
  12207. #, no-wrap
  12208. msgid "-S @var{spec}"
  12209. msgstr ""
  12210. #. type: table
  12211. #: guix-git/doc/guix.texi:6398
  12212. msgid "For containers, create the symbolic links specified by @var{spec}, as documented in @ref{pack-symlink-option}."
  12213. msgstr ""
  12214. #. type: cindex
  12215. #: guix-git/doc/guix.texi:6399
  12216. #, no-wrap
  12217. msgid "file system hierarchy standard (FHS)"
  12218. msgstr ""
  12219. #. type: cindex
  12220. #: guix-git/doc/guix.texi:6400
  12221. #, no-wrap
  12222. msgid "FHS (file system hierarchy standard)"
  12223. msgstr ""
  12224. #. type: item
  12225. #: guix-git/doc/guix.texi:6401 guix-git/doc/guix.texi:6890
  12226. #, fuzzy, no-wrap
  12227. #| msgid "templates"
  12228. msgid "--emulate-fhs"
  12229. msgstr "modelos"
  12230. #. type: item
  12231. #: guix-git/doc/guix.texi:6402 guix-git/doc/guix.texi:6891
  12232. #, no-wrap
  12233. msgid "-F"
  12234. msgstr ""
  12235. #. type: table
  12236. #: guix-git/doc/guix.texi:6408
  12237. msgid "When used with @option{--container}, emulate a @uref{https://refspecs.linuxfoundation.org/fhs.shtml, Filesystem Hierarchy Standard (FHS)} configuration within the container, providing @file{/bin}, @file{/lib}, and other directories and files specified by the FHS."
  12238. msgstr ""
  12239. #. type: table
  12240. #: guix-git/doc/guix.texi:6419
  12241. msgid "As Guix deviates from the FHS specification, this option sets up the container to more closely mimic that of other GNU/Linux distributions. This is useful for reproducing other development environments, testing, and using programs which expect the FHS specification to be followed. With this option, the container will include a version of glibc that will read @file{/etc/ld.so.cache} within the container for the shared library cache (contrary to glibc in regular Guix usage) and set up the expected FHS directories: @file{/bin}, @file{/etc}, @file{/lib}, and @file{/usr} from the container's profile."
  12242. msgstr ""
  12243. #. type: cindex
  12244. #: guix-git/doc/guix.texi:6420
  12245. #, fuzzy, no-wrap
  12246. #| msgid "Invoking @command{guix size}"
  12247. msgid "nested containers, for @command{guix shell}"
  12248. msgstr "Invocando @command{guix size}"
  12249. #. type: cindex
  12250. #: guix-git/doc/guix.texi:6421
  12251. #, fuzzy, no-wrap
  12252. #| msgid "Invoking @command{guix size}"
  12253. msgid "container nesting, for @command{guix shell}"
  12254. msgstr "Invocando @command{guix size}"
  12255. #. type: item
  12256. #: guix-git/doc/guix.texi:6422
  12257. #, no-wrap
  12258. msgid "--nesting"
  12259. msgstr ""
  12260. #. type: itemx
  12261. #: guix-git/doc/guix.texi:6423
  12262. #, no-wrap
  12263. msgid "-W"
  12264. msgstr ""
  12265. #. type: table
  12266. #: guix-git/doc/guix.texi:6429
  12267. msgid "When used with @option{--container}, provide Guix @emph{inside} the container and arrange so that it can interact with the build daemon that runs outside the container. This is useful if you want, within your isolated container, to create other containers, as in this sample session:"
  12268. msgstr ""
  12269. #. type: example
  12270. #: guix-git/doc/guix.texi:6435
  12271. #, no-wrap
  12272. msgid ""
  12273. "$ guix shell -CW coreutils\n"
  12274. "[env]$ guix shell -C guile -- guile -c '(display \"hello!\\n\")'\n"
  12275. "hello!\n"
  12276. "[env]$ exit\n"
  12277. msgstr ""
  12278. #. type: table
  12279. #: guix-git/doc/guix.texi:6440
  12280. msgid "The session above starts a container with @code{coreutils} programs available in @env{PATH}. From there, we spawn @command{guix shell} to create a @emph{nested} container that provides nothing but Guile."
  12281. msgstr ""
  12282. #. type: table
  12283. #: guix-git/doc/guix.texi:6443
  12284. msgid "Another example is evaluating a @file{guix.scm} file that is untrusted, as shown here:"
  12285. msgstr ""
  12286. #. type: example
  12287. #: guix-git/doc/guix.texi:6446
  12288. #, no-wrap
  12289. msgid "guix shell -CW -- guix build -f guix.scm\n"
  12290. msgstr ""
  12291. #. type: table
  12292. #: guix-git/doc/guix.texi:6450
  12293. msgid "The @command{guix build} command as executed above can only access the current directory."
  12294. msgstr ""
  12295. #. type: table
  12296. #: guix-git/doc/guix.texi:6452
  12297. msgid "Under the hood, the @option{-W} option does several things:"
  12298. msgstr ""
  12299. #. type: itemize
  12300. #: guix-git/doc/guix.texi:6457
  12301. #, fuzzy
  12302. #| msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  12303. msgid "map the daemon's socket (by default @file{/var/guix/daemon-socket/socket}) inside the container;"
  12304. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  12305. #. type: itemize
  12306. #: guix-git/doc/guix.texi:6461
  12307. msgid "map the whole store (by default @file{/gnu/store}) inside the container such that store items made available by nested @command{guix} invocations are visible;"
  12308. msgstr ""
  12309. #. type: itemize
  12310. #: guix-git/doc/guix.texi:6465
  12311. msgid "add the currently-used @command{guix} command to the profile in the container, such that @command{guix describe} returns the same state inside and outside the container;"
  12312. msgstr ""
  12313. #. type: itemize
  12314. #: guix-git/doc/guix.texi:6469
  12315. msgid "share the cache (by default @file{~/.cache/guix}) with the host, to speed up operations such as @command{guix time-machine} and @command{guix shell}."
  12316. msgstr ""
  12317. #. type: item
  12318. #: guix-git/doc/guix.texi:6471
  12319. #, fuzzy, no-wrap
  12320. #| msgid "build-check"
  12321. msgid "--rebuild-cache"
  12322. msgstr "build-check"
  12323. #. type: cindex
  12324. #: guix-git/doc/guix.texi:6472
  12325. #, no-wrap
  12326. msgid "caching, of profiles"
  12327. msgstr ""
  12328. #. type: cindex
  12329. #: guix-git/doc/guix.texi:6473
  12330. #, fuzzy, no-wrap
  12331. #| msgid "Invoking @command{guix size}"
  12332. msgid "caching, in @command{guix shell}"
  12333. msgstr "Invocando @command{guix size}"
  12334. #. type: table
  12335. #: guix-git/doc/guix.texi:6479
  12336. msgid "In most cases, @command{guix shell} caches the environment so that subsequent uses are instantaneous. Least-recently used cache entries are periodically removed. The cache is also invalidated, when using @option{--file} or @option{--manifest}, anytime the corresponding file is modified."
  12337. msgstr ""
  12338. #. type: table
  12339. #: guix-git/doc/guix.texi:6485
  12340. msgid "The @option{--rebuild-cache} forces the cached environment to be refreshed. This is useful when using @option{--file} or @option{--manifest} and the @command{guix.scm} or @command{manifest.scm} file has external dependencies, or if its behavior depends, say, on environment variables."
  12341. msgstr ""
  12342. #. type: item
  12343. #: guix-git/doc/guix.texi:6486 guix-git/doc/guix.texi:6672
  12344. #: guix-git/doc/guix.texi:7316 guix-git/doc/guix.texi:13328
  12345. #: guix-git/doc/guix.texi:40371
  12346. #, no-wrap
  12347. msgid "--root=@var{file}"
  12348. msgstr "--root=@var{arquivo}"
  12349. #. type: itemx
  12350. #: guix-git/doc/guix.texi:6487 guix-git/doc/guix.texi:6673
  12351. #: guix-git/doc/guix.texi:7317 guix-git/doc/guix.texi:13329
  12352. #: guix-git/doc/guix.texi:40372
  12353. #, no-wrap
  12354. msgid "-r @var{file}"
  12355. msgstr "-r @var{arquivo}"
  12356. #. type: cindex
  12357. #: guix-git/doc/guix.texi:6488 guix-git/doc/guix.texi:6674
  12358. #, no-wrap
  12359. msgid "persistent environment"
  12360. msgstr "ambiente persistente"
  12361. #. type: cindex
  12362. #: guix-git/doc/guix.texi:6489 guix-git/doc/guix.texi:6675
  12363. #, no-wrap
  12364. msgid "garbage collector root, for environments"
  12365. msgstr ""
  12366. #. type: table
  12367. #: guix-git/doc/guix.texi:6492 guix-git/doc/guix.texi:6678
  12368. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  12369. msgstr ""
  12370. #. type: table
  12371. #: guix-git/doc/guix.texi:6495 guix-git/doc/guix.texi:6681
  12372. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  12373. msgstr ""
  12374. #. type: table
  12375. #: guix-git/doc/guix.texi:6501
  12376. msgid "When this option is omitted, @command{guix shell} caches profiles so that subsequent uses of the same environment are instantaneous---this is comparable to using @option{--root} except that @command{guix shell} takes care of periodically removing the least-recently used garbage collector roots."
  12377. msgstr ""
  12378. #. type: table
  12379. #: guix-git/doc/guix.texi:6508
  12380. msgid "In some cases, @command{guix shell} does not cache profiles---e.g., if transformation options such as @option{--with-latest} are used. In those cases, the environment is protected from garbage collection only for the duration of the @command{guix shell} session. This means that next time you recreate the same environment, you could have to rebuild or re-download packages."
  12381. msgstr ""
  12382. #. type: table
  12383. #: guix-git/doc/guix.texi:6510
  12384. #, fuzzy
  12385. #| msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  12386. msgid "@xref{Invoking guix gc}, for more on GC roots."
  12387. msgstr "@xref{Invocando guix pack}, para mais informações sobre essa ferramenta útil."
  12388. #. type: Plain text
  12389. #: guix-git/doc/guix.texi:6515
  12390. msgid "@command{guix shell} also supports all of the common build options that @command{guix build} supports (@pxref{Common Build Options}) as well as package transformation options (@pxref{Package Transformation Options})."
  12391. msgstr ""
  12392. #. type: section
  12393. #: guix-git/doc/guix.texi:6517
  12394. #, no-wrap
  12395. msgid "Invoking @command{guix environment}"
  12396. msgstr "Invocando @command{guix environment}"
  12397. #. type: Plain text
  12398. #: guix-git/doc/guix.texi:6523
  12399. msgid "The purpose of @command{guix environment} is to assist in creating development environments."
  12400. msgstr ""
  12401. #. type: quotation
  12402. #: guix-git/doc/guix.texi:6524
  12403. #, no-wrap
  12404. msgid "Deprecation warning"
  12405. msgstr ""
  12406. #. type: quotation
  12407. #: guix-git/doc/guix.texi:6528
  12408. msgid "The @command{guix environment} command is deprecated in favor of @command{guix shell}, which performs similar functions but is more convenient to use. @xref{Invoking guix shell}."
  12409. msgstr ""
  12410. #. type: quotation
  12411. #: guix-git/doc/guix.texi:6533
  12412. msgid "Being deprecated, @command{guix environment} is slated for eventual removal, but the Guix project is committed to keeping it until May 1st, 2023. Please get in touch with us at @email{guix-devel@@gnu.org} if you would like to discuss it."
  12413. msgstr ""
  12414. #. type: example
  12415. #: guix-git/doc/guix.texi:6539
  12416. #, no-wrap
  12417. msgid "guix environment @var{options} @var{package}@dots{}\n"
  12418. msgstr ""
  12419. #. type: Plain text
  12420. #: guix-git/doc/guix.texi:6543
  12421. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  12422. msgstr ""
  12423. #. type: example
  12424. #: guix-git/doc/guix.texi:6546
  12425. #, no-wrap
  12426. msgid "guix environment guile\n"
  12427. msgstr ""
  12428. #. type: Plain text
  12429. #: guix-git/doc/guix.texi:6563
  12430. msgid "If the needed dependencies are not built yet, @command{guix environment} automatically builds them. The environment of the new shell is an augmented version of the environment that @command{guix environment} was run in. It contains the necessary search paths for building the given package added to the existing environment variables. To create a ``pure'' environment, in which the original environment variables have been unset, use the @option{--pure} option@footnote{Users sometimes wrongfully augment environment variables such as @env{PATH} in their @file{~/.bashrc} file. As a consequence, when @command{guix environment} launches it, Bash may read @file{~/.bashrc}, thereby introducing ``impurities'' in these environment variables. It is an error to define such environment variables in @file{.bashrc}; instead, they should be defined in @file{.bash_profile}, which is sourced only by log-in shells. @xref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}, for details on Bash start-up files.}."
  12431. msgstr ""
  12432. #. type: Plain text
  12433. #: guix-git/doc/guix.texi:6569
  12434. msgid "Exiting from a Guix environment is the same as exiting from the shell, and will place the user back in the old environment before @command{guix environment} was invoked. The next garbage collection (@pxref{Invoking guix gc}) will clean up packages that were installed from within the environment and are no longer used outside of it."
  12435. msgstr ""
  12436. #. type: Plain text
  12437. #: guix-git/doc/guix.texi:6576
  12438. msgid "@command{guix environment} defines the @env{GUIX_ENVIRONMENT} variable in the shell it spawns; its value is the file name of the profile of this environment. This allows users to, say, define a specific prompt for development environments in their @file{.bashrc} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}):"
  12439. msgstr ""
  12440. #. type: Plain text
  12441. #: guix-git/doc/guix.texi:6595
  12442. msgid "Additionally, more than one package may be specified, in which case the union of the inputs for the given packages are used. For example, the command below spawns a shell where all of the dependencies of both Guile and Emacs are available:"
  12443. msgstr ""
  12444. #. type: example
  12445. #: guix-git/doc/guix.texi:6598
  12446. #, no-wrap
  12447. msgid "guix environment guile emacs\n"
  12448. msgstr ""
  12449. #. type: Plain text
  12450. #: guix-git/doc/guix.texi:6603
  12451. msgid "Sometimes an interactive shell session is not desired. An arbitrary command may be invoked by placing the @code{--} token to separate the command from the rest of the arguments:"
  12452. msgstr ""
  12453. #. type: example
  12454. #: guix-git/doc/guix.texi:6606
  12455. #, no-wrap
  12456. msgid "guix environment guile -- make -j4\n"
  12457. msgstr ""
  12458. #. type: Plain text
  12459. #: guix-git/doc/guix.texi:6612
  12460. msgid "In other situations, it is more convenient to specify the list of packages needed in the environment. For example, the following command runs @command{python} from an environment containing Python@tie{}3 and NumPy:"
  12461. msgstr ""
  12462. #. type: example
  12463. #: guix-git/doc/guix.texi:6615
  12464. #, no-wrap
  12465. msgid "guix environment --ad-hoc python-numpy python -- python3\n"
  12466. msgstr ""
  12467. #. type: Plain text
  12468. #: guix-git/doc/guix.texi:6626
  12469. msgid "Furthermore, one might want the dependencies of a package and also some additional packages that are not build-time or runtime dependencies, but are useful when developing nonetheless. Because of this, the @option{--ad-hoc} flag is positional. Packages appearing before @option{--ad-hoc} are interpreted as packages whose dependencies will be added to the environment. Packages appearing after are interpreted as packages that will be added to the environment directly. For example, the following command creates a Guix development environment that additionally includes Git and strace:"
  12470. msgstr ""
  12471. #. type: example
  12472. #: guix-git/doc/guix.texi:6629
  12473. #, no-wrap
  12474. msgid "guix environment --pure guix --ad-hoc git strace\n"
  12475. msgstr ""
  12476. #. type: Plain text
  12477. #: guix-git/doc/guix.texi:6639
  12478. msgid "Sometimes it is desirable to isolate the environment as much as possible, for maximal purity and reproducibility. In particular, when using Guix on a host distro that is not Guix System, it is desirable to prevent access to @file{/usr/bin} and other system-wide resources from the development environment. For example, the following command spawns a Guile REPL in a ``container'' where only the store and the current working directory are mounted:"
  12479. msgstr ""
  12480. #. type: example
  12481. #: guix-git/doc/guix.texi:6642
  12482. #, no-wrap
  12483. msgid "guix environment --ad-hoc --container guile -- guile\n"
  12484. msgstr ""
  12485. #. type: quotation
  12486. #: guix-git/doc/guix.texi:6646
  12487. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  12488. msgstr ""
  12489. #. type: cindex
  12490. #: guix-git/doc/guix.texi:6648
  12491. #, no-wrap
  12492. msgid "certificates"
  12493. msgstr ""
  12494. #. type: Plain text
  12495. #: guix-git/doc/guix.texi:6655
  12496. msgid "Another typical use case for containers is to run security-sensitive applications such as a web browser. To run Eolie, we must expose and share some files and directories; we include @code{nss-certs} and expose @file{/etc/ssl/certs/} for HTTPS authentication; finally we preserve the @env{DISPLAY} environment variable since containerized graphical applications won't display without it."
  12497. msgstr ""
  12498. #. type: example
  12499. #: guix-git/doc/guix.texi:6662
  12500. #, no-wrap
  12501. msgid ""
  12502. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  12503. " --expose=/etc/machine-id \\\n"
  12504. " --expose=/etc/ssl/certs/ \\\n"
  12505. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  12506. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  12507. msgstr ""
  12508. #. type: table
  12509. #: guix-git/doc/guix.texi:6671
  12510. msgid "Set up the environment and check whether the shell would clobber environment variables. @xref{Invoking guix shell, @option{--check}}, for more info."
  12511. msgstr ""
  12512. #. type: table
  12513. #: guix-git/doc/guix.texi:6687
  12514. msgid "When this option is omitted, the environment is protected from garbage collection only for the duration of the @command{guix environment} session. This means that next time you recreate the same environment, you could have to rebuild or re-download packages. @xref{Invoking guix gc}, for more on GC roots."
  12515. msgstr ""
  12516. #. type: example
  12517. #: guix-git/doc/guix.texi:6697
  12518. #, no-wrap
  12519. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  12520. msgstr ""
  12521. #. type: example
  12522. #: guix-git/doc/guix.texi:6706
  12523. #, no-wrap
  12524. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  12525. msgstr ""
  12526. #. type: example
  12527. #: guix-git/doc/guix.texi:6715
  12528. #, no-wrap
  12529. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  12530. msgstr ""
  12531. #. type: item
  12532. #: guix-git/doc/guix.texi:6717
  12533. #, no-wrap
  12534. msgid "--load=@var{file}"
  12535. msgstr "--load=@var{arquivo}"
  12536. #. type: itemx
  12537. #: guix-git/doc/guix.texi:6718
  12538. #, no-wrap
  12539. msgid "-l @var{file}"
  12540. msgstr "-l @var{arquivo}"
  12541. #. type: table
  12542. #: guix-git/doc/guix.texi:6721
  12543. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  12544. msgstr ""
  12545. #. type: table
  12546. #: guix-git/doc/guix.texi:6742
  12547. msgid "@xref{shell-export-manifest, @command{guix shell --export-manifest}}, for information on how to ``convert'' command-line options into a manifest."
  12548. msgstr ""
  12549. #. type: item
  12550. #: guix-git/doc/guix.texi:6743
  12551. #, no-wrap
  12552. msgid "--ad-hoc"
  12553. msgstr ""
  12554. #. type: table
  12555. #: guix-git/doc/guix.texi:6748
  12556. msgid "Include all specified packages in the resulting environment, as if an @i{ad hoc} package were defined with them as inputs. This option is useful for quickly creating an environment without having to write a package expression to contain the desired inputs."
  12557. msgstr ""
  12558. #. type: table
  12559. #: guix-git/doc/guix.texi:6750
  12560. msgid "For instance, the command:"
  12561. msgstr ""
  12562. #. type: example
  12563. #: guix-git/doc/guix.texi:6753
  12564. #, no-wrap
  12565. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  12566. msgstr ""
  12567. #. type: table
  12568. #: guix-git/doc/guix.texi:6757
  12569. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  12570. msgstr ""
  12571. #. type: table
  12572. #: guix-git/doc/guix.texi:6762
  12573. msgid "Note that this example implicitly asks for the default output of @code{guile} and @code{guile-sdl}, but it is possible to ask for a specific output---e.g., @code{glib:bin} asks for the @code{bin} output of @code{glib} (@pxref{Packages with Multiple Outputs})."
  12574. msgstr ""
  12575. #. type: table
  12576. #: guix-git/doc/guix.texi:6768
  12577. msgid "This option may be composed with the default behavior of @command{guix environment}. Packages appearing before @option{--ad-hoc} are interpreted as packages whose dependencies will be added to the environment, the default behavior. Packages appearing after are interpreted as packages that will be added to the environment directly."
  12578. msgstr ""
  12579. #. type: example
  12580. #: guix-git/doc/guix.texi:6790
  12581. #, no-wrap
  12582. msgid ""
  12583. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  12584. " -- mpirun @dots{}\n"
  12585. msgstr ""
  12586. #. type: table
  12587. #: guix-git/doc/guix.texi:6833
  12588. msgid "For containers, link the environment profile to @file{~/.guix-profile} within the container and set @code{GUIX_ENVIRONMENT} to that. This is equivalent to making @file{~/.guix-profile} a symlink to the actual profile within the container. Linking will fail and abort the environment if the directory already exists, which will certainly be the case if @command{guix environment} was invoked in the user's home directory."
  12589. msgstr ""
  12590. #. type: example
  12591. #: guix-git/doc/guix.texi:6860
  12592. #, no-wrap
  12593. msgid ""
  12594. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  12595. "cd $HOME/wd\n"
  12596. "guix environment --container --user=foo \\\n"
  12597. " --expose=$HOME/test \\\n"
  12598. " --expose=/tmp/target=$HOME/target\n"
  12599. msgstr ""
  12600. #. type: example
  12601. #: guix-git/doc/guix.texi:6888
  12602. #, no-wrap
  12603. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  12604. msgstr ""
  12605. #. type: table
  12606. #: guix-git/doc/guix.texi:6905
  12607. msgid "For containers, emulate a Filesystem Hierarchy Standard (FHS) configuration within the container, see @uref{https://refspecs.linuxfoundation.org/fhs.shtml, the official specification}. As Guix deviates from the FHS specification, this option sets up the container to more closely mimic that of other GNU/Linux distributions. This is useful for reproducing other development environments, testing, and using programs which expect the FHS specification to be followed. With this option, the container will include a version of @code{glibc} which will read @code{/etc/ld.so.cache} within the container for the shared library cache (contrary to @code{glibc} in regular Guix usage) and set up the expected FHS directories: @code{/bin}, @code{/etc}, @code{/lib}, and @code{/usr} from the container's profile."
  12608. msgstr ""
  12609. #. type: Plain text
  12610. #: guix-git/doc/guix.texi:6912
  12611. msgid "@command{guix environment} also supports all of the common build options that @command{guix build} supports (@pxref{Common Build Options}) as well as package transformation options (@pxref{Package Transformation Options})."
  12612. msgstr ""
  12613. #. type: section
  12614. #: guix-git/doc/guix.texi:6914
  12615. #, no-wrap
  12616. msgid "Invoking @command{guix pack}"
  12617. msgstr "Invocando @command{guix pack}"
  12618. #. type: command{#1}
  12619. #: guix-git/doc/guix.texi:6916
  12620. #, fuzzy, no-wrap
  12621. #| msgid "Invoking guix pack"
  12622. msgid "guix pack"
  12623. msgstr "Invocando guix pack"
  12624. #. type: Plain text
  12625. #: guix-git/doc/guix.texi:6922
  12626. msgid "Occasionally you want to pass software to people who are not (yet!) lucky enough to be using Guix. You'd tell them to run @command{guix package -i @var{something}}, but that's not possible in this case. This is where @command{guix pack} comes in."
  12627. msgstr ""
  12628. #. type: quotation
  12629. #: guix-git/doc/guix.texi:6927
  12630. msgid "If you are looking for ways to exchange binaries among machines that already run Guix, @pxref{Invoking guix copy}, @ref{Invoking guix publish}, and @ref{Invoking guix archive}."
  12631. msgstr ""
  12632. #. type: cindex
  12633. #: guix-git/doc/guix.texi:6929
  12634. #, no-wrap
  12635. msgid "pack"
  12636. msgstr ""
  12637. #. type: cindex
  12638. #: guix-git/doc/guix.texi:6930
  12639. #, no-wrap
  12640. msgid "bundle"
  12641. msgstr ""
  12642. #. type: cindex
  12643. #: guix-git/doc/guix.texi:6931
  12644. #, no-wrap
  12645. msgid "application bundle"
  12646. msgstr ""
  12647. #. type: cindex
  12648. #: guix-git/doc/guix.texi:6932
  12649. #, no-wrap
  12650. msgid "software bundle"
  12651. msgstr ""
  12652. #. type: Plain text
  12653. #: guix-git/doc/guix.texi:6941
  12654. msgid "The @command{guix pack} command creates a shrink-wrapped @dfn{pack} or @dfn{software bundle}: it creates a tarball or some other archive containing the binaries of the software you're interested in, and all its dependencies. The resulting archive can be used on any machine that does not have Guix, and people can run the exact same binaries as those you have with Guix. The pack itself is created in a bit-reproducible fashion, so anyone can verify that it really contains the build results that you pretend to be shipping."
  12655. msgstr ""
  12656. #. type: Plain text
  12657. #: guix-git/doc/guix.texi:6944
  12658. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  12659. msgstr ""
  12660. #. type: example
  12661. #: guix-git/doc/guix.texi:6949
  12662. #, no-wrap
  12663. msgid ""
  12664. "$ guix pack guile emacs emacs-geiser\n"
  12665. "@dots{}\n"
  12666. "/gnu/store/@dots{}-pack.tar.gz\n"
  12667. msgstr ""
  12668. #. type: Plain text
  12669. #: guix-git/doc/guix.texi:6957
  12670. msgid "The result here is a tarball containing a @file{/gnu/store} directory with all the relevant packages. The resulting tarball contains a @dfn{profile} with the three packages of interest; the profile is the same as would be created by @command{guix package -i}. It is this mechanism that is used to create Guix's own standalone binary tarball (@pxref{Binary Installation})."
  12671. msgstr ""
  12672. #. type: Plain text
  12673. #: guix-git/doc/guix.texi:6962
  12674. msgid "Users of this pack would have to run @file{/gnu/store/@dots{}-profile/bin/guile} to run Guile, which you may find inconvenient. To work around it, you can create, say, a @file{/opt/gnu/bin} symlink to the profile:"
  12675. msgstr ""
  12676. #. type: example
  12677. #: guix-git/doc/guix.texi:6965
  12678. #, fuzzy, no-wrap
  12679. #| msgid "guix package -i emacs guile emacs-geiser\n"
  12680. msgid "guix pack -S /opt/gnu/bin=bin guile emacs emacs-geiser\n"
  12681. msgstr "guix package -i emacs guile emacs-geiser\n"
  12682. #. type: Plain text
  12683. #: guix-git/doc/guix.texi:6969
  12684. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  12685. msgstr ""
  12686. #. type: cindex
  12687. #: guix-git/doc/guix.texi:6970
  12688. #, no-wrap
  12689. msgid "relocatable binaries, with @command{guix pack}"
  12690. msgstr ""
  12691. #. type: Plain text
  12692. #: guix-git/doc/guix.texi:6978
  12693. msgid "What if the recipient of your pack does not have root privileges on their machine, and thus cannot unpack it in the root file system? In that case, you will want to use the @option{--relocatable} option (see below). This option produces @dfn{relocatable binaries}, meaning they they can be placed anywhere in the file system hierarchy: in the example above, users can unpack your tarball in their home directory and directly run @file{./opt/gnu/bin/guile}."
  12694. msgstr ""
  12695. #. type: cindex
  12696. #: guix-git/doc/guix.texi:6979
  12697. #, no-wrap
  12698. msgid "Docker, build an image with guix pack"
  12699. msgstr ""
  12700. #. type: Plain text
  12701. #: guix-git/doc/guix.texi:6982
  12702. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  12703. msgstr ""
  12704. #. type: example
  12705. #: guix-git/doc/guix.texi:6985
  12706. #, no-wrap
  12707. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  12708. msgstr ""
  12709. #. type: Plain text
  12710. #: guix-git/doc/guix.texi:6990
  12711. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  12712. msgstr ""
  12713. #. type: example
  12714. #: guix-git/doc/guix.texi:6994
  12715. #, no-wrap
  12716. msgid ""
  12717. "docker load < @var{file}\n"
  12718. "docker run -ti guile-guile-readline /bin/guile\n"
  12719. msgstr ""
  12720. #. type: Plain text
  12721. #: guix-git/doc/guix.texi:7001
  12722. msgid "where @var{file} is the image returned by @var{guix pack}, and @code{guile-guile-readline} is its ``image tag''. See the @uref{https://docs.docker.com/engine/reference/commandline/load/, Docker documentation} for more information."
  12723. msgstr ""
  12724. #. type: cindex
  12725. #: guix-git/doc/guix.texi:7002
  12726. #, no-wrap
  12727. msgid "Singularity, build an image with guix pack"
  12728. msgstr ""
  12729. #. type: cindex
  12730. #: guix-git/doc/guix.texi:7003
  12731. #, no-wrap
  12732. msgid "SquashFS, build an image with guix pack"
  12733. msgstr ""
  12734. #. type: Plain text
  12735. #: guix-git/doc/guix.texi:7006
  12736. msgid "Yet another option is to produce a SquashFS image with the following command:"
  12737. msgstr ""
  12738. #. type: example
  12739. #: guix-git/doc/guix.texi:7009
  12740. #, fuzzy, no-wrap
  12741. #| msgid "guix package -i emacs guile emacs-geiser\n"
  12742. msgid "guix pack -f squashfs bash guile emacs emacs-geiser\n"
  12743. msgstr "guix package -i emacs guile emacs-geiser\n"
  12744. #. type: Plain text
  12745. #: guix-git/doc/guix.texi:7017
  12746. msgid "The result is a SquashFS file system image that can either be mounted or directly be used as a file system container image with the @uref{https://www.sylabs.io/docs/, Singularity container execution environment}, using commands like @command{singularity shell} or @command{singularity exec}."
  12747. msgstr ""
  12748. #. type: Plain text
  12749. #: guix-git/doc/guix.texi:7019
  12750. msgid "Several command-line options allow you to customize your pack:"
  12751. msgstr ""
  12752. #. type: table
  12753. #: guix-git/doc/guix.texi:7024
  12754. msgid "Produce a pack in the given @var{format}."
  12755. msgstr ""
  12756. #. type: table
  12757. #: guix-git/doc/guix.texi:7026
  12758. msgid "The available formats are:"
  12759. msgstr ""
  12760. #. type: item
  12761. #: guix-git/doc/guix.texi:7028
  12762. #, no-wrap
  12763. msgid "tarball"
  12764. msgstr "tarball"
  12765. #. type: table
  12766. #: guix-git/doc/guix.texi:7031
  12767. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  12768. msgstr ""
  12769. #. type: item
  12770. #: guix-git/doc/guix.texi:7032
  12771. #, no-wrap
  12772. msgid "docker"
  12773. msgstr ""
  12774. #. type: table
  12775. #: guix-git/doc/guix.texi:7038
  12776. msgid "This produces a tarball that follows the @uref{https://github.com/docker/docker/blob/master/image/spec/v1.2.md, Docker Image Specification}. The ``repository name'' as it appears in the output of the @command{docker images} command is computed from package names passed on the command line or in the manifest file."
  12777. msgstr ""
  12778. #. type: item
  12779. #: guix-git/doc/guix.texi:7039
  12780. #, no-wrap
  12781. msgid "squashfs"
  12782. msgstr ""
  12783. #. type: table
  12784. #: guix-git/doc/guix.texi:7043
  12785. msgid "This produces a SquashFS image containing all the specified binaries and symlinks, as well as empty mount points for virtual file systems like procfs."
  12786. msgstr ""
  12787. #. type: quotation
  12788. #: guix-git/doc/guix.texi:7049
  12789. msgid "Singularity @emph{requires} you to provide @file{/bin/sh} in the image. For that reason, @command{guix pack -f squashfs} always implies @code{-S /bin=bin}. Thus, your @command{guix pack} invocation must always start with something like:"
  12790. msgstr ""
  12791. #. type: example
  12792. #: guix-git/doc/guix.texi:7052
  12793. #, no-wrap
  12794. msgid "guix pack -f squashfs bash @dots{}\n"
  12795. msgstr ""
  12796. #. type: quotation
  12797. #: guix-git/doc/guix.texi:7057
  12798. msgid "If you forget the @code{bash} (or similar) package, @command{singularity run} and @command{singularity exec} will fail with an unhelpful ``no such file or directory'' message."
  12799. msgstr ""
  12800. #. type: item
  12801. #: guix-git/doc/guix.texi:7059
  12802. #, fuzzy, no-wrap
  12803. #| msgid "debug"
  12804. msgid "deb"
  12805. msgstr "depuração"
  12806. #. type: cindex
  12807. #: guix-git/doc/guix.texi:7060
  12808. #, no-wrap
  12809. msgid "Debian, build a .deb package with guix pack"
  12810. msgstr ""
  12811. #. type: table
  12812. #: guix-git/doc/guix.texi:7068
  12813. msgid "This produces a Debian archive (a package with the @samp{.deb} file extension) containing all the specified binaries and symbolic links, that can be installed on top of any dpkg-based GNU(/Linux) distribution. Advanced options can be revealed via the @option{--help-deb-format} option. They allow embedding control files for more fine-grained control, such as activating specific triggers or providing a maintainer configure script to run arbitrary setup code upon installation."
  12814. msgstr ""
  12815. #. type: example
  12816. #: guix-git/doc/guix.texi:7071
  12817. #, no-wrap
  12818. msgid "guix pack -f deb -C xz -S /usr/bin/hello=bin/hello hello\n"
  12819. msgstr ""
  12820. #. type: quotation
  12821. #: guix-git/doc/guix.texi:7079
  12822. msgid "Because archives produced with @command{guix pack} contain a collection of store items and because each @command{dpkg} package must not have conflicting files, in practice that means you likely won't be able to install more than one such archive on a given system. You can nonetheless pack as many Guix packages as you want in one such archive."
  12823. msgstr ""
  12824. #. type: quotation
  12825. #: guix-git/doc/guix.texi:7087
  12826. msgid "@command{dpkg} will assume ownership of any files contained in the pack that it does @emph{not} know about. It is unwise to install Guix-produced @samp{.deb} files on a system where @file{/gnu/store} is shared by other software, such as a Guix installation or other, non-deb packs."
  12827. msgstr ""
  12828. #. type: item
  12829. #: guix-git/doc/guix.texi:7089
  12830. #, no-wrap
  12831. msgid "rpm"
  12832. msgstr ""
  12833. #. type: cindex
  12834. #: guix-git/doc/guix.texi:7090
  12835. #, no-wrap
  12836. msgid "RPM, build an RPM archive with guix pack"
  12837. msgstr ""
  12838. #. type: table
  12839. #: guix-git/doc/guix.texi:7096
  12840. msgid "This produces an RPM archive (a package with the @samp{.rpm} file extension) containing all the specified binaries and symbolic links, that can be installed on top of any RPM-based GNU/Linux distribution. The RPM format embeds checksums for every file it contains, which the @command{rpm} command uses to validate the integrity of the archive."
  12841. msgstr ""
  12842. #. type: table
  12843. #: guix-git/doc/guix.texi:7101
  12844. msgid "Advanced RPM-related options are revealed via the @option{--help-rpm-format} option. These options allow embedding maintainer scripts that can run before or after the installation of the RPM archive, for example."
  12845. msgstr ""
  12846. #. type: table
  12847. #: guix-git/doc/guix.texi:7105
  12848. msgid "The RPM format supports relocatable packages via the @option{--prefix} option of the @command{rpm} command, which can be handy to install an RPM package to a specific prefix."
  12849. msgstr ""
  12850. #. type: example
  12851. #: guix-git/doc/guix.texi:7108
  12852. #, no-wrap
  12853. msgid "guix pack -f rpm -R -C xz -S /usr/bin/hello=bin/hello hello\n"
  12854. msgstr ""
  12855. #. type: example
  12856. #: guix-git/doc/guix.texi:7112
  12857. #, no-wrap
  12858. msgid "sudo rpm --install --prefix=/opt /gnu/store/...-hello.rpm\n"
  12859. msgstr ""
  12860. #. type: quotation
  12861. #: guix-git/doc/guix.texi:7119
  12862. msgid "Contrary to Debian packages, conflicting but @emph{identical} files in RPM packages can be installed simultaneously, which means multiple @command{guix pack}-produced RPM packages can usually be installed side by side without any problem."
  12863. msgstr ""
  12864. #. type: quotation
  12865. #: guix-git/doc/guix.texi:7129
  12866. msgid "@command{rpm} assumes ownership of any files contained in the pack, which means it will remove @file{/gnu/store} upon uninstalling a Guix-generated RPM package, unless the RPM package was installed with the @option{--prefix} option of the @command{rpm} command. It is unwise to install Guix-produced @samp{.rpm} packages on a system where @file{/gnu/store} is shared by other software, such as a Guix installation or other, non-rpm packs."
  12867. msgstr ""
  12868. #. type: cindex
  12869. #: guix-git/doc/guix.texi:7133
  12870. #, no-wrap
  12871. msgid "relocatable binaries"
  12872. msgstr ""
  12873. #. type: item
  12874. #: guix-git/doc/guix.texi:7134
  12875. #, no-wrap
  12876. msgid "--relocatable"
  12877. msgstr "--relocatable"
  12878. #. type: table
  12879. #: guix-git/doc/guix.texi:7138
  12880. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  12881. msgstr ""
  12882. #. type: table
  12883. #: guix-git/doc/guix.texi:7146
  12884. msgid "When this option is passed once, the resulting binaries require support for @dfn{user namespaces} in the kernel Linux; when passed @emph{twice}@footnote{Here's a trick to memorize it: @code{-RR}, which adds PRoot support, can be thought of as the abbreviation of ``Really Relocatable''. Neat, isn't it?}, relocatable binaries fall to back to other techniques if user namespaces are unavailable, and essentially work anywhere---see below for the implications."
  12885. msgstr ""
  12886. #. type: table
  12887. #: guix-git/doc/guix.texi:7148
  12888. msgid "For example, if you create a pack containing Bash with:"
  12889. msgstr ""
  12890. #. type: example
  12891. #: guix-git/doc/guix.texi:7151
  12892. #, no-wrap
  12893. msgid "guix pack -RR -S /mybin=bin bash\n"
  12894. msgstr ""
  12895. #. type: table
  12896. #: guix-git/doc/guix.texi:7156
  12897. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  12898. msgstr ""
  12899. #. type: example
  12900. #: guix-git/doc/guix.texi:7160
  12901. #, no-wrap
  12902. msgid ""
  12903. "tar xf pack.tar.gz\n"
  12904. "./mybin/sh\n"
  12905. msgstr ""
  12906. #. type: table
  12907. #: guix-git/doc/guix.texi:7168
  12908. msgid "In that shell, if you type @code{ls /gnu/store}, you'll notice that @file{/gnu/store} shows up and contains all the dependencies of @code{bash}, even though the machine actually lacks @file{/gnu/store} altogether! That is probably the simplest way to deploy Guix-built software on a non-Guix machine."
  12909. msgstr ""
  12910. #. type: quotation
  12911. #: guix-git/doc/guix.texi:7174
  12912. msgid "By default, relocatable binaries rely on the @dfn{user namespace} feature of the kernel Linux, which allows unprivileged users to mount or change root. Old versions of Linux did not support it, and some GNU/Linux distributions turn it off."
  12913. msgstr ""
  12914. #. type: quotation
  12915. #: guix-git/doc/guix.texi:7180
  12916. msgid "To produce relocatable binaries that work even in the absence of user namespaces, pass @option{--relocatable} or @option{-R} @emph{twice}. In that case, binaries will try user namespace support and fall back to another @dfn{execution engine} if user namespaces are not supported. The following execution engines are supported:"
  12917. msgstr ""
  12918. #. type: item
  12919. #: guix-git/doc/guix.texi:7182 guix-git/doc/guix.texi:20115
  12920. #, no-wrap
  12921. msgid "default"
  12922. msgstr ""
  12923. #. type: table
  12924. #: guix-git/doc/guix.texi:7185
  12925. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  12926. msgstr ""
  12927. #. type: item
  12928. #: guix-git/doc/guix.texi:7186
  12929. #, no-wrap
  12930. msgid "performance"
  12931. msgstr ""
  12932. #. type: table
  12933. #: guix-git/doc/guix.texi:7189
  12934. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  12935. msgstr ""
  12936. #. type: item
  12937. #: guix-git/doc/guix.texi:7190
  12938. #, no-wrap
  12939. msgid "userns"
  12940. msgstr ""
  12941. #. type: table
  12942. #: guix-git/doc/guix.texi:7193
  12943. msgid "Run the program through user namespaces and abort if they are not supported."
  12944. msgstr ""
  12945. #. type: item
  12946. #: guix-git/doc/guix.texi:7194
  12947. #, no-wrap
  12948. msgid "proot"
  12949. msgstr ""
  12950. #. type: table
  12951. #: guix-git/doc/guix.texi:7201
  12952. msgid "Run through PRoot. The @uref{https://proot-me.github.io/, PRoot} program provides the necessary support for file system virtualization. It achieves that by using the @code{ptrace} system call on the running program. This approach has the advantage to work without requiring special kernel support, but it incurs run-time overhead every time a system call is made."
  12953. msgstr ""
  12954. #. type: item
  12955. #: guix-git/doc/guix.texi:7202
  12956. #, no-wrap
  12957. msgid "fakechroot"
  12958. msgstr ""
  12959. #. type: table
  12960. #: guix-git/doc/guix.texi:7210
  12961. msgid "Run through Fakechroot. @uref{https://github.com/dex4er/fakechroot/, Fakechroot} virtualizes file system accesses by intercepting calls to C library functions such as @code{open}, @code{stat}, @code{exec}, and so on. Unlike PRoot, it incurs very little overhead. However, it does not always work: for example, some file system accesses made from within the C library are not intercepted, and file system accesses made @i{via} direct syscalls are not intercepted either, leading to erratic behavior."
  12962. msgstr ""
  12963. #. type: vindex
  12964. #: guix-git/doc/guix.texi:7212
  12965. #, no-wrap
  12966. msgid "GUIX_EXECUTION_ENGINE"
  12967. msgstr ""
  12968. #. type: quotation
  12969. #: guix-git/doc/guix.texi:7216
  12970. msgid "When running a wrapped program, you can explicitly request one of the execution engines listed above by setting the @env{GUIX_EXECUTION_ENGINE} environment variable accordingly."
  12971. msgstr ""
  12972. #. type: cindex
  12973. #: guix-git/doc/guix.texi:7218
  12974. #, no-wrap
  12975. msgid "entry point, for Docker images"
  12976. msgstr ""
  12977. #. type: item
  12978. #: guix-git/doc/guix.texi:7219
  12979. #, no-wrap
  12980. msgid "--entry-point=@var{command}"
  12981. msgstr ""
  12982. #. type: table
  12983. #: guix-git/doc/guix.texi:7224
  12984. msgid "Use @var{command} as the @dfn{entry point} of the resulting pack, if the pack format supports it---currently @code{docker} and @code{squashfs} (Singularity) support it. @var{command} must be relative to the profile contained in the pack."
  12985. msgstr ""
  12986. #. type: table
  12987. #: guix-git/doc/guix.texi:7228
  12988. msgid "The entry point specifies the command that tools like @code{docker run} or @code{singularity run} automatically start by default. For example, you can do:"
  12989. msgstr ""
  12990. #. type: example
  12991. #: guix-git/doc/guix.texi:7231
  12992. #, no-wrap
  12993. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  12994. msgstr ""
  12995. #. type: table
  12996. #: guix-git/doc/guix.texi:7235
  12997. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  12998. msgstr ""
  12999. #. type: example
  13000. #: guix-git/doc/guix.texi:7239
  13001. #, no-wrap
  13002. msgid ""
  13003. "docker load -i pack.tar.gz\n"
  13004. "docker run @var{image-id}\n"
  13005. msgstr ""
  13006. #. type: table
  13007. #: guix-git/doc/guix.texi:7244 guix-git/doc/guix.texi:14332
  13008. #: guix-git/doc/guix.texi:14993 guix-git/doc/guix.texi:15403
  13009. msgid "Consider the package @var{expr} evaluates to."
  13010. msgstr ""
  13011. #. type: table
  13012. #: guix-git/doc/guix.texi:7248
  13013. msgid "This has the same purpose as the same-named option in @command{guix build} (@pxref{Additional Build Options, @option{--expression} in @command{guix build}})."
  13014. msgstr ""
  13015. #. type: anchor{#1}
  13016. #: guix-git/doc/guix.texi:7250
  13017. #, fuzzy
  13018. #| msgid "packages->manifest"
  13019. msgid "pack-manifest"
  13020. msgstr "packages->manifest"
  13021. #. type: table
  13022. #: guix-git/doc/guix.texi:7255
  13023. msgid "Use the packages contained in the manifest object returned by the Scheme code in @var{file}. This option can be repeated several times, in which case the manifests are concatenated."
  13024. msgstr ""
  13025. #. type: table
  13026. #: guix-git/doc/guix.texi:7263
  13027. msgid "This has a similar purpose as the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files. It allows you to define a collection of packages once and use it both for creating profiles and for creating archives for use on machines that do not have Guix installed. Note that you can specify @emph{either} a manifest file @emph{or} a list of packages, but not both."
  13028. msgstr ""
  13029. #. type: table
  13030. #: guix-git/doc/guix.texi:7268
  13031. msgid "@xref{Writing Manifests}, for information on how to write a manifest. @xref{shell-export-manifest, @command{guix shell --export-manifest}}, for information on how to ``convert'' command-line options into a manifest."
  13032. msgstr ""
  13033. #. type: item
  13034. #: guix-git/doc/guix.texi:7274 guix-git/doc/guix.texi:13284
  13035. #: guix-git/doc/guix.texi:40314
  13036. #, no-wrap
  13037. msgid "--target=@var{triplet}"
  13038. msgstr ""
  13039. #. type: cindex
  13040. #: guix-git/doc/guix.texi:7275 guix-git/doc/guix.texi:7734
  13041. #: guix-git/doc/guix.texi:13285
  13042. #, no-wrap
  13043. msgid "cross-compilation"
  13044. msgstr ""
  13045. #. type: table
  13046. #: guix-git/doc/guix.texi:7279 guix-git/doc/guix.texi:40318
  13047. msgid "Cross-build for @var{triplet}, which must be a valid GNU triplet, such as @code{\"aarch64-linux-gnu\"} (@pxref{Specifying target triplets, GNU configuration triplets,, autoconf, Autoconf})."
  13048. msgstr ""
  13049. #. type: item
  13050. #: guix-git/doc/guix.texi:7280
  13051. #, no-wrap
  13052. msgid "--compression=@var{tool}"
  13053. msgstr ""
  13054. #. type: itemx
  13055. #: guix-git/doc/guix.texi:7281
  13056. #, no-wrap
  13057. msgid "-C @var{tool}"
  13058. msgstr ""
  13059. #. type: table
  13060. #: guix-git/doc/guix.texi:7285
  13061. msgid "Compress the resulting tarball using @var{tool}---one of @code{gzip}, @code{zstd}, @code{bzip2}, @code{xz}, @code{lzip}, or @code{none} for no compression."
  13062. msgstr ""
  13063. #. type: anchor{#1}
  13064. #: guix-git/doc/guix.texi:7287
  13065. msgid "pack-symlink-option"
  13066. msgstr ""
  13067. #. type: table
  13068. #: guix-git/doc/guix.texi:7291
  13069. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  13070. msgstr ""
  13071. #. type: table
  13072. #: guix-git/doc/guix.texi:7295
  13073. msgid "@var{spec} has the form @code{@var{source}=@var{target}}, where @var{source} is the symlink that will be created and @var{target} is the symlink target."
  13074. msgstr ""
  13075. #. type: table
  13076. #: guix-git/doc/guix.texi:7298
  13077. msgid "For instance, @code{-S /opt/gnu/bin=bin} creates a @file{/opt/gnu/bin} symlink pointing to the @file{bin} sub-directory of the profile."
  13078. msgstr ""
  13079. #. type: item
  13080. #: guix-git/doc/guix.texi:7299 guix-git/doc/guix.texi:40325
  13081. #, no-wrap
  13082. msgid "--save-provenance"
  13083. msgstr ""
  13084. #. type: table
  13085. #: guix-git/doc/guix.texi:7303
  13086. msgid "Save provenance information for the packages passed on the command line. Provenance information includes the URL and commit of the channels in use (@pxref{Channels})."
  13087. msgstr ""
  13088. #. type: table
  13089. #: guix-git/doc/guix.texi:7309
  13090. msgid "Provenance information is saved in the @file{/gnu/store/@dots{}-profile/manifest} file in the pack, along with the usual package metadata---the name and version of each package, their propagated inputs, and so on. It is useful information to the recipient of the pack, who then knows how the pack was (supposedly) obtained."
  13091. msgstr ""
  13092. #. type: table
  13093. #: guix-git/doc/guix.texi:7315
  13094. msgid "This option is not enabled by default because, like timestamps, provenance information contributes nothing to the build process. In other words, there is an infinity of channel URLs and commit IDs that can lead to the same pack. Recording such ``silent'' metadata in the output thus potentially breaks the source-to-binary bitwise reproducibility property."
  13095. msgstr ""
  13096. #. type: cindex
  13097. #: guix-git/doc/guix.texi:7318
  13098. #, no-wrap
  13099. msgid "garbage collector root, for packs"
  13100. msgstr ""
  13101. #. type: table
  13102. #: guix-git/doc/guix.texi:7321
  13103. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  13104. msgstr ""
  13105. #. type: item
  13106. #: guix-git/doc/guix.texi:7322
  13107. #, no-wrap
  13108. msgid "--localstatedir"
  13109. msgstr "--localstatedir"
  13110. #. type: itemx
  13111. #: guix-git/doc/guix.texi:7323
  13112. #, no-wrap
  13113. msgid "--profile-name=@var{name}"
  13114. msgstr ""
  13115. #. type: table
  13116. #: guix-git/doc/guix.texi:7328
  13117. msgid "Include the ``local state directory'', @file{/var/guix}, in the resulting pack, and notably the @file{/var/guix/profiles/per-user/root/@var{name}} profile---by default @var{name} is @code{guix-profile}, which corresponds to @file{~root/.guix-profile}."
  13118. msgstr ""
  13119. #. type: table
  13120. #: guix-git/doc/guix.texi:7334
  13121. msgid "@file{/var/guix} contains the store database (@pxref{The Store}) as well as garbage-collector roots (@pxref{Invoking guix gc}). Providing it in the pack means that the store is ``complete'' and manageable by Guix; not providing it pack means that the store is ``dead'': items cannot be added to it or removed from it after extraction of the pack."
  13122. msgstr ""
  13123. #. type: table
  13124. #: guix-git/doc/guix.texi:7337
  13125. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  13126. msgstr ""
  13127. #. type: item
  13128. #: guix-git/doc/guix.texi:7338 guix-git/doc/guix.texi:40319
  13129. #, no-wrap
  13130. msgid "--derivation"
  13131. msgstr ""
  13132. #. type: itemx
  13133. #: guix-git/doc/guix.texi:7339 guix-git/doc/guix.texi:13324
  13134. #: guix-git/doc/guix.texi:40320
  13135. #, no-wrap
  13136. msgid "-d"
  13137. msgstr ""
  13138. #. type: table
  13139. #: guix-git/doc/guix.texi:7341
  13140. msgid "Print the name of the derivation that builds the pack."
  13141. msgstr ""
  13142. #. type: table
  13143. #: guix-git/doc/guix.texi:7345
  13144. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  13145. msgstr ""
  13146. #. type: Plain text
  13147. #: guix-git/doc/guix.texi:7350
  13148. msgid "In addition, @command{guix pack} supports all the common build options (@pxref{Common Build Options}) and all the package transformation options (@pxref{Package Transformation Options})."
  13149. msgstr ""
  13150. #. type: cindex
  13151. #: guix-git/doc/guix.texi:7355
  13152. #, no-wrap
  13153. msgid "GCC"
  13154. msgstr ""
  13155. #. type: cindex
  13156. #: guix-git/doc/guix.texi:7356
  13157. #, no-wrap
  13158. msgid "ld-wrapper"
  13159. msgstr ""
  13160. #. type: cindex
  13161. #: guix-git/doc/guix.texi:7357
  13162. #, no-wrap
  13163. msgid "linker wrapper"
  13164. msgstr ""
  13165. #. type: cindex
  13166. #: guix-git/doc/guix.texi:7358
  13167. #, no-wrap
  13168. msgid "toolchain, for C development"
  13169. msgstr ""
  13170. #. type: cindex
  13171. #: guix-git/doc/guix.texi:7359
  13172. #, no-wrap
  13173. msgid "toolchain, for Fortran development"
  13174. msgstr ""
  13175. #. type: Plain text
  13176. #: guix-git/doc/guix.texi:7366
  13177. msgid "If you need a complete toolchain for compiling and linking C or C++ source code, use the @code{gcc-toolchain} package. This package provides a complete GCC toolchain for C/C++ development, including GCC itself, the GNU C Library (headers and binaries, plus debugging symbols in the @code{debug} output), Binutils, and a linker wrapper."
  13178. msgstr ""
  13179. #. type: Plain text
  13180. #: guix-git/doc/guix.texi:7372
  13181. msgid "The wrapper's purpose is to inspect the @code{-L} and @code{-l} switches passed to the linker, add corresponding @code{-rpath} arguments, and invoke the actual linker with this new set of arguments. You can instruct the wrapper to refuse to link against libraries not in the store by setting the @env{GUIX_LD_WRAPPER_ALLOW_IMPURITIES} environment variable to @code{no}."
  13182. msgstr ""
  13183. #. type: Plain text
  13184. #: guix-git/doc/guix.texi:7376
  13185. msgid "The package @code{gfortran-toolchain} provides a complete GCC toolchain for Fortran development. For other languages, please use @samp{guix search gcc toolchain} (@pxref{guix-search,, Invoking guix package})."
  13186. msgstr ""
  13187. #. type: section
  13188. #: guix-git/doc/guix.texi:7379
  13189. #, no-wrap
  13190. msgid "Invoking @command{guix git authenticate}"
  13191. msgstr ""
  13192. #. type: command{#1}
  13193. #: guix-git/doc/guix.texi:7381
  13194. #, fuzzy, no-wrap
  13195. #| msgid "Substitute Authentication"
  13196. msgid "guix git authenticate"
  13197. msgstr "Autenticação de substituto"
  13198. #. type: Plain text
  13199. #: guix-git/doc/guix.texi:7389
  13200. msgid "The @command{guix git authenticate} command authenticates a Git checkout following the same rule as for channels (@pxref{channel-authentication, channel authentication}). That is, starting from a given commit, it ensures that all subsequent commits are signed by an OpenPGP key whose fingerprint appears in the @file{.guix-authorizations} file of its parent commit(s)."
  13201. msgstr ""
  13202. #. type: Plain text
  13203. #: guix-git/doc/guix.texi:7394
  13204. msgid "You will find this command useful if you maintain a channel. But in fact, this authentication mechanism is useful in a broader context, so you might want to use it for Git repositories that have nothing to do with Guix."
  13205. msgstr ""
  13206. #. type: example
  13207. #: guix-git/doc/guix.texi:7399
  13208. #, no-wrap
  13209. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  13210. msgstr ""
  13211. #. type: Plain text
  13212. #: guix-git/doc/guix.texi:7408
  13213. msgid "By default, this command authenticates the Git checkout in the current directory; it outputs nothing and exits with exit code zero on success and non-zero on failure. @var{commit} above denotes the first commit where authentication takes place, and @var{signer} is the OpenPGP fingerprint of public key used to sign @var{commit}. Together, they form a ``channel introduction'' (@pxref{channel-authentication, channel introduction}). The options below allow you to fine-tune the process."
  13214. msgstr ""
  13215. #. type: item
  13216. #: guix-git/doc/guix.texi:7410
  13217. #, no-wrap
  13218. msgid "--repository=@var{directory}"
  13219. msgstr ""
  13220. #. type: itemx
  13221. #: guix-git/doc/guix.texi:7411
  13222. #, no-wrap
  13223. msgid "-r @var{directory}"
  13224. msgstr ""
  13225. #. type: table
  13226. #: guix-git/doc/guix.texi:7414
  13227. msgid "Open the Git repository in @var{directory} instead of the current directory."
  13228. msgstr ""
  13229. #. type: item
  13230. #: guix-git/doc/guix.texi:7415
  13231. #, no-wrap
  13232. msgid "--keyring=@var{reference}"
  13233. msgstr ""
  13234. #. type: itemx
  13235. #: guix-git/doc/guix.texi:7416
  13236. #, no-wrap
  13237. msgid "-k @var{reference}"
  13238. msgstr ""
  13239. #. type: table
  13240. #: guix-git/doc/guix.texi:7422
  13241. msgid "Load OpenPGP keyring from @var{reference}, the reference of a branch such as @code{origin/keyring} or @code{my-keyring}. The branch must contain OpenPGP public keys in @file{.key} files, either in binary form or ``ASCII-armored''. By default the keyring is loaded from the branch named @code{keyring}."
  13242. msgstr ""
  13243. #. type: item
  13244. #: guix-git/doc/guix.texi:7423
  13245. #, no-wrap
  13246. msgid "--stats"
  13247. msgstr ""
  13248. #. type: table
  13249. #: guix-git/doc/guix.texi:7425
  13250. msgid "Display commit signing statistics upon completion."
  13251. msgstr ""
  13252. #. type: item
  13253. #: guix-git/doc/guix.texi:7426
  13254. #, no-wrap
  13255. msgid "--cache-key=@var{key}"
  13256. msgstr ""
  13257. #. type: table
  13258. #: guix-git/doc/guix.texi:7430
  13259. msgid "Previously-authenticated commits are cached in a file under @file{~/.cache/guix/authentication}. This option forces the cache to be stored in file @var{key} in that directory."
  13260. msgstr ""
  13261. #. type: item
  13262. #: guix-git/doc/guix.texi:7431
  13263. #, no-wrap
  13264. msgid "--historical-authorizations=@var{file}"
  13265. msgstr ""
  13266. #. type: table
  13267. #: guix-git/doc/guix.texi:7438
  13268. msgid "By default, any commit whose parent commit(s) lack the @file{.guix-authorizations} file is considered inauthentic. In contrast, this option considers the authorizations in @var{file} for any commit that lacks @file{.guix-authorizations}. The format of @var{file} is the same as that of @file{.guix-authorizations} (@pxref{channel-authorizations, @file{.guix-authorizations} format})."
  13269. msgstr ""
  13270. #. type: Plain text
  13271. #: guix-git/doc/guix.texi:7451
  13272. msgid "GNU Guix provides several Scheme programming interfaces (APIs) to define, build, and query packages. The first interface allows users to write high-level package definitions. These definitions refer to familiar packaging concepts, such as the name and version of a package, its build system, and its dependencies. These definitions can then be turned into concrete build actions."
  13273. msgstr ""
  13274. #. type: Plain text
  13275. #: guix-git/doc/guix.texi:7457
  13276. msgid "Build actions are performed by the Guix daemon, on behalf of users. In a standard setup, the daemon has write access to the store---the @file{/gnu/store} directory---whereas users do not. The recommended setup also has the daemon perform builds in chroots, under specific build users, to minimize interference with the rest of the system."
  13277. msgstr ""
  13278. #. type: Plain text
  13279. #: guix-git/doc/guix.texi:7466
  13280. msgid "Lower-level APIs are available to interact with the daemon and the store. To instruct the daemon to perform a build action, users actually provide it with a @dfn{derivation}. A derivation is a low-level representation of the build actions to be taken, and the environment in which they should occur---derivations are to package definitions what assembly is to C programs. The term ``derivation'' comes from the fact that build results @emph{derive} from them."
  13281. msgstr ""
  13282. #. type: Plain text
  13283. #: guix-git/doc/guix.texi:7469
  13284. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  13285. msgstr ""
  13286. #. type: Plain text
  13287. #: guix-git/doc/guix.texi:7501
  13288. msgid "From a programming viewpoint, the package definitions of the GNU distribution are provided by Guile modules in the @code{(gnu packages @dots{})} name space@footnote{Note that packages under the @code{(gnu packages @dots{})} module name space are not necessarily ``GNU packages''. This module naming scheme follows the usual Guile module naming convention: @code{gnu} means that these modules are distributed as part of the GNU system, and @code{packages} identifies modules that define packages.} (@pxref{Modules, Guile modules,, guile, GNU Guile Reference Manual}). For instance, the @code{(gnu packages emacs)} module exports a variable named @code{emacs}, which is bound to a @code{<package>} object (@pxref{Defining Packages})."
  13289. msgstr ""
  13290. #. type: Plain text
  13291. #: guix-git/doc/guix.texi:7508
  13292. msgid "The @code{(gnu packages @dots{})} module name space is automatically scanned for packages by the command-line tools. For instance, when running @code{guix install emacs}, all the @code{(gnu packages @dots{})} modules are scanned until one that exports a package object whose name is @code{emacs} is found. This package search facility is implemented in the @code{(gnu packages)} module."
  13293. msgstr ""
  13294. #. type: cindex
  13295. #: guix-git/doc/guix.texi:7510
  13296. #, no-wrap
  13297. msgid "package module search path"
  13298. msgstr ""
  13299. #. type: Plain text
  13300. #: guix-git/doc/guix.texi:7519
  13301. msgid "Users can store package definitions in modules with different names---e.g., @code{(my-packages emacs)}@footnote{Note that the file name and module name must match. For instance, the @code{(my-packages emacs)} module must be stored in a @file{my-packages/emacs.scm} file relative to the load path specified with @option{--load-path} or @env{GUIX_PACKAGE_PATH}. @xref{Modules and the File System,,, guile, GNU Guile Reference Manual}, for details.}. There are two ways to make these package definitions visible to the user interfaces:"
  13302. msgstr ""
  13303. #. type: enumerate
  13304. #: guix-git/doc/guix.texi:7526
  13305. msgid "By adding the directory containing your package modules to the search path with the @code{-L} flag of @command{guix package} and other commands (@pxref{Common Build Options}), or by setting the @env{GUIX_PACKAGE_PATH} environment variable described below."
  13306. msgstr ""
  13307. #. type: enumerate
  13308. #: guix-git/doc/guix.texi:7532
  13309. msgid "By defining a @dfn{channel} and configuring @command{guix pull} so that it pulls from it. A channel is essentially a Git repository containing package modules. @xref{Channels}, for more information on how to define and use channels."
  13310. msgstr ""
  13311. #. type: Plain text
  13312. #: guix-git/doc/guix.texi:7535
  13313. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  13314. msgstr ""
  13315. #. type: defvr
  13316. #: guix-git/doc/guix.texi:7536
  13317. #, no-wrap
  13318. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  13319. msgstr ""
  13320. #. type: defvr
  13321. #: guix-git/doc/guix.texi:7540
  13322. msgid "This is a colon-separated list of directories to search for additional package modules. Directories listed in this variable take precedence over the own modules of the distribution."
  13323. msgstr ""
  13324. #. type: Plain text
  13325. #: guix-git/doc/guix.texi:7548
  13326. msgid "The distribution is fully @dfn{bootstrapped} and @dfn{self-contained}: each package is built based solely on other packages in the distribution. The root of this dependency graph is a small set of @dfn{bootstrap binaries}, provided by the @code{(gnu packages bootstrap)} module. For more information on bootstrapping, @pxref{Bootstrapping}."
  13327. msgstr ""
  13328. #. type: Plain text
  13329. #: guix-git/doc/guix.texi:7556
  13330. msgid "The high-level interface to package definitions is implemented in the @code{(guix packages)} and @code{(guix build-system)} modules. As an example, the package definition, or @dfn{recipe}, for the GNU Hello package looks like this:"
  13331. msgstr ""
  13332. #. type: lisp
  13333. #: guix-git/doc/guix.texi:7564
  13334. #, no-wrap
  13335. msgid ""
  13336. "(define-module (gnu packages hello)\n"
  13337. " #:use-module (guix packages)\n"
  13338. " #:use-module (guix download)\n"
  13339. " #:use-module (guix build-system gnu)\n"
  13340. " #:use-module (guix licenses)\n"
  13341. " #:use-module (gnu packages gawk))\n"
  13342. "\n"
  13343. msgstr ""
  13344. #. type: lisp
  13345. #: guix-git/doc/guix.texi:7583
  13346. #, no-wrap
  13347. msgid ""
  13348. "(define-public hello\n"
  13349. " (package\n"
  13350. " (name \"hello\")\n"
  13351. " (version \"2.10\")\n"
  13352. " (source (origin\n"
  13353. " (method url-fetch)\n"
  13354. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  13355. " \".tar.gz\"))\n"
  13356. " (sha256\n"
  13357. " (base32\n"
  13358. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  13359. " (build-system gnu-build-system)\n"
  13360. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  13361. " (inputs (list gawk))\n"
  13362. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  13363. " (description \"Guess what GNU Hello prints!\")\n"
  13364. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  13365. " (license gpl3+)))\n"
  13366. msgstr ""
  13367. #. type: Plain text
  13368. #: guix-git/doc/guix.texi:7593
  13369. msgid "Without being a Scheme expert, the reader may have guessed the meaning of the various fields here. This expression binds the variable @code{hello} to a @code{<package>} object, which is essentially a record (@pxref{SRFI-9, Scheme records,, guile, GNU Guile Reference Manual}). This package object can be inspected using procedures found in the @code{(guix packages)} module; for instance, @code{(package-name hello)} returns---surprise!---@code{\"hello\"}."
  13370. msgstr ""
  13371. #. type: Plain text
  13372. #: guix-git/doc/guix.texi:7597
  13373. msgid "With luck, you may be able to import part or all of the definition of the package you are interested in from another repository, using the @code{guix import} command (@pxref{Invoking guix import})."
  13374. msgstr ""
  13375. #. type: Plain text
  13376. #: guix-git/doc/guix.texi:7603
  13377. msgid "In the example above, @code{hello} is defined in a module of its own, @code{(gnu packages hello)}. Technically, this is not strictly necessary, but it is convenient to do so: all the packages defined in modules under @code{(gnu packages @dots{})} are automatically known to the command-line tools (@pxref{Package Modules})."
  13378. msgstr ""
  13379. #. type: Plain text
  13380. #: guix-git/doc/guix.texi:7605
  13381. msgid "There are a few points worth noting in the above package definition:"
  13382. msgstr ""
  13383. #. type: itemize
  13384. #: guix-git/doc/guix.texi:7612
  13385. msgid "The @code{source} field of the package is an @code{<origin>} object (@pxref{origin Reference}, for the complete reference). Here, the @code{url-fetch} method from @code{(guix download)} is used, meaning that the source is a file to be downloaded over FTP or HTTP."
  13386. msgstr ""
  13387. #. type: itemize
  13388. #: guix-git/doc/guix.texi:7615
  13389. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  13390. msgstr ""
  13391. #. type: itemize
  13392. #: guix-git/doc/guix.texi:7622
  13393. msgid "The @code{sha256} field specifies the expected SHA256 hash of the file being downloaded. It is mandatory, and allows Guix to check the integrity of the file. The @code{(base32 @dots{})} form introduces the base32 representation of the hash. You can obtain this information with @code{guix download} (@pxref{Invoking guix download}) and @code{guix hash} (@pxref{Invoking guix hash})."
  13394. msgstr ""
  13395. #. type: cindex
  13396. #: guix-git/doc/guix.texi:7623
  13397. #, no-wrap
  13398. msgid "patches"
  13399. msgstr ""
  13400. #. type: itemize
  13401. #: guix-git/doc/guix.texi:7627
  13402. msgid "When needed, the @code{origin} form can also have a @code{patches} field listing patches to be applied, and a @code{snippet} field giving a Scheme expression to modify the source code."
  13403. msgstr ""
  13404. #. type: cindex
  13405. #: guix-git/doc/guix.texi:7629
  13406. #, no-wrap
  13407. msgid "GNU Build System"
  13408. msgstr ""
  13409. #. type: itemize
  13410. #: guix-git/doc/guix.texi:7635
  13411. msgid "The @code{build-system} field specifies the procedure to build the package (@pxref{Build Systems}). Here, @code{gnu-build-system} represents the familiar GNU Build System, where packages may be configured, built, and installed with the usual @code{./configure && make && make check && make install} command sequence."
  13412. msgstr ""
  13413. #. type: itemize
  13414. #: guix-git/doc/guix.texi:7639
  13415. msgid "When you start packaging non-trivial software, you may need tools to manipulate those build phases, manipulate files, and so on. @xref{Build Utilities}, for more on this."
  13416. msgstr ""
  13417. #. type: itemize
  13418. #: guix-git/doc/guix.texi:7645
  13419. msgid "The @code{arguments} field specifies options for the build system (@pxref{Build Systems}). Here it is interpreted by @code{gnu-build-system} as a request run @file{configure} with the @option{--enable-silent-rules} flag."
  13420. msgstr ""
  13421. #. type: findex
  13422. #: guix-git/doc/guix.texi:7646 guix-git/doc/guix.texi:7649
  13423. #, no-wrap
  13424. msgid "quote"
  13425. msgstr ""
  13426. #. type: cindex
  13427. #: guix-git/doc/guix.texi:7647
  13428. #, no-wrap
  13429. msgid "quoting"
  13430. msgstr ""
  13431. #. type: findex
  13432. #: guix-git/doc/guix.texi:7648
  13433. #, no-wrap
  13434. msgid "'"
  13435. msgstr ""
  13436. #. type: cindex
  13437. #: guix-git/doc/guix.texi:7650
  13438. #, no-wrap
  13439. msgid "backquote (quasiquote)"
  13440. msgstr ""
  13441. #. type: findex
  13442. #: guix-git/doc/guix.texi:7651
  13443. #, no-wrap
  13444. msgid "`"
  13445. msgstr ""
  13446. #. type: findex
  13447. #: guix-git/doc/guix.texi:7652
  13448. #, no-wrap
  13449. msgid "quasiquote"
  13450. msgstr ""
  13451. #. type: cindex
  13452. #: guix-git/doc/guix.texi:7653
  13453. #, no-wrap
  13454. msgid "comma (unquote)"
  13455. msgstr ""
  13456. #. type: findex
  13457. #: guix-git/doc/guix.texi:7654
  13458. #, no-wrap
  13459. msgid ","
  13460. msgstr ""
  13461. #. type: findex
  13462. #: guix-git/doc/guix.texi:7655
  13463. #, no-wrap
  13464. msgid "unquote"
  13465. msgstr ""
  13466. #. type: itemize
  13467. #: guix-git/doc/guix.texi:7665
  13468. msgid "What about these quote (@code{'}) characters? They are Scheme syntax to introduce a literal list; @code{'} is synonymous with @code{quote}. Sometimes you'll also see @code{`} (a backquote, synonymous with @code{quasiquote}) and @code{,} (a comma, synonymous with @code{unquote}). @xref{Expression Syntax, quoting,, guile, GNU Guile Reference Manual}, for details. Here the value of the @code{arguments} field is a list of arguments passed to the build system down the road, as with @code{apply} (@pxref{Fly Evaluation, @code{apply},, guile, GNU Guile Reference Manual})."
  13469. msgstr ""
  13470. #. type: itemize
  13471. #: guix-git/doc/guix.texi:7671
  13472. msgid "The hash-colon (@code{#:}) sequence defines a Scheme @dfn{keyword} (@pxref{Keywords,,, guile, GNU Guile Reference Manual}), and @code{#:configure-flags} is a keyword used to pass a keyword argument to the build system (@pxref{Coding With Keywords,,, guile, GNU Guile Reference Manual})."
  13473. msgstr ""
  13474. #. type: itemize
  13475. #: guix-git/doc/guix.texi:7677
  13476. msgid "The @code{inputs} field specifies inputs to the build process---i.e., build-time or run-time dependencies of the package. Here, we add an input, a reference to the @code{gawk} variable; @code{gawk} is itself bound to a @code{<package>} object."
  13477. msgstr ""
  13478. #. type: itemize
  13479. #: guix-git/doc/guix.texi:7681
  13480. msgid "Note that GCC, Coreutils, Bash, and other essential tools do not need to be specified as inputs here. Instead, @code{gnu-build-system} takes care of ensuring that they are present (@pxref{Build Systems})."
  13481. msgstr ""
  13482. #. type: itemize
  13483. #: guix-git/doc/guix.texi:7685
  13484. msgid "However, any other dependencies need to be specified in the @code{inputs} field. Any dependency not specified here will simply be unavailable to the build process, possibly leading to a build failure."
  13485. msgstr ""
  13486. #. type: Plain text
  13487. #: guix-git/doc/guix.texi:7688
  13488. msgid "@xref{package Reference}, for a full description of possible fields."
  13489. msgstr ""
  13490. #. type: cindex
  13491. #: guix-git/doc/guix.texi:7690
  13492. #, no-wrap
  13493. msgid "Scheme programming language, getting started"
  13494. msgstr ""
  13495. #. type: quotation
  13496. #: guix-git/doc/guix.texi:7695
  13497. msgid "Intimidated by the Scheme language or curious about it? The Cookbook has a short section to get started that recaps some of the things shown above and explains the fundamentals. @xref{A Scheme Crash Course,,, guix-cookbook, GNU Guix Cookbook}, for more information."
  13498. msgstr ""
  13499. #. type: Plain text
  13500. #: guix-git/doc/guix.texi:7707
  13501. msgid "Once a package definition is in place, the package may actually be built using the @code{guix build} command-line tool (@pxref{Invoking guix build}), troubleshooting any build failures you encounter (@pxref{Debugging Build Failures}). You can easily jump back to the package definition using the @command{guix edit} command (@pxref{Invoking guix edit}). @xref{Packaging Guidelines}, for more information on how to test package definitions, and @ref{Invoking guix lint}, for information on how to check a definition for style conformance."
  13502. msgstr ""
  13503. #. type: vindex
  13504. #: guix-git/doc/guix.texi:7707
  13505. #, no-wrap
  13506. msgid "GUIX_PACKAGE_PATH"
  13507. msgstr "GUIX_PACKAGE_PATH"
  13508. #. type: Plain text
  13509. #: guix-git/doc/guix.texi:7711
  13510. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  13511. msgstr ""
  13512. #. type: Plain text
  13513. #: guix-git/doc/guix.texi:7715
  13514. msgid "Finally, updating the package definition to a new upstream version can be partly automated by the @command{guix refresh} command (@pxref{Invoking guix refresh})."
  13515. msgstr ""
  13516. #. type: Plain text
  13517. #: guix-git/doc/guix.texi:7721
  13518. msgid "Behind the scenes, a derivation corresponding to the @code{<package>} object is first computed by the @code{package-derivation} procedure. That derivation is stored in a @file{.drv} file under @file{/gnu/store}. The build actions it prescribes may then be realized by using the @code{build-derivations} procedure (@pxref{The Store})."
  13519. msgstr ""
  13520. #. type: defun
  13521. #: guix-git/doc/guix.texi:7722
  13522. #, no-wrap
  13523. msgid "package-derivation store package [system]"
  13524. msgstr ""
  13525. #. type: defun
  13526. #: guix-git/doc/guix.texi:7725
  13527. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  13528. msgstr ""
  13529. #. type: defun
  13530. #: guix-git/doc/guix.texi:7731
  13531. msgid "@var{package} must be a valid @code{<package>} object, and @var{system} must be a string denoting the target system type---e.g., @code{\"x86_64-linux\"} for an x86_64 Linux-based GNU system. @var{store} must be a connection to the daemon, which operates on the store (@pxref{The Store})."
  13532. msgstr ""
  13533. #. type: Plain text
  13534. #: guix-git/doc/guix.texi:7737
  13535. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  13536. msgstr ""
  13537. #. type: defun
  13538. #: guix-git/doc/guix.texi:7738
  13539. #, no-wrap
  13540. msgid "package-cross-derivation store package target [system]"
  13541. msgstr ""
  13542. #. type: defun
  13543. #: guix-git/doc/guix.texi:7741
  13544. msgid "Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  13545. msgstr ""
  13546. #. type: defun
  13547. #: guix-git/doc/guix.texi:7745
  13548. msgid "@var{target} must be a valid GNU triplet denoting the target hardware and operating system, such as @code{\"aarch64-linux-gnu\"} (@pxref{Specifying Target Triplets,,, autoconf, Autoconf})."
  13549. msgstr ""
  13550. #. type: Plain text
  13551. #: guix-git/doc/guix.texi:7749
  13552. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  13553. msgstr ""
  13554. #. type: subsection
  13555. #: guix-git/doc/guix.texi:7757
  13556. #, no-wrap
  13557. msgid "@code{package} Reference"
  13558. msgstr ""
  13559. #. type: Plain text
  13560. #: guix-git/doc/guix.texi:7761
  13561. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  13562. msgstr ""
  13563. #. type: deftp
  13564. #: guix-git/doc/guix.texi:7762
  13565. #, no-wrap
  13566. msgid "{Data Type} package"
  13567. msgstr ""
  13568. #. type: deftp
  13569. #: guix-git/doc/guix.texi:7764
  13570. msgid "This is the data type representing a package recipe."
  13571. msgstr ""
  13572. #. type: table
  13573. #: guix-git/doc/guix.texi:7768
  13574. msgid "The name of the package, as a string."
  13575. msgstr ""
  13576. #. type: code{#1}
  13577. #: guix-git/doc/guix.texi:7769 guix-git/doc/guix.texi:8690
  13578. #, no-wrap
  13579. msgid "version"
  13580. msgstr ""
  13581. #. type: table
  13582. #: guix-git/doc/guix.texi:7772
  13583. msgid "The version of the package, as a string. @xref{Version Numbers}, for guidelines."
  13584. msgstr ""
  13585. #. type: code{#1}
  13586. #: guix-git/doc/guix.texi:7773 guix-git/doc/guix.texi:14848
  13587. #: guix-git/doc/guix.texi:17325 guix-git/doc/guix.texi:18015
  13588. #, no-wrap
  13589. msgid "source"
  13590. msgstr ""
  13591. #. type: table
  13592. #: guix-git/doc/guix.texi:7780
  13593. msgid "An object telling how the source code for the package should be acquired. Most of the time, this is an @code{origin} object, which denotes a file fetched from the Internet (@pxref{origin Reference}). It can also be any other ``file-like'' object such as a @code{local-file}, which denotes a file from the local file system (@pxref{G-Expressions, @code{local-file}})."
  13594. msgstr ""
  13595. #. type: code{#1}
  13596. #: guix-git/doc/guix.texi:7781
  13597. #, no-wrap
  13598. msgid "build-system"
  13599. msgstr ""
  13600. #. type: table
  13601. #: guix-git/doc/guix.texi:7784
  13602. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  13603. msgstr ""
  13604. #. type: item
  13605. #: guix-git/doc/guix.texi:7785 guix-git/doc/guix.texi:20690
  13606. #, no-wrap
  13607. msgid "@code{arguments} (default: @code{'()})"
  13608. msgstr ""
  13609. #. type: table
  13610. #: guix-git/doc/guix.texi:7789
  13611. msgid "The arguments that should be passed to the build system (@pxref{Build Systems}). This is a list, typically containing sequential keyword-value pairs, as in this example:"
  13612. msgstr ""
  13613. #. type: lisp
  13614. #: guix-git/doc/guix.texi:7798
  13615. #, no-wrap
  13616. msgid ""
  13617. "(package\n"
  13618. " (name \"example\")\n"
  13619. " ;; several fields omitted\n"
  13620. " (arguments\n"
  13621. " (list #:tests? #f ;skip tests\n"
  13622. " #:make-flags #~'(\"VERBOSE=1\") ;pass flags to 'make'\n"
  13623. " #:configure-flags #~'(\"--enable-frobbing\"))))\n"
  13624. msgstr ""
  13625. #. type: table
  13626. #: guix-git/doc/guix.texi:7805
  13627. msgid "The exact set of supported keywords depends on the build system (@pxref{Build Systems}), but you will find that almost all of them honor @code{#:configure-flags}, @code{#:make-flags}, @code{#:tests?}, and @code{#:phases}. The @code{#:phases} keyword in particular lets you modify the set of build phases for your package (@pxref{Build Phases})."
  13628. msgstr ""
  13629. #. type: quotation
  13630. #: guix-git/doc/guix.texi:7806 guix-git/doc/guix.texi:7843
  13631. #, no-wrap
  13632. msgid "Compatibility Note"
  13633. msgstr ""
  13634. #. type: quotation
  13635. #: guix-git/doc/guix.texi:7810
  13636. msgid "Until version 1.3.0, the @code{arguments} field would typically use @code{quote} (@code{'}) or @code{quasiquote} (@code{`}) and no G-expressions, like so:"
  13637. msgstr ""
  13638. #. type: lisp
  13639. #: guix-git/doc/guix.texi:7817
  13640. #, no-wrap
  13641. msgid ""
  13642. "(package\n"
  13643. " ;; several fields omitted\n"
  13644. " (arguments ;old-style quoted arguments\n"
  13645. " '(#:tests? #f\n"
  13646. " #:configure-flags '(\"--enable-frobbing\"))))\n"
  13647. msgstr ""
  13648. #. type: quotation
  13649. #: guix-git/doc/guix.texi:7822
  13650. msgid "To convert from that style to the one shown above, you can run @code{guix style -S arguments @var{package}} (@pxref{Invoking guix style})."
  13651. msgstr ""
  13652. #. type: item
  13653. #: guix-git/doc/guix.texi:7824
  13654. #, no-wrap
  13655. msgid "@code{inputs} (default: @code{'()})"
  13656. msgstr ""
  13657. #. type: itemx
  13658. #: guix-git/doc/guix.texi:7825
  13659. #, no-wrap
  13660. msgid "@code{native-inputs} (default: @code{'()})"
  13661. msgstr ""
  13662. #. type: itemx
  13663. #: guix-git/doc/guix.texi:7826
  13664. #, no-wrap
  13665. msgid "@code{propagated-inputs} (default: @code{'()})"
  13666. msgstr ""
  13667. #. type: cindex
  13668. #: guix-git/doc/guix.texi:7827
  13669. #, no-wrap
  13670. msgid "inputs, of packages"
  13671. msgstr ""
  13672. #. type: table
  13673. #: guix-git/doc/guix.texi:7834
  13674. msgid "These fields list dependencies of the package. Each element of these lists is either a package, origin, or other ``file-like object'' (@pxref{G-Expressions}); to specify the output of that file-like object that should be used, pass a two-element list where the second element is the output (@pxref{Packages with Multiple Outputs}, for more on package outputs). For example, the list below specifies three inputs:"
  13675. msgstr ""
  13676. #. type: lisp
  13677. #: guix-git/doc/guix.texi:7838
  13678. #, no-wrap
  13679. msgid ""
  13680. "(list libffi libunistring\n"
  13681. " `(,glib \"bin\")) ;the \"bin\" output of GLib\n"
  13682. msgstr ""
  13683. #. type: table
  13684. #: guix-git/doc/guix.texi:7842
  13685. msgid "In the example above, the @code{\"out\"} output of @code{libffi} and @code{libunistring} is used."
  13686. msgstr ""
  13687. #. type: quotation
  13688. #: guix-git/doc/guix.texi:7850
  13689. msgid "Until version 1.3.0, input lists were a list of tuples, where each tuple has a label for the input (a string) as its first element, a package, origin, or derivation as its second element, and optionally the name of the output thereof that should be used, which defaults to @code{\"out\"}. For example, the list below is equivalent to the one above, but using the @dfn{old input style}:"
  13690. msgstr ""
  13691. #. type: lisp
  13692. #: guix-git/doc/guix.texi:7856
  13693. #, no-wrap
  13694. msgid ""
  13695. ";; Old input style (deprecated).\n"
  13696. "`((\"libffi\" ,libffi)\n"
  13697. " (\"libunistring\" ,libunistring)\n"
  13698. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of GLib\n"
  13699. msgstr ""
  13700. #. type: quotation
  13701. #: guix-git/doc/guix.texi:7862
  13702. msgid "This style is now deprecated; it is still supported but support will be removed in a future version. It should not be used for new package definitions. @xref{Invoking guix style}, on how to migrate to the new style."
  13703. msgstr ""
  13704. #. type: cindex
  13705. #: guix-git/doc/guix.texi:7864
  13706. #, no-wrap
  13707. msgid "cross compilation, package dependencies"
  13708. msgstr ""
  13709. #. type: table
  13710. #: guix-git/doc/guix.texi:7870
  13711. msgid "The distinction between @code{native-inputs} and @code{inputs} is necessary when considering cross-compilation. When cross-compiling, dependencies listed in @code{inputs} are built for the @emph{target} architecture; conversely, dependencies listed in @code{native-inputs} are built for the architecture of the @emph{build} machine."
  13712. msgstr ""
  13713. #. type: table
  13714. #: guix-git/doc/guix.texi:7875
  13715. msgid "@code{native-inputs} is typically used to list tools needed at build time, but not at run time, such as Autoconf, Automake, pkg-config, Gettext, or Bison. @command{guix lint} can report likely mistakes in this area (@pxref{Invoking guix lint})."
  13716. msgstr ""
  13717. #. type: anchor{#1}
  13718. #: guix-git/doc/guix.texi:7883
  13719. msgid "package-propagated-inputs"
  13720. msgstr ""
  13721. #. type: table
  13722. #: guix-git/doc/guix.texi:7883
  13723. msgid "Lastly, @code{propagated-inputs} is similar to @code{inputs}, but the specified packages will be automatically installed to profiles (@pxref{Features, the role of profiles in Guix}) alongside the package they belong to (@pxref{package-cmd-propagated-inputs, @command{guix package}}, for information on how @command{guix package} deals with propagated inputs)."
  13724. msgstr ""
  13725. #. type: table
  13726. #: guix-git/doc/guix.texi:7887
  13727. msgid "For example this is necessary when packaging a C/C++ library that needs headers of another library to compile, or when a pkg-config file refers to another one @i{via} its @code{Requires} field."
  13728. msgstr ""
  13729. #. type: table
  13730. #: guix-git/doc/guix.texi:7894
  13731. msgid "Another example where @code{propagated-inputs} is useful is for languages that lack a facility to record the run-time search path akin to the @code{RUNPATH} of ELF files; this includes Guile, Python, Perl, and more. When packaging libraries written in those languages, ensure they can find library code they depend on at run time by listing run-time dependencies in @code{propagated-inputs} rather than @code{inputs}."
  13732. msgstr ""
  13733. #. type: item
  13734. #: guix-git/doc/guix.texi:7895
  13735. #, no-wrap
  13736. msgid "@code{outputs} (default: @code{'(\"out\")})"
  13737. msgstr ""
  13738. #. type: table
  13739. #: guix-git/doc/guix.texi:7898
  13740. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  13741. msgstr ""
  13742. #. type: item
  13743. #: guix-git/doc/guix.texi:7899
  13744. #, no-wrap
  13745. msgid "@code{native-search-paths} (default: @code{'()})"
  13746. msgstr ""
  13747. #. type: item
  13748. #: guix-git/doc/guix.texi:7900 guix-git/doc/guix.texi:8709
  13749. #, no-wrap
  13750. msgid "@code{search-paths} (default: @code{'()})"
  13751. msgstr ""
  13752. #. type: table
  13753. #: guix-git/doc/guix.texi:7904
  13754. msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package. @xref{Search Paths}, for more on search path specifications."
  13755. msgstr ""
  13756. #. type: table
  13757. #: guix-git/doc/guix.texi:7910
  13758. msgid "As for inputs, the distinction between @code{native-search-paths} and @code{search-paths} only matters when cross-compiling. In a cross-compilation context, @code{native-search-paths} applies exclusively to native inputs whereas @code{search-paths} applies only to host inputs."
  13759. msgstr ""
  13760. #. type: table
  13761. #: guix-git/doc/guix.texi:7917
  13762. msgid "Packages such as cross-compilers care about target inputs---for instance, our (modified) GCC cross-compiler has @env{CROSS_C_INCLUDE_PATH} in @code{search-paths}, which allows it to pick @file{.h} files for the target system and @emph{not} those of native inputs. For the majority of packages though, only @code{native-search-paths} makes sense."
  13763. msgstr ""
  13764. #. type: item
  13765. #: guix-git/doc/guix.texi:7918
  13766. #, no-wrap
  13767. msgid "@code{replacement} (default: @code{#f})"
  13768. msgstr "@code{replacement} (default: @code{#f})"
  13769. #. type: table
  13770. #: guix-git/doc/guix.texi:7922
  13771. msgid "This must be either @code{#f} or a package object that will be used as a @dfn{replacement} for this package. @xref{Security Updates, grafts}, for details."
  13772. msgstr ""
  13773. #. type: item
  13774. #: guix-git/doc/guix.texi:7923 guix-git/doc/guix.texi:14840
  13775. #, no-wrap
  13776. msgid "synopsis"
  13777. msgstr ""
  13778. #. type: table
  13779. #: guix-git/doc/guix.texi:7925
  13780. msgid "A one-line description of the package."
  13781. msgstr ""
  13782. #. type: code{#1}
  13783. #: guix-git/doc/guix.texi:7926 guix-git/doc/guix.texi:14841
  13784. #: guix-git/doc/guix.texi:41085 guix-git/doc/guix.texi:41245
  13785. #, no-wrap
  13786. msgid "description"
  13787. msgstr ""
  13788. #. type: table
  13789. #: guix-git/doc/guix.texi:7929
  13790. msgid "A more elaborate description of the package, as a string in Texinfo syntax."
  13791. msgstr ""
  13792. #. type: code{#1}
  13793. #: guix-git/doc/guix.texi:7930
  13794. #, no-wrap
  13795. msgid "license"
  13796. msgstr ""
  13797. #. type: cindex
  13798. #: guix-git/doc/guix.texi:7931
  13799. #, no-wrap
  13800. msgid "license, of packages"
  13801. msgstr ""
  13802. #. type: table
  13803. #: guix-git/doc/guix.texi:7934
  13804. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  13805. msgstr ""
  13806. #. type: itemx
  13807. #: guix-git/doc/guix.texi:7935 guix-git/doc/guix.texi:14849
  13808. #, no-wrap
  13809. msgid "home-page"
  13810. msgstr ""
  13811. #. type: table
  13812. #: guix-git/doc/guix.texi:7937
  13813. msgid "The URL to the home-page of the package, as a string."
  13814. msgstr ""
  13815. #. type: item
  13816. #: guix-git/doc/guix.texi:7938
  13817. #, no-wrap
  13818. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  13819. msgstr ""
  13820. #. type: table
  13821. #: guix-git/doc/guix.texi:7941
  13822. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  13823. msgstr ""
  13824. #. type: item
  13825. #: guix-git/doc/guix.texi:7942
  13826. #, no-wrap
  13827. msgid "@code{location} (default: source location of the @code{package} form)"
  13828. msgstr ""
  13829. #. type: table
  13830. #: guix-git/doc/guix.texi:7946
  13831. msgid "The source location of the package. It is useful to override this when inheriting from another package, in which case this field is not automatically corrected."
  13832. msgstr ""
  13833. #. type: defmac
  13834. #: guix-git/doc/guix.texi:7949
  13835. #, fuzzy, no-wrap
  13836. #| msgid "package"
  13837. msgid "this-package"
  13838. msgstr "pacote"
  13839. #. type: defmac
  13840. #: guix-git/doc/guix.texi:7952
  13841. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  13842. msgstr ""
  13843. #. type: defmac
  13844. #: guix-git/doc/guix.texi:7955
  13845. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  13846. msgstr ""
  13847. #. type: lisp
  13848. #: guix-git/doc/guix.texi:7960
  13849. #, no-wrap
  13850. msgid ""
  13851. "(package\n"
  13852. " (name \"guile\")\n"
  13853. " ;; ...\n"
  13854. "\n"
  13855. msgstr ""
  13856. #. type: lisp
  13857. #: guix-git/doc/guix.texi:7966
  13858. #, no-wrap
  13859. msgid ""
  13860. " ;; When cross-compiled, Guile, for example, depends on\n"
  13861. " ;; a native version of itself. Add it here.\n"
  13862. " (native-inputs (if (%current-target-system)\n"
  13863. " (list this-package)\n"
  13864. " '())))\n"
  13865. msgstr ""
  13866. #. type: defmac
  13867. #: guix-git/doc/guix.texi:7969
  13868. msgid "It is an error to refer to @code{this-package} outside a package definition."
  13869. msgstr ""
  13870. #. type: Plain text
  13871. #: guix-git/doc/guix.texi:7973
  13872. msgid "The following helper procedures are provided to help deal with package inputs."
  13873. msgstr ""
  13874. #. type: defun
  13875. #: guix-git/doc/guix.texi:7974
  13876. #, no-wrap
  13877. msgid "lookup-package-input package name"
  13878. msgstr ""
  13879. #. type: defunx
  13880. #: guix-git/doc/guix.texi:7975
  13881. #, no-wrap
  13882. msgid "lookup-package-native-input package name"
  13883. msgstr ""
  13884. #. type: defunx
  13885. #: guix-git/doc/guix.texi:7976
  13886. #, no-wrap
  13887. msgid "lookup-package-propagated-input package name"
  13888. msgstr ""
  13889. #. type: defunx
  13890. #: guix-git/doc/guix.texi:7977
  13891. #, no-wrap
  13892. msgid "lookup-package-direct-input package name"
  13893. msgstr ""
  13894. #. type: defun
  13895. #: guix-git/doc/guix.texi:7980
  13896. msgid "Look up @var{name} among @var{package}'s inputs (or native, propagated, or direct inputs). Return it if found, @code{#f} otherwise."
  13897. msgstr ""
  13898. #. type: defun
  13899. #: guix-git/doc/guix.texi:7983
  13900. msgid "@var{name} is the name of a package depended on. Here's how you might use it:"
  13901. msgstr ""
  13902. #. type: lisp
  13903. #: guix-git/doc/guix.texi:7986
  13904. #, no-wrap
  13905. msgid ""
  13906. "(use-modules (guix packages) (gnu packages base))\n"
  13907. "\n"
  13908. msgstr ""
  13909. #. type: lisp
  13910. #: guix-git/doc/guix.texi:7989
  13911. #, no-wrap
  13912. msgid ""
  13913. "(lookup-package-direct-input coreutils \"gmp\")\n"
  13914. "@result{} #<package gmp@@6.2.1 @dots{}>\n"
  13915. msgstr ""
  13916. #. type: defun
  13917. #: guix-git/doc/guix.texi:7993
  13918. msgid "In this example we obtain the @code{gmp} package that is among the direct inputs of @code{coreutils}."
  13919. msgstr ""
  13920. #. type: cindex
  13921. #: guix-git/doc/guix.texi:7995
  13922. #, fuzzy, no-wrap
  13923. #| msgid "inputs, for Python packages"
  13924. msgid "development inputs, of a package"
  13925. msgstr "entradas, para pacotes Python"
  13926. #. type: cindex
  13927. #: guix-git/doc/guix.texi:7996
  13928. #, fuzzy, no-wrap
  13929. #| msgid "inputs, for Python packages"
  13930. msgid "implicit inputs, of a package"
  13931. msgstr "entradas, para pacotes Python"
  13932. #. type: Plain text
  13933. #: guix-git/doc/guix.texi:8001
  13934. msgid "Sometimes you will want to obtain the list of inputs needed to @emph{develop} a package---all the inputs that are visible when the package is compiled. This is what the @code{package-development-inputs} procedure returns."
  13935. msgstr ""
  13936. #. type: defun
  13937. #: guix-git/doc/guix.texi:8002
  13938. #, no-wrap
  13939. msgid "package-development-inputs package [system] [#:target #f]"
  13940. msgstr ""
  13941. #. type: defun
  13942. #: guix-git/doc/guix.texi:8008
  13943. msgid "Return the list of inputs required by @var{package} for development purposes on @var{system}. When @var{target} is true, return the inputs needed to cross-compile @var{package} from @var{system} to @var{target}, where @var{target} is a triplet such as @code{\"aarch64-linux-gnu\"}."
  13944. msgstr ""
  13945. #. type: defun
  13946. #: guix-git/doc/guix.texi:8012
  13947. msgid "Note that the result includes both explicit inputs and implicit inputs---inputs automatically added by the build system (@pxref{Build Systems}). Let us take the @code{hello} package to illustrate that:"
  13948. msgstr ""
  13949. #. type: lisp
  13950. #: guix-git/doc/guix.texi:8015
  13951. #, no-wrap
  13952. msgid ""
  13953. "(use-modules (gnu packages base) (guix packages))\n"
  13954. "\n"
  13955. msgstr ""
  13956. #. type: lisp
  13957. #: guix-git/doc/guix.texi:8018
  13958. #, no-wrap
  13959. msgid ""
  13960. "hello\n"
  13961. "@result{} #<package hello@@2.10 gnu/packages/base.scm:79 7f585d4f6790>\n"
  13962. "\n"
  13963. msgstr ""
  13964. #. type: lisp
  13965. #: guix-git/doc/guix.texi:8021
  13966. #, no-wrap
  13967. msgid ""
  13968. "(package-direct-inputs hello)\n"
  13969. "@result{} ()\n"
  13970. "\n"
  13971. msgstr ""
  13972. #. type: lisp
  13973. #: guix-git/doc/guix.texi:8024
  13974. #, no-wrap
  13975. msgid ""
  13976. "(package-development-inputs hello)\n"
  13977. "@result{} ((\"source\" @dots{}) (\"tar\" #<package tar@@1.32 @dots{}>) @dots{})\n"
  13978. msgstr ""
  13979. #. type: defun
  13980. #: guix-git/doc/guix.texi:8033
  13981. msgid "In this example, @code{package-direct-inputs} returns the empty list, because @code{hello} has zero explicit dependencies. Conversely, @code{package-development-inputs} includes inputs implicitly added by @code{gnu-build-system} that are required to build @code{hello}: tar, gzip, GCC, libc, Bash, and more. To visualize it, @command{guix graph hello} would show you explicit inputs, whereas @command{guix graph -t bag hello} would include implicit inputs (@pxref{Invoking guix graph})."
  13982. msgstr ""
  13983. #. type: Plain text
  13984. #: guix-git/doc/guix.texi:8039
  13985. msgid "Because packages are regular Scheme objects that capture a complete dependency graph and associated build procedures, it is often useful to write procedures that take a package and return a modified version thereof according to some parameters. Below are a few examples."
  13986. msgstr ""
  13987. #. type: cindex
  13988. #: guix-git/doc/guix.texi:8040
  13989. #, no-wrap
  13990. msgid "tool chain, choosing a package's tool chain"
  13991. msgstr ""
  13992. #. type: defun
  13993. #: guix-git/doc/guix.texi:8041
  13994. #, no-wrap
  13995. msgid "package-with-c-toolchain package toolchain"
  13996. msgstr ""
  13997. #. type: defun
  13998. #: guix-git/doc/guix.texi:8046
  13999. msgid "Return a variant of @var{package} that uses @var{toolchain} instead of the default GNU C/C++ toolchain. @var{toolchain} must be a list of inputs (label/package tuples) providing equivalent functionality, such as the @code{gcc-toolchain} package."
  14000. msgstr ""
  14001. #. type: defun
  14002. #: guix-git/doc/guix.texi:8050
  14003. msgid "The example below returns a variant of the @code{hello} package built with GCC@tie{}10.x and the rest of the GNU tool chain (Binutils and the GNU C Library) instead of the default tool chain:"
  14004. msgstr ""
  14005. #. type: lisp
  14006. #: guix-git/doc/guix.texi:8054
  14007. #, no-wrap
  14008. msgid ""
  14009. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  14010. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  14011. msgstr ""
  14012. #. type: defun
  14013. #: guix-git/doc/guix.texi:8062
  14014. msgid "The build tool chain is part of the @dfn{implicit inputs} of packages---it's usually not listed as part of the various ``inputs'' fields and is instead pulled in by the build system. Consequently, this procedure works by changing the build system of @var{package} so that it pulls in @var{toolchain} instead of the defaults. @ref{Build Systems}, for more on build systems."
  14015. msgstr ""
  14016. #. type: subsection
  14017. #: guix-git/doc/guix.texi:8065
  14018. #, no-wrap
  14019. msgid "@code{origin} Reference"
  14020. msgstr ""
  14021. #. type: Plain text
  14022. #: guix-git/doc/guix.texi:8073
  14023. msgid "This section documents @dfn{origins}. An @code{origin} declaration specifies data that must be ``produced''---downloaded, usually---and whose content hash is known in advance. Origins are primarily used to represent the source code of packages (@pxref{Defining Packages}). For that reason, the @code{origin} form allows you to declare patches to apply to the original source code as well as code snippets to modify it."
  14024. msgstr ""
  14025. #. type: deftp
  14026. #: guix-git/doc/guix.texi:8074
  14027. #, no-wrap
  14028. msgid "{Data Type} origin"
  14029. msgstr ""
  14030. #. type: deftp
  14031. #: guix-git/doc/guix.texi:8076
  14032. msgid "This is the data type representing a source code origin."
  14033. msgstr ""
  14034. #. type: code{#1}
  14035. #: guix-git/doc/guix.texi:8078 guix-git/doc/guix.texi:30504
  14036. #, no-wrap
  14037. msgid "uri"
  14038. msgstr "uri"
  14039. #. type: table
  14040. #: guix-git/doc/guix.texi:8083
  14041. msgid "An object containing the URI of the source. The object type depends on the @code{method} (see below). For example, when using the @var{url-fetch} method of @code{(guix download)}, the valid @code{uri} values are: a URL represented as a string, or a list thereof."
  14042. msgstr ""
  14043. #. type: cindex
  14044. #: guix-git/doc/guix.texi:8084
  14045. #, no-wrap
  14046. msgid "fixed-output derivations, for download"
  14047. msgstr ""
  14048. #. type: code{#1}
  14049. #: guix-git/doc/guix.texi:8085
  14050. #, no-wrap
  14051. msgid "method"
  14052. msgstr ""
  14053. #. type: table
  14054. #: guix-git/doc/guix.texi:8092
  14055. msgid "A monadic procedure that handles the given URI@. The procedure must accept at least three arguments: the value of the @code{uri} field and the hash algorithm and hash value specified by the @code{hash} field. It must return a store item or a derivation in the store monad (@pxref{The Store Monad}); most methods return a fixed-output derivation (@pxref{Derivations})."
  14056. msgstr ""
  14057. #. type: table
  14058. #: guix-git/doc/guix.texi:8096
  14059. msgid "Commonly used methods include @code{url-fetch}, which fetches data from a URL, and @code{git-fetch}, which fetches data from a Git repository (see below)."
  14060. msgstr ""
  14061. #. type: code{#1}
  14062. #: guix-git/doc/guix.texi:8097
  14063. #, no-wrap
  14064. msgid "sha256"
  14065. msgstr ""
  14066. #. type: table
  14067. #: guix-git/doc/guix.texi:8101
  14068. msgid "A bytevector containing the SHA-256 hash of the source. This is equivalent to providing a @code{content-hash} SHA256 object in the @code{hash} field described below."
  14069. msgstr ""
  14070. #. type: code{#1}
  14071. #: guix-git/doc/guix.texi:8102
  14072. #, no-wrap
  14073. msgid "hash"
  14074. msgstr "hash (masc.)"
  14075. #. type: table
  14076. #: guix-git/doc/guix.texi:8105
  14077. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  14078. msgstr ""
  14079. #. type: table
  14080. #: guix-git/doc/guix.texi:8109
  14081. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  14082. msgstr ""
  14083. #. type: item
  14084. #: guix-git/doc/guix.texi:8110
  14085. #, no-wrap
  14086. msgid "@code{file-name} (default: @code{#f})"
  14087. msgstr ""
  14088. #. type: table
  14089. #: guix-git/doc/guix.texi:8116
  14090. msgid "The file name under which the source code should be saved. When this is @code{#f}, a sensible default value will be used in most cases. In case the source is fetched from a URL, the file name from the URL will be used. For version control checkouts, it is recommended to provide the file name explicitly because the default is not very descriptive."
  14091. msgstr ""
  14092. #. type: item
  14093. #: guix-git/doc/guix.texi:8117
  14094. #, no-wrap
  14095. msgid "@code{patches} (default: @code{'()})"
  14096. msgstr ""
  14097. #. type: table
  14098. #: guix-git/doc/guix.texi:8120
  14099. msgid "A list of file names, origins, or file-like objects (@pxref{G-Expressions, file-like objects}) pointing to patches to be applied to the source."
  14100. msgstr ""
  14101. #. type: table
  14102. #: guix-git/doc/guix.texi:8124
  14103. msgid "This list of patches must be unconditional. In particular, it cannot depend on the value of @code{%current-system} or @code{%current-target-system}."
  14104. msgstr ""
  14105. #. type: item
  14106. #: guix-git/doc/guix.texi:8125
  14107. #, no-wrap
  14108. msgid "@code{snippet} (default: @code{#f})"
  14109. msgstr "@code{snippet} (default: @code{#f})"
  14110. #. type: table
  14111. #: guix-git/doc/guix.texi:8129
  14112. msgid "A G-expression (@pxref{G-Expressions}) or S-expression that will be run in the source directory. This is a convenient way to modify the source, sometimes more convenient than a patch."
  14113. msgstr ""
  14114. #. type: item
  14115. #: guix-git/doc/guix.texi:8130
  14116. #, no-wrap
  14117. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  14118. msgstr ""
  14119. #. type: table
  14120. #: guix-git/doc/guix.texi:8133
  14121. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  14122. msgstr ""
  14123. #. type: item
  14124. #: guix-git/doc/guix.texi:8134
  14125. #, no-wrap
  14126. msgid "@code{patch-inputs} (default: @code{#f})"
  14127. msgstr ""
  14128. #. type: table
  14129. #: guix-git/doc/guix.texi:8138
  14130. msgid "Input packages or derivations to the patching process. When this is @code{#f}, the usual set of inputs necessary for patching are provided, such as GNU@tie{}Patch."
  14131. msgstr ""
  14132. #. type: item
  14133. #: guix-git/doc/guix.texi:8139 guix-git/doc/guix.texi:30373
  14134. #, no-wrap
  14135. msgid "@code{modules} (default: @code{'()})"
  14136. msgstr ""
  14137. #. type: table
  14138. #: guix-git/doc/guix.texi:8142
  14139. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  14140. msgstr ""
  14141. #. type: item
  14142. #: guix-git/doc/guix.texi:8143
  14143. #, no-wrap
  14144. msgid "@code{patch-guile} (default: @code{#f})"
  14145. msgstr ""
  14146. #. type: table
  14147. #: guix-git/doc/guix.texi:8146
  14148. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  14149. msgstr ""
  14150. #. type: deftp
  14151. #: guix-git/doc/guix.texi:8149
  14152. #, no-wrap
  14153. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  14154. msgstr ""
  14155. #. type: deftp
  14156. #: guix-git/doc/guix.texi:8153
  14157. msgid "Construct a content hash object for the given @var{algorithm}, and with @var{value} as its hash value. When @var{algorithm} is omitted, assume it is @code{sha256}."
  14158. msgstr ""
  14159. #. type: deftp
  14160. #: guix-git/doc/guix.texi:8156
  14161. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  14162. msgstr ""
  14163. #. type: deftp
  14164. #: guix-git/doc/guix.texi:8158
  14165. msgid "The following forms are all equivalent:"
  14166. msgstr ""
  14167. #. type: lisp
  14168. #: guix-git/doc/guix.texi:8167
  14169. #, no-wrap
  14170. msgid ""
  14171. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  14172. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  14173. " sha256)\n"
  14174. "(content-hash (base32\n"
  14175. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  14176. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  14177. " sha256)\n"
  14178. msgstr ""
  14179. #. type: deftp
  14180. #: guix-git/doc/guix.texi:8172
  14181. msgid "Technically, @code{content-hash} is currently implemented as a macro. It performs sanity checks at macro-expansion time, when possible, such as ensuring that @var{value} has the right size for @var{algorithm}."
  14182. msgstr ""
  14183. #. type: Plain text
  14184. #: guix-git/doc/guix.texi:8178
  14185. msgid "As we have seen above, how exactly the data an origin refers to is retrieved is determined by its @code{method} field. The @code{(guix download)} module provides the most common method, @code{url-fetch}, described below."
  14186. msgstr ""
  14187. #. type: defun
  14188. #: guix-git/doc/guix.texi:8179
  14189. #, no-wrap
  14190. msgid "url-fetch url hash-algo hash [name] [#:executable? #f]"
  14191. msgstr ""
  14192. #. type: defun
  14193. #: guix-git/doc/guix.texi:8186
  14194. msgid "Return a fixed-output derivation that fetches data from @var{url} (a string, or a list of strings denoting alternate URLs), which is expected to have hash @var{hash} of type @var{hash-algo} (a symbol). By default, the file name is the base name of URL; optionally, @var{name} can specify a different file name. When @var{executable?} is true, make the downloaded file executable."
  14195. msgstr ""
  14196. #. type: defun
  14197. #: guix-git/doc/guix.texi:8189
  14198. msgid "When one of the URL starts with @code{mirror://}, then its host part is interpreted as the name of a mirror scheme, taken from @file{%mirror-file}."
  14199. msgstr ""
  14200. #. type: defun
  14201. #: guix-git/doc/guix.texi:8192
  14202. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  14203. msgstr ""
  14204. #. type: Plain text
  14205. #: guix-git/doc/guix.texi:8198
  14206. msgid "Likewise, the @code{(guix git-download)} module defines the @code{git-fetch} origin method, which fetches data from a Git version control repository, and the @code{git-reference} data type to describe the repository and revision to fetch."
  14207. msgstr ""
  14208. #. type: defun
  14209. #: guix-git/doc/guix.texi:8199
  14210. #, no-wrap
  14211. msgid "git-fetch ref hash-algo hash"
  14212. msgstr ""
  14213. #. type: defun
  14214. #: guix-git/doc/guix.texi:8204
  14215. msgid "Return a fixed-output derivation that fetches @var{ref}, a @code{<git-reference>} object. The output is expected to have recursive hash @var{hash} of type @var{hash-algo} (a symbol). Use @var{name} as the file name, or a generic name if @code{#f}."
  14216. msgstr ""
  14217. #. type: deftp
  14218. #: guix-git/doc/guix.texi:8206
  14219. #, no-wrap
  14220. msgid "{Data Type} git-reference"
  14221. msgstr ""
  14222. #. type: deftp
  14223. #: guix-git/doc/guix.texi:8209
  14224. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  14225. msgstr ""
  14226. #. type: code{#1}
  14227. #: guix-git/doc/guix.texi:8211 guix-git/doc/guix.texi:27784
  14228. #, no-wrap
  14229. msgid "url"
  14230. msgstr "url"
  14231. #. type: table
  14232. #: guix-git/doc/guix.texi:8213
  14233. msgid "The URL of the Git repository to clone."
  14234. msgstr ""
  14235. #. type: code{#1}
  14236. #: guix-git/doc/guix.texi:8214
  14237. #, no-wrap
  14238. msgid "commit"
  14239. msgstr ""
  14240. #. type: table
  14241. #: guix-git/doc/guix.texi:8219
  14242. msgid "This string denotes either the commit to fetch (a hexadecimal string), or the tag to fetch. You can also use a ``short'' commit ID or a @command{git describe} style identifier such as @code{v1.0.1-10-g58d7909c97}."
  14243. msgstr ""
  14244. #. type: item
  14245. #: guix-git/doc/guix.texi:8220
  14246. #, no-wrap
  14247. msgid "@code{recursive?} (default: @code{#f})"
  14248. msgstr ""
  14249. #. type: table
  14250. #: guix-git/doc/guix.texi:8222
  14251. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  14252. msgstr ""
  14253. #. type: deftp
  14254. #: guix-git/doc/guix.texi:8226
  14255. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  14256. msgstr ""
  14257. #. type: lisp
  14258. #: guix-git/doc/guix.texi:8231
  14259. #, no-wrap
  14260. msgid ""
  14261. "(git-reference\n"
  14262. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  14263. " (commit \"v2.10\"))\n"
  14264. msgstr ""
  14265. #. type: deftp
  14266. #: guix-git/doc/guix.texi:8235
  14267. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  14268. msgstr ""
  14269. #. type: lisp
  14270. #: guix-git/doc/guix.texi:8240
  14271. #, no-wrap
  14272. msgid ""
  14273. "(git-reference\n"
  14274. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  14275. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  14276. msgstr ""
  14277. #. type: Plain text
  14278. #: guix-git/doc/guix.texi:8246
  14279. msgid "For Mercurial repositories, the module @code{(guix hg-download)} defines the @code{hg-fetch} origin method and @code{hg-reference} data type for support of the Mercurial version control system."
  14280. msgstr ""
  14281. #. type: defun
  14282. #: guix-git/doc/guix.texi:8247
  14283. #, no-wrap
  14284. msgid "hg-fetch ref hash-algo hash [name]"
  14285. msgstr ""
  14286. #. type: defun
  14287. #: guix-git/doc/guix.texi:8252
  14288. msgid "Return a fixed-output derivation that fetches @var{ref}, a @code{<hg-reference>} object. The output is expected to have recursive hash @var{hash} of type @var{hash-algo} (a symbol). Use @var{name} as the file name, or a generic name if @code{#false}."
  14289. msgstr ""
  14290. #. type: cindex
  14291. #: guix-git/doc/guix.texi:8257
  14292. #, no-wrap
  14293. msgid "customizing packages"
  14294. msgstr ""
  14295. #. type: cindex
  14296. #: guix-git/doc/guix.texi:8258
  14297. #, no-wrap
  14298. msgid "variants, of packages"
  14299. msgstr ""
  14300. #. type: Plain text
  14301. #: guix-git/doc/guix.texi:8268
  14302. msgid "One of the nice things with Guix is that, given a package definition, you can easily @emph{derive} variants of that package---for a different upstream version, with different dependencies, different compilation options, and so on. Some of these custom packages can be defined straight from the command line (@pxref{Package Transformation Options}). This section describes how to define package variants in code. This can be useful in ``manifests'' (@pxref{Writing Manifests}) and in your own package collection (@pxref{Creating a Channel}), among others!"
  14303. msgstr ""
  14304. #. type: cindex
  14305. #: guix-git/doc/guix.texi:8269
  14306. #, no-wrap
  14307. msgid "inherit, for package definitions"
  14308. msgstr ""
  14309. #. type: Plain text
  14310. #: guix-git/doc/guix.texi:8276
  14311. msgid "As discussed earlier, packages are first-class objects in the Scheme language. The @code{(guix packages)} module provides the @code{package} construct to define new package objects (@pxref{package Reference}). The easiest way to define a package variant is using the @code{inherit} keyword together with @code{package}. This allows you to inherit from a package definition while overriding the fields you want."
  14312. msgstr ""
  14313. #. type: Plain text
  14314. #: guix-git/doc/guix.texi:8281
  14315. msgid "For example, given the @code{hello} variable, which contains a definition for the current version of GNU@tie{}Hello, here's how you would define a variant for version 2.2 (released in 2006, it's vintage!):"
  14316. msgstr ""
  14317. #. type: lisp
  14318. #: guix-git/doc/guix.texi:8284
  14319. #, no-wrap
  14320. msgid ""
  14321. "(use-modules (gnu packages base)) ;for 'hello'\n"
  14322. "\n"
  14323. msgstr ""
  14324. #. type: lisp
  14325. #: guix-git/doc/guix.texi:8296
  14326. #, no-wrap
  14327. msgid ""
  14328. "(define hello-2.2\n"
  14329. " (package\n"
  14330. " (inherit hello)\n"
  14331. " (version \"2.2\")\n"
  14332. " (source (origin\n"
  14333. " (method url-fetch)\n"
  14334. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  14335. " \".tar.gz\"))\n"
  14336. " (sha256\n"
  14337. " (base32\n"
  14338. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  14339. msgstr ""
  14340. #. type: Plain text
  14341. #: guix-git/doc/guix.texi:8306
  14342. msgid "The example above corresponds to what the @option{--with-version} or @option{--with-source} package transformations option do. Essentially @code{hello-2.2} preserves all the fields of @code{hello}, except @code{version} and @code{source}, which it overrides. Note that the original @code{hello} variable is still there, in the @code{(gnu packages base)} module, unchanged. When you define a custom package like this, you are really @emph{adding} a new package definition; the original one remains available."
  14343. msgstr ""
  14344. #. type: Plain text
  14345. #: guix-git/doc/guix.texi:8312
  14346. msgid "You can just as well define variants with a different set of dependencies than the original package. For example, the default @code{gdb} package depends on @code{guile}, but since that is an optional dependency, you can define a variant that removes that dependency like so:"
  14347. msgstr ""
  14348. #. type: lisp
  14349. #: guix-git/doc/guix.texi:8315
  14350. #, no-wrap
  14351. msgid ""
  14352. "(use-modules (gnu packages gdb)) ;for 'gdb'\n"
  14353. "\n"
  14354. msgstr ""
  14355. #. type: lisp
  14356. #: guix-git/doc/guix.texi:8321
  14357. #, no-wrap
  14358. msgid ""
  14359. "(define gdb-sans-guile\n"
  14360. " (package\n"
  14361. " (inherit gdb)\n"
  14362. " (inputs (modify-inputs (package-inputs gdb)\n"
  14363. " (delete \"guile\")))))\n"
  14364. msgstr ""
  14365. #. type: Plain text
  14366. #: guix-git/doc/guix.texi:8327
  14367. msgid "The @code{modify-inputs} form above removes the @code{\"guile\"} package from the @code{inputs} field of @code{gdb}. The @code{modify-inputs} macro is a helper that can prove useful anytime you want to remove, add, or replace package inputs."
  14368. msgstr ""
  14369. #. type: defmac
  14370. #: guix-git/doc/guix.texi:8328
  14371. #, no-wrap
  14372. msgid "modify-inputs inputs clauses"
  14373. msgstr ""
  14374. #. type: defmac
  14375. #: guix-git/doc/guix.texi:8332
  14376. msgid "Modify the given package inputs, as returned by @code{package-inputs} & co., according to the given clauses. Each clause must have one of the following forms:"
  14377. msgstr ""
  14378. #. type: item
  14379. #: guix-git/doc/guix.texi:8334
  14380. #, fuzzy, no-wrap
  14381. #| msgid "-t @var{type}"
  14382. msgid "(delete @var{name}@dots{})"
  14383. msgstr "-t @var{tipo}"
  14384. #. type: table
  14385. #: guix-git/doc/guix.texi:8336
  14386. msgid "Delete from the inputs packages with the given @var{name}s (strings)."
  14387. msgstr ""
  14388. #. type: item
  14389. #: guix-git/doc/guix.texi:8337
  14390. #, fuzzy, no-wrap
  14391. #| msgid "-r @var{package} @dots{}"
  14392. msgid "(prepend @var{package}@dots{})"
  14393. msgstr "-r @var{pacote} @dots{}"
  14394. #. type: table
  14395. #: guix-git/doc/guix.texi:8339
  14396. msgid "Add @var{package}s to the front of the input list."
  14397. msgstr ""
  14398. #. type: item
  14399. #: guix-git/doc/guix.texi:8340
  14400. #, fuzzy, no-wrap
  14401. #| msgid "-r @var{package} @dots{}"
  14402. msgid "(append @var{package}@dots{})"
  14403. msgstr "-r @var{pacote} @dots{}"
  14404. #. type: table
  14405. #: guix-git/doc/guix.texi:8342
  14406. msgid "Add @var{package}s to the end of the input list."
  14407. msgstr ""
  14408. #. type: item
  14409. #: guix-git/doc/guix.texi:8343
  14410. #, fuzzy, no-wrap
  14411. #| msgid "-t @var{type}"
  14412. msgid "(replace @var{name} @var{replacement})"
  14413. msgstr "-t @var{tipo}"
  14414. #. type: table
  14415. #: guix-git/doc/guix.texi:8345
  14416. msgid "Replace the package called @var{name} with @var{replacement}."
  14417. msgstr ""
  14418. #. type: defmac
  14419. #: guix-git/doc/guix.texi:8349
  14420. msgid "The example below removes the GMP and ACL inputs of Coreutils and adds libcap to the front of the input list:"
  14421. msgstr ""
  14422. #. type: lisp
  14423. #: guix-git/doc/guix.texi:8354
  14424. #, no-wrap
  14425. msgid ""
  14426. "(modify-inputs (package-inputs coreutils)\n"
  14427. " (delete \"gmp\" \"acl\")\n"
  14428. " (prepend libcap))\n"
  14429. msgstr ""
  14430. #. type: defmac
  14431. #: guix-git/doc/guix.texi:8358
  14432. msgid "The example below replaces the @code{guile} package from the inputs of @code{guile-redis} with @code{guile-2.2}:"
  14433. msgstr ""
  14434. #. type: lisp
  14435. #: guix-git/doc/guix.texi:8362
  14436. #, no-wrap
  14437. msgid ""
  14438. "(modify-inputs (package-inputs guile-redis)\n"
  14439. " (replace \"guile\" guile-2.2))\n"
  14440. msgstr ""
  14441. #. type: defmac
  14442. #: guix-git/doc/guix.texi:8366
  14443. msgid "The last type of clause is @code{append}, to add inputs at the back of the list."
  14444. msgstr ""
  14445. #. type: Plain text
  14446. #: guix-git/doc/guix.texi:8375
  14447. msgid "In some cases, you may find it useful to write functions (``procedures'', in Scheme parlance) that return a package based on some parameters. For example, consider the @code{luasocket} library for the Lua programming language. We want to create @code{luasocket} packages for major versions of Lua. One way to do that is to define a procedure that takes a Lua package and returns a @code{luasocket} package that depends on it:"
  14448. msgstr ""
  14449. #. type: lisp
  14450. #: guix-git/doc/guix.texi:8385
  14451. #, no-wrap
  14452. msgid ""
  14453. "(define (make-lua-socket name lua)\n"
  14454. " ;; Return a luasocket package built with LUA.\n"
  14455. " (package\n"
  14456. " (name name)\n"
  14457. " (version \"3.0\")\n"
  14458. " ;; several fields omitted\n"
  14459. " (inputs (list lua))\n"
  14460. " (synopsis \"Socket library for Lua\")))\n"
  14461. "\n"
  14462. msgstr ""
  14463. #. type: lisp
  14464. #: guix-git/doc/guix.texi:8388
  14465. #, no-wrap
  14466. msgid ""
  14467. "(define-public lua5.1-socket\n"
  14468. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  14469. "\n"
  14470. msgstr ""
  14471. #. type: lisp
  14472. #: guix-git/doc/guix.texi:8391
  14473. #, no-wrap
  14474. msgid ""
  14475. "(define-public lua5.2-socket\n"
  14476. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  14477. msgstr ""
  14478. #. type: Plain text
  14479. #: guix-git/doc/guix.texi:8399
  14480. msgid "Here we have defined packages @code{lua5.1-socket} and @code{lua5.2-socket} by calling @code{make-lua-socket} with different arguments. @xref{Procedures,,, guile, GNU Guile Reference Manual}, for more info on procedures. Having top-level public definitions for these two packages means that they can be referred to from the command line (@pxref{Package Modules})."
  14481. msgstr ""
  14482. #. type: cindex
  14483. #: guix-git/doc/guix.texi:8400
  14484. #, no-wrap
  14485. msgid "package transformations"
  14486. msgstr ""
  14487. #. type: Plain text
  14488. #: guix-git/doc/guix.texi:8405
  14489. msgid "These are pretty simple package variants. As a convenience, the @code{(guix transformations)} module provides a high-level interface that directly maps to the more sophisticated package transformation options (@pxref{Package Transformation Options}):"
  14490. msgstr ""
  14491. #. type: defun
  14492. #: guix-git/doc/guix.texi:8406
  14493. #, no-wrap
  14494. msgid "options->transformation opts"
  14495. msgstr ""
  14496. #. type: defun
  14497. #: guix-git/doc/guix.texi:8410
  14498. msgid "Return a procedure that, when passed an object to build (package, derivation, etc.), applies the transformations specified by @var{opts} and returns the resulting objects. @var{opts} must be a list of symbol/string pairs such as:"
  14499. msgstr ""
  14500. #. type: lisp
  14501. #: guix-git/doc/guix.texi:8414
  14502. #, no-wrap
  14503. msgid ""
  14504. "((with-branch . \"guile-gcrypt=master\")\n"
  14505. " (without-tests . \"libgcrypt\"))\n"
  14506. msgstr ""
  14507. #. type: defun
  14508. #: guix-git/doc/guix.texi:8418
  14509. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  14510. msgstr ""
  14511. #. type: Plain text
  14512. #: guix-git/doc/guix.texi:8421
  14513. msgid "For instance, a manifest equivalent to this command:"
  14514. msgstr ""
  14515. #. type: example
  14516. #: guix-git/doc/guix.texi:8426
  14517. #, no-wrap
  14518. msgid ""
  14519. "guix build guix \\\n"
  14520. " --with-branch=guile-gcrypt=master \\\n"
  14521. " --with-debug-info=zlib\n"
  14522. msgstr ""
  14523. #. type: Plain text
  14524. #: guix-git/doc/guix.texi:8430
  14525. msgid "... would look like this:"
  14526. msgstr ""
  14527. #. type: lisp
  14528. #: guix-git/doc/guix.texi:8433
  14529. #, no-wrap
  14530. msgid ""
  14531. "(use-modules (guix transformations))\n"
  14532. "\n"
  14533. msgstr ""
  14534. #. type: lisp
  14535. #: guix-git/doc/guix.texi:8439
  14536. #, no-wrap
  14537. msgid ""
  14538. "(define transform\n"
  14539. " ;; The package transformation procedure.\n"
  14540. " (options->transformation\n"
  14541. " '((with-branch . \"guile-gcrypt=master\")\n"
  14542. " (with-debug-info . \"zlib\"))))\n"
  14543. "\n"
  14544. msgstr ""
  14545. #. type: lisp
  14546. #: guix-git/doc/guix.texi:8442
  14547. #, no-wrap
  14548. msgid ""
  14549. "(packages->manifest\n"
  14550. " (list (transform (specification->package \"guix\"))))\n"
  14551. msgstr ""
  14552. #. type: cindex
  14553. #: guix-git/doc/guix.texi:8444
  14554. #, no-wrap
  14555. msgid "input rewriting"
  14556. msgstr ""
  14557. #. type: cindex
  14558. #: guix-git/doc/guix.texi:8445
  14559. #, no-wrap
  14560. msgid "dependency graph rewriting"
  14561. msgstr ""
  14562. #. type: Plain text
  14563. #: guix-git/doc/guix.texi:8452
  14564. msgid "The @code{options->transformation} procedure is convenient, but it's perhaps also not as flexible as you may like. How is it implemented? The astute reader probably noticed that most package transformation options go beyond the superficial changes shown in the first examples of this section: they involve @dfn{input rewriting}, whereby the dependency graph of a package is rewritten by replacing specific inputs by others."
  14565. msgstr ""
  14566. #. type: Plain text
  14567. #: guix-git/doc/guix.texi:8456
  14568. msgid "Dependency graph rewriting, for the purposes of swapping packages in the graph, is what the @code{package-input-rewriting} procedure in @code{(guix packages)} implements."
  14569. msgstr ""
  14570. #. type: defun
  14571. #: guix-git/doc/guix.texi:8457
  14572. #, no-wrap
  14573. msgid "package-input-rewriting replacements [rewrite-name] [#:deep? #t]"
  14574. msgstr ""
  14575. #. type: defun
  14576. #: guix-git/doc/guix.texi:8463
  14577. msgid "Return a procedure that, when passed a package, replaces its direct and indirect dependencies, including implicit inputs when @var{deep?} is true, according to @var{replacements}. @var{replacements} is a list of package pairs; the first element of each pair is the package to replace, and the second one is the replacement."
  14578. msgstr ""
  14579. #. type: defun
  14580. #: guix-git/doc/guix.texi:8466
  14581. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  14582. msgstr ""
  14583. #. type: table
  14584. #: guix-git/doc/guix.texi:8470 guix-git/doc/guix.texi:12910
  14585. msgid "Consider this example:"
  14586. msgstr ""
  14587. #. type: lisp
  14588. #: guix-git/doc/guix.texi:8476
  14589. #, no-wrap
  14590. msgid ""
  14591. "(define libressl-instead-of-openssl\n"
  14592. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  14593. " ;; recursively.\n"
  14594. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  14595. "\n"
  14596. msgstr ""
  14597. #. type: lisp
  14598. #: guix-git/doc/guix.texi:8479
  14599. #, no-wrap
  14600. msgid ""
  14601. "(define git-with-libressl\n"
  14602. " (libressl-instead-of-openssl git))\n"
  14603. msgstr ""
  14604. #. type: Plain text
  14605. #: guix-git/doc/guix.texi:8487
  14606. msgid "Here we first define a rewriting procedure that replaces @var{openssl} with @var{libressl}. Then we use it to define a @dfn{variant} of the @var{git} package that uses @var{libressl} instead of @var{openssl}. This is exactly what the @option{--with-input} command-line option does (@pxref{Package Transformation Options, @option{--with-input}})."
  14607. msgstr ""
  14608. #. type: Plain text
  14609. #: guix-git/doc/guix.texi:8490
  14610. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  14611. msgstr ""
  14612. #. type: deffn
  14613. #: guix-git/doc/guix.texi:8491
  14614. #, no-wrap
  14615. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  14616. msgstr ""
  14617. #. type: deffn
  14618. #: guix-git/doc/guix.texi:8495
  14619. msgid "Return a procedure that, given a package, applies the given @var{replacements} to all the package graph, including implicit inputs unless @var{deep?} is false."
  14620. msgstr ""
  14621. #. type: deffn
  14622. #: guix-git/doc/guix.texi:8501
  14623. msgid "@var{replacements} is a list of spec/procedures pair; each spec is a package specification such as @code{\"gcc\"} or @code{\"guile@@2\"}, and each procedure takes a matching package and returns a replacement for that package. Matching packages that have the @code{hidden?} property set are not replaced."
  14624. msgstr ""
  14625. #. type: Plain text
  14626. #: guix-git/doc/guix.texi:8504
  14627. msgid "The example above could be rewritten this way:"
  14628. msgstr ""
  14629. #. type: lisp
  14630. #: guix-git/doc/guix.texi:8509
  14631. #, no-wrap
  14632. msgid ""
  14633. "(define libressl-instead-of-openssl\n"
  14634. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  14635. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  14636. msgstr ""
  14637. #. type: Plain text
  14638. #: guix-git/doc/guix.texi:8514
  14639. msgid "The key difference here is that, this time, packages are matched by spec and not by identity. In other words, any package in the graph that is called @code{openssl} will be replaced."
  14640. msgstr ""
  14641. #. type: Plain text
  14642. #: guix-git/doc/guix.texi:8518
  14643. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  14644. msgstr ""
  14645. #. type: defun
  14646. #: guix-git/doc/guix.texi:8519
  14647. #, no-wrap
  14648. msgid "package-mapping proc [cut?] [#:deep? #f]"
  14649. msgstr ""
  14650. #. type: defun
  14651. #: guix-git/doc/guix.texi:8524
  14652. msgid "Return a procedure that, given a package, applies @var{proc} to all the packages depended on and returns the resulting package. The procedure stops recursion when @var{cut?} returns true for a given package. When @var{deep?} is true, @var{proc} is applied to implicit inputs as well."
  14653. msgstr ""
  14654. #. type: cindex
  14655. #: guix-git/doc/guix.texi:8529
  14656. #, fuzzy, no-wrap
  14657. #| msgid "profile-manifest"
  14658. msgid "manifest"
  14659. msgstr "profile-manifest"
  14660. #. type: cindex
  14661. #: guix-git/doc/guix.texi:8530
  14662. #, no-wrap
  14663. msgid "bill of materials (manifests)"
  14664. msgstr ""
  14665. #. type: Plain text
  14666. #: guix-git/doc/guix.texi:8541
  14667. msgid "@command{guix} commands let you specify package lists on the command line. This is convenient, but as the command line becomes longer and less trivial, it quickly becomes more convenient to have that package list in what we call a @dfn{manifest}. A manifest is some sort of a ``bill of materials'' that defines a package set. You would typically come up with a code snippet that builds the manifest, store it in a file, say @file{manifest.scm}, and then pass that file to the @option{-m} (or @option{--manifest}) option that many @command{guix} commands support. For example, here's what a manifest for a simple package set might look like:"
  14668. msgstr ""
  14669. #. type: lisp
  14670. #: guix-git/doc/guix.texi:8545
  14671. #, no-wrap
  14672. msgid ""
  14673. ";; Manifest for three packages.\n"
  14674. "(specifications->manifest '(\"gcc-toolchain\" \"make\" \"git\"))\n"
  14675. msgstr ""
  14676. #. type: Plain text
  14677. #: guix-git/doc/guix.texi:8551
  14678. msgid "Once you have that manifest, you can pass it, for example, to @command{guix package} to install just those three packages to your profile (@pxref{profile-manifest, @option{-m} option of @command{guix package}}):"
  14679. msgstr ""
  14680. #. type: example
  14681. #: guix-git/doc/guix.texi:8554
  14682. #, fuzzy, no-wrap
  14683. #| msgid "packages->manifest"
  14684. msgid "guix package -m manifest.scm\n"
  14685. msgstr "packages->manifest"
  14686. #. type: Plain text
  14687. #: guix-git/doc/guix.texi:8560
  14688. msgid "... or you can pass it to @command{guix shell} (@pxref{shell-manifest, @command{-m} option of @command{guix shell}}) to spawn an ephemeral environment:"
  14689. msgstr ""
  14690. #. type: Plain text
  14691. #: guix-git/doc/guix.texi:8570
  14692. msgid "... or you can pass it to @command{guix pack} in pretty much the same way (@pxref{pack-manifest, @option{-m} option of @command{guix pack}}). You can store the manifest under version control, share it with others so they can easily get set up, etc."
  14693. msgstr ""
  14694. #. type: Plain text
  14695. #: guix-git/doc/guix.texi:8576
  14696. msgid "But how do you write your first manifest? To get started, maybe you'll want to write a manifest that mirrors what you already have in a profile. Rather than start from a blank page, @command{guix package} can generate a manifest for you (@pxref{export-manifest, @command{guix package --export-manifest}}):"
  14697. msgstr ""
  14698. #. type: example
  14699. #: guix-git/doc/guix.texi:8581
  14700. #, no-wrap
  14701. msgid ""
  14702. "# Write to 'manifest.scm' a manifest corresponding to the\n"
  14703. "# default profile, ~/.guix-profile.\n"
  14704. "guix package --export-manifest > manifest.scm\n"
  14705. msgstr ""
  14706. #. type: Plain text
  14707. #: guix-git/doc/guix.texi:8586
  14708. msgid "Or maybe you'll want to ``translate'' command-line arguments into a manifest. In that case, @command{guix shell} can help (@pxref{shell-export-manifest, @command{guix shell --export-manifest}}):"
  14709. msgstr ""
  14710. #. type: example
  14711. #: guix-git/doc/guix.texi:8590
  14712. #, no-wrap
  14713. msgid ""
  14714. "# Write a manifest for the packages specified on the command line.\n"
  14715. "guix shell --export-manifest gcc-toolchain make git > manifest.scm\n"
  14716. msgstr ""
  14717. #. type: Plain text
  14718. #: guix-git/doc/guix.texi:8596
  14719. msgid "In both cases, the @option{--export-manifest} option tries hard to generate a faithful manifest; in particular, it takes package transformation options into account (@pxref{Package Transformation Options})."
  14720. msgstr ""
  14721. #. type: quotation
  14722. #: guix-git/doc/guix.texi:8602
  14723. msgid "Manifests are @emph{symbolic}: they refer to packages of the channels @emph{currently in use} (@pxref{Channels}). In the example above, @code{gcc-toolchain} might refer to version 11 today, but it might refer to version 13 two years from now."
  14724. msgstr ""
  14725. #. type: quotation
  14726. #: guix-git/doc/guix.texi:8607
  14727. msgid "If you want to ``pin'' your software environment to specific package versions and variants, you need an additional piece of information: the list of channel revisions in use, as returned by @command{guix describe}. @xref{Replicating Guix}, for more information."
  14728. msgstr ""
  14729. #. type: Plain text
  14730. #: guix-git/doc/guix.texi:8612
  14731. msgid "Once you've obtained your first manifest, perhaps you'll want to customize it. Since your manifest is code, you now have access to all the Guix programming interfaces!"
  14732. msgstr ""
  14733. #. type: Plain text
  14734. #: guix-git/doc/guix.texi:8618
  14735. msgid "Let's assume you want a manifest to deploy a custom variant of GDB, the GNU Debugger, that does not depend on Guile, together with another package. Building on the example seen in the previous section (@pxref{Defining Package Variants}), you can write a manifest along these lines:"
  14736. msgstr ""
  14737. #. type: lisp
  14738. #: guix-git/doc/guix.texi:8623
  14739. #, no-wrap
  14740. msgid ""
  14741. "(use-modules (guix packages)\n"
  14742. " (gnu packages gdb) ;for 'gdb'\n"
  14743. " (gnu packages version-control)) ;for 'git'\n"
  14744. "\n"
  14745. msgstr ""
  14746. #. type: lisp
  14747. #: guix-git/doc/guix.texi:8630
  14748. #, no-wrap
  14749. msgid ""
  14750. ";; Define a variant of GDB without a dependency on Guile.\n"
  14751. "(define gdb-sans-guile\n"
  14752. " (package\n"
  14753. " (inherit gdb)\n"
  14754. " (inputs (modify-inputs (package-inputs gdb)\n"
  14755. " (delete \"guile\")))))\n"
  14756. "\n"
  14757. msgstr ""
  14758. #. type: lisp
  14759. #: guix-git/doc/guix.texi:8633
  14760. #, no-wrap
  14761. msgid ""
  14762. ";; Return a manifest containing that one package plus Git.\n"
  14763. "(packages->manifest (list gdb-sans-guile git))\n"
  14764. msgstr ""
  14765. #. type: Plain text
  14766. #: guix-git/doc/guix.texi:8644
  14767. msgid "Note that in this example, the manifest directly refers to the @code{gdb} and @code{git} variables, which are bound to a @code{package} object (@pxref{package Reference}), instead of calling @code{specifications->manifest} to look up packages by name as we did before. The @code{use-modules} form at the top lets us access the core package interface (@pxref{Defining Packages}) and the modules that define @code{gdb} and @code{git} (@pxref{Package Modules}). Seamlessly, we're weaving all this together---the possibilities are endless, unleash your creativity!"
  14768. msgstr ""
  14769. #. type: Plain text
  14770. #: guix-git/doc/guix.texi:8648
  14771. msgid "The data type for manifests as well as supporting procedures are defined in the @code{(guix profiles)} module, which is automatically available to code passed to @option{-m}. The reference follows."
  14772. msgstr ""
  14773. #. type: deftp
  14774. #: guix-git/doc/guix.texi:8649
  14775. #, fuzzy, no-wrap
  14776. msgid "{Data Type} manifest"
  14777. msgstr "build-machine {Data Type}"
  14778. #. type: deftp
  14779. #: guix-git/doc/guix.texi:8651
  14780. #, fuzzy
  14781. msgid "Data type representing a manifest."
  14782. msgstr "Gerencie a configuração do sistema operacional."
  14783. #. type: deftp
  14784. #: guix-git/doc/guix.texi:8653
  14785. msgid "It currently has one field:"
  14786. msgstr ""
  14787. #. type: item
  14788. #: guix-git/doc/guix.texi:8655
  14789. #, no-wrap
  14790. msgid "entries"
  14791. msgstr ""
  14792. #. type: table
  14793. #: guix-git/doc/guix.texi:8657
  14794. msgid "This must be a list of @code{manifest-entry} records---see below."
  14795. msgstr ""
  14796. #. type: deftp
  14797. #: guix-git/doc/guix.texi:8660
  14798. #, fuzzy, no-wrap
  14799. #| msgid "{Data Type} build-machine"
  14800. msgid "{Data Type} manifest-entry"
  14801. msgstr "build-machine {Data Type}"
  14802. #. type: deftp
  14803. #: guix-git/doc/guix.texi:8666
  14804. msgid "Data type representing a manifest entry. A manifest entry contains essential metadata: a name and version string, the object (usually a package) for that entry, the desired output (@pxref{Packages with Multiple Outputs}), and a number of optional pieces of information detailed below."
  14805. msgstr ""
  14806. #. type: deftp
  14807. #: guix-git/doc/guix.texi:8671
  14808. msgid "Most of the time, you won't build a manifest entry directly; instead, you will pass a package to @code{package->manifest-entry}, described below. In some unusual cases though, you might want to create manifest entries for things that are @emph{not} packages, as in this example:"
  14809. msgstr ""
  14810. #. type: lisp
  14811. #: guix-git/doc/guix.texi:8684
  14812. #, no-wrap
  14813. msgid ""
  14814. ";; Manually build a single manifest entry for a non-package object.\n"
  14815. "(let ((hello (program-file \"hello\" #~(display \"Hi!\"))))\n"
  14816. " (manifest-entry\n"
  14817. " (name \"foo\")\n"
  14818. " (version \"42\")\n"
  14819. " (item\n"
  14820. " (computed-file \"hello-directory\"\n"
  14821. " #~(let ((bin (string-append #$output \"/bin\")))\n"
  14822. " (mkdir #$output) (mkdir bin)\n"
  14823. " (symlink #$hello\n"
  14824. " (string-append bin \"/hello\")))))))\n"
  14825. msgstr ""
  14826. #. type: deftp
  14827. #: guix-git/doc/guix.texi:8687
  14828. #, fuzzy
  14829. #| msgid "Packages are currently available on the following platforms:"
  14830. msgid "The available fields are the following:"
  14831. msgstr "Os pacotes estão atualmente disponíveis nas seguintes plataformas:"
  14832. #. type: table
  14833. #: guix-git/doc/guix.texi:8692
  14834. msgid "Name and version string for this entry."
  14835. msgstr ""
  14836. #. type: code{#1}
  14837. #: guix-git/doc/guix.texi:8693
  14838. #, no-wrap
  14839. msgid "item"
  14840. msgstr ""
  14841. #. type: table
  14842. #: guix-git/doc/guix.texi:8696
  14843. msgid "A package or other file-like object (@pxref{G-Expressions, file-like objects})."
  14844. msgstr ""
  14845. #. type: item
  14846. #: guix-git/doc/guix.texi:8697
  14847. #, fuzzy, no-wrap
  14848. #| msgid "@code{hangup?} (default: @code{#f})"
  14849. msgid "@code{output} (default: @code{\"out\"})"
  14850. msgstr "@code{hangup?} (padrão: @code{#f})"
  14851. #. type: table
  14852. #: guix-git/doc/guix.texi:8700
  14853. msgid "Output of @code{item} to use, in case @code{item} has multiple outputs (@pxref{Packages with Multiple Outputs})."
  14854. msgstr ""
  14855. #. type: item
  14856. #: guix-git/doc/guix.texi:8701 guix-git/doc/guix.texi:17091
  14857. #: guix-git/doc/guix.texi:17504
  14858. #, no-wrap
  14859. msgid "@code{dependencies} (default: @code{'()})"
  14860. msgstr ""
  14861. #. type: table
  14862. #: guix-git/doc/guix.texi:8704
  14863. msgid "List of manifest entries this entry depends on. When building a profile, dependencies are added to the profile."
  14864. msgstr ""
  14865. #. type: table
  14866. #: guix-git/doc/guix.texi:8708
  14867. msgid "Typically, the propagated inputs of a package (@pxref{package Reference, @code{propagated-inputs}}) end up having a corresponding manifest entry in among the dependencies of the package's own manifest entry."
  14868. msgstr ""
  14869. #. type: table
  14870. #: guix-git/doc/guix.texi:8712
  14871. msgid "The list of search path specifications honored by this entry (@pxref{Search Paths})."
  14872. msgstr ""
  14873. #. type: item
  14874. #: guix-git/doc/guix.texi:8713
  14875. #, fuzzy, no-wrap
  14876. #| msgid "@code{features} (default: @code{'()})"
  14877. msgid "@code{properties} (default: @code{'()})"
  14878. msgstr "@code{features} (padrão: @code{'()})"
  14879. #. type: table
  14880. #: guix-git/doc/guix.texi:8716
  14881. msgid "List of symbol/value pairs. When building a profile, those properties get serialized."
  14882. msgstr ""
  14883. #. type: table
  14884. #: guix-git/doc/guix.texi:8720
  14885. msgid "This can be used to piggyback additional metadata---e.g., the transformations applied to a package (@pxref{Package Transformation Options})."
  14886. msgstr ""
  14887. #. type: item
  14888. #: guix-git/doc/guix.texi:8721
  14889. #, fuzzy, no-wrap
  14890. msgid "@code{parent} (default: @code{(delay #f)})"
  14891. msgstr "@code{term} (default: @code{#f})"
  14892. #. type: table
  14893. #: guix-git/doc/guix.texi:8723
  14894. msgid "A promise pointing to the ``parent'' manifest entry."
  14895. msgstr ""
  14896. #. type: table
  14897. #: guix-git/doc/guix.texi:8726
  14898. msgid "This is used as a hint to provide context when reporting an error related to a manifest entry coming from a @code{dependencies} field."
  14899. msgstr ""
  14900. #. type: defun
  14901. #: guix-git/doc/guix.texi:8729
  14902. #, no-wrap
  14903. msgid "concatenate-manifests lst"
  14904. msgstr ""
  14905. #. type: defun
  14906. #: guix-git/doc/guix.texi:8732
  14907. msgid "Concatenate the manifests listed in @var{lst} and return the resulting manifest."
  14908. msgstr ""
  14909. #. type: defun
  14910. #: guix-git/doc/guix.texi:8736
  14911. #, no-wrap
  14912. msgid "package->manifest-entry package [output] [#:properties]"
  14913. msgstr ""
  14914. #. type: defun
  14915. #: guix-git/doc/guix.texi:8744
  14916. msgid "Return a manifest entry for the @var{output} of package @var{package}, where @var{output} defaults to @code{\"out\"}, and with the given @var{properties}. By default @var{properties} is the empty list or, if one or more package transformations were applied to @var{package}, it is an association list representing those transformations, suitable as an argument to @code{options->transformation} (@pxref{Defining Package Variants, @code{options->transformation}})."
  14917. msgstr ""
  14918. #. type: defun
  14919. #: guix-git/doc/guix.texi:8747
  14920. msgid "The code snippet below builds a manifest with an entry for the default output and the @code{send-email} output of the @code{git} package:"
  14921. msgstr ""
  14922. #. type: lisp
  14923. #: guix-git/doc/guix.texi:8750 guix-git/doc/guix.texi:8767
  14924. #, fuzzy, no-wrap
  14925. #| msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  14926. msgid ""
  14927. "(use-modules (gnu packages version-control))\n"
  14928. "\n"
  14929. msgstr "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  14930. #. type: lisp
  14931. #: guix-git/doc/guix.texi:8753
  14932. #, no-wrap
  14933. msgid ""
  14934. "(manifest (list (package->manifest-entry git)\n"
  14935. " (package->manifest-entry git \"send-email\")))\n"
  14936. msgstr ""
  14937. #. type: defun
  14938. #: guix-git/doc/guix.texi:8756
  14939. #, fuzzy, no-wrap
  14940. #| msgid "packages->manifest"
  14941. msgid "packages->manifest packages"
  14942. msgstr "packages->manifest"
  14943. #. type: defun
  14944. #: guix-git/doc/guix.texi:8761
  14945. msgid "Return a list of manifest entries, one for each item listed in @var{packages}. Elements of @var{packages} can be either package objects or package/string tuples denoting a specific output of a package."
  14946. msgstr ""
  14947. #. type: defun
  14948. #: guix-git/doc/guix.texi:8764
  14949. msgid "Using this procedure, the manifest above may be rewritten more concisely:"
  14950. msgstr ""
  14951. #. type: lisp
  14952. #: guix-git/doc/guix.texi:8769
  14953. #, no-wrap
  14954. msgid "(packages->manifest (list git `(,git \"send-email\")))\n"
  14955. msgstr ""
  14956. #. type: anchor{#1}
  14957. #: guix-git/doc/guix.texi:8773
  14958. #, fuzzy
  14959. #| msgid "packages->manifest"
  14960. msgid "package-development-manifest"
  14961. msgstr "packages->manifest"
  14962. #. type: defun
  14963. #: guix-git/doc/guix.texi:8773
  14964. #, fuzzy, no-wrap
  14965. #| msgid "packages->manifest"
  14966. msgid "package->development-manifest package [system] [#:target]"
  14967. msgstr "packages->manifest"
  14968. #. type: defun
  14969. #: guix-git/doc/guix.texi:8778
  14970. msgid "Return a manifest for the @dfn{development inputs} of @var{package} for @var{system}, optionally when cross-compiling to @var{target}. Development inputs include both explicit and implicit inputs of @var{package}."
  14971. msgstr ""
  14972. #. type: defun
  14973. #: guix-git/doc/guix.texi:8786
  14974. msgid "Like the @option{-D} option of @command{guix shell} (@pxref{shell-development-option, @command{guix shell -D}}), the resulting manifest describes the environment in which one can develop @var{package}. For example, suppose you're willing to set up a development environment for Inkscape, with the addition of Git for version control; you can describe that ``bill of materials'' with the following manifest:"
  14975. msgstr ""
  14976. #. type: lisp
  14977. #: guix-git/doc/guix.texi:8790
  14978. #, no-wrap
  14979. msgid ""
  14980. "(use-modules (gnu packages inkscape) ;for 'inkscape'\n"
  14981. " (gnu packages version-control)) ;for 'git'\n"
  14982. "\n"
  14983. msgstr ""
  14984. #. type: lisp
  14985. #: guix-git/doc/guix.texi:8794
  14986. #, no-wrap
  14987. msgid ""
  14988. "(concatenate-manifests\n"
  14989. " (list (package->development-manifest inkscape)\n"
  14990. " (packages->manifest (list git))))\n"
  14991. msgstr ""
  14992. #. type: defun
  14993. #: guix-git/doc/guix.texi:8801
  14994. msgid "In this example, the development manifest that @code{package->development-manifest} returns includes the compiler (GCC), the many supporting libraries (Boost, GLib, GTK, etc.), and a couple of additional development tools---these are the dependencies @command{guix show inkscape} lists."
  14995. msgstr ""
  14996. #. type: Plain text
  14997. #: guix-git/doc/guix.texi:8808
  14998. msgid "Last, the @code{(gnu packages)} module provides higher-level facilities to build manifests. In particular, it lets you look up packages by name---see below."
  14999. msgstr ""
  15000. #. type: defun
  15001. #: guix-git/doc/guix.texi:8809
  15002. #, fuzzy, no-wrap
  15003. #| msgid ""
  15004. #| "(specifications->manifest\n"
  15005. #| " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  15006. msgid "specifications->manifest specs"
  15007. msgstr ""
  15008. "(specifications->manifest\n"
  15009. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  15010. #. type: defun
  15011. #: guix-git/doc/guix.texi:8814
  15012. msgid "Given @var{specs}, a list of specifications such as @code{\"emacs@@25.2\"} or @code{\"guile:debug\"}, return a manifest. Specs have the format that command-line tools such as @command{guix install} and @command{guix package} understand (@pxref{Invoking guix package})."
  15013. msgstr ""
  15014. #. type: defun
  15015. #: guix-git/doc/guix.texi:8817
  15016. msgid "As an example, it lets you rewrite the Git manifest that we saw earlier like this:"
  15017. msgstr ""
  15018. #. type: lisp
  15019. #: guix-git/doc/guix.texi:8820
  15020. #, fuzzy, no-wrap
  15021. #| msgid ""
  15022. #| "(specifications->manifest\n"
  15023. #| " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  15024. msgid "(specifications->manifest '(\"git\" \"git:send-email\"))\n"
  15025. msgstr ""
  15026. "(specifications->manifest\n"
  15027. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  15028. #. type: defun
  15029. #: guix-git/doc/guix.texi:8826
  15030. msgid "Notice that we do not need to worry about @code{use-modules}, importing the right set of modules, and referring to the right variables. Instead, we directly refer to packages in the same way as on the command line, which can often be more convenient."
  15031. msgstr ""
  15032. #. type: cindex
  15033. #: guix-git/doc/guix.texi:8834
  15034. #, no-wrap
  15035. msgid "build system"
  15036. msgstr ""
  15037. #. type: Plain text
  15038. #: guix-git/doc/guix.texi:8839
  15039. msgid "Each package definition specifies a @dfn{build system} and arguments for that build system (@pxref{Defining Packages}). This @code{build-system} field represents the build procedure of the package, as well as implicit dependencies of that build procedure."
  15040. msgstr ""
  15041. #. type: Plain text
  15042. #: guix-git/doc/guix.texi:8843
  15043. msgid "Build systems are @code{<build-system>} objects. The interface to create and manipulate them is provided by the @code{(guix build-system)} module, and actual build systems are exported by specific modules."
  15044. msgstr ""
  15045. #. type: cindex
  15046. #: guix-git/doc/guix.texi:8844
  15047. #, no-wrap
  15048. msgid "bag (low-level package representation)"
  15049. msgstr ""
  15050. #. type: Plain text
  15051. #: guix-git/doc/guix.texi:8854
  15052. msgid "Under the hood, build systems first compile package objects to @dfn{bags}. A @dfn{bag} is like a package, but with less ornamentation---in other words, a bag is a lower-level representation of a package, which includes all the inputs of that package, including some that were implicitly added by the build system. This intermediate representation is then compiled to a derivation (@pxref{Derivations}). The @code{package-with-c-toolchain} is an example of a way to change the implicit inputs that a package's build system pulls in (@pxref{package Reference, @code{package-with-c-toolchain}})."
  15053. msgstr ""
  15054. #. type: Plain text
  15055. #: guix-git/doc/guix.texi:8862
  15056. msgid "Build systems accept an optional list of @dfn{arguments}. In package definitions, these are passed @i{via} the @code{arguments} field (@pxref{Defining Packages}). They are typically keyword arguments (@pxref{Optional Arguments, keyword arguments in Guile,, guile, GNU Guile Reference Manual}). The value of these arguments is usually evaluated in the @dfn{build stratum}---i.e., by a Guile process launched by the daemon (@pxref{Derivations})."
  15057. msgstr ""
  15058. #. type: Plain text
  15059. #: guix-git/doc/guix.texi:8866
  15060. msgid "The main build system is @code{gnu-build-system}, which implements the standard build procedure for GNU and many other packages. It is provided by the @code{(guix build-system gnu)} module."
  15061. msgstr ""
  15062. #. type: defvar
  15063. #: guix-git/doc/guix.texi:8867
  15064. #, fuzzy, no-wrap
  15065. #| msgid "guix system vm"
  15066. msgid "gnu-build-system"
  15067. msgstr "guix system vm"
  15068. #. type: defvar
  15069. #: guix-git/doc/guix.texi:8871
  15070. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  15071. msgstr ""
  15072. #. type: cindex
  15073. #: guix-git/doc/guix.texi:8872 guix-git/doc/guix.texi:9955
  15074. #: guix-git/doc/guix.texi:10570
  15075. #, no-wrap
  15076. msgid "build phases"
  15077. msgstr ""
  15078. #. type: defvar
  15079. #: guix-git/doc/guix.texi:8879
  15080. msgid "In a nutshell, packages using it are configured, built, and installed with the usual @code{./configure && make && make check && make install} command sequence. In practice, a few additional steps are often needed. All these steps are split up in separate @dfn{phases}. @xref{Build Phases}, for more info on build phases and ways to customize them."
  15081. msgstr ""
  15082. #. type: defvar
  15083. #: guix-git/doc/guix.texi:8886
  15084. msgid "In addition, this build system ensures that the ``standard'' environment for GNU packages is available. This includes tools such as GCC, libc, Coreutils, Bash, Make, Diffutils, grep, and sed (see the @code{(guix build-system gnu)} module for a complete list). We call these the @dfn{implicit inputs} of a package, because package definitions do not have to mention them."
  15085. msgstr ""
  15086. #. type: defvar
  15087. #: guix-git/doc/guix.texi:8890
  15088. msgid "This build system supports a number of keyword arguments, which can be passed @i{via} the @code{arguments} field of a package. Here are some of the main parameters:"
  15089. msgstr ""
  15090. #. type: item
  15091. #: guix-git/doc/guix.texi:8892
  15092. #, no-wrap
  15093. msgid "#:phases"
  15094. msgstr ""
  15095. #. type: table
  15096. #: guix-git/doc/guix.texi:8895
  15097. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  15098. msgstr ""
  15099. #. type: item
  15100. #: guix-git/doc/guix.texi:8896
  15101. #, no-wrap
  15102. msgid "#:configure-flags"
  15103. msgstr ""
  15104. #. type: table
  15105. #: guix-git/doc/guix.texi:8899
  15106. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  15107. msgstr ""
  15108. #. type: item
  15109. #: guix-git/doc/guix.texi:8900
  15110. #, no-wrap
  15111. msgid "#:make-flags"
  15112. msgstr ""
  15113. #. type: table
  15114. #: guix-git/doc/guix.texi:8904
  15115. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  15116. msgstr ""
  15117. #. type: item
  15118. #: guix-git/doc/guix.texi:8905
  15119. #, no-wrap
  15120. msgid "#:out-of-source?"
  15121. msgstr ""
  15122. #. type: table
  15123. #: guix-git/doc/guix.texi:8908
  15124. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  15125. msgstr ""
  15126. #. type: table
  15127. #: guix-git/doc/guix.texi:8913
  15128. msgid "When it is true, the @code{configure} phase creates a separate build directory, changes to that directory, and runs the @code{configure} script from there. This is useful for packages that require it, such as @code{glibc}."
  15129. msgstr ""
  15130. #. type: item
  15131. #: guix-git/doc/guix.texi:8914
  15132. #, no-wrap
  15133. msgid "#:tests?"
  15134. msgstr ""
  15135. #. type: table
  15136. #: guix-git/doc/guix.texi:8917
  15137. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  15138. msgstr ""
  15139. #. type: item
  15140. #: guix-git/doc/guix.texi:8918
  15141. #, no-wrap
  15142. msgid "#:test-target"
  15143. msgstr ""
  15144. #. type: table
  15145. #: guix-git/doc/guix.texi:8921
  15146. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  15147. msgstr ""
  15148. #. type: item
  15149. #: guix-git/doc/guix.texi:8922
  15150. #, no-wrap
  15151. msgid "#:parallel-build?"
  15152. msgstr ""
  15153. #. type: itemx
  15154. #: guix-git/doc/guix.texi:8923
  15155. #, no-wrap
  15156. msgid "#:parallel-tests?"
  15157. msgstr ""
  15158. #. type: table
  15159. #: guix-git/doc/guix.texi:8930
  15160. msgid "These Boolean values specify whether to build, respectively run the test suite, in parallel, with the @code{-j} flag of @command{make}. When they are true, @code{make} is passed @code{-j@var{n}}, where @var{n} is the number specified as the @option{--cores} option of @command{guix-daemon} or that of the @command{guix} client command (@pxref{Common Build Options, @option{--cores}})."
  15161. msgstr ""
  15162. #. type: cindex
  15163. #: guix-git/doc/guix.texi:8931 guix-git/doc/guix.texi:10092
  15164. #, no-wrap
  15165. msgid "RUNPATH, validation"
  15166. msgstr ""
  15167. #. type: item
  15168. #: guix-git/doc/guix.texi:8932
  15169. #, no-wrap
  15170. msgid "#:validate-runpath?"
  15171. msgstr ""
  15172. #. type: table
  15173. #: guix-git/doc/guix.texi:8938
  15174. msgid "This Boolean, @code{#t} by default, determines whether to ``validate'' the @code{RUNPATH} of ELF binaries (@code{.so} shared libraries as well as executables) previously installed by the @code{install} phase. @xref{phase-validate-runpath, the @code{validate-runpath} phase}, for details."
  15175. msgstr ""
  15176. #. type: item
  15177. #: guix-git/doc/guix.texi:8939
  15178. #, no-wrap
  15179. msgid "#:substitutable?"
  15180. msgstr "#:substituível?"
  15181. #. type: table
  15182. #: guix-git/doc/guix.texi:8943
  15183. msgid "This Boolean, @code{#t} by default, tells whether the package outputs should be substitutable---i.e., whether users should be able to obtain substitutes for them instead of building locally (@pxref{Substitutes})."
  15184. msgstr ""
  15185. #. type: item
  15186. #: guix-git/doc/guix.texi:8944
  15187. #, no-wrap
  15188. msgid "#:allowed-references"
  15189. msgstr ""
  15190. #. type: itemx
  15191. #: guix-git/doc/guix.texi:8945
  15192. #, no-wrap
  15193. msgid "#:disallowed-references"
  15194. msgstr ""
  15195. #. type: table
  15196. #: guix-git/doc/guix.texi:8950
  15197. msgid "When true, these arguments must be a list of dependencies that must not appear among the references of the build results. If, upon build completion, some of these references are retained, the build process fails."
  15198. msgstr ""
  15199. #. type: table
  15200. #: guix-git/doc/guix.texi:8955
  15201. msgid "This is useful to ensure that a package does not erroneously keep a reference to some of it build-time inputs, in cases where doing so would, for example, unnecessarily increase its size (@pxref{Invoking guix size})."
  15202. msgstr ""
  15203. #. type: defvar
  15204. #: guix-git/doc/guix.texi:8958
  15205. msgid "Most other build systems support these keyword arguments."
  15206. msgstr ""
  15207. #. type: Plain text
  15208. #: guix-git/doc/guix.texi:8965
  15209. msgid "Other @code{<build-system>} objects are defined to support other conventions and tools used by free software packages. They inherit most of @code{gnu-build-system}, and differ mainly in the set of inputs implicitly added to the build process, and in the list of phases executed. Some of these build systems are listed below."
  15210. msgstr ""
  15211. #. type: defvar
  15212. #: guix-git/doc/guix.texi:8966
  15213. #, fuzzy, no-wrap
  15214. #| msgid "operating-system"
  15215. msgid "ant-build-system"
  15216. msgstr "sistema operacional"
  15217. #. type: defvar
  15218. #: guix-git/doc/guix.texi:8970
  15219. msgid "This variable is exported by @code{(guix build-system ant)}. It implements the build procedure for Java packages that can be built with @url{https://ant.apache.org/, Ant build tool}."
  15220. msgstr ""
  15221. #. type: defvar
  15222. #: guix-git/doc/guix.texi:8975
  15223. msgid "It adds both @code{ant} and the @dfn{Java Development Kit} (JDK) as provided by the @code{icedtea} package to the set of inputs. Different packages can be specified with the @code{#:ant} and @code{#:jdk} parameters, respectively."
  15224. msgstr ""
  15225. #. type: defvar
  15226. #: guix-git/doc/guix.texi:8981
  15227. msgid "When the original package does not provide a suitable Ant build file, the parameter @code{#:jar-name} can be used to generate a minimal Ant build file @file{build.xml} with tasks to build the specified jar archive. In this case the parameter @code{#:source-dir} can be used to specify the source sub-directory, defaulting to ``src''."
  15228. msgstr ""
  15229. #. type: defvar
  15230. #: guix-git/doc/guix.texi:8989
  15231. msgid "The @code{#:main-class} parameter can be used with the minimal ant buildfile to specify the main class of the resulting jar. This makes the jar file executable. The @code{#:test-include} parameter can be used to specify the list of junit tests to run. It defaults to @code{(list \"**/*Test.java\")}. The @code{#:test-exclude} can be used to disable some tests. It defaults to @code{(list \"**/Abstract*.java\")}, because abstract classes cannot be run as tests."
  15232. msgstr ""
  15233. #. type: defvar
  15234. #: guix-git/doc/guix.texi:8993
  15235. msgid "The parameter @code{#:build-target} can be used to specify the Ant task that should be run during the @code{build} phase. By default the ``jar'' task will be run."
  15236. msgstr ""
  15237. #. type: defvar
  15238. #: guix-git/doc/guix.texi:8996
  15239. #, no-wrap
  15240. msgid "android-ndk-build-system"
  15241. msgstr ""
  15242. #. type: cindex
  15243. #: guix-git/doc/guix.texi:8997
  15244. #, no-wrap
  15245. msgid "Android distribution"
  15246. msgstr ""
  15247. #. type: cindex
  15248. #: guix-git/doc/guix.texi:8998
  15249. #, no-wrap
  15250. msgid "Android NDK build system"
  15251. msgstr ""
  15252. #. type: defvar
  15253. #: guix-git/doc/guix.texi:9002
  15254. msgid "This variable is exported by @code{(guix build-system android-ndk)}. It implements a build procedure for Android NDK (native development kit) packages using a Guix-specific build process."
  15255. msgstr ""
  15256. #. type: defvar
  15257. #: guix-git/doc/guix.texi:9006
  15258. msgid "The build system assumes that packages install their public interface (header) files to the subdirectory @file{include} of the @code{out} output and their libraries to the subdirectory @file{lib} the @code{out} output."
  15259. msgstr ""
  15260. #. type: defvar
  15261. #: guix-git/doc/guix.texi:9009
  15262. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  15263. msgstr ""
  15264. #. type: defvar
  15265. #: guix-git/doc/guix.texi:9012
  15266. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  15267. msgstr ""
  15268. #. type: defvar
  15269. #: guix-git/doc/guix.texi:9015
  15270. #, no-wrap
  15271. msgid "asdf-build-system/source"
  15272. msgstr ""
  15273. #. type: defvarx
  15274. #: guix-git/doc/guix.texi:9016
  15275. #, no-wrap
  15276. msgid "asdf-build-system/sbcl"
  15277. msgstr ""
  15278. #. type: defvarx
  15279. #: guix-git/doc/guix.texi:9017
  15280. #, no-wrap
  15281. msgid "asdf-build-system/ecl"
  15282. msgstr ""
  15283. #. type: defvar
  15284. #: guix-git/doc/guix.texi:9023
  15285. msgid "These variables, exported by @code{(guix build-system asdf)}, implement build procedures for Common Lisp packages using @url{https://common-lisp.net/project/asdf/, ``ASDF''}. ASDF is a system definition facility for Common Lisp programs and libraries."
  15286. msgstr ""
  15287. #. type: defvar
  15288. #: guix-git/doc/guix.texi:9030
  15289. msgid "The @code{asdf-build-system/source} system installs the packages in source form, and can be loaded using any common lisp implementation, via ASDF@. The others, such as @code{asdf-build-system/sbcl}, install binary systems in the format which a particular implementation understands. These build systems can also be used to produce executable programs, or lisp images which contain a set of packages pre-loaded."
  15290. msgstr ""
  15291. #. type: defvar
  15292. #: guix-git/doc/guix.texi:9034
  15293. msgid "The build system uses naming conventions. For binary packages, the package name should be prefixed with the lisp implementation, such as @code{sbcl-} for @code{asdf-build-system/sbcl}."
  15294. msgstr ""
  15295. #. type: defvar
  15296. #: guix-git/doc/guix.texi:9038
  15297. msgid "Additionally, the corresponding source package should be labeled using the same convention as python packages (see @ref{Python Modules}), using the @code{cl-} prefix."
  15298. msgstr ""
  15299. #. type: defvar
  15300. #: guix-git/doc/guix.texi:9046
  15301. msgid "In order to create executable programs and images, the build-side procedures @code{build-program} and @code{build-image} can be used. They should be called in a build phase after the @code{create-asdf-configuration} phase, so that the system which was just built can be used within the resulting image. @code{build-program} requires a list of Common Lisp expressions to be passed as the @code{#:entry-program} argument."
  15302. msgstr ""
  15303. #. type: defvar
  15304. #: guix-git/doc/guix.texi:9055
  15305. msgid "By default, all the @file{.asd} files present in the sources are read to find system definitions. The @code{#:asd-files} parameter can be used to specify the list of @file{.asd} files to read. Furthermore, if the package defines a system for its tests in a separate file, it will be loaded before the tests are run if it is specified by the @code{#:test-asd-file} parameter. If it is not set, the files @code{<system>-tests.asd}, @code{<system>-test.asd}, @code{tests.asd}, and @code{test.asd} will be tried if they exist."
  15306. msgstr ""
  15307. #. type: defvar
  15308. #: guix-git/doc/guix.texi:9060
  15309. msgid "If for some reason the package must be named in a different way than the naming conventions suggest, or if several systems must be compiled, the @code{#:asd-systems} parameter can be used to specify the list of system names."
  15310. msgstr ""
  15311. #. type: defvar
  15312. #: guix-git/doc/guix.texi:9063
  15313. #, fuzzy, no-wrap
  15314. #| msgid "guix system vm"
  15315. msgid "cargo-build-system"
  15316. msgstr "guix system vm"
  15317. #. type: cindex
  15318. #: guix-git/doc/guix.texi:9064
  15319. #, no-wrap
  15320. msgid "Rust programming language"
  15321. msgstr ""
  15322. #. type: cindex
  15323. #: guix-git/doc/guix.texi:9065
  15324. #, no-wrap
  15325. msgid "Cargo (Rust build system)"
  15326. msgstr ""
  15327. #. type: defvar
  15328. #: guix-git/doc/guix.texi:9069
  15329. msgid "This variable is exported by @code{(guix build-system cargo)}. It supports builds of packages using Cargo, the build tool of the @uref{https://www.rust-lang.org, Rust programming language}."
  15330. msgstr ""
  15331. #. type: defvar
  15332. #: guix-git/doc/guix.texi:9072
  15333. msgid "It adds @code{rustc} and @code{cargo} to the set of inputs. A different Rust package can be specified with the @code{#:rust} parameter."
  15334. msgstr ""
  15335. #. type: defvar
  15336. #: guix-git/doc/guix.texi:9082
  15337. msgid "Regular cargo dependencies should be added to the package definition similarly to other packages; those needed only at build time to native-inputs, others to inputs. If you need to add source-only crates then you should add them to via the @code{#:cargo-inputs} parameter as a list of name and spec pairs, where the spec can be a package or a source definition. Note that the spec must evaluate to a path to a gzipped tarball which includes a @code{Cargo.toml} file at its root, or it will be ignored. Similarly, cargo dev-dependencies should be added to the package definition via the @code{#:cargo-development-inputs} parameter."
  15338. msgstr ""
  15339. #. type: defvar
  15340. #: guix-git/doc/guix.texi:9092
  15341. msgid "In its @code{configure} phase, this build system will make any source inputs specified in the @code{#:cargo-inputs} and @code{#:cargo-development-inputs} parameters available to cargo. It will also remove an included @code{Cargo.lock} file to be recreated by @code{cargo} during the @code{build} phase. The @code{package} phase will run @code{cargo package} to create a source crate for future use. The @code{install} phase installs the binaries defined by the crate. Unless @code{install-source? #f} is defined it will also install a source crate repository of itself and unpacked sources, to ease in future hacking on rust packages."
  15342. msgstr ""
  15343. #. type: defvar
  15344. #: guix-git/doc/guix.texi:9094
  15345. #, fuzzy, no-wrap
  15346. msgid "chicken-build-system"
  15347. msgstr "guix-publish-service-type"
  15348. #. type: defvar
  15349. #: guix-git/doc/guix.texi:9099
  15350. msgid "This variable is exported by @code{(guix build-system chicken)}. It builds @uref{https://call-cc.org/, CHICKEN Scheme} modules, also called ``eggs'' or ``extensions''. CHICKEN generates C source code, which then gets compiled by a C compiler, in this case GCC."
  15351. msgstr ""
  15352. #. type: defvar
  15353. #: guix-git/doc/guix.texi:9102
  15354. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  15355. msgstr ""
  15356. #. type: defvar
  15357. #: guix-git/doc/guix.texi:9106
  15358. msgid "The build system can't (yet) deduce the egg's name automatically, so just like with @code{go-build-system} and its @code{#:import-path}, you should define @code{#:egg-name} in the package's @code{arguments} field."
  15359. msgstr ""
  15360. #. type: defvar
  15361. #: guix-git/doc/guix.texi:9108
  15362. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  15363. msgstr ""
  15364. #. type: lisp
  15365. #: guix-git/doc/guix.texi:9111
  15366. #, no-wrap
  15367. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  15368. msgstr ""
  15369. #. type: defvar
  15370. #: guix-git/doc/guix.texi:9116
  15371. msgid "Egg dependencies must be defined in @code{propagated-inputs}, not @code{inputs} because CHICKEN doesn't embed absolute references in compiled eggs. Test dependencies should go to @code{native-inputs}, as usual."
  15372. msgstr ""
  15373. #. type: defvar
  15374. #: guix-git/doc/guix.texi:9118
  15375. #, fuzzy, no-wrap
  15376. #| msgid "operating-system"
  15377. msgid "copy-build-system"
  15378. msgstr "sistema operacional"
  15379. #. type: defvar
  15380. #: guix-git/doc/guix.texi:9122
  15381. msgid "This variable is exported by @code{(guix build-system copy)}. It supports builds of simple packages that don't require much compiling, mostly just moving files around."
  15382. msgstr ""
  15383. #. type: defvar
  15384. #: guix-git/doc/guix.texi:9127
  15385. msgid "It adds much of the @code{gnu-build-system} packages to the set of inputs. Because of this, the @code{copy-build-system} does not require all the boilerplate code often needed for the @code{trivial-build-system}."
  15386. msgstr ""
  15387. #. type: defvar
  15388. #: guix-git/doc/guix.texi:9132
  15389. msgid "To further simplify the file installation process, an @code{#:install-plan} argument is exposed to let the packager specify which files go where. The install plan is a list of @code{(@var{source} @var{target} [@var{filters}])}. @var{filters} are optional."
  15390. msgstr ""
  15391. #. type: item
  15392. #: guix-git/doc/guix.texi:9134
  15393. #, no-wrap
  15394. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  15395. msgstr ""
  15396. #. type: item
  15397. #: guix-git/doc/guix.texi:9136
  15398. #, no-wrap
  15399. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  15400. msgstr ""
  15401. #. type: item
  15402. #: guix-git/doc/guix.texi:9137
  15403. #, no-wrap
  15404. msgid "Otherwise install @var{source} as @var{target}."
  15405. msgstr ""
  15406. #. type: item
  15407. #: guix-git/doc/guix.texi:9140
  15408. #, no-wrap
  15409. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  15410. msgstr ""
  15411. #. type: itemize
  15412. #: guix-git/doc/guix.texi:9143
  15413. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  15414. msgstr ""
  15415. #. type: item
  15416. #: guix-git/doc/guix.texi:9144
  15417. #, no-wrap
  15418. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  15419. msgstr ""
  15420. #. type: item
  15421. #: guix-git/doc/guix.texi:9145
  15422. #, no-wrap
  15423. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  15424. msgstr ""
  15425. #. type: itemize
  15426. #: guix-git/doc/guix.texi:9148
  15427. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  15428. msgstr ""
  15429. #. type: item
  15430. #: guix-git/doc/guix.texi:9149
  15431. #, no-wrap
  15432. msgid "With @code{#:include}, install all the files which the path suffix matches"
  15433. msgstr ""
  15434. #. type: itemize
  15435. #: guix-git/doc/guix.texi:9151
  15436. msgid "at least one of the elements in the given list."
  15437. msgstr ""
  15438. #. type: item
  15439. #: guix-git/doc/guix.texi:9151
  15440. #, no-wrap
  15441. msgid "With @code{#:include-regexp}, install all the files which the"
  15442. msgstr ""
  15443. #. type: itemize
  15444. #: guix-git/doc/guix.texi:9154
  15445. msgid "subpaths match at least one of the regular expressions in the given list."
  15446. msgstr ""
  15447. #. type: item
  15448. #: guix-git/doc/guix.texi:9154
  15449. #, no-wrap
  15450. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  15451. msgstr ""
  15452. #. type: itemize
  15453. #: guix-git/doc/guix.texi:9159
  15454. msgid "are the complement of their inclusion counterpart. Without @code{#:include} flags, install all files but those matching the exclusion filters. If both inclusions and exclusions are specified, the exclusions are done on top of the inclusions."
  15455. msgstr ""
  15456. #. type: itemize
  15457. #: guix-git/doc/guix.texi:9163
  15458. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  15459. msgstr ""
  15460. #. type: defvar
  15461. #: guix-git/doc/guix.texi:9166
  15462. msgid "Examples:"
  15463. msgstr ""
  15464. #. type: item
  15465. #: guix-git/doc/guix.texi:9168
  15466. #, no-wrap
  15467. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  15468. msgstr ""
  15469. #. type: item
  15470. #: guix-git/doc/guix.texi:9169
  15471. #, no-wrap
  15472. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  15473. msgstr ""
  15474. #. type: item
  15475. #: guix-git/doc/guix.texi:9170
  15476. #, no-wrap
  15477. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  15478. msgstr ""
  15479. #. type: itemize
  15480. #: guix-git/doc/guix.texi:9172
  15481. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  15482. msgstr ""
  15483. #. type: item
  15484. #: guix-git/doc/guix.texi:9172
  15485. #, no-wrap
  15486. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  15487. msgstr ""
  15488. #. type: itemize
  15489. #: guix-git/doc/guix.texi:9174
  15490. msgid "@file{share/my-app/sub/file}."
  15491. msgstr ""
  15492. #. type: item
  15493. #: guix-git/doc/guix.texi:9174
  15494. #, no-wrap
  15495. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  15496. msgstr ""
  15497. #. type: itemize
  15498. #: guix-git/doc/guix.texi:9176
  15499. msgid "@file{share/my-app/file}."
  15500. msgstr ""
  15501. #. type: cindex
  15502. #: guix-git/doc/guix.texi:9180
  15503. #, no-wrap
  15504. msgid "Clojure (programming language)"
  15505. msgstr ""
  15506. #. type: cindex
  15507. #: guix-git/doc/guix.texi:9181
  15508. #, no-wrap
  15509. msgid "simple Clojure build system"
  15510. msgstr ""
  15511. #. type: defvar
  15512. #: guix-git/doc/guix.texi:9182
  15513. #, fuzzy, no-wrap
  15514. msgid "clojure-build-system"
  15515. msgstr "guix-publish-service-type"
  15516. #. type: defvar
  15517. #: guix-git/doc/guix.texi:9187
  15518. msgid "This variable is exported by @code{(guix build-system clojure)}. It implements a simple build procedure for @uref{https://clojure.org/, Clojure} packages using plain old @code{compile} in Clojure. Cross-compilation is not supported yet."
  15519. msgstr ""
  15520. #. type: defvar
  15521. #: guix-git/doc/guix.texi:9191
  15522. msgid "It adds @code{clojure}, @code{icedtea} and @code{zip} to the set of inputs. Different packages can be specified with the @code{#:clojure}, @code{#:jdk} and @code{#:zip} parameters, respectively."
  15523. msgstr ""
  15524. #. type: defvar
  15525. #: guix-git/doc/guix.texi:9197
  15526. msgid "A list of source directories, test directories and jar names can be specified with the @code{#:source-dirs}, @code{#:test-dirs} and @code{#:jar-names} parameters, respectively. Compile directory and main class can be specified with the @code{#:compile-dir} and @code{#:main-class} parameters, respectively. Other parameters are documented below."
  15527. msgstr ""
  15528. #. type: defvar
  15529. #: guix-git/doc/guix.texi:9200
  15530. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  15531. msgstr ""
  15532. #. type: item
  15533. #: guix-git/doc/guix.texi:9203 guix-git/doc/guix.texi:9765
  15534. #: guix-git/doc/guix.texi:9916 guix-git/doc/guix.texi:9965
  15535. #: guix-git/doc/guix.texi:10070 guix-git/doc/guix.texi:40091
  15536. #: guix-git/doc/guix.texi:43966
  15537. #, no-wrap
  15538. msgid "build"
  15539. msgstr "build"
  15540. #. type: table
  15541. #: guix-git/doc/guix.texi:9212
  15542. msgid "This phase calls @code{compile} in Clojure to compile source files and runs @command{jar} to create jars from both source files and compiled files according to the include list and exclude list specified in @code{#:aot-include} and @code{#:aot-exclude}, respectively. The exclude list has priority over the include list. These lists consist of symbols representing Clojure libraries or the special keyword @code{#:all} representing all Clojure libraries found under the source directories. The parameter @code{#:omit-source?} decides if source should be included into the jars."
  15543. msgstr ""
  15544. #. type: item
  15545. #: guix-git/doc/guix.texi:9213 guix-git/doc/guix.texi:9769
  15546. #: guix-git/doc/guix.texi:9920 guix-git/doc/guix.texi:10075
  15547. #, no-wrap
  15548. msgid "check"
  15549. msgstr "marcar"
  15550. #. type: table
  15551. #: guix-git/doc/guix.texi:9220
  15552. msgid "This phase runs tests according to the include list and exclude list specified in @code{#:test-include} and @code{#:test-exclude}, respectively. Their meanings are analogous to that of @code{#:aot-include} and @code{#:aot-exclude}, except that the special keyword @code{#:all} now stands for all Clojure libraries found under the test directories. The parameter @code{#:tests?} decides if tests should be run."
  15553. msgstr ""
  15554. #. type: item
  15555. #: guix-git/doc/guix.texi:9221 guix-git/doc/guix.texi:9775
  15556. #: guix-git/doc/guix.texi:9926 guix-git/doc/guix.texi:9969
  15557. #: guix-git/doc/guix.texi:10081
  15558. #, no-wrap
  15559. msgid "install"
  15560. msgstr "instalar"
  15561. #. type: table
  15562. #: guix-git/doc/guix.texi:9223
  15563. msgid "This phase installs all jars built previously."
  15564. msgstr ""
  15565. #. type: defvar
  15566. #: guix-git/doc/guix.texi:9226
  15567. msgid "Apart from the above, this build system also contains an additional phase:"
  15568. msgstr ""
  15569. #. type: item
  15570. #: guix-git/doc/guix.texi:9229
  15571. #, no-wrap
  15572. msgid "install-doc"
  15573. msgstr ""
  15574. #. type: table
  15575. #: guix-git/doc/guix.texi:9234
  15576. msgid "This phase installs all top-level files with base name matching @code{%doc-regex}. A different regex can be specified with the @code{#:doc-regex} parameter. All files (recursively) inside the documentation directories specified in @code{#:doc-dirs} are installed as well."
  15577. msgstr ""
  15578. #. type: defvar
  15579. #: guix-git/doc/guix.texi:9237
  15580. #, fuzzy, no-wrap
  15581. msgid "cmake-build-system"
  15582. msgstr "guix-publish-service-type"
  15583. #. type: defvar
  15584. #: guix-git/doc/guix.texi:9241
  15585. msgid "This variable is exported by @code{(guix build-system cmake)}. It implements the build procedure for packages using the @url{https://www.cmake.org, CMake build tool}."
  15586. msgstr ""
  15587. #. type: defvar
  15588. #: guix-git/doc/guix.texi:9245
  15589. msgid "It automatically adds the @code{cmake} package to the set of inputs. Which package is used can be specified with the @code{#:cmake} parameter."
  15590. msgstr ""
  15591. #. type: defvar
  15592. #: guix-git/doc/guix.texi:9252
  15593. msgid "The @code{#:configure-flags} parameter is taken as a list of flags passed to the @command{cmake} command. The @code{#:build-type} parameter specifies in abstract terms the flags passed to the compiler; it defaults to @code{\"RelWithDebInfo\"} (short for ``release mode with debugging information''), which roughly means that code is compiled with @code{-O2 -g}, as is the case for Autoconf-based packages by default."
  15594. msgstr ""
  15595. #. type: defvar
  15596. #: guix-git/doc/guix.texi:9254
  15597. #, fuzzy, no-wrap
  15598. #| msgid "Build Systems"
  15599. msgid "dune-build-system"
  15600. msgstr "Sistemas de compilação"
  15601. #. type: defvar
  15602. #: guix-git/doc/guix.texi:9261
  15603. msgid "This variable is exported by @code{(guix build-system dune)}. It supports builds of packages using @uref{https://dune.build/, Dune}, a build tool for the OCaml programming language. It is implemented as an extension of the @code{ocaml-build-system} which is described below. As such, the @code{#:ocaml} and @code{#:findlib} parameters can be passed to this build system."
  15604. msgstr ""
  15605. #. type: defvar
  15606. #: guix-git/doc/guix.texi:9265
  15607. msgid "It automatically adds the @code{dune} package to the set of inputs. Which package is used can be specified with the @code{#:dune} parameter."
  15608. msgstr ""
  15609. #. type: defvar
  15610. #: guix-git/doc/guix.texi:9269
  15611. msgid "There is no @code{configure} phase because dune packages typically don't need to be configured. The @code{#:build-flags} parameter is taken as a list of flags passed to the @code{dune} command during the build."
  15612. msgstr ""
  15613. #. type: defvar
  15614. #: guix-git/doc/guix.texi:9273
  15615. msgid "The @code{#:jbuild?} parameter can be passed to use the @code{jbuild} command instead of the more recent @code{dune} command while building a package. Its default value is @code{#f}."
  15616. msgstr ""
  15617. #. type: defvar
  15618. #: guix-git/doc/guix.texi:9278
  15619. msgid "The @code{#:package} parameter can be passed to specify a package name, which is useful when a package contains multiple packages and you want to build only one of them. This is equivalent to passing the @code{-p} argument to @code{dune}."
  15620. msgstr ""
  15621. #. type: defvar
  15622. #: guix-git/doc/guix.texi:9281
  15623. #, fuzzy, no-wrap
  15624. msgid "elm-build-system"
  15625. msgstr "guix-publish-service-type"
  15626. #. type: defvar
  15627. #: guix-git/doc/guix.texi:9285
  15628. msgid "This variable is exported by @code{(guix build-system elm)}. It implements a build procedure for @url{https://elm-lang.org, Elm} packages similar to @samp{elm install}."
  15629. msgstr ""
  15630. #. type: defvar
  15631. #: guix-git/doc/guix.texi:9293
  15632. msgid "The build system adds an Elm compiler package to the set of inputs. The default compiler package (currently @code{elm-sans-reactor}) can be overridden using the @code{#:elm} argument. Additionally, Elm packages needed by the build system itself are added as implicit inputs if they are not already present: to suppress this behavior, use the @code{#:implicit-elm-package-inputs?} argument, which is primarily useful for bootstrapping."
  15633. msgstr ""
  15634. #. type: defvar
  15635. #: guix-git/doc/guix.texi:9297
  15636. msgid "The @code{\"dependencies\"} and @code{\"test-dependencies\"} in an Elm package's @file{elm.json} file correspond to @code{propagated-inputs} and @code{inputs}, respectively."
  15637. msgstr ""
  15638. #. type: defvar
  15639. #: guix-git/doc/guix.texi:9301
  15640. msgid "Elm requires a particular structure for package names: @pxref{Elm Packages} for more details, including utilities provided by @code{(guix build-system elm)}."
  15641. msgstr ""
  15642. #. type: defvar
  15643. #: guix-git/doc/guix.texi:9303
  15644. msgid "There are currently a few noteworthy limitations to @code{elm-build-system}:"
  15645. msgstr ""
  15646. #. type: itemize
  15647. #: guix-git/doc/guix.texi:9314
  15648. msgid "The build system is focused on @dfn{packages} in the Elm sense of the word: Elm @dfn{projects} which declare @code{@{ \"type\": \"package\" @}} in their @file{elm.json} files. Using @code{elm-build-system} to build Elm @dfn{applications} (which declare @code{@{ \"type\": \"application\" @}}) is possible, but requires ad-hoc modifications to the build phases. For examples, see the definitions of the @code{elm-todomvc} example application and the @code{elm} package itself (because the front-end for the @samp{elm reactor} command is an Elm application)."
  15649. msgstr ""
  15650. #. type: itemize
  15651. #: guix-git/doc/guix.texi:9326
  15652. msgid "Elm supports multiple versions of a package coexisting simultaneously under @env{ELM_HOME}, but this does not yet work well with @code{elm-build-system}. This limitation primarily affects Elm applications, because they specify exact versions for their dependencies, whereas Elm packages specify supported version ranges. As a workaround, the example applications mentioned above use the @code{patch-application-dependencies} procedure provided by @code{(guix build elm-build-system)} to rewrite their @file{elm.json} files to refer to the package versions actually present in the build environment. Alternatively, Guix package transformations (@pxref{Defining Package Variants}) could be used to rewrite an application's entire dependency graph."
  15653. msgstr ""
  15654. #. type: itemize
  15655. #: guix-git/doc/guix.texi:9332
  15656. msgid "We are not yet able to run tests for Elm projects because neither @url{https://github.com/mpizenberg/elm-test-rs, @command{elm-test-rs}} nor the Node.js-based @url{https://github.com/rtfeldman/node-test-runner, @command{elm-test}} runner has been packaged for Guix yet."
  15657. msgstr ""
  15658. #. type: defvar
  15659. #: guix-git/doc/guix.texi:9335
  15660. #, fuzzy, no-wrap
  15661. #| msgid "guix system vm"
  15662. msgid "go-build-system"
  15663. msgstr "guix system vm"
  15664. #. type: defvar
  15665. #: guix-git/doc/guix.texi:9340
  15666. msgid "This variable is exported by @code{(guix build-system go)}. It implements a build procedure for Go packages using the standard @url{https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies, Go build mechanisms}."
  15667. msgstr ""
  15668. #. type: defvar
  15669. #: guix-git/doc/guix.texi:9351
  15670. msgid "The user is expected to provide a value for the key @code{#:import-path} and, in some cases, @code{#:unpack-path}. The @url{https://golang.org/doc/code.html#ImportPaths, import path} corresponds to the file system path expected by the package's build scripts and any referring packages, and provides a unique way to refer to a Go package. It is typically based on a combination of the package source code's remote URI and file system hierarchy structure. In some cases, you will need to unpack the package's source code to a different directory structure than the one indicated by the import path, and @code{#:unpack-path} should be used in such cases."
  15671. msgstr ""
  15672. #. type: defvar
  15673. #: guix-git/doc/guix.texi:9356
  15674. msgid "Packages that provide Go libraries should install their source code into the built output. The key @code{#:install-source?}, which defaults to @code{#t}, controls whether or not the source code is installed. It can be set to @code{#f} for packages that only provide executable files."
  15675. msgstr ""
  15676. #. type: defvar
  15677. #: guix-git/doc/guix.texi:9363
  15678. msgid "Packages can be cross-built, and if a specific architecture or operating system is desired then the keywords @code{#:goarch} and @code{#:goos} can be used to force the package to be built for that architecture and operating system. The combinations known to Go can be found @url{https://golang.org/doc/install/source#environment, in their documentation}."
  15679. msgstr ""
  15680. #. type: defvar
  15681. #: guix-git/doc/guix.texi:9366
  15682. msgid "The key @code{#:go} can be used to specify the Go compiler package with which to build the package."
  15683. msgstr ""
  15684. #. type: defvar
  15685. #: guix-git/doc/guix.texi:9369
  15686. #, no-wrap
  15687. msgid "glib-or-gtk-build-system"
  15688. msgstr ""
  15689. #. type: defvar
  15690. #: guix-git/doc/guix.texi:9372
  15691. msgid "This variable is exported by @code{(guix build-system glib-or-gtk)}. It is intended for use with packages making use of GLib or GTK+."
  15692. msgstr ""
  15693. #. type: defvar
  15694. #: guix-git/doc/guix.texi:9375
  15695. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  15696. msgstr ""
  15697. #. type: item
  15698. #: guix-git/doc/guix.texi:9377 guix-git/doc/guix.texi:9942
  15699. #, no-wrap
  15700. msgid "glib-or-gtk-wrap"
  15701. msgstr ""
  15702. #. type: table
  15703. #: guix-git/doc/guix.texi:9384
  15704. msgid "The phase @code{glib-or-gtk-wrap} ensures that programs in @file{bin/} are able to find GLib ``schemas'' and @uref{https://developer.gnome.org/gtk3/stable/gtk-running.html, GTK+ modules}. This is achieved by wrapping the programs in launch scripts that appropriately set the @env{XDG_DATA_DIRS} and @env{GTK_PATH} environment variables."
  15705. msgstr ""
  15706. #. type: table
  15707. #: guix-git/doc/guix.texi:9391
  15708. msgid "It is possible to exclude specific package outputs from that wrapping process by listing their names in the @code{#:glib-or-gtk-wrap-excluded-outputs} parameter. This is useful when an output is known not to contain any GLib or GTK+ binaries, and where wrapping would gratuitously add a dependency of that output on GLib and GTK+."
  15709. msgstr ""
  15710. #. type: item
  15711. #: guix-git/doc/guix.texi:9392 guix-git/doc/guix.texi:9946
  15712. #, no-wrap
  15713. msgid "glib-or-gtk-compile-schemas"
  15714. msgstr ""
  15715. #. type: table
  15716. #: guix-git/doc/guix.texi:9400
  15717. msgid "The phase @code{glib-or-gtk-compile-schemas} makes sure that all @uref{https://developer.gnome.org/gio/stable/glib-compile-schemas.html, GSettings schemas} of GLib are compiled. Compilation is performed by the @command{glib-compile-schemas} program. It is provided by the package @code{glib:bin} which is automatically imported by the build system. The @code{glib} package providing @command{glib-compile-schemas} can be specified with the @code{#:glib} parameter."
  15718. msgstr ""
  15719. #. type: defvar
  15720. #: guix-git/doc/guix.texi:9403
  15721. msgid "Both phases are executed after the @code{install} phase."
  15722. msgstr ""
  15723. #. type: defvar
  15724. #: guix-git/doc/guix.texi:9405
  15725. #, fuzzy, no-wrap
  15726. #| msgid "guix system vm"
  15727. msgid "guile-build-system"
  15728. msgstr "guix system vm"
  15729. #. type: defvar
  15730. #: guix-git/doc/guix.texi:9412
  15731. msgid "This build system is for Guile packages that consist exclusively of Scheme code and that are so lean that they don't even have a makefile, let alone a @file{configure} script. It compiles Scheme code using @command{guild compile} (@pxref{Compilation,,, guile, GNU Guile Reference Manual}) and installs the @file{.scm} and @file{.go} files in the right place. It also installs documentation."
  15732. msgstr ""
  15733. #. type: defvar
  15734. #: guix-git/doc/guix.texi:9415
  15735. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  15736. msgstr ""
  15737. #. type: defvar
  15738. #: guix-git/doc/guix.texi:9418
  15739. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  15740. msgstr ""
  15741. #. type: defvar
  15742. #: guix-git/doc/guix.texi:9420
  15743. #, no-wrap
  15744. msgid "julia-build-system"
  15745. msgstr ""
  15746. #. type: defvar
  15747. #: guix-git/doc/guix.texi:9427
  15748. msgid "This variable is exported by @code{(guix build-system julia)}. It implements the build procedure used by @uref{https://julialang.org/, julia} packages, which essentially is similar to running @samp{julia -e 'using Pkg; Pkg.add(package)'} in an environment where @env{JULIA_LOAD_PATH} contains the paths to all Julia package inputs. Tests are run by calling @code{/test/runtests.jl}."
  15749. msgstr ""
  15750. #. type: defvar
  15751. #: guix-git/doc/guix.texi:9432
  15752. msgid "The Julia package name and uuid is read from the file @file{Project.toml}. These values can be overridden by passing the argument @code{#:julia-package-name} (which must be correctly capitalized) or @code{#:julia-package-uuid}."
  15753. msgstr ""
  15754. #. type: defvar
  15755. #: guix-git/doc/guix.texi:9436
  15756. msgid "Julia packages usually manage their binary dependencies via @code{JLLWrappers.jl}, a Julia package that creates a module (named after the wrapped library followed by @code{_jll.jl}."
  15757. msgstr ""
  15758. #. type: defvar
  15759. #: guix-git/doc/guix.texi:9441
  15760. msgid "To add the binary path @code{_jll.jl} packages, you need to patch the files under @file{src/wrappers/}, replacing the call to the macro @code{JLLWrappers.@@generate_wrapper_header}, adding as a second argument containing the store path the binary."
  15761. msgstr ""
  15762. #. type: defvar
  15763. #: guix-git/doc/guix.texi:9445
  15764. msgid "As an example, in the MbedTLS Julia package, we add a build phase (@pxref{Build Phases}) to insert the absolute file name of the wrapped MbedTLS package:"
  15765. msgstr ""
  15766. #. type: lisp
  15767. #: guix-git/doc/guix.texi:9457
  15768. #, no-wrap
  15769. msgid ""
  15770. "(add-after 'unpack 'override-binary-path\n"
  15771. " (lambda* (#:key inputs #:allow-other-keys)\n"
  15772. " (for-each (lambda (wrapper)\n"
  15773. " (substitute* wrapper\n"
  15774. " ((\"generate_wrapper_header.*\")\n"
  15775. " (string-append\n"
  15776. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  15777. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  15778. " ;; There's a Julia file for each platform, override them all.\n"
  15779. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  15780. msgstr ""
  15781. #. type: defvar
  15782. #: guix-git/doc/guix.texi:9463
  15783. msgid "Some older packages that aren't using @file{Project.toml} yet, will require this file to be created, too. It is internally done if the arguments @code{#:julia-package-name} and @code{#:julia-package-uuid} are provided."
  15784. msgstr ""
  15785. #. type: defvar
  15786. #: guix-git/doc/guix.texi:9465
  15787. #, fuzzy, no-wrap
  15788. msgid "maven-build-system"
  15789. msgstr "guix-publish-service-type"
  15790. #. type: defvar
  15791. #: guix-git/doc/guix.texi:9472
  15792. msgid "This variable is exported by @code{(guix build-system maven)}. It implements a build procedure for @uref{https://maven.apache.org, Maven} packages. Maven is a dependency and lifecycle management tool for Java. A user of Maven specifies dependencies and plugins in a @file{pom.xml} file that Maven reads. When Maven does not have one of the dependencies or plugins in its repository, it will download them and use them to build the package."
  15793. msgstr ""
  15794. #. type: defvar
  15795. #: guix-git/doc/guix.texi:9482
  15796. msgid "The maven build system ensures that maven will not try to download any dependency by running in offline mode. Maven will fail if a dependency is missing. Before running Maven, the @file{pom.xml} (and subprojects) are modified to specify the version of dependencies and plugins that match the versions available in the guix build environment. Dependencies and plugins must be installed in the fake maven repository at @file{lib/m2}, and are symlinked into a proper repository before maven is run. Maven is instructed to use that repository for the build and installs built artifacts there. Changed files are copied to the @file{lib/m2} directory of the package output."
  15797. msgstr ""
  15798. #. type: defvar
  15799. #: guix-git/doc/guix.texi:9485
  15800. msgid "You can specify a @file{pom.xml} file with the @code{#:pom-file} argument, or let the build system use the default @file{pom.xml} file in the sources."
  15801. msgstr ""
  15802. #. type: defvar
  15803. #: guix-git/doc/guix.texi:9491
  15804. msgid "In case you need to specify a dependency's version manually, you can use the @code{#:local-packages} argument. It takes an association list where the key is the groupId of the package and its value is an association list where the key is the artifactId of the package and its value is the version you want to override in the @file{pom.xml}."
  15805. msgstr ""
  15806. #. type: defvar
  15807. #: guix-git/doc/guix.texi:9497
  15808. msgid "Some packages use dependencies or plugins that are not useful at runtime nor at build time in Guix. You can alter the @file{pom.xml} file to remove them using the @code{#:exclude} argument. Its value is an association list where the key is the groupId of the plugin or dependency you want to remove, and the value is a list of artifactId you want to remove."
  15809. msgstr ""
  15810. #. type: defvar
  15811. #: guix-git/doc/guix.texi:9500
  15812. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  15813. msgstr ""
  15814. #. type: defvar
  15815. #: guix-git/doc/guix.texi:9505
  15816. msgid "The @code{#:maven-plugins} argument is a list of maven plugins used during the build, with the same format as the @code{inputs} fields of the package declaration. Its default value is @code{(default-maven-plugins)} which is also exported."
  15817. msgstr ""
  15818. #. type: defvar
  15819. #: guix-git/doc/guix.texi:9507
  15820. #, fuzzy, no-wrap
  15821. msgid "minetest-mod-build-system"
  15822. msgstr "guix-publish-service-type"
  15823. #. type: defvar
  15824. #: guix-git/doc/guix.texi:9513
  15825. msgid "This variable is exported by @code{(guix build-system minetest)}. It implements a build procedure for @uref{https://www.minetest.net, Minetest} mods, which consists of copying Lua code, images and other resources to the location Minetest searches for mods. The build system also minimises PNG images and verifies that Minetest can load the mod without errors."
  15826. msgstr ""
  15827. #. type: defvar
  15828. #: guix-git/doc/guix.texi:9515
  15829. #, no-wrap
  15830. msgid "minify-build-system"
  15831. msgstr ""
  15832. #. type: defvar
  15833. #: guix-git/doc/guix.texi:9518
  15834. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  15835. msgstr ""
  15836. #. type: defvar
  15837. #: guix-git/doc/guix.texi:9524
  15838. msgid "It adds @code{uglify-js} to the set of inputs and uses it to compress all JavaScript files in the @file{src} directory. A different minifier package can be specified with the @code{#:uglify-js} parameter, but it is expected that the package writes the minified code to the standard output."
  15839. msgstr ""
  15840. #. type: defvar
  15841. #: guix-git/doc/guix.texi:9528
  15842. msgid "When the input JavaScript files are not all located in the @file{src} directory, the parameter @code{#:javascript-files} can be used to specify a list of file names to feed to the minifier."
  15843. msgstr ""
  15844. #. type: defvar
  15845. #: guix-git/doc/guix.texi:9530
  15846. #, fuzzy, no-wrap
  15847. #| msgid "guix system vm"
  15848. msgid "mozilla-build-system"
  15849. msgstr "guix system vm"
  15850. #. type: defvar
  15851. #: guix-git/doc/guix.texi:9537
  15852. msgid "This variable is exported by @code{(guix build-system mozilla)}. It sets the @code{--target} and @code{--host} configuration flags to what software developed by Mozilla expects -- due to historical reasons, Mozilla software expects @code{--host} to be the system that is cross-compiled from and @code{--target} to be the system that is cross-compiled to, contrary to the standard Autotools conventions."
  15853. msgstr ""
  15854. #. type: defvar
  15855. #: guix-git/doc/guix.texi:9539
  15856. #, fuzzy, no-wrap
  15857. msgid "ocaml-build-system"
  15858. msgstr "guix-publish-service-type"
  15859. #. type: defvar
  15860. #: guix-git/doc/guix.texi:9545
  15861. msgid "This variable is exported by @code{(guix build-system ocaml)}. It implements a build procedure for @uref{https://ocaml.org, OCaml} packages, which consists of choosing the correct set of commands to run for each package. OCaml packages can expect many different commands to be run. This build system will try some of them."
  15862. msgstr ""
  15863. #. type: defvar
  15864. #: guix-git/doc/guix.texi:9555
  15865. msgid "When the package has a @file{setup.ml} file present at the top-level, it will run @code{ocaml setup.ml -configure}, @code{ocaml setup.ml -build} and @code{ocaml setup.ml -install}. The build system will assume that this file was generated by @uref{http://oasis.forge.ocamlcore.org/, OASIS} and will take care of setting the prefix and enabling tests if they are not disabled. You can pass configure and build flags with the @code{#:configure-flags} and @code{#:build-flags}. The @code{#:test-flags} key can be passed to change the set of flags used to enable tests. The @code{#:use-make?} key can be used to bypass this system in the build and install phases."
  15866. msgstr ""
  15867. #. type: defvar
  15868. #: guix-git/doc/guix.texi:9560
  15869. msgid "When the package has a @file{configure} file, it is assumed that it is a hand-made configure script that requires a different argument format than in the @code{gnu-build-system}. You can add more flags with the @code{#:configure-flags} key."
  15870. msgstr ""
  15871. #. type: defvar
  15872. #: guix-git/doc/guix.texi:9564
  15873. msgid "When the package has a @file{Makefile} file (or @code{#:use-make?} is @code{#t}), it will be used and more flags can be passed to the build and install phases with the @code{#:make-flags} key."
  15874. msgstr ""
  15875. #. type: defvar
  15876. #: guix-git/doc/guix.texi:9572
  15877. msgid "Finally, some packages do not have these files and use a somewhat standard location for its build system. In that case, the build system will run @code{ocaml pkg/pkg.ml} or @code{ocaml pkg/build.ml} and take care of providing the path to the required findlib module. Additional flags can be passed via the @code{#:build-flags} key. Install is taken care of by @command{opam-installer}. In this case, the @code{opam} package must be added to the @code{native-inputs} field of the package definition."
  15878. msgstr ""
  15879. #. type: defvar
  15880. #: guix-git/doc/guix.texi:9580
  15881. msgid "Note that most OCaml packages assume they will be installed in the same directory as OCaml, which is not what we want in guix. In particular, they will install @file{.so} files in their module's directory, which is usually fine because it is in the OCaml compiler directory. In guix though, these libraries cannot be found and we use @env{CAML_LD_LIBRARY_PATH}. This variable points to @file{lib/ocaml/site-lib/stubslibs} and this is where @file{.so} libraries should be installed."
  15882. msgstr ""
  15883. #. type: defvar
  15884. #: guix-git/doc/guix.texi:9582
  15885. #, no-wrap
  15886. msgid "python-build-system"
  15887. msgstr ""
  15888. #. type: defvar
  15889. #: guix-git/doc/guix.texi:9587
  15890. msgid "This variable is exported by @code{(guix build-system python)}. It implements the more or less standard build procedure used by Python packages, which consists in running @code{python setup.py build} and then @code{python setup.py install --prefix=/gnu/store/@dots{}}."
  15891. msgstr ""
  15892. #. type: defvar
  15893. #: guix-git/doc/guix.texi:9592
  15894. msgid "For packages that install stand-alone Python programs under @code{bin/}, it takes care of wrapping these programs so that their @env{GUIX_PYTHONPATH} environment variable points to all the Python libraries they depend on."
  15895. msgstr ""
  15896. #. type: defvar
  15897. #: guix-git/doc/guix.texi:9598
  15898. msgid "Which Python package is used to perform the build can be specified with the @code{#:python} parameter. This is a useful way to force a package to be built for a specific version of the Python interpreter, which might be necessary if the package is only compatible with a single interpreter version."
  15899. msgstr ""
  15900. #. type: defvar
  15901. #: guix-git/doc/guix.texi:9603
  15902. msgid "By default guix calls @code{setup.py} under control of @code{setuptools}, much like @command{pip} does. Some packages are not compatible with setuptools (and pip), thus you can disable this by setting the @code{#:use-setuptools?} parameter to @code{#f}."
  15903. msgstr ""
  15904. #. type: defvar
  15905. #: guix-git/doc/guix.texi:9609
  15906. msgid "If a @code{\"python\"} output is available, the package is installed into it instead of the default @code{\"out\"} output. This is useful for packages that include a Python package as only a part of the software, and thus want to combine the phases of @code{python-build-system} with another build system. Python bindings are a common usecase."
  15907. msgstr ""
  15908. #. type: defvar
  15909. #: guix-git/doc/guix.texi:9611
  15910. #, fuzzy, no-wrap
  15911. msgid "pyproject-build-system"
  15912. msgstr "guix-publish-service-type"
  15913. #. type: defvar
  15914. #: guix-git/doc/guix.texi:9616
  15915. msgid "This is a variable exported by @code{guix build-system pyproject}. It is based on @var{python-build-system}, and adds support for @file{pyproject.toml} and @url{https://peps.python.org/pep-0517/, PEP 517}. It also supports a variety of build backends and test frameworks."
  15916. msgstr ""
  15917. #. type: defvar
  15918. #: guix-git/doc/guix.texi:9618
  15919. msgid "The API is slightly different from @var{python-build-system}:"
  15920. msgstr ""
  15921. #. type: itemize
  15922. #: guix-git/doc/guix.texi:9621
  15923. msgid "@code{#:use-setuptools?} and @code{#:test-target} is removed."
  15924. msgstr ""
  15925. #. type: itemize
  15926. #: guix-git/doc/guix.texi:9624
  15927. msgid "@code{#:build-backend} is added. It defaults to @code{#false} and will try to guess the appropriate backend based on @file{pyproject.toml}."
  15928. msgstr ""
  15929. #. type: itemize
  15930. #: guix-git/doc/guix.texi:9627
  15931. msgid "@code{#:test-backend} is added. It defaults to @code{#false} and will guess an appropriate test backend based on what is available in package inputs."
  15932. msgstr ""
  15933. #. type: itemize
  15934. #: guix-git/doc/guix.texi:9631
  15935. msgid "@code{#:test-flags} is added. The default is @code{'()}. These flags are passed as arguments to the test command. Note that flags for verbose output is always enabled on supported backends."
  15936. msgstr ""
  15937. #. type: defvar
  15938. #: guix-git/doc/guix.texi:9637
  15939. msgid "It is considered ``experimental'' in that the implementation details are not set in stone yet, however users are encouraged to try it for new Python projects (even those using @file{setup.py}). The API is subject to change, but any breaking changes in the Guix channel will be dealt with."
  15940. msgstr ""
  15941. #. type: defvar
  15942. #: guix-git/doc/guix.texi:9640
  15943. msgid "Eventually this build system will be deprecated and merged back into @var{python-build-system}, probably some time in 2024."
  15944. msgstr ""
  15945. #. type: defvar
  15946. #: guix-git/doc/guix.texi:9642
  15947. #, fuzzy, no-wrap
  15948. #| msgid "operating-system"
  15949. msgid "perl-build-system"
  15950. msgstr "sistema operacional"
  15951. #. type: defvar
  15952. #: guix-git/doc/guix.texi:9654
  15953. msgid "This variable is exported by @code{(guix build-system perl)}. It implements the standard build procedure for Perl packages, which either consists in running @code{perl Build.PL --prefix=/gnu/store/@dots{}}, followed by @code{Build} and @code{Build install}; or in running @code{perl Makefile.PL PREFIX=/gnu/store/@dots{}}, followed by @code{make} and @code{make install}, depending on which of @code{Build.PL} or @code{Makefile.PL} is present in the package distribution. Preference is given to the former if both @code{Build.PL} and @code{Makefile.PL} exist in the package distribution. This preference can be reversed by specifying @code{#t} for the @code{#:make-maker?} parameter."
  15954. msgstr ""
  15955. #. type: defvar
  15956. #: guix-git/doc/guix.texi:9658
  15957. msgid "The initial @code{perl Makefile.PL} or @code{perl Build.PL} invocation passes flags specified by the @code{#:make-maker-flags} or @code{#:module-build-flags} parameter, respectively."
  15958. msgstr ""
  15959. #. type: defvar
  15960. #: guix-git/doc/guix.texi:9660
  15961. msgid "Which Perl package is used can be specified with @code{#:perl}."
  15962. msgstr ""
  15963. #. type: defvar
  15964. #: guix-git/doc/guix.texi:9662
  15965. #, no-wrap
  15966. msgid "renpy-build-system"
  15967. msgstr ""
  15968. #. type: defvar
  15969. #: guix-git/doc/guix.texi:9666
  15970. msgid "This variable is exported by @code{(guix build-system renpy)}. It implements the more or less standard build procedure used by Ren'py games, which consists of loading @code{#:game} once, thereby creating bytecode for it."
  15971. msgstr ""
  15972. #. type: defvar
  15973. #: guix-git/doc/guix.texi:9669
  15974. msgid "It further creates a wrapper script in @code{bin/} and a desktop entry in @code{share/applications}, both of which can be used to launch the game."
  15975. msgstr ""
  15976. #. type: defvar
  15977. #: guix-git/doc/guix.texi:9673
  15978. msgid "Which Ren'py package is used can be specified with @code{#:renpy}. Games can also be installed in outputs other than ``out'' by using @code{#:output}."
  15979. msgstr ""
  15980. #. type: defvar
  15981. #: guix-git/doc/guix.texi:9675
  15982. #, fuzzy, no-wrap
  15983. #| msgid "Build Systems"
  15984. msgid "qt-build-system"
  15985. msgstr "Sistemas de compilação"
  15986. #. type: defvar
  15987. #: guix-git/doc/guix.texi:9678
  15988. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  15989. msgstr ""
  15990. #. type: defvar
  15991. #: guix-git/doc/guix.texi:9681
  15992. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  15993. msgstr ""
  15994. #. type: item
  15995. #: guix-git/doc/guix.texi:9683
  15996. #, no-wrap
  15997. msgid "check-setup"
  15998. msgstr ""
  15999. #. type: table
  16000. #: guix-git/doc/guix.texi:9690
  16001. msgid "The phase @code{check-setup} prepares the environment for running the checks as commonly used by Qt test programs. For now this only sets some environment variables: @code{QT_QPA_PLATFORM=offscreen}, @code{DBUS_FATAL_WARNINGS=0} and @code{CTEST_OUTPUT_ON_FAILURE=1}."
  16002. msgstr ""
  16003. #. type: table
  16004. #: guix-git/doc/guix.texi:9693
  16005. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  16006. msgstr ""
  16007. #. type: item
  16008. #: guix-git/doc/guix.texi:9694
  16009. #, no-wrap
  16010. msgid "qt-wrap"
  16011. msgstr ""
  16012. #. type: table
  16013. #: guix-git/doc/guix.texi:9700
  16014. msgid "The phase @code{qt-wrap} searches for Qt5 plugin paths, QML paths and some XDG in the inputs and output. In case some path is found, all programs in the output's @file{bin/}, @file{sbin/}, @file{libexec/} and @file{lib/libexec/} directories are wrapped in scripts defining the necessary environment variables."
  16015. msgstr ""
  16016. #. type: table
  16017. #: guix-git/doc/guix.texi:9706
  16018. msgid "It is possible to exclude specific package outputs from that wrapping process by listing their names in the @code{#:qt-wrap-excluded-outputs} parameter. This is useful when an output is known not to contain any Qt binaries, and where wrapping would gratuitously add a dependency of that output on Qt, KDE, or such."
  16019. msgstr ""
  16020. #. type: table
  16021. #: guix-git/doc/guix.texi:9708
  16022. msgid "This phase is added after the @code{install} phase."
  16023. msgstr ""
  16024. #. type: defvar
  16025. #: guix-git/doc/guix.texi:9711
  16026. #, fuzzy, no-wrap
  16027. #| msgid "Build Systems"
  16028. msgid "r-build-system"
  16029. msgstr "Sistemas de compilação"
  16030. #. type: defvar
  16031. #: guix-git/doc/guix.texi:9719
  16032. msgid "This variable is exported by @code{(guix build-system r)}. It implements the build procedure used by @uref{https://r-project.org, R} packages, which essentially is little more than running @samp{R CMD INSTALL --library=/gnu/store/@dots{}} in an environment where @env{R_LIBS_SITE} contains the paths to all R package inputs. Tests are run after installation using the R function @code{tools::testInstalledPackage}."
  16033. msgstr ""
  16034. #. type: defvar
  16035. #: guix-git/doc/guix.texi:9721
  16036. #, no-wrap
  16037. msgid "rakudo-build-system"
  16038. msgstr ""
  16039. #. type: defvar
  16040. #: guix-git/doc/guix.texi:9729
  16041. msgid "This variable is exported by @code{(guix build-system rakudo)}. It implements the build procedure used by @uref{https://rakudo.org/, Rakudo} for @uref{https://perl6.org/, Perl6} packages. It installs the package to @code{/gnu/store/@dots{}/NAME-VERSION/share/perl6} and installs the binaries, library files and the resources, as well as wrap the files under the @code{bin/} directory. Tests can be skipped by passing @code{#f} to the @code{tests?} parameter."
  16042. msgstr ""
  16043. #. type: defvar
  16044. #: guix-git/doc/guix.texi:9737
  16045. msgid "Which rakudo package is used can be specified with @code{rakudo}. Which perl6-tap-harness package used for the tests can be specified with @code{#:prove6} or removed by passing @code{#f} to the @code{with-prove6?} parameter. Which perl6-zef package used for tests and installing can be specified with @code{#:zef} or removed by passing @code{#f} to the @code{with-zef?} parameter."
  16046. msgstr ""
  16047. #. type: defvar
  16048. #: guix-git/doc/guix.texi:9739
  16049. #, fuzzy, no-wrap
  16050. msgid "rebar-build-system"
  16051. msgstr "guix-publish-service-type"
  16052. #. type: defvar
  16053. #: guix-git/doc/guix.texi:9743
  16054. msgid "This variable is exported by @code{(guix build-system rebar)}. It implements a build procedure around @uref{https://rebar3.org,rebar3}, a build system for programs written in the Erlang language."
  16055. msgstr ""
  16056. #. type: defvar
  16057. #: guix-git/doc/guix.texi:9747
  16058. msgid "It adds both @code{rebar3} and the @code{erlang} to the set of inputs. Different packages can be specified with the @code{#:rebar} and @code{#:erlang} parameters, respectively."
  16059. msgstr ""
  16060. #. type: defvar
  16061. #: guix-git/doc/guix.texi:9750
  16062. msgid "This build system is based on @code{gnu-build-system}, but with the following phases changed:"
  16063. msgstr ""
  16064. #. type: item
  16065. #: guix-git/doc/guix.texi:9753 guix-git/doc/guix.texi:10055
  16066. #, no-wrap
  16067. msgid "unpack"
  16068. msgstr ""
  16069. #. type: table
  16070. #: guix-git/doc/guix.texi:9759
  16071. msgid "This phase, after unpacking the source like the @code{gnu-build-system} does, checks for a file @code{contents.tar.gz} at the top-level of the source. If this file exists, it will be unpacked, too. This eases handling of package hosted at @uref{https://hex.pm/}, the Erlang and Elixir package repository."
  16072. msgstr ""
  16073. #. type: item
  16074. #: guix-git/doc/guix.texi:9760
  16075. #, fuzzy, no-wrap
  16076. #| msgid "Bootstrapping"
  16077. msgid "bootstrap"
  16078. msgstr "Inicializando"
  16079. #. type: item
  16080. #: guix-git/doc/guix.texi:9761 guix-git/doc/guix.texi:9910
  16081. #: guix-git/doc/guix.texi:9961 guix-git/doc/guix.texi:10065
  16082. #, no-wrap
  16083. msgid "configure"
  16084. msgstr ""
  16085. #. type: table
  16086. #: guix-git/doc/guix.texi:9764
  16087. msgid "There are no @code{bootstrap} and @code{configure} phase because erlang packages typically don’t need to be configured."
  16088. msgstr ""
  16089. #. type: table
  16090. #: guix-git/doc/guix.texi:9768
  16091. msgid "This phase runs @code{rebar3 compile} with the flags listed in @code{#:rebar-flags}."
  16092. msgstr ""
  16093. #. type: table
  16094. #: guix-git/doc/guix.texi:9774
  16095. msgid "Unless @code{#:tests? #f} is passed, this phase runs @code{rebar3 eunit}, or some other target specified with @code{#:test-target}, with the flags listed in @code{#:rebar-flags},"
  16096. msgstr ""
  16097. #. type: table
  16098. #: guix-git/doc/guix.texi:9778
  16099. msgid "This installs the files created in the @i{default} profile, or some other profile specified with @code{#:install-profile}."
  16100. msgstr ""
  16101. #. type: defvar
  16102. #: guix-git/doc/guix.texi:9782
  16103. #, no-wrap
  16104. msgid "texlive-build-system"
  16105. msgstr ""
  16106. #. type: defvar
  16107. #: guix-git/doc/guix.texi:9787
  16108. msgid "This variable is exported by @code{(guix build-system texlive)}. It is used to build TeX packages in batch mode with a specified engine. The build system sets the @env{TEXINPUTS} variable to find all TeX source files in the inputs."
  16109. msgstr ""
  16110. #. type: defvar
  16111. #: guix-git/doc/guix.texi:9796
  16112. msgid "By default it runs @code{luatex} on all files ending on @code{ins}. A different engine and format can be specified with the @code{#:tex-format} argument. Different build targets can be specified with the @code{#:build-targets} argument, which expects a list of file names. The build system adds only @code{texlive-bin} and @code{texlive-latex-base} (both from @code{(gnu packages tex}) to the inputs. Both can be overridden with the arguments @code{#:texlive-bin} and @code{#:texlive-latex-base}, respectively."
  16113. msgstr ""
  16114. #. type: defvar
  16115. #: guix-git/doc/guix.texi:9799
  16116. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  16117. msgstr ""
  16118. #. type: defvar
  16119. #: guix-git/doc/guix.texi:9801
  16120. #, fuzzy, no-wrap
  16121. #| msgid "Build Systems"
  16122. msgid "ruby-build-system"
  16123. msgstr "Sistemas de compilação"
  16124. #. type: defvar
  16125. #: guix-git/doc/guix.texi:9805
  16126. msgid "This variable is exported by @code{(guix build-system ruby)}. It implements the RubyGems build procedure used by Ruby packages, which involves running @code{gem build} followed by @code{gem install}."
  16127. msgstr ""
  16128. #. type: defvar
  16129. #: guix-git/doc/guix.texi:9813
  16130. msgid "The @code{source} field of a package that uses this build system typically references a gem archive, since this is the format that Ruby developers use when releasing their software. The build system unpacks the gem archive, potentially patches the source, runs the test suite, repackages the gem, and installs it. Additionally, directories and tarballs may be referenced to allow building unreleased gems from Git or a traditional source release tarball."
  16131. msgstr ""
  16132. #. type: defvar
  16133. #: guix-git/doc/guix.texi:9817
  16134. msgid "Which Ruby package is used can be specified with the @code{#:ruby} parameter. A list of additional flags to be passed to the @command{gem} command can be specified with the @code{#:gem-flags} parameter."
  16135. msgstr ""
  16136. #. type: defvar
  16137. #: guix-git/doc/guix.texi:9819
  16138. #, fuzzy, no-wrap
  16139. #| msgid "Build Systems"
  16140. msgid "waf-build-system"
  16141. msgstr "Sistemas de compilação"
  16142. #. type: defvar
  16143. #: guix-git/doc/guix.texi:9825
  16144. msgid "This variable is exported by @code{(guix build-system waf)}. It implements a build procedure around the @code{waf} script. The common phases---@code{configure}, @code{build}, and @code{install}---are implemented by passing their names as arguments to the @code{waf} script."
  16145. msgstr ""
  16146. #. type: defvar
  16147. #: guix-git/doc/guix.texi:9829
  16148. msgid "The @code{waf} script is executed by the Python interpreter. Which Python package is used to run the script can be specified with the @code{#:python} parameter."
  16149. msgstr ""
  16150. #. type: defvar
  16151. #: guix-git/doc/guix.texi:9831
  16152. #, no-wrap
  16153. msgid "scons-build-system"
  16154. msgstr ""
  16155. #. type: defvar
  16156. #: guix-git/doc/guix.texi:9837
  16157. msgid "This variable is exported by @code{(guix build-system scons)}. It implements the build procedure used by the SCons software construction tool. This build system runs @code{scons} to build the package, @code{scons test} to run tests, and then @code{scons install} to install the package."
  16158. msgstr ""
  16159. #. type: defvar
  16160. #: guix-git/doc/guix.texi:9844
  16161. msgid "Additional flags to be passed to @code{scons} can be specified with the @code{#:scons-flags} parameter. The default build and install targets can be overridden with @code{#:build-targets} and @code{#:install-targets} respectively. The version of Python used to run SCons can be specified by selecting the appropriate SCons package with the @code{#:scons} parameter."
  16162. msgstr ""
  16163. #. type: defvar
  16164. #: guix-git/doc/guix.texi:9846
  16165. #, fuzzy, no-wrap
  16166. msgid "haskell-build-system"
  16167. msgstr "guix-publish-service-type"
  16168. #. type: defvar
  16169. #: guix-git/doc/guix.texi:9860
  16170. msgid "This variable is exported by @code{(guix build-system haskell)}. It implements the Cabal build procedure used by Haskell packages, which involves running @code{runhaskell Setup.hs configure --prefix=/gnu/store/@dots{}} and @code{runhaskell Setup.hs build}. Instead of installing the package by running @code{runhaskell Setup.hs install}, to avoid trying to register libraries in the read-only compiler store directory, the build system uses @code{runhaskell Setup.hs copy}, followed by @code{runhaskell Setup.hs register}. In addition, the build system generates the package documentation by running @code{runhaskell Setup.hs haddock}, unless @code{#:haddock? #f} is passed. Optional Haddock parameters can be passed with the help of the @code{#:haddock-flags} parameter. If the file @code{Setup.hs} is not found, the build system looks for @code{Setup.lhs} instead."
  16171. msgstr ""
  16172. #. type: defvar
  16173. #: guix-git/doc/guix.texi:9863
  16174. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  16175. msgstr ""
  16176. #. type: defvar
  16177. #: guix-git/doc/guix.texi:9865
  16178. #, fuzzy, no-wrap
  16179. #| msgid "Build Systems"
  16180. msgid "dub-build-system"
  16181. msgstr "Sistemas de compilação"
  16182. #. type: defvar
  16183. #: guix-git/doc/guix.texi:9870
  16184. msgid "This variable is exported by @code{(guix build-system dub)}. It implements the Dub build procedure used by D packages, which involves running @code{dub build} and @code{dub run}. Installation is done by copying the files manually."
  16185. msgstr ""
  16186. #. type: defvar
  16187. #: guix-git/doc/guix.texi:9873
  16188. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  16189. msgstr ""
  16190. #. type: defvar
  16191. #: guix-git/doc/guix.texi:9876
  16192. #, no-wrap
  16193. msgid "emacs-build-system"
  16194. msgstr ""
  16195. #. type: defvar
  16196. #: guix-git/doc/guix.texi:9880
  16197. msgid "This variable is exported by @code{(guix build-system emacs)}. It implements an installation procedure similar to the packaging system of Emacs itself (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  16198. msgstr ""
  16199. #. type: defvar
  16200. #: guix-git/doc/guix.texi:9886
  16201. msgid "It first creates the @code{@code{package}-autoloads.el} file, then it byte compiles all Emacs Lisp files. Differently from the Emacs packaging system, the Info documentation files are moved to the standard documentation directory and the @file{dir} file is deleted. The Elisp package files are installed directly under @file{share/emacs/site-lisp}."
  16202. msgstr ""
  16203. #. type: defvar
  16204. #: guix-git/doc/guix.texi:9888
  16205. #, fuzzy, no-wrap
  16206. #| msgid "operating-system"
  16207. msgid "font-build-system"
  16208. msgstr "sistema operacional"
  16209. #. type: defvar
  16210. #: guix-git/doc/guix.texi:9894
  16211. msgid "This variable is exported by @code{(guix build-system font)}. It implements an installation procedure for font packages where upstream provides pre-compiled TrueType, OpenType, etc.@: font files that merely need to be copied into place. It copies font files to standard locations in the output directory."
  16212. msgstr ""
  16213. #. type: defvar
  16214. #: guix-git/doc/guix.texi:9896
  16215. #, no-wrap
  16216. msgid "meson-build-system"
  16217. msgstr ""
  16218. #. type: defvar
  16219. #: guix-git/doc/guix.texi:9900
  16220. msgid "This variable is exported by @code{(guix build-system meson)}. It implements the build procedure for packages that use @url{https://mesonbuild.com, Meson} as their build system."
  16221. msgstr ""
  16222. #. type: defvar
  16223. #: guix-git/doc/guix.texi:9904
  16224. msgid "It adds both Meson and @uref{https://ninja-build.org/, Ninja} to the set of inputs, and they can be changed with the parameters @code{#:meson} and @code{#:ninja} if needed."
  16225. msgstr ""
  16226. #. type: defvar
  16227. #: guix-git/doc/guix.texi:9907
  16228. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  16229. msgstr ""
  16230. #. type: table
  16231. #: guix-git/doc/guix.texi:9915
  16232. msgid "The phase runs @code{meson} with the flags specified in @code{#:configure-flags}. The flag @option{--buildtype} is always set to @code{debugoptimized} unless something else is specified in @code{#:build-type}."
  16233. msgstr ""
  16234. #. type: table
  16235. #: guix-git/doc/guix.texi:9919
  16236. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  16237. msgstr ""
  16238. #. type: table
  16239. #: guix-git/doc/guix.texi:9925
  16240. msgid "The phase runs @samp{meson test} with a base set of options that cannot be overridden. This base set of options can be extended via the @code{#:test-options} argument, for example to select or skip a specific test suite."
  16241. msgstr ""
  16242. #. type: table
  16243. #: guix-git/doc/guix.texi:9928
  16244. msgid "The phase runs @code{ninja install} and can not be changed."
  16245. msgstr ""
  16246. #. type: defvar
  16247. #: guix-git/doc/guix.texi:9931
  16248. msgid "Apart from that, the build system also adds the following phases:"
  16249. msgstr ""
  16250. #. type: item
  16251. #: guix-git/doc/guix.texi:9934
  16252. #, no-wrap
  16253. msgid "fix-runpath"
  16254. msgstr ""
  16255. #. type: table
  16256. #: guix-git/doc/guix.texi:9941
  16257. msgid "This phase ensures that all binaries can find the libraries they need. It searches for required libraries in subdirectories of the package being built, and adds those to @code{RUNPATH} where needed. It also removes references to libraries left over from the build phase by @code{meson}, such as test dependencies, that aren't actually required for the program to run."
  16258. msgstr ""
  16259. #. type: table
  16260. #: guix-git/doc/guix.texi:9945 guix-git/doc/guix.texi:9949
  16261. msgid "This phase is the phase provided by @code{glib-or-gtk-build-system}, and it is not enabled by default. It can be enabled with @code{#:glib-or-gtk?}."
  16262. msgstr ""
  16263. #. type: defvar
  16264. #: guix-git/doc/guix.texi:9952
  16265. #, no-wrap
  16266. msgid "linux-module-build-system"
  16267. msgstr ""
  16268. #. type: defvar
  16269. #: guix-git/doc/guix.texi:9954
  16270. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  16271. msgstr ""
  16272. #. type: defvar
  16273. #: guix-git/doc/guix.texi:9958
  16274. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  16275. msgstr ""
  16276. #. type: table
  16277. #: guix-git/doc/guix.texi:9964
  16278. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  16279. msgstr ""
  16280. #. type: table
  16281. #: guix-git/doc/guix.texi:9968
  16282. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  16283. msgstr ""
  16284. #. type: table
  16285. #: guix-git/doc/guix.texi:9972
  16286. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  16287. msgstr ""
  16288. #. type: defvar
  16289. #: guix-git/doc/guix.texi:9977
  16290. msgid "It is possible and useful to specify the Linux kernel to use for building the module (in the @code{arguments} form of a package using the @code{linux-module-build-system}, use the key @code{#:linux} to specify it)."
  16291. msgstr ""
  16292. #. type: defvar
  16293. #: guix-git/doc/guix.texi:9979
  16294. #, fuzzy, no-wrap
  16295. #| msgid "operating-system"
  16296. msgid "node-build-system"
  16297. msgstr "sistema operacional"
  16298. #. type: defvar
  16299. #: guix-git/doc/guix.texi:9984
  16300. msgid "This variable is exported by @code{(guix build-system node)}. It implements the build procedure used by @uref{https://nodejs.org, Node.js}, which implements an approximation of the @code{npm install} command, followed by an @code{npm test} command."
  16301. msgstr ""
  16302. #. type: defvar
  16303. #: guix-git/doc/guix.texi:9988
  16304. msgid "Which Node.js package is used to interpret the @code{npm} commands can be specified with the @code{#:node} parameter which defaults to @code{node}."
  16305. msgstr ""
  16306. #. type: defvar
  16307. #: guix-git/doc/guix.texi:9990
  16308. #, fuzzy, no-wrap
  16309. msgid "tree-sitter-build-system"
  16310. msgstr "guix-publish-service-type"
  16311. #. type: defvar
  16312. #: guix-git/doc/guix.texi:9998
  16313. msgid "This variable is exported by @code{(guix build-system tree-sitter)}. It implements procedures to compile grammars for the @url{https://tree-sitter.github.io/tree-sitter/, Tree-sitter} parsing library. It essentially runs @code{tree-sitter generate} to translate @code{grammar.js} grammars to JSON and then to C. Which it then compiles to native code."
  16314. msgstr ""
  16315. #. type: defvar
  16316. #: guix-git/doc/guix.texi:10002
  16317. msgid "Tree-sitter packages may support multiple grammars, so this build system supports a @code{#:grammar-directories} keyword to specify a list of locations where a @code{grammar.js} file may be found."
  16318. msgstr ""
  16319. #. type: defvar
  16320. #: guix-git/doc/guix.texi:10006
  16321. msgid "Grammars sometimes depend on each other, such as C++ depending on C and TypeScript depending on JavaScript. You may use inputs to declare such dependencies."
  16322. msgstr ""
  16323. #. type: Plain text
  16324. #: guix-git/doc/guix.texi:10013
  16325. msgid "Lastly, for packages that do not need anything as sophisticated, a ``trivial'' build system is provided. It is trivial in the sense that it provides basically no support: it does not pull any implicit inputs, and does not have a notion of build phases."
  16326. msgstr ""
  16327. #. type: defvar
  16328. #: guix-git/doc/guix.texi:10014
  16329. #, fuzzy, no-wrap
  16330. msgid "trivial-build-system"
  16331. msgstr "guix-publish-service-type"
  16332. #. type: defvar
  16333. #: guix-git/doc/guix.texi:10016
  16334. msgid "This variable is exported by @code{(guix build-system trivial)}."
  16335. msgstr ""
  16336. #. type: defvar
  16337. #: guix-git/doc/guix.texi:10021
  16338. msgid "This build system requires a @code{#:builder} argument. This argument must be a Scheme expression that builds the package output(s)---as with @code{build-expression->derivation} (@pxref{Derivations, @code{build-expression->derivation}})."
  16339. msgstr ""
  16340. #. type: defvar
  16341. #: guix-git/doc/guix.texi:10023
  16342. #, fuzzy, no-wrap
  16343. msgid "channel-build-system"
  16344. msgstr "guix-publish-service-type"
  16345. #. type: defvar
  16346. #: guix-git/doc/guix.texi:10025
  16347. msgid "This variable is exported by @code{(guix build-system channel)}."
  16348. msgstr ""
  16349. #. type: defvar
  16350. #: guix-git/doc/guix.texi:10031
  16351. msgid "This build system is meant primarily for internal use. A package using this build system must have a channel specification as its @code{source} field (@pxref{Channels}); alternatively, its source can be a directory name, in which case an additional @code{#:commit} argument must be supplied to specify the commit being built (a hexadecimal string)."
  16352. msgstr ""
  16353. #. type: defvar
  16354. #: guix-git/doc/guix.texi:10034
  16355. msgid "The resulting package is a Guix instance of the given channel, similar to how @command{guix time-machine} would build it."
  16356. msgstr ""
  16357. #. type: cindex
  16358. #: guix-git/doc/guix.texi:10039
  16359. #, no-wrap
  16360. msgid "build phases, for packages"
  16361. msgstr ""
  16362. #. type: Plain text
  16363. #: guix-git/doc/guix.texi:10045
  16364. msgid "Almost all package build systems implement a notion @dfn{build phases}: a sequence of actions that the build system executes, when you build the package, leading to the installed byproducts in the store. A notable exception is the ``bare-bones'' @code{trivial-build-system} (@pxref{Build Systems})."
  16365. msgstr ""
  16366. #. type: Plain text
  16367. #: guix-git/doc/guix.texi:10049
  16368. msgid "As discussed in the previous section, those build systems provide a standard list of phases. For @code{gnu-build-system}, the main build phases are the following:"
  16369. msgstr ""
  16370. #. type: item
  16371. #: guix-git/doc/guix.texi:10051
  16372. #, fuzzy, no-wrap
  16373. #| msgid "--search-paths"
  16374. msgid "set-paths"
  16375. msgstr "--search-paths"
  16376. #. type: table
  16377. #: guix-git/doc/guix.texi:10054
  16378. msgid "Define search path environment variables for all the input packages, including @env{PATH} (@pxref{Search Paths})."
  16379. msgstr ""
  16380. #. type: table
  16381. #: guix-git/doc/guix.texi:10059
  16382. msgid "Unpack the source tarball, and change the current directory to the extracted source tree. If the source is actually a directory, copy it to the build tree, and enter that directory."
  16383. msgstr ""
  16384. #. type: item
  16385. #: guix-git/doc/guix.texi:10060
  16386. #, no-wrap
  16387. msgid "patch-source-shebangs"
  16388. msgstr ""
  16389. #. type: table
  16390. #: guix-git/doc/guix.texi:10064
  16391. msgid "Patch shebangs encountered in source files so they refer to the right store file names. For instance, this changes @code{#!/bin/sh} to @code{#!/gnu/store/@dots{}-bash-4.3/bin/sh}."
  16392. msgstr ""
  16393. #. type: table
  16394. #: guix-git/doc/guix.texi:10069
  16395. msgid "Run the @file{configure} script with a number of default options, such as @option{--prefix=/gnu/store/@dots{}}, as well as the options specified by the @code{#:configure-flags} argument."
  16396. msgstr ""
  16397. #. type: table
  16398. #: guix-git/doc/guix.texi:10074
  16399. msgid "Run @code{make} with the list of flags specified with @code{#:make-flags}. If the @code{#:parallel-build?} argument is true (the default), build with @code{make -j}."
  16400. msgstr ""
  16401. #. type: table
  16402. #: guix-git/doc/guix.texi:10080
  16403. msgid "Run @code{make check}, or some other target specified with @code{#:test-target}, unless @code{#:tests? #f} is passed. If the @code{#:parallel-tests?} argument is true (the default), run @code{make check -j}."
  16404. msgstr ""
  16405. #. type: table
  16406. #: guix-git/doc/guix.texi:10083
  16407. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  16408. msgstr ""
  16409. #. type: item
  16410. #: guix-git/doc/guix.texi:10084
  16411. #, no-wrap
  16412. msgid "patch-shebangs"
  16413. msgstr ""
  16414. #. type: table
  16415. #: guix-git/doc/guix.texi:10086
  16416. msgid "Patch shebangs on the installed executable files."
  16417. msgstr ""
  16418. #. type: item
  16419. #: guix-git/doc/guix.texi:10087
  16420. #, no-wrap
  16421. msgid "strip"
  16422. msgstr ""
  16423. #. type: table
  16424. #: guix-git/doc/guix.texi:10091
  16425. msgid "Strip debugging symbols from ELF files (unless @code{#:strip-binaries?} is false), copying them to the @code{debug} output when available (@pxref{Installing Debugging Files})."
  16426. msgstr ""
  16427. #. type: anchor{#1}
  16428. #: guix-git/doc/guix.texi:10094
  16429. msgid "phase-validate-runpath"
  16430. msgstr ""
  16431. #. type: item
  16432. #: guix-git/doc/guix.texi:10094
  16433. #, no-wrap
  16434. msgid "validate-runpath"
  16435. msgstr ""
  16436. #. type: table
  16437. #: guix-git/doc/guix.texi:10097
  16438. msgid "Validate the @code{RUNPATH} of ELF binaries, unless @code{#:validate-runpath?} is false (@pxref{Build Systems})."
  16439. msgstr ""
  16440. #. type: table
  16441. #: guix-git/doc/guix.texi:10105
  16442. msgid "This validation step consists in making sure that all the shared libraries needed by an ELF binary, which are listed as @code{DT_NEEDED} entries in its @code{PT_DYNAMIC} segment, appear in the @code{DT_RUNPATH} entry of that binary. In other words, it ensures that running or using those binaries will not result in a ``file not found'' error at run time. @xref{Options, @option{-rpath},, ld, The GNU Linker}, for more information on @code{RUNPATH}."
  16443. msgstr ""
  16444. #. type: Plain text
  16445. #: guix-git/doc/guix.texi:10115
  16446. msgid "Other build systems have similar phases, with some variations. For example, @code{cmake-build-system} has same-named phases but its @code{configure} phases runs @code{cmake} instead of @code{./configure}. Others, such as @code{python-build-system}, have a wholly different list of standard phases. All this code runs on the @dfn{build side}: it is evaluated when you actually build the package, in a dedicated build process spawned by the build daemon (@pxref{Invoking guix-daemon})."
  16447. msgstr ""
  16448. #. type: Plain text
  16449. #: guix-git/doc/guix.texi:10122
  16450. msgid "Build phases are represented as association lists or ``alists'' (@pxref{Association Lists,,, guile, GNU Guile Reference Manual}) where each key is a symbol for the name of the phase and the associated value is a procedure that accepts an arbitrary number of arguments. By convention, those procedures receive information about the build in the form of @dfn{keyword parameters}, which they can use or ignore."
  16451. msgstr ""
  16452. #. type: vindex
  16453. #: guix-git/doc/guix.texi:10123
  16454. #, no-wrap
  16455. msgid "%standard-phases"
  16456. msgstr ""
  16457. #. type: Plain text
  16458. #: guix-git/doc/guix.texi:10129
  16459. msgid "For example, here is how @code{(guix build gnu-build-system)} defines @code{%standard-phases}, the variable holding its alist of build phases@footnote{We present a simplified view of those build phases, but do take a look at @code{(guix build gnu-build-system)} to see all the details!}:"
  16460. msgstr ""
  16461. #. type: lisp
  16462. #: guix-git/doc/guix.texi:10132
  16463. #, no-wrap
  16464. msgid ""
  16465. ";; The build phases of 'gnu-build-system'.\n"
  16466. "\n"
  16467. msgstr ""
  16468. #. type: lisp
  16469. #: guix-git/doc/guix.texi:10136
  16470. #, no-wrap
  16471. msgid ""
  16472. "(define* (unpack #:key source #:allow-other-keys)\n"
  16473. " ;; Extract the source tarball.\n"
  16474. " (invoke \"tar\" \"xvf\" source))\n"
  16475. "\n"
  16476. msgstr ""
  16477. #. type: lisp
  16478. #: guix-git/doc/guix.texi:10142
  16479. #, no-wrap
  16480. msgid ""
  16481. "(define* (configure #:key outputs #:allow-other-keys)\n"
  16482. " ;; Run the 'configure' script. Install to output \"out\".\n"
  16483. " (let ((out (assoc-ref outputs \"out\")))\n"
  16484. " (invoke \"./configure\"\n"
  16485. " (string-append \"--prefix=\" out))))\n"
  16486. "\n"
  16487. msgstr ""
  16488. #. type: lisp
  16489. #: guix-git/doc/guix.texi:10146
  16490. #, no-wrap
  16491. msgid ""
  16492. "(define* (build #:allow-other-keys)\n"
  16493. " ;; Compile.\n"
  16494. " (invoke \"make\"))\n"
  16495. "\n"
  16496. msgstr ""
  16497. #. type: lisp
  16498. #: guix-git/doc/guix.texi:10153
  16499. #, no-wrap
  16500. msgid ""
  16501. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  16502. " #:allow-other-keys)\n"
  16503. " ;; Run the test suite.\n"
  16504. " (if tests?\n"
  16505. " (invoke \"make\" test-target)\n"
  16506. " (display \"test suite not run\\n\")))\n"
  16507. "\n"
  16508. msgstr ""
  16509. #. type: lisp
  16510. #: guix-git/doc/guix.texi:10157
  16511. #, no-wrap
  16512. msgid ""
  16513. "(define* (install #:allow-other-keys)\n"
  16514. " ;; Install files to the prefix 'configure' specified.\n"
  16515. " (invoke \"make\" \"install\"))\n"
  16516. "\n"
  16517. msgstr ""
  16518. #. type: lisp
  16519. #: guix-git/doc/guix.texi:10166
  16520. #, no-wrap
  16521. msgid ""
  16522. "(define %standard-phases\n"
  16523. " ;; The list of standard phases (quite a few are omitted\n"
  16524. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  16525. " (list (cons 'unpack unpack)\n"
  16526. " (cons 'configure configure)\n"
  16527. " (cons 'build build)\n"
  16528. " (cons 'check check)\n"
  16529. " (cons 'install install)))\n"
  16530. msgstr ""
  16531. #. type: Plain text
  16532. #: guix-git/doc/guix.texi:10176
  16533. msgid "This shows how @code{%standard-phases} is defined as a list of symbol/procedure pairs (@pxref{Pairs,,, guile, GNU Guile Reference Manual}). The first pair associates the @code{unpack} procedure with the @code{unpack} symbol---a name; the second pair defines the @code{configure} phase similarly, and so on. When building a package that uses @code{gnu-build-system} with its default list of phases, those phases are executed sequentially. You can see the name of each phase started and completed in the build log of packages that you build."
  16534. msgstr ""
  16535. #. type: Plain text
  16536. #: guix-git/doc/guix.texi:10182
  16537. msgid "Let's now look at the procedures themselves. Each one is defined with @code{define*}: @code{#:key} lists keyword parameters the procedure accepts, possibly with a default value, and @code{#:allow-other-keys} specifies that other keyword parameters are ignored (@pxref{Optional Arguments,,, guile, GNU Guile Reference Manual})."
  16538. msgstr ""
  16539. #. type: Plain text
  16540. #: guix-git/doc/guix.texi:10198
  16541. msgid "The @code{unpack} procedure honors the @code{source} parameter, which the build system uses to pass the file name of the source tarball (or version control checkout), and it ignores other parameters. The @code{configure} phase only cares about the @code{outputs} parameter, an alist mapping package output names to their store file name (@pxref{Packages with Multiple Outputs}). It extracts the file name of for @code{out}, the default output, and passes it to @command{./configure} as the installation prefix, meaning that @command{make install} will eventually copy all the files in that directory (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards}). @code{build} and @code{install} ignore all their arguments. @code{check} honors the @code{test-target} argument, which specifies the name of the Makefile target to run tests; it prints a message and skips tests when @code{tests?} is false."
  16542. msgstr ""
  16543. #. type: cindex
  16544. #: guix-git/doc/guix.texi:10199
  16545. #, no-wrap
  16546. msgid "build phases, customizing"
  16547. msgstr ""
  16548. #. type: Plain text
  16549. #: guix-git/doc/guix.texi:10208
  16550. msgid "The list of phases used for a particular package can be changed with the @code{#:phases} parameter of the build system. Changing the set of build phases boils down to building a new alist of phases based on the @code{%standard-phases} alist described above. This can be done with standard alist procedures such as @code{alist-delete} (@pxref{SRFI-1 Association Lists,,, guile, GNU Guile Reference Manual}); however, it is more convenient to do so with @code{modify-phases} (@pxref{Build Utilities, @code{modify-phases}})."
  16551. msgstr ""
  16552. #. type: Plain text
  16553. #: guix-git/doc/guix.texi:10213
  16554. msgid "Here is an example of a package definition that removes the @code{configure} phase of @code{%standard-phases} and inserts a new phase before the @code{build} phase, called @code{set-prefix-in-makefile}:"
  16555. msgstr ""
  16556. #. type: lisp
  16557. #: guix-git/doc/guix.texi:10237
  16558. #, no-wrap
  16559. msgid ""
  16560. "(define-public example\n"
  16561. " (package\n"
  16562. " (name \"example\")\n"
  16563. " ;; other fields omitted\n"
  16564. " (build-system gnu-build-system)\n"
  16565. " (arguments\n"
  16566. " (list\n"
  16567. " #:phases\n"
  16568. " #~(modify-phases %standard-phases\n"
  16569. " (delete 'configure)\n"
  16570. " (add-before 'build 'set-prefix-in-makefile\n"
  16571. " (lambda* (#:key inputs #:allow-other-keys)\n"
  16572. " ;; Modify the makefile so that its\n"
  16573. " ;; 'PREFIX' variable points to #$output and\n"
  16574. " ;; 'XMLLINT' points to the correct path.\n"
  16575. " (substitute* \"Makefile\"\n"
  16576. " ((\"PREFIX =.*\")\n"
  16577. " (string-append \"PREFIX = \" #$output \"\\n\"))\n"
  16578. " ((\"XMLLINT =.*\")\n"
  16579. " (string-append \"XMLLINT = \"\n"
  16580. " (search-input-file inputs \"/bin/xmllint\")\n"
  16581. " \"\\n\"))))))))))\n"
  16582. msgstr ""
  16583. #. type: Plain text
  16584. #: guix-git/doc/guix.texi:10246
  16585. msgid "The new phase that is inserted is written as an anonymous procedure, introduced with @code{lambda*}; it looks for the @file{xmllint} executable under a @file{/bin} directory among the package's inputs (@pxref{package Reference}). It also honors the @code{outputs} parameter we have seen before. @xref{Build Utilities}, for more about the helpers used by this phase, and for more examples of @code{modify-phases}."
  16586. msgstr ""
  16587. #. type: cindex
  16588. #: guix-git/doc/guix.texi:10247 guix-git/doc/guix.texi:11600
  16589. #, no-wrap
  16590. msgid "code staging"
  16591. msgstr ""
  16592. #. type: cindex
  16593. #: guix-git/doc/guix.texi:10248 guix-git/doc/guix.texi:11601
  16594. #, no-wrap
  16595. msgid "staging, of code"
  16596. msgstr ""
  16597. #. type: Plain text
  16598. #: guix-git/doc/guix.texi:10255
  16599. msgid "Keep in mind that build phases are code evaluated at the time the package is actually built. This explains why the whole @code{modify-phases} expression above is quoted (it comes after the @code{'} or apostrophe): it is @dfn{staged} for later execution. @xref{G-Expressions}, for an explanation of code staging and the @dfn{code strata} involved."
  16600. msgstr ""
  16601. #. type: Plain text
  16602. #: guix-git/doc/guix.texi:10265
  16603. msgid "As soon as you start writing non-trivial package definitions (@pxref{Defining Packages}) or other build actions (@pxref{G-Expressions}), you will likely start looking for helpers for ``shell-like'' actions---creating directories, copying and deleting files recursively, manipulating build phases, and so on. The @code{(guix build utils)} module provides such utility procedures."
  16604. msgstr ""
  16605. #. type: Plain text
  16606. #: guix-git/doc/guix.texi:10269
  16607. msgid "Most build systems load @code{(guix build utils)} (@pxref{Build Systems}). Thus, when writing custom build phases for your package definitions, you can usually assume those procedures are in scope."
  16608. msgstr ""
  16609. #. type: Plain text
  16610. #: guix-git/doc/guix.texi:10274
  16611. msgid "When writing G-expressions, you can import @code{(guix build utils)} on the ``build side'' using @code{with-imported-modules} and then put it in scope with the @code{use-modules} form (@pxref{Using Guile Modules,,, guile, GNU Guile Reference Manual}):"
  16612. msgstr ""
  16613. #. type: lisp
  16614. #: guix-git/doc/guix.texi:10281
  16615. #, no-wrap
  16616. msgid ""
  16617. "(with-imported-modules '((guix build utils)) ;import it\n"
  16618. " (computed-file \"empty-tree\"\n"
  16619. " #~(begin\n"
  16620. " ;; Put it in scope.\n"
  16621. " (use-modules (guix build utils))\n"
  16622. "\n"
  16623. msgstr ""
  16624. #. type: lisp
  16625. #: guix-git/doc/guix.texi:10284
  16626. #, no-wrap
  16627. msgid ""
  16628. " ;; Happily use its 'mkdir-p' procedure.\n"
  16629. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  16630. msgstr ""
  16631. #. type: Plain text
  16632. #: guix-git/doc/guix.texi:10288
  16633. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  16634. msgstr ""
  16635. #. type: subsection
  16636. #: guix-git/doc/guix.texi:10291
  16637. #, no-wrap
  16638. msgid "Dealing with Store File Names"
  16639. msgstr ""
  16640. #. type: Plain text
  16641. #: guix-git/doc/guix.texi:10294
  16642. msgid "This section documents procedures that deal with store file names."
  16643. msgstr ""
  16644. #. type: defun
  16645. #: guix-git/doc/guix.texi:10295
  16646. #, fuzzy, no-wrap
  16647. #| msgid "state directory"
  16648. msgid "%store-directory"
  16649. msgstr "diretório de estado"
  16650. #. type: defun
  16651. #: guix-git/doc/guix.texi:10297
  16652. msgid "Return the directory name of the store."
  16653. msgstr ""
  16654. #. type: defun
  16655. #: guix-git/doc/guix.texi:10299
  16656. #, fuzzy, no-wrap
  16657. #| msgid "name"
  16658. msgid "store-file-name? file"
  16659. msgstr "name"
  16660. #. type: defun
  16661. #: guix-git/doc/guix.texi:10301
  16662. msgid "Return true if @var{file} is in the store."
  16663. msgstr ""
  16664. #. type: defun
  16665. #: guix-git/doc/guix.texi:10303
  16666. #, no-wrap
  16667. msgid "strip-store-file-name file"
  16668. msgstr ""
  16669. #. type: defun
  16670. #: guix-git/doc/guix.texi:10306
  16671. msgid "Strip the @file{/gnu/store} and hash from @var{file}, a store file name. The result is typically a @code{\"@var{package}-@var{version}\"} string."
  16672. msgstr ""
  16673. #. type: defun
  16674. #: guix-git/doc/guix.texi:10308
  16675. #, fuzzy, no-wrap
  16676. #| msgid "package version"
  16677. msgid "package-name->name+version name"
  16678. msgstr "versão de pacote"
  16679. #. type: defun
  16680. #: guix-git/doc/guix.texi:10313
  16681. msgid "Given @var{name}, a package name like @code{\"foo-0.9.1b\"}, return two values: @code{\"foo\"} and @code{\"0.9.1b\"}. When the version part is unavailable, @var{name} and @code{#f} are returned. The first hyphen followed by a digit is considered to introduce the version part."
  16682. msgstr ""
  16683. #. type: subsection
  16684. #: guix-git/doc/guix.texi:10315
  16685. #, no-wrap
  16686. msgid "File Types"
  16687. msgstr ""
  16688. #. type: Plain text
  16689. #: guix-git/doc/guix.texi:10318
  16690. msgid "The procedures below deal with files and file types."
  16691. msgstr ""
  16692. #. type: defun
  16693. #: guix-git/doc/guix.texi:10319
  16694. #, fuzzy, no-wrap
  16695. #| msgid "state directory"
  16696. msgid "directory-exists? dir"
  16697. msgstr "diretório de estado"
  16698. #. type: defun
  16699. #: guix-git/doc/guix.texi:10321
  16700. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  16701. msgstr ""
  16702. #. type: defun
  16703. #: guix-git/doc/guix.texi:10323
  16704. #, no-wrap
  16705. msgid "executable-file? file"
  16706. msgstr ""
  16707. #. type: defun
  16708. #: guix-git/doc/guix.texi:10325
  16709. msgid "Return @code{#t} if @var{file} exists and is executable."
  16710. msgstr ""
  16711. #. type: defun
  16712. #: guix-git/doc/guix.texi:10327
  16713. #, fuzzy, no-wrap
  16714. #| msgid "Invoking guix size"
  16715. msgid "symbolic-link? file"
  16716. msgstr "Invocando guix size"
  16717. #. type: defun
  16718. #: guix-git/doc/guix.texi:10329
  16719. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  16720. msgstr ""
  16721. #. type: defun
  16722. #: guix-git/doc/guix.texi:10331
  16723. #, no-wrap
  16724. msgid "elf-file? file"
  16725. msgstr ""
  16726. #. type: defunx
  16727. #: guix-git/doc/guix.texi:10332
  16728. #, no-wrap
  16729. msgid "ar-file? file"
  16730. msgstr ""
  16731. #. type: defunx
  16732. #: guix-git/doc/guix.texi:10333
  16733. #, no-wrap
  16734. msgid "gzip-file? file"
  16735. msgstr ""
  16736. #. type: defun
  16737. #: guix-git/doc/guix.texi:10336
  16738. msgid "Return @code{#t} if @var{file} is, respectively, an ELF file, an @code{ar} archive (such as a @file{.a} static library), or a gzip file."
  16739. msgstr ""
  16740. #. type: defun
  16741. #: guix-git/doc/guix.texi:10338
  16742. #, no-wrap
  16743. msgid "reset-gzip-timestamp file [#:keep-mtime? #t]"
  16744. msgstr ""
  16745. #. type: defun
  16746. #: guix-git/doc/guix.texi:10342
  16747. msgid "If @var{file} is a gzip file, reset its embedded timestamp (as with @command{gzip --no-name}) and return true. Otherwise return @code{#f}. When @var{keep-mtime?} is true, preserve @var{file}'s modification time."
  16748. msgstr ""
  16749. #. type: subsection
  16750. #: guix-git/doc/guix.texi:10344
  16751. #, no-wrap
  16752. msgid "File Manipulation"
  16753. msgstr ""
  16754. #. type: Plain text
  16755. #: guix-git/doc/guix.texi:10351
  16756. msgid "The following procedures and macros help create, modify, and delete files. They provide functionality comparable to common shell utilities such as @command{mkdir -p}, @command{cp -r}, @command{rm -r}, and @command{sed}. They complement Guile's extensive, but low-level, file system interface (@pxref{POSIX,,, guile, GNU Guile Reference Manual})."
  16757. msgstr ""
  16758. #. type: defmac
  16759. #: guix-git/doc/guix.texi:10352
  16760. #, no-wrap
  16761. msgid "with-directory-excursion directory body @dots{}"
  16762. msgstr ""
  16763. #. type: defmac
  16764. #: guix-git/doc/guix.texi:10354
  16765. msgid "Run @var{body} with @var{directory} as the process's current directory."
  16766. msgstr ""
  16767. #. type: defmac
  16768. #: guix-git/doc/guix.texi:10361
  16769. msgid "Essentially, this macro changes the current directory to @var{directory} before evaluating @var{body}, using @code{chdir} (@pxref{Processes,,, guile, GNU Guile Reference Manual}). It changes back to the initial directory when the dynamic extent of @var{body} is left, be it @i{via} normal procedure return or @i{via} a non-local exit such as an exception."
  16770. msgstr ""
  16771. #. type: defun
  16772. #: guix-git/doc/guix.texi:10363
  16773. #, no-wrap
  16774. msgid "mkdir-p dir"
  16775. msgstr ""
  16776. #. type: defun
  16777. #: guix-git/doc/guix.texi:10365
  16778. msgid "Create directory @var{dir} and all its ancestors."
  16779. msgstr ""
  16780. #. type: defun
  16781. #: guix-git/doc/guix.texi:10367
  16782. #, fuzzy, no-wrap
  16783. #| msgid "a writable @file{/tmp} directory."
  16784. msgid "install-file file directory"
  16785. msgstr "um diretório @file{/tmp} com permissão de escrita."
  16786. #. type: defun
  16787. #: guix-git/doc/guix.texi:10370
  16788. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  16789. msgstr ""
  16790. #. type: defun
  16791. #: guix-git/doc/guix.texi:10372
  16792. #, no-wrap
  16793. msgid "make-file-writable file"
  16794. msgstr ""
  16795. #. type: defun
  16796. #: guix-git/doc/guix.texi:10374
  16797. msgid "Make @var{file} writable for its owner."
  16798. msgstr ""
  16799. #. type: defun
  16800. #: guix-git/doc/guix.texi:10376
  16801. #, no-wrap
  16802. msgid "copy-recursively source destination @"
  16803. msgstr ""
  16804. #. type: defun
  16805. #: guix-git/doc/guix.texi:10385
  16806. msgid "[#:log (current-output-port)] [#:follow-symlinks? #f] @ [#:copy-file copy-file] [#:keep-mtime? #f] [#:keep-permissions? #t] Copy @var{source} directory to @var{destination}. Follow symlinks if @var{follow-symlinks?} is true; otherwise, just preserve them. Call @var{copy-file} to copy regular files. When @var{keep-mtime?} is true, keep the modification time of the files in @var{source} on those of @var{destination}. When @var{keep-permissions?} is true, preserve file permissions. Write verbose output to the @var{log} port."
  16807. msgstr ""
  16808. #. type: defun
  16809. #: guix-git/doc/guix.texi:10387
  16810. #, no-wrap
  16811. msgid "delete-file-recursively dir [#:follow-mounts? #f]"
  16812. msgstr ""
  16813. #. type: defun
  16814. #: guix-git/doc/guix.texi:10391
  16815. msgid "Delete @var{dir} recursively, like @command{rm -rf}, without following symlinks. Don't follow mount points either, unless @var{follow-mounts?} is true. Report but ignore errors."
  16816. msgstr ""
  16817. #. type: defmac
  16818. #: guix-git/doc/guix.texi:10393
  16819. #, fuzzy, no-wrap
  16820. #| msgid "substituter"
  16821. msgid "substitute* file @"
  16822. msgstr "substituidor"
  16823. #. type: defmac
  16824. #: guix-git/doc/guix.texi:10398
  16825. msgid "((regexp match-var@dots{}) body@dots{}) @dots{} Substitute @var{regexp} in @var{file} by the string returned by @var{body}. @var{body} is evaluated with each @var{match-var} bound to the corresponding positional regexp sub-expression. For example:"
  16826. msgstr ""
  16827. #. type: lisp
  16828. #: guix-git/doc/guix.texi:10405
  16829. #, no-wrap
  16830. msgid ""
  16831. "(substitute* file\n"
  16832. " ((\"hello\")\n"
  16833. " \"good morning\\n\")\n"
  16834. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  16835. " (string-append \"baz\" letters end)))\n"
  16836. msgstr ""
  16837. #. type: defmac
  16838. #: guix-git/doc/guix.texi:10411
  16839. msgid "Here, anytime a line of @var{file} contains @code{hello}, it is replaced by @code{good morning}. Anytime a line of @var{file} matches the second regexp, @code{all} is bound to the complete match, @code{letters} is bound to the first sub-expression, and @code{end} is bound to the last one."
  16840. msgstr ""
  16841. #. type: defmac
  16842. #: guix-git/doc/guix.texi:10414
  16843. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  16844. msgstr ""
  16845. #. type: defmac
  16846. #: guix-git/doc/guix.texi:10417
  16847. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  16848. msgstr ""
  16849. #. type: defmac
  16850. #: guix-git/doc/guix.texi:10422
  16851. msgid "Be careful about using @code{$} to match the end of a line; by itself it won't match the terminating newline of a line. For example, to match a whole line ending with a backslash, one needs a regex like @code{\"(.*)\\\\\\\\\\n$\"}."
  16852. msgstr ""
  16853. #. type: subsection
  16854. #: guix-git/doc/guix.texi:10424
  16855. #, no-wrap
  16856. msgid "File Search"
  16857. msgstr ""
  16858. #. type: cindex
  16859. #: guix-git/doc/guix.texi:10426
  16860. #, no-wrap
  16861. msgid "file, searching"
  16862. msgstr ""
  16863. #. type: Plain text
  16864. #: guix-git/doc/guix.texi:10428
  16865. msgid "This section documents procedures to search and filter files."
  16866. msgstr ""
  16867. #. type: defun
  16868. #: guix-git/doc/guix.texi:10429
  16869. #, no-wrap
  16870. msgid "file-name-predicate regexp"
  16871. msgstr ""
  16872. #. type: defun
  16873. #: guix-git/doc/guix.texi:10432
  16874. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  16875. msgstr ""
  16876. #. type: defun
  16877. #: guix-git/doc/guix.texi:10434
  16878. #, no-wrap
  16879. msgid "find-files dir [pred] @"
  16880. msgstr ""
  16881. #. type: defun
  16882. #: guix-git/doc/guix.texi:10445
  16883. msgid "[#:stat lstat] [#:directories? #f] [#:fail-on-error? #f] Return the lexicographically sorted list of files under @var{dir} for which @var{pred} returns true. @var{pred} is passed two arguments: the absolute file name, and its stat buffer; the default predicate always returns true. @var{pred} can also be a regular expression, in which case it is equivalent to @code{(file-name-predicate @var{pred})}. @var{stat} is used to obtain file information; using @code{lstat} means that symlinks are not followed. If @var{directories?} is true, then directories will also be included. If @var{fail-on-error?} is true, raise an exception upon error."
  16884. msgstr ""
  16885. #. type: Plain text
  16886. #: guix-git/doc/guix.texi:10449
  16887. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  16888. msgstr ""
  16889. #. type: lisp
  16890. #: guix-git/doc/guix.texi:10454
  16891. #, no-wrap
  16892. msgid ""
  16893. ";; List all the regular files in the current directory.\n"
  16894. "(find-files \".\")\n"
  16895. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  16896. "\n"
  16897. msgstr ""
  16898. #. type: lisp
  16899. #: guix-git/doc/guix.texi:10458
  16900. #, no-wrap
  16901. msgid ""
  16902. ";; List all the .scm files under gnu/services.\n"
  16903. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  16904. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  16905. "\n"
  16906. msgstr ""
  16907. #. type: lisp
  16908. #: guix-git/doc/guix.texi:10462
  16909. #, no-wrap
  16910. msgid ""
  16911. ";; List ar files in the current directory.\n"
  16912. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  16913. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  16914. msgstr ""
  16915. #. type: defun
  16916. #: guix-git/doc/guix.texi:10464
  16917. #, fuzzy, no-wrap
  16918. #| msgid "Setuid Programs"
  16919. msgid "which program"
  16920. msgstr "Programas setuid"
  16921. #. type: defun
  16922. #: guix-git/doc/guix.texi:10467
  16923. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  16924. msgstr ""
  16925. #. type: defun
  16926. #: guix-git/doc/guix.texi:10469
  16927. #, no-wrap
  16928. msgid "search-input-file inputs name"
  16929. msgstr ""
  16930. #. type: defunx
  16931. #: guix-git/doc/guix.texi:10470
  16932. #, no-wrap
  16933. msgid "search-input-directory inputs name"
  16934. msgstr ""
  16935. #. type: defun
  16936. #: guix-git/doc/guix.texi:10475
  16937. msgid "Return the complete file name for @var{name} as found in @var{inputs}; @code{search-input-file} searches for a regular file and @code{search-input-directory} searches for a directory. If @var{name} could not be found, an exception is raised."
  16938. msgstr ""
  16939. #. type: defun
  16940. #: guix-git/doc/guix.texi:10479
  16941. msgid "Here, @var{inputs} must be an association list like @code{inputs} and @code{native-inputs} as available to build phases (@pxref{Build Phases})."
  16942. msgstr ""
  16943. #. type: Plain text
  16944. #: guix-git/doc/guix.texi:10483
  16945. msgid "Here is a (simplified) example of how @code{search-input-file} is used in a build phase of the @code{wireguard-tools} package:"
  16946. msgstr ""
  16947. #. type: lisp
  16948. #: guix-git/doc/guix.texi:10492
  16949. #, no-wrap
  16950. msgid ""
  16951. "(add-after 'install 'wrap-wg-quick\n"
  16952. " (lambda* (#:key inputs outputs #:allow-other-keys)\n"
  16953. " (let ((coreutils (string-append (assoc-ref inputs \"coreutils\")\n"
  16954. " \"/bin\")))\n"
  16955. " (wrap-program (search-input-file outputs \"bin/wg-quick\")\n"
  16956. " #:sh (search-input-file inputs \"bin/bash\")\n"
  16957. " `(\"PATH\" \":\" prefix ,(list coreutils))))))\n"
  16958. msgstr ""
  16959. #. type: subsection
  16960. #: guix-git/doc/guix.texi:10494
  16961. #, fuzzy, no-wrap
  16962. #| msgid "Log Rotation"
  16963. msgid "Program Invocation"
  16964. msgstr "Rotação de log"
  16965. #. type: cindex
  16966. #: guix-git/doc/guix.texi:10496
  16967. #, no-wrap
  16968. msgid "program invocation, from Scheme"
  16969. msgstr ""
  16970. #. type: cindex
  16971. #: guix-git/doc/guix.texi:10497
  16972. #, no-wrap
  16973. msgid "invoking programs, from Scheme"
  16974. msgstr ""
  16975. #. type: Plain text
  16976. #: guix-git/doc/guix.texi:10501
  16977. msgid "You'll find handy procedures to spawn processes in this module, essentially convenient wrappers around Guile's @code{system*} (@pxref{Processes, @code{system*},, guile, GNU Guile Reference Manual})."
  16978. msgstr ""
  16979. #. type: defun
  16980. #: guix-git/doc/guix.texi:10502
  16981. #, no-wrap
  16982. msgid "invoke program args@dots{}"
  16983. msgstr ""
  16984. #. type: defun
  16985. #: guix-git/doc/guix.texi:10506
  16986. msgid "Invoke @var{program} with the given @var{args}. Raise an @code{&invoke-error} exception if the exit code is non-zero; otherwise return @code{#t}."
  16987. msgstr ""
  16988. #. type: defun
  16989. #: guix-git/doc/guix.texi:10510
  16990. msgid "The advantage compared to @code{system*} is that you do not need to check the return value. This reduces boilerplate in shell-script-like snippets for instance in package build phases."
  16991. msgstr ""
  16992. #. type: defun
  16993. #: guix-git/doc/guix.texi:10512
  16994. #, no-wrap
  16995. msgid "invoke-error? c"
  16996. msgstr ""
  16997. #. type: defun
  16998. #: guix-git/doc/guix.texi:10514
  16999. msgid "Return true if @var{c} is an @code{&invoke-error} condition."
  17000. msgstr ""
  17001. #. type: defun
  17002. #: guix-git/doc/guix.texi:10516
  17003. #, no-wrap
  17004. msgid "invoke-error-program c"
  17005. msgstr ""
  17006. #. type: defunx
  17007. #: guix-git/doc/guix.texi:10517
  17008. #, no-wrap
  17009. msgid "invoke-error-arguments c"
  17010. msgstr ""
  17011. #. type: defunx
  17012. #: guix-git/doc/guix.texi:10518
  17013. #, no-wrap
  17014. msgid "invoke-error-exit-status c"
  17015. msgstr ""
  17016. #. type: defunx
  17017. #: guix-git/doc/guix.texi:10519
  17018. #, no-wrap
  17019. msgid "invoke-error-term-signal c"
  17020. msgstr ""
  17021. #. type: defunx
  17022. #: guix-git/doc/guix.texi:10520
  17023. #, no-wrap
  17024. msgid "invoke-error-stop-signal c"
  17025. msgstr ""
  17026. #. type: defun
  17027. #: guix-git/doc/guix.texi:10522
  17028. msgid "Access specific fields of @var{c}, an @code{&invoke-error} condition."
  17029. msgstr ""
  17030. #. type: defun
  17031. #: guix-git/doc/guix.texi:10524
  17032. #, no-wrap
  17033. msgid "report-invoke-error c [port]"
  17034. msgstr ""
  17035. #. type: defun
  17036. #: guix-git/doc/guix.texi:10527
  17037. msgid "Report to @var{port} (by default the current error port) about @var{c}, an @code{&invoke-error} condition, in a human-friendly way."
  17038. msgstr ""
  17039. #. type: defun
  17040. #: guix-git/doc/guix.texi:10529
  17041. msgid "Typical usage would look like this:"
  17042. msgstr ""
  17043. #. type: lisp
  17044. #: guix-git/doc/guix.texi:10533
  17045. #, no-wrap
  17046. msgid ""
  17047. "(use-modules (srfi srfi-34) ;for 'guard'\n"
  17048. " (guix build utils))\n"
  17049. "\n"
  17050. msgstr ""
  17051. #. type: lisp
  17052. #: guix-git/doc/guix.texi:10537
  17053. #, no-wrap
  17054. msgid ""
  17055. "(guard (c ((invoke-error? c)\n"
  17056. " (report-invoke-error c)))\n"
  17057. " (invoke \"date\" \"--imaginary-option\"))\n"
  17058. "\n"
  17059. msgstr ""
  17060. #. type: lisp
  17061. #: guix-git/doc/guix.texi:10539
  17062. #, no-wrap
  17063. msgid "@print{} command \"date\" \"--imaginary-option\" failed with status 1\n"
  17064. msgstr ""
  17065. #. type: defun
  17066. #: guix-git/doc/guix.texi:10542
  17067. #, no-wrap
  17068. msgid "invoke/quiet program args@dots{}"
  17069. msgstr ""
  17070. #. type: defun
  17071. #: guix-git/doc/guix.texi:10548
  17072. msgid "Invoke @var{program} with @var{args} and capture @var{program}'s standard output and standard error. If @var{program} succeeds, print nothing and return the unspecified value; otherwise, raise a @code{&message} error condition that includes the status code and the output of @var{program}."
  17073. msgstr ""
  17074. #. type: defun
  17075. #: guix-git/doc/guix.texi:10550
  17076. msgid "Here's an example:"
  17077. msgstr ""
  17078. #. type: lisp
  17079. #: guix-git/doc/guix.texi:10555
  17080. #, no-wrap
  17081. msgid ""
  17082. "(use-modules (srfi srfi-34) ;for 'guard'\n"
  17083. " (srfi srfi-35) ;for 'message-condition?'\n"
  17084. " (guix build utils))\n"
  17085. "\n"
  17086. msgstr ""
  17087. #. type: lisp
  17088. #: guix-git/doc/guix.texi:10560
  17089. #, no-wrap
  17090. msgid ""
  17091. "(guard (c ((message-condition? c)\n"
  17092. " (display (condition-message c))))\n"
  17093. " (invoke/quiet \"date\") ;all is fine\n"
  17094. " (invoke/quiet \"date\" \"--imaginary-option\"))\n"
  17095. "\n"
  17096. msgstr ""
  17097. #. type: lisp
  17098. #: guix-git/doc/guix.texi:10562
  17099. #, no-wrap
  17100. msgid ""
  17101. "@print{} 'date --imaginary-option' exited with status 1; output follows:\n"
  17102. "\n"
  17103. msgstr ""
  17104. #. type: lisp
  17105. #: guix-git/doc/guix.texi:10565
  17106. #, no-wrap
  17107. msgid ""
  17108. " date: unrecognized option '--imaginary-option'\n"
  17109. " Try 'date --help' for more information.\n"
  17110. msgstr ""
  17111. #. type: Plain text
  17112. #: guix-git/doc/guix.texi:10577
  17113. msgid "The @code{(guix build utils)} also contains tools to manipulate build phases as used by build systems (@pxref{Build Systems}). Build phases are represented as association lists or ``alists'' (@pxref{Association Lists,,, guile, GNU Guile Reference Manual}) where each key is a symbol naming the phase and the associated value is a procedure (@pxref{Build Phases})."
  17114. msgstr ""
  17115. #. type: Plain text
  17116. #: guix-git/doc/guix.texi:10581
  17117. msgid "Guile core and the @code{(srfi srfi-1)} module both provide tools to manipulate alists. The @code{(guix build utils)} module complements those with tools written with build phases in mind."
  17118. msgstr ""
  17119. #. type: cindex
  17120. #: guix-git/doc/guix.texi:10582
  17121. #, no-wrap
  17122. msgid "build phases, modifying"
  17123. msgstr ""
  17124. #. type: defmac
  17125. #: guix-git/doc/guix.texi:10583
  17126. #, no-wrap
  17127. msgid "modify-phases phases clause@dots{}"
  17128. msgstr ""
  17129. #. type: defmac
  17130. #: guix-git/doc/guix.texi:10586
  17131. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  17132. msgstr ""
  17133. #. type: lisp
  17134. #: guix-git/doc/guix.texi:10592
  17135. #, no-wrap
  17136. msgid ""
  17137. "(delete @var{old-phase-name})\n"
  17138. "(replace @var{old-phase-name} @var{new-phase})\n"
  17139. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  17140. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  17141. msgstr ""
  17142. #. type: defmac
  17143. #: guix-git/doc/guix.texi:10596
  17144. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  17145. msgstr ""
  17146. #. type: Plain text
  17147. #: guix-git/doc/guix.texi:10607
  17148. msgid "The example below is taken from the definition of the @code{grep} package. It adds a phase to run after the @code{install} phase, called @code{fix-egrep-and-fgrep}. That phase is a procedure (@code{lambda*} is for anonymous procedures) that takes a @code{#:outputs} keyword argument and ignores extra keyword arguments (@pxref{Optional Arguments,,, guile, GNU Guile Reference Manual}, for more on @code{lambda*} and optional and keyword arguments.) The phase uses @code{substitute*} to modify the installed @file{egrep} and @file{fgrep} scripts so that they refer to @code{grep} by its absolute file name:"
  17149. msgstr ""
  17150. #. type: lisp
  17151. #: guix-git/doc/guix.texi:10620
  17152. #, no-wrap
  17153. msgid ""
  17154. "(modify-phases %standard-phases\n"
  17155. " (add-after 'install 'fix-egrep-and-fgrep\n"
  17156. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  17157. " ;; absolute file name instead of searching for it in $PATH.\n"
  17158. " (lambda* (#:key outputs #:allow-other-keys)\n"
  17159. " (let* ((out (assoc-ref outputs \"out\"))\n"
  17160. " (bin (string-append out \"/bin\")))\n"
  17161. " (substitute* (list (string-append bin \"/egrep\")\n"
  17162. " (string-append bin \"/fgrep\"))\n"
  17163. " ((\"^exec grep\")\n"
  17164. " (string-append \"exec \" bin \"/grep\")))))))\n"
  17165. msgstr ""
  17166. #. type: Plain text
  17167. #: guix-git/doc/guix.texi:10627
  17168. msgid "In the example below, phases are modified in two ways: the standard @code{configure} phase is deleted, presumably because the package does not have a @file{configure} script or anything similar, and the default @code{install} phase is replaced by one that manually copies the executable files to be installed:"
  17169. msgstr ""
  17170. #. type: lisp
  17171. #: guix-git/doc/guix.texi:10639
  17172. #, no-wrap
  17173. msgid ""
  17174. "(modify-phases %standard-phases\n"
  17175. " (delete 'configure) ;no 'configure' script\n"
  17176. " (replace 'install\n"
  17177. " (lambda* (#:key outputs #:allow-other-keys)\n"
  17178. " ;; The package's Makefile doesn't provide an \"install\"\n"
  17179. " ;; rule so do it by ourselves.\n"
  17180. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  17181. " \"/bin\")))\n"
  17182. " (install-file \"footswitch\" bin)\n"
  17183. " (install-file \"scythe\" bin)))))\n"
  17184. msgstr ""
  17185. #. type: subsection
  17186. #: guix-git/doc/guix.texi:10643
  17187. #, no-wrap
  17188. msgid "Wrappers"
  17189. msgstr ""
  17190. #. type: cindex
  17191. #: guix-git/doc/guix.texi:10645
  17192. #, no-wrap
  17193. msgid "program wrappers"
  17194. msgstr ""
  17195. #. type: cindex
  17196. #: guix-git/doc/guix.texi:10646
  17197. #, no-wrap
  17198. msgid "wrapping programs"
  17199. msgstr ""
  17200. #. type: Plain text
  17201. #: guix-git/doc/guix.texi:10652
  17202. msgid "It is not unusual for a command to require certain environment variables to be set for proper functioning, typically search paths (@pxref{Search Paths}). Failing to do that, the command might fail to find files or other commands it relies on, or it might pick the ``wrong'' ones---depending on the environment in which it runs. Examples include:"
  17203. msgstr ""
  17204. #. type: itemize
  17205. #: guix-git/doc/guix.texi:10656
  17206. msgid "a shell script that assumes all the commands it uses are in @env{PATH};"
  17207. msgstr ""
  17208. #. type: itemize
  17209. #: guix-git/doc/guix.texi:10660
  17210. msgid "a Guile program that assumes all its modules are in @env{GUILE_LOAD_PATH} and @env{GUILE_LOAD_COMPILED_PATH};"
  17211. msgstr ""
  17212. #. type: itemize
  17213. #: guix-git/doc/guix.texi:10664
  17214. msgid "a Qt application that expects to find certain plugins in @env{QT_PLUGIN_PATH}."
  17215. msgstr ""
  17216. #. type: Plain text
  17217. #: guix-git/doc/guix.texi:10672
  17218. msgid "For a package writer, the goal is to make sure commands always work the same rather than depend on some external settings. One way to achieve that is to @dfn{wrap} commands in a thin script that sets those environment variables, thereby ensuring that those run-time dependencies are always found. The wrapper would be used to set @env{PATH}, @env{GUILE_LOAD_PATH}, or @env{QT_PLUGIN_PATH} in the examples above."
  17219. msgstr ""
  17220. #. type: Plain text
  17221. #: guix-git/doc/guix.texi:10675
  17222. msgid "To ease that task, the @code{(guix build utils)} module provides a couple of helpers to wrap commands."
  17223. msgstr ""
  17224. #. type: defun
  17225. #: guix-git/doc/guix.texi:10676
  17226. #, no-wrap
  17227. msgid "wrap-program program [#:sh sh] [#:rest variables]"
  17228. msgstr ""
  17229. #. type: defun
  17230. #: guix-git/doc/guix.texi:10678
  17231. msgid "Make a wrapper for @var{program}. @var{variables} should look like this:"
  17232. msgstr ""
  17233. #. type: lisp
  17234. #: guix-git/doc/guix.texi:10681
  17235. #, no-wrap
  17236. msgid "'(@var{variable} @var{delimiter} @var{position} @var{list-of-directories})\n"
  17237. msgstr ""
  17238. #. type: defun
  17239. #: guix-git/doc/guix.texi:10685
  17240. msgid "where @var{delimiter} is optional. @code{:} will be used if @var{delimiter} is not given."
  17241. msgstr ""
  17242. #. type: defun
  17243. #: guix-git/doc/guix.texi:10687
  17244. msgid "For example, this call:"
  17245. msgstr ""
  17246. #. type: lisp
  17247. #: guix-git/doc/guix.texi:10693
  17248. #, no-wrap
  17249. msgid ""
  17250. "(wrap-program \"foo\"\n"
  17251. " '(\"PATH\" \":\" = (\"/gnu/.../bar/bin\"))\n"
  17252. " '(\"CERT_PATH\" suffix (\"/gnu/.../baz/certs\"\n"
  17253. " \"/qux/certs\")))\n"
  17254. msgstr ""
  17255. #. type: defun
  17256. #: guix-git/doc/guix.texi:10697
  17257. msgid "will copy @file{foo} to @file{.foo-real} and create the file @file{foo} with the following contents:"
  17258. msgstr ""
  17259. #. type: example
  17260. #: guix-git/doc/guix.texi:10703
  17261. #, no-wrap
  17262. msgid ""
  17263. "#!location/of/bin/bash\n"
  17264. "export PATH=\"/gnu/.../bar/bin\"\n"
  17265. "export CERT_PATH=\"$CERT_PATH$@{CERT_PATH:+:@}/gnu/.../baz/certs:/qux/certs\"\n"
  17266. "exec -a $0 location/of/.foo-real \"$@@\"\n"
  17267. msgstr ""
  17268. #. type: defun
  17269. #: guix-git/doc/guix.texi:10708
  17270. msgid "If @var{program} has previously been wrapped by @code{wrap-program}, the wrapper is extended with definitions for @var{variables}. If it is not, @var{sh} will be used as the interpreter."
  17271. msgstr ""
  17272. #. type: defun
  17273. #: guix-git/doc/guix.texi:10710
  17274. #, no-wrap
  17275. msgid "wrap-script program [#:guile guile] [#:rest variables]"
  17276. msgstr ""
  17277. #. type: defun
  17278. #: guix-git/doc/guix.texi:10717
  17279. msgid "Wrap the script @var{program} such that @var{variables} are set first. The format of @var{variables} is the same as in the @code{wrap-program} procedure. This procedure differs from @code{wrap-program} in that it does not create a separate shell script. Instead, @var{program} is modified directly by prepending a Guile script, which is interpreted as a comment in the script's language."
  17280. msgstr ""
  17281. #. type: defun
  17282. #: guix-git/doc/guix.texi:10720
  17283. msgid "Special encoding comments as supported by Python are recreated on the second line."
  17284. msgstr ""
  17285. #. type: defun
  17286. #: guix-git/doc/guix.texi:10723
  17287. msgid "Note that this procedure can only be used once per file as Guile scripts are not supported."
  17288. msgstr ""
  17289. #. type: cindex
  17290. #: guix-git/doc/guix.texi:10728
  17291. #, fuzzy, no-wrap
  17292. #| msgid "--search-paths"
  17293. msgid "search path"
  17294. msgstr "--search-paths"
  17295. #. type: Plain text
  17296. #: guix-git/doc/guix.texi:10735
  17297. msgid "Many programs and libraries look for input data in a @dfn{search path}, a list of directories: shells like Bash look for executables in the command search path, a C compiler looks for @file{.h} files in its header search path, the Python interpreter looks for @file{.py} files in its search path, the spell checker has a search path for dictionaries, and so on."
  17298. msgstr ""
  17299. #. type: Plain text
  17300. #: guix-git/doc/guix.texi:10743
  17301. msgid "Search paths can usually be defined or overridden @i{via} environment variables (@pxref{Environment Variables,,, libc, The GNU C Library Reference Manual}). For example, the search paths mentioned above can be changed by defining the @env{PATH}, @env{C_INCLUDE_PATH}, @env{PYTHONPATH} (or @env{GUIX_PYTHONPATH}), and @env{DICPATH} environment variables---you know, all these something-PATH variables that you need to get right or things ``won't be found''."
  17302. msgstr ""
  17303. #. type: Plain text
  17304. #: guix-git/doc/guix.texi:10753
  17305. msgid "You may have noticed from the command line that Guix ``knows'' which search path environment variables should be defined, and how. When you install packages in your default profile, the file @file{~/.guix-profile/etc/profile} is created, which you can ``source'' from the shell to set those variables. Likewise, if you ask @command{guix shell} to create an environment containing Python and NumPy, a Python library, and if you pass it the @option{--search-paths} option, it will tell you about @env{PATH} and @env{GUIX_PYTHONPATH} (@pxref{Invoking guix shell}):"
  17306. msgstr ""
  17307. #. type: example
  17308. #: guix-git/doc/guix.texi:10758
  17309. #, no-wrap
  17310. msgid ""
  17311. "$ guix shell python python-numpy --pure --search-paths\n"
  17312. "export PATH=\"/gnu/store/@dots{}-profile/bin\"\n"
  17313. "export GUIX_PYTHONPATH=\"/gnu/store/@dots{}-profile/lib/python3.9/site-packages\"\n"
  17314. msgstr ""
  17315. #. type: Plain text
  17316. #: guix-git/doc/guix.texi:10762
  17317. msgid "When you omit @option{--search-paths}, it defines these environment variables right away, such that Python can readily find NumPy:"
  17318. msgstr ""
  17319. #. type: example
  17320. #: guix-git/doc/guix.texi:10771
  17321. #, no-wrap
  17322. msgid ""
  17323. "$ guix shell python python-numpy -- python3\n"
  17324. "Python 3.9.6 (default, Jan 1 1970, 00:00:01)\n"
  17325. "[GCC 10.3.0] on linux\n"
  17326. "Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n"
  17327. ">>> import numpy\n"
  17328. ">>> numpy.version.version\n"
  17329. "'1.20.3'\n"
  17330. msgstr ""
  17331. #. type: Plain text
  17332. #: guix-git/doc/guix.texi:10776
  17333. msgid "For this to work, the definition of the @code{python} package @emph{declares} the search path it cares about and its associated environment variable, @env{GUIX_PYTHONPATH}. It looks like this:"
  17334. msgstr ""
  17335. #. type: lisp
  17336. #: guix-git/doc/guix.texi:10786
  17337. #, no-wrap
  17338. msgid ""
  17339. "(package\n"
  17340. " (name \"python\")\n"
  17341. " (version \"3.9.9\")\n"
  17342. " ;; some fields omitted...\n"
  17343. " (native-search-paths\n"
  17344. " (list (search-path-specification\n"
  17345. " (variable \"GUIX_PYTHONPATH\")\n"
  17346. " (files (list \"lib/python/3.9/site-packages\"))))))\n"
  17347. msgstr ""
  17348. #. type: Plain text
  17349. #: guix-git/doc/guix.texi:10801
  17350. msgid "What this @code{native-search-paths} field says is that, when the @code{python} package is used, the @env{GUIX_PYTHONPATH} environment variable must be defined to include all the @file{lib/python/3.9/site-packages} sub-directories encountered in its environment. (The @code{native-} bit means that, if we are in a cross-compilation environment, only native inputs may be added to the search path; @pxref{package Reference, @code{search-paths}}.) In the NumPy example above, the profile where @code{python} appears contains exactly one such sub-directory, and @env{GUIX_PYTHONPATH} is set to that. When there are several @file{lib/python/3.9/site-packages}---this is the case in package build environments---they are all added to @env{GUIX_PYTHONPATH}, separated by colons (@code{:})."
  17351. msgstr ""
  17352. #. type: quotation
  17353. #: guix-git/doc/guix.texi:10808
  17354. msgid "Notice that @env{GUIX_PYTHONPATH} is specified as part of the definition of the @code{python} package, and @emph{not} as part of that of @code{python-numpy}. This is because this environment variable ``belongs'' to Python, not NumPy: Python actually reads the value of that variable and honors it."
  17355. msgstr ""
  17356. #. type: quotation
  17357. #: guix-git/doc/guix.texi:10812
  17358. msgid "Corollary: if you create a profile that does not contain @code{python}, @code{GUIX_PYTHONPATH} will @emph{not} be defined, even if it contains packages that provide @file{.py} files:"
  17359. msgstr ""
  17360. #. type: example
  17361. #: guix-git/doc/guix.texi:10816
  17362. #, no-wrap
  17363. msgid ""
  17364. "$ guix shell python-numpy --search-paths --pure\n"
  17365. "export PATH=\"/gnu/store/@dots{}-profile/bin\"\n"
  17366. msgstr ""
  17367. #. type: quotation
  17368. #: guix-git/doc/guix.texi:10820
  17369. msgid "This makes a lot of sense if we look at this profile in isolation: no software in this profile would read @env{GUIX_PYTHONPATH}."
  17370. msgstr ""
  17371. #. type: Plain text
  17372. #: guix-git/doc/guix.texi:10830
  17373. msgid "Of course, there are many variations on that theme: some packages honor more than one search path, some use separators other than colon, some accumulate several directories in their search path, and so on. A more complex example is the search path of libxml2: the value of the @env{XML_CATALOG_FILES} environment variable is space-separated, it must contain a list of @file{catalog.xml} files (not directories), which are to be found in @file{xml} sub-directories---nothing less. The search path specification looks like this:"
  17374. msgstr ""
  17375. #. type: lisp
  17376. #: guix-git/doc/guix.texi:10842
  17377. #, no-wrap
  17378. msgid ""
  17379. "(package\n"
  17380. " (name \"libxml2\")\n"
  17381. " ;; some fields omitted\n"
  17382. " (native-search-paths\n"
  17383. " (list (search-path-specification\n"
  17384. " (variable \"XML_CATALOG_FILES\")\n"
  17385. " (separator \" \")\n"
  17386. " (files '(\"xml\"))\n"
  17387. " (file-pattern \"^catalog\\\\.xml$\")\n"
  17388. " (file-type 'regular)))))\n"
  17389. msgstr ""
  17390. #. type: Plain text
  17391. #: guix-git/doc/guix.texi:10845
  17392. msgid "Worry not, search path specifications are usually not this tricky."
  17393. msgstr ""
  17394. #. type: Plain text
  17395. #: guix-git/doc/guix.texi:10849
  17396. msgid "The @code{(guix search-paths)} module defines the data type of search path specifications and a number of helper procedures. Below is the reference of search path specifications."
  17397. msgstr ""
  17398. #. type: deftp
  17399. #: guix-git/doc/guix.texi:10850
  17400. #, fuzzy, no-wrap
  17401. msgid "{Data Type} search-path-specification"
  17402. msgstr "build-machine {Data Type}"
  17403. #. type: deftp
  17404. #: guix-git/doc/guix.texi:10852
  17405. msgid "The data type for search path specifications."
  17406. msgstr ""
  17407. #. type: code{#1}
  17408. #: guix-git/doc/guix.texi:10854
  17409. #, no-wrap
  17410. msgid "variable"
  17411. msgstr ""
  17412. #. type: table
  17413. #: guix-git/doc/guix.texi:10856
  17414. msgid "The name of the environment variable for this search path (a string)."
  17415. msgstr ""
  17416. #. type: code{#1}
  17417. #: guix-git/doc/guix.texi:10857 guix-git/doc/guix.texi:19728
  17418. #, no-wrap
  17419. msgid "files"
  17420. msgstr ""
  17421. #. type: table
  17422. #: guix-git/doc/guix.texi:10860
  17423. msgid "The list of sub-directories (strings) that should be added to the search path."
  17424. msgstr ""
  17425. #. type: item
  17426. #: guix-git/doc/guix.texi:10861
  17427. #, fuzzy, no-wrap
  17428. #| msgid "@code{port} (default: @code{\"667\"})"
  17429. msgid "@code{separator} (default: @code{\":\"})"
  17430. msgstr "@code{porta} (default: @code{\"667\"})"
  17431. #. type: table
  17432. #: guix-git/doc/guix.texi:10863
  17433. msgid "The string used to separate search path components."
  17434. msgstr ""
  17435. #. type: table
  17436. #: guix-git/doc/guix.texi:10871
  17437. msgid "As a special case, a @code{separator} value of @code{#f} specifies a ``single-component search path''---in other words, a search path that cannot contain more than one element. This is useful in some cases, such as the @code{SSL_CERT_DIR} variable (honored by OpenSSL, cURL, and a few other packages) or the @code{ASPELL_DICT_DIR} variable (honored by the GNU Aspell spell checker), both of which must point to a single directory."
  17438. msgstr ""
  17439. #. type: item
  17440. #: guix-git/doc/guix.texi:10872
  17441. #, fuzzy, no-wrap
  17442. #| msgid "@code{file} (default: @code{#f})"
  17443. msgid "@code{file-type} (default: @code{'directory})"
  17444. msgstr "@code{file} (default: @code{#f})"
  17445. #. type: table
  17446. #: guix-git/doc/guix.texi:10876
  17447. msgid "The type of file being matched---@code{'directory} or @code{'regular}, though it can be any symbol returned by @code{stat:type} (@pxref{File System, @code{stat},, guile, GNU Guile Reference Manual})."
  17448. msgstr ""
  17449. #. type: table
  17450. #: guix-git/doc/guix.texi:10879
  17451. msgid "In the libxml2 example above, we would match regular files; in the Python example, we would match directories."
  17452. msgstr ""
  17453. #. type: item
  17454. #: guix-git/doc/guix.texi:10880
  17455. #, fuzzy, no-wrap
  17456. #| msgid "@code{users} (default: @code{#f})"
  17457. msgid "@code{file-pattern} (default: @code{#f})"
  17458. msgstr "@code{users} (default: @code{#f})"
  17459. #. type: table
  17460. #: guix-git/doc/guix.texi:10884
  17461. msgid "This must be either @code{#f} or a regular expression specifying files to be matched @emph{within} the sub-directories specified by the @code{files} field."
  17462. msgstr ""
  17463. #. type: table
  17464. #: guix-git/doc/guix.texi:10886
  17465. msgid "Again, the libxml2 example shows a situation where this is needed."
  17466. msgstr ""
  17467. #. type: Plain text
  17468. #: guix-git/doc/guix.texi:10892
  17469. msgid "Some search paths are not tied by a single package but to many packages. To reduce duplications, some of them are pre-defined in @code{(guix search-paths)}."
  17470. msgstr ""
  17471. #. type: defvar
  17472. #: guix-git/doc/guix.texi:10893
  17473. #, no-wrap
  17474. msgid "$SSL_CERT_DIR"
  17475. msgstr ""
  17476. #. type: defvarx
  17477. #: guix-git/doc/guix.texi:10894
  17478. #, no-wrap
  17479. msgid "$SSL_CERT_FILE"
  17480. msgstr ""
  17481. #. type: defvar
  17482. #: guix-git/doc/guix.texi:10897
  17483. msgid "These two search paths indicate where X.509 certificates can be found (@pxref{X.509 Certificates})."
  17484. msgstr ""
  17485. #. type: Plain text
  17486. #: guix-git/doc/guix.texi:10900
  17487. msgid "These pre-defined search paths can be used as in the following example:"
  17488. msgstr ""
  17489. #. type: lisp
  17490. #: guix-git/doc/guix.texi:10906
  17491. #, no-wrap
  17492. msgid ""
  17493. "(package\n"
  17494. " (name \"curl\")\n"
  17495. " ;; some fields omitted ...\n"
  17496. " (native-search-paths (list $SSL_CERT_DIR $SSL_CERT_FILE)))\n"
  17497. msgstr ""
  17498. #. type: Plain text
  17499. #: guix-git/doc/guix.texi:10911
  17500. msgid "How do you turn search path specifications on one hand and a bunch of directories on the other hand in a set of environment variable definitions? That's the job of @code{evaluate-search-paths}."
  17501. msgstr ""
  17502. #. type: defun
  17503. #: guix-git/doc/guix.texi:10912
  17504. #, no-wrap
  17505. msgid "evaluate-search-paths search-paths directories [getenv]"
  17506. msgstr ""
  17507. #. type: defun
  17508. #: guix-git/doc/guix.texi:10917
  17509. msgid "Evaluate @var{search-paths}, a list of search-path specifications, for @var{directories}, a list of directory names, and return a list of specification/value pairs. Use @var{getenv} to determine the current settings and report only settings not already effective."
  17510. msgstr ""
  17511. #. type: Plain text
  17512. #: guix-git/doc/guix.texi:10921
  17513. msgid "The @code{(guix profiles)} provides a higher-level helper procedure, @code{load-profile}, that sets the environment variables of a profile."
  17514. msgstr ""
  17515. #. type: cindex
  17516. #: guix-git/doc/guix.texi:10926
  17517. #, no-wrap
  17518. msgid "store items"
  17519. msgstr ""
  17520. #. type: cindex
  17521. #: guix-git/doc/guix.texi:10927
  17522. #, no-wrap
  17523. msgid "store paths"
  17524. msgstr ""
  17525. #. type: Plain text
  17526. #: guix-git/doc/guix.texi:10938
  17527. msgid "Conceptually, the @dfn{store} is the place where derivations that have been built successfully are stored---by default, @file{/gnu/store}. Sub-directories in the store are referred to as @dfn{store items} or sometimes @dfn{store paths}. The store has an associated database that contains information such as the store paths referred to by each store path, and the list of @emph{valid} store items---results of successful builds. This database resides in @file{@var{localstatedir}/guix/db}, where @var{localstatedir} is the state directory specified @i{via} @option{--localstatedir} at configure time, usually @file{/var}."
  17528. msgstr ""
  17529. #. type: Plain text
  17530. #: guix-git/doc/guix.texi:10943
  17531. msgid "The store is @emph{always} accessed by the daemon on behalf of its clients (@pxref{Invoking guix-daemon}). To manipulate the store, clients connect to the daemon over a Unix-domain socket, send requests to it, and read the result---these are remote procedure calls, or RPCs."
  17532. msgstr ""
  17533. #. type: quotation
  17534. #: guix-git/doc/guix.texi:10948
  17535. msgid "Users must @emph{never} modify files under @file{/gnu/store} directly. This would lead to inconsistencies and break the immutability assumptions of Guix's functional model (@pxref{Introduction})."
  17536. msgstr ""
  17537. #. type: quotation
  17538. #: guix-git/doc/guix.texi:10952
  17539. msgid "@xref{Invoking guix gc, @command{guix gc --verify}}, for information on how to check the integrity of the store and attempt recovery from accidental modifications."
  17540. msgstr ""
  17541. #. type: Plain text
  17542. #: guix-git/doc/guix.texi:10959
  17543. msgid "The @code{(guix store)} module provides procedures to connect to the daemon, and to perform RPCs. These are described below. By default, @code{open-connection}, and thus all the @command{guix} commands, connect to the local daemon or to the URI specified by the @env{GUIX_DAEMON_SOCKET} environment variable."
  17544. msgstr ""
  17545. #. type: defvr
  17546. #: guix-git/doc/guix.texi:10960
  17547. #, no-wrap
  17548. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  17549. msgstr ""
  17550. #. type: defvr
  17551. #: guix-git/doc/guix.texi:10965
  17552. msgid "When set, the value of this variable should be a file name or a URI designating the daemon endpoint. When it is a file name, it denotes a Unix-domain socket to connect to. In addition to file names, the supported URI schemes are:"
  17553. msgstr ""
  17554. #. type: code{#1}
  17555. #: guix-git/doc/guix.texi:10967 guix-git/doc/guix.texi:30118
  17556. #, no-wrap
  17557. msgid "file"
  17558. msgstr ""
  17559. #. type: itemx
  17560. #: guix-git/doc/guix.texi:10968
  17561. #, no-wrap
  17562. msgid "unix"
  17563. msgstr "unix"
  17564. #. type: table
  17565. #: guix-git/doc/guix.texi:10972
  17566. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  17567. msgstr ""
  17568. #. type: table
  17569. #: guix-git/doc/guix.texi:10981
  17570. msgid "These URIs denote connections over TCP/IP, without encryption nor authentication of the remote host. The URI must specify the host name and optionally a port number (by default port 44146 is used):"
  17571. msgstr ""
  17572. #. type: example
  17573. #: guix-git/doc/guix.texi:10984
  17574. #, no-wrap
  17575. msgid "guix://master.guix.example.org:1234\n"
  17576. msgstr ""
  17577. #. type: table
  17578. #: guix-git/doc/guix.texi:10989
  17579. msgid "This setup is suitable on local networks, such as clusters, where only trusted nodes may connect to the build daemon at @code{master.guix.example.org}."
  17580. msgstr ""
  17581. #. type: table
  17582. #: guix-git/doc/guix.texi:10993
  17583. msgid "The @option{--listen} option of @command{guix-daemon} can be used to instruct it to listen for TCP connections (@pxref{Invoking guix-daemon, @option{--listen}})."
  17584. msgstr ""
  17585. #. type: item
  17586. #: guix-git/doc/guix.texi:10994
  17587. #, no-wrap
  17588. msgid "ssh"
  17589. msgstr ""
  17590. #. type: cindex
  17591. #: guix-git/doc/guix.texi:10995
  17592. #, no-wrap
  17593. msgid "SSH access to build daemons"
  17594. msgstr ""
  17595. #. type: table
  17596. #: guix-git/doc/guix.texi:11001
  17597. msgid "These URIs allow you to connect to a remote daemon over SSH@. This feature requires Guile-SSH (@pxref{Requirements}) and a working @command{guile} binary in @env{PATH} on the destination machine. It supports public key and GSSAPI authentication. A typical URL might look like this:"
  17598. msgstr ""
  17599. #. type: example
  17600. #: guix-git/doc/guix.texi:11004
  17601. #, no-wrap
  17602. msgid "ssh://charlie@@guix.example.org:22\n"
  17603. msgstr ""
  17604. #. type: table
  17605. #: guix-git/doc/guix.texi:11008
  17606. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  17607. msgstr ""
  17608. #. type: defvr
  17609. #: guix-git/doc/guix.texi:11011
  17610. msgid "Additional URI schemes may be supported in the future."
  17611. msgstr ""
  17612. #. type: quotation
  17613. #: guix-git/doc/guix.texi:11018
  17614. msgid "The ability to connect to remote build daemons is considered experimental as of @value{VERSION}. Please get in touch with us to share any problems or suggestions you may have (@pxref{Contributing})."
  17615. msgstr ""
  17616. #. type: defun
  17617. #: guix-git/doc/guix.texi:11021
  17618. #, no-wrap
  17619. msgid "open-connection [uri] [#:reserve-space? #t]"
  17620. msgstr ""
  17621. #. type: defun
  17622. #: guix-git/doc/guix.texi:11026
  17623. msgid "Connect to the daemon over the Unix-domain socket at @var{uri} (a string). When @var{reserve-space?} is true, instruct it to reserve a little bit of extra space on the file system so that the garbage collector can still operate should the disk become full. Return a server object."
  17624. msgstr ""
  17625. #. type: defun
  17626. #: guix-git/doc/guix.texi:11029
  17627. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  17628. msgstr ""
  17629. #. type: defun
  17630. #: guix-git/doc/guix.texi:11031
  17631. #, no-wrap
  17632. msgid "close-connection server"
  17633. msgstr ""
  17634. #. type: defun
  17635. #: guix-git/doc/guix.texi:11033
  17636. msgid "Close the connection to @var{server}."
  17637. msgstr ""
  17638. #. type: defvar
  17639. #: guix-git/doc/guix.texi:11035
  17640. #, no-wrap
  17641. msgid "current-build-output-port"
  17642. msgstr ""
  17643. #. type: defvar
  17644. #: guix-git/doc/guix.texi:11038
  17645. msgid "This variable is bound to a SRFI-39 parameter, which refers to the port where build and error logs sent by the daemon should be written."
  17646. msgstr ""
  17647. #. type: Plain text
  17648. #: guix-git/doc/guix.texi:11042
  17649. msgid "Procedures that make RPCs all take a server object as their first argument."
  17650. msgstr ""
  17651. #. type: cindex
  17652. #: guix-git/doc/guix.texi:11043
  17653. #, no-wrap
  17654. msgid "invalid store items"
  17655. msgstr ""
  17656. #. type: defun
  17657. #: guix-git/doc/guix.texi:11044
  17658. #, no-wrap
  17659. msgid "valid-path? server path"
  17660. msgstr ""
  17661. #. type: defun
  17662. #: guix-git/doc/guix.texi:11049
  17663. msgid "Return @code{#t} when @var{path} designates a valid store item and @code{#f} otherwise (an invalid item may exist on disk but still be invalid, for instance because it is the result of an aborted or failed build)."
  17664. msgstr ""
  17665. #. type: defun
  17666. #: guix-git/doc/guix.texi:11052
  17667. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  17668. msgstr ""
  17669. #. type: defun
  17670. #: guix-git/doc/guix.texi:11054
  17671. #, no-wrap
  17672. msgid "add-text-to-store server name text [references]"
  17673. msgstr ""
  17674. #. type: defun
  17675. #: guix-git/doc/guix.texi:11058
  17676. msgid "Add @var{text} under file @var{name} in the store, and return its store path. @var{references} is the list of store paths referred to by the resulting store path."
  17677. msgstr ""
  17678. #. type: defun
  17679. #: guix-git/doc/guix.texi:11060
  17680. #, no-wrap
  17681. msgid "build-derivations store derivations [mode]"
  17682. msgstr ""
  17683. #. type: defun
  17684. #: guix-git/doc/guix.texi:11064
  17685. msgid "Build @var{derivations}, a list of @code{<derivation>} objects, @file{.drv} file names, or derivation/output pairs, using the specified @var{mode}---@code{(build-mode normal)} by default."
  17686. msgstr ""
  17687. #. type: Plain text
  17688. #: guix-git/doc/guix.texi:11070
  17689. msgid "Note that the @code{(guix monads)} module provides a monad as well as monadic versions of the above procedures, with the goal of making it more convenient to work with code that accesses the store (@pxref{The Store Monad})."
  17690. msgstr ""
  17691. #. type: i{#1}
  17692. #: guix-git/doc/guix.texi:11073
  17693. msgid "This section is currently incomplete."
  17694. msgstr ""
  17695. #. type: cindex
  17696. #: guix-git/doc/guix.texi:11077
  17697. #, no-wrap
  17698. msgid "derivations"
  17699. msgstr ""
  17700. #. type: Plain text
  17701. #: guix-git/doc/guix.texi:11081
  17702. msgid "Low-level build actions and the environment in which they are performed are represented by @dfn{derivations}. A derivation contains the following pieces of information:"
  17703. msgstr ""
  17704. #. type: itemize
  17705. #: guix-git/doc/guix.texi:11086
  17706. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  17707. msgstr ""
  17708. #. type: cindex
  17709. #: guix-git/doc/guix.texi:11088
  17710. #, no-wrap
  17711. msgid "build-time dependencies"
  17712. msgstr ""
  17713. #. type: cindex
  17714. #: guix-git/doc/guix.texi:11089
  17715. #, no-wrap
  17716. msgid "dependencies, build-time"
  17717. msgstr ""
  17718. #. type: itemize
  17719. #: guix-git/doc/guix.texi:11093
  17720. msgid "The inputs of the derivations---i.e., its build-time dependencies---which may be other derivations or plain files in the store (patches, build scripts, etc.)."
  17721. msgstr ""
  17722. #. type: itemize
  17723. #: guix-git/doc/guix.texi:11096
  17724. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  17725. msgstr ""
  17726. #. type: itemize
  17727. #: guix-git/doc/guix.texi:11100
  17728. msgid "The file name of a build script in the store, along with the arguments to be passed."
  17729. msgstr ""
  17730. #. type: itemize
  17731. #: guix-git/doc/guix.texi:11103
  17732. msgid "A list of environment variables to be defined."
  17733. msgstr ""
  17734. #. type: cindex
  17735. #: guix-git/doc/guix.texi:11106
  17736. #, no-wrap
  17737. msgid "derivation path"
  17738. msgstr ""
  17739. #. type: Plain text
  17740. #: guix-git/doc/guix.texi:11114
  17741. msgid "Derivations allow clients of the daemon to communicate build actions to the store. They exist in two forms: as an in-memory representation, both on the client- and daemon-side, and as files in the store whose name end in @file{.drv}---these files are referred to as @dfn{derivation paths}. Derivations paths can be passed to the @code{build-derivations} procedure to perform the build actions they prescribe (@pxref{The Store})."
  17742. msgstr ""
  17743. #. type: cindex
  17744. #: guix-git/doc/guix.texi:11115
  17745. #, no-wrap
  17746. msgid "fixed-output derivations"
  17747. msgstr ""
  17748. #. type: Plain text
  17749. #: guix-git/doc/guix.texi:11122
  17750. msgid "Operations such as file downloads and version-control checkouts for which the expected content hash is known in advance are modeled as @dfn{fixed-output derivations}. Unlike regular derivations, the outputs of a fixed-output derivation are independent of its inputs---e.g., a source code download produces the same result regardless of the download method and tools being used."
  17751. msgstr ""
  17752. #. type: item
  17753. #: guix-git/doc/guix.texi:11123 guix-git/doc/guix.texi:15299
  17754. #, no-wrap
  17755. msgid "references"
  17756. msgstr ""
  17757. #. type: cindex
  17758. #: guix-git/doc/guix.texi:11124
  17759. #, no-wrap
  17760. msgid "run-time dependencies"
  17761. msgstr ""
  17762. #. type: cindex
  17763. #: guix-git/doc/guix.texi:11125
  17764. #, no-wrap
  17765. msgid "dependencies, run-time"
  17766. msgstr ""
  17767. #. type: Plain text
  17768. #: guix-git/doc/guix.texi:11132
  17769. msgid "The outputs of derivations---i.e., the build results---have a set of @dfn{references}, as reported by the @code{references} RPC or the @command{guix gc --references} command (@pxref{Invoking guix gc}). References are the set of run-time dependencies of the build results. References are a subset of the inputs of the derivation; this subset is automatically computed by the build daemon by scanning all the files in the outputs."
  17770. msgstr ""
  17771. #. type: Plain text
  17772. #: guix-git/doc/guix.texi:11137
  17773. msgid "The @code{(guix derivations)} module provides a representation of derivations as Scheme objects, along with procedures to create and otherwise manipulate derivations. The lowest-level primitive to create a derivation is the @code{derivation} procedure:"
  17774. msgstr ""
  17775. #. type: defun
  17776. #: guix-git/doc/guix.texi:11138
  17777. #, no-wrap
  17778. msgid "derivation store name builder args @"
  17779. msgstr ""
  17780. #. type: defun
  17781. #: guix-git/doc/guix.texi:11147
  17782. msgid "[#:outputs '(\"out\")] [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:inputs '()] [#:env-vars '()] @ [#:system (%current-system)] [#:references-graphs #f] @ [#:allowed-references #f] [#:disallowed-references #f] @ [#:leaked-env-vars #f] [#:local-build? #f] @ [#:substitutable? #t] [#:properties '()] Build a derivation with the given arguments, and return the resulting @code{<derivation>} object."
  17783. msgstr ""
  17784. #. type: defun
  17785. #: guix-git/doc/guix.texi:11154
  17786. msgid "When @var{hash} and @var{hash-algo} are given, a @dfn{fixed-output derivation} is created---i.e., one whose result is known in advance, such as a file download. If, in addition, @var{recursive?} is true, then that fixed output may be an executable file or a directory and @var{hash} must be the hash of an archive containing this output."
  17787. msgstr ""
  17788. #. type: defun
  17789. #: guix-git/doc/guix.texi:11159
  17790. msgid "When @var{references-graphs} is true, it must be a list of file name/store path pairs. In that case, the reference graph of each store path is exported in the build environment in the corresponding file, in a simple text format."
  17791. msgstr ""
  17792. #. type: defun
  17793. #: guix-git/doc/guix.texi:11164
  17794. msgid "When @var{allowed-references} is true, it must be a list of store items or outputs that the derivation's output may refer to. Likewise, @var{disallowed-references}, if true, must be a list of things the outputs may @emph{not} refer to."
  17795. msgstr ""
  17796. #. type: defun
  17797. #: guix-git/doc/guix.texi:11171
  17798. msgid "When @var{leaked-env-vars} is true, it must be a list of strings denoting environment variables that are allowed to ``leak'' from the daemon's environment to the build environment. This is only applicable to fixed-output derivations---i.e., when @var{hash} is true. The main use is to allow variables such as @code{http_proxy} to be passed to derivations that download files."
  17799. msgstr ""
  17800. #. type: defun
  17801. #: guix-git/doc/guix.texi:11176
  17802. msgid "When @var{local-build?} is true, declare that the derivation is not a good candidate for offloading and should rather be built locally (@pxref{Daemon Offload Setup}). This is the case for small derivations where the costs of data transfers would outweigh the benefits."
  17803. msgstr ""
  17804. #. type: defun
  17805. #: guix-git/doc/guix.texi:11181
  17806. msgid "When @var{substitutable?} is false, declare that substitutes of the derivation's output should not be used (@pxref{Substitutes}). This is useful, for instance, when building packages that capture details of the host CPU instruction set."
  17807. msgstr ""
  17808. #. type: defun
  17809. #: guix-git/doc/guix.texi:11184
  17810. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  17811. msgstr ""
  17812. #. type: Plain text
  17813. #: guix-git/doc/guix.texi:11190
  17814. msgid "Here's an example with a shell script as its builder, assuming @var{store} is an open connection to the daemon, and @var{bash} points to a Bash executable in the store:"
  17815. msgstr ""
  17816. #. type: lisp
  17817. #: guix-git/doc/guix.texi:11195
  17818. #, no-wrap
  17819. msgid ""
  17820. "(use-modules (guix utils)\n"
  17821. " (guix store)\n"
  17822. " (guix derivations))\n"
  17823. "\n"
  17824. msgstr ""
  17825. #. type: lisp
  17826. #: guix-git/doc/guix.texi:11204
  17827. #, no-wrap
  17828. msgid ""
  17829. "(let ((builder ; add the Bash script to the store\n"
  17830. " (add-text-to-store store \"my-builder.sh\"\n"
  17831. " \"echo hello world > $out\\n\" '())))\n"
  17832. " (derivation store \"foo\"\n"
  17833. " bash `(\"-e\" ,builder)\n"
  17834. " #:inputs `((,bash) (,builder))\n"
  17835. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  17836. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  17837. msgstr ""
  17838. #. type: Plain text
  17839. #: guix-git/doc/guix.texi:11211
  17840. msgid "As can be guessed, this primitive is cumbersome to use directly. A better approach is to write build scripts in Scheme, of course! The best course of action for that is to write the build code as a ``G-expression'', and to pass it to @code{gexp->derivation}. For more information, @pxref{G-Expressions}."
  17841. msgstr ""
  17842. #. type: Plain text
  17843. #: guix-git/doc/guix.texi:11216
  17844. msgid "Once upon a time, @code{gexp->derivation} did not exist and constructing derivations with build code written in Scheme was achieved with @code{build-expression->derivation}, documented below. This procedure is now deprecated in favor of the much nicer @code{gexp->derivation}."
  17845. msgstr ""
  17846. #. type: defun
  17847. #: guix-git/doc/guix.texi:11217
  17848. #, no-wrap
  17849. msgid "build-expression->derivation store name exp @"
  17850. msgstr ""
  17851. #. type: defun
  17852. #: guix-git/doc/guix.texi:11232
  17853. msgid "[#:system (%current-system)] [#:inputs '()] @ [#:outputs '(\"out\")] [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:env-vars '()] [#:modules '()] @ [#:references-graphs #f] [#:allowed-references #f] @ [#:disallowed-references #f] @ [#:local-build? #f] [#:substitutable? #t] [#:guile-for-build #f] Return a derivation that executes Scheme expression @var{exp} as a builder for derivation @var{name}. @var{inputs} must be a list of @code{(name drv-path sub-drv)} tuples; when @var{sub-drv} is omitted, @code{\"out\"} is assumed. @var{modules} is a list of names of Guile modules from the current search path to be copied in the store, compiled, and made available in the load path during the execution of @var{exp}---e.g., @code{((guix build utils) (guix build gnu-build-system))}."
  17854. msgstr ""
  17855. #. type: defun
  17856. #: guix-git/doc/guix.texi:11240
  17857. msgid "@var{exp} is evaluated in an environment where @code{%outputs} is bound to a list of output/path pairs, and where @code{%build-inputs} is bound to a list of string/output-path pairs made from @var{inputs}. Optionally, @var{env-vars} is a list of string pairs specifying the name and value of environment variables visible to the builder. The builder terminates by passing the result of @var{exp} to @code{exit}; thus, when @var{exp} returns @code{#f}, the build is considered to have failed."
  17858. msgstr ""
  17859. #. type: defun
  17860. #: guix-git/doc/guix.texi:11244
  17861. msgid "@var{exp} is built using @var{guile-for-build} (a derivation). When @var{guile-for-build} is omitted or is @code{#f}, the value of the @code{%guile-for-build} fluid is used instead."
  17862. msgstr ""
  17863. #. type: defun
  17864. #: guix-git/doc/guix.texi:11249
  17865. msgid "See the @code{derivation} procedure for the meaning of @var{references-graphs}, @var{allowed-references}, @var{disallowed-references}, @var{local-build?}, and @var{substitutable?}."
  17866. msgstr ""
  17867. #. type: Plain text
  17868. #: guix-git/doc/guix.texi:11254
  17869. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  17870. msgstr ""
  17871. #. type: lisp
  17872. #: guix-git/doc/guix.texi:11262
  17873. #, no-wrap
  17874. msgid ""
  17875. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  17876. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  17877. " (call-with-output-file (string-append out \"/test\")\n"
  17878. " (lambda (p)\n"
  17879. " (display '(hello guix) p))))))\n"
  17880. " (build-expression->derivation store \"goo\" builder))\n"
  17881. "\n"
  17882. msgstr ""
  17883. #. type: lisp
  17884. #: guix-git/doc/guix.texi:11264
  17885. #, no-wrap
  17886. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  17887. msgstr ""
  17888. #. type: cindex
  17889. #: guix-git/doc/guix.texi:11270
  17890. #, no-wrap
  17891. msgid "monad"
  17892. msgstr ""
  17893. #. type: Plain text
  17894. #: guix-git/doc/guix.texi:11276
  17895. msgid "The procedures that operate on the store described in the previous sections all take an open connection to the build daemon as their first argument. Although the underlying model is functional, they either have side effects or depend on the current state of the store."
  17896. msgstr ""
  17897. #. type: Plain text
  17898. #: guix-git/doc/guix.texi:11282
  17899. msgid "The former is inconvenient: the connection to the build daemon has to be carried around in all those functions, making it impossible to compose functions that do not take that parameter with functions that do. The latter can be problematic: since store operations have side effects and/or depend on external state, they have to be properly sequenced."
  17900. msgstr ""
  17901. #. type: cindex
  17902. #: guix-git/doc/guix.texi:11283
  17903. #, no-wrap
  17904. msgid "monadic values"
  17905. msgstr ""
  17906. #. type: cindex
  17907. #: guix-git/doc/guix.texi:11284
  17908. #, no-wrap
  17909. msgid "monadic functions"
  17910. msgstr ""
  17911. #. type: Plain text
  17912. #: guix-git/doc/guix.texi:11294
  17913. msgid "This is where the @code{(guix monads)} module comes in. This module provides a framework for working with @dfn{monads}, and a particularly useful monad for our uses, the @dfn{store monad}. Monads are a construct that allows two things: associating ``context'' with values (in our case, the context is the store), and building sequences of computations (here computations include accesses to the store). Values in a monad---values that carry this additional context---are called @dfn{monadic values}; procedures that return such values are called @dfn{monadic procedures}."
  17914. msgstr ""
  17915. #. type: Plain text
  17916. #: guix-git/doc/guix.texi:11296
  17917. msgid "Consider this ``normal'' procedure:"
  17918. msgstr ""
  17919. #. type: lisp
  17920. #: guix-git/doc/guix.texi:11305
  17921. #, no-wrap
  17922. msgid ""
  17923. "(define (sh-symlink store)\n"
  17924. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  17925. " (let* ((drv (package-derivation store bash))\n"
  17926. " (out (derivation->output-path drv))\n"
  17927. " (sh (string-append out \"/bin/bash\")))\n"
  17928. " (build-expression->derivation store \"sh\"\n"
  17929. " `(symlink ,sh %output))))\n"
  17930. msgstr ""
  17931. #. type: Plain text
  17932. #: guix-git/doc/guix.texi:11309
  17933. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  17934. msgstr ""
  17935. #. type: lisp
  17936. #: guix-git/doc/guix.texi:11317
  17937. #, no-wrap
  17938. msgid ""
  17939. "(define (sh-symlink)\n"
  17940. " ;; Same, but return a monadic value.\n"
  17941. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  17942. " (gexp->derivation \"sh\"\n"
  17943. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  17944. " #$output))))\n"
  17945. msgstr ""
  17946. #. type: Plain text
  17947. #: guix-git/doc/guix.texi:11324
  17948. msgid "There are several things to note in the second version: the @code{store} parameter is now implicit and is ``threaded'' in the calls to the @code{package->derivation} and @code{gexp->derivation} monadic procedures, and the monadic value returned by @code{package->derivation} is @dfn{bound} using @code{mlet} instead of plain @code{let}."
  17949. msgstr ""
  17950. #. type: Plain text
  17951. #: guix-git/doc/guix.texi:11328
  17952. msgid "As it turns out, the call to @code{package->derivation} can even be omitted since it will take place implicitly, as we will see later (@pxref{G-Expressions}):"
  17953. msgstr ""
  17954. #. type: lisp
  17955. #: guix-git/doc/guix.texi:11334
  17956. #, no-wrap
  17957. msgid ""
  17958. "(define (sh-symlink)\n"
  17959. " (gexp->derivation \"sh\"\n"
  17960. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  17961. " #$output)))\n"
  17962. msgstr ""
  17963. #. type: Plain text
  17964. #: guix-git/doc/guix.texi:11343
  17965. msgid "Calling the monadic @code{sh-symlink} has no effect. As someone once said, ``you exit a monad like you exit a building on fire: by running''. So, to exit the monad and get the desired effect, one must use @code{run-with-store}:"
  17966. msgstr ""
  17967. #. type: lisp
  17968. #: guix-git/doc/guix.texi:11347
  17969. #, no-wrap
  17970. msgid ""
  17971. "(run-with-store (open-connection) (sh-symlink))\n"
  17972. "@result{} /gnu/store/...-sh-symlink\n"
  17973. msgstr ""
  17974. #. type: Plain text
  17975. #: guix-git/doc/guix.texi:11354
  17976. msgid "Note that the @code{(guix monad-repl)} module extends the Guile REPL with new ``commands'' to make it easier to deal with monadic procedures: @code{run-in-store}, and @code{enter-store-monad} (@pxref{Using Guix Interactively}). The former is used to ``run'' a single monadic value through the store:"
  17977. msgstr ""
  17978. #. type: example
  17979. #: guix-git/doc/guix.texi:11358
  17980. #, no-wrap
  17981. msgid ""
  17982. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  17983. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  17984. msgstr ""
  17985. #. type: Plain text
  17986. #: guix-git/doc/guix.texi:11362
  17987. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  17988. msgstr ""
  17989. #. type: example
  17990. #: guix-git/doc/guix.texi:11371
  17991. #, no-wrap
  17992. msgid ""
  17993. "scheme@@(guile-user)> ,enter-store-monad\n"
  17994. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  17995. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  17996. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  17997. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  17998. "store-monad@@(guile-user) [1]> ,q\n"
  17999. "scheme@@(guile-user)>\n"
  18000. msgstr ""
  18001. #. type: Plain text
  18002. #: guix-git/doc/guix.texi:11376
  18003. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  18004. msgstr ""
  18005. #. type: Plain text
  18006. #: guix-git/doc/guix.texi:11379
  18007. msgid "Other meta-commands are available at the REPL, such as @code{,build} to build a file-like object (@pxref{Using Guix Interactively})."
  18008. msgstr ""
  18009. #. type: Plain text
  18010. #: guix-git/doc/guix.texi:11382
  18011. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  18012. msgstr ""
  18013. #. type: defmac
  18014. #: guix-git/doc/guix.texi:11383
  18015. #, no-wrap
  18016. msgid "with-monad monad body @dots{}"
  18017. msgstr ""
  18018. #. type: defmac
  18019. #: guix-git/doc/guix.texi:11386
  18020. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  18021. msgstr ""
  18022. #. type: defmac
  18023. #: guix-git/doc/guix.texi:11388
  18024. #, no-wrap
  18025. msgid "return val"
  18026. msgstr ""
  18027. #. type: defmac
  18028. #: guix-git/doc/guix.texi:11390
  18029. msgid "Return a monadic value that encapsulates @var{val}."
  18030. msgstr ""
  18031. #. type: defmac
  18032. #: guix-git/doc/guix.texi:11392
  18033. #, no-wrap
  18034. msgid ">>= mval mproc @dots{}"
  18035. msgstr ""
  18036. #. type: defmac
  18037. #: guix-git/doc/guix.texi:11399
  18038. msgid "@dfn{Bind} monadic value @var{mval}, passing its ``contents'' to monadic procedures @var{mproc}@dots{}@footnote{This operation is commonly referred to as ``bind'', but that name denotes an unrelated procedure in Guile. Thus we use this somewhat cryptic symbol inherited from the Haskell language.}. There can be one @var{mproc} or several of them, as in this example:"
  18039. msgstr ""
  18040. #. type: lisp
  18041. #: guix-git/doc/guix.texi:11407
  18042. #, no-wrap
  18043. msgid ""
  18044. "(run-with-state\n"
  18045. " (with-monad %state-monad\n"
  18046. " (>>= (return 1)\n"
  18047. " (lambda (x) (return (+ 1 x)))\n"
  18048. " (lambda (x) (return (* 2 x)))))\n"
  18049. " 'some-state)\n"
  18050. "\n"
  18051. msgstr ""
  18052. #. type: lisp
  18053. #: guix-git/doc/guix.texi:11410
  18054. #, no-wrap
  18055. msgid ""
  18056. "@result{} 4\n"
  18057. "@result{} some-state\n"
  18058. msgstr ""
  18059. #. type: defmac
  18060. #: guix-git/doc/guix.texi:11413
  18061. #, no-wrap
  18062. msgid "mlet monad ((var mval) @dots{}) body @dots{}"
  18063. msgstr ""
  18064. #. type: defmacx
  18065. #: guix-git/doc/guix.texi:11414
  18066. #, no-wrap
  18067. msgid "mlet* monad ((var mval) @dots{}) body @dots{}"
  18068. msgstr ""
  18069. #. type: defmac
  18070. #: guix-git/doc/guix.texi:11425
  18071. msgid "Bind the variables @var{var} to the monadic values @var{mval} in @var{body}, which is a sequence of expressions. As with the bind operator, this can be thought of as ``unpacking'' the raw, non-monadic value ``contained'' in @var{mval} and making @var{var} refer to that raw, non-monadic value within the scope of the @var{body}. The form (@var{var} -> @var{val}) binds @var{var} to the ``normal'' value @var{val}, as per @code{let}. The binding operations occur in sequence from left to right. The last expression of @var{body} must be a monadic expression, and its result will become the result of the @code{mlet} or @code{mlet*} when run in the @var{monad}."
  18072. msgstr ""
  18073. #. type: defmac
  18074. #: guix-git/doc/guix.texi:11428
  18075. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  18076. msgstr ""
  18077. #. type: defmac
  18078. #: guix-git/doc/guix.texi:11430
  18079. #, no-wrap
  18080. msgid "mbegin monad mexp @dots{}"
  18081. msgstr ""
  18082. #. type: defmac
  18083. #: guix-git/doc/guix.texi:11434
  18084. msgid "Bind @var{mexp} and the following monadic expressions in sequence, returning the result of the last expression. Every expression in the sequence must be a monadic expression."
  18085. msgstr ""
  18086. #. type: defmac
  18087. #: guix-git/doc/guix.texi:11438
  18088. msgid "This is akin to @code{mlet}, except that the return values of the monadic expressions are ignored. In that sense, it is analogous to @code{begin}, but applied to monadic expressions."
  18089. msgstr ""
  18090. #. type: defmac
  18091. #: guix-git/doc/guix.texi:11440
  18092. #, no-wrap
  18093. msgid "mwhen condition mexp0 mexp* @dots{}"
  18094. msgstr ""
  18095. #. type: defmac
  18096. #: guix-git/doc/guix.texi:11445
  18097. msgid "When @var{condition} is true, evaluate the sequence of monadic expressions @var{mexp0}..@var{mexp*} as in an @code{mbegin}. When @var{condition} is false, return @code{*unspecified*} in the current monad. Every expression in the sequence must be a monadic expression."
  18098. msgstr ""
  18099. #. type: defmac
  18100. #: guix-git/doc/guix.texi:11447
  18101. #, no-wrap
  18102. msgid "munless condition mexp0 mexp* @dots{}"
  18103. msgstr ""
  18104. #. type: defmac
  18105. #: guix-git/doc/guix.texi:11452
  18106. msgid "When @var{condition} is false, evaluate the sequence of monadic expressions @var{mexp0}..@var{mexp*} as in an @code{mbegin}. When @var{condition} is true, return @code{*unspecified*} in the current monad. Every expression in the sequence must be a monadic expression."
  18107. msgstr ""
  18108. #. type: cindex
  18109. #: guix-git/doc/guix.texi:11454
  18110. #, no-wrap
  18111. msgid "state monad"
  18112. msgstr ""
  18113. #. type: Plain text
  18114. #: guix-git/doc/guix.texi:11458
  18115. msgid "The @code{(guix monads)} module provides the @dfn{state monad}, which allows an additional value---the state---to be @emph{threaded} through monadic procedure calls."
  18116. msgstr ""
  18117. #. type: defvar
  18118. #: guix-git/doc/guix.texi:11459
  18119. #, no-wrap
  18120. msgid "%state-monad"
  18121. msgstr ""
  18122. #. type: defvar
  18123. #: guix-git/doc/guix.texi:11462
  18124. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  18125. msgstr ""
  18126. #. type: defvar
  18127. #: guix-git/doc/guix.texi:11466
  18128. msgid "Consider the example below. The @code{square} procedure returns a value in the state monad. It returns the square of its argument, but also increments the current state value:"
  18129. msgstr ""
  18130. #. type: lisp
  18131. #: guix-git/doc/guix.texi:11473
  18132. #, no-wrap
  18133. msgid ""
  18134. "(define (square x)\n"
  18135. " (mlet %state-monad ((count (current-state)))\n"
  18136. " (mbegin %state-monad\n"
  18137. " (set-current-state (+ 1 count))\n"
  18138. " (return (* x x)))))\n"
  18139. "\n"
  18140. msgstr ""
  18141. #. type: lisp
  18142. #: guix-git/doc/guix.texi:11477
  18143. #, no-wrap
  18144. msgid ""
  18145. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  18146. "@result{} (0 1 4)\n"
  18147. "@result{} 3\n"
  18148. msgstr ""
  18149. #. type: defvar
  18150. #: guix-git/doc/guix.texi:11481
  18151. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  18152. msgstr ""
  18153. #. type: deffn
  18154. #: guix-git/doc/guix.texi:11483
  18155. #, no-wrap
  18156. msgid "{Monadic Procedure} current-state"
  18157. msgstr ""
  18158. #. type: deffn
  18159. #: guix-git/doc/guix.texi:11485
  18160. msgid "Return the current state as a monadic value."
  18161. msgstr ""
  18162. #. type: deffn
  18163. #: guix-git/doc/guix.texi:11487
  18164. #, no-wrap
  18165. msgid "{Monadic Procedure} set-current-state @var{value}"
  18166. msgstr ""
  18167. #. type: deffn
  18168. #: guix-git/doc/guix.texi:11490
  18169. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  18170. msgstr ""
  18171. #. type: deffn
  18172. #: guix-git/doc/guix.texi:11492
  18173. #, no-wrap
  18174. msgid "{Monadic Procedure} state-push @var{value}"
  18175. msgstr ""
  18176. #. type: deffn
  18177. #: guix-git/doc/guix.texi:11495
  18178. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  18179. msgstr ""
  18180. #. type: deffn
  18181. #: guix-git/doc/guix.texi:11497
  18182. #, no-wrap
  18183. msgid "{Monadic Procedure} state-pop"
  18184. msgstr ""
  18185. #. type: deffn
  18186. #: guix-git/doc/guix.texi:11500
  18187. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  18188. msgstr ""
  18189. #. type: defun
  18190. #: guix-git/doc/guix.texi:11502
  18191. #, no-wrap
  18192. msgid "run-with-state mval [state]"
  18193. msgstr ""
  18194. #. type: defun
  18195. #: guix-git/doc/guix.texi:11505
  18196. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  18197. msgstr ""
  18198. #. type: Plain text
  18199. #: guix-git/doc/guix.texi:11509
  18200. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  18201. msgstr ""
  18202. #. type: defvar
  18203. #: guix-git/doc/guix.texi:11510
  18204. #, no-wrap
  18205. msgid "%store-monad"
  18206. msgstr ""
  18207. #. type: defvar
  18208. #: guix-git/doc/guix.texi:11512
  18209. msgid "The store monad---an alias for @code{%state-monad}."
  18210. msgstr ""
  18211. #. type: defvar
  18212. #: guix-git/doc/guix.texi:11516
  18213. msgid "Values in the store monad encapsulate accesses to the store. When its effect is needed, a value of the store monad must be ``evaluated'' by passing it to the @code{run-with-store} procedure (see below)."
  18214. msgstr ""
  18215. #. type: defun
  18216. #: guix-git/doc/guix.texi:11518
  18217. #, no-wrap
  18218. msgid "run-with-store store mval @"
  18219. msgstr ""
  18220. #. type: defun
  18221. #: guix-git/doc/guix.texi:11522
  18222. msgid "[#:guile-for-build] [#:system (%current-system)] Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  18223. msgstr ""
  18224. #. type: deffn
  18225. #: guix-git/doc/guix.texi:11524
  18226. #, no-wrap
  18227. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  18228. msgstr ""
  18229. #. type: deffn
  18230. #: guix-git/doc/guix.texi:11528
  18231. msgid "Return as a monadic value the absolute file name in the store of the file containing @var{text}, a string. @var{references} is a list of store items that the resulting text file refers to; it defaults to the empty list."
  18232. msgstr ""
  18233. #. type: deffn
  18234. #: guix-git/doc/guix.texi:11530
  18235. #, no-wrap
  18236. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  18237. msgstr ""
  18238. #. type: deffn
  18239. #: guix-git/doc/guix.texi:11534
  18240. msgid "Return as a monadic value the absolute file name in the store of the file containing @var{data}, a bytevector. @var{references} is a list of store items that the resulting binary file refers to; it defaults to the empty list."
  18241. msgstr ""
  18242. #. type: deffn
  18243. #: guix-git/doc/guix.texi:11536
  18244. #, no-wrap
  18245. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  18246. msgstr ""
  18247. #. type: deffn
  18248. #: guix-git/doc/guix.texi:11541
  18249. msgid "[#:recursive? #t] [#:select? (const #t)] Return the name of @var{file} once interned in the store. Use @var{name} as its store name, or the basename of @var{file} if @var{name} is omitted."
  18250. msgstr ""
  18251. #. type: defun
  18252. #: guix-git/doc/guix.texi:11545 guix-git/doc/guix.texi:11967
  18253. msgid "When @var{recursive?} is true, the contents of @var{file} are added recursively; if @var{file} designates a flat file and @var{recursive?} is true, its contents are added, and its permission bits are kept."
  18254. msgstr ""
  18255. #. type: defun
  18256. #: guix-git/doc/guix.texi:11550 guix-git/doc/guix.texi:11972
  18257. msgid "When @var{recursive?} is true, call @code{(@var{select?} @var{file} @var{stat})} for each directory entry, where @var{file} is the entry's absolute file name and @var{stat} is the result of @code{lstat}; exclude entries for which @var{select?} does not return true."
  18258. msgstr ""
  18259. #. type: deffn
  18260. #: guix-git/doc/guix.texi:11552
  18261. msgid "The example below adds a file to the store, under two different names:"
  18262. msgstr ""
  18263. #. type: lisp
  18264. #: guix-git/doc/guix.texi:11558
  18265. #, no-wrap
  18266. msgid ""
  18267. "(run-with-store (open-connection)\n"
  18268. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  18269. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  18270. " (return (list a b))))\n"
  18271. "\n"
  18272. msgstr ""
  18273. #. type: lisp
  18274. #: guix-git/doc/guix.texi:11560
  18275. #, no-wrap
  18276. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  18277. msgstr ""
  18278. #. type: Plain text
  18279. #: guix-git/doc/guix.texi:11566
  18280. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  18281. msgstr ""
  18282. #. type: deffn
  18283. #: guix-git/doc/guix.texi:11567
  18284. #, no-wrap
  18285. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  18286. msgstr ""
  18287. #. type: deffn
  18288. #: guix-git/doc/guix.texi:11575
  18289. msgid "[#:system (%current-system)] [#:target #f] @ [#:output \"out\"] Return as a monadic value in the absolute file name of @var{file} within the @var{output} directory of @var{package}. When @var{file} is omitted, return the name of the @var{output} directory of @var{package}. When @var{target} is true, use it as a cross-compilation target triplet."
  18290. msgstr ""
  18291. #. type: deffn
  18292. #: guix-git/doc/guix.texi:11579
  18293. msgid "Note that this procedure does @emph{not} build @var{package}. Thus, the result might or might not designate an existing file. We recommend not using this procedure unless you know what you are doing."
  18294. msgstr ""
  18295. #. type: deffn
  18296. #: guix-git/doc/guix.texi:11581
  18297. #, no-wrap
  18298. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  18299. msgstr ""
  18300. #. type: deffnx
  18301. #: guix-git/doc/guix.texi:11582
  18302. #, no-wrap
  18303. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  18304. msgstr ""
  18305. #. type: deffn
  18306. #: guix-git/doc/guix.texi:11586
  18307. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  18308. msgstr ""
  18309. #. type: cindex
  18310. #: guix-git/doc/guix.texi:11592
  18311. #, no-wrap
  18312. msgid "G-expression"
  18313. msgstr ""
  18314. #. type: cindex
  18315. #: guix-git/doc/guix.texi:11593
  18316. #, no-wrap
  18317. msgid "build code quoting"
  18318. msgstr ""
  18319. #. type: Plain text
  18320. #: guix-git/doc/guix.texi:11599
  18321. msgid "So we have ``derivations'', which represent a sequence of build actions to be performed to produce an item in the store (@pxref{Derivations}). These build actions are performed when asking the daemon to actually build the derivations; they are run by the daemon in a container (@pxref{Invoking guix-daemon})."
  18322. msgstr ""
  18323. #. type: cindex
  18324. #: guix-git/doc/guix.texi:11602
  18325. #, no-wrap
  18326. msgid "strata of code"
  18327. msgstr ""
  18328. #. type: Plain text
  18329. #: guix-git/doc/guix.texi:11614
  18330. msgid "It should come as no surprise that we like to write these build actions in Scheme. When we do that, we end up with two @dfn{strata} of Scheme code@footnote{The term @dfn{stratum} in this context was coined by Manuel Serrano et al.@: in the context of their work on Hop. Oleg Kiselyov, who has written insightful @url{http://okmij.org/ftp/meta-programming/#meta-scheme, essays and code on this topic}, refers to this kind of code generation as @dfn{staging}.}: the ``host code''---code that defines packages, talks to the daemon, etc.---and the ``build code''---code that actually performs build actions, such as making directories, invoking @command{make}, and so on (@pxref{Build Phases})."
  18331. msgstr ""
  18332. #. type: Plain text
  18333. #: guix-git/doc/guix.texi:11621
  18334. msgid "To describe a derivation and its build actions, one typically needs to embed build code inside host code. It boils down to manipulating build code as data, and the homoiconicity of Scheme---code has a direct representation as data---comes in handy for that. But we need more than the normal @code{quasiquote} mechanism in Scheme to construct build expressions."
  18335. msgstr ""
  18336. #. type: Plain text
  18337. #: guix-git/doc/guix.texi:11630
  18338. msgid "The @code{(guix gexp)} module implements @dfn{G-expressions}, a form of S-expressions adapted to build expressions. G-expressions, or @dfn{gexps}, consist essentially of three syntactic forms: @code{gexp}, @code{ungexp}, and @code{ungexp-splicing} (or simply: @code{#~}, @code{#$}, and @code{#$@@}), which are comparable to @code{quasiquote}, @code{unquote}, and @code{unquote-splicing}, respectively (@pxref{Expression Syntax, @code{quasiquote},, guile, GNU Guile Reference Manual}). However, there are major differences:"
  18339. msgstr ""
  18340. #. type: itemize
  18341. #: guix-git/doc/guix.texi:11635
  18342. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  18343. msgstr ""
  18344. #. type: itemize
  18345. #: guix-git/doc/guix.texi:11640
  18346. msgid "When a high-level object such as a package or derivation is unquoted inside a gexp, the result is as if its output file name had been introduced."
  18347. msgstr ""
  18348. #. type: itemize
  18349. #: guix-git/doc/guix.texi:11645
  18350. msgid "Gexps carry information about the packages or derivations they refer to, and these dependencies are automatically added as inputs to the build processes that use them."
  18351. msgstr ""
  18352. #. type: cindex
  18353. #: guix-git/doc/guix.texi:11647 guix-git/doc/guix.texi:12199
  18354. #, no-wrap
  18355. msgid "lowering, of high-level objects in gexps"
  18356. msgstr ""
  18357. #. type: Plain text
  18358. #: guix-git/doc/guix.texi:11657
  18359. msgid "This mechanism is not limited to package and derivation objects: @dfn{compilers} able to ``lower'' other high-level objects to derivations or files in the store can be defined, such that these objects can also be inserted into gexps. For example, a useful type of high-level objects that can be inserted in a gexp is ``file-like objects'', which make it easy to add files to the store and to refer to them in derivations and such (see @code{local-file} and @code{plain-file} below)."
  18360. msgstr ""
  18361. #. type: Plain text
  18362. #: guix-git/doc/guix.texi:11659
  18363. msgid "To illustrate the idea, here is an example of a gexp:"
  18364. msgstr ""
  18365. #. type: lisp
  18366. #: guix-git/doc/guix.texi:11667
  18367. #, no-wrap
  18368. msgid ""
  18369. "(define build-exp\n"
  18370. " #~(begin\n"
  18371. " (mkdir #$output)\n"
  18372. " (chdir #$output)\n"
  18373. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  18374. " \"list-files\")))\n"
  18375. msgstr ""
  18376. #. type: Plain text
  18377. #: guix-git/doc/guix.texi:11672
  18378. msgid "This gexp can be passed to @code{gexp->derivation}; we obtain a derivation that builds a directory containing exactly one symlink to @file{/gnu/store/@dots{}-coreutils-8.22/bin/ls}:"
  18379. msgstr ""
  18380. #. type: lisp
  18381. #: guix-git/doc/guix.texi:11675
  18382. #, no-wrap
  18383. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  18384. msgstr ""
  18385. #. type: Plain text
  18386. #: guix-git/doc/guix.texi:11683
  18387. msgid "As one would expect, the @code{\"/gnu/store/@dots{}-coreutils-8.22\"} string is substituted to the reference to the @var{coreutils} package in the actual build code, and @var{coreutils} is automatically made an input to the derivation. Likewise, @code{#$output} (equivalent to @code{(ungexp output)}) is replaced by a string containing the directory name of the output of the derivation."
  18388. msgstr ""
  18389. #. type: cindex
  18390. #: guix-git/doc/guix.texi:11684
  18391. #, no-wrap
  18392. msgid "cross compilation"
  18393. msgstr ""
  18394. #. type: Plain text
  18395. #: guix-git/doc/guix.texi:11690
  18396. msgid "In a cross-compilation context, it is useful to distinguish between references to the @emph{native} build of a package---that can run on the host---versus references to cross builds of a package. To that end, the @code{#+} plays the same role as @code{#$}, but is a reference to a native package build:"
  18397. msgstr ""
  18398. #. type: lisp
  18399. #: guix-git/doc/guix.texi:11701
  18400. #, no-wrap
  18401. msgid ""
  18402. "(gexp->derivation \"vi\"\n"
  18403. " #~(begin\n"
  18404. " (mkdir #$output)\n"
  18405. " (mkdir (string-append #$output \"/bin\"))\n"
  18406. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  18407. " \"-s\"\n"
  18408. " (string-append #$emacs \"/bin/emacs\")\n"
  18409. " (string-append #$output \"/bin/vi\")))\n"
  18410. " #:target \"aarch64-linux-gnu\")\n"
  18411. msgstr ""
  18412. #. type: Plain text
  18413. #: guix-git/doc/guix.texi:11707
  18414. msgid "In the example above, the native build of @var{coreutils} is used, so that @command{ln} can actually run on the host; but then the cross-compiled build of @var{emacs} is referenced."
  18415. msgstr ""
  18416. #. type: cindex
  18417. #: guix-git/doc/guix.texi:11708
  18418. #, no-wrap
  18419. msgid "imported modules, for gexps"
  18420. msgstr ""
  18421. #. type: findex
  18422. #: guix-git/doc/guix.texi:11709
  18423. #, no-wrap
  18424. msgid "with-imported-modules"
  18425. msgstr ""
  18426. #. type: Plain text
  18427. #: guix-git/doc/guix.texi:11714
  18428. msgid "Another gexp feature is @dfn{imported modules}: sometimes you want to be able to use certain Guile modules from the ``host environment'' in the gexp, so those modules should be imported in the ``build environment''. The @code{with-imported-modules} form allows you to express that:"
  18429. msgstr ""
  18430. #. type: lisp
  18431. #: guix-git/doc/guix.texi:11725
  18432. #, no-wrap
  18433. msgid ""
  18434. "(let ((build (with-imported-modules '((guix build utils))\n"
  18435. " #~(begin\n"
  18436. " (use-modules (guix build utils))\n"
  18437. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  18438. " (gexp->derivation \"empty-dir\"\n"
  18439. " #~(begin\n"
  18440. " #$build\n"
  18441. " (display \"success!\\n\")\n"
  18442. " #t)))\n"
  18443. msgstr ""
  18444. #. type: Plain text
  18445. #: guix-git/doc/guix.texi:11731
  18446. msgid "In this example, the @code{(guix build utils)} module is automatically pulled into the isolated build environment of our gexp, such that @code{(use-modules (guix build utils))} works as expected."
  18447. msgstr ""
  18448. #. type: cindex
  18449. #: guix-git/doc/guix.texi:11732
  18450. #, no-wrap
  18451. msgid "module closure"
  18452. msgstr ""
  18453. #. type: findex
  18454. #: guix-git/doc/guix.texi:11733
  18455. #, no-wrap
  18456. msgid "source-module-closure"
  18457. msgstr ""
  18458. #. type: Plain text
  18459. #: guix-git/doc/guix.texi:11740
  18460. msgid "Usually you want the @emph{closure} of the module to be imported---i.e., the module itself and all the modules it depends on---rather than just the module; failing to do that, attempts to use the module will fail because of missing dependent modules. The @code{source-module-closure} procedure computes the closure of a module by looking at its source file headers, which comes in handy in this case:"
  18461. msgstr ""
  18462. #. type: lisp
  18463. #: guix-git/doc/guix.texi:11743
  18464. #, no-wrap
  18465. msgid ""
  18466. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  18467. "\n"
  18468. msgstr ""
  18469. #. type: lisp
  18470. #: guix-git/doc/guix.texi:11752
  18471. #, no-wrap
  18472. msgid ""
  18473. "(with-imported-modules (source-module-closure\n"
  18474. " '((guix build utils)\n"
  18475. " (gnu build image)))\n"
  18476. " (gexp->derivation \"something-with-vms\"\n"
  18477. " #~(begin\n"
  18478. " (use-modules (guix build utils)\n"
  18479. " (gnu build image))\n"
  18480. " @dots{})))\n"
  18481. msgstr ""
  18482. #. type: cindex
  18483. #: guix-git/doc/guix.texi:11754
  18484. #, no-wrap
  18485. msgid "extensions, for gexps"
  18486. msgstr ""
  18487. #. type: findex
  18488. #: guix-git/doc/guix.texi:11755
  18489. #, no-wrap
  18490. msgid "with-extensions"
  18491. msgstr ""
  18492. #. type: Plain text
  18493. #: guix-git/doc/guix.texi:11760
  18494. msgid "In the same vein, sometimes you want to import not just pure-Scheme modules, but also ``extensions'' such as Guile bindings to C libraries or other ``full-blown'' packages. Say you need the @code{guile-json} package available on the build side, here's how you would do it:"
  18495. msgstr ""
  18496. #. type: lisp
  18497. #: guix-git/doc/guix.texi:11763
  18498. #, no-wrap
  18499. msgid ""
  18500. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  18501. "\n"
  18502. msgstr ""
  18503. #. type: lisp
  18504. #: guix-git/doc/guix.texi:11769
  18505. #, no-wrap
  18506. msgid ""
  18507. "(with-extensions (list guile-json)\n"
  18508. " (gexp->derivation \"something-with-json\"\n"
  18509. " #~(begin\n"
  18510. " (use-modules (json))\n"
  18511. " @dots{})))\n"
  18512. msgstr ""
  18513. #. type: Plain text
  18514. #: guix-git/doc/guix.texi:11772
  18515. msgid "The syntactic form to construct gexps is summarized below."
  18516. msgstr ""
  18517. #. type: defmac
  18518. #: guix-git/doc/guix.texi:11773
  18519. #, no-wrap
  18520. msgid "#~@var{exp}"
  18521. msgstr ""
  18522. #. type: defmacx
  18523. #: guix-git/doc/guix.texi:11774
  18524. #, fuzzy, no-wrap
  18525. #| msgid "-p @var{port}"
  18526. msgid "(gexp @var{exp})"
  18527. msgstr "-p @var{porta}"
  18528. #. type: defmac
  18529. #: guix-git/doc/guix.texi:11777
  18530. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  18531. msgstr ""
  18532. #. type: item
  18533. #: guix-git/doc/guix.texi:11779
  18534. #, no-wrap
  18535. msgid "#$@var{obj}"
  18536. msgstr ""
  18537. #. type: itemx
  18538. #: guix-git/doc/guix.texi:11780
  18539. #, no-wrap
  18540. msgid "(ungexp @var{obj})"
  18541. msgstr ""
  18542. #. type: table
  18543. #: guix-git/doc/guix.texi:11785
  18544. msgid "Introduce a reference to @var{obj}. @var{obj} may have one of the supported types, for example a package or a derivation, in which case the @code{ungexp} form is replaced by its output file name---e.g., @code{\"/gnu/store/@dots{}-coreutils-8.22}."
  18545. msgstr ""
  18546. #. type: table
  18547. #: guix-git/doc/guix.texi:11788
  18548. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  18549. msgstr ""
  18550. #. type: table
  18551. #: guix-git/doc/guix.texi:11791
  18552. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  18553. msgstr ""
  18554. #. type: table
  18555. #: guix-git/doc/guix.texi:11793
  18556. msgid "If @var{obj} is another kind of object, it is inserted as is."
  18557. msgstr ""
  18558. #. type: item
  18559. #: guix-git/doc/guix.texi:11794
  18560. #, no-wrap
  18561. msgid "#$@var{obj}:@var{output}"
  18562. msgstr "#$@var{obj}:@var{saída}"
  18563. #. type: itemx
  18564. #: guix-git/doc/guix.texi:11795
  18565. #, no-wrap
  18566. msgid "(ungexp @var{obj} @var{output})"
  18567. msgstr "(ungexp @var{obj} @var{saída})"
  18568. #. type: table
  18569. #: guix-git/doc/guix.texi:11799
  18570. msgid "This is like the form above, but referring explicitly to the @var{output} of @var{obj}---this is useful when @var{obj} produces multiple outputs (@pxref{Packages with Multiple Outputs})."
  18571. msgstr ""
  18572. #. type: item
  18573. #: guix-git/doc/guix.texi:11800
  18574. #, no-wrap
  18575. msgid "#+@var{obj}"
  18576. msgstr ""
  18577. #. type: itemx
  18578. #: guix-git/doc/guix.texi:11801
  18579. #, no-wrap
  18580. msgid "#+@var{obj}:output"
  18581. msgstr "#+@var{obj}:output"
  18582. #. type: itemx
  18583. #: guix-git/doc/guix.texi:11802
  18584. #, no-wrap
  18585. msgid "(ungexp-native @var{obj})"
  18586. msgstr ""
  18587. #. type: itemx
  18588. #: guix-git/doc/guix.texi:11803
  18589. #, no-wrap
  18590. msgid "(ungexp-native @var{obj} @var{output})"
  18591. msgstr ""
  18592. #. type: table
  18593. #: guix-git/doc/guix.texi:11806
  18594. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  18595. msgstr ""
  18596. #. type: item
  18597. #: guix-git/doc/guix.texi:11807
  18598. #, no-wrap
  18599. msgid "#$output[:@var{output}]"
  18600. msgstr "#$output[:@var{saída}]"
  18601. #. type: itemx
  18602. #: guix-git/doc/guix.texi:11808
  18603. #, no-wrap
  18604. msgid "(ungexp output [@var{output}])"
  18605. msgstr "(ungexp output [@var{saída}])"
  18606. #. type: table
  18607. #: guix-git/doc/guix.texi:11811
  18608. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  18609. msgstr ""
  18610. #. type: table
  18611. #: guix-git/doc/guix.texi:11813
  18612. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  18613. msgstr ""
  18614. #. type: item
  18615. #: guix-git/doc/guix.texi:11814
  18616. #, no-wrap
  18617. msgid "#$@@@var{lst}"
  18618. msgstr ""
  18619. #. type: itemx
  18620. #: guix-git/doc/guix.texi:11815
  18621. #, no-wrap
  18622. msgid "(ungexp-splicing @var{lst})"
  18623. msgstr ""
  18624. #. type: table
  18625. #: guix-git/doc/guix.texi:11818
  18626. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  18627. msgstr ""
  18628. #. type: item
  18629. #: guix-git/doc/guix.texi:11819
  18630. #, no-wrap
  18631. msgid "#+@@@var{lst}"
  18632. msgstr ""
  18633. #. type: itemx
  18634. #: guix-git/doc/guix.texi:11820
  18635. #, no-wrap
  18636. msgid "(ungexp-native-splicing @var{lst})"
  18637. msgstr ""
  18638. #. type: table
  18639. #: guix-git/doc/guix.texi:11823
  18640. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  18641. msgstr ""
  18642. #. type: defmac
  18643. #: guix-git/doc/guix.texi:11828
  18644. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  18645. msgstr ""
  18646. #. type: defmac
  18647. #: guix-git/doc/guix.texi:11830
  18648. #, no-wrap
  18649. msgid "with-imported-modules modules body@dots{}"
  18650. msgstr ""
  18651. #. type: defmac
  18652. #: guix-git/doc/guix.texi:11833
  18653. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  18654. msgstr ""
  18655. #. type: defmac
  18656. #: guix-git/doc/guix.texi:11837
  18657. msgid "Each item in @var{modules} can be the name of a module, such as @code{(guix build utils)}, or it can be a module name, followed by an arrow, followed by a file-like object:"
  18658. msgstr ""
  18659. #. type: lisp
  18660. #: guix-git/doc/guix.texi:11843
  18661. #, no-wrap
  18662. msgid ""
  18663. "`((guix build utils)\n"
  18664. " (guix gcrypt)\n"
  18665. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  18666. " #~(define-module @dots{}))))\n"
  18667. msgstr ""
  18668. #. type: defmac
  18669. #: guix-git/doc/guix.texi:11848
  18670. msgid "In the example above, the first two modules are taken from the search path, and the last one is created from the given file-like object."
  18671. msgstr ""
  18672. #. type: defmac
  18673. #: guix-git/doc/guix.texi:11852
  18674. msgid "This form has @emph{lexical} scope: it has an effect on the gexps directly defined in @var{body}@dots{}, but not on those defined, say, in procedures called from @var{body}@dots{}."
  18675. msgstr ""
  18676. #. type: defmac
  18677. #: guix-git/doc/guix.texi:11854
  18678. #, no-wrap
  18679. msgid "with-extensions extensions body@dots{}"
  18680. msgstr ""
  18681. #. type: defmac
  18682. #: guix-git/doc/guix.texi:11859
  18683. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{extensions} in their build and execution environment. @var{extensions} is typically a list of package objects such as those defined in the @code{(gnu packages guile)} module."
  18684. msgstr ""
  18685. #. type: defmac
  18686. #: guix-git/doc/guix.texi:11864
  18687. msgid "Concretely, the packages listed in @var{extensions} are added to the load path while compiling imported modules in @var{body}@dots{}; they are also added to the load path of the gexp returned by @var{body}@dots{}."
  18688. msgstr ""
  18689. #. type: defun
  18690. #: guix-git/doc/guix.texi:11866
  18691. #, no-wrap
  18692. msgid "gexp? obj"
  18693. msgstr ""
  18694. #. type: defun
  18695. #: guix-git/doc/guix.texi:11868
  18696. msgid "Return @code{#t} if @var{obj} is a G-expression."
  18697. msgstr ""
  18698. #. type: Plain text
  18699. #: guix-git/doc/guix.texi:11874
  18700. msgid "G-expressions are meant to be written to disk, either as code building some derivation, or as plain files in the store. The monadic procedures below allow you to do that (@pxref{The Store Monad}, for more information about monads)."
  18701. msgstr ""
  18702. #. type: deffn
  18703. #: guix-git/doc/guix.texi:11875
  18704. #, no-wrap
  18705. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  18706. msgstr ""
  18707. #. type: deffn
  18708. #: guix-git/doc/guix.texi:11893
  18709. msgid "[#:system (%current-system)] [#:target #f] [#:graft? #t] @ [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:env-vars '()] [#:modules '()] @ [#:module-path @code{%load-path}] @ [#:effective-version \"2.2\"] @ [#:references-graphs #f] [#:allowed-references #f] @ [#:disallowed-references #f] @ [#:leaked-env-vars #f] @ [#:script-name (string-append @var{name} \"-builder\")] @ [#:deprecation-warnings #f] @ [#:local-build? #f] [#:substitutable? #t] @ [#:properties '()] [#:guile-for-build #f] Return a derivation @var{name} that runs @var{exp} (a gexp) with @var{guile-for-build} (a derivation) on @var{system}; @var{exp} is stored in a file called @var{script-name}. When @var{target} is true, it is used as the cross-compilation target triplet for packages referred to by @var{exp}."
  18710. msgstr ""
  18711. #. type: deffn
  18712. #: guix-git/doc/guix.texi:11901
  18713. msgid "@var{modules} is deprecated in favor of @code{with-imported-modules}. Its meaning is to make @var{modules} available in the evaluation context of @var{exp}; @var{modules} is a list of names of Guile modules searched in @var{module-path} to be copied in the store, compiled, and made available in the load path during the execution of @var{exp}---e.g., @code{((guix build utils) (guix build gnu-build-system))}."
  18714. msgstr ""
  18715. #. type: deffn
  18716. #: guix-git/doc/guix.texi:11904
  18717. msgid "@var{effective-version} determines the string to use when adding extensions of @var{exp} (see @code{with-extensions}) to the search path---e.g., @code{\"2.2\"}."
  18718. msgstr ""
  18719. #. type: deffn
  18720. #: guix-git/doc/guix.texi:11907
  18721. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  18722. msgstr ""
  18723. #. type: deffn
  18724. #: guix-git/doc/guix.texi:11910
  18725. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  18726. msgstr ""
  18727. #. type: example
  18728. #: guix-git/doc/guix.texi:11917
  18729. #, no-wrap
  18730. msgid ""
  18731. "(@var{file-name} @var{package})\n"
  18732. "(@var{file-name} @var{package} @var{output})\n"
  18733. "(@var{file-name} @var{derivation})\n"
  18734. "(@var{file-name} @var{derivation} @var{output})\n"
  18735. "(@var{file-name} @var{store-item})\n"
  18736. msgstr ""
  18737. #. type: deffn
  18738. #: guix-git/doc/guix.texi:11923
  18739. msgid "The right-hand-side of each element of @var{references-graphs} is automatically made an input of the build process of @var{exp}. In the build environment, each @var{file-name} contains the reference graph of the corresponding item, in a simple text format."
  18740. msgstr ""
  18741. #. type: deffn
  18742. #: guix-git/doc/guix.texi:11929
  18743. msgid "@var{allowed-references} must be either @code{#f} or a list of output names and packages. In the latter case, the list denotes store items that the result is allowed to refer to. Any reference to another store item will lead to a build error. Similarly for @var{disallowed-references}, which can list items that must not be referenced by the outputs."
  18744. msgstr ""
  18745. #. type: deffn
  18746. #: guix-git/doc/guix.texi:11932
  18747. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  18748. msgstr ""
  18749. #. type: deffn
  18750. #: guix-git/doc/guix.texi:11934
  18751. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  18752. msgstr ""
  18753. #. type: cindex
  18754. #: guix-git/doc/guix.texi:11936
  18755. #, no-wrap
  18756. msgid "file-like objects"
  18757. msgstr ""
  18758. #. type: Plain text
  18759. #: guix-git/doc/guix.texi:11941
  18760. msgid "The @code{local-file}, @code{plain-file}, @code{computed-file}, @code{program-file}, and @code{scheme-file} procedures below return @dfn{file-like objects}. That is, when unquoted in a G-expression, these objects lead to a file in the store. Consider this G-expression:"
  18761. msgstr ""
  18762. #. type: lisp
  18763. #: guix-git/doc/guix.texi:11945
  18764. #, no-wrap
  18765. msgid ""
  18766. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  18767. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  18768. msgstr ""
  18769. #. type: Plain text
  18770. #: guix-git/doc/guix.texi:11954
  18771. msgid "The effect here is to ``intern'' @file{/tmp/my-nscd.conf} by copying it to the store. Once expanded, for instance @i{via} @code{gexp->derivation}, the G-expression refers to that copy under @file{/gnu/store}; thus, modifying or removing the file in @file{/tmp} does not have any effect on what the G-expression does. @code{plain-file} can be used similarly; it differs in that the file content is directly passed as a string."
  18772. msgstr ""
  18773. #. type: defun
  18774. #: guix-git/doc/guix.texi:11955
  18775. #, no-wrap
  18776. msgid "local-file file [name] [#:recursive? #f] [#:select? (const #t)]"
  18777. msgstr ""
  18778. #. type: defun
  18779. #: guix-git/doc/guix.texi:11963
  18780. msgid "Return an object representing local file @var{file} to add to the store; this object can be used in a gexp. If @var{file} is a literal string denoting a relative file name, it is looked up relative to the source file where it appears; if @var{file} is not a literal string, it is looked up relative to the current working directory at run time. @var{file} will be added to the store under @var{name}--by default the base name of @var{file}."
  18781. msgstr ""
  18782. #. type: defun
  18783. #: guix-git/doc/guix.texi:11975
  18784. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  18785. msgstr ""
  18786. #. type: defun
  18787. #: guix-git/doc/guix.texi:11977
  18788. #, no-wrap
  18789. msgid "plain-file name content"
  18790. msgstr ""
  18791. #. type: defun
  18792. #: guix-git/doc/guix.texi:11980
  18793. msgid "Return an object representing a text file called @var{name} with the given @var{content} (a string or a bytevector) to be added to the store."
  18794. msgstr ""
  18795. #. type: defun
  18796. #: guix-git/doc/guix.texi:11982
  18797. msgid "This is the declarative counterpart of @code{text-file}."
  18798. msgstr ""
  18799. #. type: defun
  18800. #: guix-git/doc/guix.texi:11984
  18801. #, no-wrap
  18802. msgid "computed-file name gexp [#:local-build? #t] [#:options '()]"
  18803. msgstr ""
  18804. #. type: defun
  18805. #: guix-git/doc/guix.texi:11989
  18806. msgid "Return an object representing the store item @var{name}, a file or directory computed by @var{gexp}. When @var{local-build?} is true (the default), the derivation is built locally. @var{options} is a list of additional arguments to pass to @code{gexp->derivation}."
  18807. msgstr ""
  18808. #. type: defun
  18809. #: guix-git/doc/guix.texi:11991
  18810. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  18811. msgstr ""
  18812. #. type: deffn
  18813. #: guix-git/doc/guix.texi:11993
  18814. #, no-wrap
  18815. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  18816. msgstr ""
  18817. #. type: deffn
  18818. #: guix-git/doc/guix.texi:11999
  18819. msgid "[#:guile (default-guile)] [#:module-path %load-path] @ [#:system (%current-system)] [#:target #f] Return an executable script @var{name} that runs @var{exp} using @var{guile}, with @var{exp}'s imported modules in its search path. Look up @var{exp}'s modules in @var{module-path}."
  18820. msgstr ""
  18821. #. type: deffn
  18822. #: guix-git/doc/guix.texi:12002
  18823. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  18824. msgstr ""
  18825. #. type: lisp
  18826. #: guix-git/doc/guix.texi:12005
  18827. #, no-wrap
  18828. msgid ""
  18829. "(use-modules (guix gexp) (gnu packages base))\n"
  18830. "\n"
  18831. msgstr ""
  18832. #. type: lisp
  18833. #: guix-git/doc/guix.texi:12009
  18834. #, no-wrap
  18835. msgid ""
  18836. "(gexp->script \"list-files\"\n"
  18837. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  18838. " \"ls\"))\n"
  18839. msgstr ""
  18840. #. type: deffn
  18841. #: guix-git/doc/guix.texi:12014
  18842. msgid "When ``running'' it through the store (@pxref{The Store Monad, @code{run-with-store}}), we obtain a derivation that produces an executable file @file{/gnu/store/@dots{}-list-files} along these lines:"
  18843. msgstr ""
  18844. #. type: example
  18845. #: guix-git/doc/guix.texi:12019
  18846. #, no-wrap
  18847. msgid ""
  18848. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  18849. "!#\n"
  18850. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  18851. msgstr ""
  18852. #. type: defun
  18853. #: guix-git/doc/guix.texi:12022
  18854. #, no-wrap
  18855. msgid "program-file name exp [#:guile #f] [#:module-path %load-path]"
  18856. msgstr ""
  18857. #. type: defun
  18858. #: guix-git/doc/guix.texi:12026
  18859. msgid "Return an object representing the executable store item @var{name} that runs @var{gexp}. @var{guile} is the Guile package used to execute that script. Imported modules of @var{gexp} are looked up in @var{module-path}."
  18860. msgstr ""
  18861. #. type: defun
  18862. #: guix-git/doc/guix.texi:12028
  18863. msgid "This is the declarative counterpart of @code{gexp->script}."
  18864. msgstr ""
  18865. #. type: deffn
  18866. #: guix-git/doc/guix.texi:12030
  18867. #, no-wrap
  18868. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  18869. msgstr ""
  18870. #. type: deffn
  18871. #: guix-git/doc/guix.texi:12037
  18872. msgid "[#:set-load-path? #t] [#:module-path %load-path] @ [#:splice? #f] @ [#:guile (default-guile)] Return a derivation that builds a file @var{name} containing @var{exp}. When @var{splice?} is true, @var{exp} is considered to be a list of expressions that will be spliced in the resulting file."
  18873. msgstr ""
  18874. #. type: deffn
  18875. #: guix-git/doc/guix.texi:12042
  18876. msgid "When @var{set-load-path?} is true, emit code in the resulting file to set @code{%load-path} and @code{%load-compiled-path} to honor @var{exp}'s imported modules. Look up @var{exp}'s modules in @var{module-path}."
  18877. msgstr ""
  18878. #. type: deffn
  18879. #: guix-git/doc/guix.texi:12045
  18880. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  18881. msgstr ""
  18882. #. type: defun
  18883. #: guix-git/doc/guix.texi:12047
  18884. #, no-wrap
  18885. msgid "scheme-file name exp [#:splice? #f] [#:set-load-path? #t]"
  18886. msgstr ""
  18887. #. type: defun
  18888. #: guix-git/doc/guix.texi:12050
  18889. msgid "Return an object representing the Scheme file @var{name} that contains @var{exp}."
  18890. msgstr ""
  18891. #. type: defun
  18892. #: guix-git/doc/guix.texi:12052
  18893. msgid "This is the declarative counterpart of @code{gexp->file}."
  18894. msgstr ""
  18895. #. type: deffn
  18896. #: guix-git/doc/guix.texi:12054
  18897. #, no-wrap
  18898. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  18899. msgstr ""
  18900. #. type: deffn
  18901. #: guix-git/doc/guix.texi:12060
  18902. msgid "Return as a monadic value a derivation that builds a text file containing all of @var{text}. @var{text} may list, in addition to strings, objects of any type that can be used in a gexp: packages, derivations, local file objects, etc. The resulting store file holds references to all these."
  18903. msgstr ""
  18904. #. type: deffn
  18905. #: guix-git/doc/guix.texi:12065
  18906. msgid "This variant should be preferred over @code{text-file} anytime the file to create will reference items from the store. This is typically the case when building a configuration file that embeds store file names, like this:"
  18907. msgstr ""
  18908. #. type: lisp
  18909. #: guix-git/doc/guix.texi:12073
  18910. #, no-wrap
  18911. msgid ""
  18912. "(define (profile.sh)\n"
  18913. " ;; Return the name of a shell script in the store that\n"
  18914. " ;; initializes the 'PATH' environment variable.\n"
  18915. " (text-file* \"profile.sh\"\n"
  18916. " \"export PATH=\" coreutils \"/bin:\"\n"
  18917. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  18918. msgstr ""
  18919. #. type: deffn
  18920. #: guix-git/doc/guix.texi:12078
  18921. msgid "In this example, the resulting @file{/gnu/store/@dots{}-profile.sh} file will reference @var{coreutils}, @var{grep}, and @var{sed}, thereby preventing them from being garbage-collected during its lifetime."
  18922. msgstr ""
  18923. #. type: defun
  18924. #: guix-git/doc/guix.texi:12080
  18925. #, no-wrap
  18926. msgid "mixed-text-file name text @dots{}"
  18927. msgstr ""
  18928. #. type: defun
  18929. #: guix-git/doc/guix.texi:12084
  18930. msgid "Return an object representing store file @var{name} containing @var{text}. @var{text} is a sequence of strings and file-like objects, as in:"
  18931. msgstr ""
  18932. #. type: lisp
  18933. #: guix-git/doc/guix.texi:12088
  18934. #, no-wrap
  18935. msgid ""
  18936. "(mixed-text-file \"profile\"\n"
  18937. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  18938. msgstr ""
  18939. #. type: defun
  18940. #: guix-git/doc/guix.texi:12091
  18941. msgid "This is the declarative counterpart of @code{text-file*}."
  18942. msgstr ""
  18943. #. type: defun
  18944. #: guix-git/doc/guix.texi:12093
  18945. #, fuzzy, no-wrap
  18946. #| msgid "name"
  18947. msgid "file-union name files"
  18948. msgstr "name"
  18949. #. type: defun
  18950. #: guix-git/doc/guix.texi:12098
  18951. msgid "Return a @code{<computed-file>} that builds a directory containing all of @var{files}. Each item in @var{files} must be a two-element list where the first element is the file name to use in the new directory, and the second element is a gexp denoting the target file. Here's an example:"
  18952. msgstr ""
  18953. #. type: lisp
  18954. #: guix-git/doc/guix.texi:12105
  18955. #, no-wrap
  18956. msgid ""
  18957. "(file-union \"etc\"\n"
  18958. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  18959. " \"127.0.0.1 localhost\"))\n"
  18960. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  18961. " \"alias ls='ls --color=auto'\"))))\n"
  18962. msgstr ""
  18963. #. type: defun
  18964. #: guix-git/doc/guix.texi:12108
  18965. msgid "This yields an @code{etc} directory containing these two files."
  18966. msgstr ""
  18967. #. type: defun
  18968. #: guix-git/doc/guix.texi:12110
  18969. #, no-wrap
  18970. msgid "directory-union name things"
  18971. msgstr ""
  18972. #. type: defun
  18973. #: guix-git/doc/guix.texi:12113
  18974. msgid "Return a directory that is the union of @var{things}, where @var{things} is a list of file-like objects denoting directories. For example:"
  18975. msgstr ""
  18976. #. type: lisp
  18977. #: guix-git/doc/guix.texi:12116
  18978. #, no-wrap
  18979. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  18980. msgstr ""
  18981. #. type: defun
  18982. #: guix-git/doc/guix.texi:12119
  18983. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  18984. msgstr ""
  18985. #. type: defun
  18986. #: guix-git/doc/guix.texi:12121
  18987. #, no-wrap
  18988. msgid "file-append obj suffix @dots{}"
  18989. msgstr ""
  18990. #. type: defun
  18991. #: guix-git/doc/guix.texi:12125
  18992. msgid "Return a file-like object that expands to the concatenation of @var{obj} and @var{suffix}, where @var{obj} is a lowerable object and each @var{suffix} is a string."
  18993. msgstr ""
  18994. #. type: defun
  18995. #: guix-git/doc/guix.texi:12127
  18996. msgid "As an example, consider this gexp:"
  18997. msgstr ""
  18998. #. type: lisp
  18999. #: guix-git/doc/guix.texi:12132
  19000. #, no-wrap
  19001. msgid ""
  19002. "(gexp->script \"run-uname\"\n"
  19003. " #~(system* #$(file-append coreutils\n"
  19004. " \"/bin/uname\")))\n"
  19005. msgstr ""
  19006. #. type: defun
  19007. #: guix-git/doc/guix.texi:12135
  19008. msgid "The same effect could be achieved with:"
  19009. msgstr ""
  19010. #. type: lisp
  19011. #: guix-git/doc/guix.texi:12140
  19012. #, no-wrap
  19013. msgid ""
  19014. "(gexp->script \"run-uname\"\n"
  19015. " #~(system* (string-append #$coreutils\n"
  19016. " \"/bin/uname\")))\n"
  19017. msgstr ""
  19018. #. type: defun
  19019. #: guix-git/doc/guix.texi:12146
  19020. msgid "There is one difference though: in the @code{file-append} case, the resulting script contains the absolute file name as a string, whereas in the second case, the resulting script contains a @code{(string-append @dots{})} expression to construct the file name @emph{at run time}."
  19021. msgstr ""
  19022. #. type: defmac
  19023. #: guix-git/doc/guix.texi:12148
  19024. #, no-wrap
  19025. msgid "let-system system body@dots{}"
  19026. msgstr ""
  19027. #. type: defmacx
  19028. #: guix-git/doc/guix.texi:12149
  19029. #, no-wrap
  19030. msgid "let-system (system target) body@dots{}"
  19031. msgstr ""
  19032. #. type: defmac
  19033. #: guix-git/doc/guix.texi:12152
  19034. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  19035. msgstr ""
  19036. #. type: defmac
  19037. #: guix-git/doc/guix.texi:12157
  19038. msgid "In the second case, additionally bind @var{target} to the current cross-compilation target---a GNU triplet such as @code{\"arm-linux-gnueabihf\"}---or @code{#f} if we are not cross-compiling."
  19039. msgstr ""
  19040. #. type: defmac
  19041. #: guix-git/doc/guix.texi:12160
  19042. msgid "@code{let-system} is useful in the occasional case where the object spliced into the gexp depends on the target system, as in this example:"
  19043. msgstr ""
  19044. #. type: lisp
  19045. #: guix-git/doc/guix.texi:12171
  19046. #, no-wrap
  19047. msgid ""
  19048. "#~(system*\n"
  19049. " #+(let-system system\n"
  19050. " (cond ((string-prefix? \"armhf-\" system)\n"
  19051. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  19052. " ((string-prefix? \"x86_64-\" system)\n"
  19053. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  19054. " (else\n"
  19055. " (error \"dunno!\"))))\n"
  19056. " \"-net\" \"user\" #$image)\n"
  19057. msgstr ""
  19058. #. type: defmac
  19059. #: guix-git/doc/guix.texi:12174
  19060. #, no-wrap
  19061. msgid "with-parameters ((parameter value) @dots{}) exp"
  19062. msgstr ""
  19063. #. type: defmac
  19064. #: guix-git/doc/guix.texi:12180
  19065. msgid "This macro is similar to the @code{parameterize} form for dynamically-bound @dfn{parameters} (@pxref{Parameters,,, guile, GNU Guile Reference Manual}). The key difference is that it takes effect when the file-like object returned by @var{exp} is lowered to a derivation or store item."
  19066. msgstr ""
  19067. #. type: defmac
  19068. #: guix-git/doc/guix.texi:12183
  19069. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  19070. msgstr ""
  19071. #. type: lisp
  19072. #: guix-git/doc/guix.texi:12187
  19073. #, no-wrap
  19074. msgid ""
  19075. "(with-parameters ((%current-system \"i686-linux\"))\n"
  19076. " coreutils)\n"
  19077. msgstr ""
  19078. #. type: defmac
  19079. #: guix-git/doc/guix.texi:12191
  19080. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  19081. msgstr ""
  19082. #. type: Plain text
  19083. #: guix-git/doc/guix.texi:12198
  19084. msgid "Of course, in addition to gexps embedded in ``host'' code, there are also modules containing build tools. To make it clear that they are meant to be used in the build stratum, these modules are kept in the @code{(guix build @dots{})} name space."
  19085. msgstr ""
  19086. #. type: Plain text
  19087. #: guix-git/doc/guix.texi:12204
  19088. msgid "Internally, high-level objects are @dfn{lowered}, using their compiler, to either derivations or store items. For instance, lowering a package yields a derivation, and lowering a @code{plain-file} yields a store item. This is achieved using the @code{lower-object} monadic procedure."
  19089. msgstr ""
  19090. #. type: deffn
  19091. #: guix-git/doc/guix.texi:12205
  19092. #, no-wrap
  19093. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  19094. msgstr ""
  19095. #. type: deffn
  19096. #: guix-git/doc/guix.texi:12211
  19097. msgid "[#:target #f] Return as a value in @code{%store-monad} the derivation or store item corresponding to @var{obj} for @var{system}, cross-compiling for @var{target} if @var{target} is true. @var{obj} must be an object that has an associated gexp compiler, such as a @code{<package>}."
  19098. msgstr ""
  19099. #. type: defun
  19100. #: guix-git/doc/guix.texi:12213
  19101. #, no-wrap
  19102. msgid "gexp->approximate-sexp gexp"
  19103. msgstr ""
  19104. #. type: defun
  19105. #: guix-git/doc/guix.texi:12221
  19106. msgid "Sometimes, it may be useful to convert a G-exp into a S-exp. For example, some linters (@pxref{Invoking guix lint}) peek into the build phases of a package to detect potential problems. This conversion can be achieved with this procedure. However, some information can be lost in the process. More specifically, lowerable objects will be silently replaced with some arbitrary object -- currently the list @code{(*approximate*)}, but this may change."
  19107. msgstr ""
  19108. #. type: section
  19109. #: guix-git/doc/guix.texi:12224
  19110. #, no-wrap
  19111. msgid "Invoking @command{guix repl}"
  19112. msgstr "Invocando @command{guix repl}"
  19113. #. type: command{#1}
  19114. #: guix-git/doc/guix.texi:12226
  19115. #, fuzzy, no-wrap
  19116. #| msgid "guix graph"
  19117. msgid "guix repl"
  19118. msgstr "guix graph"
  19119. #. type: cindex
  19120. #: guix-git/doc/guix.texi:12227
  19121. #, no-wrap
  19122. msgid "REPL, read-eval-print loop, script"
  19123. msgstr ""
  19124. #. type: Plain text
  19125. #: guix-git/doc/guix.texi:12237
  19126. msgid "The @command{guix repl} command makes it easier to program Guix in Guile by launching a Guile @dfn{read-eval-print loop} (REPL) for interactive programming (@pxref{Using Guile Interactively,,, guile, GNU Guile Reference Manual}), or by running Guile scripts (@pxref{Running Guile Scripts,,, guile, GNU Guile Reference Manual}). Compared to just launching the @command{guile} command, @command{guix repl} guarantees that all the Guix modules and all its dependencies are available in the search path."
  19127. msgstr ""
  19128. #. type: example
  19129. #: guix-git/doc/guix.texi:12242
  19130. #, no-wrap
  19131. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  19132. msgstr ""
  19133. #. type: Plain text
  19134. #: guix-git/doc/guix.texi:12246
  19135. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  19136. msgstr ""
  19137. #. type: example
  19138. #: guix-git/doc/guix.texi:12249
  19139. #, no-wrap
  19140. msgid "guix repl my-script.scm\n"
  19141. msgstr ""
  19142. #. type: Plain text
  19143. #: guix-git/doc/guix.texi:12253
  19144. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  19145. msgstr ""
  19146. #. type: example
  19147. #: guix-git/doc/guix.texi:12256
  19148. #, no-wrap
  19149. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  19150. msgstr ""
  19151. #. type: Plain text
  19152. #: guix-git/doc/guix.texi:12261
  19153. msgid "To make a script executable directly from the shell, using the guix executable that is on the user's search path, add the following two lines at the top of the script:"
  19154. msgstr ""
  19155. #. type: example
  19156. #: guix-git/doc/guix.texi:12265
  19157. #, no-wrap
  19158. msgid ""
  19159. "@code{#!/usr/bin/env -S guix repl --}\n"
  19160. "@code{!#}\n"
  19161. msgstr ""
  19162. #. type: Plain text
  19163. #: guix-git/doc/guix.texi:12269
  19164. msgid "To make a script that launches an interactive REPL directly from the shell, use the @code{--interactive} flag:"
  19165. msgstr ""
  19166. #. type: example
  19167. #: guix-git/doc/guix.texi:12273
  19168. #, no-wrap
  19169. msgid ""
  19170. "@code{#!/usr/bin/env -S guix repl --interactive}\n"
  19171. "@code{!#}\n"
  19172. msgstr ""
  19173. #. type: Plain text
  19174. #: guix-git/doc/guix.texi:12277
  19175. msgid "Without a file name argument, a Guile REPL is started, allowing for interactive use (@pxref{Using Guix Interactively}):"
  19176. msgstr ""
  19177. #. type: example
  19178. #: guix-git/doc/guix.texi:12283
  19179. #, no-wrap
  19180. msgid ""
  19181. "$ guix repl\n"
  19182. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  19183. "scheme@@(guile-user)> coreutils\n"
  19184. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  19185. msgstr ""
  19186. #. type: Plain text
  19187. #: guix-git/doc/guix.texi:12290
  19188. msgid "In addition, @command{guix repl} implements a simple machine-readable REPL protocol for use by @code{(guix inferior)}, a facility to interact with @dfn{inferiors}, separate processes running a potentially different revision of Guix."
  19189. msgstr ""
  19190. #. type: Plain text
  19191. #: guix-git/doc/guix.texi:12292
  19192. msgid "The available options are as follows:"
  19193. msgstr ""
  19194. #. type: item
  19195. #: guix-git/doc/guix.texi:12294 guix-git/doc/guix.texi:15374
  19196. #, no-wrap
  19197. msgid "--list-types"
  19198. msgstr ""
  19199. #. type: table
  19200. #: guix-git/doc/guix.texi:12297
  19201. msgid "Display the @var{TYPE} options for @command{guix repl --type=TYPE} and exit."
  19202. msgstr ""
  19203. #. type: item
  19204. #: guix-git/doc/guix.texi:12298 guix-git/doc/guix.texi:15369
  19205. #, no-wrap
  19206. msgid "--type=@var{type}"
  19207. msgstr ""
  19208. #. type: itemx
  19209. #: guix-git/doc/guix.texi:12299 guix-git/doc/guix.texi:15370
  19210. #: guix-git/doc/guix.texi:40344
  19211. #, no-wrap
  19212. msgid "-t @var{type}"
  19213. msgstr "-t @var{tipo}"
  19214. #. type: table
  19215. #: guix-git/doc/guix.texi:12301
  19216. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  19217. msgstr ""
  19218. #. type: item
  19219. #: guix-git/doc/guix.texi:12303
  19220. #, no-wrap
  19221. msgid "guile"
  19222. msgstr ""
  19223. #. type: table
  19224. #: guix-git/doc/guix.texi:12305
  19225. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  19226. msgstr ""
  19227. #. type: item
  19228. #: guix-git/doc/guix.texi:12305
  19229. #, no-wrap
  19230. msgid "machine"
  19231. msgstr ""
  19232. #. type: table
  19233. #: guix-git/doc/guix.texi:12308
  19234. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  19235. msgstr ""
  19236. #. type: table
  19237. #: guix-git/doc/guix.texi:12314
  19238. msgid "By default, @command{guix repl} reads from standard input and writes to standard output. When this option is passed, it will instead listen for connections on @var{endpoint}. Here are examples of valid options:"
  19239. msgstr ""
  19240. #. type: item
  19241. #: guix-git/doc/guix.texi:12316
  19242. #, no-wrap
  19243. msgid "--listen=tcp:37146"
  19244. msgstr ""
  19245. #. type: table
  19246. #: guix-git/doc/guix.texi:12318
  19247. msgid "Accept connections on localhost on port 37146."
  19248. msgstr ""
  19249. #. type: item
  19250. #: guix-git/doc/guix.texi:12319
  19251. #, no-wrap
  19252. msgid "--listen=unix:/tmp/socket"
  19253. msgstr ""
  19254. #. type: table
  19255. #: guix-git/doc/guix.texi:12321
  19256. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  19257. msgstr ""
  19258. #. type: item
  19259. #: guix-git/doc/guix.texi:12323
  19260. #, fuzzy, no-wrap
  19261. #| msgid "user interfaces"
  19262. msgid "--interactive"
  19263. msgstr "interfaces de usuário"
  19264. #. type: itemx
  19265. #: guix-git/doc/guix.texi:12324
  19266. #, no-wrap
  19267. msgid "-i"
  19268. msgstr ""
  19269. #. type: table
  19270. #: guix-git/doc/guix.texi:12326
  19271. msgid "Launch the interactive REPL after @var{file} is executed."
  19272. msgstr ""
  19273. #. type: item
  19274. #: guix-git/doc/guix.texi:12327 guix-git/doc/guix.texi:12558
  19275. #: guix-git/doc/guix.texi:14604 guix-git/doc/guix.texi:14787
  19276. #: guix-git/doc/guix.texi:15004 guix-git/doc/guix.texi:15149
  19277. #: guix-git/doc/guix.texi:15417
  19278. #, no-wrap
  19279. msgid "--load-path=@var{directory}"
  19280. msgstr ""
  19281. #. type: itemx
  19282. #: guix-git/doc/guix.texi:12328 guix-git/doc/guix.texi:12559
  19283. #: guix-git/doc/guix.texi:14605 guix-git/doc/guix.texi:14788
  19284. #: guix-git/doc/guix.texi:15005 guix-git/doc/guix.texi:15150
  19285. #: guix-git/doc/guix.texi:15418
  19286. #, no-wrap
  19287. msgid "-L @var{directory}"
  19288. msgstr "-L @var{diretório}"
  19289. #. type: table
  19290. #: guix-git/doc/guix.texi:12331 guix-git/doc/guix.texi:12562
  19291. #: guix-git/doc/guix.texi:14608 guix-git/doc/guix.texi:14791
  19292. #: guix-git/doc/guix.texi:15008 guix-git/doc/guix.texi:15153
  19293. #: guix-git/doc/guix.texi:15421
  19294. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  19295. msgstr ""
  19296. #. type: table
  19297. #: guix-git/doc/guix.texi:12334
  19298. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  19299. msgstr ""
  19300. #. type: itemx
  19301. #: guix-git/doc/guix.texi:12335 guix-git/doc/guix.texi:13135
  19302. #, no-wrap
  19303. msgid "-q"
  19304. msgstr ""
  19305. #. type: table
  19306. #: guix-git/doc/guix.texi:12338
  19307. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  19308. msgstr ""
  19309. #. type: cindex
  19310. #: guix-git/doc/guix.texi:12343
  19311. #, fuzzy, no-wrap
  19312. #| msgid "user interfaces"
  19313. msgid "interactive use"
  19314. msgstr "interfaces de usuário"
  19315. #. type: cindex
  19316. #: guix-git/doc/guix.texi:12344
  19317. #, fuzzy, no-wrap
  19318. #| msgid "read-eval-print loop"
  19319. msgid "REPL, read-eval-print loop"
  19320. msgstr "read-eval-print loop"
  19321. #. type: Plain text
  19322. #: guix-git/doc/guix.texi:12350
  19323. msgid "The @command{guix repl} command gives you access to a warm and friendly @dfn{read-eval-print loop} (REPL) (@pxref{Invoking guix repl}). If you're getting into Guix programming---defining your own packages, writing manifests, defining services for Guix System or Guix Home, etc.---you will surely find it convenient to toy with ideas at the REPL."
  19324. msgstr ""
  19325. #. type: Plain text
  19326. #: guix-git/doc/guix.texi:12356
  19327. msgid "If you use Emacs, the most convenient way to do that is with Geiser (@pxref{The Perfect Setup}), but you do not have to use Emacs to enjoy the REPL@. When using @command{guix repl} or @command{guile} in the terminal, we recommend using Readline for completion and Colorized to get colorful output. To do that, you can run:"
  19328. msgstr ""
  19329. #. type: example
  19330. #: guix-git/doc/guix.texi:12359
  19331. #, no-wrap
  19332. msgid "guix install guile guile-readline guile-colorized\n"
  19333. msgstr ""
  19334. #. type: Plain text
  19335. #: guix-git/doc/guix.texi:12364
  19336. msgid "... and then create a @file{.guile} file in your home directory containing this:"
  19337. msgstr ""
  19338. #. type: lisp
  19339. #: guix-git/doc/guix.texi:12367
  19340. #, no-wrap
  19341. msgid ""
  19342. "(use-modules (ice-9 readline) (ice-9 colorized))\n"
  19343. "\n"
  19344. msgstr ""
  19345. #. type: lisp
  19346. #: guix-git/doc/guix.texi:12370
  19347. #, no-wrap
  19348. msgid ""
  19349. "(activate-readline)\n"
  19350. "(activate-colorized)\n"
  19351. msgstr ""
  19352. #. type: Plain text
  19353. #: guix-git/doc/guix.texi:12374
  19354. msgid "The REPL lets you evaluate Scheme code; you type a Scheme expression at the prompt, and the REPL prints what it evaluates to:"
  19355. msgstr ""
  19356. #. type: example
  19357. #: guix-git/doc/guix.texi:12381
  19358. #, no-wrap
  19359. msgid ""
  19360. "$ guix repl\n"
  19361. "scheme@@(guix-user)> (+ 2 3)\n"
  19362. "$1 = 5\n"
  19363. "scheme@@(guix-user)> (string-append \"a\" \"b\")\n"
  19364. "$2 = \"ab\"\n"
  19365. msgstr ""
  19366. #. type: Plain text
  19367. #: guix-git/doc/guix.texi:12392
  19368. msgid "It becomes interesting when you start fiddling with Guix at the REPL. The first thing you'll want to do is to ``import'' the @code{(guix)} module, which gives access to the main part of the programming interface, and perhaps a bunch of useful Guix modules. You could type @code{(use-modules (guix))}, which is valid Scheme code to import a module (@pxref{Using Guile Modules,,, guile, GNU Guile Reference Manual}), but the REPL provides the @code{use} @dfn{command} as a shorthand notation (@pxref{REPL Commands,,, guile, GNU Guile Reference Manual}):"
  19369. msgstr ""
  19370. #. type: example
  19371. #: guix-git/doc/guix.texi:12396
  19372. #, no-wrap
  19373. msgid ""
  19374. "scheme@@(guix-user)> ,use (guix)\n"
  19375. "scheme@@(guix-user)> ,use (gnu packages base)\n"
  19376. msgstr ""
  19377. #. type: Plain text
  19378. #: guix-git/doc/guix.texi:12401
  19379. msgid "Notice that REPL commands are introduced by a leading comma. A REPL command like @code{use} is not valid Scheme code; it's interpreted specially by the REPL."
  19380. msgstr ""
  19381. #. type: Plain text
  19382. #: guix-git/doc/guix.texi:12410
  19383. msgid "Guix extends the Guile REPL with additional commands for convenience. Among those, the @code{build} command comes in handy: it ensures that the given file-like object is built, building it if needed, and returns its output file name(s). In the example below, we build the @code{coreutils} and @code{grep} packages, as well as a ``computed file'' (@pxref{G-Expressions, @code{computed-file}}), and we use the @code{scandir} procedure to list the files in Grep's @code{/bin} directory:"
  19384. msgstr ""
  19385. #. type: example
  19386. #: guix-git/doc/guix.texi:12423
  19387. #, no-wrap
  19388. msgid ""
  19389. "scheme@@(guix-user)> ,build coreutils\n"
  19390. "$1 = \"/gnu/store/@dots{}-coreutils-8.32-debug\"\n"
  19391. "$2 = \"/gnu/store/@dots{}-coreutils-8.32\"\n"
  19392. "scheme@@(guix-user)> ,build grep\n"
  19393. "$3 = \"/gnu/store/@dots{}-grep-3.6\"\n"
  19394. "scheme@@(guix-user)> ,build (computed-file \"x\" #~(mkdir #$output))\n"
  19395. "building /gnu/store/@dots{}-x.drv...\n"
  19396. "$4 = \"/gnu/store/@dots{}-x\"\n"
  19397. "scheme@@(guix-user)> ,use(ice-9 ftw)\n"
  19398. "scheme@@(guix-user)> (scandir (string-append $3 \"/bin\"))\n"
  19399. "$5 = (\".\" \"..\" \"egrep\" \"fgrep\" \"grep\")\n"
  19400. msgstr ""
  19401. #. type: Plain text
  19402. #: guix-git/doc/guix.texi:12428
  19403. msgid "At a lower-level, a useful command is @code{lower}: it takes a file-like object and ``lowers'' it into a derivation (@pxref{Derivations}) or a store file:"
  19404. msgstr ""
  19405. #. type: example
  19406. #: guix-git/doc/guix.texi:12434
  19407. #, no-wrap
  19408. msgid ""
  19409. "scheme@@(guix-user)> ,lower grep\n"
  19410. "$6 = #<derivation /gnu/store/@dots{}-grep-3.6.drv => /gnu/store/@dots{}-grep-3.6 7f0e639115f0>\n"
  19411. "scheme@@(guix-user)> ,lower (plain-file \"x\" \"Hello!\")\n"
  19412. "$7 = \"/gnu/store/@dots{}-x\"\n"
  19413. msgstr ""
  19414. #. type: Plain text
  19415. #: guix-git/doc/guix.texi:12438
  19416. msgid "The full list of REPL commands can be seen by typing @code{,help guix} and is given below for reference."
  19417. msgstr ""
  19418. #. type: deffn
  19419. #: guix-git/doc/guix.texi:12439
  19420. #, no-wrap
  19421. msgid "{REPL command} build @var{object}"
  19422. msgstr ""
  19423. #. type: deffn
  19424. #: guix-git/doc/guix.texi:12442
  19425. msgid "Lower @var{object} and build it if it's not already built, returning its output file name(s)."
  19426. msgstr ""
  19427. #. type: deffn
  19428. #: guix-git/doc/guix.texi:12444
  19429. #, no-wrap
  19430. msgid "{REPL command} lower @var{object}"
  19431. msgstr ""
  19432. #. type: deffn
  19433. #: guix-git/doc/guix.texi:12446
  19434. msgid "Lower @var{object} into a derivation or store file name and return it."
  19435. msgstr ""
  19436. #. type: deffn
  19437. #: guix-git/doc/guix.texi:12448
  19438. #, no-wrap
  19439. msgid "{REPL command} verbosity @var{level}"
  19440. msgstr ""
  19441. #. type: deffn
  19442. #: guix-git/doc/guix.texi:12450
  19443. msgid "Change build verbosity to @var{level}."
  19444. msgstr ""
  19445. #. type: deffn
  19446. #: guix-git/doc/guix.texi:12454
  19447. msgid "This is similar to the @option{--verbosity} command-line option (@pxref{Common Build Options}): level 0 means total silence, level 1 shows build events only, and higher levels print build logs."
  19448. msgstr ""
  19449. #. type: deffn
  19450. #: guix-git/doc/guix.texi:12456
  19451. #, no-wrap
  19452. msgid "{REPL command} run-in-store @var{exp}"
  19453. msgstr ""
  19454. #. type: deffn
  19455. #: guix-git/doc/guix.texi:12459
  19456. msgid "Run @var{exp}, a monadic expresssion, through the store monad. @xref{The Store Monad}, for more information."
  19457. msgstr ""
  19458. #. type: deffn
  19459. #: guix-git/doc/guix.texi:12461
  19460. #, no-wrap
  19461. msgid "{REPL command} enter-store-monad"
  19462. msgstr ""
  19463. #. type: deffn
  19464. #: guix-git/doc/guix.texi:12464
  19465. msgid "Enter a new REPL to evaluate monadic expressions (@pxref{The Store Monad}). You can quit this ``inner'' REPL by typing @code{,q}."
  19466. msgstr ""
  19467. #. type: Plain text
  19468. #: guix-git/doc/guix.texi:12474
  19469. msgid "This section describes Guix command-line utilities. Some of them are primarily targeted at developers and users who write new package definitions, while others are more generally useful. They complement the Scheme programming interface of Guix in a convenient way."
  19470. msgstr ""
  19471. #. type: cindex
  19472. #: guix-git/doc/guix.texi:12497
  19473. #, no-wrap
  19474. msgid "package building"
  19475. msgstr ""
  19476. #. type: command{#1}
  19477. #: guix-git/doc/guix.texi:12498
  19478. #, no-wrap
  19479. msgid "guix build"
  19480. msgstr ""
  19481. #. type: Plain text
  19482. #: guix-git/doc/guix.texi:12504
  19483. msgid "The @command{guix build} command builds packages or derivations and their dependencies, and prints the resulting store paths. Note that it does not modify the user's profile---this is the job of the @command{guix package} command (@pxref{Invoking guix package}). Thus, it is mainly useful for distribution developers."
  19484. msgstr ""
  19485. #. type: example
  19486. #: guix-git/doc/guix.texi:12509
  19487. #, no-wrap
  19488. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  19489. msgstr ""
  19490. #. type: Plain text
  19491. #: guix-git/doc/guix.texi:12514
  19492. msgid "As an example, the following command builds the latest versions of Emacs and of Guile, displays their build logs, and finally displays the resulting directories:"
  19493. msgstr ""
  19494. #. type: example
  19495. #: guix-git/doc/guix.texi:12517
  19496. #, no-wrap
  19497. msgid "guix build emacs guile\n"
  19498. msgstr ""
  19499. #. type: Plain text
  19500. #: guix-git/doc/guix.texi:12520
  19501. msgid "Similarly, the following command builds all the available packages:"
  19502. msgstr ""
  19503. #. type: example
  19504. #: guix-git/doc/guix.texi:12524
  19505. #, no-wrap
  19506. msgid ""
  19507. "guix build --quiet --keep-going \\\n"
  19508. " $(guix package -A | awk '@{ print $1 \"@@\" $2 @}')\n"
  19509. msgstr ""
  19510. #. type: Plain text
  19511. #: guix-git/doc/guix.texi:12532
  19512. msgid "@var{package-or-derivation} may be either the name of a package found in the software distribution such as @code{coreutils} or @code{coreutils@@8.20}, or a derivation such as @file{/gnu/store/@dots{}-coreutils-8.19.drv}. In the former case, a package with the corresponding name (and optionally version) is searched for among the GNU distribution modules (@pxref{Package Modules})."
  19513. msgstr ""
  19514. #. type: Plain text
  19515. #: guix-git/doc/guix.texi:12537
  19516. msgid "Alternatively, the @option{--expression} option may be used to specify a Scheme expression that evaluates to a package; this is useful when disambiguating among several same-named packages or package variants is needed."
  19517. msgstr ""
  19518. #. type: Plain text
  19519. #: guix-git/doc/guix.texi:12540
  19520. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  19521. msgstr ""
  19522. #. type: Plain text
  19523. #: guix-git/doc/guix.texi:12555
  19524. msgid "A number of options that control the build process are common to @command{guix build} and other commands that can spawn builds, such as @command{guix package} or @command{guix archive}. These are the following:"
  19525. msgstr ""
  19526. #. type: table
  19527. #: guix-git/doc/guix.texi:12565 guix-git/doc/guix.texi:14611
  19528. #: guix-git/doc/guix.texi:15011 guix-git/doc/guix.texi:15156
  19529. #: guix-git/doc/guix.texi:15424
  19530. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  19531. msgstr ""
  19532. #. type: item
  19533. #: guix-git/doc/guix.texi:12566
  19534. #, no-wrap
  19535. msgid "--keep-failed"
  19536. msgstr "--keep-failed"
  19537. #. type: itemx
  19538. #: guix-git/doc/guix.texi:12567
  19539. #, no-wrap
  19540. msgid "-K"
  19541. msgstr ""
  19542. #. type: table
  19543. #: guix-git/doc/guix.texi:12573
  19544. msgid "Keep the build tree of failed builds. Thus, if a build fails, its build tree is kept under @file{/tmp}, in a directory whose name is shown at the end of the build log. This is useful when debugging build issues. @xref{Debugging Build Failures}, for tips and tricks on how to debug build issues."
  19545. msgstr ""
  19546. #. type: table
  19547. #: guix-git/doc/guix.texi:12577
  19548. msgid "This option implies @option{--no-offload}, and it has no effect when connecting to a remote daemon with a @code{guix://} URI (@pxref{The Store, the @env{GUIX_DAEMON_SOCKET} variable})."
  19549. msgstr ""
  19550. #. type: item
  19551. #: guix-git/doc/guix.texi:12578
  19552. #, no-wrap
  19553. msgid "--keep-going"
  19554. msgstr "--keep-going"
  19555. #. type: itemx
  19556. #: guix-git/doc/guix.texi:12579
  19557. #, no-wrap
  19558. msgid "-k"
  19559. msgstr ""
  19560. #. type: table
  19561. #: guix-git/doc/guix.texi:12582
  19562. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  19563. msgstr ""
  19564. #. type: table
  19565. #: guix-git/doc/guix.texi:12585
  19566. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  19567. msgstr ""
  19568. #. type: table
  19569. #: guix-git/doc/guix.texi:12589
  19570. msgid "Do not build the derivations."
  19571. msgstr ""
  19572. #. type: anchor{#1}
  19573. #: guix-git/doc/guix.texi:12591
  19574. msgid "fallback-option"
  19575. msgstr "fallback-option"
  19576. #. type: item
  19577. #: guix-git/doc/guix.texi:12591
  19578. #, no-wrap
  19579. msgid "--fallback"
  19580. msgstr "--fallback"
  19581. #. type: table
  19582. #: guix-git/doc/guix.texi:12594
  19583. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  19584. msgstr ""
  19585. #. type: anchor{#1}
  19586. #: guix-git/doc/guix.texi:12600
  19587. msgid "client-substitute-urls"
  19588. msgstr ""
  19589. #. type: table
  19590. #: guix-git/doc/guix.texi:12600
  19591. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs, overriding the default list of URLs of @command{guix-daemon} (@pxref{daemon-substitute-urls,, @command{guix-daemon} URLs})."
  19592. msgstr ""
  19593. #. type: table
  19594. #: guix-git/doc/guix.texi:12604
  19595. msgid "This means that substitutes may be downloaded from @var{urls}, provided they are signed by a key authorized by the system administrator (@pxref{Substitutes})."
  19596. msgstr ""
  19597. #. type: table
  19598. #: guix-git/doc/guix.texi:12607
  19599. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  19600. msgstr ""
  19601. #. type: item
  19602. #: guix-git/doc/guix.texi:12613
  19603. #, no-wrap
  19604. msgid "--no-grafts"
  19605. msgstr "--no-grafts"
  19606. #. type: table
  19607. #: guix-git/doc/guix.texi:12617
  19608. msgid "Do not ``graft'' packages. In practice, this means that package updates available as grafts are not applied. @xref{Security Updates}, for more information on grafts."
  19609. msgstr ""
  19610. #. type: item
  19611. #: guix-git/doc/guix.texi:12618
  19612. #, no-wrap
  19613. msgid "--rounds=@var{n}"
  19614. msgstr "--rounds=@var{n}"
  19615. #. type: table
  19616. #: guix-git/doc/guix.texi:12621
  19617. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  19618. msgstr ""
  19619. #. type: table
  19620. #: guix-git/doc/guix.texi:12626
  19621. msgid "This is a useful way to detect non-deterministic builds processes. Non-deterministic build processes are a problem because they make it practically impossible for users to @emph{verify} whether third-party binaries are genuine. @xref{Invoking guix challenge}, for more."
  19622. msgstr ""
  19623. #. type: table
  19624. #: guix-git/doc/guix.texi:12642
  19625. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  19626. msgstr ""
  19627. #. type: table
  19628. #: guix-git/doc/guix.texi:12649
  19629. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  19630. msgstr ""
  19631. #. type: cindex
  19632. #: guix-git/doc/guix.texi:12652
  19633. #, no-wrap
  19634. msgid "verbosity, of the command-line tools"
  19635. msgstr ""
  19636. #. type: cindex
  19637. #: guix-git/doc/guix.texi:12653
  19638. #, no-wrap
  19639. msgid "build logs, verbosity"
  19640. msgstr ""
  19641. #. type: item
  19642. #: guix-git/doc/guix.texi:12654
  19643. #, no-wrap
  19644. msgid "-v @var{level}"
  19645. msgstr ""
  19646. #. type: itemx
  19647. #: guix-git/doc/guix.texi:12655
  19648. #, no-wrap
  19649. msgid "--verbosity=@var{level}"
  19650. msgstr ""
  19651. #. type: table
  19652. #: guix-git/doc/guix.texi:12660
  19653. msgid "Use the given verbosity @var{level}, an integer. Choosing 0 means that no output is produced, 1 is for quiet output; 2 is similar to 1 but it additionally displays download URLs; 3 shows all the build log output on standard error."
  19654. msgstr ""
  19655. #. type: table
  19656. #: guix-git/doc/guix.texi:12665
  19657. msgid "Allow the use of up to @var{n} CPU cores for the build. The special value @code{0} means to use as many CPU cores as available."
  19658. msgstr ""
  19659. #. type: table
  19660. #: guix-git/doc/guix.texi:12671
  19661. msgid "Allow at most @var{n} build jobs in parallel. @xref{Invoking guix-daemon, @option{--max-jobs}}, for details about this option and the equivalent @command{guix-daemon} option."
  19662. msgstr ""
  19663. #. type: item
  19664. #: guix-git/doc/guix.texi:12672
  19665. #, no-wrap
  19666. msgid "--debug=@var{level}"
  19667. msgstr ""
  19668. #. type: table
  19669. #: guix-git/doc/guix.texi:12676
  19670. msgid "Produce debugging output coming from the build daemon. @var{level} must be an integer between 0 and 5; higher means more verbose output. Setting a level of 4 or more may be helpful when debugging setup issues with the build daemon."
  19671. msgstr ""
  19672. #. type: Plain text
  19673. #: guix-git/doc/guix.texi:12683
  19674. msgid "Behind the scenes, @command{guix build} is essentially an interface to the @code{package-derivation} procedure of the @code{(guix packages)} module, and to the @code{build-derivations} procedure of the @code{(guix derivations)} module."
  19675. msgstr ""
  19676. #. type: Plain text
  19677. #: guix-git/doc/guix.texi:12687
  19678. msgid "In addition to options explicitly passed on the command line, @command{guix build} and other @command{guix} commands that support building honor the @env{GUIX_BUILD_OPTIONS} environment variable."
  19679. msgstr ""
  19680. #. type: defvr
  19681. #: guix-git/doc/guix.texi:12688
  19682. #, no-wrap
  19683. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  19684. msgstr ""
  19685. #. type: defvr
  19686. #: guix-git/doc/guix.texi:12693
  19687. msgid "Users can define this variable to a list of command line options that will automatically be used by @command{guix build} and other @command{guix} commands that can perform builds, as in the example below:"
  19688. msgstr ""
  19689. #. type: example
  19690. #: guix-git/doc/guix.texi:12696
  19691. #, no-wrap
  19692. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  19693. msgstr ""
  19694. #. type: defvr
  19695. #: guix-git/doc/guix.texi:12700
  19696. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  19697. msgstr ""
  19698. #. type: cindex
  19699. #: guix-git/doc/guix.texi:12706
  19700. #, no-wrap
  19701. msgid "package variants"
  19702. msgstr ""
  19703. #. type: Plain text
  19704. #: guix-git/doc/guix.texi:12714
  19705. msgid "Another set of command-line options supported by @command{guix build} and also @command{guix package} are @dfn{package transformation options}. These are options that make it possible to define @dfn{package variants}---for instance, packages built from different source code. This is a convenient way to create customized packages on the fly without having to type in the definitions of package variants (@pxref{Defining Packages})."
  19706. msgstr ""
  19707. #. type: Plain text
  19708. #: guix-git/doc/guix.texi:12718
  19709. msgid "Package transformation options are preserved across upgrades: @command{guix upgrade} attempts to apply transformation options initially used when creating the profile to the upgraded packages."
  19710. msgstr ""
  19711. #. type: Plain text
  19712. #: guix-git/doc/guix.texi:12723
  19713. msgid "The available options are listed below. Most commands support them and also support a @option{--help-transform} option that lists all the available options and a synopsis (these options are not shown in the @option{--help} output for brevity)."
  19714. msgstr ""
  19715. #. type: cindex
  19716. #: guix-git/doc/guix.texi:12726
  19717. #, fuzzy, no-wrap
  19718. #| msgid "formatting code"
  19719. msgid "performance, tuning code"
  19720. msgstr "formatação de código"
  19721. #. type: cindex
  19722. #: guix-git/doc/guix.texi:12727
  19723. #, fuzzy, no-wrap
  19724. #| msgid "customization, of packages"
  19725. msgid "optimization, of package code"
  19726. msgstr "personalização, de pacotes"
  19727. #. type: cindex
  19728. #: guix-git/doc/guix.texi:12728
  19729. #, fuzzy, no-wrap
  19730. #| msgid "formatting, of code"
  19731. msgid "tuning, of package code"
  19732. msgstr "formatação, de código"
  19733. #. type: cindex
  19734. #: guix-git/doc/guix.texi:12729
  19735. #, no-wrap
  19736. msgid "SIMD support"
  19737. msgstr ""
  19738. #. type: cindex
  19739. #: guix-git/doc/guix.texi:12730
  19740. #, fuzzy, no-wrap
  19741. #| msgid "packages"
  19742. msgid "tunable packages"
  19743. msgstr "pacotes"
  19744. #. type: cindex
  19745. #: guix-git/doc/guix.texi:12731
  19746. #, fuzzy, no-wrap
  19747. #| msgid "package version"
  19748. msgid "package multi-versioning"
  19749. msgstr "versão de pacote"
  19750. #. type: item
  19751. #: guix-git/doc/guix.texi:12732
  19752. #, fuzzy, no-wrap
  19753. #| msgid "--coverage[=@var{count}]"
  19754. msgid "--tune[=@var{cpu}]"
  19755. msgstr "--coverage[=@var{contagem}]"
  19756. #. type: table
  19757. #: guix-git/doc/guix.texi:12736
  19758. msgid "Use versions of the packages marked as ``tunable'' optimized for @var{cpu}. When @var{cpu} is @code{native}, or when it is omitted, tune for the CPU on which the @command{guix} command is running."
  19759. msgstr ""
  19760. #. type: table
  19761. #: guix-git/doc/guix.texi:12742
  19762. msgid "Valid @var{cpu} names are those recognized by the underlying compiler, by default the GNU Compiler Collection. On x86_64 processors, this includes CPU names such as @code{nehalem}, @code{haswell}, and @code{skylake} (@pxref{x86 Options, @code{-march},, gcc, Using the GNU Compiler Collection (GCC)})."
  19763. msgstr ""
  19764. #. type: table
  19765. #: guix-git/doc/guix.texi:12749
  19766. msgid "As new generations of CPUs come out, they augment the standard instruction set architecture (ISA) with additional instructions, in particular instructions for single-instruction/multiple-data (SIMD) parallel processing. For example, while Core2 and Skylake CPUs both implement the x86_64 ISA, only the latter supports AVX2 SIMD instructions."
  19767. msgstr ""
  19768. #. type: table
  19769. #: guix-git/doc/guix.texi:12756
  19770. msgid "The primary gain one can expect from @option{--tune} is for programs that can make use of those SIMD capabilities @emph{and} that do not already have a mechanism to select the right optimized code at run time. Packages that have the @code{tunable?} property set are considered @dfn{tunable packages} by the @option{--tune} option; a package definition with the property set looks like this:"
  19771. msgstr ""
  19772. #. type: lisp
  19773. #: guix-git/doc/guix.texi:12761
  19774. #, no-wrap
  19775. msgid ""
  19776. "(package\n"
  19777. " (name \"hello-simd\")\n"
  19778. " ;; ...\n"
  19779. "\n"
  19780. msgstr ""
  19781. #. type: lisp
  19782. #: guix-git/doc/guix.texi:12765
  19783. #, no-wrap
  19784. msgid ""
  19785. " ;; This package may benefit from SIMD extensions so\n"
  19786. " ;; mark it as \"tunable\".\n"
  19787. " (properties '((tunable? . #t))))\n"
  19788. msgstr ""
  19789. #. type: table
  19790. #: guix-git/doc/guix.texi:12770
  19791. msgid "Other packages are not considered tunable. This allows Guix to use generic binaries in the cases where tuning for a specific CPU is unlikely to provide any gain."
  19792. msgstr ""
  19793. #. type: table
  19794. #: guix-git/doc/guix.texi:12776
  19795. msgid "Tuned packages are built with @code{-march=@var{CPU}}; under the hood, the @option{-march} option is passed to the actual wrapper by a compiler wrapper. Since the build machine may not be able to run code for the target CPU micro-architecture, the test suite is not run when building a tuned package."
  19796. msgstr ""
  19797. #. type: table
  19798. #: guix-git/doc/guix.texi:12780
  19799. msgid "To reduce rebuilds to the minimum, tuned packages are @emph{grafted} onto packages that depend on them (@pxref{Security Updates, grafts}). Thus, using @option{--no-grafts} cancels the effect of @option{--tune}."
  19800. msgstr ""
  19801. #. type: table
  19802. #: guix-git/doc/guix.texi:12786
  19803. msgid "We call this technique @dfn{package multi-versioning}: several variants of tunable packages may be built, one for each CPU variant. It is the coarse-grain counterpart of @dfn{function multi-versioning} as implemented by the GNU tool chain (@pxref{Function Multiversioning,,, gcc, Using the GNU Compiler Collection (GCC)})."
  19804. msgstr ""
  19805. #. type: item
  19806. #: guix-git/doc/guix.texi:12787
  19807. #, no-wrap
  19808. msgid "--with-source=@var{source}"
  19809. msgstr "--with-source=@var{fonte}"
  19810. #. type: itemx
  19811. #: guix-git/doc/guix.texi:12788
  19812. #, no-wrap
  19813. msgid "--with-source=@var{package}=@var{source}"
  19814. msgstr "--with-source=@var{pacote}=@var{fonte}"
  19815. #. type: itemx
  19816. #: guix-git/doc/guix.texi:12789
  19817. #, no-wrap
  19818. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  19819. msgstr ""
  19820. #. type: table
  19821. #: guix-git/doc/guix.texi:12794
  19822. msgid "Use @var{source} as the source of @var{package}, and @var{version} as its version number. @var{source} must be a file name or a URL, as for @command{guix download} (@pxref{Invoking guix download})."
  19823. msgstr ""
  19824. #. type: table
  19825. #: guix-git/doc/guix.texi:12800
  19826. msgid "When @var{package} is omitted, it is taken to be the package name specified on the command line that matches the base of @var{source}---e.g., if @var{source} is @code{/src/guile-2.0.10.tar.gz}, the corresponding package is @code{guile}."
  19827. msgstr ""
  19828. #. type: table
  19829. #: guix-git/doc/guix.texi:12803
  19830. msgid "Likewise, when @var{version} is omitted, the version string is inferred from @var{source}; in the previous example, it is @code{2.0.10}."
  19831. msgstr ""
  19832. #. type: table
  19833. #: guix-git/doc/guix.texi:12808
  19834. msgid "This option allows users to try out versions of packages other than the one provided by the distribution. The example below downloads @file{ed-1.7.tar.gz} from a GNU mirror and uses that as the source for the @code{ed} package:"
  19835. msgstr ""
  19836. #. type: example
  19837. #: guix-git/doc/guix.texi:12811
  19838. #, no-wrap
  19839. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.4.tar.gz\n"
  19840. msgstr ""
  19841. #. type: table
  19842. #: guix-git/doc/guix.texi:12816
  19843. msgid "As a developer, @option{--with-source} makes it easy to test release candidates, and even to test their impact on packages that depend on them:"
  19844. msgstr ""
  19845. #. type: example
  19846. #: guix-git/doc/guix.texi:12819
  19847. #, no-wrap
  19848. msgid "guix build elogind --with-source=@dots{}/shepherd-0.9.0rc1.tar.gz\n"
  19849. msgstr ""
  19850. #. type: table
  19851. #: guix-git/doc/guix.texi:12822
  19852. msgid "@dots{} or to build from a checkout in a pristine environment:"
  19853. msgstr ""
  19854. #. type: example
  19855. #: guix-git/doc/guix.texi:12826
  19856. #, no-wrap
  19857. msgid ""
  19858. "$ git clone git://git.sv.gnu.org/guix.git\n"
  19859. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  19860. msgstr ""
  19861. #. type: item
  19862. #: guix-git/doc/guix.texi:12828
  19863. #, no-wrap
  19864. msgid "--with-input=@var{package}=@var{replacement}"
  19865. msgstr "--with-input=@var{pacote}=@var{substituto}"
  19866. #. type: table
  19867. #: guix-git/doc/guix.texi:12833
  19868. msgid "Replace dependency on @var{package} by a dependency on @var{replacement}. @var{package} must be a package name, and @var{replacement} must be a package specification such as @code{guile} or @code{guile@@1.8}."
  19869. msgstr ""
  19870. #. type: table
  19871. #: guix-git/doc/guix.texi:12837
  19872. msgid "For instance, the following command builds Guix, but replaces its dependency on the current stable version of Guile with a dependency on the legacy version of Guile, @code{guile@@2.2}:"
  19873. msgstr ""
  19874. #. type: example
  19875. #: guix-git/doc/guix.texi:12840
  19876. #, fuzzy, no-wrap
  19877. #| msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  19878. msgid "guix build --with-input=guile=guile@@2.2 guix\n"
  19879. msgstr "guix build --with-input=guile=guile@@2.0 guix\n"
  19880. #. type: table
  19881. #: guix-git/doc/guix.texi:12845
  19882. msgid "This is a recursive, deep replacement. So in this example, both @code{guix} and its dependency @code{guile-json} (which also depends on @code{guile}) get rebuilt against @code{guile@@2.2}."
  19883. msgstr ""
  19884. #. type: table
  19885. #: guix-git/doc/guix.texi:12848
  19886. msgid "This is implemented using the @code{package-input-rewriting/spec} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting/spec}})."
  19887. msgstr ""
  19888. #. type: item
  19889. #: guix-git/doc/guix.texi:12849
  19890. #, no-wrap
  19891. msgid "--with-graft=@var{package}=@var{replacement}"
  19892. msgstr ""
  19893. #. type: table
  19894. #: guix-git/doc/guix.texi:12855
  19895. msgid "This is similar to @option{--with-input} but with an important difference: instead of rebuilding the whole dependency chain, @var{replacement} is built and then @dfn{grafted} onto the binaries that were initially referring to @var{package}. @xref{Security Updates}, for more information on grafts."
  19896. msgstr ""
  19897. #. type: table
  19898. #: guix-git/doc/guix.texi:12859
  19899. msgid "For example, the command below grafts version 3.5.4 of GnuTLS onto Wget and all its dependencies, replacing references to the version of GnuTLS they currently refer to:"
  19900. msgstr ""
  19901. #. type: example
  19902. #: guix-git/doc/guix.texi:12862
  19903. #, no-wrap
  19904. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  19905. msgstr ""
  19906. #. type: table
  19907. #: guix-git/doc/guix.texi:12871
  19908. msgid "This has the advantage of being much faster than rebuilding everything. But there is a caveat: it works if and only if @var{package} and @var{replacement} are strictly compatible---for example, if they provide a library, the application binary interface (ABI) of those libraries must be compatible. If @var{replacement} is somehow incompatible with @var{package}, then the resulting package may be unusable. Use with care!"
  19909. msgstr ""
  19910. #. type: cindex
  19911. #: guix-git/doc/guix.texi:12872 guix-git/doc/guix.texi:44858
  19912. #, no-wrap
  19913. msgid "debugging info, rebuilding"
  19914. msgstr ""
  19915. #. type: item
  19916. #: guix-git/doc/guix.texi:12873
  19917. #, no-wrap
  19918. msgid "--with-debug-info=@var{package}"
  19919. msgstr ""
  19920. #. type: table
  19921. #: guix-git/doc/guix.texi:12878
  19922. msgid "Build @var{package} in a way that preserves its debugging info and graft it onto packages that depend on it. This is useful if @var{package} does not already provide debugging info as a @code{debug} output (@pxref{Installing Debugging Files})."
  19923. msgstr ""
  19924. #. type: table
  19925. #: guix-git/doc/guix.texi:12884
  19926. msgid "For example, suppose you're experiencing a crash in Inkscape and would like to see what's up in GLib, a library deep down in Inkscape's dependency graph. GLib lacks a @code{debug} output, so debugging is tough. Fortunately, you rebuild GLib with debugging info and tack it on Inkscape:"
  19927. msgstr ""
  19928. #. type: example
  19929. #: guix-git/doc/guix.texi:12887 guix-git/doc/guix.texi:44889
  19930. #, no-wrap
  19931. msgid "guix install inkscape --with-debug-info=glib\n"
  19932. msgstr ""
  19933. #. type: table
  19934. #: guix-git/doc/guix.texi:12891
  19935. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  19936. msgstr ""
  19937. #. type: quotation
  19938. #: guix-git/doc/guix.texi:12897
  19939. msgid "Under the hood, this option works by passing the @samp{#:strip-binaries? #f} to the build system of the package of interest (@pxref{Build Systems}). Most build systems support that option but some do not. In that case, an error is raised."
  19940. msgstr ""
  19941. #. type: quotation
  19942. #: guix-git/doc/guix.texi:12901
  19943. msgid "Likewise, if a C/C++ package is built without @code{-g} (which is rarely the case), debugging info will remain unavailable even when @code{#:strip-binaries?} is false."
  19944. msgstr ""
  19945. #. type: cindex
  19946. #: guix-git/doc/guix.texi:12903
  19947. #, no-wrap
  19948. msgid "tool chain, changing the build tool chain of a package"
  19949. msgstr ""
  19950. #. type: item
  19951. #: guix-git/doc/guix.texi:12904
  19952. #, no-wrap
  19953. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  19954. msgstr ""
  19955. #. type: table
  19956. #: guix-git/doc/guix.texi:12908
  19957. msgid "This option changes the compilation of @var{package} and everything that depends on it so that they get built with @var{toolchain} instead of the default GNU tool chain for C/C++."
  19958. msgstr ""
  19959. #. type: example
  19960. #: guix-git/doc/guix.texi:12915
  19961. #, no-wrap
  19962. msgid ""
  19963. "guix build octave-cli \\\n"
  19964. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  19965. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  19966. msgstr ""
  19967. #. type: table
  19968. #: guix-git/doc/guix.texi:12922
  19969. msgid "The command above builds a variant of the @code{fftw} and @code{fftwf} packages using version 10 of @code{gcc-toolchain} instead of the default tool chain, and then builds a variant of the GNU@tie{}Octave command-line interface using them. GNU@tie{}Octave itself is also built with @code{gcc-toolchain@@10}."
  19970. msgstr ""
  19971. #. type: table
  19972. #: guix-git/doc/guix.texi:12926
  19973. msgid "This other example builds the Hardware Locality (@code{hwloc}) library and its dependents up to @code{intel-mpi-benchmarks} with the Clang C compiler:"
  19974. msgstr ""
  19975. #. type: example
  19976. #: guix-git/doc/guix.texi:12930
  19977. #, no-wrap
  19978. msgid ""
  19979. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  19980. " intel-mpi-benchmarks\n"
  19981. msgstr ""
  19982. #. type: quotation
  19983. #: guix-git/doc/guix.texi:12939
  19984. msgid "There can be application binary interface (ABI) incompatibilities among tool chains. This is particularly true of the C++ standard library and run-time support libraries such as that of OpenMP@. By rebuilding all dependents with the same tool chain, @option{--with-c-toolchain} minimizes the risks of incompatibility but cannot entirely eliminate them. Choose @var{package} wisely."
  19985. msgstr ""
  19986. #. type: item
  19987. #: guix-git/doc/guix.texi:12941
  19988. #, no-wrap
  19989. msgid "--with-git-url=@var{package}=@var{url}"
  19990. msgstr "--with-git-url=@var{pacote}=@var{url}"
  19991. #. type: cindex
  19992. #: guix-git/doc/guix.texi:12942
  19993. #, no-wrap
  19994. msgid "Git, using the latest commit"
  19995. msgstr ""
  19996. #. type: cindex
  19997. #: guix-git/doc/guix.texi:12943
  19998. #, no-wrap
  19999. msgid "latest commit, building"
  20000. msgstr ""
  20001. #. type: table
  20002. #: guix-git/doc/guix.texi:12947
  20003. msgid "Build @var{package} from the latest commit of the @code{master} branch of the Git repository at @var{url}. Git sub-modules of the repository are fetched, recursively."
  20004. msgstr ""
  20005. #. type: table
  20006. #: guix-git/doc/guix.texi:12950
  20007. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  20008. msgstr ""
  20009. #. type: example
  20010. #: guix-git/doc/guix.texi:12954
  20011. #, no-wrap
  20012. msgid ""
  20013. "guix build python-numpy \\\n"
  20014. " --with-git-url=python=https://github.com/python/cpython\n"
  20015. msgstr ""
  20016. #. type: table
  20017. #: guix-git/doc/guix.texi:12958
  20018. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  20019. msgstr ""
  20020. #. type: cindex
  20021. #: guix-git/doc/guix.texi:12959 guix-git/doc/guix.texi:33075
  20022. #, no-wrap
  20023. msgid "continuous integration"
  20024. msgstr ""
  20025. #. type: table
  20026. #: guix-git/doc/guix.texi:12965
  20027. msgid "Obviously, since it uses the latest commit of the given branch, the result of such a command varies over time. Nevertheless it is a convenient way to rebuild entire software stacks against the latest commit of one or more packages. This is particularly useful in the context of continuous integration (CI)."
  20028. msgstr ""
  20029. #. type: table
  20030. #: guix-git/doc/guix.texi:12969
  20031. msgid "Checkouts are kept in a cache under @file{~/.cache/guix/checkouts} to speed up consecutive accesses to the same repository. You may want to clean it up once in a while to save disk space."
  20032. msgstr ""
  20033. #. type: item
  20034. #: guix-git/doc/guix.texi:12970
  20035. #, no-wrap
  20036. msgid "--with-branch=@var{package}=@var{branch}"
  20037. msgstr "--with-branch=@var{pacote}=@var{ramo}"
  20038. #. type: table
  20039. #: guix-git/doc/guix.texi:12976
  20040. msgid "Build @var{package} from the latest commit of @var{branch}. If the @code{source} field of @var{package} is an origin with the @code{git-fetch} method (@pxref{origin Reference}) or a @code{git-checkout} object, the repository URL is taken from that @code{source}. Otherwise you have to use @option{--with-git-url} to specify the URL of the Git repository."
  20041. msgstr ""
  20042. #. type: table
  20043. #: guix-git/doc/guix.texi:12981
  20044. msgid "For instance, the following command builds @code{guile-sqlite3} from the latest commit of its @code{master} branch, and then builds @code{guix} (which depends on it) and @code{cuirass} (which depends on @code{guix}) against this specific @code{guile-sqlite3} build:"
  20045. msgstr ""
  20046. #. type: example
  20047. #: guix-git/doc/guix.texi:12984
  20048. #, no-wrap
  20049. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  20050. msgstr "guix build --with-branch=guile-sqlite3=master cuirass\n"
  20051. #. type: item
  20052. #: guix-git/doc/guix.texi:12986
  20053. #, no-wrap
  20054. msgid "--with-commit=@var{package}=@var{commit}"
  20055. msgstr "--with-commit=@var{pacote}=@var{commit}"
  20056. #. type: table
  20057. #: guix-git/doc/guix.texi:12991
  20058. msgid "This is similar to @option{--with-branch}, except that it builds from @var{commit} rather than the tip of a branch. @var{commit} must be a valid Git commit SHA1 identifier, a tag, or a @command{git describe} style identifier such as @code{1.0-3-gabc123}."
  20059. msgstr ""
  20060. #. type: item
  20061. #: guix-git/doc/guix.texi:12992
  20062. #, no-wrap
  20063. msgid "--with-patch=@var{package}=@var{file}"
  20064. msgstr ""
  20065. #. type: table
  20066. #: guix-git/doc/guix.texi:12999
  20067. msgid "Add @var{file} to the list of patches applied to @var{package}, where @var{package} is a spec such as @code{python@@3.8} or @code{glibc}. @var{file} must contain a patch; it is applied with the flags specified in the @code{origin} of @var{package} (@pxref{origin Reference}), which by default includes @code{-p1} (@pxref{patch Directories,,, diffutils, Comparing and Merging Files})."
  20068. msgstr ""
  20069. #. type: table
  20070. #: guix-git/doc/guix.texi:13002
  20071. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  20072. msgstr ""
  20073. #. type: example
  20074. #: guix-git/doc/guix.texi:13005
  20075. #, no-wrap
  20076. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  20077. msgstr ""
  20078. #. type: table
  20079. #: guix-git/doc/guix.texi:13009
  20080. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  20081. msgstr ""
  20082. #. type: cindex
  20083. #: guix-git/doc/guix.texi:13010
  20084. #, no-wrap
  20085. msgid "configure flags, changing them"
  20086. msgstr ""
  20087. #. type: item
  20088. #: guix-git/doc/guix.texi:13011
  20089. #, fuzzy, no-wrap
  20090. #| msgid "--with-git-url=@var{package}=@var{url}"
  20091. msgid "--with-configure-flag=@var{package}=@var{flag}"
  20092. msgstr "--with-git-url=@var{pacote}=@var{url}"
  20093. #. type: table
  20094. #: guix-git/doc/guix.texi:13016
  20095. msgid "Append @var{flag} to the configure flags of @var{package}, where @var{package} is a spec such as @code{guile@@3.0} or @code{glibc}. The build system of @var{package} must support the @code{#:configure-flags} argument."
  20096. msgstr ""
  20097. #. type: table
  20098. #: guix-git/doc/guix.texi:13019
  20099. msgid "For example, the command below builds GNU@tie{}Hello with the configure flag @code{--disable-nls}:"
  20100. msgstr ""
  20101. #. type: example
  20102. #: guix-git/doc/guix.texi:13022
  20103. #, no-wrap
  20104. msgid "guix build hello --with-configure-flag=hello=--disable-nls\n"
  20105. msgstr ""
  20106. #. type: table
  20107. #: guix-git/doc/guix.texi:13026
  20108. msgid "The following command passes an extra flag to @command{cmake} as it builds @code{lapack}:"
  20109. msgstr ""
  20110. #. type: example
  20111. #: guix-git/doc/guix.texi:13030
  20112. #, no-wrap
  20113. msgid ""
  20114. "guix build lapack \\\n"
  20115. " --with-configure-flag=lapack=-DBUILD_SHARED_LIBS=OFF\n"
  20116. msgstr ""
  20117. #. type: quotation
  20118. #: guix-git/doc/guix.texi:13037
  20119. msgid "Under the hood, this option works by passing the @samp{#:configure-flags} argument to the build system of the package of interest (@pxref{Build Systems}). Most build systems support that option but some do not. In that case, an error is raised."
  20120. msgstr ""
  20121. #. type: cindex
  20122. #: guix-git/doc/guix.texi:13039
  20123. #, no-wrap
  20124. msgid "upstream, latest version"
  20125. msgstr ""
  20126. #. type: item
  20127. #: guix-git/doc/guix.texi:13040
  20128. #, no-wrap
  20129. msgid "--with-latest=@var{package}"
  20130. msgstr ""
  20131. #. type: itemx
  20132. #: guix-git/doc/guix.texi:13041
  20133. #, fuzzy, no-wrap
  20134. #| msgid "--with-source=@var{package}=@var{source}"
  20135. msgid "--with-version=@var{package}=@var{version}"
  20136. msgstr "--with-source=@var{pacote}=@var{fonte}"
  20137. #. type: table
  20138. #: guix-git/doc/guix.texi:13047
  20139. msgid "So you like living on the bleeding edge? The @option{--with-latest} option is for you! It replaces occurrences of @var{package} in the dependency graph with its latest upstream version, as reported by @command{guix refresh} (@pxref{Invoking guix refresh})."
  20140. msgstr ""
  20141. #. type: table
  20142. #: guix-git/doc/guix.texi:13051
  20143. msgid "It does so by determining the latest upstream release of @var{package} (if possible), downloading it, and authenticating it @emph{if} it comes with an OpenPGP signature."
  20144. msgstr ""
  20145. #. type: table
  20146. #: guix-git/doc/guix.texi:13054
  20147. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  20148. msgstr ""
  20149. #. type: example
  20150. #: guix-git/doc/guix.texi:13057
  20151. #, no-wrap
  20152. msgid "guix build guix --with-latest=guile-json\n"
  20153. msgstr ""
  20154. #. type: table
  20155. #: guix-git/doc/guix.texi:13064
  20156. msgid "The @option{--with-version} works similarly except that it lets you specify that you want precisely @var{version}, assuming that version exists upstream. For example, to spawn a development environment with SciPy built against version 1.22.4 of NumPy (skipping its test suite because hey, we're not gonna wait this long), you would run:"
  20157. msgstr ""
  20158. #. type: example
  20159. #: guix-git/doc/guix.texi:13067
  20160. #, no-wrap
  20161. msgid "guix shell python python-scipy --with-version=python-numpy=1.22.4\n"
  20162. msgstr ""
  20163. #. type: quotation
  20164. #: guix-git/doc/guix.texi:13074
  20165. msgid "Because they depend on source code published at a given point in time on upstream servers, deployments made with @option{--with-latest} and @option{--with-version} may be non-reproducible: source might disappear or be modified in place on the servers."
  20166. msgstr ""
  20167. #. type: quotation
  20168. #: guix-git/doc/guix.texi:13077
  20169. msgid "To deploy old software versions without compromising on reproducibility, @pxref{Invoking guix time-machine, @command{guix time-machine}}."
  20170. msgstr ""
  20171. #. type: table
  20172. #: guix-git/doc/guix.texi:13086
  20173. msgid "There are limitations. First, in cases where the tool cannot or does not know how to authenticate source code, you are at risk of running malicious code; a warning is emitted in this case. Second, this option simply changes the source used in the existing package definitions, which is not always sufficient: there might be additional dependencies that need to be added, patches to apply, and more generally the quality assurance work that Guix developers normally do will be missing."
  20174. msgstr ""
  20175. #. type: table
  20176. #: guix-git/doc/guix.texi:13091
  20177. msgid "You've been warned! When those limitations are acceptable, it's a snappy way to stay on top. We encourage you to submit patches updating the actual package definitions once you have successfully tested an upgrade with @option{--with-latest} (@pxref{Contributing})."
  20178. msgstr ""
  20179. #. type: cindex
  20180. #: guix-git/doc/guix.texi:13092
  20181. #, no-wrap
  20182. msgid "test suite, skipping"
  20183. msgstr ""
  20184. #. type: item
  20185. #: guix-git/doc/guix.texi:13093
  20186. #, no-wrap
  20187. msgid "--without-tests=@var{package}"
  20188. msgstr ""
  20189. #. type: table
  20190. #: guix-git/doc/guix.texi:13099
  20191. msgid "Build @var{package} without running its tests. This can be useful in situations where you want to skip the lengthy test suite of a intermediate package, or if a package's test suite fails in a non-deterministic fashion. It should be used with care because running the test suite is a good way to ensure a package is working as intended."
  20192. msgstr ""
  20193. #. type: table
  20194. #: guix-git/doc/guix.texi:13103
  20195. msgid "Turning off tests leads to a different store item. Consequently, when using this option, anything that depends on @var{package} must be rebuilt, as in this example:"
  20196. msgstr ""
  20197. #. type: example
  20198. #: guix-git/doc/guix.texi:13106
  20199. #, no-wrap
  20200. msgid "guix install --without-tests=python python-notebook\n"
  20201. msgstr ""
  20202. #. type: table
  20203. #: guix-git/doc/guix.texi:13112
  20204. msgid "The command above installs @code{python-notebook} on top of @code{python} built without running its test suite. To do so, it also rebuilds everything that depends on @code{python}, including @code{python-notebook} itself."
  20205. msgstr ""
  20206. #. type: table
  20207. #: guix-git/doc/guix.texi:13118
  20208. msgid "Internally, @option{--without-tests} relies on changing the @code{#:tests?} option of a package's @code{check} phase (@pxref{Build Systems}). Note that some packages use a customized @code{check} phase that does not respect a @code{#:tests? #f} setting. Therefore, @option{--without-tests} has no effect on these packages."
  20209. msgstr ""
  20210. #. type: Plain text
  20211. #: guix-git/doc/guix.texi:13125
  20212. msgid "Wondering how to achieve the same effect using Scheme code, for example in your manifest, or how to write your own package transformation? @xref{Defining Package Variants}, for an overview of the programming interfaces available."
  20213. msgstr ""
  20214. #. type: Plain text
  20215. #: guix-git/doc/guix.texi:13131
  20216. msgid "The command-line options presented below are specific to @command{guix build}."
  20217. msgstr ""
  20218. #. type: item
  20219. #: guix-git/doc/guix.texi:13134
  20220. #, no-wrap
  20221. msgid "--quiet"
  20222. msgstr ""
  20223. #. type: table
  20224. #: guix-git/doc/guix.texi:13139
  20225. msgid "Build quietly, without displaying the build log; this is equivalent to @option{--verbosity=0}. Upon completion, the build log is kept in @file{/var} (or similar) and can always be retrieved using the @option{--log-file} option."
  20226. msgstr ""
  20227. #. type: table
  20228. #: guix-git/doc/guix.texi:13144
  20229. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  20230. msgstr ""
  20231. #. type: table
  20232. #: guix-git/doc/guix.texi:13147
  20233. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  20234. msgstr ""
  20235. #. type: table
  20236. #: guix-git/doc/guix.texi:13156
  20237. msgid "The @var{file} may also contain a JSON representation of one or more package definitions. Running @code{guix build -f} on @file{hello.json} with the following contents would result in building the packages @code{myhello} and @code{greeter}:"
  20238. msgstr ""
  20239. #. type: item
  20240. #: guix-git/doc/guix.texi:13161
  20241. #, no-wrap
  20242. msgid "--manifest=@var{manifest}"
  20243. msgstr ""
  20244. #. type: itemx
  20245. #: guix-git/doc/guix.texi:13162
  20246. #, no-wrap
  20247. msgid "-m @var{manifest}"
  20248. msgstr ""
  20249. #. type: table
  20250. #: guix-git/doc/guix.texi:13165
  20251. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  20252. msgstr ""
  20253. #. type: table
  20254. #: guix-git/doc/guix.texi:13169
  20255. msgid "Build the package or derivation @var{expr} evaluates to."
  20256. msgstr ""
  20257. #. type: table
  20258. #: guix-git/doc/guix.texi:13173
  20259. msgid "For example, @var{expr} may be @code{(@@ (gnu packages guile) guile-1.8)}, which unambiguously designates this specific variant of version 1.8 of Guile."
  20260. msgstr ""
  20261. #. type: table
  20262. #: guix-git/doc/guix.texi:13177
  20263. msgid "Alternatively, @var{expr} may be a G-expression, in which case it is used as a build program passed to @code{gexp->derivation} (@pxref{G-Expressions})."
  20264. msgstr ""
  20265. #. type: table
  20266. #: guix-git/doc/guix.texi:13181
  20267. msgid "Lastly, @var{expr} may refer to a zero-argument monadic procedure (@pxref{The Store Monad}). The procedure must return a derivation as a monadic value, which is then passed through @code{run-with-store}."
  20268. msgstr ""
  20269. #. type: item
  20270. #: guix-git/doc/guix.texi:13182
  20271. #, no-wrap
  20272. msgid "--source"
  20273. msgstr ""
  20274. #. type: itemx
  20275. #: guix-git/doc/guix.texi:13183
  20276. #, no-wrap
  20277. msgid "-S"
  20278. msgstr ""
  20279. #. type: table
  20280. #: guix-git/doc/guix.texi:13186
  20281. msgid "Build the source derivations of the packages, rather than the packages themselves."
  20282. msgstr ""
  20283. #. type: table
  20284. #: guix-git/doc/guix.texi:13190
  20285. msgid "For instance, @code{guix build -S gcc} returns something like @file{/gnu/store/@dots{}-gcc-4.7.2.tar.bz2}, which is the GCC source tarball."
  20286. msgstr ""
  20287. #. type: table
  20288. #: guix-git/doc/guix.texi:13194
  20289. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  20290. msgstr ""
  20291. #. type: cindex
  20292. #: guix-git/doc/guix.texi:13195
  20293. #, no-wrap
  20294. msgid "source, verification"
  20295. msgstr ""
  20296. #. type: table
  20297. #: guix-git/doc/guix.texi:13201
  20298. msgid "As with other derivations, the result of building a source derivation can be verified using the @option{--check} option (@pxref{build-check}). This is useful to validate that a (potentially already built or substituted, thus cached) package source matches against its declared hash."
  20299. msgstr ""
  20300. #. type: table
  20301. #: guix-git/doc/guix.texi:13206
  20302. msgid "Note that @command{guix build -S} compiles the sources only of the specified packages. They do not include the sources of statically linked dependencies and by themselves are insufficient for reproducing the packages."
  20303. msgstr ""
  20304. #. type: item
  20305. #: guix-git/doc/guix.texi:13207
  20306. #, no-wrap
  20307. msgid "--sources"
  20308. msgstr ""
  20309. #. type: table
  20310. #: guix-git/doc/guix.texi:13214
  20311. msgid "Fetch and return the source of @var{package-or-derivation} and all their dependencies, recursively. This is a handy way to obtain a local copy of all the source code needed to build @var{packages}, allowing you to eventually build them even without network access. It is an extension of the @option{--source} option and can accept one of the following optional argument values:"
  20312. msgstr ""
  20313. #. type: item
  20314. #: guix-git/doc/guix.texi:13216 guix-git/doc/guix.texi:15210
  20315. #, no-wrap
  20316. msgid "package"
  20317. msgstr "pacote"
  20318. #. type: table
  20319. #: guix-git/doc/guix.texi:13219
  20320. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  20321. msgstr ""
  20322. #. type: item
  20323. #: guix-git/doc/guix.texi:13220 guix-git/doc/guix.texi:22654
  20324. #, no-wrap
  20325. msgid "all"
  20326. msgstr ""
  20327. #. type: table
  20328. #: guix-git/doc/guix.texi:13223
  20329. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  20330. msgstr ""
  20331. #. type: example
  20332. #: guix-git/doc/guix.texi:13229
  20333. #, no-wrap
  20334. msgid ""
  20335. "$ guix build --sources tzdata\n"
  20336. "The following derivations will be built:\n"
  20337. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  20338. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  20339. msgstr ""
  20340. #. type: item
  20341. #: guix-git/doc/guix.texi:13231
  20342. #, no-wrap
  20343. msgid "transitive"
  20344. msgstr ""
  20345. #. type: table
  20346. #: guix-git/doc/guix.texi:13235
  20347. msgid "Build the source derivations of all packages, as well of all transitive inputs to the packages. This can be used e.g.@: to prefetch package source for later offline building."
  20348. msgstr ""
  20349. #. type: example
  20350. #: guix-git/doc/guix.texi:13246
  20351. #, no-wrap
  20352. msgid ""
  20353. "$ guix build --sources=transitive tzdata\n"
  20354. "The following derivations will be built:\n"
  20355. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  20356. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  20357. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  20358. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  20359. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  20360. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  20361. "@dots{}\n"
  20362. msgstr ""
  20363. #. type: table
  20364. #: guix-git/doc/guix.texi:13256
  20365. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host. The @command{guix build} command allows you to repeat this option several times, in which case it builds for all the specified systems; other commands ignore extraneous @option{-s} options."
  20366. msgstr ""
  20367. #. type: quotation
  20368. #: guix-git/doc/guix.texi:13261
  20369. msgid "The @option{--system} flag is for @emph{native} compilation and must not be confused with cross-compilation. See @option{--target} below for information on cross-compilation."
  20370. msgstr ""
  20371. #. type: table
  20372. #: guix-git/doc/guix.texi:13268
  20373. msgid "An example use of this is on Linux-based systems, which can emulate different personalities. For instance, passing @option{--system=i686-linux} on an @code{x86_64-linux} system or @option{--system=armhf-linux} on an @code{aarch64-linux} system allows you to build packages in a complete 32-bit environment."
  20374. msgstr ""
  20375. #. type: quotation
  20376. #: guix-git/doc/guix.texi:13273
  20377. msgid "Building for an @code{armhf-linux} system is unconditionally enabled on @code{aarch64-linux} machines, although certain aarch64 chipsets do not allow for this functionality, notably the ThunderX."
  20378. msgstr ""
  20379. #. type: table
  20380. #: guix-git/doc/guix.texi:13279
  20381. msgid "Similarly, when transparent emulation with QEMU and @code{binfmt_misc} is enabled (@pxref{Virtualization Services, @code{qemu-binfmt-service-type}}), you can build for any system for which a QEMU @code{binfmt_misc} handler is installed."
  20382. msgstr ""
  20383. #. type: table
  20384. #: guix-git/doc/guix.texi:13283
  20385. msgid "Builds for a system other than that of the machine you are using can also be offloaded to a remote machine of the right architecture. @xref{Daemon Offload Setup}, for more information on offloading."
  20386. msgstr ""
  20387. #. type: table
  20388. #: guix-git/doc/guix.texi:13289
  20389. msgid "Cross-build for @var{triplet}, which must be a valid GNU triplet, such as @code{\"aarch64-linux-gnu\"} (@pxref{Specifying Target Triplets, GNU configuration triplets,, autoconf, Autoconf})."
  20390. msgstr ""
  20391. #. type: item
  20392. #: guix-git/doc/guix.texi:13290
  20393. #, fuzzy, no-wrap
  20394. #| msgid "--list-transitive"
  20395. msgid "--list-systems"
  20396. msgstr "--list-transitive"
  20397. #. type: table
  20398. #: guix-git/doc/guix.texi:13293
  20399. msgid "List all the supported systems, that can be passed as an argument to @option{--system}."
  20400. msgstr ""
  20401. #. type: item
  20402. #: guix-git/doc/guix.texi:13294
  20403. #, fuzzy, no-wrap
  20404. #| msgid "--list-failures"
  20405. msgid "--list-targets"
  20406. msgstr "--list-failures"
  20407. #. type: table
  20408. #: guix-git/doc/guix.texi:13297
  20409. msgid "List all the supported targets, that can be passed as an argument to @option{--target}."
  20410. msgstr ""
  20411. #. type: anchor{#1}
  20412. #: guix-git/doc/guix.texi:13299
  20413. msgid "build-check"
  20414. msgstr "build-check"
  20415. #. type: cindex
  20416. #: guix-git/doc/guix.texi:13300
  20417. #, no-wrap
  20418. msgid "determinism, checking"
  20419. msgstr "determinismo, verificação"
  20420. #. type: cindex
  20421. #: guix-git/doc/guix.texi:13301
  20422. #, no-wrap
  20423. msgid "reproducibility, checking"
  20424. msgstr "reprodutibilidade, verificação"
  20425. #. type: table
  20426. #: guix-git/doc/guix.texi:13305
  20427. msgid "Rebuild @var{package-or-derivation}, which are already available in the store, and raise an error if the build results are not bit-for-bit identical."
  20428. msgstr ""
  20429. #. type: table
  20430. #: guix-git/doc/guix.texi:13310
  20431. msgid "This mechanism allows you to check whether previously installed substitutes are genuine (@pxref{Substitutes}), or whether the build result of a package is deterministic. @xref{Invoking guix challenge}, for more background information and tools."
  20432. msgstr ""
  20433. #. type: item
  20434. #: guix-git/doc/guix.texi:13315
  20435. #, no-wrap
  20436. msgid "--repair"
  20437. msgstr ""
  20438. #. type: cindex
  20439. #: guix-git/doc/guix.texi:13316
  20440. #, no-wrap
  20441. msgid "repairing store items"
  20442. msgstr ""
  20443. #. type: table
  20444. #: guix-git/doc/guix.texi:13320
  20445. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  20446. msgstr ""
  20447. #. type: table
  20448. #: guix-git/doc/guix.texi:13322
  20449. msgid "This operation is not atomic and thus restricted to @code{root}."
  20450. msgstr ""
  20451. #. type: item
  20452. #: guix-git/doc/guix.texi:13323
  20453. #, no-wrap
  20454. msgid "--derivations"
  20455. msgstr ""
  20456. #. type: table
  20457. #: guix-git/doc/guix.texi:13327
  20458. msgid "Return the derivation paths, not the output paths, of the given packages."
  20459. msgstr ""
  20460. #. type: cindex
  20461. #: guix-git/doc/guix.texi:13330
  20462. #, no-wrap
  20463. msgid "GC roots, adding"
  20464. msgstr ""
  20465. #. type: cindex
  20466. #: guix-git/doc/guix.texi:13331
  20467. #, no-wrap
  20468. msgid "garbage collector roots, adding"
  20469. msgstr ""
  20470. #. type: table
  20471. #: guix-git/doc/guix.texi:13334 guix-git/doc/guix.texi:40375
  20472. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  20473. msgstr ""
  20474. #. type: table
  20475. #: guix-git/doc/guix.texi:13340
  20476. msgid "Consequently, the results of this @command{guix build} invocation are protected from garbage collection until @var{file} is removed. When that option is omitted, build results are eligible for garbage collection as soon as the build completes. @xref{Invoking guix gc}, for more on GC roots."
  20477. msgstr ""
  20478. #. type: item
  20479. #: guix-git/doc/guix.texi:13341
  20480. #, no-wrap
  20481. msgid "--log-file"
  20482. msgstr ""
  20483. #. type: cindex
  20484. #: guix-git/doc/guix.texi:13342
  20485. #, no-wrap
  20486. msgid "build logs, access"
  20487. msgstr ""
  20488. #. type: table
  20489. #: guix-git/doc/guix.texi:13346
  20490. msgid "Return the build log file names or URLs for the given @var{package-or-derivation}, or raise an error if build logs are missing."
  20491. msgstr ""
  20492. #. type: table
  20493. #: guix-git/doc/guix.texi:13349
  20494. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  20495. msgstr ""
  20496. #. type: example
  20497. #: guix-git/doc/guix.texi:13355
  20498. #, no-wrap
  20499. msgid ""
  20500. "guix build --log-file $(guix build -d guile)\n"
  20501. "guix build --log-file $(guix build guile)\n"
  20502. "guix build --log-file guile\n"
  20503. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  20504. msgstr ""
  20505. #. type: table
  20506. #: guix-git/doc/guix.texi:13360
  20507. msgid "If a log is unavailable locally, and unless @option{--no-substitutes} is passed, the command looks for a corresponding log on one of the substitute servers (as specified with @option{--substitute-urls})."
  20508. msgstr ""
  20509. #. type: table
  20510. #: guix-git/doc/guix.texi:13363
  20511. msgid "So for instance, imagine you want to see the build log of GDB on @code{aarch64}, but you are actually on an @code{x86_64} machine:"
  20512. msgstr ""
  20513. #. type: example
  20514. #: guix-git/doc/guix.texi:13367
  20515. #, no-wrap
  20516. msgid ""
  20517. "$ guix build --log-file gdb -s aarch64-linux\n"
  20518. "https://@value{SUBSTITUTE-SERVER-1}/log/@dots{}-gdb-7.10\n"
  20519. msgstr ""
  20520. #. type: table
  20521. #: guix-git/doc/guix.texi:13370
  20522. msgid "You can freely access a huge library of build logs!"
  20523. msgstr ""
  20524. #. type: cindex
  20525. #: guix-git/doc/guix.texi:13375
  20526. #, no-wrap
  20527. msgid "build failures, debugging"
  20528. msgstr ""
  20529. #. type: Plain text
  20530. #: guix-git/doc/guix.texi:13381
  20531. msgid "When defining a new package (@pxref{Defining Packages}), you will probably find yourself spending some time debugging and tweaking the build until it succeeds. To do that, you need to operate the build commands yourself in an environment as close as possible to the one the build daemon uses."
  20532. msgstr ""
  20533. #. type: Plain text
  20534. #: guix-git/doc/guix.texi:13386
  20535. msgid "To that end, the first thing to do is to use the @option{--keep-failed} or @option{-K} option of @command{guix build}, which will keep the failed build tree in @file{/tmp} or whatever directory you specified as @env{TMPDIR} (@pxref{Common Build Options, @option{--keep-failed}})."
  20536. msgstr ""
  20537. #. type: Plain text
  20538. #: guix-git/doc/guix.texi:13392
  20539. msgid "From there on, you can @command{cd} to the failed build tree and source the @file{environment-variables} file, which contains all the environment variable definitions that were in place when the build failed. So let's say you're debugging a build failure in package @code{foo}; a typical session would look like this:"
  20540. msgstr ""
  20541. #. type: example
  20542. #: guix-git/doc/guix.texi:13399
  20543. #, no-wrap
  20544. msgid ""
  20545. "$ guix build foo -K\n"
  20546. "@dots{} @i{build fails}\n"
  20547. "$ cd /tmp/guix-build-foo.drv-0\n"
  20548. "$ source ./environment-variables\n"
  20549. "$ cd foo-1.2\n"
  20550. msgstr ""
  20551. #. type: Plain text
  20552. #: guix-git/doc/guix.texi:13403
  20553. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  20554. msgstr ""
  20555. #. type: Plain text
  20556. #: guix-git/doc/guix.texi:13409
  20557. msgid "Sometimes it happens that, for example, a package's tests pass when you run them manually but they fail when the daemon runs them. This can happen because the daemon runs builds in containers where, unlike in our environment above, network access is missing, @file{/bin/sh} does not exist, etc. (@pxref{Build Environment Setup})."
  20558. msgstr ""
  20559. #. type: Plain text
  20560. #: guix-git/doc/guix.texi:13412
  20561. msgid "In such cases, you may need to run inspect the build process from within a container similar to the one the build daemon creates:"
  20562. msgstr ""
  20563. #. type: example
  20564. #: guix-git/doc/guix.texi:13420
  20565. #, no-wrap
  20566. msgid ""
  20567. "$ guix build -K foo\n"
  20568. "@dots{}\n"
  20569. "$ cd /tmp/guix-build-foo.drv-0\n"
  20570. "$ guix shell --no-grafts -C -D foo strace gdb\n"
  20571. "[env]# source ./environment-variables\n"
  20572. "[env]# cd foo-1.2\n"
  20573. msgstr ""
  20574. #. type: Plain text
  20575. #: guix-git/doc/guix.texi:13429
  20576. msgid "Here, @command{guix shell -C} creates a container and spawns a new shell in it (@pxref{Invoking guix shell}). The @command{strace gdb} part adds the @command{strace} and @command{gdb} commands to the container, which you may find handy while debugging. The @option{--no-grafts} option makes sure we get the exact same environment, with ungrafted packages (@pxref{Security Updates}, for more info on grafts)."
  20577. msgstr ""
  20578. #. type: Plain text
  20579. #: guix-git/doc/guix.texi:13432
  20580. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  20581. msgstr ""
  20582. #. type: example
  20583. #: guix-git/doc/guix.texi:13435
  20584. #, no-wrap
  20585. msgid "[env]# rm /bin/sh\n"
  20586. msgstr ""
  20587. #. type: Plain text
  20588. #: guix-git/doc/guix.texi:13439
  20589. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix shell}.)"
  20590. msgstr ""
  20591. #. type: Plain text
  20592. #: guix-git/doc/guix.texi:13442
  20593. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  20594. msgstr ""
  20595. #. type: example
  20596. #: guix-git/doc/guix.texi:13445
  20597. #, no-wrap
  20598. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  20599. msgstr ""
  20600. #. type: Plain text
  20601. #: guix-git/doc/guix.texi:13450
  20602. msgid "In this way, not only you will have reproduced the environment variables the daemon uses, you will also be running the build process in a container similar to the one the daemon uses."
  20603. msgstr ""
  20604. #. type: section
  20605. #: guix-git/doc/guix.texi:13453
  20606. #, no-wrap
  20607. msgid "Invoking @command{guix edit}"
  20608. msgstr "Invocando @command{guix edit}"
  20609. #. type: command{#1}
  20610. #: guix-git/doc/guix.texi:13455
  20611. #, no-wrap
  20612. msgid "guix edit"
  20613. msgstr ""
  20614. #. type: cindex
  20615. #: guix-git/doc/guix.texi:13456
  20616. #, no-wrap
  20617. msgid "package definition, editing"
  20618. msgstr ""
  20619. #. type: Plain text
  20620. #: guix-git/doc/guix.texi:13461
  20621. msgid "So many packages, so many source files! The @command{guix edit} command facilitates the life of users and packagers by pointing their editor at the source file containing the definition of the specified packages. For instance:"
  20622. msgstr ""
  20623. #. type: example
  20624. #: guix-git/doc/guix.texi:13464
  20625. #, no-wrap
  20626. msgid "guix edit gcc@@4.9 vim\n"
  20627. msgstr ""
  20628. #. type: Plain text
  20629. #: guix-git/doc/guix.texi:13470
  20630. msgid "launches the program specified in the @env{VISUAL} or in the @env{EDITOR} environment variable to view the recipe of GCC@tie{}4.9.3 and that of Vim."
  20631. msgstr ""
  20632. #. type: Plain text
  20633. #: guix-git/doc/guix.texi:13476
  20634. msgid "If you are using a Guix Git checkout (@pxref{Building from Git}), or have created your own packages on @env{GUIX_PACKAGE_PATH} (@pxref{Package Modules}), you will be able to edit the package recipes. In other cases, you will be able to examine the read-only recipes for packages currently in the store."
  20635. msgstr ""
  20636. #. type: Plain text
  20637. #: guix-git/doc/guix.texi:13481
  20638. msgid "Instead of @env{GUIX_PACKAGE_PATH}, the command-line option @option{--load-path=@var{directory}} (or in short @option{-L @var{directory}}) allows you to add @var{directory} to the front of the package module search path and so make your own packages visible."
  20639. msgstr ""
  20640. #. type: section
  20641. #: guix-git/doc/guix.texi:13483
  20642. #, no-wrap
  20643. msgid "Invoking @command{guix download}"
  20644. msgstr "Invocando @command{guix download}"
  20645. #. type: command{#1}
  20646. #: guix-git/doc/guix.texi:13485
  20647. #, no-wrap
  20648. msgid "guix download"
  20649. msgstr ""
  20650. #. type: cindex
  20651. #: guix-git/doc/guix.texi:13486
  20652. #, no-wrap
  20653. msgid "downloading package sources"
  20654. msgstr ""
  20655. #. type: Plain text
  20656. #: guix-git/doc/guix.texi:13493
  20657. msgid "When writing a package definition, developers typically need to download a source tarball, compute its SHA256 hash, and write that hash in the package definition (@pxref{Defining Packages}). The @command{guix download} tool helps with this task: it downloads a file from the given URI, adds it to the store, and prints both its file name in the store and its SHA256 hash."
  20658. msgstr ""
  20659. #. type: Plain text
  20660. #: guix-git/doc/guix.texi:13500
  20661. msgid "The fact that the downloaded file is added to the store saves bandwidth: when the developer eventually tries to build the newly defined package with @command{guix build}, the source tarball will not have to be downloaded again because it is already in the store. It is also a convenient way to temporarily stash files, which may be deleted eventually (@pxref{Invoking guix gc})."
  20662. msgstr ""
  20663. #. type: Plain text
  20664. #: guix-git/doc/guix.texi:13508
  20665. msgid "The @command{guix download} command supports the same URIs as used in package definitions. In particular, it supports @code{mirror://} URIs. @code{https} URIs (HTTP over TLS) are supported @emph{provided} the Guile bindings for GnuTLS are available in the user's environment; when they are not available, an error is raised. @xref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile}, for more information."
  20666. msgstr ""
  20667. #. type: Plain text
  20668. #: guix-git/doc/guix.texi:13513
  20669. msgid "@command{guix download} verifies HTTPS server certificates by loading the certificates of X.509 authorities from the directory pointed to by the @env{SSL_CERT_DIR} environment variable (@pxref{X.509 Certificates}), unless @option{--no-check-certificate} is used."
  20670. msgstr ""
  20671. #. type: Plain text
  20672. #: guix-git/doc/guix.texi:13515 guix-git/doc/guix.texi:15528
  20673. msgid "The following options are available:"
  20674. msgstr ""
  20675. #. type: item
  20676. #: guix-git/doc/guix.texi:13517 guix-git/doc/guix.texi:13561
  20677. #, no-wrap
  20678. msgid "--hash=@var{algorithm}"
  20679. msgstr ""
  20680. #. type: itemx
  20681. #: guix-git/doc/guix.texi:13518 guix-git/doc/guix.texi:13562
  20682. #, no-wrap
  20683. msgid "-H @var{algorithm}"
  20684. msgstr ""
  20685. #. type: table
  20686. #: guix-git/doc/guix.texi:13521
  20687. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  20688. msgstr ""
  20689. #. type: item
  20690. #: guix-git/doc/guix.texi:13522 guix-git/doc/guix.texi:13571
  20691. #, no-wrap
  20692. msgid "--format=@var{fmt}"
  20693. msgstr ""
  20694. #. type: itemx
  20695. #: guix-git/doc/guix.texi:13523 guix-git/doc/guix.texi:13572
  20696. #, no-wrap
  20697. msgid "-f @var{fmt}"
  20698. msgstr ""
  20699. #. type: table
  20700. #: guix-git/doc/guix.texi:13526
  20701. msgid "Write the hash in the format specified by @var{fmt}. For more information on the valid values for @var{fmt}, @pxref{Invoking guix hash}."
  20702. msgstr ""
  20703. #. type: item
  20704. #: guix-git/doc/guix.texi:13527
  20705. #, no-wrap
  20706. msgid "--no-check-certificate"
  20707. msgstr ""
  20708. #. type: table
  20709. #: guix-git/doc/guix.texi:13529
  20710. msgid "Do not validate the X.509 certificates of HTTPS servers."
  20711. msgstr ""
  20712. #. type: table
  20713. #: guix-git/doc/guix.texi:13533
  20714. msgid "When using this option, you have @emph{absolutely no guarantee} that you are communicating with the authentic server responsible for the given URL, which makes you vulnerable to ``man-in-the-middle'' attacks."
  20715. msgstr ""
  20716. #. type: item
  20717. #: guix-git/doc/guix.texi:13534
  20718. #, no-wrap
  20719. msgid "--output=@var{file}"
  20720. msgstr "--output=@var{arquivo}"
  20721. #. type: itemx
  20722. #: guix-git/doc/guix.texi:13535
  20723. #, no-wrap
  20724. msgid "-o @var{file}"
  20725. msgstr "-o @var{arquivo}"
  20726. #. type: table
  20727. #: guix-git/doc/guix.texi:13538
  20728. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  20729. msgstr ""
  20730. #. type: section
  20731. #: guix-git/doc/guix.texi:13541
  20732. #, no-wrap
  20733. msgid "Invoking @command{guix hash}"
  20734. msgstr "Invocando @command{guix hash}"
  20735. #. type: command{#1}
  20736. #: guix-git/doc/guix.texi:13543
  20737. #, no-wrap
  20738. msgid "guix hash"
  20739. msgstr ""
  20740. #. type: Plain text
  20741. #: guix-git/doc/guix.texi:13548
  20742. msgid "The @command{guix hash} command computes the hash of a file. It is primarily a convenience tool for anyone contributing to the distribution: it computes the cryptographic hash of one or more files, which can be used in the definition of a package (@pxref{Defining Packages})."
  20743. msgstr ""
  20744. #. type: example
  20745. #: guix-git/doc/guix.texi:13553
  20746. #, fuzzy, no-wrap
  20747. #| msgid "-r @var{package} @dots{}"
  20748. msgid "guix hash @var{option} @var{file} ...\n"
  20749. msgstr "guix hash @var{option} @var{file} ...\n"
  20750. #. type: Plain text
  20751. #: guix-git/doc/guix.texi:13558
  20752. msgid "When @var{file} is @code{-} (a hyphen), @command{guix hash} computes the hash of data read from standard input. @command{guix hash} has the following options:"
  20753. msgstr ""
  20754. #. type: table
  20755. #: guix-git/doc/guix.texi:13565
  20756. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  20757. msgstr ""
  20758. #. type: table
  20759. #: guix-git/doc/guix.texi:13570
  20760. msgid "@var{algorithm} must be the name of a cryptographic hash algorithm supported by Libgcrypt @i{via} Guile-Gcrypt---e.g., @code{sha512} or @code{sha3-256} (@pxref{Hash Functions,,, guile-gcrypt, Guile-Gcrypt Reference Manual})."
  20761. msgstr ""
  20762. #. type: table
  20763. #: guix-git/doc/guix.texi:13574
  20764. msgid "Write the hash in the format specified by @var{fmt}."
  20765. msgstr ""
  20766. #. type: table
  20767. #: guix-git/doc/guix.texi:13577
  20768. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  20769. msgstr ""
  20770. #. type: table
  20771. #: guix-git/doc/guix.texi:13581
  20772. msgid "If the @option{--format} option is not specified, @command{guix hash} will output the hash in @code{nix-base32}. This representation is used in the definitions of packages."
  20773. msgstr ""
  20774. #. type: table
  20775. #: guix-git/doc/guix.texi:13587
  20776. msgid "The @option{--recursive} option is deprecated in favor of @option{--serializer=nar} (see below); @option{-r} remains accepted as a convenient shorthand."
  20777. msgstr ""
  20778. #. type: item
  20779. #: guix-git/doc/guix.texi:13588
  20780. #, fuzzy, no-wrap
  20781. #| msgid "--profile=@var{profile}"
  20782. msgid "--serializer=@var{type}"
  20783. msgstr "--profile=@var{perfil}"
  20784. #. type: itemx
  20785. #: guix-git/doc/guix.texi:13589
  20786. #, fuzzy, no-wrap
  20787. #| msgid "-t @var{type}"
  20788. msgid "-S @var{type}"
  20789. msgstr "-t @var{tipo}"
  20790. #. type: table
  20791. #: guix-git/doc/guix.texi:13591
  20792. msgid "Compute the hash on @var{file} using @var{type} serialization."
  20793. msgstr ""
  20794. #. type: table
  20795. #: guix-git/doc/guix.texi:13593
  20796. msgid "@var{type} may be one of the following:"
  20797. msgstr ""
  20798. #. type: item
  20799. #: guix-git/doc/guix.texi:13595 guix-git/doc/guix.texi:15887
  20800. #: guix-git/doc/guix.texi:20149 guix-git/doc/guix.texi:22651
  20801. #, no-wrap
  20802. msgid "none"
  20803. msgstr "nenhuma"
  20804. #. type: table
  20805. #: guix-git/doc/guix.texi:13597
  20806. msgid "This is the default: it computes the hash of a file's contents."
  20807. msgstr ""
  20808. #. type: item
  20809. #: guix-git/doc/guix.texi:13598
  20810. #, no-wrap
  20811. msgid "nar"
  20812. msgstr ""
  20813. #. type: table
  20814. #: guix-git/doc/guix.texi:13608
  20815. msgid "Compute the hash of a ``normalized archive'' (or ``nar'') containing @var{file}, including its children if it is a directory. Some of the metadata of @var{file} is part of the archive; for instance, when @var{file} is a regular file, the hash is different depending on whether @var{file} is executable or not. Metadata such as time stamps have no impact on the hash (@pxref{Invoking guix archive}, for more info on the nar format)."
  20816. msgstr ""
  20817. #. type: item
  20818. #: guix-git/doc/guix.texi:13609
  20819. #, no-wrap
  20820. msgid "git"
  20821. msgstr ""
  20822. #. type: table
  20823. #: guix-git/doc/guix.texi:13612
  20824. msgid "Compute the hash of the file or directory as a Git ``tree'', following the same method as the Git version control system."
  20825. msgstr ""
  20826. #. type: item
  20827. #: guix-git/doc/guix.texi:13614
  20828. #, no-wrap
  20829. msgid "--exclude-vcs"
  20830. msgstr ""
  20831. #. type: itemx
  20832. #: guix-git/doc/guix.texi:13615 guix-git/doc/guix.texi:14986
  20833. #, no-wrap
  20834. msgid "-x"
  20835. msgstr "-x"
  20836. #. type: table
  20837. #: guix-git/doc/guix.texi:13618
  20838. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  20839. msgstr ""
  20840. #. type: vindex
  20841. #: guix-git/doc/guix.texi:13619
  20842. #, no-wrap
  20843. msgid "git-fetch"
  20844. msgstr ""
  20845. #. type: table
  20846. #: guix-git/doc/guix.texi:13623
  20847. msgid "As an example, here is how you would compute the hash of a Git checkout, which is useful when using the @code{git-fetch} method (@pxref{origin Reference}):"
  20848. msgstr ""
  20849. #. type: example
  20850. #: guix-git/doc/guix.texi:13628
  20851. #, no-wrap
  20852. msgid ""
  20853. "$ git clone http://example.org/foo.git\n"
  20854. "$ cd foo\n"
  20855. "$ guix hash -x --serializer=nar .\n"
  20856. msgstr ""
  20857. #. type: cindex
  20858. #: guix-git/doc/guix.texi:13632 guix-git/doc/guix.texi:13637
  20859. #, no-wrap
  20860. msgid "Invoking @command{guix import}"
  20861. msgstr ""
  20862. #. type: cindex
  20863. #: guix-git/doc/guix.texi:13634
  20864. #, no-wrap
  20865. msgid "importing packages"
  20866. msgstr ""
  20867. #. type: cindex
  20868. #: guix-git/doc/guix.texi:13635
  20869. #, no-wrap
  20870. msgid "package import"
  20871. msgstr ""
  20872. #. type: cindex
  20873. #: guix-git/doc/guix.texi:13636
  20874. #, no-wrap
  20875. msgid "package conversion"
  20876. msgstr ""
  20877. #. type: Plain text
  20878. #: guix-git/doc/guix.texi:13644
  20879. msgid "The @command{guix import} command is useful for people who would like to add a package to the distribution with as little work as possible---a legitimate demand. The command knows of a few repositories from which it can ``import'' package metadata. The result is a package definition, or a template thereof, in the format we know (@pxref{Defining Packages})."
  20880. msgstr ""
  20881. #. type: example
  20882. #: guix-git/doc/guix.texi:13649
  20883. #, no-wrap
  20884. msgid "guix import @var{importer} @var{options}@dots{}\n"
  20885. msgstr ""
  20886. #. type: Plain text
  20887. #: guix-git/doc/guix.texi:13654
  20888. msgid "@var{importer} specifies the source from which to import package metadata, and @var{options} specifies a package identifier and other options specific to @var{importer}."
  20889. msgstr ""
  20890. #. type: Plain text
  20891. #: guix-git/doc/guix.texi:13658
  20892. msgid "Some of the importers rely on the ability to run the @command{gpgv} command. For these, GnuPG must be installed and in @code{$PATH}; run @code{guix install gnupg} if needed."
  20893. msgstr ""
  20894. #. type: Plain text
  20895. #: guix-git/doc/guix.texi:13660
  20896. msgid "Currently, the available ``importers'' are:"
  20897. msgstr ""
  20898. #. type: item
  20899. #: guix-git/doc/guix.texi:13662 guix-git/doc/guix.texi:14386
  20900. #, no-wrap
  20901. msgid "gnu"
  20902. msgstr ""
  20903. #. type: table
  20904. #: guix-git/doc/guix.texi:13666
  20905. msgid "Import metadata for the given GNU package. This provides a template for the latest version of that GNU package, including the hash of its source tarball, and its canonical synopsis and description."
  20906. msgstr ""
  20907. #. type: table
  20908. #: guix-git/doc/guix.texi:13669
  20909. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  20910. msgstr ""
  20911. #. type: table
  20912. #: guix-git/doc/guix.texi:13672
  20913. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  20914. msgstr ""
  20915. #. type: example
  20916. #: guix-git/doc/guix.texi:13675
  20917. #, no-wrap
  20918. msgid "guix import gnu hello\n"
  20919. msgstr ""
  20920. #. type: table
  20921. #: guix-git/doc/guix.texi:13678 guix-git/doc/guix.texi:13929
  20922. #: guix-git/doc/guix.texi:13979 guix-git/doc/guix.texi:14008
  20923. msgid "Specific command-line options are:"
  20924. msgstr ""
  20925. #. type: item
  20926. #: guix-git/doc/guix.texi:13680 guix-git/doc/guix.texi:14584
  20927. #, no-wrap
  20928. msgid "--key-download=@var{policy}"
  20929. msgstr ""
  20930. #. type: table
  20931. #: guix-git/doc/guix.texi:13684
  20932. msgid "As for @command{guix refresh}, specify the policy to handle missing OpenPGP keys when verifying the package signature. @xref{Invoking guix refresh, @option{--key-download}}."
  20933. msgstr ""
  20934. #. type: item
  20935. #: guix-git/doc/guix.texi:13686 guix-git/doc/guix.texi:13687
  20936. #: guix-git/doc/guix.texi:14410
  20937. #, no-wrap
  20938. msgid "pypi"
  20939. msgstr "pypi"
  20940. #. type: table
  20941. #: guix-git/doc/guix.texi:13694
  20942. msgid "Import metadata from the @uref{https://pypi.python.org/, Python Package Index}. Information is taken from the JSON-formatted description available at @code{pypi.python.org} and usually includes all the relevant information, including package dependencies. For maximum efficiency, it is recommended to install the @command{unzip} utility, so that the importer can unzip Python wheels and gather data from them."
  20943. msgstr ""
  20944. #. type: table
  20945. #: guix-git/doc/guix.texi:13697
  20946. msgid "The command below imports metadata for the latest version of the @code{itsdangerous} Python package:"
  20947. msgstr ""
  20948. #. type: example
  20949. #: guix-git/doc/guix.texi:13700
  20950. #, no-wrap
  20951. msgid "guix import pypi itsdangerous\n"
  20952. msgstr ""
  20953. #. type: table
  20954. #: guix-git/doc/guix.texi:13703 guix-git/doc/guix.texi:13734
  20955. #: guix-git/doc/guix.texi:13812 guix-git/doc/guix.texi:14182
  20956. msgid "You can also ask for a specific version:"
  20957. msgstr ""
  20958. #. type: example
  20959. #: guix-git/doc/guix.texi:13706
  20960. #, no-wrap
  20961. msgid "guix import pypi itsdangerous@@1.1.0\n"
  20962. msgstr ""
  20963. #. type: table
  20964. #: guix-git/doc/guix.texi:13714 guix-git/doc/guix.texi:13745
  20965. #: guix-git/doc/guix.texi:13777 guix-git/doc/guix.texi:13952
  20966. #: guix-git/doc/guix.texi:13993 guix-git/doc/guix.texi:14044
  20967. #: guix-git/doc/guix.texi:14069 guix-git/doc/guix.texi:14094
  20968. #: guix-git/doc/guix.texi:14110 guix-git/doc/guix.texi:14158
  20969. #: guix-git/doc/guix.texi:14194 guix-git/doc/guix.texi:14221
  20970. #: guix-git/doc/guix.texi:45062
  20971. msgid "Traverse the dependency graph of the given upstream package recursively and generate package expressions for all those packages that are not yet in Guix."
  20972. msgstr ""
  20973. #. type: item
  20974. #: guix-git/doc/guix.texi:13716 guix-git/doc/guix.texi:13717
  20975. #: guix-git/doc/guix.texi:14412
  20976. #, no-wrap
  20977. msgid "gem"
  20978. msgstr ""
  20979. #. type: table
  20980. #: guix-git/doc/guix.texi:13726
  20981. msgid "Import metadata from @uref{https://rubygems.org/, RubyGems}. Information is taken from the JSON-formatted description available at @code{rubygems.org} and includes most relevant information, including runtime dependencies. There are some caveats, however. The metadata doesn't distinguish between synopses and descriptions, so the same string is used for both fields. Additionally, the details of non-Ruby dependencies required to build native extensions is unavailable and left as an exercise to the packager."
  20982. msgstr ""
  20983. #. type: table
  20984. #: guix-git/doc/guix.texi:13728
  20985. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  20986. msgstr ""
  20987. #. type: example
  20988. #: guix-git/doc/guix.texi:13731
  20989. #, no-wrap
  20990. msgid "guix import gem rails\n"
  20991. msgstr ""
  20992. #. type: example
  20993. #: guix-git/doc/guix.texi:13737
  20994. #, no-wrap
  20995. msgid "guix import gem rails@@7.0.4\n"
  20996. msgstr ""
  20997. #. type: cindex
  20998. #: guix-git/doc/guix.texi:13747 guix-git/doc/guix.texi:13748
  20999. #, no-wrap
  21000. msgid "minetest"
  21001. msgstr ""
  21002. #. type: cindex
  21003. #: guix-git/doc/guix.texi:13749
  21004. #, fuzzy, no-wrap
  21005. #| msgid "contents"
  21006. msgid "ContentDB"
  21007. msgstr "conteúdo"
  21008. #. type: table
  21009. #: guix-git/doc/guix.texi:13758
  21010. msgid "Import metadata from @uref{https://content.minetest.net, ContentDB}. Information is taken from the JSON-formatted metadata provided through @uref{https://content.minetest.net/help/api/, ContentDB's API} and includes most relevant information, including dependencies. There are some caveats, however. The license information is often incomplete. The commit hash is sometimes missing. The descriptions are in the Markdown format, but Guix uses Texinfo instead. Texture packs and subgames are unsupported."
  21011. msgstr ""
  21012. #. type: table
  21013. #: guix-git/doc/guix.texi:13760
  21014. msgid "The command below imports metadata for the Mesecons mod by Jeija:"
  21015. msgstr ""
  21016. #. type: example
  21017. #: guix-git/doc/guix.texi:13763
  21018. #, no-wrap
  21019. msgid "guix import minetest Jeija/mesecons\n"
  21020. msgstr ""
  21021. #. type: table
  21022. #: guix-git/doc/guix.texi:13766
  21023. msgid "The author name can also be left out:"
  21024. msgstr ""
  21025. #. type: example
  21026. #: guix-git/doc/guix.texi:13769
  21027. #, no-wrap
  21028. msgid "guix import minetest mesecons\n"
  21029. msgstr ""
  21030. #. type: item
  21031. #: guix-git/doc/guix.texi:13779 guix-git/doc/guix.texi:14408
  21032. #, no-wrap
  21033. msgid "cpan"
  21034. msgstr ""
  21035. #. type: cindex
  21036. #: guix-git/doc/guix.texi:13780
  21037. #, no-wrap
  21038. msgid "CPAN"
  21039. msgstr ""
  21040. #. type: table
  21041. #: guix-git/doc/guix.texi:13788
  21042. msgid "Import metadata from @uref{https://www.metacpan.org/, MetaCPAN}. Information is taken from the JSON-formatted metadata provided through @uref{https://fastapi.metacpan.org/, MetaCPAN's API} and includes most relevant information, such as module dependencies. License information should be checked closely. If Perl is available in the store, then the @code{corelist} utility will be used to filter core modules out of the list of dependencies."
  21043. msgstr ""
  21044. #. type: table
  21045. #: guix-git/doc/guix.texi:13791
  21046. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  21047. msgstr ""
  21048. #. type: example
  21049. #: guix-git/doc/guix.texi:13794
  21050. #, no-wrap
  21051. msgid "guix import cpan Acme::Boolean\n"
  21052. msgstr ""
  21053. #. type: item
  21054. #: guix-git/doc/guix.texi:13796 guix-git/doc/guix.texi:14404
  21055. #, no-wrap
  21056. msgid "cran"
  21057. msgstr "cran"
  21058. #. type: cindex
  21059. #: guix-git/doc/guix.texi:13797
  21060. #, no-wrap
  21061. msgid "CRAN"
  21062. msgstr "CRAN"
  21063. #. type: cindex
  21064. #: guix-git/doc/guix.texi:13798
  21065. #, no-wrap
  21066. msgid "Bioconductor"
  21067. msgstr ""
  21068. #. type: table
  21069. #: guix-git/doc/guix.texi:13802
  21070. msgid "Import metadata from @uref{https://cran.r-project.org/, CRAN}, the central repository for the @uref{https://r-project.org, GNU@tie{}R statistical and graphical environment}."
  21071. msgstr ""
  21072. #. type: table
  21073. #: guix-git/doc/guix.texi:13804
  21074. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  21075. msgstr ""
  21076. #. type: table
  21077. #: guix-git/doc/guix.texi:13806
  21078. msgid "The command command below imports metadata for the Cairo R package:"
  21079. msgstr ""
  21080. #. type: example
  21081. #: guix-git/doc/guix.texi:13809
  21082. #, no-wrap
  21083. msgid "guix import cran Cairo\n"
  21084. msgstr ""
  21085. #. type: example
  21086. #: guix-git/doc/guix.texi:13815
  21087. #, no-wrap
  21088. msgid "guix import cran rasterVis@@0.50.3\n"
  21089. msgstr ""
  21090. #. type: table
  21091. #: guix-git/doc/guix.texi:13820
  21092. msgid "When @option{--recursive} is added, the importer will traverse the dependency graph of the given upstream package recursively and generate package expressions for all those packages that are not yet in Guix."
  21093. msgstr ""
  21094. #. type: table
  21095. #: guix-git/doc/guix.texi:13827
  21096. msgid "When @option{--style=specification} is added, the importer will generate package definitions whose inputs are package specifications instead of references to package variables. This is useful when generated package definitions are to be appended to existing user modules, as the list of used package modules need not be changed. The default is @option{--style=variable}."
  21097. msgstr ""
  21098. #. type: table
  21099. #: guix-git/doc/guix.texi:13831
  21100. msgid "When @option{--prefix=license:} is added, the importer will prefix license atoms with @code{license:}, allowing a prefixed import of @code{(guix licenses)}."
  21101. msgstr ""
  21102. #. type: table
  21103. #: guix-git/doc/guix.texi:13836
  21104. msgid "When @option{--archive=bioconductor} is added, metadata is imported from @uref{https://www.bioconductor.org/, Bioconductor}, a repository of R packages for the analysis and comprehension of high-throughput genomic data in bioinformatics."
  21105. msgstr ""
  21106. #. type: table
  21107. #: guix-git/doc/guix.texi:13839
  21108. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  21109. msgstr ""
  21110. #. type: table
  21111. #: guix-git/doc/guix.texi:13841
  21112. msgid "The command below imports metadata for the GenomicRanges R package:"
  21113. msgstr ""
  21114. #. type: example
  21115. #: guix-git/doc/guix.texi:13844
  21116. #, no-wrap
  21117. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  21118. msgstr ""
  21119. #. type: table
  21120. #: guix-git/doc/guix.texi:13849
  21121. msgid "Finally, you can also import R packages that have not yet been published on CRAN or Bioconductor as long as they are in a git repository. Use @option{--archive=git} followed by the URL of the git repository:"
  21122. msgstr ""
  21123. #. type: example
  21124. #: guix-git/doc/guix.texi:13852
  21125. #, no-wrap
  21126. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  21127. msgstr ""
  21128. #. type: item
  21129. #: guix-git/doc/guix.texi:13854
  21130. #, no-wrap
  21131. msgid "texlive"
  21132. msgstr ""
  21133. #. type: cindex
  21134. #: guix-git/doc/guix.texi:13855
  21135. #, no-wrap
  21136. msgid "TeX Live"
  21137. msgstr "TeX Live"
  21138. #. type: cindex
  21139. #: guix-git/doc/guix.texi:13856
  21140. #, no-wrap
  21141. msgid "CTAN"
  21142. msgstr ""
  21143. #. type: table
  21144. #: guix-git/doc/guix.texi:13860
  21145. msgid "Import TeX package information from the TeX Live package database for TeX packages that are part of the @uref{https://www.tug.org/texlive/, TeX Live distribution}."
  21146. msgstr ""
  21147. #. type: table
  21148. #: guix-git/doc/guix.texi:13865
  21149. msgid "Information about the package is obtained from the TeX Live package database, a plain text file that is included in the @code{texlive-bin} package. The source code is downloaded from possibly multiple locations in the SVN repository of the Tex Live project."
  21150. msgstr ""
  21151. #. type: table
  21152. #: guix-git/doc/guix.texi:13868
  21153. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  21154. msgstr ""
  21155. #. type: example
  21156. #: guix-git/doc/guix.texi:13871
  21157. #, no-wrap
  21158. msgid "guix import texlive fontspec\n"
  21159. msgstr ""
  21160. #. type: cindex
  21161. #: guix-git/doc/guix.texi:13874
  21162. #, no-wrap
  21163. msgid "JSON, import"
  21164. msgstr ""
  21165. #. type: table
  21166. #: guix-git/doc/guix.texi:13877
  21167. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  21168. msgstr ""
  21169. #. type: example
  21170. #: guix-git/doc/guix.texi:13890
  21171. #, no-wrap
  21172. msgid ""
  21173. "@{\n"
  21174. " \"name\": \"hello\",\n"
  21175. " \"version\": \"2.10\",\n"
  21176. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  21177. " \"build-system\": \"gnu\",\n"
  21178. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  21179. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  21180. " \"description\": \"GNU Hello prints a greeting.\",\n"
  21181. " \"license\": \"GPL-3.0+\",\n"
  21182. " \"native-inputs\": [\"gettext\"]\n"
  21183. "@}\n"
  21184. msgstr ""
  21185. #. type: table
  21186. #: guix-git/doc/guix.texi:13896
  21187. msgid "The field names are the same as for the @code{<package>} record (@xref{Defining Packages}). References to other packages are provided as JSON lists of quoted package specification strings such as @code{guile} or @code{guile@@2.0}."
  21188. msgstr ""
  21189. #. type: table
  21190. #: guix-git/doc/guix.texi:13899
  21191. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  21192. msgstr ""
  21193. #. type: example
  21194. #: guix-git/doc/guix.texi:13912
  21195. #, no-wrap
  21196. msgid ""
  21197. "@{\n"
  21198. " @dots{}\n"
  21199. " \"source\": @{\n"
  21200. " \"method\": \"url-fetch\",\n"
  21201. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  21202. " \"sha256\": @{\n"
  21203. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  21204. " @}\n"
  21205. " @}\n"
  21206. " @dots{}\n"
  21207. "@}\n"
  21208. msgstr ""
  21209. #. type: table
  21210. #: guix-git/doc/guix.texi:13916
  21211. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  21212. msgstr ""
  21213. #. type: example
  21214. #: guix-git/doc/guix.texi:13919
  21215. #, no-wrap
  21216. msgid "guix import json hello.json\n"
  21217. msgstr ""
  21218. #. type: item
  21219. #: guix-git/doc/guix.texi:13921 guix-git/doc/guix.texi:13922
  21220. #: guix-git/doc/guix.texi:14416
  21221. #, no-wrap
  21222. msgid "hackage"
  21223. msgstr ""
  21224. #. type: table
  21225. #: guix-git/doc/guix.texi:13927
  21226. msgid "Import metadata from the Haskell community's central package archive @uref{https://hackage.haskell.org/, Hackage}. Information is taken from Cabal files and includes all the relevant information, including package dependencies."
  21227. msgstr ""
  21228. #. type: item
  21229. #: guix-git/doc/guix.texi:13931
  21230. #, no-wrap
  21231. msgid "--stdin"
  21232. msgstr ""
  21233. #. type: itemx
  21234. #: guix-git/doc/guix.texi:13932
  21235. #, no-wrap
  21236. msgid "-s"
  21237. msgstr "-s"
  21238. #. type: table
  21239. #: guix-git/doc/guix.texi:13934
  21240. msgid "Read a Cabal file from standard input."
  21241. msgstr ""
  21242. #. type: item
  21243. #: guix-git/doc/guix.texi:13934 guix-git/doc/guix.texi:13981
  21244. #, no-wrap
  21245. msgid "--no-test-dependencies"
  21246. msgstr ""
  21247. #. type: table
  21248. #: guix-git/doc/guix.texi:13937 guix-git/doc/guix.texi:13984
  21249. msgid "Do not include dependencies required only by the test suites."
  21250. msgstr ""
  21251. #. type: item
  21252. #: guix-git/doc/guix.texi:13937
  21253. #, no-wrap
  21254. msgid "--cabal-environment=@var{alist}"
  21255. msgstr ""
  21256. #. type: itemx
  21257. #: guix-git/doc/guix.texi:13938
  21258. #, no-wrap
  21259. msgid "-e @var{alist}"
  21260. msgstr ""
  21261. #. type: table
  21262. #: guix-git/doc/guix.texi:13947
  21263. msgid "@var{alist} is a Scheme alist defining the environment in which the Cabal conditionals are evaluated. The accepted keys are: @code{os}, @code{arch}, @code{impl} and a string representing the name of a flag. The value associated with a flag has to be either the symbol @code{true} or @code{false}. The value associated with other keys has to conform to the Cabal file format definition. The default value associated with the keys @code{os}, @code{arch} and @code{impl} is @samp{linux}, @samp{x86_64} and @samp{ghc}, respectively."
  21264. msgstr ""
  21265. #. type: table
  21266. #: guix-git/doc/guix.texi:13957
  21267. msgid "The command below imports metadata for the latest version of the HTTP Haskell package without including test dependencies and specifying the value of the flag @samp{network-uri} as @code{false}:"
  21268. msgstr ""
  21269. #. type: example
  21270. #: guix-git/doc/guix.texi:13960
  21271. #, no-wrap
  21272. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  21273. msgstr ""
  21274. #. type: table
  21275. #: guix-git/doc/guix.texi:13964
  21276. msgid "A specific package version may optionally be specified by following the package name by an at-sign and a version number as in the following example:"
  21277. msgstr ""
  21278. #. type: example
  21279. #: guix-git/doc/guix.texi:13967
  21280. #, no-wrap
  21281. msgid "guix import hackage mtl@@2.1.3.1\n"
  21282. msgstr ""
  21283. #. type: item
  21284. #: guix-git/doc/guix.texi:13969 guix-git/doc/guix.texi:13970
  21285. #: guix-git/doc/guix.texi:14418
  21286. #, no-wrap
  21287. msgid "stackage"
  21288. msgstr ""
  21289. #. type: table
  21290. #: guix-git/doc/guix.texi:13977
  21291. msgid "The @code{stackage} importer is a wrapper around the @code{hackage} one. It takes a package name, looks up the package version included in a long-term support (LTS) @uref{https://www.stackage.org, Stackage} release and uses the @code{hackage} importer to retrieve its metadata. Note that it is up to you to select an LTS release compatible with the GHC compiler used by Guix."
  21292. msgstr ""
  21293. #. type: item
  21294. #: guix-git/doc/guix.texi:13984
  21295. #, no-wrap
  21296. msgid "--lts-version=@var{version}"
  21297. msgstr "--lts-version=@var{versão}"
  21298. #. type: itemx
  21299. #: guix-git/doc/guix.texi:13985
  21300. #, no-wrap
  21301. msgid "-l @var{version}"
  21302. msgstr "-l @var{versão}"
  21303. #. type: table
  21304. #: guix-git/doc/guix.texi:13988
  21305. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  21306. msgstr ""
  21307. #. type: table
  21308. #: guix-git/doc/guix.texi:13997
  21309. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  21310. msgstr ""
  21311. #. type: example
  21312. #: guix-git/doc/guix.texi:14000
  21313. #, no-wrap
  21314. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  21315. msgstr ""
  21316. #. type: item
  21317. #: guix-git/doc/guix.texi:14002 guix-git/doc/guix.texi:14003
  21318. #: guix-git/doc/guix.texi:14402
  21319. #, no-wrap
  21320. msgid "elpa"
  21321. msgstr "elpa"
  21322. #. type: table
  21323. #: guix-git/doc/guix.texi:14006
  21324. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  21325. msgstr ""
  21326. #. type: item
  21327. #: guix-git/doc/guix.texi:14010
  21328. #, no-wrap
  21329. msgid "--archive=@var{repo}"
  21330. msgstr ""
  21331. #. type: itemx
  21332. #: guix-git/doc/guix.texi:14011
  21333. #, no-wrap
  21334. msgid "-a @var{repo}"
  21335. msgstr ""
  21336. #. type: table
  21337. #: guix-git/doc/guix.texi:14015
  21338. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  21339. msgstr ""
  21340. #. type: itemize
  21341. #: guix-git/doc/guix.texi:14019
  21342. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  21343. msgstr ""
  21344. #. type: itemize
  21345. #: guix-git/doc/guix.texi:14025
  21346. msgid "Packages from @code{elpa.gnu.org} are signed with one of the keys contained in the GnuPG keyring at @file{share/emacs/25.1/etc/package-keyring.gpg} (or similar) in the @code{emacs} package (@pxref{Package Installation, ELPA package signatures,, emacs, The GNU Emacs Manual})."
  21347. msgstr ""
  21348. #. type: itemize
  21349. #: guix-git/doc/guix.texi:14029
  21350. msgid "@uref{https://elpa.nongnu.org/nongnu/, NonGNU}, selected by the @code{nongnu} identifier."
  21351. msgstr ""
  21352. #. type: itemize
  21353. #: guix-git/doc/guix.texi:14033
  21354. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  21355. msgstr ""
  21356. #. type: itemize
  21357. #: guix-git/doc/guix.texi:14037
  21358. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  21359. msgstr ""
  21360. #. type: item
  21361. #: guix-git/doc/guix.texi:14046 guix-git/doc/guix.texi:14047
  21362. #: guix-git/doc/guix.texi:14420
  21363. #, no-wrap
  21364. msgid "crate"
  21365. msgstr ""
  21366. #. type: table
  21367. #: guix-git/doc/guix.texi:14050
  21368. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  21369. msgstr ""
  21370. #. type: example
  21371. #: guix-git/doc/guix.texi:14053
  21372. #, no-wrap
  21373. msgid "guix import crate blake2-rfc\n"
  21374. msgstr ""
  21375. #. type: table
  21376. #: guix-git/doc/guix.texi:14056
  21377. msgid "The crate importer also allows you to specify a version string:"
  21378. msgstr ""
  21379. #. type: example
  21380. #: guix-git/doc/guix.texi:14059
  21381. #, no-wrap
  21382. msgid "guix import crate constant-time-eq@@0.1.0\n"
  21383. msgstr ""
  21384. #. type: Plain text
  21385. #: guix-git/doc/guix.texi:14062 guix-git/doc/guix.texi:14087
  21386. #: guix-git/doc/guix.texi:14103 guix-git/doc/guix.texi:14151
  21387. #: guix-git/doc/guix.texi:14188 guix-git/doc/guix.texi:14214
  21388. #: guix-git/doc/guix.texi:45055
  21389. msgid "Additional options include:"
  21390. msgstr ""
  21391. #. type: cindex
  21392. #: guix-git/doc/guix.texi:14071 guix-git/doc/guix.texi:14072
  21393. #, no-wrap
  21394. msgid "elm"
  21395. msgstr ""
  21396. #. type: table
  21397. #: guix-git/doc/guix.texi:14075
  21398. msgid "Import metadata from the Elm package repository @uref{https://package.elm-lang.org, package.elm-lang.org}, as in this example:"
  21399. msgstr ""
  21400. #. type: example
  21401. #: guix-git/doc/guix.texi:14078
  21402. #, no-wrap
  21403. msgid "guix import elm elm-explorations/webgl\n"
  21404. msgstr ""
  21405. #. type: table
  21406. #: guix-git/doc/guix.texi:14081
  21407. msgid "The Elm importer also allows you to specify a version string:"
  21408. msgstr ""
  21409. #. type: example
  21410. #: guix-git/doc/guix.texi:14084
  21411. #, no-wrap
  21412. msgid "guix import elm elm-explorations/webgl@@1.1.3\n"
  21413. msgstr ""
  21414. #. type: item
  21415. #: guix-git/doc/guix.texi:14096
  21416. #, no-wrap
  21417. msgid "opam"
  21418. msgstr ""
  21419. #. type: cindex
  21420. #: guix-git/doc/guix.texi:14097
  21421. #, no-wrap
  21422. msgid "OPAM"
  21423. msgstr ""
  21424. #. type: cindex
  21425. #: guix-git/doc/guix.texi:14098
  21426. #, no-wrap
  21427. msgid "OCaml"
  21428. msgstr ""
  21429. #. type: table
  21430. #: guix-git/doc/guix.texi:14101
  21431. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  21432. msgstr ""
  21433. #. type: item
  21434. #: guix-git/doc/guix.texi:14110
  21435. #, no-wrap
  21436. msgid "--repo"
  21437. msgstr ""
  21438. #. type: table
  21439. #: guix-git/doc/guix.texi:14114
  21440. msgid "By default, packages are searched in the official OPAM repository. This option, which can be used more than once, lets you add other repositories which will be searched for packages. It accepts as valid arguments:"
  21441. msgstr ""
  21442. #. type: item
  21443. #: guix-git/doc/guix.texi:14116
  21444. #, no-wrap
  21445. msgid "the name of a known repository - can be one of @code{opam},"
  21446. msgstr ""
  21447. #. type: itemize
  21448. #: guix-git/doc/guix.texi:14119
  21449. msgid "@code{coq} (equivalent to @code{coq-released}), @code{coq-core-dev}, @code{coq-extra-dev} or @code{grew}."
  21450. msgstr ""
  21451. #. type: item
  21452. #: guix-git/doc/guix.texi:14119
  21453. #, no-wrap
  21454. msgid "the URL of a repository as expected by the"
  21455. msgstr ""
  21456. #. type: itemize
  21457. #: guix-git/doc/guix.texi:14123
  21458. msgid "@code{opam repository add} command (for instance, the URL equivalent of the above @code{opam} name would be @uref{https://opam.ocaml.org})."
  21459. msgstr ""
  21460. #. type: item
  21461. #: guix-git/doc/guix.texi:14123
  21462. #, no-wrap
  21463. msgid "the path to a local copy of a repository (a directory containing a"
  21464. msgstr ""
  21465. #. type: itemize
  21466. #: guix-git/doc/guix.texi:14125
  21467. msgid "@file{packages/} sub-directory)."
  21468. msgstr ""
  21469. #. type: table
  21470. #: guix-git/doc/guix.texi:14130
  21471. msgid "Repositories are assumed to be passed to this option by order of preference. The additional repositories will not replace the default @code{opam} repository, which is always kept as a fallback."
  21472. msgstr ""
  21473. #. type: table
  21474. #: guix-git/doc/guix.texi:14135
  21475. msgid "Also, please note that versions are not compared across repositories. The first repository (from left to right) that has at least one version of a given package will prevail over any others, and the version imported will be the latest one found @emph{in this repository only}."
  21476. msgstr ""
  21477. #. type: cindex
  21478. #: guix-git/doc/guix.texi:14138 guix-git/doc/guix.texi:14139
  21479. #, no-wrap
  21480. msgid "go"
  21481. msgstr ""
  21482. #. type: table
  21483. #: guix-git/doc/guix.texi:14142
  21484. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  21485. msgstr ""
  21486. #. type: example
  21487. #: guix-git/doc/guix.texi:14145
  21488. #, no-wrap
  21489. msgid "guix import go gopkg.in/yaml.v2\n"
  21490. msgstr ""
  21491. #. type: table
  21492. #: guix-git/doc/guix.texi:14149
  21493. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  21494. msgstr ""
  21495. #. type: item
  21496. #: guix-git/doc/guix.texi:14158
  21497. #, fuzzy, no-wrap
  21498. msgid "--pin-versions"
  21499. msgstr "--verbose"
  21500. #. type: table
  21501. #: guix-git/doc/guix.texi:14166
  21502. msgid "When using this option, the importer preserves the exact versions of the Go modules dependencies instead of using their latest available versions. This can be useful when attempting to import packages that recursively depend on former versions of themselves to build. When using this mode, the symbol of the package is made by appending the version to its name, so that multiple versions of the same package can coexist."
  21503. msgstr ""
  21504. #. type: item
  21505. #: guix-git/doc/guix.texi:14168 guix-git/doc/guix.texi:14169
  21506. #: guix-git/doc/guix.texi:14400
  21507. #, no-wrap
  21508. msgid "egg"
  21509. msgstr ""
  21510. #. type: table
  21511. #: guix-git/doc/guix.texi:14176
  21512. msgid "Import metadata for @uref{https://wiki.call-cc.org/eggs, CHICKEN eggs}. The information is taken from @file{PACKAGE.egg} files found in the @uref{git://code.call-cc.org/eggs-5-all, eggs-5-all} Git repository. However, it does not provide all the information that we need, there is no ``description'' field, and the licenses used are not always precise (BSD is often used instead of BSD-N)."
  21513. msgstr ""
  21514. #. type: example
  21515. #: guix-git/doc/guix.texi:14179
  21516. #, no-wrap
  21517. msgid "guix import egg sourcehut\n"
  21518. msgstr ""
  21519. #. type: example
  21520. #: guix-git/doc/guix.texi:14185
  21521. #, no-wrap
  21522. msgid "guix import egg arrays@@1.0\n"
  21523. msgstr ""
  21524. #. type: cindex
  21525. #: guix-git/doc/guix.texi:14196 guix-git/doc/guix.texi:14197
  21526. #, no-wrap
  21527. msgid "hexpm"
  21528. msgstr ""
  21529. #. type: table
  21530. #: guix-git/doc/guix.texi:14200
  21531. msgid "Import metadata from the hex.pm Erlang and Elixir package repository @uref{https://hex.pm, hex.pm}, as in this example:"
  21532. msgstr ""
  21533. #. type: example
  21534. #: guix-git/doc/guix.texi:14203
  21535. #, no-wrap
  21536. msgid "guix import hexpm stun\n"
  21537. msgstr ""
  21538. #. type: table
  21539. #: guix-git/doc/guix.texi:14206
  21540. msgid "The importer tries to determine the build system used by the package."
  21541. msgstr ""
  21542. #. type: table
  21543. #: guix-git/doc/guix.texi:14208
  21544. msgid "The hexpm importer also allows you to specify a version string:"
  21545. msgstr ""
  21546. #. type: example
  21547. #: guix-git/doc/guix.texi:14211
  21548. #, no-wrap
  21549. msgid "guix import hexpm cf@@0.3.0\n"
  21550. msgstr ""
  21551. #. type: Plain text
  21552. #: guix-git/doc/guix.texi:14227
  21553. msgid "The structure of the @command{guix import} code is modular. It would be useful to have more importers for other package formats, and your help is welcome here (@pxref{Contributing})."
  21554. msgstr ""
  21555. #. type: section
  21556. #: guix-git/doc/guix.texi:14229
  21557. #, no-wrap
  21558. msgid "Invoking @command{guix refresh}"
  21559. msgstr "Invocando @command{guix refresh}"
  21560. #. type: command{#1}
  21561. #: guix-git/doc/guix.texi:14231
  21562. #, no-wrap
  21563. msgid "guix refresh"
  21564. msgstr ""
  21565. #. type: Plain text
  21566. #: guix-git/doc/guix.texi:14239
  21567. msgid "The primary audience of the @command{guix refresh} command is packagers. As a user, you may be interested in the @option{--with-latest} option, which can bring you package update superpowers built upon @command{guix refresh} (@pxref{Package Transformation Options, @option{--with-latest}}). By default, @command{guix refresh} reports any packages provided by the distribution that are outdated compared to the latest upstream version, like this:"
  21568. msgstr ""
  21569. #. type: example
  21570. #: guix-git/doc/guix.texi:14244
  21571. #, no-wrap
  21572. msgid ""
  21573. "$ guix refresh\n"
  21574. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  21575. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  21576. msgstr ""
  21577. #. type: Plain text
  21578. #: guix-git/doc/guix.texi:14248
  21579. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  21580. msgstr ""
  21581. #. type: example
  21582. #: guix-git/doc/guix.texi:14253
  21583. #, no-wrap
  21584. msgid ""
  21585. "$ guix refresh coreutils guile guile-ssh\n"
  21586. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  21587. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  21588. msgstr ""
  21589. #. type: Plain text
  21590. #: guix-git/doc/guix.texi:14262
  21591. msgid "@command{guix refresh} browses the upstream repository of each package and determines the highest version number of the releases therein. The command knows how to update specific types of packages: GNU packages, ELPA packages, etc.---see the documentation for @option{--type} below. There are many packages, though, for which it lacks a method to determine whether a new upstream release is available. However, the mechanism is extensible, so feel free to get in touch with us to add a new method!"
  21592. msgstr ""
  21593. #. type: table
  21594. #: guix-git/doc/guix.texi:14267
  21595. msgid "Consider the packages specified, and all the packages upon which they depend."
  21596. msgstr ""
  21597. #. type: example
  21598. #: guix-git/doc/guix.texi:14275
  21599. #, no-wrap
  21600. msgid ""
  21601. "$ guix refresh --recursive coreutils\n"
  21602. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  21603. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  21604. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  21605. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  21606. "@dots{}\n"
  21607. msgstr ""
  21608. #. type: Plain text
  21609. #: guix-git/doc/guix.texi:14284
  21610. msgid "If for some reason you don't want to update to the latest version, you can update to a specific version by appending an equal sign and the desired version number to the package specification. Note that not all updaters support this; an error is reported when an updater cannot refresh to the specified version."
  21611. msgstr ""
  21612. #. type: example
  21613. #: guix-git/doc/guix.texi:14296
  21614. #, no-wrap
  21615. msgid ""
  21616. "$ guix refresh trytond-party\n"
  21617. "gnu/packages/guile.scm:392:2: guile would be upgraded from 3.0.3 to 3.0.5\n"
  21618. "$ guix refresh -u guile=3.0.4\n"
  21619. "@dots{}\n"
  21620. "gnu/packages/guile.scm:392:2: guile: updating from version 3.0.3 to version 3.0.4...\n"
  21621. "@dots{}\n"
  21622. "$ guix refresh -u guile@@2.0=2.0.12\n"
  21623. "@dots{}\n"
  21624. "gnu/packages/guile.scm:147:2: guile: updating from version 2.0.10 to version 2.0.12...\n"
  21625. "@dots{}\n"
  21626. msgstr ""
  21627. #. type: Plain text
  21628. #: guix-git/doc/guix.texi:14302
  21629. msgid "Sometimes the upstream name differs from the package name used in Guix, and @command{guix refresh} needs a little help. Most updaters honor the @code{upstream-name} property in package definitions, which can be used to that effect:"
  21630. msgstr ""
  21631. #. type: lisp
  21632. #: guix-git/doc/guix.texi:14309
  21633. #, no-wrap
  21634. msgid ""
  21635. "(define-public network-manager\n"
  21636. " (package\n"
  21637. " (name \"network-manager\")\n"
  21638. " ;; @dots{}\n"
  21639. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  21640. msgstr ""
  21641. #. type: Plain text
  21642. #: guix-git/doc/guix.texi:14318
  21643. msgid "When passed @option{--update}, it modifies distribution source files to update the version numbers and source tarball hashes of those package recipes (@pxref{Defining Packages}). This is achieved by downloading each package's latest source tarball and its associated OpenPGP signature, authenticating the downloaded tarball against its signature using @command{gpgv}, and finally computing its hash---note that GnuPG must be installed and in @code{$PATH}; run @code{guix install gnupg} if needed."
  21644. msgstr ""
  21645. #. type: Plain text
  21646. #: guix-git/doc/guix.texi:14324
  21647. msgid "When the public key used to sign the tarball is missing from the user's keyring, an attempt is made to automatically retrieve it from a public key server; when this is successful, the key is added to the user's keyring; otherwise, @command{guix refresh} reports an error."
  21648. msgstr ""
  21649. #. type: Plain text
  21650. #: guix-git/doc/guix.texi:14326
  21651. msgid "The following options are supported:"
  21652. msgstr ""
  21653. #. type: table
  21654. #: guix-git/doc/guix.texi:14334 guix-git/doc/guix.texi:15405
  21655. msgid "This is useful to precisely refer to a package, as in this example:"
  21656. msgstr ""
  21657. #. type: example
  21658. #: guix-git/doc/guix.texi:14337
  21659. #, no-wrap
  21660. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  21661. msgstr ""
  21662. #. type: table
  21663. #: guix-git/doc/guix.texi:14341
  21664. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  21665. msgstr ""
  21666. #. type: item
  21667. #: guix-git/doc/guix.texi:14342
  21668. #, no-wrap
  21669. msgid "--update"
  21670. msgstr ""
  21671. #. type: itemx
  21672. #: guix-git/doc/guix.texi:14343
  21673. #, no-wrap
  21674. msgid "-u"
  21675. msgstr "-u"
  21676. #. type: table
  21677. #: guix-git/doc/guix.texi:14347
  21678. msgid "Update distribution source files (package recipes) in place. This is usually run from a checkout of the Guix source tree (@pxref{Running Guix Before It Is Installed}):"
  21679. msgstr ""
  21680. #. type: example
  21681. #: guix-git/doc/guix.texi:14350
  21682. #, no-wrap
  21683. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  21684. msgstr ""
  21685. #. type: table
  21686. #: guix-git/doc/guix.texi:14353
  21687. msgid "@xref{Defining Packages}, for more information on package definitions."
  21688. msgstr ""
  21689. #. type: item
  21690. #: guix-git/doc/guix.texi:14354
  21691. #, no-wrap
  21692. msgid "--select=[@var{subset}]"
  21693. msgstr ""
  21694. #. type: itemx
  21695. #: guix-git/doc/guix.texi:14355
  21696. #, no-wrap
  21697. msgid "-s @var{subset}"
  21698. msgstr ""
  21699. #. type: table
  21700. #: guix-git/doc/guix.texi:14358
  21701. msgid "Select all the packages in @var{subset}, one of @code{core}, @code{non-core} or @code{module:@var{name}}."
  21702. msgstr ""
  21703. #. type: table
  21704. #: guix-git/doc/guix.texi:14365
  21705. msgid "The @code{core} subset refers to all the packages at the core of the distribution---i.e., packages that are used to build ``everything else''. This includes GCC, libc, Binutils, Bash, etc. Usually, changing one of these packages in the distribution entails a rebuild of all the others. Thus, such updates are an inconvenience to users in terms of build time or bandwidth used to achieve the upgrade."
  21706. msgstr ""
  21707. #. type: table
  21708. #: guix-git/doc/guix.texi:14369
  21709. msgid "The @code{non-core} subset refers to the remaining packages. It is typically useful in cases where an update of the core packages would be inconvenient."
  21710. msgstr ""
  21711. #. type: table
  21712. #: guix-git/doc/guix.texi:14374
  21713. msgid "The @code{module:@var{name}} subset refers to all the packages in a specified guile module. The module can be specified as @code{module:guile} or @code{module:(gnu packages guile)}, the former is a shorthand for the later."
  21714. msgstr ""
  21715. #. type: table
  21716. #: guix-git/doc/guix.texi:14379
  21717. msgid "Select all the packages from the manifest in @var{file}. This is useful to check if any packages of the user manifest can be updated."
  21718. msgstr ""
  21719. #. type: item
  21720. #: guix-git/doc/guix.texi:14380
  21721. #, no-wrap
  21722. msgid "--type=@var{updater}"
  21723. msgstr ""
  21724. #. type: itemx
  21725. #: guix-git/doc/guix.texi:14381
  21726. #, no-wrap
  21727. msgid "-t @var{updater}"
  21728. msgstr ""
  21729. #. type: table
  21730. #: guix-git/doc/guix.texi:14384
  21731. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  21732. msgstr ""
  21733. #. type: table
  21734. #: guix-git/doc/guix.texi:14388
  21735. msgid "the updater for GNU packages;"
  21736. msgstr ""
  21737. #. type: item
  21738. #: guix-git/doc/guix.texi:14388
  21739. #, no-wrap
  21740. msgid "savannah"
  21741. msgstr ""
  21742. #. type: table
  21743. #: guix-git/doc/guix.texi:14390
  21744. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  21745. msgstr ""
  21746. #. type: item
  21747. #: guix-git/doc/guix.texi:14390
  21748. #, no-wrap
  21749. msgid "sourceforge"
  21750. msgstr ""
  21751. #. type: table
  21752. #: guix-git/doc/guix.texi:14392
  21753. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  21754. msgstr ""
  21755. #. type: item
  21756. #: guix-git/doc/guix.texi:14392
  21757. #, no-wrap
  21758. msgid "gnome"
  21759. msgstr "gnome"
  21760. #. type: table
  21761. #: guix-git/doc/guix.texi:14394
  21762. msgid "the updater for GNOME packages;"
  21763. msgstr ""
  21764. #. type: item
  21765. #: guix-git/doc/guix.texi:14394
  21766. #, no-wrap
  21767. msgid "kde"
  21768. msgstr ""
  21769. #. type: table
  21770. #: guix-git/doc/guix.texi:14396
  21771. msgid "the updater for KDE packages;"
  21772. msgstr ""
  21773. #. type: item
  21774. #: guix-git/doc/guix.texi:14396
  21775. #, no-wrap
  21776. msgid "xorg"
  21777. msgstr ""
  21778. #. type: table
  21779. #: guix-git/doc/guix.texi:14398
  21780. msgid "the updater for X.org packages;"
  21781. msgstr ""
  21782. #. type: item
  21783. #: guix-git/doc/guix.texi:14398
  21784. #, no-wrap
  21785. msgid "kernel.org"
  21786. msgstr ""
  21787. #. type: table
  21788. #: guix-git/doc/guix.texi:14400
  21789. msgid "the updater for packages hosted on kernel.org;"
  21790. msgstr ""
  21791. #. type: table
  21792. #: guix-git/doc/guix.texi:14402
  21793. msgid "the updater for @uref{https://wiki.call-cc.org/eggs/, Egg} packages;"
  21794. msgstr ""
  21795. #. type: table
  21796. #: guix-git/doc/guix.texi:14404
  21797. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  21798. msgstr ""
  21799. #. type: table
  21800. #: guix-git/doc/guix.texi:14406
  21801. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  21802. msgstr ""
  21803. #. type: item
  21804. #: guix-git/doc/guix.texi:14406
  21805. #, no-wrap
  21806. msgid "bioconductor"
  21807. msgstr ""
  21808. #. type: table
  21809. #: guix-git/doc/guix.texi:14408
  21810. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  21811. msgstr ""
  21812. #. type: table
  21813. #: guix-git/doc/guix.texi:14410
  21814. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  21815. msgstr ""
  21816. #. type: table
  21817. #: guix-git/doc/guix.texi:14412
  21818. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  21819. msgstr ""
  21820. #. type: table
  21821. #: guix-git/doc/guix.texi:14414
  21822. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  21823. msgstr ""
  21824. #. type: item
  21825. #: guix-git/doc/guix.texi:14414
  21826. #, no-wrap
  21827. msgid "github"
  21828. msgstr ""
  21829. #. type: table
  21830. #: guix-git/doc/guix.texi:14416
  21831. msgid "the updater for @uref{https://github.com, GitHub} packages."
  21832. msgstr ""
  21833. #. type: table
  21834. #: guix-git/doc/guix.texi:14418
  21835. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  21836. msgstr ""
  21837. #. type: table
  21838. #: guix-git/doc/guix.texi:14420
  21839. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  21840. msgstr ""
  21841. #. type: table
  21842. #: guix-git/doc/guix.texi:14422
  21843. msgid "the updater for @uref{https://crates.io, Crates} packages."
  21844. msgstr ""
  21845. #. type: item
  21846. #: guix-git/doc/guix.texi:14422
  21847. #, no-wrap
  21848. msgid "launchpad"
  21849. msgstr ""
  21850. #. type: table
  21851. #: guix-git/doc/guix.texi:14424
  21852. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  21853. msgstr ""
  21854. #. type: item
  21855. #: guix-git/doc/guix.texi:14424
  21856. #, no-wrap
  21857. msgid "generic-html"
  21858. msgstr ""
  21859. #. type: table
  21860. #: guix-git/doc/guix.texi:14428
  21861. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable, or the HTML page specified by the @code{release-monitoring-url} property of the package."
  21862. msgstr ""
  21863. #. type: item
  21864. #: guix-git/doc/guix.texi:14429
  21865. #, no-wrap
  21866. msgid "generic-git"
  21867. msgstr ""
  21868. #. type: table
  21869. #: guix-git/doc/guix.texi:14434
  21870. msgid "a generic updater for packages hosted on Git repositories. It tries to be smart about parsing Git tag names, but if it is not able to parse the tag name and compare tags correctly, users can define the following properties for a package."
  21871. msgstr ""
  21872. #. type: item
  21873. #: guix-git/doc/guix.texi:14436
  21874. #, no-wrap
  21875. msgid "@code{release-tag-prefix}: a regular expression for matching a prefix of"
  21876. msgstr ""
  21877. #. type: itemize
  21878. #: guix-git/doc/guix.texi:14438 guix-git/doc/guix.texi:14441
  21879. msgid "the tag name."
  21880. msgstr ""
  21881. #. type: item
  21882. #: guix-git/doc/guix.texi:14439
  21883. #, no-wrap
  21884. msgid "@code{release-tag-suffix}: a regular expression for matching a suffix of"
  21885. msgstr ""
  21886. #. type: item
  21887. #: guix-git/doc/guix.texi:14442
  21888. #, no-wrap
  21889. msgid "@code{release-tag-version-delimiter}: a string used as the delimiter in"
  21890. msgstr ""
  21891. #. type: itemize
  21892. #: guix-git/doc/guix.texi:14444
  21893. msgid "the tag name for separating the numbers of the version."
  21894. msgstr ""
  21895. #. type: item
  21896. #: guix-git/doc/guix.texi:14445
  21897. #, no-wrap
  21898. msgid "@code{accept-pre-releases}: by default, the updater will ignore"
  21899. msgstr ""
  21900. #. type: itemize
  21901. #: guix-git/doc/guix.texi:14448
  21902. msgid "pre-releases; to make it also look for pre-releases, set the this property to @code{#t}."
  21903. msgstr ""
  21904. #. type: lisp
  21905. #: guix-git/doc/guix.texi:14459
  21906. #, no-wrap
  21907. msgid ""
  21908. "(package\n"
  21909. " (name \"foo\")\n"
  21910. " ;; ...\n"
  21911. " (properties\n"
  21912. " '((release-tag-prefix . \"^release0-\")\n"
  21913. " (release-tag-suffix . \"[a-z]?$\")\n"
  21914. " (release-tag-version-delimiter . \":\"))))\n"
  21915. msgstr ""
  21916. #. type: table
  21917. #: guix-git/doc/guix.texi:14466
  21918. msgid "For instance, the following command only checks for updates of Emacs packages hosted at @code{elpa.gnu.org} and for updates of CRAN packages:"
  21919. msgstr ""
  21920. #. type: example
  21921. #: guix-git/doc/guix.texi:14471
  21922. #, no-wrap
  21923. msgid ""
  21924. "$ guix refresh --type=elpa,cran\n"
  21925. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  21926. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  21927. msgstr ""
  21928. #. type: item
  21929. #: guix-git/doc/guix.texi:14473
  21930. #, no-wrap
  21931. msgid "--list-updaters"
  21932. msgstr ""
  21933. #. type: table
  21934. #: guix-git/doc/guix.texi:14475
  21935. msgid "List available updaters and exit (see @option{--type} above)."
  21936. msgstr ""
  21937. #. type: table
  21938. #: guix-git/doc/guix.texi:14478
  21939. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  21940. msgstr ""
  21941. #. type: Plain text
  21942. #: guix-git/doc/guix.texi:14482
  21943. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  21944. msgstr ""
  21945. #. type: example
  21946. #: guix-git/doc/guix.texi:14485
  21947. #, no-wrap
  21948. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  21949. msgstr ""
  21950. #. type: Plain text
  21951. #: guix-git/doc/guix.texi:14492
  21952. msgid "The command above specifically updates the @code{emacs} and @code{idutils} packages. The @option{--select} option would have no effect in this case. You might also want to update definitions that correspond to the packages installed in your profile:"
  21953. msgstr ""
  21954. #. type: example
  21955. #: guix-git/doc/guix.texi:14496
  21956. #, no-wrap
  21957. msgid ""
  21958. "$ ./pre-inst-env guix refresh -u \\\n"
  21959. " $(guix package --list-installed | cut -f1)\n"
  21960. msgstr ""
  21961. #. type: Plain text
  21962. #: guix-git/doc/guix.texi:14502
  21963. msgid "When considering whether to upgrade a package, it is sometimes convenient to know which packages would be affected by the upgrade and should be checked for compatibility. For this the following option may be used when passing @command{guix refresh} one or more package names:"
  21964. msgstr ""
  21965. #. type: item
  21966. #: guix-git/doc/guix.texi:14505
  21967. #, no-wrap
  21968. msgid "--list-dependent"
  21969. msgstr ""
  21970. #. type: itemx
  21971. #: guix-git/doc/guix.texi:14506 guix-git/doc/guix.texi:14784
  21972. #: guix-git/doc/guix.texi:14976
  21973. #, no-wrap
  21974. msgid "-l"
  21975. msgstr ""
  21976. #. type: table
  21977. #: guix-git/doc/guix.texi:14509
  21978. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  21979. msgstr ""
  21980. #. type: table
  21981. #: guix-git/doc/guix.texi:14513
  21982. msgid "@xref{Invoking guix graph, the @code{reverse-package} type of @command{guix graph}}, for information on how to visualize the list of dependents of a package."
  21983. msgstr ""
  21984. #. type: Plain text
  21985. #: guix-git/doc/guix.texi:14519
  21986. msgid "Be aware that the @option{--list-dependent} option only @emph{approximates} the rebuilds that would be required as a result of an upgrade. More rebuilds might be required under some circumstances."
  21987. msgstr ""
  21988. #. type: example
  21989. #: guix-git/doc/guix.texi:14524
  21990. #, no-wrap
  21991. msgid ""
  21992. "$ guix refresh --list-dependent flex\n"
  21993. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  21994. "hop@@2.4.0 emacs-geiser@@0.13 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  21995. msgstr ""
  21996. #. type: Plain text
  21997. #: guix-git/doc/guix.texi:14528
  21998. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  21999. msgstr ""
  22000. #. type: item
  22001. #: guix-git/doc/guix.texi:14531
  22002. #, no-wrap
  22003. msgid "--list-transitive"
  22004. msgstr "--list-transitive"
  22005. #. type: itemx
  22006. #: guix-git/doc/guix.texi:14532
  22007. #, no-wrap
  22008. msgid "-T"
  22009. msgstr ""
  22010. #. type: table
  22011. #: guix-git/doc/guix.texi:14534
  22012. msgid "List all the packages which one or more packages depend upon."
  22013. msgstr ""
  22014. #. type: example
  22015. #: guix-git/doc/guix.texi:14539
  22016. #, no-wrap
  22017. msgid ""
  22018. "$ guix refresh --list-transitive flex\n"
  22019. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  22020. "bison@@3.0.5 indent@@2.2.10 tar@@1.30 gzip@@1.9 bzip2@@1.0.6 xz@@5.2.4 file@@5.33 @dots{}\n"
  22021. msgstr ""
  22022. #. type: Plain text
  22023. #: guix-git/doc/guix.texi:14545
  22024. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  22025. msgstr ""
  22026. #. type: Plain text
  22027. #: guix-git/doc/guix.texi:14547
  22028. msgid "The following options can be used to customize GnuPG operation:"
  22029. msgstr ""
  22030. #. type: item
  22031. #: guix-git/doc/guix.texi:14550
  22032. #, no-wrap
  22033. msgid "--gpg=@var{command}"
  22034. msgstr ""
  22035. #. type: table
  22036. #: guix-git/doc/guix.texi:14553
  22037. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  22038. msgstr ""
  22039. #. type: item
  22040. #: guix-git/doc/guix.texi:14554
  22041. #, no-wrap
  22042. msgid "--keyring=@var{file}"
  22043. msgstr ""
  22044. #. type: table
  22045. #: guix-git/doc/guix.texi:14560
  22046. msgid "Use @var{file} as the keyring for upstream keys. @var{file} must be in the @dfn{keybox format}. Keybox files usually have a name ending in @file{.kbx} and the GNU@tie{}Privacy Guard (GPG) can manipulate these files (@pxref{kbxutil, @command{kbxutil},, gnupg, Using the GNU Privacy Guard}, for information on a tool to manipulate keybox files)."
  22047. msgstr ""
  22048. #. type: table
  22049. #: guix-git/doc/guix.texi:14566
  22050. msgid "When this option is omitted, @command{guix refresh} uses @file{~/.config/guix/upstream/trustedkeys.kbx} as the keyring for upstream signing keys. OpenPGP signatures are checked against keys from this keyring; missing keys are downloaded to this keyring as well (see @option{--key-download} below)."
  22051. msgstr ""
  22052. #. type: table
  22053. #: guix-git/doc/guix.texi:14569
  22054. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  22055. msgstr ""
  22056. #. type: example
  22057. #: guix-git/doc/guix.texi:14572
  22058. #, no-wrap
  22059. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  22060. msgstr ""
  22061. #. type: table
  22062. #: guix-git/doc/guix.texi:14575
  22063. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  22064. msgstr ""
  22065. #. type: example
  22066. #: guix-git/doc/guix.texi:14579
  22067. #, no-wrap
  22068. msgid ""
  22069. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  22070. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  22071. msgstr ""
  22072. #. type: table
  22073. #: guix-git/doc/guix.texi:14583
  22074. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  22075. msgstr ""
  22076. #. type: table
  22077. #: guix-git/doc/guix.texi:14587
  22078. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  22079. msgstr ""
  22080. #. type: item
  22081. #: guix-git/doc/guix.texi:14589 guix-git/doc/guix.texi:14819
  22082. #: guix-git/doc/guix.texi:25829
  22083. #, no-wrap
  22084. msgid "always"
  22085. msgstr ""
  22086. #. type: table
  22087. #: guix-git/doc/guix.texi:14592
  22088. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  22089. msgstr ""
  22090. #. type: item
  22091. #: guix-git/doc/guix.texi:14593 guix-git/doc/guix.texi:25831
  22092. #, no-wrap
  22093. msgid "never"
  22094. msgstr ""
  22095. #. type: table
  22096. #: guix-git/doc/guix.texi:14595
  22097. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  22098. msgstr ""
  22099. #. type: item
  22100. #: guix-git/doc/guix.texi:14596
  22101. #, no-wrap
  22102. msgid "interactive"
  22103. msgstr ""
  22104. #. type: table
  22105. #: guix-git/doc/guix.texi:14599
  22106. msgid "When a package signed with an unknown OpenPGP key is encountered, ask the user whether to download it or not. This is the default behavior."
  22107. msgstr ""
  22108. #. type: item
  22109. #: guix-git/doc/guix.texi:14601
  22110. #, no-wrap
  22111. msgid "--key-server=@var{host}"
  22112. msgstr ""
  22113. #. type: table
  22114. #: guix-git/doc/guix.texi:14603
  22115. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  22116. msgstr ""
  22117. #. type: Plain text
  22118. #: guix-git/doc/guix.texi:14624
  22119. msgid "The @code{github} updater uses the @uref{https://developer.github.com/v3/, GitHub API} to query for new releases. When used repeatedly e.g.@: when refreshing all packages, GitHub will eventually refuse to answer any further API requests. By default 60 API requests per hour are allowed, and a full refresh on all GitHub packages in Guix requires more than this. Authentication with GitHub through the use of an API token alleviates these limits. To use an API token, set the environment variable @env{GUIX_GITHUB_TOKEN} to a token procured from @uref{https://github.com/settings/tokens} or otherwise."
  22120. msgstr ""
  22121. #. type: section
  22122. #: guix-git/doc/guix.texi:14627
  22123. #, fuzzy, no-wrap
  22124. #| msgid "Invoking @command{guix size}"
  22125. msgid "Invoking @command{guix style}"
  22126. msgstr "Invocando @command{guix size}"
  22127. #. type: command{#1}
  22128. #: guix-git/doc/guix.texi:14629
  22129. #, fuzzy, no-wrap
  22130. #| msgid "Invoking guix system"
  22131. msgid "guix style"
  22132. msgstr "Invocando guix system"
  22133. #. type: cindex
  22134. #: guix-git/doc/guix.texi:14630
  22135. #, fuzzy, no-wrap
  22136. #| msgid "--root=@var{file}"
  22137. msgid "styling rules"
  22138. msgstr "--root=@var{arquivo}"
  22139. #. type: cindex
  22140. #: guix-git/doc/guix.texi:14631
  22141. #, fuzzy, no-wrap
  22142. #| msgid "coding style"
  22143. msgid "lint, code style"
  22144. msgstr "estilo de codificação"
  22145. #. type: cindex
  22146. #: guix-git/doc/guix.texi:14632
  22147. #, fuzzy, no-wrap
  22148. #| msgid "formatting code"
  22149. msgid "format, code style"
  22150. msgstr "formatação de código"
  22151. #. type: cindex
  22152. #: guix-git/doc/guix.texi:14633
  22153. #, fuzzy, no-wrap
  22154. #| msgid "Writing conventions."
  22155. msgid "format conventions"
  22156. msgstr "Convenções de escrita."
  22157. #. type: Plain text
  22158. #: guix-git/doc/guix.texi:14640
  22159. msgid "The @command{guix style} command helps users and packagers alike style their package definitions and configuration files according to the latest fashionable trends. It can either reformat whole files, with the @option{--whole-file} option, or apply specific @dfn{styling rules} to individual package definitions. The command currently provides the following styling rules:"
  22160. msgstr ""
  22161. #. type: itemize
  22162. #: guix-git/doc/guix.texi:14645
  22163. msgid "formatting package definitions according to the project's conventions (@pxref{Formatting Code});"
  22164. msgstr ""
  22165. #. type: itemize
  22166. #: guix-git/doc/guix.texi:14648
  22167. msgid "rewriting package inputs to the ``new style'', as explained below."
  22168. msgstr ""
  22169. #. type: Plain text
  22170. #: guix-git/doc/guix.texi:14654
  22171. msgid "The way package inputs are written is going through a transition (@pxref{package Reference}, for more on package inputs). Until version 1.3.0, package inputs were written using the ``old style'', where each input was given an explicit label, most of the time the package name:"
  22172. msgstr ""
  22173. #. type: lisp
  22174. #: guix-git/doc/guix.texi:14661
  22175. #, no-wrap
  22176. msgid ""
  22177. "(package\n"
  22178. " ;; @dots{}\n"
  22179. " ;; The \"old style\" (deprecated).\n"
  22180. " (inputs `((\"libunistring\" ,libunistring)\n"
  22181. " (\"libffi\" ,libffi))))\n"
  22182. msgstr ""
  22183. #. type: Plain text
  22184. #: guix-git/doc/guix.texi:14665
  22185. msgid "Today, the old style is deprecated and the preferred style looks like this:"
  22186. msgstr ""
  22187. #. type: lisp
  22188. #: guix-git/doc/guix.texi:14671
  22189. #, no-wrap
  22190. msgid ""
  22191. "(package\n"
  22192. " ;; @dots{}\n"
  22193. " ;; The \"new style\".\n"
  22194. " (inputs (list libunistring libffi)))\n"
  22195. msgstr ""
  22196. #. type: Plain text
  22197. #: guix-git/doc/guix.texi:14676
  22198. msgid "Likewise, uses of @code{alist-delete} and friends to manipulate inputs is now deprecated in favor of @code{modify-inputs} (@pxref{Defining Package Variants}, for more info on @code{modify-inputs})."
  22199. msgstr ""
  22200. #. type: Plain text
  22201. #: guix-git/doc/guix.texi:14681
  22202. msgid "In the vast majority of cases, this is a purely mechanical change on the surface syntax that does not even incur a package rebuild. Running @command{guix style -S inputs} can do that for you, whether you're working on packages in Guix proper or in an external channel."
  22203. msgstr ""
  22204. #. type: example
  22205. #: guix-git/doc/guix.texi:14686
  22206. #, no-wrap
  22207. msgid "guix style [@var{options}] @var{package}@dots{}\n"
  22208. msgstr "guix style [@var{options}] @var{package}@dots{}\n"
  22209. #. type: Plain text
  22210. #: guix-git/doc/guix.texi:14693
  22211. msgid "This causes @command{guix style} to analyze and rewrite the definition of @var{package}@dots{} or, when @var{package} is omitted, of @emph{all} the packages. The @option{--styling} or @option{-S} option allows you to select the style rule, the default rule being @code{format}---see below."
  22212. msgstr ""
  22213. #. type: Plain text
  22214. #: guix-git/doc/guix.texi:14695
  22215. msgid "To reformat entire source files, the syntax is:"
  22216. msgstr ""
  22217. #. type: example
  22218. #: guix-git/doc/guix.texi:14698
  22219. #, fuzzy, no-wrap
  22220. #| msgid "guix style [@var{options}] @var{package}@dots{}\n"
  22221. msgid "guix style --whole-file @var{file}@dots{}\n"
  22222. msgstr "guix style [@var{options}] @var{package}@dots{}\n"
  22223. #. type: Plain text
  22224. #: guix-git/doc/guix.texi:14701 guix-git/doc/guix.texi:16093
  22225. msgid "The available options are listed below."
  22226. msgstr ""
  22227. #. type: table
  22228. #: guix-git/doc/guix.texi:14706
  22229. msgid "Show source file locations that would be edited but do not modify them."
  22230. msgstr ""
  22231. #. type: item
  22232. #: guix-git/doc/guix.texi:14707
  22233. #, no-wrap
  22234. msgid "--whole-file"
  22235. msgstr ""
  22236. #. type: itemx
  22237. #: guix-git/doc/guix.texi:14708
  22238. #, no-wrap
  22239. msgid "-f"
  22240. msgstr ""
  22241. #. type: table
  22242. #: guix-git/doc/guix.texi:14712
  22243. msgid "Reformat the given files in their entirety. In that case, subsequent arguments are interpreted as file names (rather than package names), and the @option{--styling} option has no effect."
  22244. msgstr ""
  22245. #. type: table
  22246. #: guix-git/doc/guix.texi:14715
  22247. msgid "As an example, here is how you might reformat your operating system configuration (you need write permissions for the file):"
  22248. msgstr ""
  22249. #. type: example
  22250. #: guix-git/doc/guix.texi:14718
  22251. #, fuzzy, no-wrap
  22252. #| msgid "$ guix system list-generations 10d\n"
  22253. msgid "guix style -f /etc/config.scm\n"
  22254. msgstr "$ guix system list-generations 10d\n"
  22255. #. type: item
  22256. #: guix-git/doc/guix.texi:14720
  22257. #, fuzzy, no-wrap
  22258. #| msgid "--root=@var{file}"
  22259. msgid "--styling=@var{rule}"
  22260. msgstr "--root=@var{arquivo}"
  22261. #. type: itemx
  22262. #: guix-git/doc/guix.texi:14721
  22263. #, fuzzy, no-wrap
  22264. #| msgid "-f @var{file}"
  22265. msgid "-S @var{rule}"
  22266. msgstr "-f @var{arquivo}"
  22267. #. type: table
  22268. #: guix-git/doc/guix.texi:14723
  22269. #, fuzzy
  22270. #| msgid "Packages are currently available on the following platforms:"
  22271. msgid "Apply @var{rule}, one of the following styling rules:"
  22272. msgstr "Os pacotes estão atualmente disponíveis nas seguintes plataformas:"
  22273. #. type: code{#1}
  22274. #: guix-git/doc/guix.texi:14725 guix-git/doc/guix.texi:44300
  22275. #, no-wrap
  22276. msgid "format"
  22277. msgstr ""
  22278. #. type: table
  22279. #: guix-git/doc/guix.texi:14730
  22280. msgid "Format the given package definition(s)---this is the default styling rule. For example, a packager running Guix on a checkout (@pxref{Running Guix Before It Is Installed}) might want to reformat the definition of the Coreutils package like so:"
  22281. msgstr ""
  22282. #. type: example
  22283. #: guix-git/doc/guix.texi:14733
  22284. #, fuzzy, no-wrap
  22285. #| msgid "./pre-inst-env guix build gnew --keep-failed\n"
  22286. msgid "./pre-inst-env guix style coreutils\n"
  22287. msgstr "./pre-inst-env guix build gnew --keep-failed\n"
  22288. #. type: item
  22289. #: guix-git/doc/guix.texi:14735
  22290. #, no-wrap
  22291. msgid "inputs"
  22292. msgstr ""
  22293. #. type: table
  22294. #: guix-git/doc/guix.texi:14739
  22295. msgid "Rewrite package inputs to the ``new style'', as described above. This is how you would rewrite inputs of package @code{whatnot} in your own channel:"
  22296. msgstr ""
  22297. #. type: example
  22298. #: guix-git/doc/guix.texi:14742
  22299. #, no-wrap
  22300. msgid "guix style -L ~/my/channel -S inputs whatnot\n"
  22301. msgstr ""
  22302. #. type: table
  22303. #: guix-git/doc/guix.texi:14748
  22304. msgid "Rewriting is done in a conservative way: preserving comments and bailing out if it cannot make sense of the code that appears in an inputs field. The @option{--input-simplification} option described below provides fine-grain control over when inputs should be simplified."
  22305. msgstr ""
  22306. #. type: item
  22307. #: guix-git/doc/guix.texi:14749 guix-git/doc/guix.texi:20036
  22308. #, no-wrap
  22309. msgid "arguments"
  22310. msgstr ""
  22311. #. type: table
  22312. #: guix-git/doc/guix.texi:14752
  22313. msgid "Rewrite package arguments to use G-expressions (@pxref{G-Expressions}). For example, consider this package definition:"
  22314. msgstr ""
  22315. #. type: lisp
  22316. #: guix-git/doc/guix.texi:14761
  22317. #, no-wrap
  22318. msgid ""
  22319. "(define-public my-package\n"
  22320. " (package\n"
  22321. " ;; @dots{}\n"
  22322. " (arguments ;old-style quoted arguments\n"
  22323. " '(#:make-flags '(\"V=1\")\n"
  22324. " #:phases (modify-phases %standard-phases\n"
  22325. " (delete 'build))))))\n"
  22326. msgstr ""
  22327. #. type: table
  22328. #: guix-git/doc/guix.texi:14766
  22329. msgid "Running @command{guix style -S arguments} on this package would rewrite its @code{arguments} field like to:"
  22330. msgstr ""
  22331. #. type: lisp
  22332. #: guix-git/doc/guix.texi:14775
  22333. #, no-wrap
  22334. msgid ""
  22335. "(define-public my-package\n"
  22336. " (package\n"
  22337. " ;; @dots{}\n"
  22338. " (arguments\n"
  22339. " (list #:make-flags #~'(\"V=1\")\n"
  22340. " #:phases #~(modify-phases %standard-phases\n"
  22341. " (delete 'build))))))\n"
  22342. msgstr ""
  22343. #. type: table
  22344. #: guix-git/doc/guix.texi:14781
  22345. msgid "Note that changes made by the @code{arguments} rule do not entail a rebuild of the affected packages. Furthermore, if a package definition happens to be using G-expressions already, @command{guix style} leaves it unchanged."
  22346. msgstr ""
  22347. #. type: item
  22348. #: guix-git/doc/guix.texi:14783
  22349. #, fuzzy, no-wrap
  22350. #| msgid "--list-live"
  22351. msgid "--list-stylings"
  22352. msgstr "--list-live"
  22353. #. type: table
  22354. #: guix-git/doc/guix.texi:14786
  22355. msgid "List and describe the available styling rules and exit."
  22356. msgstr ""
  22357. #. type: table
  22358. #: guix-git/doc/guix.texi:14795
  22359. msgid "Style the package @var{expr} evaluates to."
  22360. msgstr ""
  22361. #. type: example
  22362. #: guix-git/doc/guix.texi:14800
  22363. #, no-wrap
  22364. msgid "guix style -e '(@@ (gnu packages gcc) gcc-5)'\n"
  22365. msgstr ""
  22366. #. type: table
  22367. #: guix-git/doc/guix.texi:14803
  22368. #, fuzzy
  22369. #| msgid "Editing package definitions."
  22370. msgid "styles the @code{gcc-5} package definition."
  22371. msgstr "Editando definições de pacote."
  22372. #. type: item
  22373. #: guix-git/doc/guix.texi:14804
  22374. #, no-wrap
  22375. msgid "--input-simplification=@var{policy}"
  22376. msgstr ""
  22377. #. type: table
  22378. #: guix-git/doc/guix.texi:14809
  22379. msgid "When using the @code{inputs} styling rule, with @samp{-S inputs}, this option specifies the package input simplification policy for cases where an input label does not match the corresponding package name. @var{policy} may be one of the following:"
  22380. msgstr ""
  22381. #. type: item
  22382. #: guix-git/doc/guix.texi:14811
  22383. #, no-wrap
  22384. msgid "silent"
  22385. msgstr ""
  22386. #. type: table
  22387. #: guix-git/doc/guix.texi:14814
  22388. msgid "Simplify inputs only when the change is ``silent'', meaning that the package does not need to be rebuilt (its derivation is unchanged)."
  22389. msgstr ""
  22390. #. type: item
  22391. #: guix-git/doc/guix.texi:14815
  22392. #, no-wrap
  22393. msgid "safe"
  22394. msgstr ""
  22395. #. type: table
  22396. #: guix-git/doc/guix.texi:14818
  22397. msgid "Simplify inputs only when that is ``safe'' to do: the package might need to be rebuilt, but the change is known to have no observable effect."
  22398. msgstr ""
  22399. #. type: table
  22400. #: guix-git/doc/guix.texi:14822
  22401. msgid "Simplify inputs even when input labels do not match package names, and even if that might have an observable effect."
  22402. msgstr ""
  22403. #. type: table
  22404. #: guix-git/doc/guix.texi:14826
  22405. msgid "The default is @code{silent}, meaning that input simplifications do not trigger any package rebuild."
  22406. msgstr ""
  22407. #. type: section
  22408. #: guix-git/doc/guix.texi:14829
  22409. #, no-wrap
  22410. msgid "Invoking @command{guix lint}"
  22411. msgstr "Invocando @command{guix lint}"
  22412. #. type: command{#1}
  22413. #: guix-git/doc/guix.texi:14831
  22414. #, no-wrap
  22415. msgid "guix lint"
  22416. msgstr ""
  22417. #. type: cindex
  22418. #: guix-git/doc/guix.texi:14832
  22419. #, no-wrap
  22420. msgid "package, checking for errors"
  22421. msgstr ""
  22422. #. type: Plain text
  22423. #: guix-git/doc/guix.texi:14838
  22424. msgid "The @command{guix lint} command is meant to help package developers avoid common errors and use a consistent style. It runs a number of checks on a given set of packages in order to find common mistakes in their definitions. Available @dfn{checkers} include (see @option{--list-checkers} for a complete list):"
  22425. msgstr ""
  22426. #. type: table
  22427. #: guix-git/doc/guix.texi:14844
  22428. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  22429. msgstr ""
  22430. #. type: item
  22431. #: guix-git/doc/guix.texi:14845
  22432. #, no-wrap
  22433. msgid "inputs-should-be-native"
  22434. msgstr ""
  22435. #. type: table
  22436. #: guix-git/doc/guix.texi:14847
  22437. msgid "Identify inputs that should most likely be native inputs."
  22438. msgstr ""
  22439. #. type: itemx
  22440. #: guix-git/doc/guix.texi:14850
  22441. #, no-wrap
  22442. msgid "mirror-url"
  22443. msgstr ""
  22444. #. type: itemx
  22445. #: guix-git/doc/guix.texi:14851
  22446. #, no-wrap
  22447. msgid "github-url"
  22448. msgstr ""
  22449. #. type: itemx
  22450. #: guix-git/doc/guix.texi:14852
  22451. #, no-wrap
  22452. msgid "source-file-name"
  22453. msgstr ""
  22454. #. type: table
  22455. #: guix-git/doc/guix.texi:14859
  22456. msgid "Probe @code{home-page} and @code{source} URLs and report those that are invalid. Suggest a @code{mirror://} URL when applicable. If the @code{source} URL redirects to a GitHub URL, recommend usage of the GitHub URL@. Check that the source file name is meaningful, e.g.@: is not just a version number or ``git-checkout'', without a declared @code{file-name} (@pxref{origin Reference})."
  22457. msgstr ""
  22458. #. type: item
  22459. #: guix-git/doc/guix.texi:14860
  22460. #, no-wrap
  22461. msgid "source-unstable-tarball"
  22462. msgstr ""
  22463. #. type: table
  22464. #: guix-git/doc/guix.texi:14864
  22465. msgid "Parse the @code{source} URL to determine if a tarball from GitHub is autogenerated or if it is a release tarball. Unfortunately GitHub's autogenerated tarballs are sometimes regenerated."
  22466. msgstr ""
  22467. #. type: table
  22468. #: guix-git/doc/guix.texi:14868
  22469. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  22470. msgstr ""
  22471. #. type: item
  22472. #: guix-git/doc/guix.texi:14869
  22473. #, no-wrap
  22474. msgid "profile-collisions"
  22475. msgstr ""
  22476. #. type: table
  22477. #: guix-git/doc/guix.texi:14875
  22478. msgid "Check whether installing the given packages in a profile would lead to collisions. Collisions occur when several packages with the same name but a different version or a different store file name are propagated. @xref{package Reference, @code{propagated-inputs}}, for more information on propagated inputs."
  22479. msgstr ""
  22480. #. type: item
  22481. #: guix-git/doc/guix.texi:14876
  22482. #, no-wrap
  22483. msgid "archival"
  22484. msgstr ""
  22485. #. type: cindex
  22486. #: guix-git/doc/guix.texi:14877
  22487. #, no-wrap
  22488. msgid "Software Heritage, source code archive"
  22489. msgstr ""
  22490. #. type: cindex
  22491. #: guix-git/doc/guix.texi:14878
  22492. #, no-wrap
  22493. msgid "archival of source code, Software Heritage"
  22494. msgstr ""
  22495. #. type: table
  22496. #: guix-git/doc/guix.texi:14881
  22497. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  22498. msgstr ""
  22499. #. type: table
  22500. #: guix-git/doc/guix.texi:14889
  22501. msgid "When the source code that is not archived comes from a version-control system (VCS)---e.g., it's obtained with @code{git-fetch}, send Software Heritage a ``save'' request so that it eventually archives it. This ensures that the source will remain available in the long term, and that Guix can fall back to Software Heritage should the source code disappear from its original host. The status of recent ``save'' requests can be @uref{https://archive.softwareheritage.org/save/#requests, viewed on-line}."
  22502. msgstr ""
  22503. #. type: table
  22504. #: guix-git/doc/guix.texi:14894
  22505. msgid "When source code is a tarball obtained with @code{url-fetch}, simply print a message when it is not archived. As of this writing, Software Heritage does not allow requests to save arbitrary tarballs; we are working on ways to ensure that non-VCS source code is also archived."
  22506. msgstr ""
  22507. #. type: table
  22508. #: guix-git/doc/guix.texi:14900
  22509. msgid "Software Heritage @uref{https://archive.softwareheritage.org/api/#rate-limiting, limits the request rate per IP address}. When the limit is reached, @command{guix lint} prints a message and the @code{archival} checker stops doing anything until that limit has been reset."
  22510. msgstr ""
  22511. #. type: item
  22512. #: guix-git/doc/guix.texi:14901
  22513. #, no-wrap
  22514. msgid "cve"
  22515. msgstr ""
  22516. #. type: cindex
  22517. #: guix-git/doc/guix.texi:14902 guix-git/doc/guix.texi:45073
  22518. #, no-wrap
  22519. msgid "security vulnerabilities"
  22520. msgstr ""
  22521. #. type: cindex
  22522. #: guix-git/doc/guix.texi:14903
  22523. #, no-wrap
  22524. msgid "CVE, Common Vulnerabilities and Exposures"
  22525. msgstr ""
  22526. #. type: table
  22527. #: guix-git/doc/guix.texi:14908
  22528. msgid "Report known vulnerabilities found in the Common Vulnerabilities and Exposures (CVE) databases of the current and past year @uref{https://nvd.nist.gov/vuln/data-feeds, published by the US NIST}."
  22529. msgstr ""
  22530. #. type: table
  22531. #: guix-git/doc/guix.texi:14910
  22532. msgid "To view information about a particular vulnerability, visit pages such as:"
  22533. msgstr ""
  22534. #. type: indicateurl{#1}
  22535. #: guix-git/doc/guix.texi:14914
  22536. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  22537. msgstr ""
  22538. #. type: indicateurl{#1}
  22539. #: guix-git/doc/guix.texi:14916
  22540. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  22541. msgstr ""
  22542. #. type: table
  22543. #: guix-git/doc/guix.texi:14921
  22544. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  22545. msgstr ""
  22546. #. type: table
  22547. #: guix-git/doc/guix.texi:14926
  22548. msgid "Package developers can specify in package recipes the @uref{https://nvd.nist.gov/products/cpe,Common Platform Enumeration (CPE)} name and version of the package when they differ from the name or version that Guix uses, as in this example:"
  22549. msgstr ""
  22550. #. type: lisp
  22551. #: guix-git/doc/guix.texi:14934
  22552. #, no-wrap
  22553. msgid ""
  22554. "(package\n"
  22555. " (name \"grub\")\n"
  22556. " ;; @dots{}\n"
  22557. " ;; CPE calls this package \"grub2\".\n"
  22558. " (properties '((cpe-name . \"grub2\")\n"
  22559. " (cpe-version . \"2.3\"))))\n"
  22560. msgstr ""
  22561. #. type: table
  22562. #: guix-git/doc/guix.texi:14941
  22563. msgid "Some entries in the CVE database do not specify which version of a package they apply to, and would thus ``stick around'' forever. Package developers who found CVE alerts and verified they can be ignored can declare them as in this example:"
  22564. msgstr ""
  22565. #. type: lisp
  22566. #: guix-git/doc/guix.texi:14951
  22567. #, no-wrap
  22568. msgid ""
  22569. "(package\n"
  22570. " (name \"t1lib\")\n"
  22571. " ;; @dots{}\n"
  22572. " ;; These CVEs no longer apply and can be safely ignored.\n"
  22573. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  22574. " \"CVE-2011-1553\"\n"
  22575. " \"CVE-2011-1554\"\n"
  22576. " \"CVE-2011-5244\")))))\n"
  22577. msgstr ""
  22578. #. type: item
  22579. #: guix-git/doc/guix.texi:14953
  22580. #, no-wrap
  22581. msgid "formatting"
  22582. msgstr ""
  22583. #. type: table
  22584. #: guix-git/doc/guix.texi:14956
  22585. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  22586. msgstr ""
  22587. #. type: item
  22588. #: guix-git/doc/guix.texi:14957
  22589. #, no-wrap
  22590. msgid "input-labels"
  22591. msgstr ""
  22592. #. type: table
  22593. #: guix-git/doc/guix.texi:14963
  22594. msgid "Report old-style input labels that do not match the name of the corresponding package. This aims to help migrate from the ``old input style''. @xref{package Reference}, for more information on package inputs and input styles. @xref{Invoking guix style}, on how to migrate to the new style."
  22595. msgstr ""
  22596. #. type: example
  22597. #: guix-git/doc/guix.texi:14969
  22598. #, no-wrap
  22599. msgid "guix lint @var{options} @var{package}@dots{}\n"
  22600. msgstr ""
  22601. #. type: Plain text
  22602. #: guix-git/doc/guix.texi:14973
  22603. msgid "If no package is given on the command line, then all packages are checked. The @var{options} may be zero or more of the following:"
  22604. msgstr ""
  22605. #. type: item
  22606. #: guix-git/doc/guix.texi:14975
  22607. #, no-wrap
  22608. msgid "--list-checkers"
  22609. msgstr "--list-checkers"
  22610. #. type: table
  22611. #: guix-git/doc/guix.texi:14979
  22612. msgid "List and describe all the available checkers that will be run on packages and exit."
  22613. msgstr ""
  22614. #. type: item
  22615. #: guix-git/doc/guix.texi:14980
  22616. #, no-wrap
  22617. msgid "--checkers"
  22618. msgstr "--checkers"
  22619. #. type: itemx
  22620. #: guix-git/doc/guix.texi:14981
  22621. #, no-wrap
  22622. msgid "-c"
  22623. msgstr "-c"
  22624. #. type: table
  22625. #: guix-git/doc/guix.texi:14984
  22626. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  22627. msgstr ""
  22628. #. type: item
  22629. #: guix-git/doc/guix.texi:14985
  22630. #, no-wrap
  22631. msgid "--exclude"
  22632. msgstr ""
  22633. #. type: table
  22634. #: guix-git/doc/guix.texi:14989
  22635. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  22636. msgstr ""
  22637. #. type: table
  22638. #: guix-git/doc/guix.texi:14995
  22639. msgid "This is useful to unambiguously designate packages, as in this example:"
  22640. msgstr ""
  22641. #. type: example
  22642. #: guix-git/doc/guix.texi:14998
  22643. #, no-wrap
  22644. msgid "guix lint -c archival -e '(@@ (gnu packages guile) guile-3.0)'\n"
  22645. msgstr ""
  22646. #. type: item
  22647. #: guix-git/doc/guix.texi:15000
  22648. #, no-wrap
  22649. msgid "--no-network"
  22650. msgstr ""
  22651. #. type: table
  22652. #: guix-git/doc/guix.texi:15003
  22653. msgid "Only enable the checkers that do not depend on Internet access."
  22654. msgstr ""
  22655. #. type: section
  22656. #: guix-git/doc/guix.texi:15015
  22657. #, no-wrap
  22658. msgid "Invoking @command{guix size}"
  22659. msgstr "Invocando @command{guix size}"
  22660. #. type: code{#1}
  22661. #: guix-git/doc/guix.texi:15017 guix-git/doc/guix.texi:40750
  22662. #, no-wrap
  22663. msgid "size"
  22664. msgstr "tamanho"
  22665. #. type: cindex
  22666. #: guix-git/doc/guix.texi:15018
  22667. #, no-wrap
  22668. msgid "package size"
  22669. msgstr ""
  22670. #. type: command{#1}
  22671. #: guix-git/doc/guix.texi:15020
  22672. #, no-wrap
  22673. msgid "guix size"
  22674. msgstr ""
  22675. #. type: Plain text
  22676. #: guix-git/doc/guix.texi:15027
  22677. msgid "The @command{guix size} command helps package developers profile the disk usage of packages. It is easy to overlook the impact of an additional dependency added to a package, or the impact of using a single output for a package that could easily be split (@pxref{Packages with Multiple Outputs}). Such are the typical issues that @command{guix size} can highlight."
  22678. msgstr ""
  22679. #. type: Plain text
  22680. #: guix-git/doc/guix.texi:15032
  22681. msgid "The command can be passed one or more package specifications such as @code{gcc@@4.8} or @code{guile:debug}, or a file name in the store. Consider this example:"
  22682. msgstr ""
  22683. #. type: example
  22684. #: guix-git/doc/guix.texi:15045
  22685. #, no-wrap
  22686. msgid ""
  22687. "$ guix size coreutils\n"
  22688. "store item total self\n"
  22689. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  22690. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  22691. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  22692. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  22693. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  22694. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  22695. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  22696. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  22697. "total: 78.9 MiB\n"
  22698. msgstr ""
  22699. #. type: Plain text
  22700. #: guix-git/doc/guix.texi:15051
  22701. msgid "The store items listed here constitute the @dfn{transitive closure} of Coreutils---i.e., Coreutils and all its dependencies, recursively---as would be returned by:"
  22702. msgstr ""
  22703. #. type: example
  22704. #: guix-git/doc/guix.texi:15054
  22705. #, no-wrap
  22706. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  22707. msgstr ""
  22708. #. type: Plain text
  22709. #: guix-git/doc/guix.texi:15062
  22710. msgid "Here the output shows three columns next to store items. The first column, labeled ``total'', shows the size in mebibytes (MiB) of the closure of the store item---that is, its own size plus the size of all its dependencies. The next column, labeled ``self'', shows the size of the item itself. The last column shows the ratio of the size of the item itself to the space occupied by all the items listed here."
  22711. msgstr ""
  22712. #. type: Plain text
  22713. #: guix-git/doc/guix.texi:15068
  22714. msgid "In this example, we see that the closure of Coreutils weighs in at 79@tie{}MiB, most of which is taken by libc and GCC's run-time support libraries. (That libc and GCC's libraries represent a large fraction of the closure is not a problem @i{per se} because they are always available on the system anyway.)"
  22715. msgstr ""
  22716. #. type: Plain text
  22717. #: guix-git/doc/guix.texi:15071
  22718. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  22719. msgstr ""
  22720. #. type: example
  22721. #: guix-git/doc/guix.texi:15074
  22722. #, no-wrap
  22723. msgid "guix size $(guix system build config.scm)\n"
  22724. msgstr ""
  22725. #. type: Plain text
  22726. #: guix-git/doc/guix.texi:15084
  22727. msgid "When the package(s) passed to @command{guix size} are available in the store@footnote{More precisely, @command{guix size} looks for the @emph{ungrafted} variant of the given package(s), as returned by @code{guix build @var{package} --no-grafts}. @xref{Security Updates}, for information on grafts.}, @command{guix size} queries the daemon to determine its dependencies, and measures its size in the store, similar to @command{du -ms --apparent-size} (@pxref{du invocation,,, coreutils, GNU Coreutils})."
  22728. msgstr ""
  22729. #. type: Plain text
  22730. #: guix-git/doc/guix.texi:15089
  22731. msgid "When the given packages are @emph{not} in the store, @command{guix size} reports information based on the available substitutes (@pxref{Substitutes}). This makes it possible it to profile disk usage of store items that are not even on disk, only available remotely."
  22732. msgstr ""
  22733. #. type: Plain text
  22734. #: guix-git/doc/guix.texi:15091
  22735. msgid "You can also specify several package names:"
  22736. msgstr ""
  22737. #. type: example
  22738. #: guix-git/doc/guix.texi:15101
  22739. #, no-wrap
  22740. msgid ""
  22741. "$ guix size coreutils grep sed bash\n"
  22742. "store item total self\n"
  22743. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  22744. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  22745. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  22746. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  22747. "@dots{}\n"
  22748. "total: 102.3 MiB\n"
  22749. msgstr ""
  22750. #. type: Plain text
  22751. #: guix-git/doc/guix.texi:15107
  22752. msgid "In this example we see that the combination of the four packages takes 102.3@tie{}MiB in total, which is much less than the sum of each closure since they have a lot of dependencies in common."
  22753. msgstr ""
  22754. #. type: Plain text
  22755. #: guix-git/doc/guix.texi:15113
  22756. msgid "When looking at the profile returned by @command{guix size}, you may find yourself wondering why a given package shows up in the profile at all. To understand it, you can use @command{guix graph --path -t references} to display the shortest path between the two packages (@pxref{Invoking guix graph})."
  22757. msgstr ""
  22758. #. type: Plain text
  22759. #: guix-git/doc/guix.texi:15115
  22760. msgid "The available options are:"
  22761. msgstr ""
  22762. #. type: table
  22763. #: guix-git/doc/guix.texi:15121
  22764. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  22765. msgstr ""
  22766. #. type: item
  22767. #: guix-git/doc/guix.texi:15122
  22768. #, no-wrap
  22769. msgid "--sort=@var{key}"
  22770. msgstr ""
  22771. #. type: table
  22772. #: guix-git/doc/guix.texi:15124
  22773. msgid "Sort lines according to @var{key}, one of the following options:"
  22774. msgstr ""
  22775. #. type: item
  22776. #: guix-git/doc/guix.texi:15126
  22777. #, no-wrap
  22778. msgid "self"
  22779. msgstr "próprio"
  22780. #. type: table
  22781. #: guix-git/doc/guix.texi:15128
  22782. msgid "the size of each item (the default);"
  22783. msgstr ""
  22784. #. type: table
  22785. #: guix-git/doc/guix.texi:15130
  22786. msgid "the total size of the item's closure."
  22787. msgstr ""
  22788. #. type: item
  22789. #: guix-git/doc/guix.texi:15132
  22790. #, no-wrap
  22791. msgid "--map-file=@var{file}"
  22792. msgstr "--map-file=@var{arquivo}"
  22793. #. type: table
  22794. #: guix-git/doc/guix.texi:15134
  22795. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  22796. msgstr ""
  22797. #. type: table
  22798. #: guix-git/doc/guix.texi:15136
  22799. msgid "For the example above, the map looks like this:"
  22800. msgstr ""
  22801. #. type: table
  22802. #: guix-git/doc/guix.texi:15139
  22803. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  22804. msgstr ""
  22805. #. type: table
  22806. #: guix-git/doc/guix.texi:15144
  22807. msgid "This option requires that @uref{https://wingolog.org/software/guile-charting/, Guile-Charting} be installed and visible in Guile's module search path. When that is not the case, @command{guix size} fails as it tries to load it."
  22808. msgstr ""
  22809. #. type: table
  22810. #: guix-git/doc/guix.texi:15148
  22811. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  22812. msgstr ""
  22813. #. type: section
  22814. #: guix-git/doc/guix.texi:15159
  22815. #, no-wrap
  22816. msgid "Invoking @command{guix graph}"
  22817. msgstr "Invocando @command{guix graph}"
  22818. #. type: cindex
  22819. #: guix-git/doc/guix.texi:15161
  22820. #, no-wrap
  22821. msgid "DAG"
  22822. msgstr ""
  22823. #. type: command{#1}
  22824. #: guix-git/doc/guix.texi:15162
  22825. #, no-wrap
  22826. msgid "guix graph"
  22827. msgstr "guix graph"
  22828. #. type: Plain text
  22829. #: guix-git/doc/guix.texi:15177
  22830. msgid "Packages and their dependencies form a @dfn{graph}, specifically a directed acyclic graph (DAG). It can quickly become difficult to have a mental model of the package DAG, so the @command{guix graph} command provides a visual representation of the DAG@. By default, @command{guix graph} emits a DAG representation in the input format of @uref{https://www.graphviz.org/, Graphviz}, so its output can be passed directly to the @command{dot} command of Graphviz. It can also emit an HTML page with embedded JavaScript code to display a ``chord diagram'' in a Web browser, using the @uref{https://d3js.org/, d3.js} library, or emit Cypher queries to construct a graph in a graph database supporting the @uref{https://www.opencypher.org/, openCypher} query language. With @option{--path}, it simply displays the shortest path between two packages. The general syntax is:"
  22831. msgstr ""
  22832. #. type: example
  22833. #: guix-git/doc/guix.texi:15180
  22834. #, no-wrap
  22835. msgid "guix graph @var{options} @var{package}@dots{}\n"
  22836. msgstr ""
  22837. #. type: Plain text
  22838. #: guix-git/doc/guix.texi:15185
  22839. msgid "For example, the following command generates a PDF file representing the package DAG for the GNU@tie{}Core Utilities, showing its build-time dependencies:"
  22840. msgstr ""
  22841. #. type: example
  22842. #: guix-git/doc/guix.texi:15188
  22843. #, no-wrap
  22844. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  22845. msgstr ""
  22846. #. type: Plain text
  22847. #: guix-git/doc/guix.texi:15191
  22848. msgid "The output looks like this:"
  22849. msgstr ""
  22850. #. type: Plain text
  22851. #: guix-git/doc/guix.texi:15193
  22852. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  22853. msgstr ""
  22854. #. type: Plain text
  22855. #: guix-git/doc/guix.texi:15195
  22856. msgid "Nice little graph, no?"
  22857. msgstr ""
  22858. #. type: Plain text
  22859. #: guix-git/doc/guix.texi:15198
  22860. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  22861. msgstr ""
  22862. #. type: example
  22863. #: guix-git/doc/guix.texi:15201
  22864. #, no-wrap
  22865. msgid "guix graph coreutils | xdot -\n"
  22866. msgstr ""
  22867. #. type: Plain text
  22868. #: guix-git/doc/guix.texi:15208
  22869. msgid "But there is more than one graph! The one above is concise: it is the graph of package objects, omitting implicit inputs such as GCC, libc, grep, etc. It is often useful to have such a concise graph, but sometimes one may want to see more details. @command{guix graph} supports several types of graphs, allowing you to choose the level of detail:"
  22870. msgstr ""
  22871. #. type: table
  22872. #: guix-git/doc/guix.texi:15214
  22873. msgid "This is the default type used in the example above. It shows the DAG of package objects, excluding implicit dependencies. It is concise, but filters out many details."
  22874. msgstr ""
  22875. #. type: item
  22876. #: guix-git/doc/guix.texi:15215
  22877. #, no-wrap
  22878. msgid "reverse-package"
  22879. msgstr ""
  22880. #. type: table
  22881. #: guix-git/doc/guix.texi:15217
  22882. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  22883. msgstr ""
  22884. #. type: example
  22885. #: guix-git/doc/guix.texi:15220
  22886. #, no-wrap
  22887. msgid "guix graph --type=reverse-package ocaml\n"
  22888. msgstr ""
  22889. #. type: table
  22890. #: guix-git/doc/guix.texi:15225
  22891. msgid "...@: yields the graph of packages that @emph{explicitly} depend on OCaml (if you are also interested in cases where OCaml is an implicit dependency, see @code{reverse-bag} below)."
  22892. msgstr ""
  22893. #. type: table
  22894. #: guix-git/doc/guix.texi:15230
  22895. msgid "Note that for core packages this can yield huge graphs. If all you want is to know the number of packages that depend on a given package, use @command{guix refresh --list-dependent} (@pxref{Invoking guix refresh, @option{--list-dependent}})."
  22896. msgstr ""
  22897. #. type: item
  22898. #: guix-git/doc/guix.texi:15231
  22899. #, no-wrap
  22900. msgid "bag-emerged"
  22901. msgstr ""
  22902. #. type: table
  22903. #: guix-git/doc/guix.texi:15233
  22904. msgid "This is the package DAG, @emph{including} implicit inputs."
  22905. msgstr ""
  22906. #. type: table
  22907. #: guix-git/doc/guix.texi:15235
  22908. msgid "For instance, the following command:"
  22909. msgstr ""
  22910. #. type: example
  22911. #: guix-git/doc/guix.texi:15238
  22912. #, no-wrap
  22913. msgid "guix graph --type=bag-emerged coreutils\n"
  22914. msgstr ""
  22915. #. type: table
  22916. #: guix-git/doc/guix.texi:15241
  22917. msgid "...@: yields this bigger graph:"
  22918. msgstr ""
  22919. #. type: table
  22920. #: guix-git/doc/guix.texi:15243
  22921. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  22922. msgstr ""
  22923. #. type: table
  22924. #: guix-git/doc/guix.texi:15246
  22925. msgid "At the bottom of the graph, we see all the implicit inputs of @var{gnu-build-system} (@pxref{Build Systems, @code{gnu-build-system}})."
  22926. msgstr ""
  22927. #. type: table
  22928. #: guix-git/doc/guix.texi:15250
  22929. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  22930. msgstr ""
  22931. #. type: item
  22932. #: guix-git/doc/guix.texi:15251
  22933. #, no-wrap
  22934. msgid "bag"
  22935. msgstr ""
  22936. #. type: table
  22937. #: guix-git/doc/guix.texi:15254
  22938. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  22939. msgstr ""
  22940. #. type: item
  22941. #: guix-git/doc/guix.texi:15255
  22942. #, no-wrap
  22943. msgid "bag-with-origins"
  22944. msgstr ""
  22945. #. type: table
  22946. #: guix-git/doc/guix.texi:15257
  22947. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  22948. msgstr ""
  22949. #. type: item
  22950. #: guix-git/doc/guix.texi:15258
  22951. #, no-wrap
  22952. msgid "reverse-bag"
  22953. msgstr ""
  22954. #. type: table
  22955. #: guix-git/doc/guix.texi:15261
  22956. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  22957. msgstr ""
  22958. #. type: example
  22959. #: guix-git/doc/guix.texi:15264
  22960. #, no-wrap
  22961. msgid "guix graph -t reverse-bag dune\n"
  22962. msgstr ""
  22963. #. type: table
  22964. #: guix-git/doc/guix.texi:15271
  22965. msgid "...@: yields the graph of all packages that depend on Dune, directly or indirectly. Since Dune is an @emph{implicit} dependency of many packages @i{via} @code{dune-build-system}, this shows a large number of packages, whereas @code{reverse-package} would show very few if any."
  22966. msgstr ""
  22967. #. type: table
  22968. #: guix-git/doc/guix.texi:15277
  22969. msgid "This is the most detailed representation: It shows the DAG of derivations (@pxref{Derivations}) and plain store items. Compared to the above representation, many additional nodes are visible, including build scripts, patches, Guile modules, etc."
  22970. msgstr ""
  22971. #. type: table
  22972. #: guix-git/doc/guix.texi:15280
  22973. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  22974. msgstr ""
  22975. #. type: example
  22976. #: guix-git/doc/guix.texi:15283
  22977. #, no-wrap
  22978. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  22979. msgstr ""
  22980. #. type: item
  22981. #: guix-git/doc/guix.texi:15285
  22982. #, no-wrap
  22983. msgid "module"
  22984. msgstr "modulo"
  22985. #. type: table
  22986. #: guix-git/doc/guix.texi:15289
  22987. msgid "This is the graph of @dfn{package modules} (@pxref{Package Modules}). For example, the following command shows the graph for the package module that defines the @code{guile} package:"
  22988. msgstr ""
  22989. #. type: example
  22990. #: guix-git/doc/guix.texi:15292
  22991. #, no-wrap
  22992. msgid "guix graph -t module guile | xdot -\n"
  22993. msgstr ""
  22994. #. type: Plain text
  22995. #: guix-git/doc/guix.texi:15297
  22996. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  22997. msgstr ""
  22998. #. type: table
  22999. #: guix-git/doc/guix.texi:15302
  23000. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  23001. msgstr ""
  23002. #. type: table
  23003. #: guix-git/doc/guix.texi:15305
  23004. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  23005. msgstr ""
  23006. #. type: table
  23007. #: guix-git/doc/guix.texi:15309
  23008. msgid "Here you can also pass a store file name instead of a package name. For example, the command below produces the reference graph of your profile (which can be big!):"
  23009. msgstr ""
  23010. #. type: example
  23011. #: guix-git/doc/guix.texi:15312
  23012. #, no-wrap
  23013. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  23014. msgstr ""
  23015. #. type: item
  23016. #: guix-git/doc/guix.texi:15314
  23017. #, no-wrap
  23018. msgid "referrers"
  23019. msgstr ""
  23020. #. type: table
  23021. #: guix-git/doc/guix.texi:15317
  23022. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  23023. msgstr ""
  23024. #. type: table
  23025. #: guix-git/doc/guix.texi:15323
  23026. msgid "This relies exclusively on local information from your store. For instance, let us suppose that the current Inkscape is available in 10 profiles on your machine; @command{guix graph -t referrers inkscape} will show a graph rooted at Inkscape and with those 10 profiles linked to it."
  23027. msgstr ""
  23028. #. type: table
  23029. #: guix-git/doc/guix.texi:15326
  23030. msgid "It can help determine what is preventing a store item from being garbage collected."
  23031. msgstr ""
  23032. #. type: cindex
  23033. #: guix-git/doc/guix.texi:15329
  23034. #, no-wrap
  23035. msgid "shortest path, between packages"
  23036. msgstr ""
  23037. #. type: Plain text
  23038. #: guix-git/doc/guix.texi:15336
  23039. msgid "Often, the graph of the package you are interested in does not fit on your screen, and anyway all you want to know is @emph{why} that package actually depends on some seemingly unrelated package. The @option{--path} option instructs @command{guix graph} to display the shortest path between two packages (or derivations, or store items, etc.):"
  23040. msgstr ""
  23041. #. type: example
  23042. #: guix-git/doc/guix.texi:15350
  23043. #, no-wrap
  23044. msgid ""
  23045. "$ guix graph --path emacs libunistring\n"
  23046. "emacs@@26.3\n"
  23047. "mailutils@@3.9\n"
  23048. "libunistring@@0.9.10\n"
  23049. "$ guix graph --path -t derivation emacs libunistring\n"
  23050. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  23051. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  23052. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  23053. "$ guix graph --path -t references emacs libunistring\n"
  23054. "/gnu/store/@dots{}-emacs-26.3\n"
  23055. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  23056. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  23057. msgstr ""
  23058. #. type: Plain text
  23059. #: guix-git/doc/guix.texi:15358
  23060. msgid "Sometimes you still want to visualize the graph but would like to trim it so it can actually be displayed. One way to do it is via the @option{--max-depth} (or @option{-M}) option, which lets you specify the maximum depth of the graph. In the example below, we visualize only @code{libreoffice} and the nodes whose distance to @code{libreoffice} is at most 2:"
  23061. msgstr ""
  23062. #. type: example
  23063. #: guix-git/doc/guix.texi:15361
  23064. #, no-wrap
  23065. msgid "guix graph -M 2 libreoffice | xdot -f fdp -\n"
  23066. msgstr ""
  23067. #. type: Plain text
  23068. #: guix-git/doc/guix.texi:15365
  23069. msgid "Mind you, that's still a big ball of spaghetti, but at least @command{dot} can render it quickly and it can be browsed somewhat."
  23070. msgstr ""
  23071. #. type: Plain text
  23072. #: guix-git/doc/guix.texi:15367
  23073. msgid "The available options are the following:"
  23074. msgstr ""
  23075. #. type: table
  23076. #: guix-git/doc/guix.texi:15373
  23077. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  23078. msgstr ""
  23079. #. type: table
  23080. #: guix-git/doc/guix.texi:15376
  23081. msgid "List the supported graph types."
  23082. msgstr "Lista os tipos de gráficos disponíveis."
  23083. #. type: item
  23084. #: guix-git/doc/guix.texi:15377
  23085. #, no-wrap
  23086. msgid "--backend=@var{backend}"
  23087. msgstr ""
  23088. #. type: itemx
  23089. #: guix-git/doc/guix.texi:15378
  23090. #, no-wrap
  23091. msgid "-b @var{backend}"
  23092. msgstr ""
  23093. #. type: table
  23094. #: guix-git/doc/guix.texi:15380
  23095. msgid "Produce a graph using the selected @var{backend}."
  23096. msgstr ""
  23097. #. type: item
  23098. #: guix-git/doc/guix.texi:15381
  23099. #, no-wrap
  23100. msgid "--list-backends"
  23101. msgstr "--list-backends"
  23102. #. type: table
  23103. #: guix-git/doc/guix.texi:15383
  23104. msgid "List the supported graph backends."
  23105. msgstr "Lista os backends de gráficos disponíveis."
  23106. #. type: table
  23107. #: guix-git/doc/guix.texi:15385
  23108. msgid "Currently, the available backends are Graphviz and d3.js."
  23109. msgstr ""
  23110. #. type: item
  23111. #: guix-git/doc/guix.texi:15386
  23112. #, no-wrap
  23113. msgid "--path"
  23114. msgstr ""
  23115. #. type: table
  23116. #: guix-git/doc/guix.texi:15391
  23117. msgid "Display the shortest path between two nodes of the type specified by @option{--type}. The example below shows the shortest path between @code{libreoffice} and @code{llvm} according to the references of @code{libreoffice}:"
  23118. msgstr ""
  23119. #. type: example
  23120. #: guix-git/doc/guix.texi:15398
  23121. #, no-wrap
  23122. msgid ""
  23123. "$ guix graph --path -t references libreoffice llvm\n"
  23124. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  23125. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  23126. "/gnu/store/@dots{}-mesa-19.3.4\n"
  23127. "/gnu/store/@dots{}-llvm-9.0.1\n"
  23128. msgstr ""
  23129. #. type: example
  23130. #: guix-git/doc/guix.texi:15408
  23131. #, no-wrap
  23132. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  23133. msgstr ""
  23134. #. type: table
  23135. #: guix-git/doc/guix.texi:15413
  23136. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  23137. msgstr ""
  23138. #. type: table
  23139. #: guix-git/doc/guix.texi:15416
  23140. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  23141. msgstr ""
  23142. #. type: Plain text
  23143. #: guix-git/doc/guix.texi:15432
  23144. msgid "On top of that, @command{guix graph} supports all the usual package transformation options (@pxref{Package Transformation Options}). This makes it easy to view the effect of a graph-rewriting transformation such as @option{--with-input}. For example, the command below outputs the graph of @code{git} once @code{openssl} has been replaced by @code{libressl} everywhere in the graph:"
  23145. msgstr ""
  23146. #. type: example
  23147. #: guix-git/doc/guix.texi:15435
  23148. #, no-wrap
  23149. msgid "guix graph git --with-input=openssl=libressl\n"
  23150. msgstr ""
  23151. #. type: Plain text
  23152. #: guix-git/doc/guix.texi:15438
  23153. msgid "So many possibilities, so much fun!"
  23154. msgstr ""
  23155. #. type: section
  23156. #: guix-git/doc/guix.texi:15440
  23157. #, no-wrap
  23158. msgid "Invoking @command{guix publish}"
  23159. msgstr "Invocando @command{guix publish}"
  23160. #. type: command{#1}
  23161. #: guix-git/doc/guix.texi:15442
  23162. #, no-wrap
  23163. msgid "guix publish"
  23164. msgstr ""
  23165. #. type: Plain text
  23166. #: guix-git/doc/guix.texi:15446
  23167. msgid "The purpose of @command{guix publish} is to enable users to easily share their store with others, who can then use it as a substitute server (@pxref{Substitutes})."
  23168. msgstr ""
  23169. #. type: Plain text
  23170. #: guix-git/doc/guix.texi:15452
  23171. msgid "When @command{guix publish} runs, it spawns an HTTP server which allows anyone with network access to obtain substitutes from it. This means that any machine running Guix can also act as if it were a build farm, since the HTTP interface is compatible with Cuirass, the software behind the @code{@value{SUBSTITUTE-SERVER-1}} build farm."
  23172. msgstr ""
  23173. #. type: Plain text
  23174. #: guix-git/doc/guix.texi:15458
  23175. msgid "For security, each substitute is signed, allowing recipients to check their authenticity and integrity (@pxref{Substitutes}). Because @command{guix publish} uses the signing key of the system, which is only readable by the system administrator, it must be started as root; the @option{--user} option makes it drop root privileges early on."
  23176. msgstr ""
  23177. #. type: Plain text
  23178. #: guix-git/doc/guix.texi:15462
  23179. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  23180. msgstr ""
  23181. #. type: Plain text
  23182. #: guix-git/doc/guix.texi:15467
  23183. msgid "When the @option{--advertise} option is passed, the server advertises its availability on the local network using multicast DNS (mDNS) and DNS service discovery (DNS-SD), currently @i{via} Guile-Avahi (@pxref{Top,,, guile-avahi, Using Avahi in Guile Scheme Programs})."
  23184. msgstr ""
  23185. #. type: example
  23186. #: guix-git/doc/guix.texi:15472
  23187. #, no-wrap
  23188. msgid "guix publish @var{options}@dots{}\n"
  23189. msgstr ""
  23190. #. type: Plain text
  23191. #: guix-git/doc/guix.texi:15476
  23192. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  23193. msgstr ""
  23194. #. type: example
  23195. #: guix-git/doc/guix.texi:15479
  23196. #, no-wrap
  23197. msgid "guix publish\n"
  23198. msgstr ""
  23199. #. type: cindex
  23200. #: guix-git/doc/guix.texi:15481
  23201. #, fuzzy, no-wrap
  23202. #| msgid "Invoking @command{guix publish}"
  23203. msgid "socket activation, for @command{guix publish}"
  23204. msgstr "Invocando @command{guix publish}"
  23205. #. type: Plain text
  23206. #: guix-git/doc/guix.texi:15485
  23207. msgid "@command{guix publish} can also be started following the systemd ``socket activation'' protocol (@pxref{Service De- and Constructors, @code{make-systemd-constructor},, shepherd, The GNU Shepherd Manual})."
  23208. msgstr ""
  23209. #. type: Plain text
  23210. #: guix-git/doc/guix.texi:15488
  23211. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  23212. msgstr ""
  23213. #. type: Plain text
  23214. #: guix-git/doc/guix.texi:15496
  23215. msgid "By default, @command{guix publish} compresses archives on the fly as it serves them. This ``on-the-fly'' mode is convenient in that it requires no setup and is immediately available. However, when serving lots of clients, we recommend using the @option{--cache} option, which enables caching of the archives before they are sent to clients---see below for details. The @command{guix weather} command provides a handy way to check what a server provides (@pxref{Invoking guix weather})."
  23216. msgstr ""
  23217. #. type: Plain text
  23218. #: guix-git/doc/guix.texi:15503
  23219. msgid "As a bonus, @command{guix publish} also serves as a content-addressed mirror for source files referenced in @code{origin} records (@pxref{origin Reference}). For instance, assuming @command{guix publish} is running on @code{example.org}, the following URL returns the raw @file{hello-2.10.tar.gz} file with the given SHA256 hash (represented in @code{nix-base32} format, @pxref{Invoking guix hash}):"
  23220. msgstr ""
  23221. #. type: example
  23222. #: guix-git/doc/guix.texi:15506
  23223. #, no-wrap
  23224. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  23225. msgstr ""
  23226. #. type: Plain text
  23227. #: guix-git/doc/guix.texi:15510
  23228. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  23229. msgstr ""
  23230. #. type: cindex
  23231. #: guix-git/doc/guix.texi:15511
  23232. #, no-wrap
  23233. msgid "build logs, publication"
  23234. msgstr ""
  23235. #. type: Plain text
  23236. #: guix-git/doc/guix.texi:15513
  23237. msgid "Build logs are available from @code{/log} URLs like:"
  23238. msgstr ""
  23239. #. type: example
  23240. #: guix-git/doc/guix.texi:15516
  23241. #, no-wrap
  23242. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  23243. msgstr ""
  23244. #. type: Plain text
  23245. #: guix-git/doc/guix.texi:15526
  23246. msgid "When @command{guix-daemon} is configured to save compressed build logs, as is the case by default (@pxref{Invoking guix-daemon}), @code{/log} URLs return the compressed log as-is, with an appropriate @code{Content-Type} and/or @code{Content-Encoding} header. We recommend running @command{guix-daemon} with @option{--log-compression=gzip} since Web browsers can automatically decompress it, which is not the case with Bzip2 compression."
  23247. msgstr ""
  23248. #. type: item
  23249. #: guix-git/doc/guix.texi:15530
  23250. #, no-wrap
  23251. msgid "--port=@var{port}"
  23252. msgstr "--port=@var{porta}"
  23253. #. type: itemx
  23254. #: guix-git/doc/guix.texi:15531
  23255. #, no-wrap
  23256. msgid "-p @var{port}"
  23257. msgstr "-p @var{porta}"
  23258. #. type: table
  23259. #: guix-git/doc/guix.texi:15533
  23260. msgid "Listen for HTTP requests on @var{port}."
  23261. msgstr "Ouve requisições HTTP na @var{porta}."
  23262. #. type: item
  23263. #: guix-git/doc/guix.texi:15534
  23264. #, no-wrap
  23265. msgid "--listen=@var{host}"
  23266. msgstr ""
  23267. #. type: table
  23268. #: guix-git/doc/guix.texi:15537
  23269. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  23270. msgstr ""
  23271. #. type: table
  23272. #: guix-git/doc/guix.texi:15542
  23273. msgid "Change privileges to @var{user} as soon as possible---i.e., once the server socket is open and the signing key has been read."
  23274. msgstr ""
  23275. #. type: item
  23276. #: guix-git/doc/guix.texi:15543
  23277. #, no-wrap
  23278. msgid "--compression[=@var{method}[:@var{level}]]"
  23279. msgstr ""
  23280. #. type: itemx
  23281. #: guix-git/doc/guix.texi:15544
  23282. #, no-wrap
  23283. msgid "-C [@var{method}[:@var{level}]]"
  23284. msgstr ""
  23285. #. type: table
  23286. #: guix-git/doc/guix.texi:15548
  23287. msgid "Compress data using the given @var{method} and @var{level}. @var{method} is one of @code{lzip}, @code{zstd}, and @code{gzip}; when @var{method} is omitted, @code{gzip} is used."
  23288. msgstr ""
  23289. #. type: table
  23290. #: guix-git/doc/guix.texi:15552
  23291. msgid "When @var{level} is zero, disable compression. The range 1 to 9 corresponds to different compression levels: 1 is the fastest, and 9 is the best (CPU-intensive). The default is 3."
  23292. msgstr ""
  23293. #. type: table
  23294. #: guix-git/doc/guix.texi:15559
  23295. msgid "Usually, @code{lzip} compresses noticeably better than @code{gzip} for a small increase in CPU usage; see @uref{https://nongnu.org/lzip/lzip_benchmark.html,benchmarks on the lzip Web page}. However, @code{lzip} achieves low decompression throughput (on the order of 50@tie{}MiB/s on modern hardware), which can be a bottleneck for someone who downloads over a fast network connection."
  23296. msgstr ""
  23297. #. type: table
  23298. #: guix-git/doc/guix.texi:15563
  23299. msgid "The compression ratio of @code{zstd} is between that of @code{lzip} and that of @code{gzip}; its main advantage is a @uref{https://facebook.github.io/zstd/,high decompression speed}."
  23300. msgstr ""
  23301. #. type: table
  23302. #: guix-git/doc/guix.texi:15572
  23303. msgid "Unless @option{--cache} is used, compression occurs on the fly and the compressed streams are not cached. Thus, to reduce load on the machine that runs @command{guix publish}, it may be a good idea to choose a low compression level, to run @command{guix publish} behind a caching proxy, or to use @option{--cache}. Using @option{--cache} has the advantage that it allows @command{guix publish} to add @code{Content-Length} HTTP header to its responses."
  23304. msgstr ""
  23305. #. type: table
  23306. #: guix-git/doc/guix.texi:15577
  23307. msgid "This option can be repeated, in which case every substitute gets compressed using all the selected methods, and all of them are advertised. This is useful when users may not support all the compression methods: they can select the one they support."
  23308. msgstr ""
  23309. #. type: item
  23310. #: guix-git/doc/guix.texi:15578
  23311. #, no-wrap
  23312. msgid "--cache=@var{directory}"
  23313. msgstr ""
  23314. #. type: itemx
  23315. #: guix-git/doc/guix.texi:15579
  23316. #, no-wrap
  23317. msgid "-c @var{directory}"
  23318. msgstr ""
  23319. #. type: table
  23320. #: guix-git/doc/guix.texi:15582
  23321. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  23322. msgstr ""
  23323. #. type: table
  23324. #: guix-git/doc/guix.texi:15590
  23325. msgid "When this option is omitted, archives and meta-data are created on-the-fly. This can reduce the available bandwidth, especially when compression is enabled, since this may become CPU-bound. Another drawback of the default mode is that the length of archives is not known in advance, so @command{guix publish} does not add a @code{Content-Length} HTTP header to its responses, which in turn prevents clients from knowing the amount of data being downloaded."
  23326. msgstr ""
  23327. #. type: table
  23328. #: guix-git/doc/guix.texi:15598
  23329. msgid "Conversely, when @option{--cache} is used, the first request for a store item (@i{via} a @code{.narinfo} URL) triggers a background process to @dfn{bake} the archive---computing its @code{.narinfo} and compressing the archive, if needed. Once the archive is cached in @var{directory}, subsequent requests succeed and are served directly from the cache, which guarantees that clients get the best possible bandwidth."
  23330. msgstr ""
  23331. #. type: table
  23332. #: guix-git/doc/guix.texi:15605
  23333. msgid "That first @code{.narinfo} request nonetheless returns 200, provided the requested store item is ``small enough'', below the cache bypass threshold---see @option{--cache-bypass-threshold} below. That way, clients do not have to wait until the archive is baked. For larger store items, the first @code{.narinfo} request returns 404, meaning that clients have to wait until the archive is baked."
  23334. msgstr ""
  23335. #. type: table
  23336. #: guix-git/doc/guix.texi:15609
  23337. msgid "The ``baking'' process is performed by worker threads. By default, one thread per CPU core is created, but this can be customized. See @option{--workers} below."
  23338. msgstr ""
  23339. #. type: table
  23340. #: guix-git/doc/guix.texi:15612
  23341. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  23342. msgstr ""
  23343. #. type: item
  23344. #: guix-git/doc/guix.texi:15613
  23345. #, no-wrap
  23346. msgid "--workers=@var{N}"
  23347. msgstr "--workers=@var{N}"
  23348. #. type: table
  23349. #: guix-git/doc/guix.texi:15616
  23350. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  23351. msgstr ""
  23352. #. type: item
  23353. #: guix-git/doc/guix.texi:15617
  23354. #, no-wrap
  23355. msgid "--ttl=@var{ttl}"
  23356. msgstr ""
  23357. #. type: table
  23358. #: guix-git/doc/guix.texi:15621 guix-git/doc/guix.texi:37846
  23359. msgid "Produce @code{Cache-Control} HTTP headers that advertise a time-to-live (TTL) of @var{ttl}. @var{ttl} must denote a duration: @code{5d} means 5 days, @code{1m} means 1 month, and so on."
  23360. msgstr ""
  23361. #. type: table
  23362. #: guix-git/doc/guix.texi:15626
  23363. msgid "This allows the user's Guix to keep substitute information in cache for @var{ttl}. However, note that @code{guix publish} does not itself guarantee that the store items it provides will indeed remain available for as long as @var{ttl}."
  23364. msgstr ""
  23365. #. type: table
  23366. #: guix-git/doc/guix.texi:15630
  23367. msgid "Additionally, when @option{--cache} is used, cached entries that have not been accessed for @var{ttl} and that no longer have a corresponding item in the store, may be deleted."
  23368. msgstr ""
  23369. #. type: item
  23370. #: guix-git/doc/guix.texi:15631
  23371. #, fuzzy, no-wrap
  23372. #| msgid "--manifest=@var{file}"
  23373. msgid "--negative-ttl=@var{ttl}"
  23374. msgstr "--manifest=@var{arquivo}"
  23375. #. type: table
  23376. #: guix-git/doc/guix.texi:15636 guix-git/doc/guix.texi:37855
  23377. msgid "Similarly produce @code{Cache-Control} HTTP headers to advertise the time-to-live (TTL) of @emph{negative} lookups---missing store items, for which the HTTP 404 code is returned. By default, no negative TTL is advertised."
  23378. msgstr ""
  23379. #. type: table
  23380. #: guix-git/doc/guix.texi:15640
  23381. msgid "This parameter can help adjust server load and substitute latency by instructing cooperating clients to be more or less patient when a store item is missing."
  23382. msgstr ""
  23383. #. type: item
  23384. #: guix-git/doc/guix.texi:15641
  23385. #, no-wrap
  23386. msgid "--cache-bypass-threshold=@var{size}"
  23387. msgstr ""
  23388. #. type: table
  23389. #: guix-git/doc/guix.texi:15646
  23390. msgid "When used in conjunction with @option{--cache}, store items smaller than @var{size} are immediately available, even when they are not yet in cache. @var{size} is a size in bytes, or it can be suffixed by @code{M} for megabytes and so on. The default is @code{10M}."
  23391. msgstr ""
  23392. #. type: table
  23393. #: guix-git/doc/guix.texi:15651
  23394. msgid "``Cache bypass'' allows you to reduce the publication delay for clients at the expense of possibly additional I/O and CPU use on the server side: depending on the client access patterns, those store items can end up being baked several times until a copy is available in cache."
  23395. msgstr ""
  23396. #. type: table
  23397. #: guix-git/doc/guix.texi:15655
  23398. msgid "Increasing the threshold may be useful for sites that have few users, or to guarantee that users get substitutes even for store items that are not popular."
  23399. msgstr ""
  23400. #. type: item
  23401. #: guix-git/doc/guix.texi:15656
  23402. #, no-wrap
  23403. msgid "--nar-path=@var{path}"
  23404. msgstr ""
  23405. #. type: table
  23406. #: guix-git/doc/guix.texi:15659
  23407. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  23408. msgstr ""
  23409. #. type: table
  23410. #: guix-git/doc/guix.texi:15663
  23411. msgid "By default, nars are served at a URL such as @code{/nar/gzip/@dots{}-coreutils-8.25}. This option allows you to change the @code{/nar} part to @var{path}."
  23412. msgstr ""
  23413. #. type: item
  23414. #: guix-git/doc/guix.texi:15664
  23415. #, no-wrap
  23416. msgid "--public-key=@var{file}"
  23417. msgstr ""
  23418. #. type: itemx
  23419. #: guix-git/doc/guix.texi:15665
  23420. #, no-wrap
  23421. msgid "--private-key=@var{file}"
  23422. msgstr ""
  23423. #. type: table
  23424. #: guix-git/doc/guix.texi:15668 guix-git/doc/guix.texi:33259
  23425. #: guix-git/doc/guix.texi:33296
  23426. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  23427. msgstr ""
  23428. #. type: table
  23429. #: guix-git/doc/guix.texi:15675
  23430. msgid "The files must correspond to the same key pair (the private key is used for signing and the public key is merely advertised in the signature metadata). They must contain keys in the canonical s-expression format as produced by @command{guix archive --generate-key} (@pxref{Invoking guix archive}). By default, @file{/etc/guix/signing-key.pub} and @file{/etc/guix/signing-key.sec} are used."
  23431. msgstr ""
  23432. #. type: item
  23433. #: guix-git/doc/guix.texi:15676
  23434. #, no-wrap
  23435. msgid "--repl[=@var{port}]"
  23436. msgstr ""
  23437. #. type: itemx
  23438. #: guix-git/doc/guix.texi:15677
  23439. #, no-wrap
  23440. msgid "-r [@var{port}]"
  23441. msgstr "-r [@var{porta}]"
  23442. #. type: table
  23443. #: guix-git/doc/guix.texi:15681
  23444. msgid "Spawn a Guile REPL server (@pxref{REPL Servers,,, guile, GNU Guile Reference Manual}) on @var{port} (37146 by default). This is used primarily for debugging a running @command{guix publish} server."
  23445. msgstr ""
  23446. #. type: Plain text
  23447. #: guix-git/doc/guix.texi:15687
  23448. msgid "Enabling @command{guix publish} on Guix System is a one-liner: just instantiate a @code{guix-publish-service-type} service in the @code{services} field of the @code{operating-system} declaration (@pxref{guix-publish-service-type, @code{guix-publish-service-type}})."
  23449. msgstr ""
  23450. #. type: Plain text
  23451. #: guix-git/doc/guix.texi:15690
  23452. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  23453. msgstr ""
  23454. #. type: itemize
  23455. #: guix-git/doc/guix.texi:15694
  23456. msgid "If your host distro uses the systemd init system:"
  23457. msgstr ""
  23458. #. type: example
  23459. #: guix-git/doc/guix.texi:15699
  23460. #, no-wrap
  23461. msgid ""
  23462. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  23463. " /etc/systemd/system/\n"
  23464. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  23465. msgstr ""
  23466. #. type: example
  23467. #: guix-git/doc/guix.texi:15707
  23468. #, no-wrap
  23469. msgid ""
  23470. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  23471. "# start guix-publish\n"
  23472. msgstr ""
  23473. #. type: itemize
  23474. #: guix-git/doc/guix.texi:15711
  23475. msgid "Otherwise, proceed similarly with your distro's init system."
  23476. msgstr ""
  23477. #. type: section
  23478. #: guix-git/doc/guix.texi:15714
  23479. #, no-wrap
  23480. msgid "Invoking @command{guix challenge}"
  23481. msgstr "Invocando @command{guix challenge}"
  23482. #. type: cindex
  23483. #: guix-git/doc/guix.texi:15717
  23484. #, no-wrap
  23485. msgid "verifiable builds"
  23486. msgstr ""
  23487. #. type: command{#1}
  23488. #: guix-git/doc/guix.texi:15718
  23489. #, no-wrap
  23490. msgid "guix challenge"
  23491. msgstr ""
  23492. #. type: cindex
  23493. #: guix-git/doc/guix.texi:15719
  23494. #, no-wrap
  23495. msgid "challenge"
  23496. msgstr ""
  23497. #. type: Plain text
  23498. #: guix-git/doc/guix.texi:15724
  23499. msgid "Do the binaries provided by this server really correspond to the source code it claims to build? Is a package build process deterministic? These are the questions the @command{guix challenge} command attempts to answer."
  23500. msgstr ""
  23501. #. type: Plain text
  23502. #: guix-git/doc/guix.texi:15732
  23503. msgid "The former is obviously an important question: Before using a substitute server (@pxref{Substitutes}), one had better @emph{verify} that it provides the right binaries, and thus @emph{challenge} it. The latter is what enables the former: If package builds are deterministic, then independent builds of the package should yield the exact same result, bit for bit; if a server provides a binary different from the one obtained locally, it may be either corrupt or malicious."
  23504. msgstr ""
  23505. #. type: Plain text
  23506. #: guix-git/doc/guix.texi:15741
  23507. msgid "We know that the hash that shows up in @file{/gnu/store} file names is the hash of all the inputs of the process that built the file or directory---compilers, libraries, build scripts, etc. (@pxref{Introduction}). Assuming deterministic build processes, one store file name should map to exactly one build output. @command{guix challenge} checks whether there is, indeed, a single mapping by comparing the build outputs of several independent builds of any given store item."
  23508. msgstr ""
  23509. #. type: Plain text
  23510. #: guix-git/doc/guix.texi:15743
  23511. msgid "The command output looks like this:"
  23512. msgstr ""
  23513. #. type: smallexample
  23514. #: guix-git/doc/guix.texi:15757
  23515. #, no-wrap
  23516. msgid ""
  23517. "$ guix challenge \\\n"
  23518. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\" \\\n"
  23519. " openssl git pius coreutils grep\n"
  23520. "updating substitutes from 'https://@value{SUBSTITUTE-SERVER-1}'... 100.0%\n"
  23521. "updating substitutes from 'https://guix.example.org'... 100.0%\n"
  23522. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  23523. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  23524. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  23525. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  23526. " differing files:\n"
  23527. " /lib/libcrypto.so.1.1\n"
  23528. " /lib/libssl.so.1.1\n"
  23529. "\n"
  23530. msgstr ""
  23531. #. type: smallexample
  23532. #: guix-git/doc/guix.texi:15764
  23533. #, no-wrap
  23534. msgid ""
  23535. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  23536. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  23537. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  23538. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  23539. " differing file:\n"
  23540. " /libexec/git-core/git-fsck\n"
  23541. "\n"
  23542. msgstr ""
  23543. #. type: smallexample
  23544. #: guix-git/doc/guix.texi:15771
  23545. #, no-wrap
  23546. msgid ""
  23547. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  23548. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  23549. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  23550. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  23551. " differing file:\n"
  23552. " /share/man/man1/pius.1.gz\n"
  23553. "\n"
  23554. msgstr ""
  23555. #. type: smallexample
  23556. #: guix-git/doc/guix.texi:15773
  23557. #, no-wrap
  23558. msgid ""
  23559. "@dots{}\n"
  23560. "\n"
  23561. msgstr ""
  23562. #. type: smallexample
  23563. #: guix-git/doc/guix.texi:15778
  23564. #, no-wrap
  23565. msgid ""
  23566. "5 store items were analyzed:\n"
  23567. " - 2 (40.0%) were identical\n"
  23568. " - 3 (60.0%) differed\n"
  23569. " - 0 (0.0%) were inconclusive\n"
  23570. msgstr ""
  23571. #. type: Plain text
  23572. #: guix-git/doc/guix.texi:15788
  23573. msgid "In this example, @command{guix challenge} queries all the substitute servers for each of the fives packages specified on the command line. It then reports those store items for which the servers obtained a result different from the local build (if it exists) and/or different from one another; here, the @samp{local hash} lines indicate that a local build result was available for each of these packages and shows its hash."
  23574. msgstr ""
  23575. #. type: cindex
  23576. #: guix-git/doc/guix.texi:15789
  23577. #, no-wrap
  23578. msgid "non-determinism, in package builds"
  23579. msgstr ""
  23580. #. type: Plain text
  23581. #: guix-git/doc/guix.texi:15800
  23582. msgid "As an example, @code{guix.example.org} always gets a different answer. Conversely, @code{@value{SUBSTITUTE-SERVER-1}} agrees with local builds, except in the case of Git. This might indicate that the build process of Git is non-deterministic, meaning that its output varies as a function of various things that Guix does not fully control, in spite of building packages in isolated environments (@pxref{Features}). Most common sources of non-determinism include the addition of timestamps in build results, the inclusion of random numbers, and directory listings sorted by inode number. See @uref{https://reproducible-builds.org/docs/}, for more information."
  23583. msgstr ""
  23584. #. type: Plain text
  23585. #: guix-git/doc/guix.texi:15803
  23586. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  23587. msgstr ""
  23588. #. type: example
  23589. #: guix-git/doc/guix.texi:15808
  23590. #, no-wrap
  23591. msgid ""
  23592. "guix challenge git \\\n"
  23593. " --diff=diffoscope \\\n"
  23594. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  23595. msgstr ""
  23596. #. type: Plain text
  23597. #: guix-git/doc/guix.texi:15812
  23598. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  23599. msgstr ""
  23600. #. type: Plain text
  23601. #: guix-git/doc/guix.texi:15815
  23602. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  23603. msgstr ""
  23604. #. type: example
  23605. #: guix-git/doc/guix.texi:15820
  23606. #, no-wrap
  23607. msgid ""
  23608. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  23609. " | lzip -d | guix archive -x /tmp/git\n"
  23610. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  23611. msgstr ""
  23612. #. type: Plain text
  23613. #: guix-git/doc/guix.texi:15829
  23614. msgid "This command shows the difference between the files resulting from the local build, and the files resulting from the build on @code{@value{SUBSTITUTE-SERVER-1}} (@pxref{Overview, Comparing and Merging Files,, diffutils, Comparing and Merging Files}). The @command{diff} command works great for text files. When binary files differ, a better option is @uref{https://diffoscope.org/, Diffoscope}, a tool that helps visualize differences for all kinds of files."
  23615. msgstr ""
  23616. #. type: Plain text
  23617. #: guix-git/doc/guix.texi:15837
  23618. msgid "Once you have done that work, you can tell whether the differences are due to a non-deterministic build process or to a malicious server. We try hard to remove sources of non-determinism in packages to make it easier to verify substitutes, but of course, this is a process that involves not just Guix, but a large part of the free software community. In the meantime, @command{guix challenge} is one tool to help address the problem."
  23619. msgstr ""
  23620. #. type: Plain text
  23621. #: guix-git/doc/guix.texi:15841
  23622. msgid "If you are writing packages for Guix, you are encouraged to check whether @code{@value{SUBSTITUTE-SERVER-1}} and other substitute servers obtain the same build result as you did with:"
  23623. msgstr ""
  23624. #. type: example
  23625. #: guix-git/doc/guix.texi:15844
  23626. #, fuzzy, no-wrap
  23627. #| msgid "./pre-inst-env guix build gnew --keep-failed\n"
  23628. msgid "guix challenge @var{package}\n"
  23629. msgstr "./pre-inst-env guix build gnew --keep-failed\n"
  23630. #. type: example
  23631. #: guix-git/doc/guix.texi:15850
  23632. #, fuzzy, no-wrap
  23633. #| msgid "guix style [@var{options}] @var{package}@dots{}\n"
  23634. msgid "guix challenge @var{options} @var{argument}@dots{}\n"
  23635. msgstr "guix style [@var{options}] @var{package}@dots{}\n"
  23636. #. type: Plain text
  23637. #: guix-git/doc/guix.texi:15857
  23638. msgid "where @var{argument} is a package specification such as @code{guile@@2.0} or @code{glibc:debug} or, alternatively, a store file name as returned, for example, by @command{guix build} or @command{guix gc --list-live}."
  23639. msgstr ""
  23640. #. type: Plain text
  23641. #: guix-git/doc/guix.texi:15863
  23642. msgid "When a difference is found between the hash of a locally-built item and that of a server-provided substitute, or among substitutes provided by different servers, the command displays it as in the example above and its exit code is 2 (other non-zero exit codes denote other kinds of errors)."
  23643. msgstr ""
  23644. #. type: Plain text
  23645. #: guix-git/doc/guix.texi:15865
  23646. msgid "The one option that matters is:"
  23647. msgstr ""
  23648. #. type: table
  23649. #: guix-git/doc/guix.texi:15871
  23650. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  23651. msgstr ""
  23652. #. type: item
  23653. #: guix-git/doc/guix.texi:15872
  23654. #, no-wrap
  23655. msgid "--diff=@var{mode}"
  23656. msgstr ""
  23657. #. type: table
  23658. #: guix-git/doc/guix.texi:15874
  23659. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  23660. msgstr ""
  23661. #. type: item
  23662. #: guix-git/doc/guix.texi:15876
  23663. #, no-wrap
  23664. msgid "@code{simple} (the default)"
  23665. msgstr ""
  23666. #. type: table
  23667. #: guix-git/doc/guix.texi:15878
  23668. msgid "Show the list of files that differ."
  23669. msgstr ""
  23670. #. type: code{#1}
  23671. #: guix-git/doc/guix.texi:15879
  23672. #, no-wrap
  23673. msgid "diffoscope"
  23674. msgstr ""
  23675. #. type: var{#1}
  23676. #: guix-git/doc/guix.texi:15880
  23677. #, no-wrap
  23678. msgid "command"
  23679. msgstr ""
  23680. #. type: table
  23681. #: guix-git/doc/guix.texi:15883
  23682. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  23683. msgstr ""
  23684. #. type: table
  23685. #: guix-git/doc/guix.texi:15886
  23686. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  23687. msgstr ""
  23688. #. type: table
  23689. #: guix-git/doc/guix.texi:15889
  23690. msgid "Do not show further details about the differences."
  23691. msgstr ""
  23692. #. type: table
  23693. #: guix-git/doc/guix.texi:15894
  23694. msgid "Thus, unless @option{--diff=none} is passed, @command{guix challenge} downloads the store items from the given substitute servers so that it can compare them."
  23695. msgstr ""
  23696. #. type: item
  23697. #: guix-git/doc/guix.texi:15895
  23698. #, no-wrap
  23699. msgid "--verbose"
  23700. msgstr "--verbose"
  23701. #. type: itemx
  23702. #: guix-git/doc/guix.texi:15896
  23703. #, no-wrap
  23704. msgid "-v"
  23705. msgstr ""
  23706. #. type: table
  23707. #: guix-git/doc/guix.texi:15899
  23708. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  23709. msgstr ""
  23710. #. type: section
  23711. #: guix-git/doc/guix.texi:15903
  23712. #, no-wrap
  23713. msgid "Invoking @command{guix copy}"
  23714. msgstr "Invocando @command{guix copy}"
  23715. #. type: command{#1}
  23716. #: guix-git/doc/guix.texi:15905
  23717. #, fuzzy, no-wrap
  23718. #| msgid "Invoking guix copy"
  23719. msgid "guix copy"
  23720. msgstr "Invocando guix copy"
  23721. #. type: cindex
  23722. #: guix-git/doc/guix.texi:15906
  23723. #, no-wrap
  23724. msgid "copy, of store items, over SSH"
  23725. msgstr ""
  23726. #. type: cindex
  23727. #: guix-git/doc/guix.texi:15907
  23728. #, no-wrap
  23729. msgid "SSH, copy of store items"
  23730. msgstr ""
  23731. #. type: cindex
  23732. #: guix-git/doc/guix.texi:15908
  23733. #, no-wrap
  23734. msgid "sharing store items across machines"
  23735. msgstr ""
  23736. #. type: cindex
  23737. #: guix-git/doc/guix.texi:15909
  23738. #, no-wrap
  23739. msgid "transferring store items across machines"
  23740. msgstr ""
  23741. #. type: Plain text
  23742. #: guix-git/doc/guix.texi:15916
  23743. msgid "The @command{guix copy} command copies items from the store of one machine to that of another machine over a secure shell (SSH) connection@footnote{This command is available only when Guile-SSH was found. @xref{Requirements}, for details.}. For example, the following command copies the @code{coreutils} package, the user's profile, and all their dependencies over to @var{host}, logged in as @var{user}:"
  23744. msgstr ""
  23745. #. type: example
  23746. #: guix-git/doc/guix.texi:15920
  23747. #, no-wrap
  23748. msgid ""
  23749. "guix copy --to=@var{user}@@@var{host} \\\n"
  23750. " coreutils $(readlink -f ~/.guix-profile)\n"
  23751. msgstr ""
  23752. #. type: Plain text
  23753. #: guix-git/doc/guix.texi:15924
  23754. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  23755. msgstr ""
  23756. #. type: Plain text
  23757. #: guix-git/doc/guix.texi:15927
  23758. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  23759. msgstr ""
  23760. #. type: example
  23761. #: guix-git/doc/guix.texi:15930
  23762. #, no-wrap
  23763. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  23764. msgstr ""
  23765. #. type: Plain text
  23766. #: guix-git/doc/guix.texi:15935
  23767. msgid "The SSH connection is established using the Guile-SSH client, which is compatible with OpenSSH: it honors @file{~/.ssh/known_hosts} and @file{~/.ssh/config}, and uses the SSH agent for authentication."
  23768. msgstr ""
  23769. #. type: Plain text
  23770. #: guix-git/doc/guix.texi:15941
  23771. msgid "The key used to sign items that are sent must be accepted by the remote machine. Likewise, the key used by the remote machine to sign items you are retrieving must be in @file{/etc/guix/acl} so it is accepted by your own daemon. @xref{Invoking guix archive}, for more information about store item authentication."
  23772. msgstr ""
  23773. #. type: example
  23774. #: guix-git/doc/guix.texi:15946
  23775. #, no-wrap
  23776. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  23777. msgstr ""
  23778. #. type: Plain text
  23779. #: guix-git/doc/guix.texi:15949
  23780. msgid "You must always specify one of the following options:"
  23781. msgstr ""
  23782. #. type: item
  23783. #: guix-git/doc/guix.texi:15951
  23784. #, no-wrap
  23785. msgid "--to=@var{spec}"
  23786. msgstr ""
  23787. #. type: itemx
  23788. #: guix-git/doc/guix.texi:15952
  23789. #, no-wrap
  23790. msgid "--from=@var{spec}"
  23791. msgstr ""
  23792. #. type: table
  23793. #: guix-git/doc/guix.texi:15956
  23794. msgid "Specify the host to send to or receive from. @var{spec} must be an SSH spec such as @code{example.org}, @code{charlie@@example.org}, or @code{charlie@@example.org:2222}."
  23795. msgstr ""
  23796. #. type: Plain text
  23797. #: guix-git/doc/guix.texi:15960
  23798. msgid "The @var{items} can be either package names, such as @code{gimp}, or store items, such as @file{/gnu/store/@dots{}-idutils-4.6}."
  23799. msgstr ""
  23800. #. type: Plain text
  23801. #: guix-git/doc/guix.texi:15964
  23802. msgid "When specifying the name of a package to send, it is first built if needed, unless @option{--dry-run} was specified. Common build options are supported (@pxref{Common Build Options})."
  23803. msgstr ""
  23804. #. type: section
  23805. #: guix-git/doc/guix.texi:15967
  23806. #, no-wrap
  23807. msgid "Invoking @command{guix container}"
  23808. msgstr "Invocando @command{guix container}"
  23809. #. type: command{#1}
  23810. #: guix-git/doc/guix.texi:15969
  23811. #, no-wrap
  23812. msgid "guix container"
  23813. msgstr ""
  23814. #. type: quotation
  23815. #: guix-git/doc/guix.texi:15973
  23816. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  23817. msgstr ""
  23818. #. type: Plain text
  23819. #: guix-git/doc/guix.texi:15980
  23820. msgid "The purpose of @command{guix container} is to manipulate processes running within an isolated environment, commonly known as a ``container'', typically created by the @command{guix shell} (@pxref{Invoking guix shell}) and @command{guix system container} (@pxref{Invoking guix system}) commands."
  23821. msgstr ""
  23822. #. type: example
  23823. #: guix-git/doc/guix.texi:15985
  23824. #, no-wrap
  23825. msgid "guix container @var{action} @var{options}@dots{}\n"
  23826. msgstr ""
  23827. #. type: Plain text
  23828. #: guix-git/doc/guix.texi:15989
  23829. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  23830. msgstr ""
  23831. #. type: Plain text
  23832. #: guix-git/doc/guix.texi:15991
  23833. msgid "The following actions are available:"
  23834. msgstr ""
  23835. #. type: item
  23836. #: guix-git/doc/guix.texi:15993
  23837. #, no-wrap
  23838. msgid "exec"
  23839. msgstr ""
  23840. #. type: table
  23841. #: guix-git/doc/guix.texi:15995
  23842. msgid "Execute a command within the context of a running container."
  23843. msgstr ""
  23844. #. type: table
  23845. #: guix-git/doc/guix.texi:15997
  23846. msgid "The syntax is:"
  23847. msgstr ""
  23848. #. type: example
  23849. #: guix-git/doc/guix.texi:16000
  23850. #, no-wrap
  23851. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  23852. msgstr ""
  23853. #. type: table
  23854. #: guix-git/doc/guix.texi:16006
  23855. msgid "@var{pid} specifies the process ID of the running container. @var{program} specifies an executable file name within the root file system of the container. @var{arguments} are the additional options that will be passed to @var{program}."
  23856. msgstr ""
  23857. #. type: table
  23858. #: guix-git/doc/guix.texi:16010
  23859. msgid "The following command launches an interactive login shell inside a Guix system container, started by @command{guix system container}, and whose process ID is 9001:"
  23860. msgstr ""
  23861. #. type: example
  23862. #: guix-git/doc/guix.texi:16013
  23863. #, no-wrap
  23864. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  23865. msgstr ""
  23866. #. type: table
  23867. #: guix-git/doc/guix.texi:16017
  23868. msgid "Note that the @var{pid} cannot be the parent process of a container. It must be PID 1 of the container or one of its child processes."
  23869. msgstr ""
  23870. #. type: section
  23871. #: guix-git/doc/guix.texi:16021
  23872. #, no-wrap
  23873. msgid "Invoking @command{guix weather}"
  23874. msgstr "Invocando @command{guix weather}"
  23875. #. type: command{#1}
  23876. #: guix-git/doc/guix.texi:16023
  23877. #, fuzzy, no-wrap
  23878. #| msgid "Invoking guix weather"
  23879. msgid "guix weather"
  23880. msgstr "Invocando guix weather"
  23881. #. type: Plain text
  23882. #: guix-git/doc/guix.texi:16031
  23883. msgid "Occasionally you're grumpy because substitutes are lacking and you end up building packages by yourself (@pxref{Substitutes}). The @command{guix weather} command reports on substitute availability on the specified servers so you can have an idea of whether you'll be grumpy today. It can sometimes be useful info as a user, but it is primarily useful to people running @command{guix publish} (@pxref{Invoking guix publish})."
  23884. msgstr ""
  23885. #. type: cindex
  23886. #: guix-git/doc/guix.texi:16032
  23887. #, no-wrap
  23888. msgid "statistics, for substitutes"
  23889. msgstr ""
  23890. #. type: cindex
  23891. #: guix-git/doc/guix.texi:16033
  23892. #, no-wrap
  23893. msgid "availability of substitutes"
  23894. msgstr ""
  23895. #. type: cindex
  23896. #: guix-git/doc/guix.texi:16034
  23897. #, no-wrap
  23898. msgid "substitute availability"
  23899. msgstr ""
  23900. #. type: cindex
  23901. #: guix-git/doc/guix.texi:16035
  23902. #, no-wrap
  23903. msgid "weather, substitute availability"
  23904. msgstr ""
  23905. #. type: Plain text
  23906. #: guix-git/doc/guix.texi:16037
  23907. msgid "Here's a sample run:"
  23908. msgstr ""
  23909. #. type: example
  23910. #: guix-git/doc/guix.texi:16049
  23911. #, no-wrap
  23912. msgid ""
  23913. "$ guix weather --substitute-urls=https://guix.example.org\n"
  23914. "computing 5,872 package derivations for x86_64-linux...\n"
  23915. "looking for 6,128 store items on https://guix.example.org..\n"
  23916. "updating substitutes from 'https://guix.example.org'... 100.0%\n"
  23917. "https://guix.example.org\n"
  23918. " 43.4% substitutes available (2,658 out of 6,128)\n"
  23919. " 7,032.5 MiB of nars (compressed)\n"
  23920. " 19,824.2 MiB on disk (uncompressed)\n"
  23921. " 0.030 seconds per request (182.9 seconds in total)\n"
  23922. " 33.5 requests per second\n"
  23923. "\n"
  23924. msgstr ""
  23925. #. type: example
  23926. #: guix-git/doc/guix.texi:16059
  23927. #, no-wrap
  23928. msgid ""
  23929. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  23930. " 867 queued builds\n"
  23931. " x86_64-linux: 518 (59.7%)\n"
  23932. " i686-linux: 221 (25.5%)\n"
  23933. " aarch64-linux: 128 (14.8%)\n"
  23934. " build rate: 23.41 builds per hour\n"
  23935. " x86_64-linux: 11.16 builds per hour\n"
  23936. " i686-linux: 6.03 builds per hour\n"
  23937. " aarch64-linux: 6.41 builds per hour\n"
  23938. msgstr ""
  23939. #. type: cindex
  23940. #: guix-git/doc/guix.texi:16061
  23941. #, no-wrap
  23942. msgid "continuous integration, statistics"
  23943. msgstr ""
  23944. #. type: Plain text
  23945. #: guix-git/doc/guix.texi:16072
  23946. msgid "As you can see, it reports the fraction of all the packages for which substitutes are available on the server---regardless of whether substitutes are enabled, and regardless of whether this server's signing key is authorized. It also reports the size of the compressed archives (``nars'') provided by the server, the size the corresponding store items occupy in the store (assuming deduplication is turned off), and the server's throughput. The second part gives continuous integration (CI) statistics, if the server supports it. In addition, using the @option{--coverage} option, @command{guix weather} can list ``important'' package substitutes missing on the server (see below)."
  23947. msgstr ""
  23948. #. type: Plain text
  23949. #: guix-git/doc/guix.texi:16078
  23950. msgid "To achieve that, @command{guix weather} queries over HTTP(S) meta-data (@dfn{narinfos}) for all the relevant store items. Like @command{guix challenge}, it ignores signatures on those substitutes, which is innocuous since the command only gathers statistics and cannot install those substitutes."
  23951. msgstr ""
  23952. #. type: example
  23953. #: guix-git/doc/guix.texi:16083
  23954. #, no-wrap
  23955. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  23956. msgstr ""
  23957. #. type: Plain text
  23958. #: guix-git/doc/guix.texi:16091
  23959. msgid "When @var{packages} is omitted, @command{guix weather} checks the availability of substitutes for @emph{all} the packages, or for those specified with @option{--manifest}; otherwise it only considers the specified packages. It is also possible to query specific system types with @option{--system}. @command{guix weather} exits with a non-zero code when the fraction of available substitutes is below 100%."
  23960. msgstr ""
  23961. #. type: table
  23962. #: guix-git/doc/guix.texi:16099
  23963. msgid "@var{urls} is the space-separated list of substitute server URLs to query. When this option is omitted, the default set of substitute servers is queried."
  23964. msgstr ""
  23965. #. type: table
  23966. #: guix-git/doc/guix.texi:16105
  23967. msgid "Query substitutes for @var{system}---e.g., @code{aarch64-linux}. This option can be repeated, in which case @command{guix weather} will query substitutes for several system types."
  23968. msgstr ""
  23969. #. type: table
  23970. #: guix-git/doc/guix.texi:16111
  23971. msgid "Instead of querying substitutes for all the packages, only ask for those specified in @var{file}. @var{file} must contain a @dfn{manifest}, as with the @code{-m} option of @command{guix package} (@pxref{Invoking guix package})."
  23972. msgstr ""
  23973. #. type: table
  23974. #: guix-git/doc/guix.texi:16114
  23975. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  23976. msgstr ""
  23977. #. type: item
  23978. #: guix-git/doc/guix.texi:16115
  23979. #, no-wrap
  23980. msgid "--coverage[=@var{count}]"
  23981. msgstr "--coverage[=@var{contagem}]"
  23982. #. type: itemx
  23983. #: guix-git/doc/guix.texi:16116
  23984. #, no-wrap
  23985. msgid "-c [@var{count}]"
  23986. msgstr "-c [@var{contagem}]"
  23987. #. type: table
  23988. #: guix-git/doc/guix.texi:16122
  23989. msgid "Report on substitute coverage for packages: list packages with at least @var{count} dependents (zero by default) for which substitutes are unavailable. Dependent packages themselves are not listed: if @var{b} depends on @var{a} and @var{a} has no substitutes, only @var{a} is listed, even though @var{b} usually lacks substitutes as well. The result looks like this:"
  23990. msgstr ""
  23991. #. type: example
  23992. #: guix-git/doc/guix.texi:16136
  23993. #, no-wrap
  23994. msgid ""
  23995. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URLS} -c 10\n"
  23996. "computing 8,983 package derivations for x86_64-linux...\n"
  23997. "looking for 9,343 store items on @value{SUBSTITUTE-URLS}...\n"
  23998. "updating substitutes from '@value{SUBSTITUTE-URLS}'... 100.0%\n"
  23999. "@value{SUBSTITUTE-URLS}\n"
  24000. " 64.7% substitutes available (6,047 out of 9,343)\n"
  24001. "@dots{}\n"
  24002. "2502 packages are missing from '@value{SUBSTITUTE-URLS}' for 'x86_64-linux', among which:\n"
  24003. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  24004. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  24005. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  24006. " @dots{}\n"
  24007. msgstr ""
  24008. #. type: table
  24009. #: guix-git/doc/guix.texi:16142
  24010. msgid "What this example shows is that @code{kcoreaddons} and presumably the 58 packages that depend on it have no substitutes at @code{@value{SUBSTITUTE-SERVER-1}}; likewise for @code{qgpgme} and the 46 packages that depend on it."
  24011. msgstr ""
  24012. #. type: table
  24013. #: guix-git/doc/guix.texi:16146
  24014. msgid "If you are a Guix developer, or if you are taking care of this build farm, you'll probably want to have a closer look at these packages: they may simply fail to build."
  24015. msgstr ""
  24016. #. type: item
  24017. #: guix-git/doc/guix.texi:16147
  24018. #, no-wrap
  24019. msgid "--display-missing"
  24020. msgstr ""
  24021. #. type: table
  24022. #: guix-git/doc/guix.texi:16149
  24023. msgid "Display the list of store items for which substitutes are missing."
  24024. msgstr ""
  24025. #. type: section
  24026. #: guix-git/doc/guix.texi:16152
  24027. #, no-wrap
  24028. msgid "Invoking @command{guix processes}"
  24029. msgstr "Invocando @command{guix processes}"
  24030. #. type: command{#1}
  24031. #: guix-git/doc/guix.texi:16154
  24032. #, fuzzy, no-wrap
  24033. #| msgid "Invoking guix processes"
  24034. msgid "guix processes"
  24035. msgstr "Invocando guix processes"
  24036. #. type: Plain text
  24037. #: guix-git/doc/guix.texi:16161
  24038. msgid "The @command{guix processes} command can be useful to developers and system administrators, especially on multi-user machines and on build farms: it lists the current sessions (connections to the daemon), as well as information about the processes involved@footnote{Remote sessions, when @command{guix-daemon} is started with @option{--listen} specifying a TCP endpoint, are @emph{not} listed.}. Here's an example of the information it returns:"
  24039. msgstr ""
  24040. #. type: example
  24041. #: guix-git/doc/guix.texi:16167
  24042. #, no-wrap
  24043. msgid ""
  24044. "$ sudo guix processes\n"
  24045. "SessionPID: 19002\n"
  24046. "ClientPID: 19090\n"
  24047. "ClientCommand: guix shell python\n"
  24048. "\n"
  24049. msgstr ""
  24050. #. type: example
  24051. #: guix-git/doc/guix.texi:16171
  24052. #, no-wrap
  24053. msgid ""
  24054. "SessionPID: 19402\n"
  24055. "ClientPID: 19367\n"
  24056. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  24057. "\n"
  24058. msgstr ""
  24059. #. type: example
  24060. #: guix-git/doc/guix.texi:16184
  24061. #, no-wrap
  24062. msgid ""
  24063. "SessionPID: 19444\n"
  24064. "ClientPID: 19419\n"
  24065. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  24066. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  24067. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  24068. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  24069. "ChildPID: 20495\n"
  24070. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  24071. "ChildPID: 27733\n"
  24072. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  24073. "ChildPID: 27793\n"
  24074. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  24075. msgstr ""
  24076. #. type: Plain text
  24077. #: guix-git/doc/guix.texi:16191
  24078. msgid "In this example we see that @command{guix-daemon} has three clients: @command{guix environment}, @command{guix publish}, and the Cuirass continuous integration tool; their process identifier (PID) is given by the @code{ClientPID} field. The @code{SessionPID} field gives the PID of the @command{guix-daemon} sub-process of this particular session."
  24079. msgstr ""
  24080. #. type: Plain text
  24081. #: guix-git/doc/guix.texi:16198
  24082. msgid "The @code{LockHeld} fields show which store items are currently locked by this session, which corresponds to store items being built or substituted (the @code{LockHeld} field is not displayed when @command{guix processes} is not running as root). Last, by looking at the @code{ChildPID} and @code{ChildCommand} fields, we understand that these three builds are being offloaded (@pxref{Daemon Offload Setup})."
  24083. msgstr ""
  24084. #. type: Plain text
  24085. #: guix-git/doc/guix.texi:16203
  24086. msgid "The output is in Recutils format so we can use the handy @command{recsel} command to select sessions of interest (@pxref{Selection Expressions,,, recutils, GNU recutils manual}). As an example, the command shows the command line and PID of the client that triggered the build of a Perl package:"
  24087. msgstr ""
  24088. #. type: example
  24089. #: guix-git/doc/guix.texi:16209
  24090. #, no-wrap
  24091. msgid ""
  24092. "$ sudo guix processes | \\\n"
  24093. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  24094. "ClientPID: 19419\n"
  24095. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  24096. msgstr ""
  24097. #. type: Plain text
  24098. #: guix-git/doc/guix.texi:16212
  24099. msgid "Additional options are listed below."
  24100. msgstr ""
  24101. #. type: table
  24102. #: guix-git/doc/guix.texi:16222
  24103. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  24104. msgstr ""
  24105. #. type: item
  24106. #: guix-git/doc/guix.texi:16223
  24107. #, no-wrap
  24108. msgid "normalized"
  24109. msgstr ""
  24110. #. type: table
  24111. #: guix-git/doc/guix.texi:16230
  24112. msgid "Normalize the output records into record sets (@pxref{Record Sets,,, recutils, GNU recutils manual}). Normalizing into record sets allows joins across record types. The example below lists the PID of each @code{ChildProcess} and the associated PID for @code{Session} that spawned the @code{ChildProcess} where the @code{Session} was started using @command{guix build}."
  24113. msgstr ""
  24114. #. type: example
  24115. #: guix-git/doc/guix.texi:16240
  24116. #, no-wrap
  24117. msgid ""
  24118. "$ guix processes --format=normalized | \\\n"
  24119. " recsel \\\n"
  24120. " -j Session \\\n"
  24121. " -t ChildProcess \\\n"
  24122. " -p Session.PID,PID \\\n"
  24123. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  24124. "PID: 4435\n"
  24125. "Session_PID: 4278\n"
  24126. "\n"
  24127. msgstr ""
  24128. #. type: example
  24129. #: guix-git/doc/guix.texi:16243
  24130. #, no-wrap
  24131. msgid ""
  24132. "PID: 4554\n"
  24133. "Session_PID: 4278\n"
  24134. "\n"
  24135. msgstr ""
  24136. #. type: example
  24137. #: guix-git/doc/guix.texi:16246
  24138. #, no-wrap
  24139. msgid ""
  24140. "PID: 4646\n"
  24141. "Session_PID: 4278\n"
  24142. msgstr ""
  24143. #. type: Plain text
  24144. #: guix-git/doc/guix.texi:16256
  24145. msgid "You can target computers of different CPU architectures when producing packages (@pxref{Invoking guix package}), packs (@pxref{Invoking guix pack}) or full systems (@pxref{Invoking guix system})."
  24146. msgstr ""
  24147. #. type: Plain text
  24148. #: guix-git/doc/guix.texi:16259
  24149. msgid "GNU Guix supports two distinct mechanisms to target foreign architectures:"
  24150. msgstr ""
  24151. #. type: enumerate
  24152. #: guix-git/doc/guix.texi:16265
  24153. msgid "The traditional @uref{https://en.wikipedia.org/wiki/Cross_compiler,cross-compilation} mechanism."
  24154. msgstr ""
  24155. #. type: enumerate
  24156. #: guix-git/doc/guix.texi:16269
  24157. msgid "The native building mechanism which consists in building using the CPU instruction set of the foreign system you are targeting. It often requires emulation, using the QEMU program for instance."
  24158. msgstr ""
  24159. #. type: cindex
  24160. #: guix-git/doc/guix.texi:16279
  24161. #, fuzzy, no-wrap
  24162. #| msgid "foreign distro"
  24163. msgid "foreign architectures"
  24164. msgstr "distro alheia"
  24165. #. type: Plain text
  24166. #: guix-git/doc/guix.texi:16282
  24167. msgid "The commands supporting cross-compilation are proposing the @option{--list-targets} and @option{--target} options."
  24168. msgstr ""
  24169. #. type: Plain text
  24170. #: guix-git/doc/guix.texi:16285
  24171. msgid "The @option{--list-targets} option lists all the supported targets that can be passed as an argument to @option{--target}."
  24172. msgstr ""
  24173. #. type: example
  24174. #: guix-git/doc/guix.texi:16289
  24175. #, no-wrap
  24176. msgid ""
  24177. "$ guix build --list-targets\n"
  24178. "The available targets are:\n"
  24179. "\n"
  24180. msgstr ""
  24181. #. type: example
  24182. #: guix-git/doc/guix.texi:16301
  24183. #, no-wrap
  24184. msgid ""
  24185. " - aarch64-linux-gnu\n"
  24186. " - arm-linux-gnueabihf\n"
  24187. " - i586-pc-gnu\n"
  24188. " - i686-linux-gnu\n"
  24189. " - i686-w64-mingw32\n"
  24190. " - mips64el-linux-gnu\n"
  24191. " - powerpc-linux-gnu\n"
  24192. " - powerpc64le-linux-gnu\n"
  24193. " - riscv64-linux-gnu\n"
  24194. " - x86_64-linux-gnu\n"
  24195. " - x86_64-w64-mingw32\n"
  24196. msgstr ""
  24197. #. type: Plain text
  24198. #: guix-git/doc/guix.texi:16305
  24199. msgid "Targets are specified as GNU triplets (@pxref{Specifying Target Triplets, GNU configuration triplets,, autoconf, Autoconf})."
  24200. msgstr ""
  24201. #. type: Plain text
  24202. #: guix-git/doc/guix.texi:16309
  24203. msgid "Those triplets are passed to GCC and the other underlying compilers possibly involved when building a package, a system image or any other GNU Guix output."
  24204. msgstr ""
  24205. #. type: example
  24206. #: guix-git/doc/guix.texi:16313
  24207. #, no-wrap
  24208. msgid ""
  24209. "$ guix build --target=aarch64-linux-gnu hello\n"
  24210. "/gnu/store/9926by9qrxa91ijkhw9ndgwp4bn24g9h-hello-2.12\n"
  24211. "\n"
  24212. msgstr ""
  24213. #. type: example
  24214. #: guix-git/doc/guix.texi:16317
  24215. #, no-wrap
  24216. msgid ""
  24217. "$ file /gnu/store/9926by9qrxa91ijkhw9ndgwp4bn24g9h-hello-2.12/bin/hello\n"
  24218. "/gnu/store/9926by9qrxa91ijkhw9ndgwp4bn24g9h-hello-2.12/bin/hello: ELF\n"
  24219. "64-bit LSB executable, ARM aarch64 @dots{}\n"
  24220. msgstr ""
  24221. #. type: Plain text
  24222. #: guix-git/doc/guix.texi:16323
  24223. msgid "The major benefit of cross-compilation is that there are no performance penalty compared to emulation using QEMU. There are however higher risks that some packages fail to cross-compile because fewer users are using this mechanism extensively."
  24224. msgstr ""
  24225. #. type: Plain text
  24226. #: guix-git/doc/guix.texi:16329
  24227. msgid "The commands that support impersonating a specific system have the @option{--list-systems} and @option{--system} options."
  24228. msgstr ""
  24229. #. type: Plain text
  24230. #: guix-git/doc/guix.texi:16332
  24231. msgid "The @option{--list-systems} option lists all the supported systems that can be passed as an argument to @option{--system}."
  24232. msgstr ""
  24233. #. type: example
  24234. #: guix-git/doc/guix.texi:16336
  24235. #, no-wrap
  24236. msgid ""
  24237. "$ guix build --list-systems\n"
  24238. "The available systems are:\n"
  24239. "\n"
  24240. msgstr ""
  24241. #. type: example
  24242. #: guix-git/doc/guix.texi:16346
  24243. #, no-wrap
  24244. msgid ""
  24245. " - x86_64-linux [current]\n"
  24246. " - aarch64-linux\n"
  24247. " - armhf-linux\n"
  24248. " - i586-gnu\n"
  24249. " - i686-linux\n"
  24250. " - mips64el-linux\n"
  24251. " - powerpc-linux\n"
  24252. " - powerpc64le-linux\n"
  24253. " - riscv64-linux\n"
  24254. "\n"
  24255. msgstr ""
  24256. #. type: example
  24257. #: guix-git/doc/guix.texi:16349
  24258. #, no-wrap
  24259. msgid ""
  24260. "$ guix build --system=i686-linux hello\n"
  24261. "/gnu/store/cc0km35s8x2z4pmwkrqqjx46i8b1i3gm-hello-2.12\n"
  24262. "\n"
  24263. msgstr ""
  24264. #. type: example
  24265. #: guix-git/doc/guix.texi:16353
  24266. #, no-wrap
  24267. msgid ""
  24268. "$ file /gnu/store/cc0km35s8x2z4pmwkrqqjx46i8b1i3gm-hello-2.12/bin/hello\n"
  24269. "/gnu/store/cc0km35s8x2z4pmwkrqqjx46i8b1i3gm-hello-2.12/bin/hello: ELF\n"
  24270. "32-bit LSB executable, Intel 80386 @dots{}\n"
  24271. msgstr ""
  24272. #. type: Plain text
  24273. #: guix-git/doc/guix.texi:16357
  24274. msgid "In the above example, the current system is @var{x86_64-linux}. The @var{hello} package is however built for the @var{i686-linux} system."
  24275. msgstr ""
  24276. #. type: Plain text
  24277. #: guix-git/doc/guix.texi:16361
  24278. msgid "This is possible because the @var{i686} CPU instruction set is a subset of the @var{x86_64}, hence @var{i686} targeting binaries can be run on @var{x86_64}."
  24279. msgstr ""
  24280. #. type: Plain text
  24281. #: guix-git/doc/guix.texi:16366
  24282. msgid "Still in the context of the previous example, if picking the @var{aarch64-linux} system and the @command{guix build --system=aarch64-linux hello} has to build some derivations, an extra step might be needed."
  24283. msgstr ""
  24284. #. type: Plain text
  24285. #: guix-git/doc/guix.texi:16374
  24286. msgid "The @var{aarch64-linux} targeting binaries cannot directly be run on a @var{x86_64-linux} system. An emulation layer is requested. The GNU Guix daemon can take advantage of the Linux kernel @uref{https://en.wikipedia.org/wiki/Binfmt_misc,binfmt_misc} mechanism for that. In short, the Linux kernel can defer the execution of a binary targeting a foreign platform, here @var{aarch64-linux}, to a userspace program, usually an emulator."
  24287. msgstr ""
  24288. #. type: Plain text
  24289. #: guix-git/doc/guix.texi:16380
  24290. msgid "There is a service that registers QEMU as a backend for the @code{binfmt_misc} mechanism (@pxref{Virtualization Services, @code{qemu-binfmt-service-type}}). On Debian based foreign distributions, the alternative would be the @code{qemu-user-static} package."
  24291. msgstr ""
  24292. #. type: Plain text
  24293. #: guix-git/doc/guix.texi:16383
  24294. msgid "If the @code{binfmt_misc} mechanism is not setup correctly, the building will fail this way:"
  24295. msgstr ""
  24296. #. type: example
  24297. #: guix-git/doc/guix.texi:16391
  24298. #, no-wrap
  24299. msgid ""
  24300. "$ guix build --system=armhf-linux hello --check\n"
  24301. "@dots{}\n"
  24302. "@ unsupported-platform /gnu/store/jjn969pijv7hff62025yxpfmc8zy0aq0-hello-2.12.drv aarch64-linux\n"
  24303. "while setting up the build environment: a `aarch64-linux' is required to\n"
  24304. "build `/gnu/store/jjn969pijv7hff62025yxpfmc8zy0aq0-hello-2.12.drv', but\n"
  24305. "I am a `x86_64-linux'@dots{}\n"
  24306. msgstr ""
  24307. #. type: Plain text
  24308. #: guix-git/doc/guix.texi:16395
  24309. msgid "whereas, with the @code{binfmt_misc} mechanism correctly linked with QEMU, one can expect to see:"
  24310. msgstr ""
  24311. #. type: example
  24312. #: guix-git/doc/guix.texi:16399
  24313. #, no-wrap
  24314. msgid ""
  24315. "$ guix build --system=armhf-linux hello --check\n"
  24316. "/gnu/store/13xz4nghg39wpymivlwghy08yzj97hlj-hello-2.12\n"
  24317. msgstr ""
  24318. #. type: Plain text
  24319. #: guix-git/doc/guix.texi:16405
  24320. msgid "The main advantage of native building compared to cross-compiling, is that more packages are likely to build correctly. However it comes at a price: compilation backed by QEMU is @emph{way slower} than cross-compilation, because every instruction needs to be emulated."
  24321. msgstr ""
  24322. #. type: Plain text
  24323. #: guix-git/doc/guix.texi:16411
  24324. msgid "The availability of substitutes for the architecture targeted by the @code{--system} option can mitigate this problem. An other way to work around it is to install GNU Guix on a machine whose CPU supports the targeted instruction set, and set it up as an offload machine (@pxref{Daemon Offload Setup})."
  24325. msgstr ""
  24326. #. type: cindex
  24327. #: guix-git/doc/guix.texi:16415
  24328. #, no-wrap
  24329. msgid "system configuration"
  24330. msgstr ""
  24331. #. type: Plain text
  24332. #: guix-git/doc/guix.texi:16421
  24333. msgid "Guix System supports a consistent whole-system configuration mechanism. By that we mean that all aspects of the global system configuration---such as the available system services, timezone and locale settings, user accounts---are declared in a single place. Such a @dfn{system configuration} can be @dfn{instantiated}---i.e., effected."
  24334. msgstr ""
  24335. #. type: Plain text
  24336. #: guix-git/doc/guix.texi:16431
  24337. msgid "One of the advantages of putting all the system configuration under the control of Guix is that it supports transactional system upgrades, and makes it possible to roll back to a previous system instantiation, should something go wrong with the new one (@pxref{Features}). Another advantage is that it makes it easy to replicate the exact same configuration across different machines, or at different points in time, without having to resort to additional administration tools layered on top of the own tools of the system."
  24338. msgstr ""
  24339. #. type: Plain text
  24340. #: guix-git/doc/guix.texi:16436
  24341. msgid "This section describes this mechanism. First we focus on the system administrator's viewpoint---explaining how the system is configured and instantiated. Then we show how this mechanism can be extended, for instance to support new system services."
  24342. msgstr ""
  24343. #. type: Plain text
  24344. #: guix-git/doc/guix.texi:16466
  24345. msgid "The operating system is configured by providing an @code{operating-system} declaration in a file that can then be passed to the @command{guix system} command (@pxref{Invoking guix system}). A simple setup, with the default system services, the default Linux-Libre kernel, initial RAM disk, and boot loader looks like this:"
  24346. msgstr ""
  24347. #. type: code{#1}
  24348. #: guix-git/doc/guix.texi:16467 guix-git/doc/guix.texi:40669
  24349. #: guix-git/doc/guix.texi:44330
  24350. #, no-wrap
  24351. msgid "operating-system"
  24352. msgstr "sistema operacional"
  24353. #. type: include
  24354. #: guix-git/doc/guix.texi:16469
  24355. #, no-wrap
  24356. msgid "os-config-bare-bones.texi"
  24357. msgstr "os-config-bare-bones.texi"
  24358. #. type: Plain text
  24359. #: guix-git/doc/guix.texi:16476
  24360. msgid "This example should be self-describing. Some of the fields defined above, such as @code{host-name} and @code{bootloader}, are mandatory. Others, such as @code{packages} and @code{services}, can be omitted, in which case they get a default value."
  24361. msgstr "Este exemplo deve ser autodescritivo. Alguns dos campos definidos acima, como @code{host-name} e @code{bootloader}, são obrigatórios. Outros, como @code{packages} e @code{services}, podem ser omitidos; nesse caso, eles recebem um valor padrão."
  24362. #. type: Plain text
  24363. #: guix-git/doc/guix.texi:16481
  24364. msgid "Below we discuss the effect of some of the most important fields (@pxref{operating-system Reference}, for details about all the available fields), and how to @dfn{instantiate} the operating system using @command{guix system}."
  24365. msgstr ""
  24366. #. type: unnumberedsubsec
  24367. #: guix-git/doc/guix.texi:16482
  24368. #, no-wrap
  24369. msgid "Bootloader"
  24370. msgstr ""
  24371. #. type: cindex
  24372. #: guix-git/doc/guix.texi:16484
  24373. #, no-wrap
  24374. msgid "legacy boot, on Intel machines"
  24375. msgstr ""
  24376. #. type: cindex
  24377. #: guix-git/doc/guix.texi:16485
  24378. #, no-wrap
  24379. msgid "BIOS boot, on Intel machines"
  24380. msgstr ""
  24381. #. type: cindex
  24382. #: guix-git/doc/guix.texi:16486
  24383. #, no-wrap
  24384. msgid "UEFI boot"
  24385. msgstr ""
  24386. #. type: cindex
  24387. #: guix-git/doc/guix.texi:16487
  24388. #, no-wrap
  24389. msgid "EFI boot"
  24390. msgstr ""
  24391. #. type: Plain text
  24392. #: guix-git/doc/guix.texi:16493
  24393. msgid "The @code{bootloader} field describes the method that will be used to boot your system. Machines based on Intel processors can boot in ``legacy'' BIOS mode, as in the example above. However, more recent machines rely instead on the @dfn{Unified Extensible Firmware Interface} (UEFI) to boot. In that case, the @code{bootloader} field should contain something along these lines:"
  24394. msgstr ""
  24395. #. type: lisp
  24396. #: guix-git/doc/guix.texi:16498
  24397. #, no-wrap
  24398. msgid ""
  24399. "(bootloader-configuration\n"
  24400. " (bootloader grub-efi-bootloader)\n"
  24401. " (targets '(\"/boot/efi\")))\n"
  24402. msgstr ""
  24403. #. type: Plain text
  24404. #: guix-git/doc/guix.texi:16502
  24405. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  24406. msgstr ""
  24407. #. type: unnumberedsubsec
  24408. #: guix-git/doc/guix.texi:16503
  24409. #, no-wrap
  24410. msgid "Globally-Visible Packages"
  24411. msgstr ""
  24412. #. type: vindex
  24413. #: guix-git/doc/guix.texi:16505
  24414. #, no-wrap
  24415. msgid "%base-packages"
  24416. msgstr ""
  24417. #. type: Plain text
  24418. #: guix-git/doc/guix.texi:16518
  24419. msgid "The @code{packages} field lists packages that will be globally visible on the system, for all user accounts---i.e., in every user's @env{PATH} environment variable---in addition to the per-user profiles (@pxref{Invoking guix package}). The @code{%base-packages} variable provides all the tools one would expect for basic user and administrator tasks---including the GNU Core Utilities, the GNU Networking Utilities, the @command{mg} lightweight text editor, @command{find}, @command{grep}, etc. The example above adds GNU@tie{}Screen to those, taken from the @code{(gnu packages screen)} module (@pxref{Package Modules}). The @code{(list package output)} syntax can be used to add a specific output of a package:"
  24420. msgstr ""
  24421. #. type: lisp
  24422. #: guix-git/doc/guix.texi:16522
  24423. #, no-wrap
  24424. msgid ""
  24425. "(use-modules (gnu packages))\n"
  24426. "(use-modules (gnu packages dns))\n"
  24427. "\n"
  24428. msgstr ""
  24429. #. type: lisp
  24430. #: guix-git/doc/guix.texi:16527
  24431. #, no-wrap
  24432. msgid ""
  24433. "(operating-system\n"
  24434. " ;; ...\n"
  24435. " (packages (cons (list isc-bind \"utils\")\n"
  24436. " %base-packages)))\n"
  24437. msgstr ""
  24438. #. type: findex
  24439. #: guix-git/doc/guix.texi:16529
  24440. #, no-wrap
  24441. msgid "specification->package"
  24442. msgstr ""
  24443. #. type: Plain text
  24444. #: guix-git/doc/guix.texi:16538
  24445. msgid "Referring to packages by variable name, like @code{isc-bind} above, has the advantage of being unambiguous; it also allows typos and such to be diagnosed right away as ``unbound variables''. The downside is that one needs to know which module defines which package, and to augment the @code{use-package-modules} line accordingly. To avoid that, one can use the @code{specification->package} procedure of the @code{(gnu packages)} module, which returns the best package for a given name or name and version:"
  24446. msgstr ""
  24447. #. type: lisp
  24448. #: guix-git/doc/guix.texi:16541
  24449. #, no-wrap
  24450. msgid ""
  24451. "(use-modules (gnu packages))\n"
  24452. "\n"
  24453. msgstr ""
  24454. #. type: lisp
  24455. #: guix-git/doc/guix.texi:16547
  24456. #, no-wrap
  24457. msgid ""
  24458. "(operating-system\n"
  24459. " ;; ...\n"
  24460. " (packages (append (map specification->package\n"
  24461. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  24462. " %base-packages)))\n"
  24463. msgstr ""
  24464. #. type: unnumberedsubsec
  24465. #: guix-git/doc/guix.texi:16549
  24466. #, no-wrap
  24467. msgid "System Services"
  24468. msgstr ""
  24469. #. type: cindex
  24470. #: guix-git/doc/guix.texi:16551 guix-git/doc/guix.texi:39263
  24471. #: guix-git/doc/guix.texi:40910
  24472. #, no-wrap
  24473. msgid "services"
  24474. msgstr ""
  24475. #. type: defvar
  24476. #: guix-git/doc/guix.texi:16552 guix-git/doc/guix.texi:18198
  24477. #, no-wrap
  24478. msgid "%base-services"
  24479. msgstr ""
  24480. #. type: Plain text
  24481. #: guix-git/doc/guix.texi:16562
  24482. msgid "The @code{services} field lists @dfn{system services} to be made available when the system starts (@pxref{Services}). The @code{operating-system} declaration above specifies that, in addition to the basic services, we want the OpenSSH secure shell daemon listening on port 2222 (@pxref{Networking Services, @code{openssh-service-type}}). Under the hood, @code{openssh-service-type} arranges so that @command{sshd} is started with the right command-line options, possibly with supporting configuration files generated as needed (@pxref{Defining Services})."
  24483. msgstr ""
  24484. #. type: cindex
  24485. #: guix-git/doc/guix.texi:16563
  24486. #, no-wrap
  24487. msgid "customization, of services"
  24488. msgstr ""
  24489. #. type: findex
  24490. #: guix-git/doc/guix.texi:16564
  24491. #, no-wrap
  24492. msgid "modify-services"
  24493. msgstr ""
  24494. #. type: Plain text
  24495. #: guix-git/doc/guix.texi:16568
  24496. msgid "Occasionally, instead of using the base services as is, you will want to customize them. To do this, use @code{modify-services} (@pxref{Service Reference, @code{modify-services}}) to modify the list."
  24497. msgstr ""
  24498. #. type: anchor{#1}
  24499. #: guix-git/doc/guix.texi:16574
  24500. msgid "auto-login to TTY"
  24501. msgstr ""
  24502. #. type: Plain text
  24503. #: guix-git/doc/guix.texi:16574
  24504. msgid "For example, suppose you want to modify @code{guix-daemon} and Mingetty (the console log-in) in the @code{%base-services} list (@pxref{Base Services, @code{%base-services}}). To do that, you can write the following in your operating system declaration:"
  24505. msgstr ""
  24506. #. type: lisp
  24507. #: guix-git/doc/guix.texi:16591
  24508. #, no-wrap
  24509. msgid ""
  24510. "(define %my-services\n"
  24511. " ;; My very own list of services.\n"
  24512. " (modify-services %base-services\n"
  24513. " (guix-service-type config =>\n"
  24514. " (guix-configuration\n"
  24515. " (inherit config)\n"
  24516. " ;; Fetch substitutes from example.org.\n"
  24517. " (substitute-urls\n"
  24518. " (list \"https://example.org/guix\"\n"
  24519. " \"https://ci.guix.gnu.org\"))))\n"
  24520. " (mingetty-service-type config =>\n"
  24521. " (mingetty-configuration\n"
  24522. " (inherit config)\n"
  24523. " ;; Automatically log in as \"guest\".\n"
  24524. " (auto-login \"guest\")))))\n"
  24525. "\n"
  24526. msgstr ""
  24527. #. type: lisp
  24528. #: guix-git/doc/guix.texi:16595
  24529. #, no-wrap
  24530. msgid ""
  24531. "(operating-system\n"
  24532. " ;; @dots{}\n"
  24533. " (services %my-services))\n"
  24534. msgstr ""
  24535. #. type: Plain text
  24536. #: guix-git/doc/guix.texi:16608
  24537. msgid "This changes the configuration---i.e., the service parameters---of the @code{guix-service-type} instance, and that of all the @code{mingetty-service-type} instances in the @code{%base-services} list (@pxref{Auto-Login to a Specific TTY, see the cookbook for how to auto-login one user to a specific TTY,, guix-cookbook, GNU Guix Cookbook})). Observe how this is accomplished: first, we arrange for the original configuration to be bound to the identifier @code{config} in the @var{body}, and then we write the @var{body} so that it evaluates to the desired configuration. In particular, notice how we use @code{inherit} to create a new configuration which has the same values as the old configuration, but with a few modifications."
  24538. msgstr ""
  24539. #. type: Plain text
  24540. #: guix-git/doc/guix.texi:16615
  24541. msgid "The configuration for a typical ``desktop'' usage, with an encrypted root partition, a swap file on the root partition, the X11 display server, GNOME and Xfce (users can choose which of these desktop environments to use at the log-in screen by pressing @kbd{F1}), network management, power management, and more, would look like this:"
  24542. msgstr ""
  24543. #. type: include
  24544. #: guix-git/doc/guix.texi:16617
  24545. #, no-wrap
  24546. msgid "os-config-desktop.texi"
  24547. msgstr "os-config-desktop.texi"
  24548. #. type: Plain text
  24549. #: guix-git/doc/guix.texi:16622
  24550. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  24551. msgstr "Um sistema gráfico com uma escolha de gerenciadores de janelas leves em vez de ambientes de desktop completos teria a seguinte aparência:"
  24552. #. type: include
  24553. #: guix-git/doc/guix.texi:16624
  24554. #, no-wrap
  24555. msgid "os-config-lightweight-desktop.texi"
  24556. msgstr "os-config-lightweight-desktop.texi"
  24557. #. type: Plain text
  24558. #: guix-git/doc/guix.texi:16630
  24559. msgid "This example refers to the @file{/boot/efi} file system by its UUID, @code{1234-ABCD}. Replace this UUID with the right UUID on your system, as returned by the @command{blkid} command."
  24560. msgstr "Este exemplo faz referência ao sistema de arquivos @file{/boot/efi} por seu UUID, @code{1234-ABCD}. Substitua esse UUID pelo UUID correto no seu sistema, conforme retornado pelo comando @command{blkid}."
  24561. #. type: Plain text
  24562. #: guix-git/doc/guix.texi:16634
  24563. msgid "@xref{Desktop Services}, for the exact list of services provided by @code{%desktop-services}. @xref{X.509 Certificates}, for background information about the @code{nss-certs} package that is used here."
  24564. msgstr ""
  24565. #. type: Plain text
  24566. #: guix-git/doc/guix.texi:16641
  24567. msgid "Again, @code{%desktop-services} is just a list of service objects. If you want to remove services from there, you can do so using the procedures for list filtering (@pxref{SRFI-1 Filtering and Partitioning,,, guile, GNU Guile Reference Manual}). For instance, the following expression returns a list that contains all the services in @code{%desktop-services} minus the Avahi service:"
  24568. msgstr ""
  24569. #. type: lisp
  24570. #: guix-git/doc/guix.texi:16646
  24571. #, no-wrap
  24572. msgid ""
  24573. "(remove (lambda (service)\n"
  24574. " (eq? (service-kind service) avahi-service-type))\n"
  24575. " %desktop-services)\n"
  24576. msgstr ""
  24577. #. type: Plain text
  24578. #: guix-git/doc/guix.texi:16649
  24579. msgid "Alternatively, the @code{modify-services} macro can be used:"
  24580. msgstr ""
  24581. #. type: lisp
  24582. #: guix-git/doc/guix.texi:16653
  24583. #, no-wrap
  24584. msgid ""
  24585. "(modify-services %desktop-services\n"
  24586. " (delete avahi-service-type))\n"
  24587. msgstr ""
  24588. #. type: unnumberedsubsec
  24589. #: guix-git/doc/guix.texi:16656
  24590. #, no-wrap
  24591. msgid "Instantiating the System"
  24592. msgstr ""
  24593. #. type: Plain text
  24594. #: guix-git/doc/guix.texi:16663
  24595. msgid "Assuming the @code{operating-system} declaration is stored in the @file{my-system-config.scm} file, the @command{guix system reconfigure my-system-config.scm} command instantiates that configuration, and makes it the default GRUB boot entry (@pxref{Invoking guix system})."
  24596. msgstr ""
  24597. #. type: quotation
  24598. #: guix-git/doc/guix.texi:16667
  24599. msgid "We recommend that you keep this @file{my-system-config.scm} file safe and under version control to easily track changes to your configuration."
  24600. msgstr ""
  24601. #. type: Plain text
  24602. #: guix-git/doc/guix.texi:16676
  24603. msgid "The normal way to change the system configuration is by updating this file and re-running @command{guix system reconfigure}. One should never have to touch files in @file{/etc} or to run commands that modify the system state such as @command{useradd} or @command{grub-install}. In fact, you must avoid that since that would not only void your warranty but also prevent you from rolling back to previous versions of your system, should you ever need to."
  24604. msgstr ""
  24605. #. type: cindex
  24606. #: guix-git/doc/guix.texi:16677
  24607. #, no-wrap
  24608. msgid "roll-back, of the operating system"
  24609. msgstr ""
  24610. #. type: Plain text
  24611. #: guix-git/doc/guix.texi:16687
  24612. msgid "Speaking of roll-back, each time you run @command{guix system reconfigure}, a new @dfn{generation} of the system is created---without modifying or deleting previous generations. Old system generations get an entry in the bootloader boot menu, allowing you to boot them in case something went wrong with the latest generation. Reassuring, no? The @command{guix system list-generations} command lists the system generations available on disk. It is also possible to roll back the system via the commands @command{guix system roll-back} and @command{guix system switch-generation}."
  24613. msgstr ""
  24614. #. type: Plain text
  24615. #: guix-git/doc/guix.texi:16693
  24616. msgid "Although the @command{guix system reconfigure} command will not modify previous generations, you must take care when the current generation is not the latest (e.g., after invoking @command{guix system roll-back}), since the operation might overwrite a later generation (@pxref{Invoking guix system})."
  24617. msgstr ""
  24618. #. type: unnumberedsubsec
  24619. #: guix-git/doc/guix.texi:16694
  24620. #, no-wrap
  24621. msgid "The Programming Interface"
  24622. msgstr ""
  24623. #. type: Plain text
  24624. #: guix-git/doc/guix.texi:16699
  24625. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  24626. msgstr ""
  24627. #. type: deffn
  24628. #: guix-git/doc/guix.texi:16700
  24629. #, no-wrap
  24630. msgid "{Monadic Procedure} operating-system-derivation os"
  24631. msgstr ""
  24632. #. type: deffn
  24633. #: guix-git/doc/guix.texi:16703
  24634. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  24635. msgstr ""
  24636. #. type: deffn
  24637. #: guix-git/doc/guix.texi:16707
  24638. msgid "The output of the derivation is a single directory that refers to all the packages, configuration files, and other supporting files needed to instantiate @var{os}."
  24639. msgstr ""
  24640. #. type: Plain text
  24641. #: guix-git/doc/guix.texi:16712
  24642. msgid "This procedure is provided by the @code{(gnu system)} module. Along with @code{(gnu services)} (@pxref{Services}), this module contains the guts of Guix System. Make sure to visit it!"
  24643. msgstr ""
  24644. #. type: section
  24645. #: guix-git/doc/guix.texi:16715
  24646. #, no-wrap
  24647. msgid "@code{operating-system} Reference"
  24648. msgstr ""
  24649. #. type: Plain text
  24650. #: guix-git/doc/guix.texi:16720
  24651. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  24652. msgstr ""
  24653. #. type: deftp
  24654. #: guix-git/doc/guix.texi:16721
  24655. #, no-wrap
  24656. msgid "{Data Type} operating-system"
  24657. msgstr ""
  24658. #. type: deftp
  24659. #: guix-git/doc/guix.texi:16725
  24660. msgid "This is the data type representing an operating system configuration. By that, we mean all the global system configuration, not per-user configuration (@pxref{Using the Configuration System})."
  24661. msgstr ""
  24662. #. type: item
  24663. #: guix-git/doc/guix.texi:16727
  24664. #, no-wrap
  24665. msgid "@code{kernel} (default: @code{linux-libre})"
  24666. msgstr ""
  24667. #. type: table
  24668. #: guix-git/doc/guix.texi:16732
  24669. msgid "The package object of the operating system kernel to use@footnote{Currently only the Linux-libre kernel is fully supported. Using GNU@tie{}mach with the GNU@tie{}Hurd is experimental and only available when building a virtual machine disk image.}."
  24670. msgstr ""
  24671. #. type: code{#1}
  24672. #: guix-git/doc/guix.texi:16733 guix-git/doc/guix.texi:35135
  24673. #, no-wrap
  24674. msgid "hurd"
  24675. msgstr ""
  24676. #. type: item
  24677. #: guix-git/doc/guix.texi:16734
  24678. #, no-wrap
  24679. msgid "@code{hurd} (default: @code{#f})"
  24680. msgstr ""
  24681. #. type: table
  24682. #: guix-git/doc/guix.texi:16739
  24683. msgid "The package object of the Hurd to be started by the kernel. When this field is set, produce a GNU/Hurd operating system. In that case, @code{kernel} must also be set to the @code{gnumach} package---the microkernel the Hurd runs on."
  24684. msgstr ""
  24685. #. type: quotation
  24686. #: guix-git/doc/guix.texi:16742
  24687. msgid "This feature is experimental and only supported for disk images."
  24688. msgstr ""
  24689. #. type: item
  24690. #: guix-git/doc/guix.texi:16744
  24691. #, no-wrap
  24692. msgid "@code{kernel-loadable-modules} (default: '())"
  24693. msgstr ""
  24694. #. type: table
  24695. #: guix-git/doc/guix.texi:16747
  24696. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  24697. msgstr ""
  24698. #. type: item
  24699. #: guix-git/doc/guix.texi:16748
  24700. #, no-wrap
  24701. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  24702. msgstr ""
  24703. #. type: table
  24704. #: guix-git/doc/guix.texi:16751
  24705. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  24706. msgstr ""
  24707. #. type: code{#1}
  24708. #: guix-git/doc/guix.texi:16752 guix-git/doc/guix.texi:39507
  24709. #: guix-git/doc/guix.texi:39526
  24710. #, no-wrap
  24711. msgid "bootloader"
  24712. msgstr ""
  24713. #. type: table
  24714. #: guix-git/doc/guix.texi:16754
  24715. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  24716. msgstr ""
  24717. #. type: code{#1}
  24718. #: guix-git/doc/guix.texi:16755 guix-git/doc/guix.texi:39749
  24719. #: guix-git/doc/guix.texi:44410
  24720. #, no-wrap
  24721. msgid "label"
  24722. msgstr "rótulo"
  24723. #. type: table
  24724. #: guix-git/doc/guix.texi:16758
  24725. msgid "This is the label (a string) as it appears in the bootloader's menu entry. The default label includes the kernel name and version."
  24726. msgstr ""
  24727. #. type: item
  24728. #: guix-git/doc/guix.texi:16759 guix-git/doc/guix.texi:18619
  24729. #: guix-git/doc/guix.texi:22454 guix-git/doc/guix.texi:39670
  24730. #, no-wrap
  24731. msgid "@code{keyboard-layout} (default: @code{#f})"
  24732. msgstr "@code{keyboard-layout} (default: @code{#f})"
  24733. #. type: table
  24734. #: guix-git/doc/guix.texi:16764
  24735. msgid "This field specifies the keyboard layout to use in the console. It can be either @code{#f}, in which case the default keyboard layout is used (usually US English), or a @code{<keyboard-layout>} record. @xref{Keyboard Layout}, for more information."
  24736. msgstr ""
  24737. #. type: table
  24738. #: guix-git/doc/guix.texi:16769
  24739. msgid "This keyboard layout is in effect as soon as the kernel has booted. For instance, it is the keyboard layout in effect when you type a passphrase if your root file system is on a @code{luks-device-mapping} mapped device (@pxref{Mapped Devices})."
  24740. msgstr ""
  24741. #. type: quotation
  24742. #: guix-git/doc/guix.texi:16776
  24743. msgid "This does @emph{not} specify the keyboard layout used by the bootloader, nor that used by the graphical display server. @xref{Bootloader Configuration}, for information on how to specify the bootloader's keyboard layout. @xref{X Window}, for information on how to specify the keyboard layout used by the X Window System."
  24744. msgstr ""
  24745. #. type: item
  24746. #: guix-git/doc/guix.texi:16778
  24747. #, no-wrap
  24748. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  24749. msgstr ""
  24750. #. type: cindex
  24751. #: guix-git/doc/guix.texi:16779 guix-git/doc/guix.texi:39300
  24752. #: guix-git/doc/guix.texi:39433
  24753. #, no-wrap
  24754. msgid "initrd"
  24755. msgstr ""
  24756. #. type: cindex
  24757. #: guix-git/doc/guix.texi:16780 guix-git/doc/guix.texi:39301
  24758. #: guix-git/doc/guix.texi:39434
  24759. #, no-wrap
  24760. msgid "initial RAM disk"
  24761. msgstr ""
  24762. #. type: table
  24763. #: guix-git/doc/guix.texi:16783
  24764. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  24765. msgstr ""
  24766. #. type: item
  24767. #: guix-git/doc/guix.texi:16784
  24768. #, no-wrap
  24769. msgid "@code{initrd} (default: @code{base-initrd})"
  24770. msgstr ""
  24771. #. type: table
  24772. #: guix-git/doc/guix.texi:16788
  24773. msgid "A procedure that returns an initial RAM disk for the Linux kernel. This field is provided to support low-level customization and should rarely be needed for casual use. @xref{Initial RAM Disk}."
  24774. msgstr ""
  24775. #. type: item
  24776. #: guix-git/doc/guix.texi:16789
  24777. #, no-wrap
  24778. msgid "@code{firmware} (default: @code{%base-firmware})"
  24779. msgstr ""
  24780. #. type: cindex
  24781. #: guix-git/doc/guix.texi:16790
  24782. #, no-wrap
  24783. msgid "firmware"
  24784. msgstr ""
  24785. #. type: table
  24786. #: guix-git/doc/guix.texi:16792
  24787. msgid "List of firmware packages loadable by the operating system kernel."
  24788. msgstr ""
  24789. #. type: table
  24790. #: guix-git/doc/guix.texi:16797
  24791. msgid "The default includes firmware needed for Atheros- and Broadcom-based WiFi devices (Linux-libre modules @code{ath9k} and @code{b43-open}, respectively). @xref{Hardware Considerations}, for more info on supported hardware."
  24792. msgstr ""
  24793. #. type: code{#1}
  24794. #: guix-git/doc/guix.texi:16798 guix-git/doc/guix.texi:40688
  24795. #, no-wrap
  24796. msgid "host-name"
  24797. msgstr ""
  24798. #. type: table
  24799. #: guix-git/doc/guix.texi:16800
  24800. msgid "The host name."
  24801. msgstr ""
  24802. #. type: item
  24803. #: guix-git/doc/guix.texi:16801
  24804. #, no-wrap
  24805. msgid "@code{mapped-devices} (default: @code{'()})"
  24806. msgstr ""
  24807. #. type: table
  24808. #: guix-git/doc/guix.texi:16803
  24809. msgid "A list of mapped devices. @xref{Mapped Devices}."
  24810. msgstr ""
  24811. #. type: code{#1}
  24812. #: guix-git/doc/guix.texi:16804
  24813. #, no-wrap
  24814. msgid "file-systems"
  24815. msgstr ""
  24816. #. type: table
  24817. #: guix-git/doc/guix.texi:16806
  24818. msgid "A list of file systems. @xref{File Systems}."
  24819. msgstr ""
  24820. #. type: item
  24821. #: guix-git/doc/guix.texi:16807
  24822. #, no-wrap
  24823. msgid "@code{swap-devices} (default: @code{'()})"
  24824. msgstr ""
  24825. #. type: cindex
  24826. #: guix-git/doc/guix.texi:16808
  24827. #, no-wrap
  24828. msgid "swap devices"
  24829. msgstr ""
  24830. #. type: table
  24831. #: guix-git/doc/guix.texi:16810
  24832. msgid "A list of swap spaces. @xref{Swap Space}."
  24833. msgstr ""
  24834. #. type: item
  24835. #: guix-git/doc/guix.texi:16811
  24836. #, no-wrap
  24837. msgid "@code{users} (default: @code{%base-user-accounts})"
  24838. msgstr ""
  24839. #. type: itemx
  24840. #: guix-git/doc/guix.texi:16812
  24841. #, no-wrap
  24842. msgid "@code{groups} (default: @code{%base-groups})"
  24843. msgstr ""
  24844. #. type: table
  24845. #: guix-git/doc/guix.texi:16814
  24846. msgid "List of user accounts and groups. @xref{User Accounts}."
  24847. msgstr ""
  24848. #. type: table
  24849. #: guix-git/doc/guix.texi:16817
  24850. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  24851. msgstr ""
  24852. #. type: item
  24853. #: guix-git/doc/guix.texi:16818
  24854. #, no-wrap
  24855. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  24856. msgstr ""
  24857. #. type: table
  24858. #: guix-git/doc/guix.texi:16822
  24859. msgid "A list of target file name/file-like object tuples (@pxref{G-Expressions, file-like objects}). These are the skeleton files that will be added to the home directory of newly-created user accounts."
  24860. msgstr ""
  24861. #. type: table
  24862. #: guix-git/doc/guix.texi:16824
  24863. msgid "For instance, a valid value may look like this:"
  24864. msgstr ""
  24865. #. type: lisp
  24866. #: guix-git/doc/guix.texi:16830
  24867. #, no-wrap
  24868. msgid ""
  24869. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  24870. " (\".guile\" ,(plain-file \"guile\"\n"
  24871. " \"(use-modules (ice-9 readline))\n"
  24872. " (activate-readline)\")))\n"
  24873. msgstr ""
  24874. #. type: item
  24875. #: guix-git/doc/guix.texi:16832
  24876. #, no-wrap
  24877. msgid "@code{issue} (default: @code{%default-issue})"
  24878. msgstr ""
  24879. #. type: table
  24880. #: guix-git/doc/guix.texi:16835
  24881. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  24882. msgstr ""
  24883. #. type: item
  24884. #: guix-git/doc/guix.texi:16836
  24885. #, no-wrap
  24886. msgid "@code{packages} (default: @code{%base-packages})"
  24887. msgstr ""
  24888. #. type: table
  24889. #: guix-git/doc/guix.texi:16840
  24890. msgid "A list of packages to be installed in the global profile, which is accessible at @file{/run/current-system/profile}. Each element is either a package variable or a package/output tuple. Here's a simple example of both:"
  24891. msgstr ""
  24892. #. type: lisp
  24893. #: guix-git/doc/guix.texi:16845
  24894. #, no-wrap
  24895. msgid ""
  24896. "(cons* git ; the default \"out\" output\n"
  24897. " (list git \"send-email\") ; another output of git\n"
  24898. " %base-packages) ; the default set\n"
  24899. msgstr ""
  24900. #. type: table
  24901. #: guix-git/doc/guix.texi:16850
  24902. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  24903. msgstr ""
  24904. #. type: item
  24905. #: guix-git/doc/guix.texi:16851
  24906. #, fuzzy, no-wrap
  24907. #| msgid "@code{device} (default: @code{#f})"
  24908. msgid "@code{timezone} (default: @code{\"Etc/UTC\"})"
  24909. msgstr "@code{device} (default: @code{#f})"
  24910. #. type: table
  24911. #: guix-git/doc/guix.texi:16853
  24912. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  24913. msgstr ""
  24914. #. type: table
  24915. #: guix-git/doc/guix.texi:16857
  24916. msgid "You can run the @command{tzselect} command to find out which timezone string corresponds to your region. Choosing an invalid timezone name causes @command{guix system} to fail."
  24917. msgstr ""
  24918. #. type: item
  24919. #: guix-git/doc/guix.texi:16858 guix-git/doc/guix.texi:24694
  24920. #, no-wrap
  24921. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  24922. msgstr ""
  24923. #. type: table
  24924. #: guix-git/doc/guix.texi:16861
  24925. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  24926. msgstr ""
  24927. #. type: item
  24928. #: guix-git/doc/guix.texi:16862
  24929. #, no-wrap
  24930. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  24931. msgstr ""
  24932. #. type: table
  24933. #: guix-git/doc/guix.texi:16865
  24934. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  24935. msgstr ""
  24936. #. type: item
  24937. #: guix-git/doc/guix.texi:16866
  24938. #, no-wrap
  24939. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  24940. msgstr ""
  24941. #. type: table
  24942. #: guix-git/doc/guix.texi:16870
  24943. msgid "The list of GNU@tie{}libc packages whose locale data and tools are used to build the locale definitions. @xref{Locales}, for compatibility considerations that justify this option."
  24944. msgstr ""
  24945. #. type: item
  24946. #: guix-git/doc/guix.texi:16871
  24947. #, no-wrap
  24948. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  24949. msgstr ""
  24950. #. type: table
  24951. #: guix-git/doc/guix.texi:16875
  24952. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  24953. msgstr ""
  24954. #. type: item
  24955. #: guix-git/doc/guix.texi:16876
  24956. #, no-wrap
  24957. msgid "@code{services} (default: @code{%base-services})"
  24958. msgstr ""
  24959. #. type: table
  24960. #: guix-git/doc/guix.texi:16878
  24961. msgid "A list of service objects denoting system services. @xref{Services}."
  24962. msgstr ""
  24963. #. type: anchor{#1}
  24964. #: guix-git/doc/guix.texi:16880
  24965. #, fuzzy
  24966. #| msgid "operating-system Reference"
  24967. msgid "operating-system-essential-services"
  24968. msgstr "Referência do operating-system"
  24969. #. type: cindex
  24970. #: guix-git/doc/guix.texi:16880
  24971. #, no-wrap
  24972. msgid "essential services"
  24973. msgstr ""
  24974. #. type: item
  24975. #: guix-git/doc/guix.texi:16881
  24976. #, no-wrap
  24977. msgid "@code{essential-services} (default: ...)"
  24978. msgstr ""
  24979. #. type: table
  24980. #: guix-git/doc/guix.texi:16887
  24981. msgid "The list of ``essential services''---i.e., things like instances of @code{system-service-type} (@pxref{Service Reference}) and @code{host-name-service-type}, which are derived from the operating system definition itself. As a user you should @emph{never} need to touch this field."
  24982. msgstr ""
  24983. #. type: item
  24984. #: guix-git/doc/guix.texi:16888
  24985. #, no-wrap
  24986. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  24987. msgstr ""
  24988. #. type: cindex
  24989. #: guix-git/doc/guix.texi:16889
  24990. #, no-wrap
  24991. msgid "PAM"
  24992. msgstr ""
  24993. #. type: cindex
  24994. #: guix-git/doc/guix.texi:16890
  24995. #, no-wrap
  24996. msgid "pluggable authentication modules"
  24997. msgstr ""
  24998. #. type: table
  24999. #: guix-git/doc/guix.texi:16893
  25000. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  25001. msgstr ""
  25002. #. type: item
  25003. #: guix-git/doc/guix.texi:16894
  25004. #, no-wrap
  25005. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  25006. msgstr ""
  25007. #. type: table
  25008. #: guix-git/doc/guix.texi:16897
  25009. msgid "List of @code{<setuid-program>}. @xref{Setuid Programs}, for more information."
  25010. msgstr ""
  25011. #. type: item
  25012. #: guix-git/doc/guix.texi:16898
  25013. #, no-wrap
  25014. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  25015. msgstr ""
  25016. #. type: cindex
  25017. #: guix-git/doc/guix.texi:16899
  25018. #, no-wrap
  25019. msgid "sudoers file"
  25020. msgstr ""
  25021. #. type: table
  25022. #: guix-git/doc/guix.texi:16902
  25023. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  25024. msgstr ""
  25025. #. type: table
  25026. #: guix-git/doc/guix.texi:16907
  25027. msgid "This file specifies which users can use the @command{sudo} command, what they are allowed to do, and what privileges they may gain. The default is that only @code{root} and members of the @code{wheel} group may use @code{sudo}."
  25028. msgstr ""
  25029. #. type: defmac
  25030. #: guix-git/doc/guix.texi:16910
  25031. #, fuzzy, no-wrap
  25032. #| msgid "operating-system"
  25033. msgid "this-operating-system"
  25034. msgstr "sistema operacional"
  25035. #. type: defmac
  25036. #: guix-git/doc/guix.texi:16913
  25037. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  25038. msgstr ""
  25039. #. type: defmac
  25040. #: guix-git/doc/guix.texi:16916
  25041. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  25042. msgstr ""
  25043. #. type: lisp
  25044. #: guix-git/doc/guix.texi:16919
  25045. #, no-wrap
  25046. msgid ""
  25047. "(use-modules (gnu) (guix))\n"
  25048. "\n"
  25049. msgstr ""
  25050. #. type: lisp
  25051. #: guix-git/doc/guix.texi:16924
  25052. #, no-wrap
  25053. msgid ""
  25054. "(operating-system\n"
  25055. " ;; ...\n"
  25056. " (label (package-full-name\n"
  25057. " (operating-system-kernel this-operating-system))))\n"
  25058. msgstr ""
  25059. #. type: defmac
  25060. #: guix-git/doc/guix.texi:16928
  25061. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  25062. msgstr ""
  25063. #. type: Plain text
  25064. #: guix-git/doc/guix.texi:16939
  25065. msgid "The list of file systems to be mounted is specified in the @code{file-systems} field of the operating system declaration (@pxref{Using the Configuration System}). Each file system is declared using the @code{file-system} form, like this:"
  25066. msgstr ""
  25067. #. type: lisp
  25068. #: guix-git/doc/guix.texi:16945
  25069. #, no-wrap
  25070. msgid ""
  25071. "(file-system\n"
  25072. " (mount-point \"/home\")\n"
  25073. " (device \"/dev/sda3\")\n"
  25074. " (type \"ext4\"))\n"
  25075. msgstr ""
  25076. #. type: Plain text
  25077. #: guix-git/doc/guix.texi:16949
  25078. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  25079. msgstr ""
  25080. #. type: deftp
  25081. #: guix-git/doc/guix.texi:16950
  25082. #, no-wrap
  25083. msgid "{Data Type} file-system"
  25084. msgstr ""
  25085. #. type: deftp
  25086. #: guix-git/doc/guix.texi:16953
  25087. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  25088. msgstr ""
  25089. #. type: code{#1}
  25090. #: guix-git/doc/guix.texi:16955 guix-git/doc/guix.texi:17345
  25091. #: guix-git/doc/guix.texi:20033 guix-git/doc/guix.texi:37886
  25092. #, no-wrap
  25093. msgid "type"
  25094. msgstr "tipo"
  25095. #. type: table
  25096. #: guix-git/doc/guix.texi:16958
  25097. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  25098. msgstr ""
  25099. #. type: code{#1}
  25100. #: guix-git/doc/guix.texi:16959
  25101. #, no-wrap
  25102. msgid "mount-point"
  25103. msgstr ""
  25104. #. type: table
  25105. #: guix-git/doc/guix.texi:16961
  25106. msgid "This designates the place where the file system is to be mounted."
  25107. msgstr ""
  25108. #. type: item
  25109. #: guix-git/doc/guix.texi:16962 guix-git/doc/guix.texi:19983
  25110. #, no-wrap
  25111. msgid "device"
  25112. msgstr ""
  25113. #. type: table
  25114. #: guix-git/doc/guix.texi:16972
  25115. msgid "This names the ``source'' of the file system. It can be one of three things: a file system label, a file system UUID, or the name of a @file{/dev} node. Labels and UUIDs offer a way to refer to file systems without having to hard-code their actual device name@footnote{Note that, while it is tempting to use @file{/dev/disk/by-uuid} and similar device names to achieve the same result, this is not recommended: These special device nodes are created by the udev daemon and may be unavailable at the time the device is mounted.}."
  25116. msgstr ""
  25117. #. type: findex
  25118. #: guix-git/doc/guix.texi:16973
  25119. #, no-wrap
  25120. msgid "file-system-label"
  25121. msgstr ""
  25122. #. type: table
  25123. #: guix-git/doc/guix.texi:16978
  25124. msgid "File system labels are created using the @code{file-system-label} procedure, UUIDs are created using @code{uuid}, and @file{/dev} node are plain strings. Here's an example of a file system referred to by its label, as shown by the @command{e2label} command:"
  25125. msgstr ""
  25126. #. type: lisp
  25127. #: guix-git/doc/guix.texi:16984
  25128. #, no-wrap
  25129. msgid ""
  25130. "(file-system\n"
  25131. " (mount-point \"/home\")\n"
  25132. " (type \"ext4\")\n"
  25133. " (device (file-system-label \"my-home\")))\n"
  25134. msgstr ""
  25135. #. type: code{#1}
  25136. #: guix-git/doc/guix.texi:16986 guix-git/doc/guix.texi:37607
  25137. #: guix-git/doc/guix.texi:37623
  25138. #, no-wrap
  25139. msgid "uuid"
  25140. msgstr "uuid"
  25141. #. type: table
  25142. #: guix-git/doc/guix.texi:16994
  25143. msgid "UUIDs are converted from their string representation (as shown by the @command{tune2fs -l} command) using the @code{uuid} form@footnote{The @code{uuid} form expects 16-byte UUIDs as defined in @uref{https://tools.ietf.org/html/rfc4122, RFC@tie{}4122}. This is the form of UUID used by the ext2 family of file systems and others, but it is different from ``UUIDs'' found in FAT file systems, for instance.}, like this:"
  25144. msgstr ""
  25145. #. type: lisp
  25146. #: guix-git/doc/guix.texi:17000
  25147. #, no-wrap
  25148. msgid ""
  25149. "(file-system\n"
  25150. " (mount-point \"/home\")\n"
  25151. " (type \"ext4\")\n"
  25152. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  25153. msgstr ""
  25154. #. type: table
  25155. #: guix-git/doc/guix.texi:17008
  25156. msgid "When the source of a file system is a mapped device (@pxref{Mapped Devices}), its @code{device} field @emph{must} refer to the mapped device name---e.g., @file{\"/dev/mapper/root-partition\"}. This is required so that the system knows that mounting the file system depends on having the corresponding device mapping established."
  25157. msgstr ""
  25158. #. type: item
  25159. #: guix-git/doc/guix.texi:17009 guix-git/doc/guix.texi:44419
  25160. #, no-wrap
  25161. msgid "@code{flags} (default: @code{'()})"
  25162. msgstr ""
  25163. #. type: table
  25164. #: guix-git/doc/guix.texi:17021
  25165. msgid "This is a list of symbols denoting mount flags. Recognized flags include @code{read-only}, @code{bind-mount}, @code{no-dev} (disallow access to special files), @code{no-suid} (ignore setuid and setgid bits), @code{no-atime} (do not update file access times), @code{no-diratime} (likewise for directories only), @code{strict-atime} (update file access time), @code{lazy-time} (only update time on the in-memory version of the file inode), @code{no-exec} (disallow program execution), and @code{shared} (make the mount shared). @xref{Mount-Unmount-Remount,,, libc, The GNU C Library Reference Manual}, for more information on these flags."
  25166. msgstr ""
  25167. #. type: item
  25168. #: guix-git/doc/guix.texi:17022
  25169. #, no-wrap
  25170. msgid "@code{options} (default: @code{#f})"
  25171. msgstr "@code{options} (default: @code{#f})"
  25172. #. type: table
  25173. #: guix-git/doc/guix.texi:17026
  25174. msgid "This is either @code{#f}, or a string denoting mount options passed to the file system driver. @xref{Mount-Unmount-Remount,,, libc, The GNU C Library Reference Manual}, for details."
  25175. msgstr ""
  25176. #. type: table
  25177. #: guix-git/doc/guix.texi:17030
  25178. msgid "Run @command{man 8 mount} for options for various file systems, but beware that what it lists as file-system-independent ``mount options'' are in fact flags, and belong in the @code{flags} field described above."
  25179. msgstr ""
  25180. #. type: table
  25181. #: guix-git/doc/guix.texi:17035
  25182. msgid "The @code{file-system-options->alist} and @code{alist->file-system-options} procedures from @code{(gnu system file-systems)} can be used to convert file system options given as an association list to the string representation, and vice-versa."
  25183. msgstr ""
  25184. #. type: item
  25185. #: guix-git/doc/guix.texi:17036
  25186. #, no-wrap
  25187. msgid "@code{mount?} (default: @code{#t})"
  25188. msgstr "@code{mount?} (default: @code{#t})"
  25189. #. type: table
  25190. #: guix-git/doc/guix.texi:17041
  25191. msgid "This value indicates whether to automatically mount the file system when the system is brought up. When set to @code{#f}, the file system gets an entry in @file{/etc/fstab} (read by the @command{mount} command) but is not automatically mounted."
  25192. msgstr ""
  25193. #. type: item
  25194. #: guix-git/doc/guix.texi:17042
  25195. #, no-wrap
  25196. msgid "@code{needed-for-boot?} (default: @code{#f})"
  25197. msgstr ""
  25198. #. type: table
  25199. #: guix-git/doc/guix.texi:17047
  25200. msgid "This Boolean value indicates whether the file system is needed when booting. If that is true, then the file system is mounted when the initial RAM disk (initrd) is loaded. This is always the case, for instance, for the root file system."
  25201. msgstr ""
  25202. #. type: item
  25203. #: guix-git/doc/guix.texi:17048
  25204. #, no-wrap
  25205. msgid "@code{check?} (default: @code{#t})"
  25206. msgstr "@code{check?} (padrão: @code{#t})"
  25207. #. type: table
  25208. #: guix-git/doc/guix.texi:17052
  25209. msgid "This Boolean indicates whether the file system should be checked for errors before being mounted. How and when this happens can be further adjusted with the following options."
  25210. msgstr ""
  25211. #. type: item
  25212. #: guix-git/doc/guix.texi:17053
  25213. #, fuzzy, no-wrap
  25214. #| msgid "@code{check?} (default: @code{#t})"
  25215. msgid "@code{skip-check-if-clean?} (default: @code{#t})"
  25216. msgstr "@code{check?} (padrão: @code{#t})"
  25217. #. type: table
  25218. #: guix-git/doc/guix.texi:17058
  25219. msgid "When true, this Boolean indicates that a file system check triggered by @code{check?} may exit early if the file system is marked as ``clean'', meaning that it was previously correctly unmounted and should not contain errors."
  25220. msgstr ""
  25221. #. type: table
  25222. #: guix-git/doc/guix.texi:17062
  25223. msgid "Setting this to false will always force a full consistency check when @code{check?} is true. This may take a very long time and is not recommended on healthy systems---in fact, it may reduce reliability!"
  25224. msgstr ""
  25225. #. type: table
  25226. #: guix-git/doc/guix.texi:17066
  25227. msgid "Conversely, some primitive file systems like @code{fat} do not keep track of clean shutdowns and will perform a full scan regardless of the value of this option."
  25228. msgstr ""
  25229. #. type: item
  25230. #: guix-git/doc/guix.texi:17067
  25231. #, fuzzy, no-wrap
  25232. #| msgid "@code{users} (default: @code{#f})"
  25233. msgid "@code{repair} (default: @code{'preen})"
  25234. msgstr "@code{users} (default: @code{#f})"
  25235. #. type: table
  25236. #: guix-git/doc/guix.texi:17070
  25237. msgid "When @code{check?} finds errors, it can (try to) repair them and continue booting. This option controls when and how to do so."
  25238. msgstr ""
  25239. #. type: table
  25240. #: guix-git/doc/guix.texi:17074
  25241. msgid "If false, try not to modify the file system at all. Checking certain file systems like @code{jfs} may still write to the device to replay the journal. No repairs will be attempted."
  25242. msgstr ""
  25243. #. type: table
  25244. #: guix-git/doc/guix.texi:17077
  25245. msgid "If @code{#t}, try to repair any errors found and assume ``yes'' to all questions. This will fix the most errors, but may be risky."
  25246. msgstr ""
  25247. #. type: table
  25248. #: guix-git/doc/guix.texi:17081
  25249. msgid "If @code{'preen}, repair only errors that are safe to fix without human interaction. What that means is left up to the developers of each file system and may be equivalent to ``none'' or ``all''."
  25250. msgstr ""
  25251. #. type: item
  25252. #: guix-git/doc/guix.texi:17082
  25253. #, no-wrap
  25254. msgid "@code{create-mount-point?} (default: @code{#f})"
  25255. msgstr ""
  25256. #. type: table
  25257. #: guix-git/doc/guix.texi:17084
  25258. msgid "When true, the mount point is created if it does not exist yet."
  25259. msgstr ""
  25260. #. type: item
  25261. #: guix-git/doc/guix.texi:17085
  25262. #, no-wrap
  25263. msgid "@code{mount-may-fail?} (default: @code{#f})"
  25264. msgstr ""
  25265. #. type: table
  25266. #: guix-git/doc/guix.texi:17090
  25267. msgid "When true, this indicates that mounting this file system can fail but that should not be considered an error. This is useful in unusual cases; an example of this is @code{efivarfs}, a file system that can only be mounted on EFI/UEFI systems."
  25268. msgstr ""
  25269. #. type: table
  25270. #: guix-git/doc/guix.texi:17095
  25271. msgid "This is a list of @code{<file-system>} or @code{<mapped-device>} objects representing file systems that must be mounted or mapped devices that must be opened before (and unmounted or closed after) this one."
  25272. msgstr ""
  25273. #. type: table
  25274. #: guix-git/doc/guix.texi:17099
  25275. msgid "As an example, consider a hierarchy of mounts: @file{/sys/fs/cgroup} is a dependency of @file{/sys/fs/cgroup/cpu} and @file{/sys/fs/cgroup/memory}."
  25276. msgstr ""
  25277. #. type: table
  25278. #: guix-git/doc/guix.texi:17102
  25279. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  25280. msgstr ""
  25281. #. type: defun
  25282. #: guix-git/doc/guix.texi:17105
  25283. #, fuzzy, no-wrap
  25284. #| msgid "--list-transitive"
  25285. msgid "file-system-label str"
  25286. msgstr "--list-transitive"
  25287. #. type: defun
  25288. #: guix-git/doc/guix.texi:17108
  25289. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  25290. msgstr ""
  25291. #. type: lisp
  25292. #: guix-git/doc/guix.texi:17112
  25293. #, no-wrap
  25294. msgid ""
  25295. "(file-system-label \"home\")\n"
  25296. "@result{} #<file-system-label \"home\">\n"
  25297. msgstr ""
  25298. #. type: defun
  25299. #: guix-git/doc/guix.texi:17116
  25300. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  25301. msgstr ""
  25302. #. type: Plain text
  25303. #: guix-git/doc/guix.texi:17120
  25304. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  25305. msgstr ""
  25306. #. type: defvar
  25307. #: guix-git/doc/guix.texi:17121
  25308. #, fuzzy, no-wrap
  25309. #| msgid "--list-transitive"
  25310. msgid "%base-file-systems"
  25311. msgstr "--list-transitive"
  25312. #. type: defvar
  25313. #: guix-git/doc/guix.texi:17126
  25314. msgid "These are essential file systems that are required on normal systems, such as @code{%pseudo-terminal-file-system} and @code{%immutable-store} (see below). Operating system declarations should always contain at least these."
  25315. msgstr ""
  25316. #. type: defvar
  25317. #: guix-git/doc/guix.texi:17128
  25318. #, no-wrap
  25319. msgid "%pseudo-terminal-file-system"
  25320. msgstr ""
  25321. #. type: defvar
  25322. #: guix-git/doc/guix.texi:17134
  25323. msgid "This is the file system to be mounted as @file{/dev/pts}. It supports @dfn{pseudo-terminals} created @i{via} @code{openpty} and similar functions (@pxref{Pseudo-Terminals,,, libc, The GNU C Library Reference Manual}). Pseudo-terminals are used by terminal emulators such as @command{xterm}."
  25324. msgstr ""
  25325. #. type: defvar
  25326. #: guix-git/doc/guix.texi:17136
  25327. #, no-wrap
  25328. msgid "%shared-memory-file-system"
  25329. msgstr ""
  25330. #. type: defvar
  25331. #: guix-git/doc/guix.texi:17140
  25332. msgid "This file system is mounted as @file{/dev/shm} and is used to support memory sharing across processes (@pxref{Memory-mapped I/O, @code{shm_open},, libc, The GNU C Library Reference Manual})."
  25333. msgstr ""
  25334. #. type: defvar
  25335. #: guix-git/doc/guix.texi:17142
  25336. #, no-wrap
  25337. msgid "%immutable-store"
  25338. msgstr ""
  25339. #. type: defvar
  25340. #: guix-git/doc/guix.texi:17147
  25341. msgid "This file system performs a read-only ``bind mount'' of @file{/gnu/store}, making it read-only for all the users including @code{root}. This prevents against accidental modification by software running as @code{root} or by system administrators."
  25342. msgstr ""
  25343. #. type: defvar
  25344. #: guix-git/doc/guix.texi:17150
  25345. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  25346. msgstr ""
  25347. #. type: defvar
  25348. #: guix-git/doc/guix.texi:17152
  25349. #, no-wrap
  25350. msgid "%binary-format-file-system"
  25351. msgstr ""
  25352. #. type: defvar
  25353. #: guix-git/doc/guix.texi:17156
  25354. msgid "The @code{binfmt_misc} file system, which allows handling of arbitrary executable file types to be delegated to user space. This requires the @code{binfmt.ko} kernel module to be loaded."
  25355. msgstr ""
  25356. #. type: defvar
  25357. #: guix-git/doc/guix.texi:17158
  25358. #, no-wrap
  25359. msgid "%fuse-control-file-system"
  25360. msgstr ""
  25361. #. type: defvar
  25362. #: guix-git/doc/guix.texi:17162
  25363. msgid "The @code{fusectl} file system, which allows unprivileged users to mount and unmount user-space FUSE file systems. This requires the @code{fuse.ko} kernel module to be loaded."
  25364. msgstr ""
  25365. #. type: Plain text
  25366. #: guix-git/doc/guix.texi:17166
  25367. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  25368. msgstr ""
  25369. #. type: defun
  25370. #: guix-git/doc/guix.texi:17167
  25371. #, no-wrap
  25372. msgid "uuid str [type]"
  25373. msgstr ""
  25374. #. type: defun
  25375. #: guix-git/doc/guix.texi:17170
  25376. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  25377. msgstr ""
  25378. #. type: lisp
  25379. #: guix-git/doc/guix.texi:17174
  25380. #, no-wrap
  25381. msgid ""
  25382. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  25383. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  25384. "\n"
  25385. msgstr ""
  25386. #. type: lisp
  25387. #: guix-git/doc/guix.texi:17177
  25388. #, no-wrap
  25389. msgid ""
  25390. "(uuid \"1234-ABCD\" 'fat)\n"
  25391. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  25392. msgstr ""
  25393. #. type: defun
  25394. #: guix-git/doc/guix.texi:17181
  25395. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  25396. msgstr ""
  25397. #. type: defun
  25398. #: guix-git/doc/guix.texi:17184
  25399. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  25400. msgstr ""
  25401. #. type: Plain text
  25402. #: guix-git/doc/guix.texi:17198
  25403. msgid "The Btrfs has special features, such as subvolumes, that merit being explained in more details. The following section attempts to cover basic as well as complex uses of a Btrfs file system with the Guix System."
  25404. msgstr ""
  25405. #. type: Plain text
  25406. #: guix-git/doc/guix.texi:17201
  25407. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  25408. msgstr ""
  25409. #. type: lisp
  25410. #: guix-git/doc/guix.texi:17207
  25411. #, no-wrap
  25412. msgid ""
  25413. "(file-system\n"
  25414. " (mount-point \"/home\")\n"
  25415. " (type \"btrfs\")\n"
  25416. " (device (file-system-label \"my-home\")))\n"
  25417. msgstr ""
  25418. #. type: Plain text
  25419. #: guix-git/doc/guix.texi:17213
  25420. msgid "The example below is more complex, as it makes use of a Btrfs subvolume, named @code{rootfs}. The parent Btrfs file system is labeled @code{my-btrfs-pool}, and is located on an encrypted device (hence the dependency on @code{mapped-devices}):"
  25421. msgstr ""
  25422. #. type: lisp
  25423. #: guix-git/doc/guix.texi:17221
  25424. #, no-wrap
  25425. msgid ""
  25426. "(file-system\n"
  25427. " (device (file-system-label \"my-btrfs-pool\"))\n"
  25428. " (mount-point \"/\")\n"
  25429. " (type \"btrfs\")\n"
  25430. " (options \"subvol=rootfs\")\n"
  25431. " (dependencies mapped-devices))\n"
  25432. msgstr ""
  25433. #. type: Plain text
  25434. #: guix-git/doc/guix.texi:17232
  25435. msgid "Some bootloaders, for example GRUB, only mount a Btrfs partition at its top level during the early boot, and rely on their configuration to refer to the correct subvolume path within that top level. The bootloaders operating in this way typically produce their configuration on a running system where the Btrfs partitions are already mounted and where the subvolume information is readily available. As an example, @command{grub-mkconfig}, the configuration generator command shipped with GRUB, reads @file{/proc/self/mountinfo} to determine the top-level path of a subvolume."
  25436. msgstr ""
  25437. #. type: Plain text
  25438. #: guix-git/doc/guix.texi:17240
  25439. msgid "The Guix System produces a bootloader configuration using the operating system configuration as its sole input; it is therefore necessary to extract the subvolume name on which @file{/gnu/store} lives (if any) from that operating system configuration. To better illustrate, consider a subvolume named 'rootfs' which contains the root file system data. In such situation, the GRUB bootloader would only see the top level of the root Btrfs partition, e.g.:"
  25440. msgstr ""
  25441. #. type: example
  25442. #: guix-git/doc/guix.texi:17247
  25443. #, no-wrap
  25444. msgid ""
  25445. "/ (top level)\n"
  25446. "├── rootfs (subvolume directory)\n"
  25447. " ├── gnu (normal directory)\n"
  25448. " ├── store (normal directory)\n"
  25449. "[...]\n"
  25450. msgstr ""
  25451. #. type: Plain text
  25452. #: guix-git/doc/guix.texi:17252
  25453. msgid "Thus, the subvolume name must be prepended to the @file{/gnu/store} path of the kernel, initrd binaries and any other files referred to in the GRUB configuration that must be found during the early boot."
  25454. msgstr ""
  25455. #. type: Plain text
  25456. #: guix-git/doc/guix.texi:17255
  25457. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  25458. msgstr ""
  25459. #. type: example
  25460. #: guix-git/doc/guix.texi:17262
  25461. #, no-wrap
  25462. msgid ""
  25463. "/ (top level)\n"
  25464. "├── rootfs (subvolume)\n"
  25465. " ├── gnu (normal directory)\n"
  25466. " ├── store (subvolume)\n"
  25467. "[...]\n"
  25468. msgstr ""
  25469. #. type: Plain text
  25470. #: guix-git/doc/guix.texi:17269
  25471. msgid "This scenario would work without mounting the 'store' subvolume. Mounting 'rootfs' is sufficient, since the subvolume name matches its intended mount point in the file system hierarchy. Alternatively, the 'store' subvolume could be referred to by setting the @code{subvol} option to either @code{/rootfs/gnu/store} or @code{rootfs/gnu/store}."
  25472. msgstr ""
  25473. #. type: Plain text
  25474. #: guix-git/doc/guix.texi:17271
  25475. msgid "Finally, a more contrived example of nested subvolumes:"
  25476. msgstr ""
  25477. #. type: example
  25478. #: guix-git/doc/guix.texi:17278
  25479. #, no-wrap
  25480. msgid ""
  25481. "/ (top level)\n"
  25482. "├── root-snapshots (subvolume)\n"
  25483. " ├── root-current (subvolume)\n"
  25484. " ├── guix-store (subvolume)\n"
  25485. "[...]\n"
  25486. msgstr ""
  25487. #. type: Plain text
  25488. #: guix-git/doc/guix.texi:17285
  25489. msgid "Here, the 'guix-store' subvolume doesn't match its intended mount point, so it is necessary to mount it. The subvolume must be fully specified, by passing its file name to the @code{subvol} option. To illustrate, the 'guix-store' subvolume could be mounted on @file{/gnu/store} by using a file system declaration such as:"
  25490. msgstr ""
  25491. #. type: lisp
  25492. #: guix-git/doc/guix.texi:17293
  25493. #, no-wrap
  25494. msgid ""
  25495. "(file-system\n"
  25496. " (device (file-system-label \"btrfs-pool-1\"))\n"
  25497. " (mount-point \"/gnu/store\")\n"
  25498. " (type \"btrfs\")\n"
  25499. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  25500. "compress-force=zstd,space_cache=v2\"))\n"
  25501. msgstr ""
  25502. #. type: cindex
  25503. #: guix-git/doc/guix.texi:17298
  25504. #, no-wrap
  25505. msgid "device mapping"
  25506. msgstr ""
  25507. #. type: cindex
  25508. #: guix-git/doc/guix.texi:17299
  25509. #, no-wrap
  25510. msgid "mapped devices"
  25511. msgstr ""
  25512. #. type: Plain text
  25513. #: guix-git/doc/guix.texi:17316
  25514. msgid "The Linux kernel has a notion of @dfn{device mapping}: a block device, such as a hard disk partition, can be @dfn{mapped} into another device, usually in @code{/dev/mapper/}, with additional processing over the data that flows through it@footnote{Note that the GNU@tie{}Hurd makes no difference between the concept of a ``mapped device'' and that of a file system: both boil down to @emph{translating} input/output operations made on a file to operations on its backing store. Thus, the Hurd implements mapped devices, like file systems, using the generic @dfn{translator} mechanism (@pxref{Translators,,, hurd, The GNU Hurd Reference Manual}).}. A typical example is encryption device mapping: all writes to the mapped device are encrypted, and all reads are deciphered, transparently. Guix extends this notion by considering any device or set of devices that are @dfn{transformed} in some way to create a new device; for instance, RAID devices are obtained by @dfn{assembling} several other devices, such as hard disks or partitions, into a new one that behaves as one partition."
  25515. msgstr ""
  25516. #. type: Plain text
  25517. #: guix-git/doc/guix.texi:17319
  25518. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  25519. msgstr ""
  25520. #. type: deftp
  25521. #: guix-git/doc/guix.texi:17320
  25522. #, no-wrap
  25523. msgid "{Data Type} mapped-device"
  25524. msgstr ""
  25525. #. type: deftp
  25526. #: guix-git/doc/guix.texi:17323
  25527. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  25528. msgstr ""
  25529. #. type: table
  25530. #: guix-git/doc/guix.texi:17330
  25531. msgid "This is either a string specifying the name of the block device to be mapped, such as @code{\"/dev/sda3\"}, or a list of such strings when several devices need to be assembled for creating a new one. In case of LVM this is a string specifying name of the volume group to be mapped."
  25532. msgstr ""
  25533. #. type: code{#1}
  25534. #: guix-git/doc/guix.texi:17331 guix-git/doc/guix.texi:17499
  25535. #: guix-git/doc/guix.texi:44168
  25536. #, no-wrap
  25537. msgid "target"
  25538. msgstr ""
  25539. #. type: table
  25540. #: guix-git/doc/guix.texi:17340
  25541. msgid "This string specifies the name of the resulting mapped device. For kernel mappers such as encrypted devices of type @code{luks-device-mapping}, specifying @code{\"my-partition\"} leads to the creation of the @code{\"/dev/mapper/my-partition\"} device. For RAID devices of type @code{raid-device-mapping}, the full device name such as @code{\"/dev/md0\"} needs to be given. LVM logical volumes of type @code{lvm-device-mapping} need to be specified as @code{\"VGNAME-LVNAME\"}."
  25542. msgstr ""
  25543. #. type: code{#1}
  25544. #: guix-git/doc/guix.texi:17341 guix-git/doc/guix.texi:39641
  25545. #, no-wrap
  25546. msgid "targets"
  25547. msgstr ""
  25548. #. type: table
  25549. #: guix-git/doc/guix.texi:17344
  25550. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  25551. msgstr ""
  25552. #. type: table
  25553. #: guix-git/doc/guix.texi:17348
  25554. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  25555. msgstr ""
  25556. #. type: defvar
  25557. #: guix-git/doc/guix.texi:17351
  25558. #, no-wrap
  25559. msgid "luks-device-mapping"
  25560. msgstr ""
  25561. #. type: defvar
  25562. #: guix-git/doc/guix.texi:17355
  25563. msgid "This defines LUKS block device encryption using the @command{cryptsetup} command from the package with the same name. It relies on the @code{dm-crypt} Linux kernel module."
  25564. msgstr ""
  25565. #. type: defvar
  25566. #: guix-git/doc/guix.texi:17357
  25567. #, no-wrap
  25568. msgid "raid-device-mapping"
  25569. msgstr ""
  25570. #. type: defvar
  25571. #: guix-git/doc/guix.texi:17362
  25572. msgid "This defines a RAID device, which is assembled using the @code{mdadm} command from the package with the same name. It requires a Linux kernel module for the appropriate RAID level to be loaded, such as @code{raid456} for RAID-4, RAID-5 or RAID-6, or @code{raid10} for RAID-10."
  25573. msgstr ""
  25574. #. type: cindex
  25575. #: guix-git/doc/guix.texi:17364
  25576. #, no-wrap
  25577. msgid "LVM, logical volume manager"
  25578. msgstr ""
  25579. #. type: defvar
  25580. #: guix-git/doc/guix.texi:17365
  25581. #, no-wrap
  25582. msgid "lvm-device-mapping"
  25583. msgstr ""
  25584. #. type: defvar
  25585. #: guix-git/doc/guix.texi:17370
  25586. msgid "This defines one or more logical volumes for the Linux @uref{https://www.sourceware.org/lvm2/, Logical Volume Manager (LVM)}. The volume group is activated by the @command{vgchange} command from the @code{lvm2} package."
  25587. msgstr ""
  25588. #. type: cindex
  25589. #: guix-git/doc/guix.texi:17372
  25590. #, no-wrap
  25591. msgid "disk encryption"
  25592. msgstr ""
  25593. #. type: cindex
  25594. #: guix-git/doc/guix.texi:17373
  25595. #, no-wrap
  25596. msgid "LUKS"
  25597. msgstr "LUKS"
  25598. #. type: Plain text
  25599. #: guix-git/doc/guix.texi:17381
  25600. msgid "The following example specifies a mapping from @file{/dev/sda3} to @file{/dev/mapper/home} using LUKS---the @url{https://gitlab.com/cryptsetup/cryptsetup,Linux Unified Key Setup}, a standard mechanism for disk encryption. The @file{/dev/mapper/home} device can then be used as the @code{device} of a @code{file-system} declaration (@pxref{File Systems})."
  25601. msgstr ""
  25602. #. type: lisp
  25603. #: guix-git/doc/guix.texi:17387
  25604. #, no-wrap
  25605. msgid ""
  25606. "(mapped-device\n"
  25607. " (source \"/dev/sda3\")\n"
  25608. " (target \"home\")\n"
  25609. " (type luks-device-mapping))\n"
  25610. msgstr ""
  25611. #. type: Plain text
  25612. #: guix-git/doc/guix.texi:17392
  25613. msgid "Alternatively, to become independent of device numbering, one may obtain the LUKS UUID (@dfn{unique identifier}) of the source device by a command like:"
  25614. msgstr ""
  25615. #. type: example
  25616. #: guix-git/doc/guix.texi:17395
  25617. #, no-wrap
  25618. msgid "cryptsetup luksUUID /dev/sda3\n"
  25619. msgstr ""
  25620. #. type: Plain text
  25621. #: guix-git/doc/guix.texi:17398
  25622. msgid "and use it as follows:"
  25623. msgstr ""
  25624. #. type: lisp
  25625. #: guix-git/doc/guix.texi:17404
  25626. #, no-wrap
  25627. msgid ""
  25628. "(mapped-device\n"
  25629. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  25630. " (target \"home\")\n"
  25631. " (type luks-device-mapping))\n"
  25632. msgstr ""
  25633. #. type: cindex
  25634. #: guix-git/doc/guix.texi:17406
  25635. #, no-wrap
  25636. msgid "swap encryption"
  25637. msgstr ""
  25638. #. type: Plain text
  25639. #: guix-git/doc/guix.texi:17413
  25640. msgid "It is also desirable to encrypt swap space, since swap space may contain sensitive data. One way to accomplish that is to use a swap file in a file system on a device mapped via LUKS encryption. In this way, the swap file is encrypted because the entire device is encrypted. @xref{Swap Space}, or @xref{Preparing for Installation,,Disk Partitioning}, for an example."
  25641. msgstr ""
  25642. #. type: Plain text
  25643. #: guix-git/doc/guix.texi:17416
  25644. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  25645. msgstr ""
  25646. #. type: lisp
  25647. #: guix-git/doc/guix.texi:17422
  25648. #, no-wrap
  25649. msgid ""
  25650. "(mapped-device\n"
  25651. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  25652. " (target \"/dev/md0\")\n"
  25653. " (type raid-device-mapping))\n"
  25654. msgstr ""
  25655. #. type: Plain text
  25656. #: guix-git/doc/guix.texi:17429
  25657. msgid "The @file{/dev/md0} device can then be used as the @code{device} of a @code{file-system} declaration (@pxref{File Systems}). Note that the RAID level need not be given; it is chosen during the initial creation and formatting of the RAID device and is determined automatically later."
  25658. msgstr ""
  25659. #. type: Plain text
  25660. #: guix-git/doc/guix.texi:17432
  25661. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  25662. msgstr ""
  25663. #. type: lisp
  25664. #: guix-git/doc/guix.texi:17438
  25665. #, no-wrap
  25666. msgid ""
  25667. "(mapped-device\n"
  25668. " (source \"vg0\")\n"
  25669. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  25670. " (type lvm-device-mapping))\n"
  25671. msgstr ""
  25672. #. type: Plain text
  25673. #: guix-git/doc/guix.texi:17443
  25674. msgid "Devices @file{/dev/mapper/vg0-alpha} and @file{/dev/mapper/vg0-beta} can then be used as the @code{device} of a @code{file-system} declaration (@pxref{File Systems})."
  25675. msgstr ""
  25676. #. type: cindex
  25677. #: guix-git/doc/guix.texi:17446
  25678. #, no-wrap
  25679. msgid "swap space"
  25680. msgstr ""
  25681. #. type: Plain text
  25682. #: guix-git/doc/guix.texi:17456
  25683. msgid "Swap space, as it is commonly called, is a disk area specifically designated for paging: the process in charge of memory management (the Linux kernel or Hurd's default pager) can decide that some memory pages stored in RAM which belong to a running program but are unused should be stored on disk instead. It unloads those from the RAM, freeing up precious fast memory, and writes them to the swap space. If the program tries to access that very page, the memory management process loads it back into memory for the program to use."
  25684. msgstr ""
  25685. #. type: Plain text
  25686. #: guix-git/doc/guix.texi:17462
  25687. msgid "A common misconception about swap is that it is only useful when small amounts of RAM are available to the system. However, it should be noted that kernels often use all available RAM for disk access caching to make I/O faster, and thus paging out unused portions of program memory will expand the RAM available for such caching."
  25688. msgstr ""
  25689. #. type: Plain text
  25690. #: guix-git/doc/guix.texi:17466
  25691. msgid "For a more detailed description of how memory is managed from the viewpoint of a monolithic kernel, @pxref{Memory Concepts,,, libc, The GNU C Library Reference Manual}."
  25692. msgstr ""
  25693. #. type: Plain text
  25694. #: guix-git/doc/guix.texi:17475
  25695. msgid "The Linux kernel has support for swap partitions and swap files: the former uses a whole disk partition for paging, whereas the second uses a file on a file system for that (the file system driver needs to support it). On a comparable setup, both have the same performance, so one should consider ease of use when deciding between them. Partitions are ``simpler'' and do not need file system support, but need to be allocated at disk formatting time (logical volumes notwithstanding), whereas files can be allocated and deallocated at any time."
  25696. msgstr ""
  25697. #. type: cindex
  25698. #: guix-git/doc/guix.texi:17476
  25699. #, fuzzy, no-wrap
  25700. #| msgid "deduplication"
  25701. msgid "hibernation"
  25702. msgstr "deduplicação"
  25703. #. type: cindex
  25704. #: guix-git/doc/guix.texi:17477
  25705. #, no-wrap
  25706. msgid "suspend to disk"
  25707. msgstr ""
  25708. #. type: Plain text
  25709. #: guix-git/doc/guix.texi:17488
  25710. msgid "Swap space is also required to put the system into @dfn{hibernation} (also called @dfn{suspend to disk}), whereby memory is dumped to swap before shutdown so it can be restored when the machine is eventually restarted. Hibernation uses at most half the size of the RAM in the configured swap space. The Linux kernel needs to know about the swap space to be used to resume from hibernation on boot (@i{via} a kernel argument). When using a swap file, its offset in the device holding it also needs to be given to the kernel; that value has to be updated if the file is initialized again as swap---e.g., because its size was changed."
  25711. msgstr ""
  25712. #. type: Plain text
  25713. #: guix-git/doc/guix.texi:17493
  25714. msgid "Note that swap space is not zeroed on shutdown, so sensitive data (such as passwords) may linger on it if it was paged out. As such, you should consider having your swap reside on an encrypted device (@pxref{Mapped Devices})."
  25715. msgstr ""
  25716. #. type: deftp
  25717. #: guix-git/doc/guix.texi:17494
  25718. #, fuzzy, no-wrap
  25719. msgid "{Data Type} swap-space"
  25720. msgstr "build-machine {Data Type}"
  25721. #. type: deftp
  25722. #: guix-git/doc/guix.texi:17497
  25723. msgid "Objects of this type represent swap spaces. They contain the following members:"
  25724. msgstr ""
  25725. #. type: table
  25726. #: guix-git/doc/guix.texi:17503
  25727. msgid "The device or file to use, either a UUID, a @code{file-system-label} or a string, as in the definition of a @code{file-system} (@pxref{File Systems})."
  25728. msgstr ""
  25729. #. type: table
  25730. #: guix-git/doc/guix.texi:17510
  25731. msgid "A list of @code{file-system} or @code{mapped-device} objects, upon which the availability of the space depends. Note that just like for @code{file-system} objects, dependencies which are needed for boot and mounted in early userspace are not managed by the Shepherd, and so automatically filtered out for you."
  25732. msgstr ""
  25733. #. type: item
  25734. #: guix-git/doc/guix.texi:17511
  25735. #, fuzzy, no-wrap
  25736. #| msgid "@code{chroot} (default: @code{#f})"
  25737. msgid "@code{priority} (default: @code{#f})"
  25738. msgstr "@code{chroot} (default: @code{#f})"
  25739. #. type: table
  25740. #: guix-git/doc/guix.texi:17518
  25741. msgid "Only supported by the Linux kernel. Either @code{#f} to disable swap priority, or an integer between 0 and 32767. The kernel will first use swap spaces of higher priority when paging, and use same priority spaces on a round-robin basis. The kernel will use swap spaces without a set priority after prioritized spaces, and in the order that they appeared in (not round-robin)."
  25742. msgstr ""
  25743. #. type: item
  25744. #: guix-git/doc/guix.texi:17519
  25745. #, fuzzy, no-wrap
  25746. #| msgid "@code{id} (default: @code{#f})"
  25747. msgid "@code{discard?} (default: @code{#f})"
  25748. msgstr "@code{id} (default: @code{#f})"
  25749. #. type: table
  25750. #: guix-git/doc/guix.texi:17523
  25751. msgid "Only supported by the Linux kernel. When true, the kernel will notify the disk controller of discarded pages, for example with the TRIM operation on Solid State Drives."
  25752. msgstr ""
  25753. #. type: Plain text
  25754. #: guix-git/doc/guix.texi:17528
  25755. msgid "Here are some examples:"
  25756. msgstr ""
  25757. #. type: lisp
  25758. #: guix-git/doc/guix.texi:17531
  25759. #, no-wrap
  25760. msgid "(swap-space (target (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  25761. msgstr ""
  25762. #. type: Plain text
  25763. #: guix-git/doc/guix.texi:17536
  25764. msgid "Use the swap partition with the given UUID@. You can learn the UUID of a Linux swap partition by running @command{swaplabel @var{device}}, where @var{device} is the @file{/dev} file name of that partition."
  25765. msgstr ""
  25766. #. type: lisp
  25767. #: guix-git/doc/guix.texi:17541
  25768. #, no-wrap
  25769. msgid ""
  25770. "(swap-space\n"
  25771. " (target (file-system-label \"swap\"))\n"
  25772. " (dependencies mapped-devices))\n"
  25773. msgstr ""
  25774. #. type: Plain text
  25775. #: guix-git/doc/guix.texi:17547
  25776. msgid "Use the partition with label @code{swap}, which can be found after all the @var{mapped-devices} mapped devices have been opened. Again, the @command{swaplabel} command allows you to view and change the label of a Linux swap partition."
  25777. msgstr ""
  25778. #. type: Plain text
  25779. #: guix-git/doc/guix.texi:17550
  25780. msgid "Here's a more involved example with the corresponding @code{file-systems} part of an @code{operating-system} declaration."
  25781. msgstr ""
  25782. #. type: lisp
  25783. #: guix-git/doc/guix.texi:17561
  25784. #, no-wrap
  25785. msgid ""
  25786. "(file-systems\n"
  25787. " (list (file-system\n"
  25788. " (device (file-system-label \"root\"))\n"
  25789. " (mount-point \"/\")\n"
  25790. " (type \"ext4\"))\n"
  25791. " (file-system\n"
  25792. " (device (file-system-label \"btrfs\"))\n"
  25793. " (mount-point \"/btrfs\")\n"
  25794. " (type \"btrfs\"))))\n"
  25795. "\n"
  25796. msgstr ""
  25797. #. type: lisp
  25798. #: guix-git/doc/guix.texi:17568
  25799. #, no-wrap
  25800. msgid ""
  25801. "(swap-devices\n"
  25802. " (list\n"
  25803. " (swap-space\n"
  25804. " (target \"/btrfs/swapfile\")\n"
  25805. " (dependencies (filter (file-system-mount-point-predicate \"/btrfs\")\n"
  25806. " file-systems)))))\n"
  25807. msgstr ""
  25808. #. type: Plain text
  25809. #: guix-git/doc/guix.texi:17573
  25810. msgid "Use the file @file{/btrfs/swapfile} as swap space, which depends on the file system mounted at @file{/btrfs}. Note how we use Guile's filter to select the file system in an elegant fashion!"
  25811. msgstr ""
  25812. #. type: lisp
  25813. #: guix-git/doc/guix.texi:17580
  25814. #, no-wrap
  25815. msgid ""
  25816. "(swap-devices\n"
  25817. " (list\n"
  25818. " (swap-space\n"
  25819. " (target \"/dev/mapper/my-swap\")\n"
  25820. " (dependencies mapped-devices))))\n"
  25821. "\n"
  25822. msgstr ""
  25823. #. type: lisp
  25824. #: guix-git/doc/guix.texi:17584
  25825. #, no-wrap
  25826. msgid ""
  25827. "(kernel-arguments\n"
  25828. " (cons* \"resume=/dev/mapper/my-swap\"\n"
  25829. " %default-kernel-arguments))\n"
  25830. msgstr ""
  25831. #. type: Plain text
  25832. #: guix-git/doc/guix.texi:17591
  25833. msgid "The above snippet of an @code{operating-system} declaration enables the mapped device @file{/dev/mapper/my-swap} (which may be part of an encrypted device) as swap space, and tells the kernel to use it for hibernation via the @code{resume} kernel argument (@pxref{operating-system Reference}, @code{kernel-arguments})."
  25834. msgstr ""
  25835. #. type: lisp
  25836. #: guix-git/doc/guix.texi:17599
  25837. #, no-wrap
  25838. msgid ""
  25839. "(swap-devices\n"
  25840. " (list\n"
  25841. " (swap-space\n"
  25842. " (target \"/swapfile\")\n"
  25843. " (dependencies (filter (file-system-mount-point-predicate \"/\")\n"
  25844. " file-systems)))))\n"
  25845. "\n"
  25846. msgstr ""
  25847. #. type: lisp
  25848. #: guix-git/doc/guix.texi:17604
  25849. #, no-wrap
  25850. msgid ""
  25851. "(kernel-arguments\n"
  25852. " (cons* \"resume=/dev/sda3\" ;device that holds /swapfile\n"
  25853. " \"resume_offset=92514304\" ;offset of /swapfile on device\n"
  25854. " %default-kernel-arguments))\n"
  25855. msgstr ""
  25856. #. type: Plain text
  25857. #: guix-git/doc/guix.texi:17614
  25858. msgid "This other snippet of @code{operating-system} enables the swap file @file{/swapfile} for hibernation by telling the kernel about the partition containing it (@code{resume} argument) and its offset on that partition (@code{resume_offset} argument). The latter value can be found in the output of the command @command{filefrag -e} as the first number right under the @code{physical_offset} column header (the second command extracts its value directly):"
  25859. msgstr ""
  25860. #. type: smallexample
  25861. #: guix-git/doc/guix.texi:17624
  25862. #, no-wrap
  25863. msgid ""
  25864. "$ sudo filefrag -e /swapfile\n"
  25865. "Filesystem type is: ef53\n"
  25866. "File size of /swapfile is 2463842304 (601524 blocks of 4096 bytes)\n"
  25867. " ext: logical_offset: physical_offset: length: expected: flags:\n"
  25868. " 0: 0.. 2047: 92514304.. 92516351: 2048:\n"
  25869. "@dots{}\n"
  25870. "$ sudo filefrag -e /swapfile | grep '^ *0:' | cut -d: -f3 | cut -d. -f1\n"
  25871. " 92514304\n"
  25872. msgstr ""
  25873. #. type: cindex
  25874. #: guix-git/doc/guix.texi:17629
  25875. #, no-wrap
  25876. msgid "users"
  25877. msgstr ""
  25878. #. type: cindex
  25879. #: guix-git/doc/guix.texi:17630
  25880. #, no-wrap
  25881. msgid "accounts"
  25882. msgstr ""
  25883. #. type: cindex
  25884. #: guix-git/doc/guix.texi:17631
  25885. #, no-wrap
  25886. msgid "user accounts"
  25887. msgstr ""
  25888. #. type: Plain text
  25889. #: guix-git/doc/guix.texi:17635
  25890. msgid "User accounts and groups are entirely managed through the @code{operating-system} declaration. They are specified with the @code{user-account} and @code{user-group} forms:"
  25891. msgstr ""
  25892. #. type: lisp
  25893. #: guix-git/doc/guix.texi:17645
  25894. #, no-wrap
  25895. msgid ""
  25896. "(user-account\n"
  25897. " (name \"alice\")\n"
  25898. " (group \"users\")\n"
  25899. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  25900. " \"audio\" ;sound card\n"
  25901. " \"video\" ;video devices such as webcams\n"
  25902. " \"cdrom\")) ;the good ol' CD-ROM\n"
  25903. " (comment \"Bob's sister\"))\n"
  25904. msgstr ""
  25905. #. type: Plain text
  25906. #: guix-git/doc/guix.texi:17649
  25907. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  25908. msgstr ""
  25909. #. type: lisp
  25910. #: guix-git/doc/guix.texi:17657
  25911. #, no-wrap
  25912. msgid ""
  25913. "(user-account\n"
  25914. " (name \"bob\")\n"
  25915. " (group \"users\")\n"
  25916. " (comment \"Alice's bro\")\n"
  25917. " (shell (file-append zsh \"/bin/zsh\"))\n"
  25918. " (home-directory \"/home/robert\"))\n"
  25919. msgstr ""
  25920. #. type: Plain text
  25921. #: guix-git/doc/guix.texi:17666
  25922. msgid "When booting or upon completion of @command{guix system reconfigure}, the system ensures that only the user accounts and groups specified in the @code{operating-system} declaration exist, and with the specified properties. Thus, account or group creations or modifications made by directly invoking commands such as @command{useradd} are lost upon reconfiguration or reboot. This ensures that the system remains exactly as declared."
  25923. msgstr ""
  25924. #. type: deftp
  25925. #: guix-git/doc/guix.texi:17667
  25926. #, no-wrap
  25927. msgid "{Data Type} user-account"
  25928. msgstr ""
  25929. #. type: deftp
  25930. #: guix-git/doc/guix.texi:17670
  25931. msgid "Objects of this type represent user accounts. The following members may be specified:"
  25932. msgstr ""
  25933. #. type: table
  25934. #: guix-git/doc/guix.texi:17674
  25935. msgid "The name of the user account."
  25936. msgstr ""
  25937. #. type: itemx
  25938. #: guix-git/doc/guix.texi:17675 guix-git/doc/guix.texi:39254
  25939. #, no-wrap
  25940. msgid "group"
  25941. msgstr "grupo"
  25942. #. type: cindex
  25943. #: guix-git/doc/guix.texi:17676 guix-git/doc/guix.texi:17760
  25944. #, no-wrap
  25945. msgid "groups"
  25946. msgstr ""
  25947. #. type: table
  25948. #: guix-git/doc/guix.texi:17679
  25949. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  25950. msgstr ""
  25951. #. type: item
  25952. #: guix-git/doc/guix.texi:17680
  25953. #, no-wrap
  25954. msgid "@code{supplementary-groups} (default: @code{'()})"
  25955. msgstr ""
  25956. #. type: table
  25957. #: guix-git/doc/guix.texi:17683
  25958. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  25959. msgstr ""
  25960. #. type: item
  25961. #: guix-git/doc/guix.texi:17684
  25962. #, no-wrap
  25963. msgid "@code{uid} (default: @code{#f})"
  25964. msgstr "@code{uid} (default: @code{#f})"
  25965. #. type: table
  25966. #: guix-git/doc/guix.texi:17688
  25967. msgid "This is the user ID for this account (a number), or @code{#f}. In the latter case, a number is automatically chosen by the system when the account is created."
  25968. msgstr ""
  25969. #. type: item
  25970. #: guix-git/doc/guix.texi:17689 guix-git/doc/guix.texi:20940
  25971. #, no-wrap
  25972. msgid "@code{comment} (default: @code{\"\"})"
  25973. msgstr ""
  25974. #. type: table
  25975. #: guix-git/doc/guix.texi:17691
  25976. msgid "A comment about the account, such as the account owner's full name."
  25977. msgstr ""
  25978. #. type: table
  25979. #: guix-git/doc/guix.texi:17696
  25980. msgid "Note that, for non-system accounts, users are free to change their real name as it appears in @file{/etc/passwd} using the @command{chfn} command. When they do, their choice prevails over the system administrator's choice; reconfiguring does @emph{not} change their name."
  25981. msgstr ""
  25982. #. type: code{#1}
  25983. #: guix-git/doc/guix.texi:17697
  25984. #, no-wrap
  25985. msgid "home-directory"
  25986. msgstr ""
  25987. #. type: table
  25988. #: guix-git/doc/guix.texi:17699
  25989. msgid "This is the name of the home directory for the account."
  25990. msgstr ""
  25991. #. type: item
  25992. #: guix-git/doc/guix.texi:17700
  25993. #, no-wrap
  25994. msgid "@code{create-home-directory?} (default: @code{#t})"
  25995. msgstr ""
  25996. #. type: table
  25997. #: guix-git/doc/guix.texi:17703
  25998. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  25999. msgstr ""
  26000. #. type: item
  26001. #: guix-git/doc/guix.texi:17704
  26002. #, no-wrap
  26003. msgid "@code{shell} (default: Bash)"
  26004. msgstr ""
  26005. #. type: table
  26006. #: guix-git/doc/guix.texi:17708
  26007. msgid "This is a G-expression denoting the file name of a program to be used as the shell (@pxref{G-Expressions}). For example, you would refer to the Bash executable like this:"
  26008. msgstr ""
  26009. #. type: lisp
  26010. #: guix-git/doc/guix.texi:17711
  26011. #, no-wrap
  26012. msgid "(file-append bash \"/bin/bash\")\n"
  26013. msgstr ""
  26014. #. type: table
  26015. #: guix-git/doc/guix.texi:17715
  26016. msgid "... and to the Zsh executable like that:"
  26017. msgstr ""
  26018. #. type: lisp
  26019. #: guix-git/doc/guix.texi:17718
  26020. #, no-wrap
  26021. msgid "(file-append zsh \"/bin/zsh\")\n"
  26022. msgstr ""
  26023. #. type: item
  26024. #: guix-git/doc/guix.texi:17720 guix-git/doc/guix.texi:17778
  26025. #, no-wrap
  26026. msgid "@code{system?} (default: @code{#f})"
  26027. msgstr "@code{system?} (default: @code{#f})"
  26028. #. type: table
  26029. #: guix-git/doc/guix.texi:17724
  26030. msgid "This Boolean value indicates whether the account is a ``system'' account. System accounts are sometimes treated specially; for instance, graphical login managers do not list them."
  26031. msgstr ""
  26032. #. type: anchor{#1}
  26033. #: guix-git/doc/guix.texi:17726
  26034. msgid "user-account-password"
  26035. msgstr "user-account-password"
  26036. #. type: cindex
  26037. #: guix-git/doc/guix.texi:17726
  26038. #, no-wrap
  26039. msgid "password, for user accounts"
  26040. msgstr ""
  26041. #. type: item
  26042. #: guix-git/doc/guix.texi:17727 guix-git/doc/guix.texi:17782
  26043. #, no-wrap
  26044. msgid "@code{password} (default: @code{#f})"
  26045. msgstr "@code{password} (default: @code{#f})"
  26046. #. type: table
  26047. #: guix-git/doc/guix.texi:17733
  26048. msgid "You would normally leave this field to @code{#f}, initialize user passwords as @code{root} with the @command{passwd} command, and then let users change it with @command{passwd}. Passwords set with @command{passwd} are of course preserved across reboot and reconfiguration."
  26049. msgstr ""
  26050. #. type: table
  26051. #: guix-git/doc/guix.texi:17737
  26052. msgid "If you @emph{do} want to set an initial password for an account, then this field must contain the encrypted password, as a string. You can use the @code{crypt} procedure for this purpose:"
  26053. msgstr ""
  26054. #. type: lisp
  26055. #: guix-git/doc/guix.texi:17742
  26056. #, no-wrap
  26057. msgid ""
  26058. "(user-account\n"
  26059. " (name \"charlie\")\n"
  26060. " (group \"users\")\n"
  26061. "\n"
  26062. msgstr ""
  26063. #. type: lisp
  26064. #: guix-git/doc/guix.texi:17745
  26065. #, no-wrap
  26066. msgid ""
  26067. " ;; Specify a SHA-512-hashed initial password.\n"
  26068. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  26069. msgstr ""
  26070. #. type: quotation
  26071. #: guix-git/doc/guix.texi:17751
  26072. msgid "The hash of this initial password will be available in a file in @file{/gnu/store}, readable by all the users, so this method must be used with care."
  26073. msgstr ""
  26074. #. type: table
  26075. #: guix-git/doc/guix.texi:17756
  26076. msgid "@xref{Passphrase Storage,,, libc, The GNU C Library Reference Manual}, for more information on password encryption, and @ref{Encryption,,, guile, GNU Guile Reference Manual}, for information on Guile's @code{crypt} procedure."
  26077. msgstr ""
  26078. #. type: Plain text
  26079. #: guix-git/doc/guix.texi:17762
  26080. msgid "User group declarations are even simpler:"
  26081. msgstr ""
  26082. #. type: lisp
  26083. #: guix-git/doc/guix.texi:17765
  26084. #, no-wrap
  26085. msgid "(user-group (name \"students\"))\n"
  26086. msgstr "(user-group (name \"students\"))\n"
  26087. #. type: deftp
  26088. #: guix-git/doc/guix.texi:17767
  26089. #, no-wrap
  26090. msgid "{Data Type} user-group"
  26091. msgstr ""
  26092. #. type: deftp
  26093. #: guix-git/doc/guix.texi:17769
  26094. msgid "This type is for, well, user groups. There are just a few fields:"
  26095. msgstr ""
  26096. #. type: table
  26097. #: guix-git/doc/guix.texi:17773
  26098. msgid "The name of the group."
  26099. msgstr ""
  26100. #. type: item
  26101. #: guix-git/doc/guix.texi:17774 guix-git/doc/guix.texi:35221
  26102. #, no-wrap
  26103. msgid "@code{id} (default: @code{#f})"
  26104. msgstr "@code{id} (default: @code{#f})"
  26105. #. type: table
  26106. #: guix-git/doc/guix.texi:17777
  26107. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  26108. msgstr ""
  26109. #. type: table
  26110. #: guix-git/doc/guix.texi:17781
  26111. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  26112. msgstr ""
  26113. #. type: table
  26114. #: guix-git/doc/guix.texi:17785
  26115. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  26116. msgstr ""
  26117. #. type: Plain text
  26118. #: guix-git/doc/guix.texi:17791
  26119. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  26120. msgstr ""
  26121. #. type: defvar
  26122. #: guix-git/doc/guix.texi:17792
  26123. #, no-wrap
  26124. msgid "%base-groups"
  26125. msgstr ""
  26126. #. type: defvar
  26127. #: guix-git/doc/guix.texi:17797
  26128. msgid "This is the list of basic user groups that users and/or packages expect to be present on the system. This includes groups such as ``root'', ``wheel'', and ``users'', as well as groups used to control access to specific devices such as ``audio'', ``disk'', and ``cdrom''."
  26129. msgstr ""
  26130. #. type: defvar
  26131. #: guix-git/doc/guix.texi:17799
  26132. #, fuzzy, no-wrap
  26133. #| msgid "user-account-password"
  26134. msgid "%base-user-accounts"
  26135. msgstr "user-account-password"
  26136. #. type: defvar
  26137. #: guix-git/doc/guix.texi:17802
  26138. msgid "This is the list of basic system accounts that programs may expect to find on a GNU/Linux system, such as the ``nobody'' account."
  26139. msgstr ""
  26140. #. type: defvar
  26141. #: guix-git/doc/guix.texi:17805
  26142. msgid "Note that the ``root'' account is not included here. It is a special-case and is automatically added whether or not it is specified."
  26143. msgstr ""
  26144. #. type: cindex
  26145. #: guix-git/doc/guix.texi:17811
  26146. #, no-wrap
  26147. msgid "keymap"
  26148. msgstr ""
  26149. #. type: Plain text
  26150. #: guix-git/doc/guix.texi:17819
  26151. msgid "To specify what each key of your keyboard does, you need to tell the operating system what @dfn{keyboard layout} you want to use. The default, when nothing is specified, is the US English QWERTY layout for 105-key PC keyboards. However, German speakers will usually prefer the German QWERTZ layout, French speakers will want the AZERTY layout, and so on; hackers might prefer Dvorak or bépo, and they might even want to further customize the effect of some of the keys. This section explains how to get that done."
  26152. msgstr ""
  26153. #. type: cindex
  26154. #: guix-git/doc/guix.texi:17820
  26155. #, no-wrap
  26156. msgid "keyboard layout, definition"
  26157. msgstr "disposição do teclado, definição"
  26158. #. type: Plain text
  26159. #: guix-git/doc/guix.texi:17822
  26160. msgid "There are three components that will want to know about your keyboard layout:"
  26161. msgstr ""
  26162. #. type: itemize
  26163. #: guix-git/doc/guix.texi:17829
  26164. msgid "The @emph{bootloader} may want to know what keyboard layout you want to use (@pxref{Bootloader Configuration, @code{keyboard-layout}}). This is useful if you want, for instance, to make sure that you can type the passphrase of your encrypted root partition using the right layout."
  26165. msgstr ""
  26166. #. type: itemize
  26167. #: guix-git/doc/guix.texi:17834
  26168. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  26169. msgstr ""
  26170. #. type: itemize
  26171. #: guix-git/doc/guix.texi:17838
  26172. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  26173. msgstr ""
  26174. #. type: Plain text
  26175. #: guix-git/doc/guix.texi:17842
  26176. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  26177. msgstr ""
  26178. #. type: cindex
  26179. #: guix-git/doc/guix.texi:17843
  26180. #, no-wrap
  26181. msgid "XKB, keyboard layouts"
  26182. msgstr "XKB, disposições do teclado"
  26183. #. type: Plain text
  26184. #: guix-git/doc/guix.texi:17851
  26185. msgid "Keyboard layouts are represented by records created by the @code{keyboard-layout} procedure of @code{(gnu system keyboard)}. Following the X Keyboard extension (XKB), each layout has four attributes: a name (often a language code such as ``fi'' for Finnish or ``jp'' for Japanese), an optional variant name, an optional keyboard model name, and a possibly empty list of additional options. In most cases the layout name is all you care about."
  26186. msgstr ""
  26187. #. type: defun
  26188. #: guix-git/doc/guix.texi:17852
  26189. #, no-wrap
  26190. msgid "keyboard-layout name [variant] [#:model] [#:options '()]"
  26191. msgstr ""
  26192. #. type: defun
  26193. #: guix-git/doc/guix.texi:17854
  26194. msgid "Return a new keyboard layout with the given @var{name} and @var{variant}."
  26195. msgstr ""
  26196. #. type: defun
  26197. #: guix-git/doc/guix.texi:17858
  26198. msgid "@var{name} must be a string such as @code{\"fr\"}; @var{variant} must be a string such as @code{\"bepo\"} or @code{\"nodeadkeys\"}. See the @code{xkeyboard-config} package for valid options."
  26199. msgstr ""
  26200. #. type: Plain text
  26201. #: guix-git/doc/guix.texi:17861
  26202. msgid "Here are a few examples:"
  26203. msgstr ""
  26204. #. type: lisp
  26205. #: guix-git/doc/guix.texi:17866
  26206. #, no-wrap
  26207. msgid ""
  26208. ";; The German QWERTZ layout. Here we assume a standard\n"
  26209. ";; \"pc105\" keyboard model.\n"
  26210. "(keyboard-layout \"de\")\n"
  26211. "\n"
  26212. msgstr ""
  26213. #. type: lisp
  26214. #: guix-git/doc/guix.texi:17869
  26215. #, no-wrap
  26216. msgid ""
  26217. ";; The bépo variant of the French layout.\n"
  26218. "(keyboard-layout \"fr\" \"bepo\")\n"
  26219. "\n"
  26220. msgstr ""
  26221. #. type: lisp
  26222. #: guix-git/doc/guix.texi:17872
  26223. #, no-wrap
  26224. msgid ""
  26225. ";; The Catalan layout.\n"
  26226. "(keyboard-layout \"es\" \"cat\")\n"
  26227. "\n"
  26228. msgstr ""
  26229. #. type: lisp
  26230. #: guix-git/doc/guix.texi:17875
  26231. #, no-wrap
  26232. msgid ""
  26233. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  26234. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  26235. "\n"
  26236. msgstr ""
  26237. #. type: lisp
  26238. #: guix-git/doc/guix.texi:17882
  26239. #, no-wrap
  26240. msgid ""
  26241. ";; The Latin American Spanish layout. In addition, the\n"
  26242. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  26243. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  26244. ";; accented letters.\n"
  26245. "(keyboard-layout \"latam\"\n"
  26246. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  26247. "\n"
  26248. msgstr ""
  26249. #. type: lisp
  26250. #: guix-git/doc/guix.texi:17885
  26251. #, no-wrap
  26252. msgid ""
  26253. ";; The Russian layout for a ThinkPad keyboard.\n"
  26254. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  26255. "\n"
  26256. msgstr ""
  26257. #. type: lisp
  26258. #: guix-git/doc/guix.texi:17890
  26259. #, no-wrap
  26260. msgid ""
  26261. ";; The \"US international\" layout, which is the US layout plus\n"
  26262. ";; dead keys to enter accented characters. This is for an\n"
  26263. ";; Apple MacBook keyboard.\n"
  26264. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  26265. msgstr ""
  26266. #. type: Plain text
  26267. #: guix-git/doc/guix.texi:17894
  26268. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  26269. msgstr ""
  26270. #. type: cindex
  26271. #: guix-git/doc/guix.texi:17895
  26272. #, no-wrap
  26273. msgid "keyboard layout, configuration"
  26274. msgstr "disposição do teclado, configuração"
  26275. #. type: Plain text
  26276. #: guix-git/doc/guix.texi:17899
  26277. msgid "Let's say you want your system to use the Turkish keyboard layout throughout your system---bootloader, console, and Xorg. Here's what your system configuration would look like:"
  26278. msgstr ""
  26279. #. type: findex
  26280. #: guix-git/doc/guix.texi:17900
  26281. #, no-wrap
  26282. msgid "set-xorg-configuration"
  26283. msgstr ""
  26284. #. type: lisp
  26285. #: guix-git/doc/guix.texi:17904
  26286. #, no-wrap
  26287. msgid ""
  26288. ";; Using the Turkish layout for the bootloader, the console,\n"
  26289. ";; and for Xorg.\n"
  26290. "\n"
  26291. msgstr ""
  26292. #. type: lisp
  26293. #: guix-git/doc/guix.texi:17916
  26294. #, no-wrap
  26295. msgid ""
  26296. "(operating-system\n"
  26297. " ;; ...\n"
  26298. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  26299. " (bootloader (bootloader-configuration\n"
  26300. " (bootloader grub-efi-bootloader)\n"
  26301. " (targets '(\"/boot/efi\"))\n"
  26302. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  26303. " (services (cons (set-xorg-configuration\n"
  26304. " (xorg-configuration ;for Xorg\n"
  26305. " (keyboard-layout keyboard-layout)))\n"
  26306. " %desktop-services)))\n"
  26307. msgstr ""
  26308. #. type: Plain text
  26309. #: guix-git/doc/guix.texi:17923
  26310. msgid "In the example above, for GRUB and for Xorg, we just refer to the @code{keyboard-layout} field defined above, but we could just as well refer to a different layout. The @code{set-xorg-configuration} procedure communicates the desired Xorg configuration to the graphical log-in manager, by default GDM."
  26311. msgstr ""
  26312. #. type: Plain text
  26313. #: guix-git/doc/guix.texi:17926
  26314. msgid "We've discussed how to specify the @emph{default} keyboard layout of your system when it starts, but you can also adjust it at run time:"
  26315. msgstr ""
  26316. #. type: itemize
  26317. #: guix-git/doc/guix.texi:17931
  26318. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  26319. msgstr ""
  26320. #. type: itemize
  26321. #: guix-git/doc/guix.texi:17936
  26322. msgid "Under Xorg, the @command{setxkbmap} command (from the same-named package) allows you to change the current layout. For example, this is how you would change the layout to US Dvorak:"
  26323. msgstr ""
  26324. #. type: example
  26325. #: guix-git/doc/guix.texi:17939
  26326. #, no-wrap
  26327. msgid "setxkbmap us dvorak\n"
  26328. msgstr ""
  26329. #. type: itemize
  26330. #: guix-git/doc/guix.texi:17946
  26331. msgid "The @code{loadkeys} command changes the keyboard layout in effect in the Linux console. However, note that @code{loadkeys} does @emph{not} use the XKB keyboard layout categorization described above. The command below loads the French bépo layout:"
  26332. msgstr ""
  26333. #. type: example
  26334. #: guix-git/doc/guix.texi:17949
  26335. #, no-wrap
  26336. msgid "loadkeys fr-bepo\n"
  26337. msgstr ""
  26338. #. type: cindex
  26339. #: guix-git/doc/guix.texi:17955
  26340. #, no-wrap
  26341. msgid "locale"
  26342. msgstr ""
  26343. #. type: Plain text
  26344. #: guix-git/doc/guix.texi:17962
  26345. msgid "A @dfn{locale} defines cultural conventions for a particular language and region of the world (@pxref{Locales,,, libc, The GNU C Library Reference Manual}). Each locale has a name that typically has the form @code{@var{language}_@var{territory}.@var{codeset}}---e.g., @code{fr_LU.utf8} designates the locale for the French language, with cultural conventions from Luxembourg, and using the UTF-8 encoding."
  26346. msgstr ""
  26347. #. type: cindex
  26348. #: guix-git/doc/guix.texi:17963
  26349. #, no-wrap
  26350. msgid "locale definition"
  26351. msgstr ""
  26352. #. type: Plain text
  26353. #: guix-git/doc/guix.texi:17967
  26354. msgid "Usually, you will want to specify the default locale for the machine using the @code{locale} field of the @code{operating-system} declaration (@pxref{operating-system Reference, @code{locale}})."
  26355. msgstr ""
  26356. #. type: Plain text
  26357. #: guix-git/doc/guix.texi:17976
  26358. msgid "The selected locale is automatically added to the @dfn{locale definitions} known to the system if needed, with its codeset inferred from its name---e.g., @code{bo_CN.utf8} will be assumed to use the @code{UTF-8} codeset. Additional locale definitions can be specified in the @code{locale-definitions} slot of @code{operating-system}---this is useful, for instance, if the codeset could not be inferred from the locale name. The default set of locale definitions includes some widely used locales, but not all the available locales, in order to save space."
  26359. msgstr ""
  26360. #. type: Plain text
  26361. #: guix-git/doc/guix.texi:17979
  26362. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  26363. msgstr ""
  26364. #. type: lisp
  26365. #: guix-git/doc/guix.texi:17984
  26366. #, no-wrap
  26367. msgid ""
  26368. "(cons (locale-definition\n"
  26369. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  26370. " %default-locale-definitions)\n"
  26371. msgstr ""
  26372. #. type: Plain text
  26373. #: guix-git/doc/guix.texi:17988
  26374. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  26375. msgstr ""
  26376. #. type: lisp
  26377. #: guix-git/doc/guix.texi:17993
  26378. #, no-wrap
  26379. msgid ""
  26380. "(list (locale-definition\n"
  26381. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  26382. " (charset \"EUC-JP\")))\n"
  26383. msgstr ""
  26384. #. type: Plain text
  26385. #: guix-git/doc/guix.texi:18002
  26386. msgid "The compiled locale definitions are available at @file{/run/current-system/locale/X.Y}, where @code{X.Y} is the libc version, which is the default location where the GNU@tie{}libc provided by Guix looks for locale data. This can be overridden using the @env{LOCPATH} environment variable (@pxref{locales-and-locpath, @env{LOCPATH} and locale packages})."
  26387. msgstr ""
  26388. #. type: Plain text
  26389. #: guix-git/doc/guix.texi:18005
  26390. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  26391. msgstr ""
  26392. #. type: deftp
  26393. #: guix-git/doc/guix.texi:18006
  26394. #, no-wrap
  26395. msgid "{Data Type} locale-definition"
  26396. msgstr ""
  26397. #. type: deftp
  26398. #: guix-git/doc/guix.texi:18008
  26399. msgid "This is the data type of a locale definition."
  26400. msgstr ""
  26401. #. type: table
  26402. #: guix-git/doc/guix.texi:18014
  26403. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  26404. msgstr ""
  26405. #. type: table
  26406. #: guix-git/doc/guix.texi:18018
  26407. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  26408. msgstr ""
  26409. #. type: item
  26410. #: guix-git/doc/guix.texi:18019
  26411. #, no-wrap
  26412. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  26413. msgstr ""
  26414. #. type: table
  26415. #: guix-git/doc/guix.texi:18023
  26416. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  26417. msgstr ""
  26418. #. type: defvar
  26419. #: guix-git/doc/guix.texi:18027
  26420. #, fuzzy, no-wrap
  26421. #| msgid "Updating package definitions."
  26422. msgid "%default-locale-definitions"
  26423. msgstr "Atualizando definições de pacotes."
  26424. #. type: defvar
  26425. #: guix-git/doc/guix.texi:18031
  26426. msgid "A list of commonly used UTF-8 locales, used as the default value of the @code{locale-definitions} field of @code{operating-system} declarations."
  26427. msgstr ""
  26428. #. type: cindex
  26429. #: guix-git/doc/guix.texi:18032
  26430. #, no-wrap
  26431. msgid "locale name"
  26432. msgstr ""
  26433. #. type: cindex
  26434. #: guix-git/doc/guix.texi:18033
  26435. #, no-wrap
  26436. msgid "normalized codeset in locale names"
  26437. msgstr ""
  26438. #. type: defvar
  26439. #: guix-git/doc/guix.texi:18039
  26440. msgid "These locale definitions use the @dfn{normalized codeset} for the part that follows the dot in the name (@pxref{Using gettextized software, normalized codeset,, libc, The GNU C Library Reference Manual}). So for instance it has @code{uk_UA.utf8} but @emph{not}, say, @code{uk_UA.UTF-8}."
  26441. msgstr ""
  26442. #. type: subsection
  26443. #: guix-git/doc/guix.texi:18041
  26444. #, no-wrap
  26445. msgid "Locale Data Compatibility Considerations"
  26446. msgstr ""
  26447. #. type: cindex
  26448. #: guix-git/doc/guix.texi:18043
  26449. #, no-wrap
  26450. msgid "incompatibility, of locale data"
  26451. msgstr ""
  26452. #. type: Plain text
  26453. #: guix-git/doc/guix.texi:18050
  26454. msgid "@code{operating-system} declarations provide a @code{locale-libcs} field to specify the GNU@tie{}libc packages that are used to compile locale declarations (@pxref{operating-system Reference}). ``Why would I care?'', you may ask. Well, it turns out that the binary format of locale data is occasionally incompatible from one libc version to another."
  26455. msgstr ""
  26456. #. type: Plain text
  26457. #: guix-git/doc/guix.texi:18062
  26458. msgid "For instance, a program linked against libc version 2.21 is unable to read locale data produced with libc 2.22; worse, that program @emph{aborts} instead of simply ignoring the incompatible locale data@footnote{Versions 2.23 and later of GNU@tie{}libc will simply skip the incompatible locale data, which is already an improvement.}. Similarly, a program linked against libc 2.22 can read most, but not all, of the locale data from libc 2.21 (specifically, @env{LC_COLLATE} data is incompatible); thus calls to @code{setlocale} may fail, but programs will not abort."
  26459. msgstr ""
  26460. #. type: Plain text
  26461. #: guix-git/doc/guix.texi:18067
  26462. msgid "The ``problem'' with Guix is that users have a lot of freedom: They can choose whether and when to upgrade software in their profiles, and might be using a libc version different from the one the system administrator used to build the system-wide locale data."
  26463. msgstr ""
  26464. #. type: Plain text
  26465. #: guix-git/doc/guix.texi:18071
  26466. msgid "Fortunately, unprivileged users can also install their own locale data and define @env{GUIX_LOCPATH} accordingly (@pxref{locales-and-locpath, @env{GUIX_LOCPATH} and locale packages})."
  26467. msgstr ""
  26468. #. type: Plain text
  26469. #: guix-git/doc/guix.texi:18078
  26470. msgid "Still, it is best if the system-wide locale data at @file{/run/current-system/locale} is built for all the libc versions actually in use on the system, so that all the programs can access it---this is especially crucial on a multi-user system. To do that, the administrator can specify several libc packages in the @code{locale-libcs} field of @code{operating-system}:"
  26471. msgstr ""
  26472. #. type: lisp
  26473. #: guix-git/doc/guix.texi:18081
  26474. #, no-wrap
  26475. msgid ""
  26476. "(use-package-modules base)\n"
  26477. "\n"
  26478. msgstr ""
  26479. #. type: lisp
  26480. #: guix-git/doc/guix.texi:18085
  26481. #, no-wrap
  26482. msgid ""
  26483. "(operating-system\n"
  26484. " ;; @dots{}\n"
  26485. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  26486. msgstr ""
  26487. #. type: Plain text
  26488. #: guix-git/doc/guix.texi:18090
  26489. msgid "This example would lead to a system containing locale definitions for both libc 2.21 and the current version of libc in @file{/run/current-system/locale}."
  26490. msgstr ""
  26491. #. type: cindex
  26492. #: guix-git/doc/guix.texi:18095
  26493. #, no-wrap
  26494. msgid "system services"
  26495. msgstr ""
  26496. #. type: Plain text
  26497. #: guix-git/doc/guix.texi:18101
  26498. msgid "An important part of preparing an @code{operating-system} declaration is listing @dfn{system services} and their configuration (@pxref{Using the Configuration System}). System services are typically daemons launched when the system boots, or other actions needed at that time---e.g., configuring network access."
  26499. msgstr ""
  26500. #. type: Plain text
  26501. #: guix-git/doc/guix.texi:18108
  26502. msgid "Guix has a broad definition of ``service'' (@pxref{Service Composition}), but many services are managed by the GNU@tie{}Shepherd (@pxref{Shepherd Services}). On a running system, the @command{herd} command allows you to list the available services, show their status, start and stop them, or do other specific operations (@pxref{Jump Start,,, shepherd, The GNU Shepherd Manual}). For example:"
  26503. msgstr ""
  26504. #. type: example
  26505. #: guix-git/doc/guix.texi:18111
  26506. #, no-wrap
  26507. msgid "# herd status\n"
  26508. msgstr ""
  26509. #. type: Plain text
  26510. #: guix-git/doc/guix.texi:18116
  26511. msgid "The above command, run as @code{root}, lists the currently defined services. The @command{herd doc} command shows a synopsis of the given service and its associated actions:"
  26512. msgstr ""
  26513. #. type: example
  26514. #: guix-git/doc/guix.texi:18120
  26515. #, no-wrap
  26516. msgid ""
  26517. "# herd doc nscd\n"
  26518. "Run libc's name service cache daemon (nscd).\n"
  26519. "\n"
  26520. msgstr ""
  26521. #. type: example
  26522. #: guix-git/doc/guix.texi:18123
  26523. #, no-wrap
  26524. msgid ""
  26525. "# herd doc nscd action invalidate\n"
  26526. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  26527. msgstr ""
  26528. #. type: Plain text
  26529. #: guix-git/doc/guix.texi:18128
  26530. msgid "The @command{start}, @command{stop}, and @command{restart} sub-commands have the effect you would expect. For instance, the commands below stop the nscd service and restart the Xorg display server:"
  26531. msgstr ""
  26532. #. type: example
  26533. #: guix-git/doc/guix.texi:18135
  26534. #, no-wrap
  26535. msgid ""
  26536. "# herd stop nscd\n"
  26537. "Service nscd has been stopped.\n"
  26538. "# herd restart xorg-server\n"
  26539. "Service xorg-server has been stopped.\n"
  26540. "Service xorg-server has been started.\n"
  26541. msgstr ""
  26542. #. type: cindex
  26543. #: guix-git/doc/guix.texi:18137
  26544. #, fuzzy, no-wrap
  26545. msgid "configuration, action for shepherd services"
  26546. msgstr "Gerencie a configuração do sistema operacional."
  26547. #. type: cindex
  26548. #: guix-git/doc/guix.texi:18138
  26549. #, fuzzy, no-wrap
  26550. msgid "configuration file, of a shepherd service"
  26551. msgstr "Gerencie a configuração do sistema operacional."
  26552. #. type: Plain text
  26553. #: guix-git/doc/guix.texi:18142
  26554. msgid "For some services, @command{herd configuration} returns the name of the service's configuration file, which can be handy to inspect its configuration:"
  26555. msgstr ""
  26556. #. type: example
  26557. #: guix-git/doc/guix.texi:18146
  26558. #, no-wrap
  26559. msgid ""
  26560. "# herd configuration sshd\n"
  26561. "/gnu/store/@dots{}-sshd_config\n"
  26562. msgstr ""
  26563. #. type: Plain text
  26564. #: guix-git/doc/guix.texi:18151
  26565. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  26566. msgstr ""
  26567. #. type: Plain text
  26568. #: guix-git/doc/guix.texi:18197
  26569. msgid "The @code{(gnu services base)} module provides definitions for the basic services that one expects from the system. The services exported by this module are listed below."
  26570. msgstr ""
  26571. #. type: defvar
  26572. #: guix-git/doc/guix.texi:18204
  26573. msgid "This variable contains a list of basic services (@pxref{Service Types and Services}, for more information on service objects) one would expect from the system: a login service (mingetty) on each tty, syslogd, the libc name service cache daemon (nscd), the udev device manager, and more."
  26574. msgstr ""
  26575. #. type: defvar
  26576. #: guix-git/doc/guix.texi:18209
  26577. msgid "This is the default value of the @code{services} field of @code{operating-system} declarations. Usually, when customizing a system, you will want to append services to @code{%base-services}, like this:"
  26578. msgstr ""
  26579. #. type: lisp
  26580. #: guix-git/doc/guix.texi:18214
  26581. #, no-wrap
  26582. msgid ""
  26583. "(append (list (service avahi-service-type)\n"
  26584. " (service openssh-service-type))\n"
  26585. " %base-services)\n"
  26586. msgstr ""
  26587. #. type: defvar
  26588. #: guix-git/doc/guix.texi:18217
  26589. #, fuzzy, no-wrap
  26590. msgid "special-files-service-type"
  26591. msgstr "guix-publish-service-type"
  26592. #. type: defvar
  26593. #: guix-git/doc/guix.texi:18220
  26594. msgid "This is the service that sets up ``special files'' such as @file{/bin/sh}; an instance of it is part of @code{%base-services}."
  26595. msgstr ""
  26596. #. type: defvar
  26597. #: guix-git/doc/guix.texi:18224
  26598. msgid "The value associated with @code{special-files-service-type} services must be a list of two-element lists where the first element is the ``special file'' and the second element is its target. By default it is:"
  26599. msgstr ""
  26600. #. type: file{#1}
  26601. #: guix-git/doc/guix.texi:18225
  26602. #, no-wrap
  26603. msgid "/bin/sh"
  26604. msgstr ""
  26605. #. type: cindex
  26606. #: guix-git/doc/guix.texi:18226
  26607. #, no-wrap
  26608. msgid "@file{sh}, in @file{/bin}"
  26609. msgstr ""
  26610. #. type: lisp
  26611. #: guix-git/doc/guix.texi:18230
  26612. #, no-wrap
  26613. msgid ""
  26614. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  26615. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  26616. msgstr ""
  26617. #. type: file{#1}
  26618. #: guix-git/doc/guix.texi:18232
  26619. #, no-wrap
  26620. msgid "/usr/bin/env"
  26621. msgstr "/usr/bin/env"
  26622. #. type: cindex
  26623. #: guix-git/doc/guix.texi:18233
  26624. #, no-wrap
  26625. msgid "@file{env}, in @file{/usr/bin}"
  26626. msgstr ""
  26627. #. type: defvar
  26628. #: guix-git/doc/guix.texi:18236
  26629. msgid "If you want to add, say, @code{/bin/bash} to your system, you can change it to:"
  26630. msgstr ""
  26631. #. type: lisp
  26632. #: guix-git/doc/guix.texi:18241
  26633. #, no-wrap
  26634. msgid ""
  26635. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  26636. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\"))\n"
  26637. " (\"/bin/bash\" ,(file-append bash \"/bin/bash\")))\n"
  26638. msgstr ""
  26639. #. type: defvar
  26640. #: guix-git/doc/guix.texi:18248
  26641. msgid "Since this is part of @code{%base-services}, you can use @code{modify-services} to customize the set of special files (@pxref{Service Reference, @code{modify-services}}). But the simple way to add a special file is @i{via} the @code{extra-special-file} procedure (see below)."
  26642. msgstr ""
  26643. #. type: defun
  26644. #: guix-git/doc/guix.texi:18250
  26645. #, no-wrap
  26646. msgid "extra-special-file file target"
  26647. msgstr ""
  26648. #. type: defun
  26649. #: guix-git/doc/guix.texi:18252
  26650. msgid "Use @var{target} as the ``special file'' @var{file}."
  26651. msgstr ""
  26652. #. type: defun
  26653. #: guix-git/doc/guix.texi:18256
  26654. msgid "For example, adding the following lines to the @code{services} field of your operating system declaration leads to a @file{/usr/bin/env} symlink:"
  26655. msgstr ""
  26656. #. type: lisp
  26657. #: guix-git/doc/guix.texi:18260
  26658. #, no-wrap
  26659. msgid ""
  26660. "(extra-special-file \"/usr/bin/env\"\n"
  26661. " (file-append coreutils \"/bin/env\"))\n"
  26662. msgstr ""
  26663. #. type: defvar
  26664. #: guix-git/doc/guix.texi:18263
  26665. #, fuzzy, no-wrap
  26666. #| msgid "guix-publish-service-type"
  26667. msgid "host-name-service-type"
  26668. msgstr "guix-publish-service-type"
  26669. #. type: defvar
  26670. #: guix-git/doc/guix.texi:18267
  26671. msgid "Type of the service that sets the system host name, whose value is a string. This service is included in @code{operating-system} by default (@pxref{operating-system-essential-services,@code{essential-services}})."
  26672. msgstr ""
  26673. #. type: defvar
  26674. #: guix-git/doc/guix.texi:18269
  26675. #, fuzzy, no-wrap
  26676. #| msgid "guix-publish-service-type"
  26677. msgid "console-font-service-type"
  26678. msgstr "guix-publish-service-type"
  26679. #. type: defvar
  26680. #: guix-git/doc/guix.texi:18274
  26681. msgid "Install the given fonts on the specified ttys (fonts are per virtual console on the kernel Linux). The value of this service is a list of tty/font pairs. The font can be the name of a font provided by the @code{kbd} package or any valid argument to @command{setfont}, as in this example:"
  26682. msgstr ""
  26683. #. type: lisp
  26684. #: guix-git/doc/guix.texi:18283
  26685. #, no-wrap
  26686. msgid ""
  26687. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  26688. " (\"tty2\" . ,(file-append\n"
  26689. " font-tamzen\n"
  26690. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  26691. " (\"tty3\" . ,(file-append\n"
  26692. " font-terminus\n"
  26693. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  26694. msgstr ""
  26695. #. type: defvar
  26696. #: guix-git/doc/guix.texi:18286
  26697. #, fuzzy, no-wrap
  26698. #| msgid "guix-publish-service-type"
  26699. msgid "hosts-service-type"
  26700. msgstr "guix-publish-service-type"
  26701. #. type: defvar
  26702. #: guix-git/doc/guix.texi:18290
  26703. msgid "Type of the service that populates the entries for (@file{/etc/hosts}). This service type can be @emph{extended} by passing it a list of @code{host} records."
  26704. msgstr ""
  26705. #. type: defvar
  26706. #: guix-git/doc/guix.texi:18292
  26707. msgid "The example below shows how to add two entries to @file{/etc/hosts}:"
  26708. msgstr ""
  26709. #. The domain names below SHOULD NOT be translated.
  26710. #. type: lisp
  26711. #: guix-git/doc/guix.texi:18303
  26712. #, no-wrap
  26713. msgid ""
  26714. "(simple-service 'add-extra-hosts\n"
  26715. " hosts-service-type\n"
  26716. " (list (host \"192.0.2.1\" \"example.com\"\n"
  26717. " '(\"example.net\" \"example.org\"))\n"
  26718. " (host \"2001:db8::1\" \"example.com\"\n"
  26719. " '(\"example.net\" \"example.org\"))))\n"
  26720. msgstr ""
  26721. #. type: cindex
  26722. #: guix-git/doc/guix.texi:18306
  26723. #, no-wrap
  26724. msgid "@file{/etc/hosts} default entries"
  26725. msgstr ""
  26726. #. type: quotation
  26727. #: guix-git/doc/guix.texi:18308
  26728. msgid "By default @file{/etc/hosts} comes with the following entries:"
  26729. msgstr ""
  26730. #. type: example
  26731. #: guix-git/doc/guix.texi:18311
  26732. #, no-wrap
  26733. msgid ""
  26734. "127.0.0.1 localhost @var{host-name}\n"
  26735. "::1 localhost @var{host-name}\n"
  26736. msgstr ""
  26737. #. type: quotation
  26738. #: guix-git/doc/guix.texi:18317
  26739. msgid "For most setups this is what you want though if you find yourself in the situation where you want to change the default entries, you can do so in @code{operating-system} via @code{modify-services} (@pxref{Service Reference,@code{modify-services}})."
  26740. msgstr ""
  26741. #. type: quotation
  26742. #: guix-git/doc/guix.texi:18320
  26743. msgid "The following example shows how to unset @var{host-name} from being an alias of @code{localhost}."
  26744. msgstr ""
  26745. #. type: lisp
  26746. #: guix-git/doc/guix.texi:18323 guix-git/doc/guix.texi:19513
  26747. #, no-wrap
  26748. msgid ""
  26749. "(operating-system\n"
  26750. " ;; @dots{}\n"
  26751. "\n"
  26752. msgstr ""
  26753. #. type: lisp
  26754. #: guix-git/doc/guix.texi:18330
  26755. #, no-wrap
  26756. msgid ""
  26757. " (essential-services\n"
  26758. " (modify-services\n"
  26759. " (operating-system-default-essential-services this-operating-system)\n"
  26760. " (hosts-service-type config => (list\n"
  26761. " (host \"127.0.0.1\" \"localhost\")\n"
  26762. " (host \"::1\" \"localhost\"))))))\n"
  26763. msgstr ""
  26764. #. type: defun
  26765. #: guix-git/doc/guix.texi:18335
  26766. #, no-wrap
  26767. msgid "host @var{address} @var{canonical-name} [@var{aliases}]"
  26768. msgstr ""
  26769. #. type: defun
  26770. #: guix-git/doc/guix.texi:18338
  26771. msgid "Return a new record for the host at @var{address} with the given @var{canonical-name} and possibly @var{aliases}."
  26772. msgstr ""
  26773. #. type: defun
  26774. #: guix-git/doc/guix.texi:18342
  26775. msgid "@var{address} must be a string denoting a valid IPv4 or IPv6 address, and @var{canonical-name} and the strings listed in @var{aliases} must be valid host names."
  26776. msgstr ""
  26777. #. type: defvar
  26778. #: guix-git/doc/guix.texi:18344
  26779. #, fuzzy, no-wrap
  26780. #| msgid "guix-publish-service-type"
  26781. msgid "login-service-type"
  26782. msgstr "guix-publish-service-type"
  26783. #. type: defvar
  26784. #: guix-git/doc/guix.texi:18347
  26785. msgid "Type of the service that provides a console login service, whose value is a @code{<login-configuration>} object."
  26786. msgstr ""
  26787. #. type: deftp
  26788. #: guix-git/doc/guix.texi:18349
  26789. #, no-wrap
  26790. msgid "{Data Type} login-configuration"
  26791. msgstr ""
  26792. #. type: deftp
  26793. #: guix-git/doc/guix.texi:18352
  26794. #, fuzzy
  26795. msgid "Data type representing the configuration of login, which specifies the @acronym{MOTD, message of the day}, among other things."
  26796. msgstr "Gerencie a configuração do sistema operacional."
  26797. #. type: code{#1}
  26798. #: guix-git/doc/guix.texi:18355 guix-git/doc/guix.texi:19309
  26799. #, no-wrap
  26800. msgid "motd"
  26801. msgstr ""
  26802. #. type: cindex
  26803. #: guix-git/doc/guix.texi:18356
  26804. #, no-wrap
  26805. msgid "message of the day"
  26806. msgstr ""
  26807. #. type: table
  26808. #: guix-git/doc/guix.texi:18358 guix-git/doc/guix.texi:19311
  26809. msgid "A file-like object containing the ``message of the day''."
  26810. msgstr ""
  26811. #. type: item
  26812. #: guix-git/doc/guix.texi:18359 guix-git/doc/guix.texi:19312
  26813. #: guix-git/doc/guix.texi:22048
  26814. #, no-wrap
  26815. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  26816. msgstr ""
  26817. #. type: table
  26818. #: guix-git/doc/guix.texi:18362 guix-git/doc/guix.texi:19315
  26819. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  26820. msgstr ""
  26821. #. type: defvar
  26822. #: guix-git/doc/guix.texi:18366
  26823. #, fuzzy, no-wrap
  26824. #| msgid "guix-publish-service-type"
  26825. msgid "mingetty-service-type"
  26826. msgstr "guix-publish-service-type"
  26827. #. type: defvar
  26828. #: guix-git/doc/guix.texi:18370
  26829. msgid "Type of the service that runs Mingetty, an implementation of the virtual console log-in. The value for this service is a @code{<mingetty-configuration>} object."
  26830. msgstr ""
  26831. #. type: deftp
  26832. #: guix-git/doc/guix.texi:18372
  26833. #, no-wrap
  26834. msgid "{Data Type} mingetty-configuration"
  26835. msgstr ""
  26836. #. type: deftp
  26837. #: guix-git/doc/guix.texi:18375
  26838. #, fuzzy
  26839. msgid "Data type representing the configuration of Mingetty, which specifies the tty to run, among other things."
  26840. msgstr "Gerencie a configuração do sistema operacional."
  26841. #. type: code{#1}
  26842. #: guix-git/doc/guix.texi:18377 guix-git/doc/guix.texi:18415
  26843. #: guix-git/doc/guix.texi:38224
  26844. #, no-wrap
  26845. msgid "tty"
  26846. msgstr ""
  26847. #. type: table
  26848. #: guix-git/doc/guix.texi:18379
  26849. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  26850. msgstr ""
  26851. #. type: item
  26852. #: guix-git/doc/guix.texi:18380 guix-git/doc/guix.texi:18444
  26853. #: guix-git/doc/guix.texi:18606
  26854. #, no-wrap
  26855. msgid "@code{auto-login} (default: @code{#f})"
  26856. msgstr ""
  26857. #. type: table
  26858. #: guix-git/doc/guix.texi:18384
  26859. msgid "When true, this field must be a string denoting the user name under which the system automatically logs in. When it is @code{#f}, a user name and password must be entered to log in."
  26860. msgstr ""
  26861. #. type: item
  26862. #: guix-git/doc/guix.texi:18385
  26863. #, no-wrap
  26864. msgid "@code{login-program} (default: @code{#f})"
  26865. msgstr ""
  26866. #. type: table
  26867. #: guix-git/doc/guix.texi:18389
  26868. msgid "This must be either @code{#f}, in which case the default log-in program is used (@command{login} from the Shadow tool suite), or a gexp denoting the name of the log-in program."
  26869. msgstr ""
  26870. #. type: item
  26871. #: guix-git/doc/guix.texi:18390
  26872. #, no-wrap
  26873. msgid "@code{login-pause?} (default: @code{#f})"
  26874. msgstr ""
  26875. #. type: table
  26876. #: guix-git/doc/guix.texi:18393
  26877. msgid "When set to @code{#t} in conjunction with @var{auto-login}, the user will have to press a key before the log-in shell is launched."
  26878. msgstr ""
  26879. #. type: item
  26880. #: guix-git/doc/guix.texi:18394
  26881. #, no-wrap
  26882. msgid "@code{clear-on-logout?} (default: @code{#t})"
  26883. msgstr ""
  26884. #. type: table
  26885. #: guix-git/doc/guix.texi:18396
  26886. msgid "When set to @code{#t}, the screen will be cleared after logout."
  26887. msgstr ""
  26888. #. type: item
  26889. #: guix-git/doc/guix.texi:18397
  26890. #, no-wrap
  26891. msgid "@code{mingetty} (default: @var{mingetty})"
  26892. msgstr ""
  26893. #. type: table
  26894. #: guix-git/doc/guix.texi:18399
  26895. msgid "The Mingetty package to use."
  26896. msgstr ""
  26897. #. type: defvar
  26898. #: guix-git/doc/guix.texi:18403
  26899. #, fuzzy, no-wrap
  26900. #| msgid "guix-publish-service-type"
  26901. msgid "agetty-service-type"
  26902. msgstr "guix-publish-service-type"
  26903. #. type: defvar
  26904. #: guix-git/doc/guix.texi:18407
  26905. msgid "Type of the service that runs agetty, which implements virtual and serial console log-in. The value for this service is a @code{<agetty-configuration>} object."
  26906. msgstr ""
  26907. #. type: deftp
  26908. #: guix-git/doc/guix.texi:18409
  26909. #, no-wrap
  26910. msgid "{Data Type} agetty-configuration"
  26911. msgstr ""
  26912. #. type: deftp
  26913. #: guix-git/doc/guix.texi:18413
  26914. msgid "Data type representing the configuration of agetty, which specifies the tty to run, among other things@footnote{See the @code{agetty(8)} man page for more information.}."
  26915. msgstr ""
  26916. #. type: table
  26917. #: guix-git/doc/guix.texi:18419
  26918. msgid "The name of the console this agetty runs on, as a string---e.g., @code{\"ttyS0\"}. This argument is optional, it will default to a reasonable default serial port used by the kernel Linux."
  26919. msgstr ""
  26920. #. type: table
  26921. #: guix-git/doc/guix.texi:18423
  26922. msgid "For this, if there is a value for an option @code{agetty.tty} in the kernel command line, agetty will extract the device name of the serial port from it and use that."
  26923. msgstr ""
  26924. #. type: table
  26925. #: guix-git/doc/guix.texi:18427
  26926. msgid "If not and if there is a value for an option @code{console} with a tty in the Linux command line, agetty will extract the device name of the serial port from it and use that."
  26927. msgstr ""
  26928. #. type: table
  26929. #: guix-git/doc/guix.texi:18431
  26930. msgid "In both cases, agetty will leave the other serial device settings (baud rate etc.)@: alone---in the hope that Linux pinned them to the correct values."
  26931. msgstr ""
  26932. #. type: item
  26933. #: guix-git/doc/guix.texi:18432 guix-git/doc/guix.texi:38410
  26934. #, no-wrap
  26935. msgid "@code{baud-rate} (default: @code{#f})"
  26936. msgstr ""
  26937. #. type: table
  26938. #: guix-git/doc/guix.texi:18435
  26939. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  26940. msgstr ""
  26941. #. type: item
  26942. #: guix-git/doc/guix.texi:18436
  26943. #, no-wrap
  26944. msgid "@code{term} (default: @code{#f})"
  26945. msgstr "@code{term} (default: @code{#f})"
  26946. #. type: table
  26947. #: guix-git/doc/guix.texi:18439
  26948. msgid "A string containing the value used for the @env{TERM} environment variable."
  26949. msgstr ""
  26950. #. type: item
  26951. #: guix-git/doc/guix.texi:18440
  26952. #, no-wrap
  26953. msgid "@code{eight-bits?} (default: @code{#f})"
  26954. msgstr ""
  26955. #. type: table
  26956. #: guix-git/doc/guix.texi:18443
  26957. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  26958. msgstr ""
  26959. #. type: table
  26960. #: guix-git/doc/guix.texi:18447 guix-git/doc/guix.texi:18609
  26961. msgid "When passed a login name, as a string, the specified user will be logged in automatically without prompting for their login name or password."
  26962. msgstr ""
  26963. #. type: item
  26964. #: guix-git/doc/guix.texi:18448
  26965. #, no-wrap
  26966. msgid "@code{no-reset?} (default: @code{#f})"
  26967. msgstr "@code{no-reset?} (default: @code{#f})"
  26968. #. type: table
  26969. #: guix-git/doc/guix.texi:18450
  26970. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  26971. msgstr ""
  26972. #. type: item
  26973. #: guix-git/doc/guix.texi:18451
  26974. #, no-wrap
  26975. msgid "@code{host} (default: @code{#f})"
  26976. msgstr "@code{host} (default: @code{#f})"
  26977. #. type: table
  26978. #: guix-git/doc/guix.texi:18454
  26979. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  26980. msgstr ""
  26981. #. type: item
  26982. #: guix-git/doc/guix.texi:18455
  26983. #, no-wrap
  26984. msgid "@code{remote?} (default: @code{#f})"
  26985. msgstr "@code{remote?} (padrão: @code{#f})"
  26986. #. type: table
  26987. #: guix-git/doc/guix.texi:18459
  26988. msgid "When set to @code{#t} in conjunction with @var{host}, this will add an @code{-r} fakehost option to the command line of the login program specified in @var{login-program}."
  26989. msgstr ""
  26990. #. type: item
  26991. #: guix-git/doc/guix.texi:18460
  26992. #, no-wrap
  26993. msgid "@code{flow-control?} (default: @code{#f})"
  26994. msgstr ""
  26995. #. type: table
  26996. #: guix-git/doc/guix.texi:18462
  26997. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  26998. msgstr ""
  26999. #. type: item
  27000. #: guix-git/doc/guix.texi:18463
  27001. #, no-wrap
  27002. msgid "@code{no-issue?} (default: @code{#f})"
  27003. msgstr "@code{no-issue?} (padrão: @code{#f})"
  27004. #. type: table
  27005. #: guix-git/doc/guix.texi:18466
  27006. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  27007. msgstr ""
  27008. #. type: item
  27009. #: guix-git/doc/guix.texi:18467
  27010. #, no-wrap
  27011. msgid "@code{init-string} (default: @code{#f})"
  27012. msgstr ""
  27013. #. type: table
  27014. #: guix-git/doc/guix.texi:18470
  27015. msgid "This accepts a string that will be sent to the tty or modem before sending anything else. It can be used to initialize a modem."
  27016. msgstr ""
  27017. #. type: item
  27018. #: guix-git/doc/guix.texi:18471
  27019. #, no-wrap
  27020. msgid "@code{no-clear?} (default: @code{#f})"
  27021. msgstr "@code{no-clear?} (padrão: @code{#f})"
  27022. #. type: table
  27023. #: guix-git/doc/guix.texi:18474
  27024. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  27025. msgstr ""
  27026. #. type: item
  27027. #: guix-git/doc/guix.texi:18475
  27028. #, no-wrap
  27029. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  27030. msgstr ""
  27031. #. type: table
  27032. #: guix-git/doc/guix.texi:18479
  27033. msgid "This must be either a gexp denoting the name of a log-in program, or unset, in which case the default value is the @command{login} from the Shadow tool suite."
  27034. msgstr ""
  27035. #. type: item
  27036. #: guix-git/doc/guix.texi:18480
  27037. #, no-wrap
  27038. msgid "@code{local-line} (default: @code{#f})"
  27039. msgstr ""
  27040. #. type: table
  27041. #: guix-git/doc/guix.texi:18484
  27042. msgid "Control the CLOCAL line flag. This accepts one of three symbols as arguments, @code{'auto}, @code{'always}, or @code{'never}. If @code{#f}, the default value chosen by agetty is @code{'auto}."
  27043. msgstr ""
  27044. #. type: item
  27045. #: guix-git/doc/guix.texi:18485
  27046. #, no-wrap
  27047. msgid "@code{extract-baud?} (default: @code{#f})"
  27048. msgstr ""
  27049. #. type: table
  27050. #: guix-git/doc/guix.texi:18488
  27051. msgid "When set to @code{#t}, instruct agetty to try to extract the baud rate from the status messages produced by certain types of modems."
  27052. msgstr ""
  27053. #. type: item
  27054. #: guix-git/doc/guix.texi:18489
  27055. #, no-wrap
  27056. msgid "@code{skip-login?} (default: @code{#f})"
  27057. msgstr ""
  27058. #. type: table
  27059. #: guix-git/doc/guix.texi:18493
  27060. msgid "When set to @code{#t}, do not prompt the user for a login name. This can be used with @var{login-program} field to use non-standard login systems."
  27061. msgstr ""
  27062. #. type: item
  27063. #: guix-git/doc/guix.texi:18494
  27064. #, no-wrap
  27065. msgid "@code{no-newline?} (default: @code{#f})"
  27066. msgstr "@code{no-newline?} (padrão: @code{#f})"
  27067. #. type: table
  27068. #: guix-git/doc/guix.texi:18497
  27069. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  27070. msgstr ""
  27071. #. type: item
  27072. #: guix-git/doc/guix.texi:18499
  27073. #, no-wrap
  27074. msgid "@code{login-options} (default: @code{#f})"
  27075. msgstr ""
  27076. #. type: table
  27077. #: guix-git/doc/guix.texi:18504
  27078. msgid "This option accepts a string containing options that are passed to the login program. When used with the @var{login-program}, be aware that a malicious user could try to enter a login name containing embedded options that could be parsed by the login program."
  27079. msgstr ""
  27080. #. type: item
  27081. #: guix-git/doc/guix.texi:18505
  27082. #, no-wrap
  27083. msgid "@code{login-pause} (default: @code{#f})"
  27084. msgstr ""
  27085. #. type: table
  27086. #: guix-git/doc/guix.texi:18509
  27087. msgid "When set to @code{#t}, wait for any key before showing the login prompt. This can be used in conjunction with @var{auto-login} to save memory by lazily spawning shells."
  27088. msgstr ""
  27089. #. type: item
  27090. #: guix-git/doc/guix.texi:18510 guix-git/doc/guix.texi:33034
  27091. #, no-wrap
  27092. msgid "@code{chroot} (default: @code{#f})"
  27093. msgstr "@code{chroot} (default: @code{#f})"
  27094. #. type: table
  27095. #: guix-git/doc/guix.texi:18513
  27096. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  27097. msgstr ""
  27098. #. type: item
  27099. #: guix-git/doc/guix.texi:18514
  27100. #, no-wrap
  27101. msgid "@code{hangup?} (default: @code{#f})"
  27102. msgstr "@code{hangup?} (padrão: @code{#f})"
  27103. #. type: table
  27104. #: guix-git/doc/guix.texi:18517
  27105. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  27106. msgstr ""
  27107. #. type: item
  27108. #: guix-git/doc/guix.texi:18518
  27109. #, no-wrap
  27110. msgid "@code{keep-baud?} (default: @code{#f})"
  27111. msgstr ""
  27112. #. type: table
  27113. #: guix-git/doc/guix.texi:18522
  27114. msgid "When set to @code{#t}, try to keep the existing baud rate. The baud rates from @var{baud-rate} are used when agetty receives a @key{BREAK} character."
  27115. msgstr ""
  27116. #. type: item
  27117. #: guix-git/doc/guix.texi:18523
  27118. #, no-wrap
  27119. msgid "@code{timeout} (default: @code{#f})"
  27120. msgstr ""
  27121. #. type: table
  27122. #: guix-git/doc/guix.texi:18526
  27123. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  27124. msgstr ""
  27125. #. type: item
  27126. #: guix-git/doc/guix.texi:18527
  27127. #, no-wrap
  27128. msgid "@code{detect-case?} (default: @code{#f})"
  27129. msgstr ""
  27130. #. type: table
  27131. #: guix-git/doc/guix.texi:18533
  27132. msgid "When set to @code{#t}, turn on support for detecting an uppercase-only terminal. This setting will detect a login name containing only uppercase letters as indicating an uppercase-only terminal and turn on some upper-to-lower case conversions. Note that this will not support Unicode characters."
  27133. msgstr ""
  27134. #. type: item
  27135. #: guix-git/doc/guix.texi:18534
  27136. #, no-wrap
  27137. msgid "@code{wait-cr?} (default: @code{#f})"
  27138. msgstr ""
  27139. #. type: table
  27140. #: guix-git/doc/guix.texi:18539
  27141. msgid "When set to @code{#t}, wait for the user or modem to send a carriage-return or linefeed character before displaying @file{/etc/issue} or login prompt. This is typically used with the @var{init-string} option."
  27142. msgstr ""
  27143. #. type: item
  27144. #: guix-git/doc/guix.texi:18540
  27145. #, no-wrap
  27146. msgid "@code{no-hints?} (default: @code{#f})"
  27147. msgstr "@code{no-hints?} (padrão: @code{#f})"
  27148. #. type: table
  27149. #: guix-git/doc/guix.texi:18543
  27150. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  27151. msgstr ""
  27152. #. type: item
  27153. #: guix-git/doc/guix.texi:18544
  27154. #, no-wrap
  27155. msgid "@code{no-hostname?} (default: @code{#f})"
  27156. msgstr "@code{no-hostname?} (default: @code{#f})"
  27157. #. type: table
  27158. #: guix-git/doc/guix.texi:18547
  27159. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  27160. msgstr ""
  27161. #. type: item
  27162. #: guix-git/doc/guix.texi:18548
  27163. #, no-wrap
  27164. msgid "@code{long-hostname?} (default: @code{#f})"
  27165. msgstr ""
  27166. #. type: table
  27167. #: guix-git/doc/guix.texi:18552
  27168. msgid "By default, the hostname is only printed until the first dot. When this option is set to @code{#t}, the fully qualified hostname by @code{gethostname} or @code{getaddrinfo} is shown."
  27169. msgstr ""
  27170. #. type: item
  27171. #: guix-git/doc/guix.texi:18553
  27172. #, no-wrap
  27173. msgid "@code{erase-characters} (default: @code{#f})"
  27174. msgstr ""
  27175. #. type: table
  27176. #: guix-git/doc/guix.texi:18556
  27177. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  27178. msgstr ""
  27179. #. type: item
  27180. #: guix-git/doc/guix.texi:18557
  27181. #, no-wrap
  27182. msgid "@code{kill-characters} (default: @code{#f})"
  27183. msgstr ""
  27184. #. type: table
  27185. #: guix-git/doc/guix.texi:18561
  27186. msgid "This option accepts a string that should be interpreted to mean ``ignore all previous characters'' (also called a ``kill'' character) when the user types their login name."
  27187. msgstr ""
  27188. #. type: item
  27189. #: guix-git/doc/guix.texi:18562
  27190. #, no-wrap
  27191. msgid "@code{chdir} (default: @code{#f})"
  27192. msgstr "@code{chdir} (default: @code{#f})"
  27193. #. type: table
  27194. #: guix-git/doc/guix.texi:18565
  27195. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  27196. msgstr ""
  27197. #. type: item
  27198. #: guix-git/doc/guix.texi:18566
  27199. #, no-wrap
  27200. msgid "@code{delay} (default: @code{#f})"
  27201. msgstr "@code{delay} (default: @code{#f})"
  27202. #. type: table
  27203. #: guix-git/doc/guix.texi:18569
  27204. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  27205. msgstr ""
  27206. #. type: item
  27207. #: guix-git/doc/guix.texi:18570
  27208. #, no-wrap
  27209. msgid "@code{nice} (default: @code{#f})"
  27210. msgstr "@code{nice} (default: @code{#f})"
  27211. #. type: table
  27212. #: guix-git/doc/guix.texi:18573
  27213. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  27214. msgstr ""
  27215. #. type: item
  27216. #: guix-git/doc/guix.texi:18574 guix-git/doc/guix.texi:18876
  27217. #: guix-git/doc/guix.texi:20229 guix-git/doc/guix.texi:28785
  27218. #: guix-git/doc/guix.texi:30610 guix-git/doc/guix.texi:33192
  27219. #: guix-git/doc/guix.texi:36043 guix-git/doc/guix.texi:38752
  27220. #: guix-git/doc/guix.texi:43115 guix-git/doc/guix.texi:43692
  27221. #: guix-git/doc/guix.texi:43728
  27222. #, no-wrap
  27223. msgid "@code{extra-options} (default: @code{'()})"
  27224. msgstr ""
  27225. #. type: table
  27226. #: guix-git/doc/guix.texi:18577
  27227. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  27228. msgstr ""
  27229. #. type: item
  27230. #: guix-git/doc/guix.texi:18578 guix-git/doc/guix.texi:20077
  27231. #: guix-git/doc/guix.texi:20185 guix-git/doc/guix.texi:26421
  27232. #: guix-git/doc/guix.texi:30286
  27233. #, fuzzy, no-wrap
  27234. #| msgid "@code{features} (default: @code{'()})"
  27235. msgid "@code{shepherd-requirement} (default: @code{'()})"
  27236. msgstr "@code{features} (padrão: @code{'()})"
  27237. #. type: table
  27238. #: guix-git/doc/guix.texi:18581
  27239. msgid "The option can be used to provides extra shepherd requirements (for example @code{'syslogd}) to the respective @code{'term-}* shepherd service."
  27240. msgstr ""
  27241. #. type: defvar
  27242. #: guix-git/doc/guix.texi:18585
  27243. #, fuzzy, no-wrap
  27244. #| msgid "guix-publish-service-type"
  27245. msgid "kmscon-service-type"
  27246. msgstr "guix-publish-service-type"
  27247. #. type: defvar
  27248. #: guix-git/doc/guix.texi:18589
  27249. msgid "Type of the service that runs @uref{https://www.freedesktop.org/wiki/Software/kmscon,kmscon}, which implements virtual console log-in. The value for this service is a @code{<kmscon-configuration>} object."
  27250. msgstr ""
  27251. #. type: deftp
  27252. #: guix-git/doc/guix.texi:18591
  27253. #, no-wrap
  27254. msgid "{Data Type} kmscon-configuration"
  27255. msgstr ""
  27256. #. type: deftp
  27257. #: guix-git/doc/guix.texi:18594
  27258. #, fuzzy
  27259. msgid "Data type representing the configuration of Kmscon, which specifies the tty to run, among other things."
  27260. msgstr "Gerencie a configuração do sistema operacional."
  27261. #. type: code{#1}
  27262. #: guix-git/doc/guix.texi:18596
  27263. #, no-wrap
  27264. msgid "virtual-terminal"
  27265. msgstr ""
  27266. #. type: table
  27267. #: guix-git/doc/guix.texi:18598
  27268. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  27269. msgstr ""
  27270. #. type: item
  27271. #: guix-git/doc/guix.texi:18599
  27272. #, no-wrap
  27273. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  27274. msgstr ""
  27275. #. type: table
  27276. #: guix-git/doc/guix.texi:18602
  27277. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  27278. msgstr ""
  27279. #. type: item
  27280. #: guix-git/doc/guix.texi:18603
  27281. #, no-wrap
  27282. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  27283. msgstr ""
  27284. #. type: table
  27285. #: guix-git/doc/guix.texi:18605
  27286. msgid "A list of arguments to pass to @command{login}."
  27287. msgstr ""
  27288. #. type: item
  27289. #: guix-git/doc/guix.texi:18610
  27290. #, no-wrap
  27291. msgid "@code{hardware-acceleration?} (default: #f)"
  27292. msgstr ""
  27293. #. type: table
  27294. #: guix-git/doc/guix.texi:18612
  27295. msgid "Whether to use hardware acceleration."
  27296. msgstr ""
  27297. #. type: item
  27298. #: guix-git/doc/guix.texi:18613
  27299. #, fuzzy, no-wrap
  27300. msgid "@code{font-engine} (default: @code{\"pango\"})"
  27301. msgstr "@code{no-newline?} (padrão: @code{#f})"
  27302. #. type: table
  27303. #: guix-git/doc/guix.texi:18615
  27304. msgid "Font engine used in Kmscon."
  27305. msgstr ""
  27306. #. type: item
  27307. #: guix-git/doc/guix.texi:18616
  27308. #, fuzzy, no-wrap
  27309. msgid "@code{font-size} (default: @code{12})"
  27310. msgstr "@code{max-zone-size} (default: @code{#f})"
  27311. #. type: table
  27312. #: guix-git/doc/guix.texi:18618
  27313. msgid "Font size used in Kmscon."
  27314. msgstr ""
  27315. #. type: table
  27316. #: guix-git/doc/guix.texi:18622
  27317. msgid "If this is @code{#f}, Kmscon uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  27318. msgstr ""
  27319. #. type: table
  27320. #: guix-git/doc/guix.texi:18626
  27321. msgid "Otherwise this must be a @code{keyboard-layout} object specifying the keyboard layout. @xref{Keyboard Layout}, for more information on how to specify the keyboard layout."
  27322. msgstr ""
  27323. #. type: item
  27324. #: guix-git/doc/guix.texi:18627
  27325. #, no-wrap
  27326. msgid "@code{kmscon} (default: @var{kmscon})"
  27327. msgstr ""
  27328. #. type: table
  27329. #: guix-git/doc/guix.texi:18629
  27330. msgid "The Kmscon package to use."
  27331. msgstr ""
  27332. #. type: defvar
  27333. #: guix-git/doc/guix.texi:18634
  27334. #, fuzzy, no-wrap
  27335. #| msgid "guix-publish-service-type"
  27336. msgid "nscd-service-type"
  27337. msgstr "guix-publish-service-type"
  27338. #. type: defvar
  27339. #: guix-git/doc/guix.texi:18637
  27340. #, fuzzy
  27341. msgid "Type of the service that runs the libc @abbr{nscd, name service cache daemon}, whose value is an @code{<nscd-configuration>} object."
  27342. msgstr "Gerencie a configuração do sistema operacional."
  27343. #. type: defvar
  27344. #: guix-git/doc/guix.texi:18639
  27345. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  27346. msgstr ""
  27347. #. type: item
  27348. #: guix-git/doc/guix.texi:18641
  27349. #, no-wrap
  27350. msgid "invalidate"
  27351. msgstr ""
  27352. #. type: cindex
  27353. #: guix-git/doc/guix.texi:18642
  27354. #, no-wrap
  27355. msgid "nscd, cache invalidation"
  27356. msgstr ""
  27357. #. type: cindex
  27358. #: guix-git/doc/guix.texi:18643
  27359. #, no-wrap
  27360. msgid "cache invalidation, nscd"
  27361. msgstr ""
  27362. #. type: table
  27363. #: guix-git/doc/guix.texi:18645
  27364. msgid "This invalidate the given cache. For instance, running:"
  27365. msgstr ""
  27366. #. type: example
  27367. #: guix-git/doc/guix.texi:18648
  27368. #, no-wrap
  27369. msgid "herd invalidate nscd hosts\n"
  27370. msgstr ""
  27371. #. type: table
  27372. #: guix-git/doc/guix.texi:18652
  27373. msgid "invalidates the host name lookup cache of nscd."
  27374. msgstr ""
  27375. #. type: item
  27376. #: guix-git/doc/guix.texi:18653
  27377. #, no-wrap
  27378. msgid "statistics"
  27379. msgstr ""
  27380. #. type: table
  27381. #: guix-git/doc/guix.texi:18656
  27382. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  27383. msgstr ""
  27384. #. type: deftp
  27385. #: guix-git/doc/guix.texi:18659
  27386. #, no-wrap
  27387. msgid "{Data Type} nscd-configuration"
  27388. msgstr ""
  27389. #. type: deftp
  27390. #: guix-git/doc/guix.texi:18662
  27391. #, fuzzy
  27392. msgid "Data type representing the @abbr{nscd, name service cache daemon} configuration."
  27393. msgstr "Gerencie a configuração do sistema operacional."
  27394. #. type: item
  27395. #: guix-git/doc/guix.texi:18665
  27396. #, no-wrap
  27397. msgid "@code{name-services} (default: @code{'()})"
  27398. msgstr ""
  27399. #. type: table
  27400. #: guix-git/doc/guix.texi:18668
  27401. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  27402. msgstr ""
  27403. #. type: item
  27404. #: guix-git/doc/guix.texi:18669
  27405. #, no-wrap
  27406. msgid "@code{glibc} (default: @var{glibc})"
  27407. msgstr ""
  27408. #. type: table
  27409. #: guix-git/doc/guix.texi:18672
  27410. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  27411. msgstr ""
  27412. #. type: item
  27413. #: guix-git/doc/guix.texi:18673
  27414. #, no-wrap
  27415. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  27416. msgstr ""
  27417. #. type: table
  27418. #: guix-git/doc/guix.texi:18676
  27419. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  27420. msgstr ""
  27421. #. type: item
  27422. #: guix-git/doc/guix.texi:18677
  27423. #, no-wrap
  27424. msgid "@code{debug-level} (default: @code{0})"
  27425. msgstr ""
  27426. #. type: table
  27427. #: guix-git/doc/guix.texi:18680
  27428. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  27429. msgstr ""
  27430. #. type: item
  27431. #: guix-git/doc/guix.texi:18681
  27432. #, no-wrap
  27433. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  27434. msgstr ""
  27435. #. type: table
  27436. #: guix-git/doc/guix.texi:18684
  27437. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  27438. msgstr ""
  27439. #. type: deftp
  27440. #: guix-git/doc/guix.texi:18688
  27441. #, no-wrap
  27442. msgid "{Data Type} nscd-cache"
  27443. msgstr ""
  27444. #. type: deftp
  27445. #: guix-git/doc/guix.texi:18690
  27446. msgid "Data type representing a cache database of nscd and its parameters."
  27447. msgstr ""
  27448. #. type: cindex
  27449. #: guix-git/doc/guix.texi:18693 guix-git/doc/guix.texi:24650
  27450. #, no-wrap
  27451. msgid "database"
  27452. msgstr ""
  27453. #. type: table
  27454. #: guix-git/doc/guix.texi:18698
  27455. msgid "This is a symbol representing the name of the database to be cached. Valid values are @code{passwd}, @code{group}, @code{hosts}, and @code{services}, which designate the corresponding NSS database (@pxref{NSS Basics,,, libc, The GNU C Library Reference Manual})."
  27456. msgstr ""
  27457. #. type: code{#1}
  27458. #: guix-git/doc/guix.texi:18699
  27459. #, no-wrap
  27460. msgid "positive-time-to-live"
  27461. msgstr ""
  27462. #. type: itemx
  27463. #: guix-git/doc/guix.texi:18700
  27464. #, no-wrap
  27465. msgid "@code{negative-time-to-live} (default: @code{20})"
  27466. msgstr ""
  27467. #. type: table
  27468. #: guix-git/doc/guix.texi:18703
  27469. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  27470. msgstr ""
  27471. #. type: item
  27472. #: guix-git/doc/guix.texi:18704
  27473. #, no-wrap
  27474. msgid "@code{check-files?} (default: @code{#t})"
  27475. msgstr ""
  27476. #. type: table
  27477. #: guix-git/doc/guix.texi:18707
  27478. msgid "Whether to check for updates of the files corresponding to @var{database}."
  27479. msgstr ""
  27480. #. type: table
  27481. #: guix-git/doc/guix.texi:18711
  27482. msgid "For instance, when @var{database} is @code{hosts}, setting this flag instructs nscd to check for updates in @file{/etc/hosts} and to take them into account."
  27483. msgstr ""
  27484. #. type: item
  27485. #: guix-git/doc/guix.texi:18712
  27486. #, no-wrap
  27487. msgid "@code{persistent?} (default: @code{#t})"
  27488. msgstr "@code{persistent?} (padrão: @code{#t})"
  27489. #. type: table
  27490. #: guix-git/doc/guix.texi:18714
  27491. msgid "Whether the cache should be stored persistently on disk."
  27492. msgstr ""
  27493. #. type: item
  27494. #: guix-git/doc/guix.texi:18715
  27495. #, no-wrap
  27496. msgid "@code{shared?} (default: @code{#t})"
  27497. msgstr "@code{shared?} (padrão: @code{#t})"
  27498. #. type: table
  27499. #: guix-git/doc/guix.texi:18717
  27500. msgid "Whether the cache should be shared among users."
  27501. msgstr ""
  27502. #. type: item
  27503. #: guix-git/doc/guix.texi:18718
  27504. #, no-wrap
  27505. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  27506. msgstr ""
  27507. #. type: table
  27508. #: guix-git/doc/guix.texi:18720
  27509. msgid "Maximum size in bytes of the database cache."
  27510. msgstr ""
  27511. #. type: defvar
  27512. #: guix-git/doc/guix.texi:18727
  27513. #, no-wrap
  27514. msgid "%nscd-default-caches"
  27515. msgstr ""
  27516. #. type: defvar
  27517. #: guix-git/doc/guix.texi:18730
  27518. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  27519. msgstr ""
  27520. #. type: defvar
  27521. #: guix-git/doc/guix.texi:18736
  27522. msgid "It enables persistent and aggressive caching of service and host name lookups. The latter provides better host name lookup performance, resilience in the face of unreliable name servers, and also better privacy---often the result of host name lookups is in local cache, so external name servers do not even need to be queried."
  27523. msgstr ""
  27524. #. type: cindex
  27525. #: guix-git/doc/guix.texi:18738
  27526. #, no-wrap
  27527. msgid "syslog"
  27528. msgstr ""
  27529. #. type: cindex
  27530. #: guix-git/doc/guix.texi:18739 guix-git/doc/guix.texi:19643
  27531. #, no-wrap
  27532. msgid "logging"
  27533. msgstr ""
  27534. #. type: defvar
  27535. #: guix-git/doc/guix.texi:18740
  27536. #, fuzzy, no-wrap
  27537. #| msgid "guix-publish-service-type"
  27538. msgid "syslog-service-type"
  27539. msgstr "guix-publish-service-type"
  27540. #. type: defvar
  27541. #: guix-git/doc/guix.texi:18743
  27542. msgid "Type of the service that runs the syslog daemon, whose value is a @code{<syslog-configuration>} object."
  27543. msgstr ""
  27544. #. type: Plain text
  27545. #: guix-git/doc/guix.texi:18749
  27546. msgid "To have a modified @code{syslog-configuration} come into effect after reconfiguring your system, the @samp{reload} action should be preferred to restarting the service, as many services such as the login manager depend on it and would be restarted as well:"
  27547. msgstr ""
  27548. #. type: example
  27549. #: guix-git/doc/guix.texi:18752
  27550. #, no-wrap
  27551. msgid "# herd reload syslog\n"
  27552. msgstr ""
  27553. #. type: Plain text
  27554. #: guix-git/doc/guix.texi:18756
  27555. msgid "which will cause the running @command{syslogd} process to reload its configuration."
  27556. msgstr ""
  27557. #. type: deftp
  27558. #: guix-git/doc/guix.texi:18757
  27559. #, no-wrap
  27560. msgid "{Data Type} syslog-configuration"
  27561. msgstr ""
  27562. #. type: deftp
  27563. #: guix-git/doc/guix.texi:18759
  27564. #, fuzzy
  27565. msgid "Data type representing the configuration of the syslog daemon."
  27566. msgstr "Gerencie a configuração do sistema operacional."
  27567. #. type: item
  27568. #: guix-git/doc/guix.texi:18761
  27569. #, no-wrap
  27570. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  27571. msgstr ""
  27572. #. type: table
  27573. #: guix-git/doc/guix.texi:18763
  27574. msgid "The syslog daemon to use."
  27575. msgstr ""
  27576. #. type: item
  27577. #: guix-git/doc/guix.texi:18764
  27578. #, no-wrap
  27579. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  27580. msgstr ""
  27581. #. type: table
  27582. #: guix-git/doc/guix.texi:18768
  27583. msgid "The syslog configuration file to use. @xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  27584. msgstr ""
  27585. #. type: defvar
  27586. #: guix-git/doc/guix.texi:18772
  27587. #, fuzzy, no-wrap
  27588. #| msgid "guix-publish-service-type"
  27589. msgid "guix-service-type"
  27590. msgstr "guix-publish-service-type"
  27591. #. type: defvar
  27592. #: guix-git/doc/guix.texi:18776
  27593. msgid "This is the type of the service that runs the build daemon, @command{guix-daemon} (@pxref{Invoking guix-daemon}). Its value must be a @code{guix-configuration} record as described below."
  27594. msgstr ""
  27595. #. type: anchor{#1}
  27596. #: guix-git/doc/guix.texi:18779
  27597. msgid "guix-configuration-type"
  27598. msgstr "guix-configuration-type"
  27599. #. type: deftp
  27600. #: guix-git/doc/guix.texi:18779
  27601. #, no-wrap
  27602. msgid "{Data Type} guix-configuration"
  27603. msgstr ""
  27604. #. type: deftp
  27605. #: guix-git/doc/guix.texi:18782
  27606. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  27607. msgstr ""
  27608. #. type: item
  27609. #: guix-git/doc/guix.texi:18784
  27610. #, no-wrap
  27611. msgid "@code{guix} (default: @var{guix})"
  27612. msgstr "@code{guix} (default: @var{guix})"
  27613. #. type: table
  27614. #: guix-git/doc/guix.texi:18786 guix-git/doc/guix.texi:19109
  27615. msgid "The Guix package to use."
  27616. msgstr ""
  27617. #. type: item
  27618. #: guix-git/doc/guix.texi:18787
  27619. #, no-wrap
  27620. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  27621. msgstr ""
  27622. #. type: table
  27623. #: guix-git/doc/guix.texi:18789
  27624. msgid "Name of the group for build user accounts."
  27625. msgstr ""
  27626. #. type: item
  27627. #: guix-git/doc/guix.texi:18790
  27628. #, no-wrap
  27629. msgid "@code{build-accounts} (default: @code{10})"
  27630. msgstr ""
  27631. #. type: table
  27632. #: guix-git/doc/guix.texi:18792
  27633. msgid "Number of build user accounts to create."
  27634. msgstr ""
  27635. #. type: item
  27636. #: guix-git/doc/guix.texi:18793
  27637. #, no-wrap
  27638. msgid "@code{authorize-key?} (default: @code{#t})"
  27639. msgstr ""
  27640. #. type: table
  27641. #: guix-git/doc/guix.texi:18800
  27642. msgid "Whether to authorize the substitute keys listed in @code{authorized-keys}---by default that of @code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} (@pxref{Substitutes})."
  27643. msgstr ""
  27644. #. type: table
  27645. #: guix-git/doc/guix.texi:18806
  27646. msgid "When @code{authorize-key?} is true, @file{/etc/guix/acl} cannot be changed by invoking @command{guix archive --authorize}. You must instead adjust @code{guix-configuration} as you wish and reconfigure the system. This ensures that your operating system configuration file is self-contained."
  27647. msgstr ""
  27648. #. type: quotation
  27649. #: guix-git/doc/guix.texi:18813
  27650. msgid "When booting or reconfiguring to a system where @code{authorize-key?} is true, the existing @file{/etc/guix/acl} file is backed up as @file{/etc/guix/acl.bak} if it was determined to be a manually modified file. This is to facilitate migration from earlier versions, which allowed for in-place modifications to @file{/etc/guix/acl}."
  27651. msgstr ""
  27652. #. type: vindex
  27653. #: guix-git/doc/guix.texi:18815
  27654. #, no-wrap
  27655. msgid "%default-authorized-guix-keys"
  27656. msgstr ""
  27657. #. type: item
  27658. #: guix-git/doc/guix.texi:18816
  27659. #, no-wrap
  27660. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  27661. msgstr ""
  27662. #. type: table
  27663. #: guix-git/doc/guix.texi:18822
  27664. msgid "The list of authorized key files for archive imports, as a list of string-valued gexps (@pxref{Invoking guix archive}). By default, it contains that of @code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} (@pxref{Substitutes}). See @code{substitute-urls} below for an example on how to change it."
  27665. msgstr ""
  27666. #. type: item
  27667. #: guix-git/doc/guix.texi:18823
  27668. #, no-wrap
  27669. msgid "@code{use-substitutes?} (default: @code{#t})"
  27670. msgstr ""
  27671. #. type: table
  27672. #: guix-git/doc/guix.texi:18825
  27673. msgid "Whether to use substitutes."
  27674. msgstr ""
  27675. #. type: item
  27676. #: guix-git/doc/guix.texi:18826 guix-git/doc/guix.texi:33289
  27677. #, no-wrap
  27678. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  27679. msgstr ""
  27680. #. type: table
  27681. #: guix-git/doc/guix.texi:18828 guix-git/doc/guix.texi:33291
  27682. msgid "The list of URLs where to look for substitutes by default."
  27683. msgstr ""
  27684. #. type: table
  27685. #: guix-git/doc/guix.texi:18835
  27686. msgid "Suppose you would like to fetch substitutes from @code{guix.example.org} in addition to @code{@value{SUBSTITUTE-SERVER-1}}. You will need to do two things: (1) add @code{guix.example.org} to @code{substitute-urls}, and (2) authorize its signing key, having done appropriate checks (@pxref{Substitute Server Authorization}). The configuration below does exactly that:"
  27687. msgstr ""
  27688. #. type: lisp
  27689. #: guix-git/doc/guix.texi:18844
  27690. #, no-wrap
  27691. msgid ""
  27692. "(guix-configuration\n"
  27693. " (substitute-urls\n"
  27694. " (append (list \"https://guix.example.org\")\n"
  27695. " %default-substitute-urls))\n"
  27696. " (authorized-keys\n"
  27697. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  27698. " %default-authorized-guix-keys)))\n"
  27699. msgstr ""
  27700. #. type: table
  27701. #: guix-git/doc/guix.texi:18849
  27702. msgid "This example assumes that the file @file{./guix.example.org-key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  27703. msgstr ""
  27704. #. type: item
  27705. #: guix-git/doc/guix.texi:18850
  27706. #, fuzzy, no-wrap
  27707. #| msgid "@code{negative-cache?} (default: @code{#t})"
  27708. msgid "@code{generate-substitute-key?} (default: @code{#t})"
  27709. msgstr "@code{negative-cache?} (padrão: @code{#t})"
  27710. #. type: table
  27711. #: guix-git/doc/guix.texi:18854
  27712. msgid "Whether to generate a @dfn{substitute key pair} under @file{/etc/guix/signing-key.pub} and @file{/etc/guix/signing-key.sec} if there is not already one."
  27713. msgstr ""
  27714. #. type: table
  27715. #: guix-git/doc/guix.texi:18861
  27716. msgid "This key pair is used when exporting store items, for instance with @command{guix publish} (@pxref{Invoking guix publish}) or @command{guix archive} (@pxref{Invoking guix archive}). Generating a key pair takes a few seconds when enough entropy is available and is only done once; you might want to turn it off for instance in a virtual machine that does not need it and where the extra boot time is a problem."
  27717. msgstr ""
  27718. #. type: item
  27719. #: guix-git/doc/guix.texi:18862
  27720. #, no-wrap
  27721. msgid "@code{max-silent-time} (default: @code{0})"
  27722. msgstr ""
  27723. #. type: itemx
  27724. #: guix-git/doc/guix.texi:18863
  27725. #, no-wrap
  27726. msgid "@code{timeout} (default: @code{0})"
  27727. msgstr ""
  27728. #. type: table
  27729. #: guix-git/doc/guix.texi:18867
  27730. msgid "The number of seconds of silence and the number of seconds of activity, respectively, after which a build process times out. A value of zero disables the timeout."
  27731. msgstr ""
  27732. #. type: item
  27733. #: guix-git/doc/guix.texi:18868
  27734. #, fuzzy, no-wrap
  27735. #| msgid "@code{compression-level} (default: @code{3})"
  27736. msgid "@code{log-compression} (default: @code{'gzip})"
  27737. msgstr "@code{compression-level} (padrão: @code{3})"
  27738. #. type: table
  27739. #: guix-git/doc/guix.texi:18871
  27740. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  27741. msgstr ""
  27742. #. type: item
  27743. #: guix-git/doc/guix.texi:18872
  27744. #, no-wrap
  27745. msgid "@code{discover?} (default: @code{#f})"
  27746. msgstr ""
  27747. #. type: table
  27748. #: guix-git/doc/guix.texi:18878
  27749. msgid "List of extra command-line options for @command{guix-daemon}."
  27750. msgstr ""
  27751. #. type: item
  27752. #: guix-git/doc/guix.texi:18879
  27753. #, no-wrap
  27754. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  27755. msgstr ""
  27756. #. type: table
  27757. #: guix-git/doc/guix.texi:18882
  27758. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  27759. msgstr ""
  27760. #. type: cindex
  27761. #: guix-git/doc/guix.texi:18883
  27762. #, no-wrap
  27763. msgid "HTTP proxy, for @code{guix-daemon}"
  27764. msgstr ""
  27765. #. type: cindex
  27766. #: guix-git/doc/guix.texi:18884
  27767. #, no-wrap
  27768. msgid "proxy, for @code{guix-daemon} HTTP access"
  27769. msgstr ""
  27770. #. type: item
  27771. #: guix-git/doc/guix.texi:18885
  27772. #, no-wrap
  27773. msgid "@code{http-proxy} (default: @code{#f})"
  27774. msgstr ""
  27775. #. type: table
  27776. #: guix-git/doc/guix.texi:18888
  27777. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  27778. msgstr ""
  27779. #. type: table
  27780. #: guix-git/doc/guix.texi:18891
  27781. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  27782. msgstr ""
  27783. #. type: example
  27784. #: guix-git/doc/guix.texi:18894
  27785. #, no-wrap
  27786. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  27787. msgstr ""
  27788. #. type: table
  27789. #: guix-git/doc/guix.texi:18897
  27790. msgid "To clear the proxy settings, run:"
  27791. msgstr ""
  27792. #. type: example
  27793. #: guix-git/doc/guix.texi:18900
  27794. #, no-wrap
  27795. msgid "herd set-http-proxy guix-daemon\n"
  27796. msgstr ""
  27797. #. type: item
  27798. #: guix-git/doc/guix.texi:18902
  27799. #, no-wrap
  27800. msgid "@code{tmpdir} (default: @code{#f})"
  27801. msgstr "@code{tmpdir} (default: @code{#f})"
  27802. #. type: table
  27803. #: guix-git/doc/guix.texi:18904
  27804. msgid "A directory path where the @command{guix-daemon} will perform builds."
  27805. msgstr ""
  27806. #. type: item
  27807. #: guix-git/doc/guix.texi:18905
  27808. #, fuzzy, no-wrap
  27809. #| msgid "@code{replacement} (default: @code{#f})"
  27810. msgid "@code{environment} (default: @code{'()})"
  27811. msgstr "@code{replacement} (default: @code{#f})"
  27812. #. type: table
  27813. #: guix-git/doc/guix.texi:18908
  27814. msgid "Environment variables to be set before starting the daemon, as a list of @code{key=value} strings."
  27815. msgstr ""
  27816. #. type: deftp
  27817. #: guix-git/doc/guix.texi:18912
  27818. #, fuzzy, no-wrap
  27819. msgid "{Data Type} guix-extension"
  27820. msgstr "build-machine {Data Type}"
  27821. #. type: deftp
  27822. #: guix-git/doc/guix.texi:18918
  27823. msgid "This data type represents the parameters of the Guix build daemon that are extendable. This is the type of the object that must be used within a guix service extension. @xref{Service Composition}, for more information."
  27824. msgstr ""
  27825. #. type: item
  27826. #: guix-git/doc/guix.texi:18920 guix-git/doc/guix.texi:21215
  27827. #, no-wrap
  27828. msgid "@code{authorized-keys} (default: @code{'()})"
  27829. msgstr ""
  27830. #. type: table
  27831. #: guix-git/doc/guix.texi:18922
  27832. msgid "A list of file-like objects where each element contains a public key."
  27833. msgstr ""
  27834. #. type: item
  27835. #: guix-git/doc/guix.texi:18923
  27836. #, fuzzy, no-wrap
  27837. #| msgid "@code{features} (default: @code{'()})"
  27838. msgid "@code{substitute-urls} (default: @code{'()})"
  27839. msgstr "@code{features} (padrão: @code{'()})"
  27840. #. type: table
  27841. #: guix-git/doc/guix.texi:18925
  27842. msgid "A list of strings where each element is a substitute URL."
  27843. msgstr ""
  27844. #. type: item
  27845. #: guix-git/doc/guix.texi:18926
  27846. #, fuzzy, no-wrap
  27847. #| msgid "@code{features} (default: @code{'()})"
  27848. msgid "@code{chroot-directories} (default: @code{'()})"
  27849. msgstr "@code{features} (padrão: @code{'()})"
  27850. #. type: table
  27851. #: guix-git/doc/guix.texi:18928
  27852. msgid "A list of file-like objects or strings pointing to additional directories the build daemon can use."
  27853. msgstr ""
  27854. #. type: defvar
  27855. #: guix-git/doc/guix.texi:18931
  27856. #, fuzzy, no-wrap
  27857. #| msgid "guix-publish-service-type"
  27858. msgid "udev-service-type"
  27859. msgstr "guix-publish-service-type"
  27860. #. type: defvar
  27861. #: guix-git/doc/guix.texi:18935
  27862. msgid "Type of the service that runs udev, a service which populates the @file{/dev} directory dynamically, whose value is a @code{<udev-configuration>} object."
  27863. msgstr ""
  27864. #. type: defvar
  27865. #: guix-git/doc/guix.texi:18939
  27866. msgid "This service type can be @emph{extended} using procedures @code{udev-rules-service} along with @code{file->udev-rule} or @code{udev-rule} which simplify the process of writing udev rules."
  27867. msgstr ""
  27868. #. type: deftp
  27869. #: guix-git/doc/guix.texi:18941
  27870. #, fuzzy, no-wrap
  27871. msgid "{Data Type} udev-configuration"
  27872. msgstr "build-machine {Data Type}"
  27873. #. type: deftp
  27874. #: guix-git/doc/guix.texi:18943
  27875. #, fuzzy
  27876. msgid "Data type representing the configuration of udev."
  27877. msgstr "Gerencie a configuração do sistema operacional."
  27878. #. type: item
  27879. #: guix-git/doc/guix.texi:18945
  27880. #, fuzzy, no-wrap
  27881. #| msgid "@code{dbus?} (default: @code{#t})"
  27882. msgid "@code{udev} (default: @code{eudev}) (type: file-like)"
  27883. msgstr "@code{dbus?} (padrão: @code{#t})"
  27884. #. type: table
  27885. #: guix-git/doc/guix.texi:18947
  27886. msgid "Package object of the udev service."
  27887. msgstr ""
  27888. #. type: item
  27889. #: guix-git/doc/guix.texi:18948
  27890. #, fuzzy, no-wrap
  27891. #| msgid "@code{dbus?} (default: @code{#t})"
  27892. msgid "@code{rules} (default: @var{'()}) (type: list-of-file-like)"
  27893. msgstr "@code{dbus?} (padrão: @code{#t})"
  27894. #. type: table
  27895. #: guix-git/doc/guix.texi:18950
  27896. msgid "List of file-like objects denoting udev-rule files."
  27897. msgstr ""
  27898. #. type: defun
  27899. #: guix-git/doc/guix.texi:18954
  27900. #, fuzzy, no-wrap
  27901. #| msgid "-t @var{type}"
  27902. msgid "udev-rule @var{file-name} @var{contents}"
  27903. msgstr "-t @var{tipo}"
  27904. #. type: defun
  27905. #: guix-git/doc/guix.texi:18957
  27906. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  27907. msgstr ""
  27908. #. type: defun
  27909. #: guix-git/doc/guix.texi:18961
  27910. msgid "In the following example, a rule for a USB device is defined to be stored in the file @file{90-usb-thing.rules}. The rule runs a script upon detecting a USB device with a given product identifier."
  27911. msgstr ""
  27912. #. type: lisp
  27913. #: guix-git/doc/guix.texi:18969
  27914. #, no-wrap
  27915. msgid ""
  27916. "(define %example-udev-rule\n"
  27917. " (udev-rule\n"
  27918. " \"90-usb-thing.rules\"\n"
  27919. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  27920. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  27921. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  27922. msgstr ""
  27923. #. type: defun
  27924. #: guix-git/doc/guix.texi:18972
  27925. #, no-wrap
  27926. msgid "udev-rules-service @var{name} @var{rules} [#:groups '()]"
  27927. msgstr ""
  27928. #. type: defun
  27929. #: guix-git/doc/guix.texi:18978
  27930. msgid "Return a service that extends @code{udev-service-type} with @var{rules} and @code{account-service-type} with @var{groups} as system groups. This works by creating a singleton service type @code{@var{name}-udev-rules}, of which the returned service is an instance."
  27931. msgstr ""
  27932. #. type: defun
  27933. #: guix-git/doc/guix.texi:18981
  27934. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  27935. msgstr ""
  27936. #. type: lisp
  27937. #: guix-git/doc/guix.texi:18988
  27938. #, no-wrap
  27939. msgid ""
  27940. "(operating-system\n"
  27941. " ;; @dots{}\n"
  27942. " (services\n"
  27943. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  27944. " %desktop-services)))\n"
  27945. msgstr ""
  27946. #. type: defun
  27947. #: guix-git/doc/guix.texi:18991
  27948. #, no-wrap
  27949. msgid "file->udev-rule @var{file-name} @var{file}"
  27950. msgstr ""
  27951. #. type: defun
  27952. #: guix-git/doc/guix.texi:18994
  27953. msgid "Return a udev-rule file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  27954. msgstr ""
  27955. #. type: defun
  27956. #: guix-git/doc/guix.texi:18996
  27957. msgid "The following example showcases how we can use an existing rule file."
  27958. msgstr ""
  27959. #. type: lisp
  27960. #: guix-git/doc/guix.texi:19001
  27961. #, no-wrap
  27962. msgid ""
  27963. "(use-modules (guix download) ;for url-fetch\n"
  27964. " (guix packages) ;for origin\n"
  27965. " @dots{})\n"
  27966. "\n"
  27967. msgstr ""
  27968. #. type: lisp
  27969. #: guix-git/doc/guix.texi:19012
  27970. #, no-wrap
  27971. msgid ""
  27972. "(define %android-udev-rules\n"
  27973. " (file->udev-rule\n"
  27974. " \"51-android-udev.rules\"\n"
  27975. " (let ((version \"20170910\"))\n"
  27976. " (origin\n"
  27977. " (method url-fetch)\n"
  27978. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  27979. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  27980. " (sha256\n"
  27981. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  27982. msgstr ""
  27983. #. type: Plain text
  27984. #: guix-git/doc/guix.texi:19021
  27985. msgid "Additionally, Guix package definitions can be included in @var{rules} in order to extend the udev rules with the definitions found under their @file{lib/udev/rules.d} sub-directory. In lieu of the previous @var{file->udev-rule} example, we could have used the @var{android-udev-rules} package which exists in Guix in the @code{(gnu packages android)} module."
  27986. msgstr ""
  27987. #. type: Plain text
  27988. #: guix-git/doc/guix.texi:19030
  27989. msgid "The following example shows how to use the @var{android-udev-rules} package so that the Android tool @command{adb} can detect devices without root privileges. It also details how to create the @code{adbusers} group, which is required for the proper functioning of the rules defined within the @code{android-udev-rules} package. To create such a group, we must define it both as part of the @code{supplementary-groups} of our @code{user-account} declaration, as well as in the @var{groups} of the @code{udev-rules-service} procedure."
  27990. msgstr ""
  27991. #. type: lisp
  27992. #: guix-git/doc/guix.texi:19035
  27993. #, no-wrap
  27994. msgid ""
  27995. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  27996. " (gnu system shadow) ;for user-group\n"
  27997. " @dots{})\n"
  27998. "\n"
  27999. msgstr ""
  28000. #. type: lisp
  28001. #: guix-git/doc/guix.texi:19048
  28002. #, no-wrap
  28003. msgid ""
  28004. "(operating-system\n"
  28005. " ;; @dots{}\n"
  28006. " (users (cons (user-account\n"
  28007. " ;; @dots{}\n"
  28008. " (supplementary-groups\n"
  28009. " '(\"adbusers\" ;for adb\n"
  28010. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  28011. " ;; @dots{}\n"
  28012. " (services\n"
  28013. " (cons (udev-rules-service 'android android-udev-rules\n"
  28014. " #:groups '(\"adbusers\"))\n"
  28015. " %desktop-services)))\n"
  28016. msgstr ""
  28017. #. type: defvar
  28018. #: guix-git/doc/guix.texi:19050
  28019. #, fuzzy, no-wrap
  28020. #| msgid "guix-publish-service-type"
  28021. msgid "urandom-seed-service-type"
  28022. msgstr "guix-publish-service-type"
  28023. #. type: defvar
  28024. #: guix-git/doc/guix.texi:19055
  28025. msgid "Save some entropy in @code{%random-seed-file} to seed @file{/dev/urandom} when rebooting. It also tries to seed @file{/dev/urandom} from @file{/dev/hwrng} while booting, if @file{/dev/hwrng} exists and is readable."
  28026. msgstr ""
  28027. #. type: defvar
  28028. #: guix-git/doc/guix.texi:19057
  28029. #, no-wrap
  28030. msgid "%random-seed-file"
  28031. msgstr ""
  28032. #. type: defvar
  28033. #: guix-git/doc/guix.texi:19061
  28034. msgid "This is the name of the file where some random bytes are saved by @var{urandom-seed-service} to seed @file{/dev/urandom} when rebooting. It defaults to @file{/var/lib/random-seed}."
  28035. msgstr ""
  28036. #. type: cindex
  28037. #: guix-git/doc/guix.texi:19063
  28038. #, no-wrap
  28039. msgid "mouse"
  28040. msgstr "mouse"
  28041. #. type: cindex
  28042. #: guix-git/doc/guix.texi:19064
  28043. #, no-wrap
  28044. msgid "gpm"
  28045. msgstr ""
  28046. #. type: defvar
  28047. #: guix-git/doc/guix.texi:19065
  28048. #, fuzzy, no-wrap
  28049. #| msgid "guix-publish-service-type"
  28050. msgid "gpm-service-type"
  28051. msgstr "guix-publish-service-type"
  28052. #. type: defvar
  28053. #: guix-git/doc/guix.texi:19070
  28054. msgid "This is the type of the service that runs GPM, the @dfn{general-purpose mouse daemon}, which provides mouse support to the Linux console. GPM allows users to use the mouse in the console, notably to select, copy, and paste text."
  28055. msgstr ""
  28056. #. type: defvar
  28057. #: guix-git/doc/guix.texi:19073
  28058. msgid "The value for services of this type must be a @code{gpm-configuration} (see below). This service is not part of @code{%base-services}."
  28059. msgstr ""
  28060. #. type: deftp
  28061. #: guix-git/doc/guix.texi:19075
  28062. #, no-wrap
  28063. msgid "{Data Type} gpm-configuration"
  28064. msgstr ""
  28065. #. type: deftp
  28066. #: guix-git/doc/guix.texi:19077
  28067. msgid "Data type representing the configuration of GPM."
  28068. msgstr ""
  28069. #. type: item
  28070. #: guix-git/doc/guix.texi:19079
  28071. #, no-wrap
  28072. msgid "@code{options} (default: @code{%default-gpm-options})"
  28073. msgstr ""
  28074. #. type: table
  28075. #: guix-git/doc/guix.texi:19084
  28076. msgid "Command-line options passed to @command{gpm}. The default set of options instruct @command{gpm} to listen to mouse events on @file{/dev/input/mice}. @xref{Command Line,,, gpm, gpm manual}, for more information."
  28077. msgstr ""
  28078. #. type: item
  28079. #: guix-git/doc/guix.texi:19085
  28080. #, no-wrap
  28081. msgid "@code{gpm} (default: @code{gpm})"
  28082. msgstr ""
  28083. #. type: table
  28084. #: guix-git/doc/guix.texi:19087
  28085. msgid "The GPM package to use."
  28086. msgstr "O pacote GPM a ser usado."
  28087. #. type: defvar
  28088. #: guix-git/doc/guix.texi:19092
  28089. #, no-wrap
  28090. msgid "guix-publish-service-type"
  28091. msgstr "guix-publish-service-type"
  28092. #. type: defvar
  28093. #: guix-git/doc/guix.texi:19096
  28094. msgid "This is the service type for @command{guix publish} (@pxref{Invoking guix publish}). Its value must be a @code{guix-publish-configuration} object, as described below."
  28095. msgstr ""
  28096. #. type: defvar
  28097. #: guix-git/doc/guix.texi:19100
  28098. msgid "This assumes that @file{/etc/guix} already contains a signing key pair as created by @command{guix archive --generate-key} (@pxref{Invoking guix archive}). If that is not the case, the service will fail to start."
  28099. msgstr ""
  28100. #. type: deftp
  28101. #: guix-git/doc/guix.texi:19102
  28102. #, no-wrap
  28103. msgid "{Data Type} guix-publish-configuration"
  28104. msgstr ""
  28105. #. type: deftp
  28106. #: guix-git/doc/guix.texi:19105
  28107. msgid "Data type representing the configuration of the @code{guix publish} service."
  28108. msgstr ""
  28109. #. type: item
  28110. #: guix-git/doc/guix.texi:19107
  28111. #, no-wrap
  28112. msgid "@code{guix} (default: @code{guix})"
  28113. msgstr ""
  28114. #. type: item
  28115. #: guix-git/doc/guix.texi:19110 guix-git/doc/guix.texi:35901
  28116. #, no-wrap
  28117. msgid "@code{port} (default: @code{80})"
  28118. msgstr ""
  28119. #. type: table
  28120. #: guix-git/doc/guix.texi:19112
  28121. msgid "The TCP port to listen for connections."
  28122. msgstr ""
  28123. #. type: item
  28124. #: guix-git/doc/guix.texi:19113 guix-git/doc/guix.texi:33172
  28125. #: guix-git/doc/guix.texi:37302
  28126. #, no-wrap
  28127. msgid "@code{host} (default: @code{\"localhost\"})"
  28128. msgstr ""
  28129. #. type: table
  28130. #: guix-git/doc/guix.texi:19116
  28131. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  28132. msgstr ""
  28133. #. type: item
  28134. #: guix-git/doc/guix.texi:19117
  28135. #, no-wrap
  28136. msgid "@code{advertise?} (default: @code{#f})"
  28137. msgstr ""
  28138. #. type: table
  28139. #: guix-git/doc/guix.texi:19120
  28140. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  28141. msgstr ""
  28142. #. type: table
  28143. #: guix-git/doc/guix.texi:19124
  28144. msgid "This allows neighboring Guix devices with discovery on (see @code{guix-configuration} above) to discover this @command{guix publish} instance and to automatically download substitutes from it."
  28145. msgstr ""
  28146. #. type: item
  28147. #: guix-git/doc/guix.texi:19125
  28148. #, fuzzy, no-wrap
  28149. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  28150. msgstr "@code{compression-level} (padrão: @code{3})"
  28151. #. type: table
  28152. #: guix-git/doc/guix.texi:19129
  28153. msgid "This is a list of compression method/level tuple used when compressing substitutes. For example, to compress all substitutes with @emph{both} lzip at level 7 and gzip at level 9, write:"
  28154. msgstr ""
  28155. #. type: lisp
  28156. #: guix-git/doc/guix.texi:19132
  28157. #, no-wrap
  28158. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  28159. msgstr ""
  28160. #. type: table
  28161. #: guix-git/doc/guix.texi:19138
  28162. msgid "Level 9 achieves the best compression ratio at the expense of increased CPU usage, whereas level 1 achieves fast compression. @xref{Invoking guix publish}, for more information on the available compression methods and the tradeoffs involved."
  28163. msgstr ""
  28164. #. type: table
  28165. #: guix-git/doc/guix.texi:19140
  28166. msgid "An empty list disables compression altogether."
  28167. msgstr ""
  28168. #. type: item
  28169. #: guix-git/doc/guix.texi:19141
  28170. #, no-wrap
  28171. msgid "@code{nar-path} (default: @code{\"nar\"})"
  28172. msgstr ""
  28173. #. type: table
  28174. #: guix-git/doc/guix.texi:19144
  28175. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  28176. msgstr ""
  28177. #. type: item
  28178. #: guix-git/doc/guix.texi:19145
  28179. #, no-wrap
  28180. msgid "@code{cache} (default: @code{#f})"
  28181. msgstr "@code{cache} (default: @code{#f})"
  28182. #. type: table
  28183. #: guix-git/doc/guix.texi:19151
  28184. msgid "When it is @code{#f}, disable caching and instead generate archives on demand. Otherwise, this should be the name of a directory---e.g., @code{\"/var/cache/guix/publish\"}---where @command{guix publish} caches archives and meta-data ready to be sent. @xref{Invoking guix publish, @option{--cache}}, for more information on the tradeoffs involved."
  28185. msgstr ""
  28186. #. type: item
  28187. #: guix-git/doc/guix.texi:19152 guix-git/doc/guix.texi:37889
  28188. #, no-wrap
  28189. msgid "@code{workers} (default: @code{#f})"
  28190. msgstr "@code{workers} (default: @code{#f})"
  28191. #. type: table
  28192. #: guix-git/doc/guix.texi:19156
  28193. msgid "When it is an integer, this is the number of worker threads used for caching; when @code{#f}, the number of processors is used. @xref{Invoking guix publish, @option{--workers}}, for more information."
  28194. msgstr ""
  28195. #. type: item
  28196. #: guix-git/doc/guix.texi:19157
  28197. #, no-wrap
  28198. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  28199. msgstr ""
  28200. #. type: table
  28201. #: guix-git/doc/guix.texi:19162
  28202. msgid "When @code{cache} is true, this is the maximum size in bytes of a store item for which @command{guix publish} may bypass its cache in case of a cache miss. @xref{Invoking guix publish, @option{--cache-bypass-threshold}}, for more information."
  28203. msgstr ""
  28204. #. type: item
  28205. #: guix-git/doc/guix.texi:19163 guix-git/doc/guix.texi:37842
  28206. #, no-wrap
  28207. msgid "@code{ttl} (default: @code{#f})"
  28208. msgstr "@code{ttl} (default: @code{#f})"
  28209. #. type: table
  28210. #: guix-git/doc/guix.texi:19167
  28211. msgid "When it is an integer, this denotes the @dfn{time-to-live} in seconds of the published archives. @xref{Invoking guix publish, @option{--ttl}}, for more information."
  28212. msgstr ""
  28213. #. type: item
  28214. #: guix-git/doc/guix.texi:19168 guix-git/doc/guix.texi:37850
  28215. #, fuzzy, no-wrap
  28216. #| msgid "@code{ttl} (default: @code{#f})"
  28217. msgid "@code{negative-ttl} (default: @code{#f})"
  28218. msgstr "@code{ttl} (default: @code{#f})"
  28219. #. type: table
  28220. #: guix-git/doc/guix.texi:19172
  28221. msgid "When it is an integer, this denotes the @dfn{time-to-live} in seconds for the negative lookups. @xref{Invoking guix publish, @option{--negative-ttl}}, for more information."
  28222. msgstr ""
  28223. #. type: defvar
  28224. #: guix-git/doc/guix.texi:19175
  28225. #, fuzzy, no-wrap
  28226. #| msgid "guix-publish-service-type"
  28227. msgid "rngd-service-type"
  28228. msgstr "guix-publish-service-type"
  28229. #. type: defvar
  28230. #: guix-git/doc/guix.texi:19178
  28231. msgid "Type of the service that runs rng-tools rngd, whose value is an @code{<rngd-configuration>} object."
  28232. msgstr ""
  28233. #. type: deftp
  28234. #: guix-git/doc/guix.texi:19180
  28235. #, fuzzy, no-wrap
  28236. msgid "{Data Type} rngd-configuration"
  28237. msgstr "build-machine {Data Type}"
  28238. #. type: deftp
  28239. #: guix-git/doc/guix.texi:19182
  28240. #, fuzzy
  28241. msgid "Data type representing the configuration of rngd."
  28242. msgstr "Gerencie a configuração do sistema operacional."
  28243. #. type: item
  28244. #: guix-git/doc/guix.texi:19184
  28245. #, fuzzy, no-wrap
  28246. #| msgid "@code{dbus?} (default: @code{#t})"
  28247. msgid "@code{rng-tools} (default: @code{rng-tools}) (type: file-like)"
  28248. msgstr "@code{dbus?} (padrão: @code{#t})"
  28249. #. type: table
  28250. #: guix-git/doc/guix.texi:19186
  28251. msgid "Package object of the rng-tools rngd."
  28252. msgstr ""
  28253. #. type: item
  28254. #: guix-git/doc/guix.texi:19187
  28255. #, fuzzy, no-wrap
  28256. #| msgid "@code{dbus?} (default: @code{#t})"
  28257. msgid "@code{device} (default: @var{\"/dev/hwrng\"}) (type: string)"
  28258. msgstr "@code{dbus?} (padrão: @code{#t})"
  28259. #. type: table
  28260. #: guix-git/doc/guix.texi:19190
  28261. msgid "Path of the device to add to the kernel's entropy pool. The service will fail if @var{device} does not exist."
  28262. msgstr ""
  28263. #. type: cindex
  28264. #: guix-git/doc/guix.texi:19194
  28265. #, no-wrap
  28266. msgid "session limits"
  28267. msgstr ""
  28268. #. type: cindex
  28269. #: guix-git/doc/guix.texi:19195
  28270. #, no-wrap
  28271. msgid "ulimit"
  28272. msgstr ""
  28273. #. type: cindex
  28274. #: guix-git/doc/guix.texi:19196
  28275. #, no-wrap
  28276. msgid "priority"
  28277. msgstr ""
  28278. #. type: cindex
  28279. #: guix-git/doc/guix.texi:19197
  28280. #, no-wrap
  28281. msgid "realtime"
  28282. msgstr ""
  28283. #. type: cindex
  28284. #: guix-git/doc/guix.texi:19198
  28285. #, no-wrap
  28286. msgid "jackd"
  28287. msgstr ""
  28288. #. type: cindex
  28289. #: guix-git/doc/guix.texi:19199
  28290. #, no-wrap
  28291. msgid "nofile"
  28292. msgstr ""
  28293. #. type: cindex
  28294. #: guix-git/doc/guix.texi:19200
  28295. #, no-wrap
  28296. msgid "open file descriptors"
  28297. msgstr ""
  28298. #. type: defvar
  28299. #: guix-git/doc/guix.texi:19202
  28300. #, fuzzy, no-wrap
  28301. #| msgid "guix-publish-service-type"
  28302. msgid "pam-limits-service-type"
  28303. msgstr "guix-publish-service-type"
  28304. #. type: defvar
  28305. #: guix-git/doc/guix.texi:19209
  28306. msgid "Type of the service that installs a configuration file for the @uref{http://linux-pam.org/Linux-PAM-html/sag-pam_limits.html, @code{pam_limits} module}. The value for this service type is a list of @code{pam-limits-entry} values, which can be used to specify @code{ulimit} limits and @code{nice} priority limits to user sessions. By default, the value is the empty list."
  28307. msgstr ""
  28308. #. type: defvar
  28309. #: guix-git/doc/guix.texi:19212
  28310. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  28311. msgstr ""
  28312. #. type: lisp
  28313. #: guix-git/doc/guix.texi:19218
  28314. #, no-wrap
  28315. msgid ""
  28316. "(service pam-limits-service-type\n"
  28317. " (list\n"
  28318. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  28319. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  28320. msgstr ""
  28321. #. type: defvar
  28322. #: guix-git/doc/guix.texi:19224
  28323. msgid "The first entry increases the maximum realtime priority for non-privileged processes; the second entry lifts any restriction of the maximum address space that can be locked in memory. These settings are commonly used for real-time audio systems."
  28324. msgstr ""
  28325. #. type: defvar
  28326. #: guix-git/doc/guix.texi:19227
  28327. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  28328. msgstr ""
  28329. #. type: lisp
  28330. #: guix-git/doc/guix.texi:19232
  28331. #, no-wrap
  28332. msgid ""
  28333. "(service pam-limits-service-type\n"
  28334. " (list\n"
  28335. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  28336. msgstr ""
  28337. #. type: defvar
  28338. #: guix-git/doc/guix.texi:19240
  28339. msgid "In the above example, the asterisk means the limit should apply to any user. It is important to ensure the chosen value doesn't exceed the maximum system value visible in the @file{/proc/sys/fs/file-max} file, else the users would be prevented from login in. For more information about the Pluggable Authentication Module (PAM) limits, refer to the @samp{pam_limits} man page from the @code{linux-pam} package."
  28340. msgstr ""
  28341. #. type: defvar
  28342. #: guix-git/doc/guix.texi:19242
  28343. #, fuzzy, no-wrap
  28344. #| msgid "guix-publish-service-type"
  28345. msgid "greetd-service-type"
  28346. msgstr "guix-publish-service-type"
  28347. #. type: defvar
  28348. #: guix-git/doc/guix.texi:19246
  28349. msgid "@uref{https://git.sr.ht/~kennylevinsen/greetd, @code{greetd}} is a minimal and flexible login manager daemon, that makes no assumptions about what you want to launch."
  28350. msgstr ""
  28351. #. type: defvar
  28352. #: guix-git/doc/guix.texi:19250
  28353. msgid "If you can run it from your shell in a TTY, greetd can start it. If it can be taught to speak a simple JSON-based IPC protocol, then it can be a geeter."
  28354. msgstr ""
  28355. #. type: defvar
  28356. #: guix-git/doc/guix.texi:19253
  28357. msgid "@code{greetd-service-type} provides necessary infrastructure for logging in users, including:"
  28358. msgstr ""
  28359. #. type: itemize
  28360. #: guix-git/doc/guix.texi:19257
  28361. msgid "@code{greetd} PAM service"
  28362. msgstr ""
  28363. #. type: itemize
  28364. #: guix-git/doc/guix.texi:19260
  28365. msgid "Special variation of @code{pam-mount} to mount @code{XDG_RUNTIME_DIR}"
  28366. msgstr ""
  28367. #. type: defvar
  28368. #: guix-git/doc/guix.texi:19264
  28369. msgid "Here is example of switching from @code{mingetty-service-type} to @code{greetd-service-type}, and how different terminals could be:"
  28370. msgstr ""
  28371. #. type: lisp
  28372. #: guix-git/doc/guix.texi:19302
  28373. #, no-wrap
  28374. msgid ""
  28375. " (append\n"
  28376. " (modify-services %base-services\n"
  28377. " ;; greetd-service-type provides \"greetd\" PAM service\n"
  28378. " (delete login-service-type)\n"
  28379. " ;; and can be used in place of mingetty-service-type\n"
  28380. " (delete mingetty-service-type))\n"
  28381. " (list\n"
  28382. " (service greetd-service-type\n"
  28383. " (greetd-configuration\n"
  28384. " (terminals\n"
  28385. " (list\n"
  28386. " ;; we can make any terminal active by default\n"
  28387. " (greetd-terminal-configuration (terminal-vt \"1\") (terminal-switch #t))\n"
  28388. " ;; we can make environment without XDG_RUNTIME_DIR set\n"
  28389. " ;; even provide our own environment variables\n"
  28390. " (greetd-terminal-configuration\n"
  28391. " (terminal-vt \"2\")\n"
  28392. " (default-session-command\n"
  28393. " (greetd-agreety-session\n"
  28394. " (extra-env '((\"MY_VAR\" . \"1\")))\n"
  28395. " (xdg-env? #f))))\n"
  28396. " ;; we can use different shell instead of default bash\n"
  28397. " (greetd-terminal-configuration\n"
  28398. " (terminal-vt \"3\")\n"
  28399. " (default-session-command\n"
  28400. " (greetd-agreety-session (command (file-append zsh \"/bin/zsh\")))))\n"
  28401. " ;; we can use any other executable command as greeter\n"
  28402. " (greetd-terminal-configuration\n"
  28403. " (terminal-vt \"4\")\n"
  28404. " (default-session-command (program-file \"my-noop-greeter\" #~(exit))))\n"
  28405. " (greetd-terminal-configuration (terminal-vt \"5\"))\n"
  28406. " (greetd-terminal-configuration (terminal-vt \"6\"))))))\n"
  28407. " ;; mingetty-service-type can be used in parallel\n"
  28408. " ;; if needed to do so, do not (delete login-service-type)\n"
  28409. " ;; as illustrated above\n"
  28410. " #| (service mingetty-service-type (mingetty-configuration (tty \"tty8\"))) |#))\n"
  28411. msgstr ""
  28412. #. type: deftp
  28413. #: guix-git/doc/guix.texi:19305
  28414. #, fuzzy, no-wrap
  28415. msgid "{Data Type} greetd-configuration"
  28416. msgstr "build-machine {Data Type}"
  28417. #. type: deftp
  28418. #: guix-git/doc/guix.texi:19307
  28419. #, fuzzy
  28420. msgid "Configuration record for the @code{greetd-service-type}."
  28421. msgstr "Gerencie a configuração do sistema operacional."
  28422. #. type: item
  28423. #: guix-git/doc/guix.texi:19316
  28424. #, fuzzy, no-wrap
  28425. #| msgid "@code{features} (default: @code{'()})"
  28426. msgid "@code{terminals} (default: @code{'()})"
  28427. msgstr "@code{features} (padrão: @code{'()})"
  28428. #. type: table
  28429. #: guix-git/doc/guix.texi:19319
  28430. msgid "List of @code{greetd-terminal-configuration} per terminal for which @code{greetd} should be started."
  28431. msgstr ""
  28432. #. type: item
  28433. #: guix-git/doc/guix.texi:19320
  28434. #, fuzzy, no-wrap
  28435. #| msgid "@code{features} (default: @code{'()})"
  28436. msgid "@code{greeter-supplementary-groups} (default: @code{'()})"
  28437. msgstr "@code{features} (padrão: @code{'()})"
  28438. #. type: table
  28439. #: guix-git/doc/guix.texi:19322
  28440. msgid "List of groups which should be added to @code{greeter} user. For instance:"
  28441. msgstr ""
  28442. #. type: lisp
  28443. #: guix-git/doc/guix.texi:19324
  28444. #, no-wrap
  28445. msgid "(greeter-supplementary-groups '(\"seat\" \"video\"))\n"
  28446. msgstr ""
  28447. #. type: table
  28448. #: guix-git/doc/guix.texi:19326
  28449. msgid "Note that this example will fail if @code{seat} group does not exist."
  28450. msgstr ""
  28451. #. type: deftp
  28452. #: guix-git/doc/guix.texi:19329
  28453. #, fuzzy, no-wrap
  28454. msgid "{Data Type} greetd-terminal-configuration"
  28455. msgstr "build-machine {Data Type}"
  28456. #. type: deftp
  28457. #: guix-git/doc/guix.texi:19331
  28458. #, fuzzy
  28459. msgid "Configuration record for per terminal greetd daemon service."
  28460. msgstr "Gerencie a configuração do sistema operacional."
  28461. #. type: item
  28462. #: guix-git/doc/guix.texi:19333
  28463. #, fuzzy, no-wrap
  28464. #| msgid "@code{gdm} (default: @code{gdm})"
  28465. msgid "@code{greetd} (default: @code{greetd})"
  28466. msgstr "@code{gdm} (default: @code{gdm})"
  28467. #. type: table
  28468. #: guix-git/doc/guix.texi:19335
  28469. #, fuzzy
  28470. msgid "The greetd package to use."
  28471. msgstr "O pacote GPM a ser usado."
  28472. #. type: code{#1}
  28473. #: guix-git/doc/guix.texi:19336
  28474. #, fuzzy, no-wrap
  28475. #| msgid "name"
  28476. msgid "config-file-name"
  28477. msgstr "name"
  28478. #. type: table
  28479. #: guix-git/doc/guix.texi:19339
  28480. msgid "Configuration file name to use for greetd daemon. Generally, autogenerated derivation based on @code{terminal-vt} value."
  28481. msgstr ""
  28482. #. type: code{#1}
  28483. #: guix-git/doc/guix.texi:19340
  28484. #, fuzzy, no-wrap
  28485. #| msgid "name"
  28486. msgid "log-file-name"
  28487. msgstr "name"
  28488. #. type: table
  28489. #: guix-git/doc/guix.texi:19343
  28490. msgid "Log file name to use for greetd daemon. Generally, autogenerated name based on @code{terminal-vt} value."
  28491. msgstr ""
  28492. #. type: item
  28493. #: guix-git/doc/guix.texi:19344
  28494. #, fuzzy, no-wrap
  28495. #| msgid "@code{term} (default: @code{#f})"
  28496. msgid "@code{terminal-vt} (default: @samp{\"7\"})"
  28497. msgstr "@code{term} (default: @code{#f})"
  28498. #. type: table
  28499. #: guix-git/doc/guix.texi:19347
  28500. msgid "The VT to run on. Use of a specific VT with appropriate conflict avoidance is recommended."
  28501. msgstr ""
  28502. #. type: item
  28503. #: guix-git/doc/guix.texi:19348
  28504. #, fuzzy, no-wrap
  28505. #| msgid "@code{term} (default: @code{#f})"
  28506. msgid "@code{terminal-switch} (default: @code{#f})"
  28507. msgstr "@code{term} (default: @code{#f})"
  28508. #. type: table
  28509. #: guix-git/doc/guix.texi:19350
  28510. msgid "Make this terminal active on start of @code{greetd}."
  28511. msgstr ""
  28512. #. type: item
  28513. #: guix-git/doc/guix.texi:19351
  28514. #, fuzzy, no-wrap
  28515. #| msgid "@code{chdir} (default: @code{#f})"
  28516. msgid "@code{source-profile?} (default: @code{#t})"
  28517. msgstr "@code{chdir} (default: @code{#f})"
  28518. #. type: table
  28519. #: guix-git/doc/guix.texi:19354
  28520. msgid "Whether to source @file{/etc/profile} and @file{~/.profile}, when they exist."
  28521. msgstr ""
  28522. #. type: item
  28523. #: guix-git/doc/guix.texi:19355
  28524. #, fuzzy, no-wrap
  28525. #| msgid "@code{user} (default: @var{git})"
  28526. msgid "@code{default-session-user} (default: @samp{\"greeter\"})"
  28527. msgstr "@code{user} (default: @var{git})"
  28528. #. type: table
  28529. #: guix-git/doc/guix.texi:19357
  28530. msgid "The user to use for running the greeter."
  28531. msgstr ""
  28532. #. type: item
  28533. #: guix-git/doc/guix.texi:19358
  28534. #, fuzzy, no-wrap
  28535. msgid "@code{default-session-command} (default: @code{(greetd-agreety-session)})"
  28536. msgstr "@code{tmpdir} (default: @code{#f})"
  28537. #. type: table
  28538. #: guix-git/doc/guix.texi:19361
  28539. msgid "Can be either instance of @code{greetd-agreety-session} configuration or @code{gexp->script} like object to use as greeter."
  28540. msgstr ""
  28541. #. type: deftp
  28542. #: guix-git/doc/guix.texi:19365
  28543. #, fuzzy, no-wrap
  28544. msgid "{Data Type} greetd-agreety-session"
  28545. msgstr "build-machine {Data Type}"
  28546. #. type: deftp
  28547. #: guix-git/doc/guix.texi:19367
  28548. #, fuzzy
  28549. msgid "Configuration record for the agreety greetd greeter."
  28550. msgstr "Gerencie a configuração do sistema operacional."
  28551. #. type: item
  28552. #: guix-git/doc/guix.texi:19369
  28553. #, fuzzy, no-wrap
  28554. #| msgid "@code{gdm} (default: @code{gdm})"
  28555. msgid "@code{agreety} (default: @code{greetd})"
  28556. msgstr "@code{gdm} (default: @code{gdm})"
  28557. #. type: table
  28558. #: guix-git/doc/guix.texi:19371
  28559. #, fuzzy
  28560. #| msgid "Package management commands."
  28561. msgid "The package with @command{/bin/agreety} command."
  28562. msgstr "Comandos de gerenciamento de pacote."
  28563. #. type: item
  28564. #: guix-git/doc/guix.texi:19372
  28565. #, fuzzy, no-wrap
  28566. msgid "@code{command} (default: @code{(file-append bash \"/bin/bash\")})"
  28567. msgstr "@code{tmpdir} (default: @code{#f})"
  28568. #. type: table
  28569. #: guix-git/doc/guix.texi:19374
  28570. msgid "Command to be started by @command{/bin/agreety} on successful login."
  28571. msgstr ""
  28572. #. type: item
  28573. #: guix-git/doc/guix.texi:19375
  28574. #, fuzzy, no-wrap
  28575. #| msgid "@code{features} (default: @code{'()})"
  28576. msgid "@code{command-args} (default: @code{'(\"-l\")})"
  28577. msgstr "@code{features} (padrão: @code{'()})"
  28578. #. type: table
  28579. #: guix-git/doc/guix.texi:19377 guix-git/doc/guix.texi:19401
  28580. msgid "Command arguments to pass to command."
  28581. msgstr ""
  28582. #. type: item
  28583. #: guix-git/doc/guix.texi:19378 guix-git/doc/guix.texi:19423
  28584. #, fuzzy, no-wrap
  28585. #| msgid "@code{replacement} (default: @code{#f})"
  28586. msgid "@code{extra-env} (default: @code{'()})"
  28587. msgstr "@code{replacement} (default: @code{#f})"
  28588. #. type: table
  28589. #: guix-git/doc/guix.texi:19380 guix-git/doc/guix.texi:19425
  28590. msgid "Extra environment variables to set on login."
  28591. msgstr ""
  28592. #. type: item
  28593. #: guix-git/doc/guix.texi:19381
  28594. #, fuzzy, no-wrap
  28595. #| msgid "@code{deny?} (default: @code{#f})"
  28596. msgid "@code{xdg-env?} (default: @code{#t})"
  28597. msgstr "@code{deny?} (padrão: @code{#f})"
  28598. #. type: table
  28599. #: guix-git/doc/guix.texi:19385
  28600. msgid "If true @code{XDG_RUNTIME_DIR} and @code{XDG_SESSION_TYPE} will be set before starting command. One should note that, @code{extra-env} variables are set right after mentioned variables, so that they can be overriden."
  28601. msgstr ""
  28602. #. type: deftp
  28603. #: guix-git/doc/guix.texi:19389
  28604. #, fuzzy, no-wrap
  28605. msgid "{Data Type} greetd-wlgreet-session"
  28606. msgstr "build-machine {Data Type}"
  28607. #. type: deftp
  28608. #: guix-git/doc/guix.texi:19391
  28609. #, fuzzy
  28610. msgid "Generic configuration record for the wlgreet greetd greeter."
  28611. msgstr "Gerencie a configuração do sistema operacional."
  28612. #. type: item
  28613. #: guix-git/doc/guix.texi:19393
  28614. #, fuzzy, no-wrap
  28615. #| msgid "@code{gdm} (default: @code{gdm})"
  28616. msgid "@code{wlgreet} (default: @code{wlgreet})"
  28617. msgstr "@code{gdm} (default: @code{gdm})"
  28618. #. type: table
  28619. #: guix-git/doc/guix.texi:19395
  28620. #, fuzzy
  28621. #| msgid "Package management commands."
  28622. msgid "The package with the @command{/bin/wlgreet} command."
  28623. msgstr "Comandos de gerenciamento de pacote."
  28624. #. type: item
  28625. #: guix-git/doc/guix.texi:19396
  28626. #, fuzzy, no-wrap
  28627. msgid "@code{command} (default: @code{(file-append sway \"/bin/sway\")})"
  28628. msgstr "@code{tmpdir} (default: @code{#f})"
  28629. #. type: table
  28630. #: guix-git/doc/guix.texi:19398
  28631. msgid "Command to be started by @command{/bin/wlgreet} on successful login."
  28632. msgstr ""
  28633. #. type: item
  28634. #: guix-git/doc/guix.texi:19399
  28635. #, fuzzy, no-wrap
  28636. #| msgid "@code{features} (default: @code{'()})"
  28637. msgid "@code{command-args} (default: @code{'()})"
  28638. msgstr "@code{features} (padrão: @code{'()})"
  28639. #. type: item
  28640. #: guix-git/doc/guix.texi:19402
  28641. #, fuzzy, no-wrap
  28642. #| msgid "@code{hangup?} (default: @code{#f})"
  28643. msgid "@code{output-mode} (default: @code{\"all\"})"
  28644. msgstr "@code{hangup?} (padrão: @code{#f})"
  28645. #. type: table
  28646. #: guix-git/doc/guix.texi:19404
  28647. msgid "Option to use for @code{outputMode} in the TOML configuration file."
  28648. msgstr ""
  28649. #. type: item
  28650. #: guix-git/doc/guix.texi:19405
  28651. #, fuzzy, no-wrap
  28652. #| msgid "@code{cache} (default: @code{#f})"
  28653. msgid "@code{scale} (default: @code{1})"
  28654. msgstr "@code{cache} (default: @code{#f})"
  28655. #. type: table
  28656. #: guix-git/doc/guix.texi:19407
  28657. msgid "Option to use for @code{scale} in the TOML configuration file."
  28658. msgstr ""
  28659. #. type: item
  28660. #: guix-git/doc/guix.texi:19408
  28661. #, fuzzy, no-wrap
  28662. #| msgid "@code{hangup?} (default: @code{#f})"
  28663. msgid "@code{background} (default: @code{'(0 0 0 0.9)})"
  28664. msgstr "@code{hangup?} (padrão: @code{#f})"
  28665. #. type: table
  28666. #: guix-git/doc/guix.texi:19410
  28667. msgid "RGBA list to use as the background colour of the login prompt."
  28668. msgstr ""
  28669. #. type: item
  28670. #: guix-git/doc/guix.texi:19411
  28671. #, fuzzy, no-wrap
  28672. #| msgid "@code{features} (default: @code{'()})"
  28673. msgid "@code{headline} (default: @code{'(1 1 1 1)})"
  28674. msgstr "@code{features} (padrão: @code{'()})"
  28675. #. type: table
  28676. #: guix-git/doc/guix.texi:19413
  28677. msgid "RGBA list to use as the headline colour of the UI popup."
  28678. msgstr ""
  28679. #. type: item
  28680. #: guix-git/doc/guix.texi:19414
  28681. #, fuzzy, no-wrap
  28682. #| msgid "@code{features} (default: @code{'()})"
  28683. msgid "@code{prompt} (default: @code{'(1 1 1 1)})"
  28684. msgstr "@code{features} (padrão: @code{'()})"
  28685. #. type: table
  28686. #: guix-git/doc/guix.texi:19416
  28687. msgid "RGBA list to use as the prompt colour of the UI popup."
  28688. msgstr ""
  28689. #. type: item
  28690. #: guix-git/doc/guix.texi:19417
  28691. #, fuzzy, no-wrap
  28692. #| msgid "@code{features} (default: @code{'()})"
  28693. msgid "@code{prompt-error} (default: @code{'(1 1 1 1)})"
  28694. msgstr "@code{features} (padrão: @code{'()})"
  28695. #. type: table
  28696. #: guix-git/doc/guix.texi:19419
  28697. msgid "RGBA list to use as the error colour of the UI popup."
  28698. msgstr ""
  28699. #. type: item
  28700. #: guix-git/doc/guix.texi:19420
  28701. #, fuzzy, no-wrap
  28702. #| msgid "@code{features} (default: @code{'()})"
  28703. msgid "@code{border} (default: @code{'(1 1 1 1)})"
  28704. msgstr "@code{features} (padrão: @code{'()})"
  28705. #. type: table
  28706. #: guix-git/doc/guix.texi:19422
  28707. msgid "RGBA list to use as the border colour of the UI popup."
  28708. msgstr ""
  28709. #. type: deftp
  28710. #: guix-git/doc/guix.texi:19429
  28711. #, fuzzy, no-wrap
  28712. msgid "{Data Type} greetd-wlgreet-sway-session"
  28713. msgstr "build-machine {Data Type}"
  28714. #. type: deftp
  28715. #: guix-git/doc/guix.texi:19431
  28716. #, fuzzy
  28717. msgid "Sway-specific configuration record for the wlgreet greetd greeter."
  28718. msgstr "Gerencie a configuração do sistema operacional."
  28719. #. type: item
  28720. #: guix-git/doc/guix.texi:19433
  28721. #, fuzzy, no-wrap
  28722. msgid "@code{wlgreet-session} (default: @code{(greetd-wlgreet-session)})"
  28723. msgstr "@code{tmpdir} (default: @code{#f})"
  28724. #. type: table
  28725. #: guix-git/doc/guix.texi:19436
  28726. msgid "A @code{greetd-wlgreet-session} record for generic wlgreet configuration, on top of the Sway-specific @code{greetd-wlgreet-sway-session}."
  28727. msgstr ""
  28728. #. type: item
  28729. #: guix-git/doc/guix.texi:19437
  28730. #, fuzzy, no-wrap
  28731. #| msgid "@code{shared?} (default: @code{#t})"
  28732. msgid "@code{sway} (default: @code{sway})"
  28733. msgstr "@code{shared?} (padrão: @code{#t})"
  28734. #. type: table
  28735. #: guix-git/doc/guix.texi:19439
  28736. #, fuzzy
  28737. #| msgid "Package management commands."
  28738. msgid "The package providing the @command{/bin/sway} command."
  28739. msgstr "Comandos de gerenciamento de pacote."
  28740. #. type: item
  28741. #: guix-git/doc/guix.texi:19440
  28742. #, fuzzy, no-wrap
  28743. #| msgid "@code{options} (default: @code{#f})"
  28744. msgid "@code{sway-configuration} (default: #f)"
  28745. msgstr "@code{options} (default: @code{#f})"
  28746. #. type: table
  28747. #: guix-git/doc/guix.texi:19443
  28748. msgid "File-like object providing an additional Sway configuration file to be prepended to the mandatory part of the configuration."
  28749. msgstr ""
  28750. #. type: deftp
  28751. #: guix-git/doc/guix.texi:19447
  28752. msgid "Here is an example of a greetd configuration that uses wlgreet and Sway:"
  28753. msgstr ""
  28754. #. type: lisp
  28755. #: guix-git/doc/guix.texi:19461
  28756. #, no-wrap
  28757. msgid ""
  28758. " (greetd-configuration\n"
  28759. " ;; We need to give the greeter user these permissions, otherwise\n"
  28760. " ;; Sway will crash on launch.\n"
  28761. " (greeter-supplementary-groups (list \"video\" \"input\" \"seat\"))\n"
  28762. " (terminals\n"
  28763. " (list (greetd-terminal-configuration\n"
  28764. " (terminal-vt \"1\")\n"
  28765. " (terminal-switch #t)\n"
  28766. " (default-session-command\n"
  28767. " (greetd-wlgreet-sway-session\n"
  28768. " (sway-configuration\n"
  28769. " (local-file \"sway-greetd.conf\"))))))))\n"
  28770. msgstr ""
  28771. #. type: cindex
  28772. #: guix-git/doc/guix.texi:19467 guix-git/doc/guix.texi:42717
  28773. #, no-wrap
  28774. msgid "cron"
  28775. msgstr ""
  28776. #. type: cindex
  28777. #: guix-git/doc/guix.texi:19468 guix-git/doc/guix.texi:42718
  28778. #, no-wrap
  28779. msgid "mcron"
  28780. msgstr ""
  28781. #. type: cindex
  28782. #: guix-git/doc/guix.texi:19469 guix-git/doc/guix.texi:42719
  28783. #, no-wrap
  28784. msgid "scheduling jobs"
  28785. msgstr ""
  28786. #. type: Plain text
  28787. #: guix-git/doc/guix.texi:19476
  28788. msgid "The @code{(gnu services mcron)} module provides an interface to GNU@tie{}mcron, a daemon to run jobs at scheduled times (@pxref{Top,,, mcron, GNU@tie{}mcron}). GNU@tie{}mcron is similar to the traditional Unix @command{cron} daemon; the main difference is that it is implemented in Guile Scheme, which provides a lot of flexibility when specifying the scheduling of jobs and their actions."
  28789. msgstr ""
  28790. #. type: Plain text
  28791. #: guix-git/doc/guix.texi:19484
  28792. msgid "The example below defines an operating system that runs the @command{updatedb} (@pxref{Invoking updatedb,,, find, Finding Files}) and the @command{guix gc} commands (@pxref{Invoking guix gc}) daily, as well as the @command{mkid} command on behalf of an unprivileged user (@pxref{mkid invocation,,, idutils, ID Database Utilities}). It uses gexps to introduce job definitions that are passed to mcron (@pxref{G-Expressions})."
  28793. msgstr ""
  28794. #. type: lisp
  28795. #: guix-git/doc/guix.texi:19488
  28796. #, no-wrap
  28797. msgid ""
  28798. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  28799. "(use-package-modules base idutils)\n"
  28800. "\n"
  28801. msgstr ""
  28802. #. type: lisp
  28803. #: guix-git/doc/guix.texi:19497
  28804. #, no-wrap
  28805. msgid ""
  28806. "(define updatedb-job\n"
  28807. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  28808. " ;; job's action as a Scheme procedure.\n"
  28809. " #~(job '(next-hour '(3))\n"
  28810. " (lambda ()\n"
  28811. " (system* (string-append #$findutils \"/bin/updatedb\")\n"
  28812. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))\n"
  28813. " \"updatedb\"))\n"
  28814. "\n"
  28815. msgstr ""
  28816. #. type: lisp
  28817. #: guix-git/doc/guix.texi:19503
  28818. #, no-wrap
  28819. msgid ""
  28820. "(define garbage-collector-job\n"
  28821. " ;; Collect garbage 5 minutes after midnight every day.\n"
  28822. " ;; The job's action is a shell command.\n"
  28823. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  28824. " \"guix gc -F 1G\"))\n"
  28825. "\n"
  28826. msgstr ""
  28827. #. type: lisp
  28828. #: guix-git/doc/guix.texi:19510
  28829. #, no-wrap
  28830. msgid ""
  28831. "(define idutils-job\n"
  28832. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  28833. " ;; and 19:15PM. This runs from the user's home directory.\n"
  28834. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  28835. " (string-append #$idutils \"/bin/mkid src\")\n"
  28836. " #:user \"charlie\"))\n"
  28837. "\n"
  28838. msgstr ""
  28839. #. type: lisp
  28840. #: guix-git/doc/guix.texi:19523
  28841. #, no-wrap
  28842. msgid ""
  28843. " ;; %BASE-SERVICES already includes an instance of\n"
  28844. " ;; 'mcron-service-type', which we extend with additional\n"
  28845. " ;; jobs using 'simple-service'.\n"
  28846. " (services (cons (simple-service 'my-cron-jobs\n"
  28847. " mcron-service-type\n"
  28848. " (list garbage-collector-job\n"
  28849. " updatedb-job\n"
  28850. " idutils-job))\n"
  28851. " %base-services)))\n"
  28852. msgstr ""
  28853. #. type: quotation
  28854. #: guix-git/doc/guix.texi:19531
  28855. msgid "When providing the action of a job specification as a procedure, you should provide an explicit name for the job via the optional 3rd argument as done in the @code{updatedb-job} example above. Otherwise, the job would appear as ``Lambda function'' in the output of @command{herd schedule mcron}, which is not nearly descriptive enough!"
  28856. msgstr ""
  28857. #. type: quotation
  28858. #: guix-git/doc/guix.texi:19537
  28859. msgid "Avoid calling the Guile procedures @code{execl}, @code{execle} or @code{execlp} inside a job specification, else mcron won't be able to output the completion status of the job."
  28860. msgstr ""
  28861. #. type: Plain text
  28862. #: guix-git/doc/guix.texi:19544
  28863. msgid "For more complex jobs defined in Scheme where you need control over the top level, for instance to introduce a @code{use-modules} form, you can move your code to a separate program using the @code{program-file} procedure of the @code{(guix gexp)} module (@pxref{G-Expressions}). The example below illustrates that."
  28864. msgstr ""
  28865. #. type: lisp
  28866. #: guix-git/doc/guix.texi:19560
  28867. #, no-wrap
  28868. msgid ""
  28869. "(define %battery-alert-job\n"
  28870. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  28871. " #~(job\n"
  28872. " '(next-minute (range 0 60 1))\n"
  28873. " #$(program-file\n"
  28874. " \"battery-alert.scm\"\n"
  28875. " (with-imported-modules (source-module-closure\n"
  28876. " '((guix build utils)))\n"
  28877. " #~(begin\n"
  28878. " (use-modules (guix build utils)\n"
  28879. " (ice-9 popen)\n"
  28880. " (ice-9 regex)\n"
  28881. " (ice-9 textual-ports)\n"
  28882. " (srfi srfi-2))\n"
  28883. "\n"
  28884. msgstr ""
  28885. #. type: lisp
  28886. #: guix-git/doc/guix.texi:19562
  28887. #, no-wrap
  28888. msgid ""
  28889. " (define %min-level 20)\n"
  28890. "\n"
  28891. msgstr ""
  28892. #. type: lisp
  28893. #: guix-git/doc/guix.texi:19573
  28894. #, no-wrap
  28895. msgid ""
  28896. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  28897. " (and-let* ((input-pipe (open-pipe*\n"
  28898. " OPEN_READ\n"
  28899. " #$(file-append acpi \"/bin/acpi\")))\n"
  28900. " (output (get-string-all input-pipe))\n"
  28901. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  28902. " (level (string->number (match:substring m 1)))\n"
  28903. " ((< level %min-level)))\n"
  28904. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  28905. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  28906. msgstr ""
  28907. #. type: Plain text
  28908. #: guix-git/doc/guix.texi:19578
  28909. msgid "@xref{Guile Syntax, mcron job specifications,, mcron, GNU@tie{}mcron}, for more information on mcron job specifications. Below is the reference of the mcron service."
  28910. msgstr ""
  28911. #. type: Plain text
  28912. #: guix-git/doc/guix.texi:19581
  28913. msgid "On a running system, you can use the @code{schedule} action of the service to visualize the mcron jobs that will be executed next:"
  28914. msgstr ""
  28915. #. type: example
  28916. #: guix-git/doc/guix.texi:19584
  28917. #, no-wrap
  28918. msgid "# herd schedule mcron\n"
  28919. msgstr ""
  28920. #. type: Plain text
  28921. #: guix-git/doc/guix.texi:19589
  28922. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  28923. msgstr ""
  28924. #. type: example
  28925. #: guix-git/doc/guix.texi:19592
  28926. #, no-wrap
  28927. msgid "# herd schedule mcron 10\n"
  28928. msgstr ""
  28929. #. type: defvar
  28930. #: guix-git/doc/guix.texi:19594
  28931. #, fuzzy, no-wrap
  28932. #| msgid "guix-publish-service-type"
  28933. msgid "mcron-service-type"
  28934. msgstr "guix-publish-service-type"
  28935. #. type: defvar
  28936. #: guix-git/doc/guix.texi:19597
  28937. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  28938. msgstr ""
  28939. #. type: defvar
  28940. #: guix-git/doc/guix.texi:19602 guix-git/doc/guix.texi:42738
  28941. msgid "This service type can be the target of a service extension that provides additional job specifications (@pxref{Service Composition}). In other words, it is possible to define services that provide additional mcron jobs to run."
  28942. msgstr ""
  28943. #. type: deftp
  28944. #: guix-git/doc/guix.texi:19607
  28945. #, no-wrap
  28946. msgid "{Data Type} mcron-configuration"
  28947. msgstr ""
  28948. #. type: deftp
  28949. #: guix-git/doc/guix.texi:19609
  28950. msgid "Available @code{mcron-configuration} fields are:"
  28951. msgstr ""
  28952. #. type: item
  28953. #: guix-git/doc/guix.texi:19611 guix-git/doc/guix.texi:42747
  28954. #, fuzzy, no-wrap
  28955. #| msgid "@code{dbus?} (default: @code{#t})"
  28956. msgid "@code{mcron} (default: @code{mcron}) (type: file-like)"
  28957. msgstr "@code{dbus?} (padrão: @code{#t})"
  28958. #. type: table
  28959. #: guix-git/doc/guix.texi:19613 guix-git/doc/guix.texi:42749
  28960. msgid "The mcron package to use."
  28961. msgstr ""
  28962. #. type: item
  28963. #: guix-git/doc/guix.texi:19614 guix-git/doc/guix.texi:42750
  28964. #, fuzzy, no-wrap
  28965. #| msgid "@code{dbus?} (default: @code{#t})"
  28966. msgid "@code{jobs} (default: @code{'()}) (type: list-of-gexps)"
  28967. msgstr "@code{dbus?} (padrão: @code{#t})"
  28968. #. type: table
  28969. #: guix-git/doc/guix.texi:19618 guix-git/doc/guix.texi:42754
  28970. msgid "This is a list of gexps (@pxref{G-Expressions}), where each gexp corresponds to an mcron job specification (@pxref{Syntax, mcron job specifications,, mcron,GNU@tie{}mcron})."
  28971. msgstr ""
  28972. #. type: item
  28973. #: guix-git/doc/guix.texi:19619 guix-git/doc/guix.texi:42755
  28974. #, fuzzy, no-wrap
  28975. #| msgid "@code{debug?} (default: @code{#f})"
  28976. msgid "@code{log?} (default: @code{#t}) (type: boolean)"
  28977. msgstr "@code{debug?} (default: @code{#f})"
  28978. #. type: table
  28979. #: guix-git/doc/guix.texi:19621 guix-git/doc/guix.texi:42757
  28980. msgid "Log messages to standard output."
  28981. msgstr ""
  28982. #. type: item
  28983. #: guix-git/doc/guix.texi:19622
  28984. #, fuzzy, no-wrap
  28985. msgid "@code{log-file} (default: @code{\"/var/log/mcron.log\"}) (type: string)"
  28986. msgstr "@code{remote?} (padrão: @code{#f})"
  28987. #. type: table
  28988. #: guix-git/doc/guix.texi:19624
  28989. #, fuzzy
  28990. #| msgid "Log Rotation"
  28991. msgid "Log file location."
  28992. msgstr "Rotação de log"
  28993. #. type: item
  28994. #: guix-git/doc/guix.texi:19625 guix-git/doc/guix.texi:42758
  28995. #, fuzzy, no-wrap
  28996. #| msgid "@code{dbus?} (default: @code{#t})"
  28997. msgid "@code{log-format} (default: @code{\"~1@@*~a ~a: ~a~%\"}) (type: string)"
  28998. msgstr "@code{dbus?} (padrão: @code{#t})"
  28999. #. type: table
  29000. #: guix-git/doc/guix.texi:19630
  29001. msgid "@code{(ice-9 format)} format string for log messages. The default value produces messages like @samp{@var{pid} @var{name}: @var{message}} (@pxref{Invoking mcron, Invoking,, mcron,GNU@tie{}mcron}). Each message is also prefixed by a timestamp by GNU Shepherd."
  29002. msgstr ""
  29003. #. type: item
  29004. #: guix-git/doc/guix.texi:19631
  29005. #, fuzzy, no-wrap
  29006. msgid "@code{date-format} (type: maybe-string)"
  29007. msgstr "@code{remote?} (padrão: @code{#f})"
  29008. #. type: table
  29009. #: guix-git/doc/guix.texi:19633
  29010. msgid "@code{(srfi srfi-19)} format string for date."
  29011. msgstr ""
  29012. #. type: cindex
  29013. #: guix-git/doc/guix.texi:19641
  29014. #, no-wrap
  29015. msgid "rottlog"
  29016. msgstr ""
  29017. #. type: cindex
  29018. #: guix-git/doc/guix.texi:19642
  29019. #, no-wrap
  29020. msgid "log rotation"
  29021. msgstr ""
  29022. #. type: Plain text
  29023. #: guix-git/doc/guix.texi:19649
  29024. msgid "Log files such as those found in @file{/var/log} tend to grow endlessly, so it's a good idea to @dfn{rotate} them once in a while---i.e., archive their contents in separate files, possibly compressed. The @code{(gnu services admin)} module provides an interface to GNU@tie{}Rot[t]log, a log rotation tool (@pxref{Top,,, rottlog, GNU Rot[t]log Manual})."
  29025. msgstr ""
  29026. #. type: Plain text
  29027. #: guix-git/doc/guix.texi:19655
  29028. msgid "This service is part of @code{%base-services}, and thus enabled by default, with the default settings, for commonly encountered log files. The example below shows how to extend it with an additional @dfn{rotation}, should you need to do that (usually, services that produce log files already take care of that):"
  29029. msgstr ""
  29030. #. type: lisp
  29031. #: guix-git/doc/guix.texi:19659
  29032. #, no-wrap
  29033. msgid ""
  29034. "(use-modules (guix) (gnu))\n"
  29035. "(use-service-modules admin)\n"
  29036. "\n"
  29037. msgstr ""
  29038. #. type: lisp
  29039. #: guix-git/doc/guix.texi:19663
  29040. #, no-wrap
  29041. msgid ""
  29042. "(define my-log-files\n"
  29043. " ;; Log files that I want to rotate.\n"
  29044. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  29045. "\n"
  29046. msgstr ""
  29047. #. type: lisp
  29048. #: guix-git/doc/guix.texi:19672
  29049. #, no-wrap
  29050. msgid ""
  29051. "(operating-system\n"
  29052. " ;; @dots{}\n"
  29053. " (services (cons (simple-service 'rotate-my-stuff\n"
  29054. " rottlog-service-type\n"
  29055. " (list (log-rotation\n"
  29056. " (frequency 'daily)\n"
  29057. " (files my-log-files))))\n"
  29058. " %base-services)))\n"
  29059. msgstr ""
  29060. #. type: defvar
  29061. #: guix-git/doc/guix.texi:19674
  29062. #, fuzzy, no-wrap
  29063. #| msgid "guix-publish-service-type"
  29064. msgid "rottlog-service-type"
  29065. msgstr "guix-publish-service-type"
  29066. #. type: defvar
  29067. #: guix-git/doc/guix.texi:19677
  29068. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  29069. msgstr ""
  29070. #. type: defvar
  29071. #: guix-git/doc/guix.texi:19680
  29072. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  29073. msgstr ""
  29074. #. type: defvar
  29075. #: guix-git/doc/guix.texi:19683
  29076. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  29077. msgstr ""
  29078. #. type: deftp
  29079. #: guix-git/doc/guix.texi:19685
  29080. #, no-wrap
  29081. msgid "{Data Type} rottlog-configuration"
  29082. msgstr ""
  29083. #. type: deftp
  29084. #: guix-git/doc/guix.texi:19687
  29085. msgid "Data type representing the configuration of rottlog."
  29086. msgstr ""
  29087. #. type: item
  29088. #: guix-git/doc/guix.texi:19689
  29089. #, no-wrap
  29090. msgid "@code{rottlog} (default: @code{rottlog})"
  29091. msgstr ""
  29092. #. type: table
  29093. #: guix-git/doc/guix.texi:19691
  29094. msgid "The Rottlog package to use."
  29095. msgstr ""
  29096. #. type: item
  29097. #: guix-git/doc/guix.texi:19692
  29098. #, no-wrap
  29099. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  29100. msgstr ""
  29101. #. type: table
  29102. #: guix-git/doc/guix.texi:19695
  29103. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  29104. msgstr ""
  29105. #. type: item
  29106. #: guix-git/doc/guix.texi:19696
  29107. #, no-wrap
  29108. msgid "@code{rotations} (default: @code{%default-rotations})"
  29109. msgstr ""
  29110. #. type: table
  29111. #: guix-git/doc/guix.texi:19698
  29112. msgid "A list of @code{log-rotation} objects as defined below."
  29113. msgstr ""
  29114. #. type: code{#1}
  29115. #: guix-git/doc/guix.texi:19699
  29116. #, no-wrap
  29117. msgid "jobs"
  29118. msgstr ""
  29119. #. type: table
  29120. #: guix-git/doc/guix.texi:19702
  29121. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  29122. msgstr ""
  29123. #. type: deftp
  29124. #: guix-git/doc/guix.texi:19705
  29125. #, no-wrap
  29126. msgid "{Data Type} log-rotation"
  29127. msgstr ""
  29128. #. type: deftp
  29129. #: guix-git/doc/guix.texi:19707
  29130. msgid "Data type representing the rotation of a group of log files."
  29131. msgstr ""
  29132. #. type: deftp
  29133. #: guix-git/doc/guix.texi:19711
  29134. msgid "Taking an example from the Rottlog manual (@pxref{Period Related File Examples,,, rottlog, GNU Rot[t]log Manual}), a log rotation might be defined like this:"
  29135. msgstr ""
  29136. #. type: lisp
  29137. #: guix-git/doc/guix.texi:19720
  29138. #, no-wrap
  29139. msgid ""
  29140. "(log-rotation\n"
  29141. " (frequency 'daily)\n"
  29142. " (files '(\"/var/log/apache/*\"))\n"
  29143. " (options '(\"storedir apache-archives\"\n"
  29144. " \"rotate 6\"\n"
  29145. " \"notifempty\"\n"
  29146. " \"nocompress\")))\n"
  29147. msgstr ""
  29148. #. type: deftp
  29149. #: guix-git/doc/guix.texi:19723
  29150. msgid "The list of fields is as follows:"
  29151. msgstr ""
  29152. #. type: item
  29153. #: guix-git/doc/guix.texi:19725
  29154. #, no-wrap
  29155. msgid "@code{frequency} (default: @code{'weekly})"
  29156. msgstr ""
  29157. #. type: table
  29158. #: guix-git/doc/guix.texi:19727
  29159. msgid "The log rotation frequency, a symbol."
  29160. msgstr ""
  29161. #. type: table
  29162. #: guix-git/doc/guix.texi:19730
  29163. msgid "The list of files or file glob patterns to rotate."
  29164. msgstr ""
  29165. #. type: vindex
  29166. #: guix-git/doc/guix.texi:19731
  29167. #, no-wrap
  29168. msgid "%default-log-rotation-options"
  29169. msgstr ""
  29170. #. type: item
  29171. #: guix-git/doc/guix.texi:19732
  29172. #, fuzzy, no-wrap
  29173. msgid "@code{options} (default: @code{%default-log-rotation-options})"
  29174. msgstr "@code{options} (default: @code{#f})"
  29175. #. type: table
  29176. #: guix-git/doc/guix.texi:19735
  29177. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]log Manual})."
  29178. msgstr ""
  29179. #. type: item
  29180. #: guix-git/doc/guix.texi:19736
  29181. #, no-wrap
  29182. msgid "@code{post-rotate} (default: @code{#f})"
  29183. msgstr ""
  29184. #. type: table
  29185. #: guix-git/doc/guix.texi:19738
  29186. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  29187. msgstr ""
  29188. #. type: defvar
  29189. #: guix-git/doc/guix.texi:19741
  29190. #, no-wrap
  29191. msgid "%default-rotations"
  29192. msgstr ""
  29193. #. type: defvar
  29194. #: guix-git/doc/guix.texi:19744
  29195. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  29196. msgstr ""
  29197. #. type: defvar
  29198. #: guix-git/doc/guix.texi:19746
  29199. #, no-wrap
  29200. msgid "%rotated-files"
  29201. msgstr ""
  29202. #. type: defvar
  29203. #: guix-git/doc/guix.texi:19750
  29204. msgid "The list of syslog-controlled files to be rotated. By default it is: @code{'(\"/var/log/messages\" \"/var/log/secure\" \"/var/log/debug\" \\ \"/var/log/maillog\")}."
  29205. msgstr ""
  29206. #. type: Plain text
  29207. #: guix-git/doc/guix.texi:19758
  29208. msgid "Some log files just need to be deleted periodically once they are old, without any other criterion and without any archival step. This is the case of build logs stored by @command{guix-daemon} under @file{/var/log/guix/drvs} (@pxref{Invoking guix-daemon}). The @code{log-cleanup} service addresses this use case. For example, @code{%base-services} (@pxref{Base Services}) includes the following:"
  29209. msgstr ""
  29210. #. type: lisp
  29211. #: guix-git/doc/guix.texi:19764
  29212. #, no-wrap
  29213. msgid ""
  29214. ";; Periodically delete old build logs.\n"
  29215. "(service log-cleanup-service-type\n"
  29216. " (log-cleanup-configuration\n"
  29217. " (directory \"/var/log/guix/drvs\")))\n"
  29218. msgstr ""
  29219. #. type: Plain text
  29220. #: guix-git/doc/guix.texi:19767
  29221. msgid "That ensures build logs do not accumulate endlessly."
  29222. msgstr ""
  29223. #. type: defvar
  29224. #: guix-git/doc/guix.texi:19768
  29225. #, fuzzy, no-wrap
  29226. msgid "log-cleanup-service-type"
  29227. msgstr "guix-publish-service-type"
  29228. #. type: defvar
  29229. #: guix-git/doc/guix.texi:19771
  29230. msgid "This is the type of the service to delete old logs. Its value must be a @code{log-cleanup-configuration} record as described below."
  29231. msgstr ""
  29232. #. type: deftp
  29233. #: guix-git/doc/guix.texi:19773
  29234. #, fuzzy, no-wrap
  29235. msgid "{Data Type} log-cleanup-configuration"
  29236. msgstr "build-machine {Data Type}"
  29237. #. type: deftp
  29238. #: guix-git/doc/guix.texi:19775
  29239. #, fuzzy
  29240. msgid "Data type representing the log cleanup configuration"
  29241. msgstr "Gerencie a configuração do sistema operacional."
  29242. #. type: code{#1}
  29243. #: guix-git/doc/guix.texi:19777
  29244. #, fuzzy, no-wrap
  29245. #| msgid "state directory"
  29246. msgid "directory"
  29247. msgstr "diretório de estado"
  29248. #. type: table
  29249. #: guix-git/doc/guix.texi:19779
  29250. msgid "Name of the directory containing log files."
  29251. msgstr ""
  29252. #. type: item
  29253. #: guix-git/doc/guix.texi:19780
  29254. #, fuzzy, no-wrap
  29255. #| msgid "@code{port} (default: @code{\"6600\"})"
  29256. msgid "@code{expiry} (default: @code{(* 6 30 24 3600)})"
  29257. msgstr "@code{porta} (default: @code{\"6600\"})"
  29258. #. type: table
  29259. #: guix-git/doc/guix.texi:19783
  29260. msgid "Age in seconds after which a file is subject to deletion (six months by default)."
  29261. msgstr ""
  29262. #. type: item
  29263. #: guix-git/doc/guix.texi:19784
  29264. #, fuzzy, no-wrap
  29265. msgid "@code{schedule} (default: @code{\"30 12 01,08,15,22 * *\"})"
  29266. msgstr "@code{porta} (default: @code{15000})"
  29267. #. type: table
  29268. #: guix-git/doc/guix.texi:19787
  29269. msgid "String or gexp denoting the corresponding mcron job schedule (@pxref{Scheduled Job Execution})."
  29270. msgstr ""
  29271. #. type: cindex
  29272. #: guix-git/doc/guix.texi:19790
  29273. #, no-wrap
  29274. msgid "logging, anonymization"
  29275. msgstr ""
  29276. #. type: subheading
  29277. #: guix-git/doc/guix.texi:19791
  29278. #, fuzzy, no-wrap
  29279. #| msgid "Sound Services"
  29280. msgid "Anonip Service"
  29281. msgstr "Serviços de som"
  29282. #. type: Plain text
  29283. #: guix-git/doc/guix.texi:19796
  29284. msgid "Anonip is a privacy filter that removes IP address from web server logs. This service creates a FIFO and filters any written lines with anonip before writing the filtered log to a target file."
  29285. msgstr ""
  29286. #. type: Plain text
  29287. #: guix-git/doc/guix.texi:19800
  29288. msgid "The following example sets up the FIFO @file{/var/run/anonip/https.access.log} and writes the filtered log file @file{/var/log/anonip/https.access.log}."
  29289. msgstr ""
  29290. #. type: lisp
  29291. #: guix-git/doc/guix.texi:19806
  29292. #, no-wrap
  29293. msgid ""
  29294. "(service anonip-service-type\n"
  29295. " (anonip-configuration\n"
  29296. " (input \"/var/run/anonip/https.access.log\")\n"
  29297. " (output \"/var/log/anonip/https.access.log\")))\n"
  29298. msgstr ""
  29299. #. type: Plain text
  29300. #: guix-git/doc/guix.texi:19811
  29301. msgid "Configure your web server to write its logs to the FIFO at @file{/var/run/anonip/https.access.log} and collect the anonymized log file at @file{/var/web-logs/https.access.log}."
  29302. msgstr ""
  29303. #. type: deftp
  29304. #: guix-git/doc/guix.texi:19812
  29305. #, fuzzy, no-wrap
  29306. msgid "{Data Type} anonip-configuration"
  29307. msgstr "build-machine {Data Type}"
  29308. #. type: deftp
  29309. #: guix-git/doc/guix.texi:19815
  29310. #, fuzzy
  29311. msgid "This data type represents the configuration of anonip. It has the following parameters:"
  29312. msgstr "Gerencie a configuração do sistema operacional."
  29313. #. type: item
  29314. #: guix-git/doc/guix.texi:19817
  29315. #, fuzzy, no-wrap
  29316. #| msgid "@code{hangup?} (default: @code{#f})"
  29317. msgid "@code{anonip} (default: @code{anonip})"
  29318. msgstr "@code{hangup?} (padrão: @code{#f})"
  29319. #. type: table
  29320. #: guix-git/doc/guix.texi:19819
  29321. #, fuzzy
  29322. #| msgid "The GPM package to use."
  29323. msgid "The anonip package to use."
  29324. msgstr "O pacote GPM a ser usado."
  29325. #. type: code{#1}
  29326. #: guix-git/doc/guix.texi:19820
  29327. #, no-wrap
  29328. msgid "input"
  29329. msgstr ""
  29330. #. type: table
  29331. #: guix-git/doc/guix.texi:19823
  29332. msgid "The file name of the input log file to process. The service creates a FIFO of this name. The web server should write its logs to this FIFO."
  29333. msgstr ""
  29334. #. type: code{#1}
  29335. #: guix-git/doc/guix.texi:19824
  29336. #, no-wrap
  29337. msgid "output"
  29338. msgstr ""
  29339. #. type: table
  29340. #: guix-git/doc/guix.texi:19826
  29341. #, fuzzy
  29342. #| msgid "The host name of the remote machine."
  29343. msgid "The file name of the processed log file."
  29344. msgstr "O nome de host da máquina remota."
  29345. #. type: deftp
  29346. #: guix-git/doc/guix.texi:19829
  29347. #, fuzzy
  29348. #| msgid "The following command-line options are supported:"
  29349. msgid "The following optional settings may be provided:"
  29350. msgstr "As seguintes opções de linha de comando são suportadas:"
  29351. #. type: code{#1}
  29352. #: guix-git/doc/guix.texi:19831
  29353. #, no-wrap
  29354. msgid "skip-private?"
  29355. msgstr ""
  29356. #. type: table
  29357. #: guix-git/doc/guix.texi:19833
  29358. msgid "When @code{#true} do not mask addresses in private ranges."
  29359. msgstr ""
  29360. #. type: code{#1}
  29361. #: guix-git/doc/guix.texi:19834
  29362. #, no-wrap
  29363. msgid "column"
  29364. msgstr ""
  29365. #. type: table
  29366. #: guix-git/doc/guix.texi:19837
  29367. msgid "A 1-based indexed column number. Assume IP address is in the specified column (default is 1)."
  29368. msgstr ""
  29369. #. type: code{#1}
  29370. #: guix-git/doc/guix.texi:19838
  29371. #, no-wrap
  29372. msgid "replacement"
  29373. msgstr ""
  29374. #. type: table
  29375. #: guix-git/doc/guix.texi:19840
  29376. msgid "Replacement string in case address parsing fails, e.g. @code{\"0.0.0.0\"}."
  29377. msgstr ""
  29378. #. type: code{#1}
  29379. #: guix-git/doc/guix.texi:19841
  29380. #, no-wrap
  29381. msgid "ipv4mask"
  29382. msgstr ""
  29383. #. type: table
  29384. #: guix-git/doc/guix.texi:19843
  29385. msgid "Number of bits to mask in IPv4 addresses."
  29386. msgstr ""
  29387. #. type: code{#1}
  29388. #: guix-git/doc/guix.texi:19844
  29389. #, no-wrap
  29390. msgid "ipv6mask"
  29391. msgstr ""
  29392. #. type: table
  29393. #: guix-git/doc/guix.texi:19846
  29394. msgid "Number of bits to mask in IPv6 addresses."
  29395. msgstr ""
  29396. #. type: code{#1}
  29397. #: guix-git/doc/guix.texi:19847
  29398. #, fuzzy, no-wrap
  29399. #| msgid "Requirements"
  29400. msgid "increment"
  29401. msgstr "Requisitos"
  29402. #. type: table
  29403. #: guix-git/doc/guix.texi:19849
  29404. msgid "Increment the IP address by the given number. By default this is zero."
  29405. msgstr ""
  29406. #. type: code{#1}
  29407. #: guix-git/doc/guix.texi:19850
  29408. #, no-wrap
  29409. msgid "delimiter"
  29410. msgstr ""
  29411. #. type: table
  29412. #: guix-git/doc/guix.texi:19852
  29413. msgid "Log delimiter string."
  29414. msgstr ""
  29415. #. type: code{#1}
  29416. #: guix-git/doc/guix.texi:19853
  29417. #, no-wrap
  29418. msgid "regex"
  29419. msgstr ""
  29420. #. type: table
  29421. #: guix-git/doc/guix.texi:19855
  29422. msgid "Regular expression for detecting IP addresses. Use this instead of @code{column}."
  29423. msgstr ""
  29424. #. type: Plain text
  29425. #: guix-git/doc/guix.texi:19870
  29426. msgid "The @code{(gnu services networking)} module provides services to configure network interfaces and set up networking on your machine. Those services provide different ways for you to set up your machine: by declaring a static network configuration, by running a Dynamic Host Configuration Protocol (DHCP) client, or by running daemons such as NetworkManager and Connman that automate the whole process, automatically adapt to connectivity changes, and provide a high-level user interface."
  29427. msgstr ""
  29428. #. type: Plain text
  29429. #: guix-git/doc/guix.texi:19876
  29430. msgid "On a laptop, NetworkManager and Connman are by far the most convenient options, which is why the default desktop services include NetworkManager (@pxref{Desktop Services, @code{%desktop-services}}). For a server, or for a virtual machine or a container, static network configuration or a simple DHCP client are often more appropriate."
  29431. msgstr ""
  29432. #. type: Plain text
  29433. #: guix-git/doc/guix.texi:19879
  29434. msgid "This section describes the various network setup services available, starting with static network configuration."
  29435. msgstr ""
  29436. #. type: defvar
  29437. #: guix-git/doc/guix.texi:19880
  29438. #, fuzzy, no-wrap
  29439. #| msgid "guix-publish-service-type"
  29440. msgid "static-networking-service-type"
  29441. msgstr "guix-publish-service-type"
  29442. #. type: defvar
  29443. #: guix-git/doc/guix.texi:19885
  29444. msgid "This is the type for statically-configured network interfaces. Its value must be a list of @code{static-networking} records. Each of them declares a set of @dfn{addresses}, @dfn{routes}, and @dfn{links}, as shown below."
  29445. msgstr ""
  29446. #. type: cindex
  29447. #: guix-git/doc/guix.texi:19886
  29448. #, no-wrap
  29449. msgid "network interface controller (NIC)"
  29450. msgstr ""
  29451. #. type: cindex
  29452. #: guix-git/doc/guix.texi:19887
  29453. #, no-wrap
  29454. msgid "NIC, networking interface controller"
  29455. msgstr ""
  29456. #. type: defvar
  29457. #: guix-git/doc/guix.texi:19890
  29458. msgid "Here is the simplest configuration, with only one network interface controller (NIC) and only IPv4 connectivity:"
  29459. msgstr ""
  29460. #. type: lisp
  29461. #: guix-git/doc/guix.texi:19904
  29462. #, no-wrap
  29463. msgid ""
  29464. ";; Static networking for one NIC, IPv4-only.\n"
  29465. "(service static-networking-service-type\n"
  29466. " (list (static-networking\n"
  29467. " (addresses\n"
  29468. " (list (network-address\n"
  29469. " (device \"eno1\")\n"
  29470. " (value \"10.0.2.15/24\"))))\n"
  29471. " (routes\n"
  29472. " (list (network-route\n"
  29473. " (destination \"default\")\n"
  29474. " (gateway \"10.0.2.2\"))))\n"
  29475. " (name-servers '(\"10.0.2.3\")))))\n"
  29476. msgstr ""
  29477. #. type: defvar
  29478. #: guix-git/doc/guix.texi:19913
  29479. msgid "The snippet above can be added to the @code{services} field of your operating system configuration (@pxref{Using the Configuration System}). It will configure your machine to have 10.0.2.15 as its IP address, with a 24-bit netmask for the local network---meaning that any 10.0.2.@var{x} address is on the local area network (LAN). Traffic to addresses outside the local network is routed @i{via} 10.0.2.2. Host names are resolved by sending domain name system (DNS) queries to 10.0.2.3."
  29480. msgstr ""
  29481. #. type: deftp
  29482. #: guix-git/doc/guix.texi:19915
  29483. #, fuzzy, no-wrap
  29484. #| msgid "{Data Type} build-machine"
  29485. msgid "{Data Type} static-networking"
  29486. msgstr "build-machine {Data Type}"
  29487. #. type: deftp
  29488. #: guix-git/doc/guix.texi:19917
  29489. #, fuzzy
  29490. msgid "This is the data type representing a static network configuration."
  29491. msgstr "Gerencie a configuração do sistema operacional."
  29492. #. type: deftp
  29493. #: guix-git/doc/guix.texi:19921
  29494. msgid "As an example, here is how you would declare the configuration of a machine with a single network interface controller (NIC) available as @code{eno1}, and with one IPv4 and one IPv6 address:"
  29495. msgstr ""
  29496. #. type: lisp
  29497. #: guix-git/doc/guix.texi:19938
  29498. #, no-wrap
  29499. msgid ""
  29500. ";; Network configuration for one NIC, IPv4 + IPv6.\n"
  29501. "(static-networking\n"
  29502. " (addresses (list (network-address\n"
  29503. " (device \"eno1\")\n"
  29504. " (value \"10.0.2.15/24\"))\n"
  29505. " (network-address\n"
  29506. " (device \"eno1\")\n"
  29507. " (value \"2001:123:4567:101::1/64\"))))\n"
  29508. " (routes (list (network-route\n"
  29509. " (destination \"default\")\n"
  29510. " (gateway \"10.0.2.2\"))\n"
  29511. " (network-route\n"
  29512. " (destination \"default\")\n"
  29513. " (gateway \"2020:321:4567:42::1\"))))\n"
  29514. " (name-servers '(\"10.0.2.3\")))\n"
  29515. msgstr ""
  29516. #. type: deftp
  29517. #: guix-git/doc/guix.texi:19944
  29518. msgid "If you are familiar with the @command{ip} command of the @uref{https://wiki.linuxfoundation.org/networking/iproute2, @code{iproute2} package} found on Linux-based systems, the declaration above is equivalent to typing:"
  29519. msgstr ""
  29520. #. type: example
  29521. #: guix-git/doc/guix.texi:19950
  29522. #, no-wrap
  29523. msgid ""
  29524. "ip address add 10.0.2.15/24 dev eno1\n"
  29525. "ip address add 2001:123:4567:101::1/64 dev eno1\n"
  29526. "ip route add default via inet 10.0.2.2\n"
  29527. "ip route add default via inet6 2020:321:4567:42::1\n"
  29528. msgstr ""
  29529. #. type: deftp
  29530. #: guix-git/doc/guix.texi:19955
  29531. msgid "Run @command{man 8 ip} for more info. Venerable GNU/Linux users will certainly know how to do it with @command{ifconfig} and @command{route}, but we'll spare you that."
  29532. msgstr ""
  29533. #. type: deftp
  29534. #: guix-git/doc/guix.texi:19957
  29535. msgid "The available fields of this data type are as follows:"
  29536. msgstr ""
  29537. #. type: code{#1}
  29538. #: guix-git/doc/guix.texi:19959
  29539. #, no-wrap
  29540. msgid "addresses"
  29541. msgstr ""
  29542. #. type: itemx
  29543. #: guix-git/doc/guix.texi:19960
  29544. #, fuzzy, no-wrap
  29545. #| msgid "@code{features} (default: @code{'()})"
  29546. msgid "@code{links} (default: @code{'()})"
  29547. msgstr "@code{features} (padrão: @code{'()})"
  29548. #. type: itemx
  29549. #: guix-git/doc/guix.texi:19961
  29550. #, fuzzy, no-wrap
  29551. #| msgid "@code{features} (default: @code{'()})"
  29552. msgid "@code{routes} (default: @code{'()})"
  29553. msgstr "@code{features} (padrão: @code{'()})"
  29554. #. type: table
  29555. #: guix-git/doc/guix.texi:19964
  29556. msgid "The list of @code{network-address}, @code{network-link}, and @code{network-route} records for this network (see below)."
  29557. msgstr ""
  29558. #. type: item
  29559. #: guix-git/doc/guix.texi:19965
  29560. #, fuzzy, no-wrap
  29561. msgid "@code{name-servers} (default: @code{'()})"
  29562. msgstr "@code{remote?} (padrão: @code{#f})"
  29563. #. type: table
  29564. #: guix-git/doc/guix.texi:19968
  29565. msgid "The list of IP addresses (strings) of domain name servers. These IP addresses go to @file{/etc/resolv.conf}."
  29566. msgstr ""
  29567. #. type: item
  29568. #: guix-git/doc/guix.texi:19969
  29569. #, fuzzy, no-wrap
  29570. #| msgid "@code{features} (default: @code{'()})"
  29571. msgid "@code{provision} (default: @code{'(networking)})"
  29572. msgstr "@code{features} (padrão: @code{'()})"
  29573. #. type: table
  29574. #: guix-git/doc/guix.texi:19972
  29575. msgid "If true, this should be a list of symbols for the Shepherd service corresponding to this network configuration."
  29576. msgstr ""
  29577. #. type: item
  29578. #: guix-git/doc/guix.texi:19973
  29579. #, fuzzy, no-wrap
  29580. #| msgid "@code{features} (default: @code{'()})"
  29581. msgid "@code{requirement} (default @code{'()})"
  29582. msgstr "@code{features} (padrão: @code{'()})"
  29583. #. type: table
  29584. #: guix-git/doc/guix.texi:19975
  29585. msgid "The list of Shepherd services depended on."
  29586. msgstr ""
  29587. #. type: deftp
  29588. #: guix-git/doc/guix.texi:19978
  29589. #, fuzzy, no-wrap
  29590. msgid "{Data Type} network-address"
  29591. msgstr "build-machine {Data Type}"
  29592. #. type: deftp
  29593. #: guix-git/doc/guix.texi:19981
  29594. msgid "This is the data type representing the IP address of a network interface."
  29595. msgstr ""
  29596. #. type: table
  29597. #: guix-git/doc/guix.texi:19986
  29598. msgid "The name of the network interface for this address---e.g., @code{\"eno1\"}."
  29599. msgstr ""
  29600. #. type: item
  29601. #: guix-git/doc/guix.texi:19987
  29602. #, no-wrap
  29603. msgid "value"
  29604. msgstr ""
  29605. #. type: table
  29606. #: guix-git/doc/guix.texi:19991
  29607. msgid "The actual IP address and network mask, in @uref{https://en.wikipedia.org/wiki/CIDR#CIDR_notation, @acronym{CIDR, Classless Inter-Domain Routing} notation}, as a string."
  29608. msgstr ""
  29609. #. type: table
  29610. #: guix-git/doc/guix.texi:19995
  29611. msgid "For example, @code{\"10.0.2.15/24\"} denotes IPv4 address 10.0.2.15 on a 24-bit sub-network---all 10.0.2.@var{x} addresses are on the same local network."
  29612. msgstr ""
  29613. #. type: item
  29614. #: guix-git/doc/guix.texi:19996
  29615. #, no-wrap
  29616. msgid "ipv6?"
  29617. msgstr ""
  29618. #. type: table
  29619. #: guix-git/doc/guix.texi:19999
  29620. msgid "Whether @code{value} denotes an IPv6 address. By default this is automatically determined."
  29621. msgstr ""
  29622. #. type: deftp
  29623. #: guix-git/doc/guix.texi:20002
  29624. #, fuzzy, no-wrap
  29625. #| msgid "{Data Type} build-machine"
  29626. msgid "{Data Type} network-route"
  29627. msgstr "build-machine {Data Type}"
  29628. #. type: deftp
  29629. #: guix-git/doc/guix.texi:20004
  29630. msgid "This is the data type representing a network route."
  29631. msgstr ""
  29632. #. type: code{#1}
  29633. #: guix-git/doc/guix.texi:20006
  29634. #, fuzzy, no-wrap
  29635. #| msgid "deduplication"
  29636. msgid "destination"
  29637. msgstr "deduplicação"
  29638. #. type: table
  29639. #: guix-git/doc/guix.texi:20009
  29640. msgid "The route destination (a string), either an IP address and network mask or @code{\"default\"} to denote the default route."
  29641. msgstr ""
  29642. #. type: item
  29643. #: guix-git/doc/guix.texi:20010
  29644. #, fuzzy, no-wrap
  29645. #| msgid "@code{chdir} (default: @code{#f})"
  29646. msgid "@code{source} (default: @code{#f})"
  29647. msgstr "@code{chdir} (default: @code{#f})"
  29648. #. type: table
  29649. #: guix-git/doc/guix.texi:20012
  29650. #, fuzzy
  29651. #| msgid "The rottlog service."
  29652. msgid "The route source."
  29653. msgstr "O serviço rottlog."
  29654. #. type: item
  29655. #: guix-git/doc/guix.texi:20013 guix-git/doc/guix.texi:39778
  29656. #, no-wrap
  29657. msgid "@code{device} (default: @code{#f})"
  29658. msgstr "@code{device} (default: @code{#f})"
  29659. #. type: table
  29660. #: guix-git/doc/guix.texi:20015
  29661. msgid "The device used for this route---e.g., @code{\"eno2\"}."
  29662. msgstr ""
  29663. #. type: item
  29664. #: guix-git/doc/guix.texi:20016
  29665. #, fuzzy, no-wrap
  29666. #| msgid "@code{ipv6?} (default: @code{#t})"
  29667. msgid "@code{ipv6?} (default: auto)"
  29668. msgstr "@code{ipv6?} (default: @code{#t})"
  29669. #. type: table
  29670. #: guix-git/doc/guix.texi:20019
  29671. msgid "Whether this is an IPv6 route. By default this is automatically determined based on @code{destination} or @code{gateway}."
  29672. msgstr ""
  29673. #. type: item
  29674. #: guix-git/doc/guix.texi:20020
  29675. #, fuzzy, no-wrap
  29676. #| msgid "@code{delay} (default: @code{#f})"
  29677. msgid "@code{gateway} (default: @code{#f})"
  29678. msgstr "@code{delay} (default: @code{#f})"
  29679. #. type: table
  29680. #: guix-git/doc/guix.texi:20022
  29681. msgid "IP address (a string) through which traffic is routed."
  29682. msgstr ""
  29683. #. type: deftp
  29684. #: guix-git/doc/guix.texi:20025
  29685. #, fuzzy, no-wrap
  29686. #| msgid "{Data Type} build-machine"
  29687. msgid "{Data Type} network-link"
  29688. msgstr "build-machine {Data Type}"
  29689. #. type: deftp
  29690. #: guix-git/doc/guix.texi:20028
  29691. msgid "Data type for a network link (@pxref{Link,,, guile-netlink, Guile-Netlink Manual})."
  29692. msgstr ""
  29693. #. type: table
  29694. #: guix-git/doc/guix.texi:20032
  29695. msgid "The name of the link---e.g., @code{\"v0p0\"}."
  29696. msgstr ""
  29697. #. type: table
  29698. #: guix-git/doc/guix.texi:20035
  29699. msgid "A symbol denoting the type of the link---e.g., @code{'veth}."
  29700. msgstr ""
  29701. #. type: table
  29702. #: guix-git/doc/guix.texi:20038
  29703. msgid "List of arguments for this type of link."
  29704. msgstr ""
  29705. #. type: cindex
  29706. #: guix-git/doc/guix.texi:20041
  29707. #, no-wrap
  29708. msgid "loopback device"
  29709. msgstr ""
  29710. #. type: defvar
  29711. #: guix-git/doc/guix.texi:20042
  29712. #, fuzzy, no-wrap
  29713. msgid "%loopback-static-networking"
  29714. msgstr "guix-publish-service-type"
  29715. #. type: defvar
  29716. #: guix-git/doc/guix.texi:20046
  29717. msgid "This is the @code{static-networking} record representing the ``loopback device'', @code{lo}, for IP addresses 127.0.0.1 and ::1, and providing the @code{loopback} Shepherd service."
  29718. msgstr ""
  29719. #. type: cindex
  29720. #: guix-git/doc/guix.texi:20048
  29721. #, no-wrap
  29722. msgid "networking, with QEMU"
  29723. msgstr ""
  29724. #. type: cindex
  29725. #: guix-git/doc/guix.texi:20049
  29726. #, fuzzy, no-wrap
  29727. #| msgid "Networking"
  29728. msgid "QEMU, networking"
  29729. msgstr "Rede"
  29730. #. type: defvar
  29731. #: guix-git/doc/guix.texi:20050
  29732. #, fuzzy, no-wrap
  29733. msgid "%qemu-static-networking"
  29734. msgstr "guix-publish-service-type"
  29735. #. type: defvar
  29736. #: guix-git/doc/guix.texi:20054
  29737. msgid "This is the @code{static-networking} record representing network setup when using QEMU's user-mode network stack on @code{eth0} (@pxref{Using the user mode network stack,,, QEMU, QEMU Documentation})."
  29738. msgstr ""
  29739. #. type: cindex
  29740. #: guix-git/doc/guix.texi:20056
  29741. #, no-wrap
  29742. msgid "DHCP, networking service"
  29743. msgstr ""
  29744. #. type: defvar
  29745. #: guix-git/doc/guix.texi:20057
  29746. #, fuzzy, no-wrap
  29747. #| msgid "guix-publish-service-type"
  29748. msgid "dhcp-client-service-type"
  29749. msgstr "guix-publish-service-type"
  29750. #. type: defvar
  29751. #: guix-git/doc/guix.texi:20060
  29752. msgid "This is the type of services that run @var{dhcp}, a Dynamic Host Configuration Protocol (DHCP) client."
  29753. msgstr ""
  29754. #. type: deftp
  29755. #: guix-git/doc/guix.texi:20062
  29756. #, fuzzy, no-wrap
  29757. msgid "{Data Type} dhcp-client-configuration"
  29758. msgstr "build-machine {Data Type}"
  29759. #. type: deftp
  29760. #: guix-git/doc/guix.texi:20064
  29761. #, fuzzy
  29762. msgid "Data type representing the configuration of the DHCP client service."
  29763. msgstr "Gerencie a configuração do sistema operacional."
  29764. #. type: item
  29765. #: guix-git/doc/guix.texi:20066 guix-git/doc/guix.texi:20323
  29766. #, no-wrap
  29767. msgid "@code{package} (default: @code{isc-dhcp})"
  29768. msgstr ""
  29769. #. type: table
  29770. #: guix-git/doc/guix.texi:20068
  29771. #, fuzzy
  29772. msgid "DHCP client package to use."
  29773. msgstr "O pacote GPM a ser usado."
  29774. #. type: item
  29775. #: guix-git/doc/guix.texi:20069
  29776. #, fuzzy, no-wrap
  29777. #| msgid "@code{features} (default: @code{'()})"
  29778. msgid "@code{interfaces} (default: @code{'all})"
  29779. msgstr "@code{features} (padrão: @code{'()})"
  29780. #. type: table
  29781. #: guix-git/doc/guix.texi:20072
  29782. msgid "Either @code{'all} or the list of interface names that the DHCP client should listen on---e.g., @code{'(\"eno1\")}."
  29783. msgstr ""
  29784. #. type: table
  29785. #: guix-git/doc/guix.texi:20076
  29786. msgid "When set to @code{'all}, the DHCP client listens on all the available non-loopback interfaces that can be activated. Otherwise the DHCP client listens only on the specified interfaces."
  29787. msgstr ""
  29788. #. type: table
  29789. #: guix-git/doc/guix.texi:20082 guix-git/doc/guix.texi:20109
  29790. #: guix-git/doc/guix.texi:20190
  29791. msgid "This option can be used to provide a list of symbols naming Shepherd services that this service will depend on, such as @code{'wpa-supplicant} or @code{'iwd} if you require authenticated access for encrypted WiFi or Ethernet networks."
  29792. msgstr ""
  29793. #. type: cindex
  29794. #: guix-git/doc/guix.texi:20085
  29795. #, no-wrap
  29796. msgid "NetworkManager"
  29797. msgstr ""
  29798. #. type: defvar
  29799. #: guix-git/doc/guix.texi:20087
  29800. #, fuzzy, no-wrap
  29801. #| msgid "guix-publish-service-type"
  29802. msgid "network-manager-service-type"
  29803. msgstr "guix-publish-service-type"
  29804. #. type: defvar
  29805. #: guix-git/doc/guix.texi:20092
  29806. msgid "This is the service type for the @uref{https://wiki.gnome.org/Projects/NetworkManager, NetworkManager} service. The value for this service type is a @code{network-manager-configuration} record."
  29807. msgstr ""
  29808. #. type: defvar
  29809. #: guix-git/doc/guix.texi:20095 guix-git/doc/guix.texi:20246
  29810. #: guix-git/doc/guix.texi:20275
  29811. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  29812. msgstr ""
  29813. #. type: deftp
  29814. #: guix-git/doc/guix.texi:20097
  29815. #, no-wrap
  29816. msgid "{Data Type} network-manager-configuration"
  29817. msgstr ""
  29818. #. type: deftp
  29819. #: guix-git/doc/guix.texi:20099
  29820. msgid "Data type representing the configuration of NetworkManager."
  29821. msgstr ""
  29822. #. type: item
  29823. #: guix-git/doc/guix.texi:20101
  29824. #, no-wrap
  29825. msgid "@code{network-manager} (default: @code{network-manager})"
  29826. msgstr ""
  29827. #. type: table
  29828. #: guix-git/doc/guix.texi:20103
  29829. msgid "The NetworkManager package to use."
  29830. msgstr ""
  29831. #. type: item
  29832. #: guix-git/doc/guix.texi:20104
  29833. #, fuzzy, no-wrap
  29834. #| msgid "@code{features} (default: @code{'()})"
  29835. msgid "@code{shepherd-requirement} (default: @code{'(wpa-supplicant)})"
  29836. msgstr "@code{features} (padrão: @code{'()})"
  29837. #. type: item
  29838. #: guix-git/doc/guix.texi:20110
  29839. #, no-wrap
  29840. msgid "@code{dns} (default: @code{\"default\"})"
  29841. msgstr ""
  29842. #. type: table
  29843. #: guix-git/doc/guix.texi:20113
  29844. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  29845. msgstr ""
  29846. #. type: table
  29847. #: guix-git/doc/guix.texi:20118
  29848. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  29849. msgstr ""
  29850. #. type: item
  29851. #: guix-git/doc/guix.texi:20119
  29852. #, no-wrap
  29853. msgid "dnsmasq"
  29854. msgstr ""
  29855. #. type: table
  29856. #: guix-git/doc/guix.texi:20123
  29857. msgid "NetworkManager will run @code{dnsmasq} as a local caching nameserver, using a @dfn{conditional forwarding} configuration if you are connected to a VPN, and then update @code{resolv.conf} to point to the local nameserver."
  29858. msgstr ""
  29859. #. type: table
  29860. #: guix-git/doc/guix.texi:20129
  29861. msgid "With this setting, you can share your network connection. For example when you want to share your network connection to another laptop @i{via} an Ethernet cable, you can open @command{nm-connection-editor} and configure the Wired connection's method for IPv4 and IPv6 to be ``Shared to other computers'' and reestablish the connection (or reboot)."
  29862. msgstr ""
  29863. #. type: table
  29864. #: guix-git/doc/guix.texi:20136
  29865. msgid "You can also set up a @dfn{host-to-guest connection} to QEMU VMs (@pxref{Installing Guix in a VM}). With a host-to-guest connection, you can e.g.@: access a Web server running on the VM (@pxref{Web Services}) from a Web browser on your host system, or connect to the VM @i{via} SSH (@pxref{Networking Services, @code{openssh-service-type}}). To set up a host-to-guest connection, run this command once:"
  29866. msgstr ""
  29867. #. type: example
  29868. #: guix-git/doc/guix.texi:20143
  29869. #, no-wrap
  29870. msgid ""
  29871. "nmcli connection add type tun \\\n"
  29872. " connection.interface-name tap0 \\\n"
  29873. " tun.mode tap tun.owner $(id -u) \\\n"
  29874. " ipv4.method shared \\\n"
  29875. " ipv4.addresses 172.28.112.1/24\n"
  29876. msgstr ""
  29877. #. type: table
  29878. #: guix-git/doc/guix.texi:20148
  29879. msgid "Then each time you launch your QEMU VM (@pxref{Running Guix in a VM}), pass @option{-nic tap,ifname=tap0,script=no,downscript=no} to @command{qemu-system-...}."
  29880. msgstr ""
  29881. #. type: table
  29882. #: guix-git/doc/guix.texi:20151
  29883. msgid "NetworkManager will not modify @code{resolv.conf}."
  29884. msgstr ""
  29885. #. type: item
  29886. #: guix-git/doc/guix.texi:20153
  29887. #, no-wrap
  29888. msgid "@code{vpn-plugins} (default: @code{'()})"
  29889. msgstr ""
  29890. #. type: table
  29891. #: guix-git/doc/guix.texi:20157
  29892. msgid "This is the list of available plugins for virtual private networks (VPNs). An example of this is the @code{network-manager-openvpn} package, which allows NetworkManager to manage VPNs @i{via} OpenVPN."
  29893. msgstr ""
  29894. #. type: cindex
  29895. #: guix-git/doc/guix.texi:20161
  29896. #, no-wrap
  29897. msgid "Connman"
  29898. msgstr ""
  29899. #. type: defvar
  29900. #: guix-git/doc/guix.texi:20162
  29901. #, fuzzy, no-wrap
  29902. #| msgid "guix-publish-service-type"
  29903. msgid "connman-service-type"
  29904. msgstr "guix-publish-service-type"
  29905. #. type: defvar
  29906. #: guix-git/doc/guix.texi:20165
  29907. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  29908. msgstr ""
  29909. #. type: defvar
  29910. #: guix-git/doc/guix.texi:20168
  29911. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  29912. msgstr ""
  29913. #. type: lisp
  29914. #: guix-git/doc/guix.texi:20173
  29915. #, no-wrap
  29916. msgid ""
  29917. "(service connman-service-type\n"
  29918. " (connman-configuration\n"
  29919. " (disable-vpn? #t)))\n"
  29920. msgstr ""
  29921. #. type: defvar
  29922. #: guix-git/doc/guix.texi:20176
  29923. msgid "See below for details about @code{connman-configuration}."
  29924. msgstr ""
  29925. #. type: deftp
  29926. #: guix-git/doc/guix.texi:20178
  29927. #, no-wrap
  29928. msgid "{Data Type} connman-configuration"
  29929. msgstr ""
  29930. #. type: deftp
  29931. #: guix-git/doc/guix.texi:20180
  29932. msgid "Data Type representing the configuration of connman."
  29933. msgstr ""
  29934. #. type: item
  29935. #: guix-git/doc/guix.texi:20182
  29936. #, no-wrap
  29937. msgid "@code{connman} (default: @var{connman})"
  29938. msgstr ""
  29939. #. type: table
  29940. #: guix-git/doc/guix.texi:20184
  29941. msgid "The connman package to use."
  29942. msgstr ""
  29943. #. type: item
  29944. #: guix-git/doc/guix.texi:20191
  29945. #, no-wrap
  29946. msgid "@code{disable-vpn?} (default: @code{#f})"
  29947. msgstr ""
  29948. #. type: table
  29949. #: guix-git/doc/guix.texi:20193
  29950. msgid "When true, disable connman's vpn plugin."
  29951. msgstr ""
  29952. #. type: cindex
  29953. #: guix-git/doc/guix.texi:20197
  29954. #, no-wrap
  29955. msgid "WPA Supplicant"
  29956. msgstr ""
  29957. #. type: defvar
  29958. #: guix-git/doc/guix.texi:20198
  29959. #, fuzzy, no-wrap
  29960. #| msgid "guix-publish-service-type"
  29961. msgid "wpa-supplicant-service-type"
  29962. msgstr "guix-publish-service-type"
  29963. #. type: defvar
  29964. #: guix-git/doc/guix.texi:20202
  29965. msgid "This is the service type to run @url{https://w1.fi/wpa_supplicant/,WPA supplicant}, an authentication daemon required to authenticate against encrypted WiFi or ethernet networks."
  29966. msgstr ""
  29967. #. type: deftp
  29968. #: guix-git/doc/guix.texi:20204
  29969. #, no-wrap
  29970. msgid "{Data Type} wpa-supplicant-configuration"
  29971. msgstr ""
  29972. #. type: deftp
  29973. #: guix-git/doc/guix.texi:20206
  29974. msgid "Data type representing the configuration of WPA Supplicant."
  29975. msgstr ""
  29976. #. type: deftp
  29977. #: guix-git/doc/guix.texi:20208 guix-git/doc/guix.texi:37408
  29978. msgid "It takes the following parameters:"
  29979. msgstr ""
  29980. #. type: item
  29981. #: guix-git/doc/guix.texi:20210
  29982. #, no-wrap
  29983. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  29984. msgstr ""
  29985. #. type: table
  29986. #: guix-git/doc/guix.texi:20212
  29987. msgid "The WPA Supplicant package to use."
  29988. msgstr ""
  29989. #. type: item
  29990. #: guix-git/doc/guix.texi:20213
  29991. #, no-wrap
  29992. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  29993. msgstr ""
  29994. #. type: table
  29995. #: guix-git/doc/guix.texi:20215
  29996. msgid "List of services that should be started before WPA Supplicant starts."
  29997. msgstr ""
  29998. #. type: item
  29999. #: guix-git/doc/guix.texi:20216
  30000. #, no-wrap
  30001. msgid "@code{dbus?} (default: @code{#t})"
  30002. msgstr "@code{dbus?} (padrão: @code{#t})"
  30003. #. type: table
  30004. #: guix-git/doc/guix.texi:20218
  30005. msgid "Whether to listen for requests on D-Bus."
  30006. msgstr ""
  30007. #. type: item
  30008. #: guix-git/doc/guix.texi:20219
  30009. #, no-wrap
  30010. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  30011. msgstr ""
  30012. #. type: table
  30013. #: guix-git/doc/guix.texi:20221
  30014. msgid "Where to store the PID file."
  30015. msgstr ""
  30016. #. type: item
  30017. #: guix-git/doc/guix.texi:20222 guix-git/doc/guix.texi:35670
  30018. #: guix-git/doc/guix.texi:35812
  30019. #, no-wrap
  30020. msgid "@code{interface} (default: @code{#f})"
  30021. msgstr ""
  30022. #. type: table
  30023. #: guix-git/doc/guix.texi:20225
  30024. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  30025. msgstr ""
  30026. #. type: item
  30027. #: guix-git/doc/guix.texi:20226 guix-git/doc/guix.texi:20328
  30028. #: guix-git/doc/guix.texi:26469 guix-git/doc/guix.texi:32984
  30029. #, no-wrap
  30030. msgid "@code{config-file} (default: @code{#f})"
  30031. msgstr ""
  30032. #. type: table
  30033. #: guix-git/doc/guix.texi:20228
  30034. msgid "Optional configuration file to use."
  30035. msgstr ""
  30036. #. type: table
  30037. #: guix-git/doc/guix.texi:20231
  30038. msgid "List of additional command-line arguments to pass to the daemon."
  30039. msgstr ""
  30040. #. type: cindex
  30041. #: guix-git/doc/guix.texi:20234
  30042. #, no-wrap
  30043. msgid "ModemManager"
  30044. msgstr ""
  30045. #. type: Plain text
  30046. #: guix-git/doc/guix.texi:20237
  30047. msgid "Some networking devices such as modems require special care, and this is what the services below focus on."
  30048. msgstr ""
  30049. #. type: defvar
  30050. #: guix-git/doc/guix.texi:20238
  30051. #, fuzzy, no-wrap
  30052. #| msgid "guix-publish-service-type"
  30053. msgid "modem-manager-service-type"
  30054. msgstr "guix-publish-service-type"
  30055. #. type: defvar
  30056. #: guix-git/doc/guix.texi:20243
  30057. msgid "This is the service type for the @uref{https://wiki.gnome.org/Projects/ModemManager, ModemManager} service. The value for this service type is a @code{modem-manager-configuration} record."
  30058. msgstr ""
  30059. #. type: deftp
  30060. #: guix-git/doc/guix.texi:20248
  30061. #, no-wrap
  30062. msgid "{Data Type} modem-manager-configuration"
  30063. msgstr ""
  30064. #. type: deftp
  30065. #: guix-git/doc/guix.texi:20250
  30066. msgid "Data type representing the configuration of ModemManager."
  30067. msgstr ""
  30068. #. type: item
  30069. #: guix-git/doc/guix.texi:20252
  30070. #, no-wrap
  30071. msgid "@code{modem-manager} (default: @code{modem-manager})"
  30072. msgstr ""
  30073. #. type: table
  30074. #: guix-git/doc/guix.texi:20254
  30075. msgid "The ModemManager package to use."
  30076. msgstr ""
  30077. #. type: cindex
  30078. #: guix-git/doc/guix.texi:20258
  30079. #, no-wrap
  30080. msgid "USB_ModeSwitch"
  30081. msgstr ""
  30082. #. type: cindex
  30083. #: guix-git/doc/guix.texi:20259
  30084. #, no-wrap
  30085. msgid "Modeswitching"
  30086. msgstr ""
  30087. #. type: defvar
  30088. #: guix-git/doc/guix.texi:20261
  30089. #, fuzzy, no-wrap
  30090. #| msgid "guix-publish-service-type"
  30091. msgid "usb-modeswitch-service-type"
  30092. msgstr "guix-publish-service-type"
  30093. #. type: defvar
  30094. #: guix-git/doc/guix.texi:20266
  30095. msgid "This is the service type for the @uref{https://www.draisberghof.de/usb_modeswitch/, USB_ModeSwitch} service. The value for this service type is a @code{usb-modeswitch-configuration} record."
  30096. msgstr ""
  30097. #. type: defvar
  30098. #: guix-git/doc/guix.texi:20272
  30099. msgid "When plugged in, some USB modems (and other USB devices) initially present themselves as a read-only storage medium and not as a modem. They need to be @dfn{modeswitched} before they are usable. The USB_ModeSwitch service type installs udev rules to automatically modeswitch these devices when they are plugged in."
  30100. msgstr ""
  30101. #. type: deftp
  30102. #: guix-git/doc/guix.texi:20277
  30103. #, no-wrap
  30104. msgid "{Data Type} usb-modeswitch-configuration"
  30105. msgstr ""
  30106. #. type: deftp
  30107. #: guix-git/doc/guix.texi:20279
  30108. msgid "Data type representing the configuration of USB_ModeSwitch."
  30109. msgstr ""
  30110. #. type: item
  30111. #: guix-git/doc/guix.texi:20281
  30112. #, no-wrap
  30113. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  30114. msgstr ""
  30115. #. type: table
  30116. #: guix-git/doc/guix.texi:20283
  30117. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  30118. msgstr ""
  30119. #. type: item
  30120. #: guix-git/doc/guix.texi:20284
  30121. #, no-wrap
  30122. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  30123. msgstr ""
  30124. #. type: table
  30125. #: guix-git/doc/guix.texi:20287
  30126. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  30127. msgstr ""
  30128. #. type: item
  30129. #: guix-git/doc/guix.texi:20288
  30130. #, no-wrap
  30131. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  30132. msgstr ""
  30133. #. type: table
  30134. #: guix-git/doc/guix.texi:20293
  30135. msgid "Which config file to use for the USB_ModeSwitch dispatcher. By default the config file shipped with USB_ModeSwitch is used which disables logging to @file{/var/log} among other default settings. If set to @code{#f}, no config file is used."
  30136. msgstr ""
  30137. #. type: Plain text
  30138. #: guix-git/doc/guix.texi:20307
  30139. msgid "The @code{(gnu services networking)} module discussed in the previous section provides services for more advanced setups: providing a DHCP service for others to use, filtering packets with iptables or nftables, running a WiFi access point with @command{hostapd}, running the @command{inetd} ``superdaemon'', and more. This section describes those."
  30140. msgstr ""
  30141. #. type: defvar
  30142. #: guix-git/doc/guix.texi:20308
  30143. #, fuzzy, no-wrap
  30144. #| msgid "guix-publish-service-type"
  30145. msgid "dhcpd-service-type"
  30146. msgstr "guix-publish-service-type"
  30147. #. type: defvar
  30148. #: guix-git/doc/guix.texi:20312
  30149. msgid "This type defines a service that runs a DHCP daemon. To create a service of this type, you must supply a @code{<dhcpd-configuration>}. For example:"
  30150. msgstr ""
  30151. #. type: lisp
  30152. #: guix-git/doc/guix.texi:20318
  30153. #, no-wrap
  30154. msgid ""
  30155. "(service dhcpd-service-type\n"
  30156. " (dhcpd-configuration\n"
  30157. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  30158. " (interfaces '(\"enp0s25\"))))\n"
  30159. msgstr ""
  30160. #. type: deftp
  30161. #: guix-git/doc/guix.texi:20321
  30162. #, no-wrap
  30163. msgid "{Data Type} dhcpd-configuration"
  30164. msgstr ""
  30165. #. type: table
  30166. #: guix-git/doc/guix.texi:20328
  30167. msgid "The package that provides the DHCP daemon. This package is expected to provide the daemon at @file{sbin/dhcpd} relative to its output directory. The default package is the @uref{https://www.isc.org/dhcp/, ISC's DHCP server}."
  30168. msgstr ""
  30169. #. type: table
  30170. #: guix-git/doc/guix.texi:20333
  30171. msgid "The configuration file to use. This is required. It will be passed to @code{dhcpd} via its @code{-cf} option. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects}). See @code{man dhcpd.conf} for details on the configuration file syntax."
  30172. msgstr ""
  30173. #. type: item
  30174. #: guix-git/doc/guix.texi:20333
  30175. #, no-wrap
  30176. msgid "@code{version} (default: @code{\"4\"})"
  30177. msgstr ""
  30178. #. type: table
  30179. #: guix-git/doc/guix.texi:20338
  30180. msgid "The DHCP version to use. The ISC DHCP server supports the values ``4'', ``6'', and ``4o6''. These correspond to the @code{dhcpd} program options @code{-4}, @code{-6}, and @code{-4o6}. See @code{man dhcpd} for details."
  30181. msgstr ""
  30182. #. type: item
  30183. #: guix-git/doc/guix.texi:20338
  30184. #, no-wrap
  30185. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  30186. msgstr ""
  30187. #. type: table
  30188. #: guix-git/doc/guix.texi:20341
  30189. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  30190. msgstr ""
  30191. #. type: item
  30192. #: guix-git/doc/guix.texi:20341
  30193. #, no-wrap
  30194. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  30195. msgstr ""
  30196. #. type: table
  30197. #: guix-git/doc/guix.texi:20344
  30198. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  30199. msgstr ""
  30200. #. type: item
  30201. #: guix-git/doc/guix.texi:20344
  30202. #, no-wrap
  30203. msgid "@code{interfaces} (default: @code{'()})"
  30204. msgstr ""
  30205. #. type: table
  30206. #: guix-git/doc/guix.texi:20350
  30207. msgid "The names of the network interfaces on which dhcpd should listen for broadcasts. If this list is not empty, then its elements (which must be strings) will be appended to the @code{dhcpd} invocation when starting the daemon. It may not be necessary to explicitly specify any interfaces here; see @code{man dhcpd} for details."
  30208. msgstr ""
  30209. #. type: cindex
  30210. #: guix-git/doc/guix.texi:20353
  30211. #, no-wrap
  30212. msgid "hostapd service, for Wi-Fi access points"
  30213. msgstr ""
  30214. #. type: cindex
  30215. #: guix-git/doc/guix.texi:20354
  30216. #, no-wrap
  30217. msgid "Wi-Fi access points, hostapd service"
  30218. msgstr ""
  30219. #. type: defvar
  30220. #: guix-git/doc/guix.texi:20355
  30221. #, fuzzy, no-wrap
  30222. #| msgid "guix-publish-service-type"
  30223. msgid "hostapd-service-type"
  30224. msgstr "guix-publish-service-type"
  30225. #. type: defvar
  30226. #: guix-git/doc/guix.texi:20360
  30227. msgid "This is the service type to run the @uref{https://w1.fi/hostapd/, hostapd} daemon to set up WiFi (IEEE 802.11) access points and authentication servers. Its associated value must be a @code{hostapd-configuration} as shown below:"
  30228. msgstr ""
  30229. #. type: lisp
  30230. #: guix-git/doc/guix.texi:20368
  30231. #, no-wrap
  30232. msgid ""
  30233. ";; Use wlan1 to run the access point for \"My Network\".\n"
  30234. "(service hostapd-service-type\n"
  30235. " (hostapd-configuration\n"
  30236. " (interface \"wlan1\")\n"
  30237. " (ssid \"My Network\")\n"
  30238. " (channel 12)))\n"
  30239. msgstr ""
  30240. #. type: deftp
  30241. #: guix-git/doc/guix.texi:20371
  30242. #, no-wrap
  30243. msgid "{Data Type} hostapd-configuration"
  30244. msgstr ""
  30245. #. type: deftp
  30246. #: guix-git/doc/guix.texi:20374
  30247. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  30248. msgstr ""
  30249. #. type: item
  30250. #: guix-git/doc/guix.texi:20376
  30251. #, no-wrap
  30252. msgid "@code{package} (default: @code{hostapd})"
  30253. msgstr ""
  30254. #. type: table
  30255. #: guix-git/doc/guix.texi:20378
  30256. msgid "The hostapd package to use."
  30257. msgstr ""
  30258. #. type: item
  30259. #: guix-git/doc/guix.texi:20379
  30260. #, no-wrap
  30261. msgid "@code{interface} (default: @code{\"wlan0\"})"
  30262. msgstr ""
  30263. #. type: table
  30264. #: guix-git/doc/guix.texi:20381
  30265. msgid "The network interface to run the WiFi access point."
  30266. msgstr ""
  30267. #. type: code{#1}
  30268. #: guix-git/doc/guix.texi:20382
  30269. #, no-wrap
  30270. msgid "ssid"
  30271. msgstr ""
  30272. #. type: table
  30273. #: guix-git/doc/guix.texi:20385
  30274. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  30275. msgstr ""
  30276. #. type: item
  30277. #: guix-git/doc/guix.texi:20386
  30278. #, no-wrap
  30279. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  30280. msgstr ""
  30281. #. type: table
  30282. #: guix-git/doc/guix.texi:20388
  30283. msgid "Whether to broadcast this SSID."
  30284. msgstr ""
  30285. #. type: item
  30286. #: guix-git/doc/guix.texi:20389
  30287. #, no-wrap
  30288. msgid "@code{channel} (default: @code{1})"
  30289. msgstr ""
  30290. #. type: table
  30291. #: guix-git/doc/guix.texi:20391
  30292. msgid "The WiFi channel to use."
  30293. msgstr ""
  30294. #. type: item
  30295. #: guix-git/doc/guix.texi:20392
  30296. #, no-wrap
  30297. msgid "@code{driver} (default: @code{\"nl80211\"})"
  30298. msgstr ""
  30299. #. type: table
  30300. #: guix-git/doc/guix.texi:20396
  30301. msgid "The driver interface type. @code{\"nl80211\"} is used with all Linux mac80211 drivers. Use @code{\"none\"} if building hostapd as a standalone RADIUS server that does # not control any wireless/wired driver."
  30302. msgstr ""
  30303. #. type: item
  30304. #: guix-git/doc/guix.texi:20397 guix-git/doc/guix.texi:27320
  30305. #: guix-git/doc/guix.texi:30759
  30306. #, no-wrap
  30307. msgid "@code{extra-settings} (default: @code{\"\"})"
  30308. msgstr ""
  30309. #. type: table
  30310. #: guix-git/doc/guix.texi:20401
  30311. msgid "Extra settings to append as-is to the hostapd configuration file. See @uref{https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf} for the configuration file reference."
  30312. msgstr ""
  30313. #. type: defvar
  30314. #: guix-git/doc/guix.texi:20404
  30315. #, fuzzy, no-wrap
  30316. #| msgid "guix-publish-service-type"
  30317. msgid "simulated-wifi-service-type"
  30318. msgstr "guix-publish-service-type"
  30319. #. type: defvar
  30320. #: guix-git/doc/guix.texi:20411
  30321. msgid "This is the type of a service to simulate WiFi networking, which can be useful in virtual machines for testing purposes. The service loads the Linux kernel @uref{https://www.kernel.org/doc/html/latest/networking/mac80211_hwsim/mac80211_hwsim.html, @code{mac80211_hwsim} module} and starts hostapd to create a pseudo WiFi network that can be seen on @code{wlan0}, by default."
  30322. msgstr ""
  30323. #. type: defvar
  30324. #: guix-git/doc/guix.texi:20413
  30325. msgid "The service's value is a @code{hostapd-configuration} record."
  30326. msgstr ""
  30327. #. type: cindex
  30328. #: guix-git/doc/guix.texi:20416
  30329. #, no-wrap
  30330. msgid "iptables"
  30331. msgstr ""
  30332. #. type: defvar
  30333. #: guix-git/doc/guix.texi:20417
  30334. #, fuzzy, no-wrap
  30335. #| msgid "guix-publish-service-type"
  30336. msgid "iptables-service-type"
  30337. msgstr "guix-publish-service-type"
  30338. #. type: defvar
  30339. #: guix-git/doc/guix.texi:20423
  30340. msgid "This is the service type to set up an iptables configuration. iptables is a packet filtering framework supported by the Linux kernel. This service supports configuring iptables for both IPv4 and IPv6. A simple example configuration rejecting all incoming connections except those to the ssh port 22 is shown below."
  30341. msgstr ""
  30342. #. type: lisp
  30343. #: guix-git/doc/guix.texi:20445
  30344. #, no-wrap
  30345. msgid ""
  30346. "(service iptables-service-type\n"
  30347. " (iptables-configuration\n"
  30348. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  30349. ":INPUT ACCEPT\n"
  30350. ":FORWARD ACCEPT\n"
  30351. ":OUTPUT ACCEPT\n"
  30352. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  30353. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  30354. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  30355. "COMMIT\n"
  30356. "\"))\n"
  30357. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  30358. ":INPUT ACCEPT\n"
  30359. ":FORWARD ACCEPT\n"
  30360. ":OUTPUT ACCEPT\n"
  30361. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  30362. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  30363. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  30364. "COMMIT\n"
  30365. "\"))))\n"
  30366. msgstr ""
  30367. #. type: deftp
  30368. #: guix-git/doc/guix.texi:20448
  30369. #, no-wrap
  30370. msgid "{Data Type} iptables-configuration"
  30371. msgstr ""
  30372. #. type: deftp
  30373. #: guix-git/doc/guix.texi:20450
  30374. msgid "The data type representing the configuration of iptables."
  30375. msgstr ""
  30376. #. type: item
  30377. #: guix-git/doc/guix.texi:20452
  30378. #, no-wrap
  30379. msgid "@code{iptables} (default: @code{iptables})"
  30380. msgstr ""
  30381. #. type: table
  30382. #: guix-git/doc/guix.texi:20455
  30383. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  30384. msgstr ""
  30385. #. type: item
  30386. #: guix-git/doc/guix.texi:20455
  30387. #, no-wrap
  30388. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  30389. msgstr ""
  30390. #. type: table
  30391. #: guix-git/doc/guix.texi:20459
  30392. msgid "The iptables rules to use. It will be passed to @code{iptables-restore}. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  30393. msgstr ""
  30394. #. type: item
  30395. #: guix-git/doc/guix.texi:20459
  30396. #, no-wrap
  30397. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  30398. msgstr ""
  30399. #. type: table
  30400. #: guix-git/doc/guix.texi:20463
  30401. msgid "The ip6tables rules to use. It will be passed to @code{ip6tables-restore}. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  30402. msgstr ""
  30403. #. type: cindex
  30404. #: guix-git/doc/guix.texi:20466
  30405. #, no-wrap
  30406. msgid "nftables"
  30407. msgstr ""
  30408. #. type: defvar
  30409. #: guix-git/doc/guix.texi:20467
  30410. #, fuzzy, no-wrap
  30411. #| msgid "guix-publish-service-type"
  30412. msgid "nftables-service-type"
  30413. msgstr "guix-publish-service-type"
  30414. #. type: defvar
  30415. #: guix-git/doc/guix.texi:20475
  30416. msgid "This is the service type to set up a nftables configuration. nftables is a netfilter project that aims to replace the existing iptables, ip6tables, arptables and ebtables framework. It provides a new packet filtering framework, a new user-space utility @command{nft}, and a compatibility layer for iptables. This service comes with a default ruleset @code{%default-nftables-ruleset} that rejecting all incoming connections except those to the ssh port 22. To use it, simply write:"
  30417. msgstr ""
  30418. #. type: lisp
  30419. #: guix-git/doc/guix.texi:20478
  30420. #, no-wrap
  30421. msgid "(service nftables-service-type)\n"
  30422. msgstr ""
  30423. #. type: deftp
  30424. #: guix-git/doc/guix.texi:20481
  30425. #, no-wrap
  30426. msgid "{Data Type} nftables-configuration"
  30427. msgstr ""
  30428. #. type: deftp
  30429. #: guix-git/doc/guix.texi:20483
  30430. msgid "The data type representing the configuration of nftables."
  30431. msgstr ""
  30432. #. type: item
  30433. #: guix-git/doc/guix.texi:20485
  30434. #, no-wrap
  30435. msgid "@code{package} (default: @code{nftables})"
  30436. msgstr ""
  30437. #. type: table
  30438. #: guix-git/doc/guix.texi:20487
  30439. msgid "The nftables package that provides @command{nft}."
  30440. msgstr ""
  30441. #. type: item
  30442. #: guix-git/doc/guix.texi:20487
  30443. #, no-wrap
  30444. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  30445. msgstr ""
  30446. #. type: table
  30447. #: guix-git/doc/guix.texi:20490
  30448. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  30449. msgstr ""
  30450. #. type: cindex
  30451. #: guix-git/doc/guix.texi:20493
  30452. #, no-wrap
  30453. msgid "NTP (Network Time Protocol), service"
  30454. msgstr ""
  30455. #. type: cindex
  30456. #: guix-git/doc/guix.texi:20494
  30457. #, no-wrap
  30458. msgid "ntpd, service for the Network Time Protocol daemon"
  30459. msgstr ""
  30460. #. type: cindex
  30461. #: guix-git/doc/guix.texi:20495
  30462. #, no-wrap
  30463. msgid "real time clock"
  30464. msgstr ""
  30465. #. type: defvar
  30466. #: guix-git/doc/guix.texi:20496
  30467. #, fuzzy, no-wrap
  30468. #| msgid "guix-publish-service-type"
  30469. msgid "ntp-service-type"
  30470. msgstr "guix-publish-service-type"
  30471. #. type: defvar
  30472. #: guix-git/doc/guix.texi:20500
  30473. msgid "This is the type of the service running the @uref{https://www.ntp.org, Network Time Protocol (NTP)} daemon, @command{ntpd}. The daemon will keep the system clock synchronized with that of the specified NTP servers."
  30474. msgstr ""
  30475. #. type: defvar
  30476. #: guix-git/doc/guix.texi:20503
  30477. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  30478. msgstr ""
  30479. #. type: deftp
  30480. #: guix-git/doc/guix.texi:20505
  30481. #, no-wrap
  30482. msgid "{Data Type} ntp-configuration"
  30483. msgstr ""
  30484. #. type: deftp
  30485. #: guix-git/doc/guix.texi:20507
  30486. msgid "This is the data type for the NTP service configuration."
  30487. msgstr ""
  30488. #. type: item
  30489. #: guix-git/doc/guix.texi:20509
  30490. #, no-wrap
  30491. msgid "@code{servers} (default: @code{%ntp-servers})"
  30492. msgstr ""
  30493. #. type: table
  30494. #: guix-git/doc/guix.texi:20513
  30495. msgid "This is the list of servers (@code{<ntp-server>} records) with which @command{ntpd} will be synchronized. See the @code{ntp-server} data type definition below."
  30496. msgstr ""
  30497. #. type: item
  30498. #: guix-git/doc/guix.texi:20514
  30499. #, no-wrap
  30500. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  30501. msgstr ""
  30502. #. type: table
  30503. #: guix-git/doc/guix.texi:20517
  30504. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  30505. msgstr ""
  30506. #. type: item
  30507. #: guix-git/doc/guix.texi:20518
  30508. #, no-wrap
  30509. msgid "@code{ntp} (default: @code{ntp})"
  30510. msgstr ""
  30511. #. type: table
  30512. #: guix-git/doc/guix.texi:20520
  30513. msgid "The NTP package to use."
  30514. msgstr ""
  30515. #. type: defvar
  30516. #: guix-git/doc/guix.texi:20523
  30517. #, no-wrap
  30518. msgid "%ntp-servers"
  30519. msgstr ""
  30520. #. type: defvar
  30521. #: guix-git/doc/guix.texi:20526
  30522. msgid "List of host names used as the default NTP servers. These are servers of the @uref{https://www.ntppool.org/en/, NTP Pool Project}."
  30523. msgstr ""
  30524. #. type: deftp
  30525. #: guix-git/doc/guix.texi:20528
  30526. #, no-wrap
  30527. msgid "{Data Type} ntp-server"
  30528. msgstr ""
  30529. #. type: deftp
  30530. #: guix-git/doc/guix.texi:20530
  30531. msgid "The data type representing the configuration of a NTP server."
  30532. msgstr ""
  30533. #. type: item
  30534. #: guix-git/doc/guix.texi:20532
  30535. #, no-wrap
  30536. msgid "@code{type} (default: @code{'server})"
  30537. msgstr ""
  30538. #. type: table
  30539. #: guix-git/doc/guix.texi:20535
  30540. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  30541. msgstr ""
  30542. #. type: code{#1}
  30543. #: guix-git/doc/guix.texi:20536
  30544. #, no-wrap
  30545. msgid "address"
  30546. msgstr ""
  30547. #. type: table
  30548. #: guix-git/doc/guix.texi:20538
  30549. msgid "The address of the server, as a string."
  30550. msgstr ""
  30551. #. type: code{#1}
  30552. #: guix-git/doc/guix.texi:20539 guix-git/doc/guix.texi:38465
  30553. #: guix-git/doc/guix.texi:38485
  30554. #, no-wrap
  30555. msgid "options"
  30556. msgstr ""
  30557. #. type: table
  30558. #: guix-git/doc/guix.texi:20544
  30559. msgid "NTPD options to use with that specific server, given as a list of option names and/or of option names and values tuples. The following example define a server to use with the options @option{iburst} and @option{prefer}, as well as @option{version} 3 and a @option{maxpoll} time of 16 seconds."
  30560. msgstr ""
  30561. #. type: example
  30562. #: guix-git/doc/guix.texi:20550
  30563. #, no-wrap
  30564. msgid ""
  30565. "(ntp-server\n"
  30566. " (type 'server)\n"
  30567. " (address \"some.ntp.server.org\")\n"
  30568. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  30569. msgstr ""
  30570. #. type: cindex
  30571. #: guix-git/doc/guix.texi:20554
  30572. #, no-wrap
  30573. msgid "OpenNTPD"
  30574. msgstr ""
  30575. #. type: defvar
  30576. #: guix-git/doc/guix.texi:20555
  30577. #, fuzzy, no-wrap
  30578. #| msgid "guix-publish-service-type"
  30579. msgid "openntpd-service-type"
  30580. msgstr "guix-publish-service-type"
  30581. #. type: defvar
  30582. #: guix-git/doc/guix.texi:20559
  30583. msgid "Run the @command{ntpd}, the Network Time Protocol (NTP) daemon, as implemented by @uref{http://www.openntpd.org, OpenNTPD}. The daemon will keep the system clock synchronized with that of the given servers."
  30584. msgstr ""
  30585. #. type: lisp
  30586. #: guix-git/doc/guix.texi:20568
  30587. #, no-wrap
  30588. msgid ""
  30589. "(service\n"
  30590. " openntpd-service-type\n"
  30591. " (openntpd-configuration\n"
  30592. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  30593. " (sensor '(\"udcf0 correction 70000\"))\n"
  30594. " (constraint-from '(\"www.gnu.org\"))\n"
  30595. " (constraints-from '(\"https://www.google.com/\"))))\n"
  30596. "\n"
  30597. msgstr ""
  30598. #. type: defvar
  30599. #: guix-git/doc/guix.texi:20572
  30600. #, no-wrap
  30601. msgid "%openntpd-servers"
  30602. msgstr ""
  30603. #. type: defvar
  30604. #: guix-git/doc/guix.texi:20575
  30605. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  30606. msgstr ""
  30607. #. type: deftp
  30608. #: guix-git/doc/guix.texi:20577
  30609. #, no-wrap
  30610. msgid "{Data Type} openntpd-configuration"
  30611. msgstr ""
  30612. #. type: item
  30613. #: guix-git/doc/guix.texi:20579
  30614. #, fuzzy, no-wrap
  30615. #| msgid "@code{shared?} (default: @code{#t})"
  30616. msgid "@code{openntpd} (default: @code{openntpd})"
  30617. msgstr "@code{shared?} (padrão: @code{#t})"
  30618. #. type: table
  30619. #: guix-git/doc/guix.texi:20581
  30620. #, fuzzy
  30621. #| msgid "The GPM package to use."
  30622. msgid "The openntpd package to use."
  30623. msgstr "O pacote GPM a ser usado."
  30624. #. type: item
  30625. #: guix-git/doc/guix.texi:20581
  30626. #, no-wrap
  30627. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  30628. msgstr ""
  30629. #. type: table
  30630. #: guix-git/doc/guix.texi:20583
  30631. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  30632. msgstr ""
  30633. #. type: item
  30634. #: guix-git/doc/guix.texi:20583
  30635. #, no-wrap
  30636. msgid "@code{query-from} (default: @code{'()})"
  30637. msgstr ""
  30638. #. type: table
  30639. #: guix-git/doc/guix.texi:20585
  30640. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  30641. msgstr ""
  30642. #. type: item
  30643. #: guix-git/doc/guix.texi:20585
  30644. #, no-wrap
  30645. msgid "@code{sensor} (default: @code{'()})"
  30646. msgstr ""
  30647. #. type: table
  30648. #: guix-git/doc/guix.texi:20590
  30649. msgid "Specify a list of timedelta sensor devices ntpd should use. @code{ntpd} will listen to each sensor that actually exists and ignore non-existent ones. See @uref{https://man.openbsd.org/ntpd.conf, upstream documentation} for more information."
  30650. msgstr ""
  30651. #. type: item
  30652. #: guix-git/doc/guix.texi:20590
  30653. #, no-wrap
  30654. msgid "@code{server} (default: @code{'()})"
  30655. msgstr ""
  30656. #. type: table
  30657. #: guix-git/doc/guix.texi:20592
  30658. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  30659. msgstr ""
  30660. #. type: item
  30661. #: guix-git/doc/guix.texi:20592
  30662. #, no-wrap
  30663. msgid "@code{servers} (default: @code{%openntp-servers})"
  30664. msgstr ""
  30665. #. type: table
  30666. #: guix-git/doc/guix.texi:20594
  30667. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  30668. msgstr ""
  30669. #. type: item
  30670. #: guix-git/doc/guix.texi:20594
  30671. #, no-wrap
  30672. msgid "@code{constraint-from} (default: @code{'()})"
  30673. msgstr ""
  30674. #. type: table
  30675. #: guix-git/doc/guix.texi:20601
  30676. msgid "@code{ntpd} can be configured to query the ‘Date’ from trusted HTTPS servers via TLS. This time information is not used for precision but acts as an authenticated constraint, thereby reducing the impact of unauthenticated NTP man-in-the-middle attacks. Specify a list of URLs, IP addresses or hostnames of HTTPS servers to provide a constraint."
  30677. msgstr ""
  30678. #. type: item
  30679. #: guix-git/doc/guix.texi:20601
  30680. #, no-wrap
  30681. msgid "@code{constraints-from} (default: @code{'()})"
  30682. msgstr ""
  30683. #. type: table
  30684. #: guix-git/doc/guix.texi:20605
  30685. msgid "As with constraint from, specify a list of URLs, IP addresses or hostnames of HTTPS servers to provide a constraint. Should the hostname resolve to multiple IP addresses, @code{ntpd} will calculate a median constraint from all of them."
  30686. msgstr ""
  30687. #. type: cindex
  30688. #: guix-git/doc/guix.texi:20608
  30689. #, no-wrap
  30690. msgid "inetd"
  30691. msgstr ""
  30692. #. type: defvar
  30693. #: guix-git/doc/guix.texi:20609
  30694. #, fuzzy, no-wrap
  30695. #| msgid "guix-publish-service-type"
  30696. msgid "inetd-service-type"
  30697. msgstr "guix-publish-service-type"
  30698. #. type: defvar
  30699. #: guix-git/doc/guix.texi:20614
  30700. msgid "This service runs the @command{inetd} (@pxref{inetd invocation,,, inetutils, GNU Inetutils}) daemon. @command{inetd} listens for connections on internet sockets, and lazily starts the specified server program when a connection is made on one of these sockets."
  30701. msgstr ""
  30702. #. type: defvar
  30703. #: guix-git/doc/guix.texi:20620
  30704. msgid "The value of this service is an @code{inetd-configuration} object. The following example configures the @command{inetd} daemon to provide the built-in @command{echo} service, as well as an smtp service which forwards smtp traffic over ssh to a server @code{smtp-server} behind a gateway @code{hostname}:"
  30705. msgstr ""
  30706. #. type: lisp
  30707. #: guix-git/doc/guix.texi:20643
  30708. #, no-wrap
  30709. msgid ""
  30710. "(service\n"
  30711. " inetd-service-type\n"
  30712. " (inetd-configuration\n"
  30713. " (entries (list\n"
  30714. " (inetd-entry\n"
  30715. " (name \"echo\")\n"
  30716. " (socket-type 'stream)\n"
  30717. " (protocol \"tcp\")\n"
  30718. " (wait? #f)\n"
  30719. " (user \"root\"))\n"
  30720. " (inetd-entry\n"
  30721. " (node \"127.0.0.1\")\n"
  30722. " (name \"smtp\")\n"
  30723. " (socket-type 'stream)\n"
  30724. " (protocol \"tcp\")\n"
  30725. " (wait? #f)\n"
  30726. " (user \"root\")\n"
  30727. " (program (file-append openssh \"/bin/ssh\"))\n"
  30728. " (arguments\n"
  30729. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  30730. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  30731. msgstr ""
  30732. #. type: defvar
  30733. #: guix-git/doc/guix.texi:20646
  30734. msgid "See below for more details about @code{inetd-configuration}."
  30735. msgstr ""
  30736. #. type: deftp
  30737. #: guix-git/doc/guix.texi:20648
  30738. #, no-wrap
  30739. msgid "{Data Type} inetd-configuration"
  30740. msgstr ""
  30741. #. type: deftp
  30742. #: guix-git/doc/guix.texi:20650
  30743. msgid "Data type representing the configuration of @command{inetd}."
  30744. msgstr ""
  30745. #. type: item
  30746. #: guix-git/doc/guix.texi:20652
  30747. #, no-wrap
  30748. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  30749. msgstr ""
  30750. #. type: table
  30751. #: guix-git/doc/guix.texi:20654
  30752. msgid "The @command{inetd} executable to use."
  30753. msgstr ""
  30754. #. type: item
  30755. #: guix-git/doc/guix.texi:20655 guix-git/doc/guix.texi:31607
  30756. #, no-wrap
  30757. msgid "@code{entries} (default: @code{'()})"
  30758. msgstr ""
  30759. #. type: table
  30760. #: guix-git/doc/guix.texi:20658
  30761. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  30762. msgstr ""
  30763. #. type: deftp
  30764. #: guix-git/doc/guix.texi:20661
  30765. #, no-wrap
  30766. msgid "{Data Type} inetd-entry"
  30767. msgstr ""
  30768. #. type: deftp
  30769. #: guix-git/doc/guix.texi:20665
  30770. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  30771. msgstr ""
  30772. #. type: item
  30773. #: guix-git/doc/guix.texi:20667
  30774. #, no-wrap
  30775. msgid "@code{node} (default: @code{#f})"
  30776. msgstr "@code{node} (default: @code{#f})"
  30777. #. type: table
  30778. #: guix-git/doc/guix.texi:20672
  30779. msgid "Optional string, a comma-separated list of local addresses @command{inetd} should use when listening for this service. @xref{Configuration file,,, inetutils, GNU Inetutils} for a complete description of all options."
  30780. msgstr ""
  30781. #. type: table
  30782. #: guix-git/doc/guix.texi:20674
  30783. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  30784. msgstr ""
  30785. #. type: code{#1}
  30786. #: guix-git/doc/guix.texi:20674
  30787. #, no-wrap
  30788. msgid "socket-type"
  30789. msgstr ""
  30790. #. type: table
  30791. #: guix-git/doc/guix.texi:20677
  30792. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  30793. msgstr ""
  30794. #. type: code{#1}
  30795. #: guix-git/doc/guix.texi:20677
  30796. #, no-wrap
  30797. msgid "protocol"
  30798. msgstr ""
  30799. #. type: table
  30800. #: guix-git/doc/guix.texi:20679
  30801. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  30802. msgstr ""
  30803. #. type: item
  30804. #: guix-git/doc/guix.texi:20679
  30805. #, no-wrap
  30806. msgid "@code{wait?} (default: @code{#t})"
  30807. msgstr "@code{wait?} (padrão: @code{#t})"
  30808. #. type: table
  30809. #: guix-git/doc/guix.texi:20682
  30810. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  30811. msgstr ""
  30812. #. type: table
  30813. #: guix-git/doc/guix.texi:20687
  30814. msgid "A string containing the user (and, optionally, group) name of the user as whom the server should run. The group name can be specified in a suffix, separated by a colon or period, i.e.@: @code{\"user\"}, @code{\"user:group\"} or @code{\"user.group\"}."
  30815. msgstr ""
  30816. #. type: item
  30817. #: guix-git/doc/guix.texi:20687
  30818. #, no-wrap
  30819. msgid "@code{program} (default: @code{\"internal\"})"
  30820. msgstr ""
  30821. #. type: table
  30822. #: guix-git/doc/guix.texi:20690
  30823. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  30824. msgstr ""
  30825. #. type: table
  30826. #: guix-git/doc/guix.texi:20695
  30827. msgid "A list strings or file-like objects, which are the server program's arguments, starting with the zeroth argument, i.e.@: the name of the program itself. For @command{inetd}'s internal services, this entry must be @code{'()} or @code{'(\"internal\")}."
  30828. msgstr ""
  30829. #. type: deftp
  30830. #: guix-git/doc/guix.texi:20699
  30831. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  30832. msgstr ""
  30833. #. type: cindex
  30834. #: guix-git/doc/guix.texi:20701
  30835. #, no-wrap
  30836. msgid "opendht, distributed hash table network service"
  30837. msgstr ""
  30838. #. type: cindex
  30839. #: guix-git/doc/guix.texi:20702
  30840. #, no-wrap
  30841. msgid "dhtproxy, for use with jami"
  30842. msgstr ""
  30843. #. type: defvar
  30844. #: guix-git/doc/guix.texi:20703
  30845. #, fuzzy, no-wrap
  30846. #| msgid "guix-publish-service-type"
  30847. msgid "opendht-service-type"
  30848. msgstr "guix-publish-service-type"
  30849. #. type: defvar
  30850. #: guix-git/doc/guix.texi:20708
  30851. msgid "This is the type of the service running a @uref{https://opendht.net, OpenDHT} node, @command{dhtnode}. The daemon can be used to host your own proxy service to the distributed hash table (DHT), for example to connect to with Jami, among other applications."
  30852. msgstr ""
  30853. #. type: quotation
  30854. #: guix-git/doc/guix.texi:20718
  30855. msgid "When using the OpenDHT proxy server, the IP addresses it ``sees'' from the clients should be addresses reachable from other peers. In practice this means that a publicly reachable address is best suited for a proxy server, outside of your private network. For example, hosting the proxy server on a IPv4 private local network and exposing it via port forwarding could work for external peers, but peers local to the proxy would have their private addresses shared with the external peers, leading to connectivity problems."
  30856. msgstr ""
  30857. #. type: defvar
  30858. #: guix-git/doc/guix.texi:20722
  30859. msgid "The value of this service is a @code{opendht-configuration} object, as described below."
  30860. msgstr ""
  30861. #. type: deftp
  30862. #: guix-git/doc/guix.texi:20727
  30863. #, fuzzy, no-wrap
  30864. msgid "{Data Type} opendht-configuration"
  30865. msgstr "build-machine {Data Type}"
  30866. #. type: deftp
  30867. #: guix-git/doc/guix.texi:20729
  30868. msgid "Available @code{opendht-configuration} fields are:"
  30869. msgstr ""
  30870. #. type: item
  30871. #: guix-git/doc/guix.texi:20731
  30872. #, fuzzy, no-wrap
  30873. #| msgid "@code{dbus?} (default: @code{#t})"
  30874. msgid "@code{opendht} (default: @code{opendht}) (type: file-like)"
  30875. msgstr "@code{dbus?} (padrão: @code{#t})"
  30876. #. type: table
  30877. #: guix-git/doc/guix.texi:20733
  30878. #, fuzzy
  30879. #| msgid "The GPM package to use."
  30880. msgid "The @code{opendht} package to use."
  30881. msgstr "O pacote GPM a ser usado."
  30882. #. type: item
  30883. #: guix-git/doc/guix.texi:20734
  30884. #, fuzzy, no-wrap
  30885. #| msgid "@code{debug?} (default: @code{#f})"
  30886. msgid "@code{peer-discovery?} (default: @code{#f}) (type: boolean)"
  30887. msgstr "@code{debug?} (default: @code{#f})"
  30888. #. type: table
  30889. #: guix-git/doc/guix.texi:20736
  30890. msgid "Whether to enable the multicast local peer discovery mechanism."
  30891. msgstr ""
  30892. #. type: item
  30893. #: guix-git/doc/guix.texi:20737
  30894. #, fuzzy, no-wrap
  30895. #| msgid "@code{wait?} (default: @code{#t})"
  30896. msgid "@code{enable-logging?} (default: @code{#f}) (type: boolean)"
  30897. msgstr "@code{wait?} (padrão: @code{#t})"
  30898. #. type: table
  30899. #: guix-git/doc/guix.texi:20740
  30900. msgid "Whether to enable logging messages to syslog. It is disabled by default as it is rather verbose."
  30901. msgstr ""
  30902. #. type: item
  30903. #: guix-git/doc/guix.texi:20741 guix-git/doc/guix.texi:22277
  30904. #: guix-git/doc/guix.texi:27518
  30905. #, fuzzy, no-wrap
  30906. #| msgid "@code{debug?} (default: @code{#f})"
  30907. msgid "@code{debug?} (default: @code{#f}) (type: boolean)"
  30908. msgstr "@code{debug?} (default: @code{#f})"
  30909. #. type: table
  30910. #: guix-git/doc/guix.texi:20744
  30911. msgid "Whether to enable debug-level logging messages. This has no effect if logging is disabled."
  30912. msgstr ""
  30913. #. type: item
  30914. #: guix-git/doc/guix.texi:20745
  30915. #, fuzzy, no-wrap
  30916. #| msgid "@code{dbus?} (default: @code{#t})"
  30917. msgid "@code{bootstrap-host} (default: @code{\"bootstrap.jami.net:4222\"}) (type: maybe-string)"
  30918. msgstr "@code{dbus?} (padrão: @code{#t})"
  30919. #. type: table
  30920. #: guix-git/doc/guix.texi:20752
  30921. msgid "The node host name that is used to make the first connection to the network. A specific port value can be provided by appending the @code{:PORT} suffix. By default, it uses the Jami bootstrap nodes, but any host can be specified here. It's also possible to disable bootstrapping by explicitly setting this field to the @code{%unset-value} value."
  30922. msgstr ""
  30923. #. type: item
  30924. #: guix-git/doc/guix.texi:20753
  30925. #, fuzzy, no-wrap
  30926. #| msgid "@code{debug?} (default: @code{#f})"
  30927. msgid "@code{port} (default: @code{4222}) (type: maybe-number)"
  30928. msgstr "@code{debug?} (default: @code{#f})"
  30929. #. type: table
  30930. #: guix-git/doc/guix.texi:20756
  30931. msgid "The UDP port to bind to. When left unspecified, an available port is automatically selected."
  30932. msgstr ""
  30933. #. type: item
  30934. #: guix-git/doc/guix.texi:20757
  30935. #, fuzzy, no-wrap
  30936. #| msgid "@code{no-hints?} (default: @code{#f})"
  30937. msgid "@code{proxy-server-port} (type: maybe-number)"
  30938. msgstr "@code{no-hints?} (padrão: @code{#f})"
  30939. #. type: table
  30940. #: guix-git/doc/guix.texi:20759
  30941. msgid "Spawn a proxy server listening on the specified port."
  30942. msgstr ""
  30943. #. type: item
  30944. #: guix-git/doc/guix.texi:20760
  30945. #, fuzzy, no-wrap
  30946. #| msgid "@code{no-hints?} (default: @code{#f})"
  30947. msgid "@code{proxy-server-port-tls} (type: maybe-number)"
  30948. msgstr "@code{no-hints?} (padrão: @code{#f})"
  30949. #. type: table
  30950. #: guix-git/doc/guix.texi:20762
  30951. msgid "Spawn a proxy server listening to TLS connections on the specified port."
  30952. msgstr ""
  30953. #. type: cindex
  30954. #: guix-git/doc/guix.texi:20766
  30955. #, no-wrap
  30956. msgid "Tor"
  30957. msgstr ""
  30958. #. type: defvar
  30959. #: guix-git/doc/guix.texi:20767
  30960. #, fuzzy, no-wrap
  30961. #| msgid "guix-publish-service-type"
  30962. msgid "tor-service-type"
  30963. msgstr "guix-publish-service-type"
  30964. #. type: defvar
  30965. #: guix-git/doc/guix.texi:20772
  30966. msgid "Type for a service that runs the @uref{https://torproject.org, Tor} anonymous networking daemon. The service is configured using a @code{<tor-configuration>} record. By default, the Tor daemon runs as the @code{tor} unprivileged user, which is a member of the @code{tor} group."
  30967. msgstr ""
  30968. #. type: cindex
  30969. #: guix-git/doc/guix.texi:20773
  30970. #, fuzzy, no-wrap
  30971. #| msgid "Monitoring services."
  30972. msgid "onion services, for Tor"
  30973. msgstr "Serviços de monitoramento."
  30974. #. type: defvar
  30975. #: guix-git/doc/guix.texi:20777
  30976. msgid "Services of this type can be extended by other services to specify @dfn{onion services} (in addition to those already specified in @code{tor-configuration}) as in this example:"
  30977. msgstr ""
  30978. #. type: lisp
  30979. #: guix-git/doc/guix.texi:20783
  30980. #, no-wrap
  30981. msgid ""
  30982. "(simple-service 'my-extra-onion-service tor-service-type\n"
  30983. " (list (tor-onion-service-configuration\n"
  30984. " (name \"extra-onion-service\")\n"
  30985. " (mapping '((80 . \"127.0.0.1:8080\"))))))\n"
  30986. msgstr ""
  30987. #. type: deftp
  30988. #: guix-git/doc/guix.texi:20786
  30989. #, no-wrap
  30990. msgid "{Data Type} tor-configuration"
  30991. msgstr ""
  30992. #. type: item
  30993. #: guix-git/doc/guix.texi:20788
  30994. #, no-wrap
  30995. msgid "@code{tor} (default: @code{tor})"
  30996. msgstr "@code{tor} (default: @code{tor})"
  30997. #. type: table
  30998. #: guix-git/doc/guix.texi:20793
  30999. msgid "The package that provides the Tor daemon. This package is expected to provide the daemon at @file{bin/tor} relative to its output directory. The default package is the @uref{https://www.torproject.org, Tor Project's} implementation."
  31000. msgstr ""
  31001. #. type: item
  31002. #: guix-git/doc/guix.texi:20794
  31003. #, no-wrap
  31004. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  31005. msgstr ""
  31006. #. type: table
  31007. #: guix-git/doc/guix.texi:20800
  31008. msgid "The configuration file to use. It will be appended to a default configuration file, and the final configuration file will be passed to @code{tor} via its @code{-f} option. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects}). See @code{man tor} for details on the configuration file syntax."
  31009. msgstr ""
  31010. #. type: item
  31011. #: guix-git/doc/guix.texi:20801
  31012. #, no-wrap
  31013. msgid "@code{hidden-services} (default: @code{'()})"
  31014. msgstr ""
  31015. #. type: table
  31016. #: guix-git/doc/guix.texi:20806
  31017. msgid "The list of @code{<tor-onion-service-configuration>} records to use. For any onion service you include in this list, appropriate configuration to enable the onion service will be automatically added to the default configuration file."
  31018. msgstr ""
  31019. #. type: item
  31020. #: guix-git/doc/guix.texi:20807
  31021. #, no-wrap
  31022. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  31023. msgstr ""
  31024. #. type: table
  31025. #: guix-git/doc/guix.texi:20814
  31026. msgid "The default socket type that Tor should use for its SOCKS socket. This must be either @code{'tcp} or @code{'unix}. If it is @code{'tcp}, then by default Tor will listen on TCP port 9050 on the loopback interface (i.e., localhost). If it is @code{'unix}, then Tor will listen on the UNIX domain socket @file{/var/run/tor/socks-sock}, which will be made writable by members of the @code{tor} group."
  31027. msgstr ""
  31028. #. type: table
  31029. #: guix-git/doc/guix.texi:20819
  31030. msgid "If you want to customize the SOCKS socket in more detail, leave @code{socks-socket-type} at its default value of @code{'tcp} and use @code{config-file} to override the default by providing your own @code{SocksPort} option."
  31031. msgstr ""
  31032. #. type: item
  31033. #: guix-git/doc/guix.texi:20820
  31034. #, no-wrap
  31035. msgid "@code{control-socket?} (default: @code{#f})"
  31036. msgstr ""
  31037. #. type: table
  31038. #: guix-git/doc/guix.texi:20826
  31039. msgid "Whether or not to provide a ``control socket'' by which Tor can be controlled to, for instance, dynamically instantiate tor onion services. If @code{#t}, Tor will listen for control commands on the UNIX domain socket @file{/var/run/tor/control-sock}, which will be made writable by members of the @code{tor} group."
  31040. msgstr ""
  31041. #. type: cindex
  31042. #: guix-git/doc/guix.texi:20830
  31043. #, fuzzy, no-wrap
  31044. #| msgid "Monitoring services."
  31045. msgid "onion service, tor"
  31046. msgstr "Serviços de monitoramento."
  31047. #. type: deftp
  31048. #: guix-git/doc/guix.texi:20831
  31049. #, fuzzy, no-wrap
  31050. msgid "{Data Type} tor-onion-service-configuration"
  31051. msgstr "build-machine {Data Type}"
  31052. #. type: deftp
  31053. #: guix-git/doc/guix.texi:20836
  31054. msgid "Data Type representing a Tor @dfn{Onion Service} configuration. See @url{https://community.torproject.org/onion-services/, the Tor project's documentation} for more information. Available @code{tor-onion-service-configuration} fields are:"
  31055. msgstr ""
  31056. #. type: item
  31057. #: guix-git/doc/guix.texi:20838 guix-git/doc/guix.texi:22514
  31058. #: guix-git/doc/guix.texi:34076 guix-git/doc/guix.texi:38884
  31059. #: guix-git/doc/guix.texi:38898 guix-git/doc/guix.texi:38996
  31060. #: guix-git/doc/guix.texi:43002 guix-git/doc/guix.texi:43598
  31061. #, fuzzy, no-wrap
  31062. msgid "@code{name} (type: string)"
  31063. msgstr "@code{remote?} (padrão: @code{#f})"
  31064. #. type: table
  31065. #: guix-git/doc/guix.texi:20843
  31066. msgid "Name for this Onion Service. This creates a @file{/var/lib/tor/hidden-services/@var{name}} directory, where the @file{hostname} file contains the @indicateurl{.onion} host name for this Onion Service."
  31067. msgstr ""
  31068. #. type: item
  31069. #: guix-git/doc/guix.texi:20844
  31070. #, fuzzy, no-wrap
  31071. msgid "@code{mapping} (type: alist)"
  31072. msgstr "@code{remote?} (padrão: @code{#f})"
  31073. #. type: table
  31074. #: guix-git/doc/guix.texi:20846
  31075. msgid "Association list of port to address mappings. The following example:"
  31076. msgstr ""
  31077. #. type: lisp
  31078. #: guix-git/doc/guix.texi:20849
  31079. #, no-wrap
  31080. msgid ""
  31081. "'((22 . \"127.0.0.1:22\")\n"
  31082. " (80 . \"127.0.0.1:8080\"))\n"
  31083. msgstr ""
  31084. #. type: table
  31085. #: guix-git/doc/guix.texi:20851
  31086. msgid "maps ports 22 and 80 of the Onion Service to the local ports 22 and 8080."
  31087. msgstr ""
  31088. #. type: Plain text
  31089. #: guix-git/doc/guix.texi:20856
  31090. msgid "The @code{(gnu services rsync)} module provides the following services:"
  31091. msgstr ""
  31092. #. type: Plain text
  31093. #: guix-git/doc/guix.texi:20860
  31094. msgid "You might want an rsync daemon if you have files that you want available so anyone (or just yourself) can download existing files or upload new files."
  31095. msgstr ""
  31096. #. type: defvar
  31097. #: guix-git/doc/guix.texi:20861
  31098. #, fuzzy, no-wrap
  31099. #| msgid "guix-publish-service-type"
  31100. msgid "rsync-service-type"
  31101. msgstr "guix-publish-service-type"
  31102. #. type: defvar
  31103. #: guix-git/doc/guix.texi:20865
  31104. msgid "This is the service type for the @uref{https://rsync.samba.org, rsync} daemon, The value for this service type is a @command{rsync-configuration} record as in this example:"
  31105. msgstr ""
  31106. #. type: lisp
  31107. #: guix-git/doc/guix.texi:20878
  31108. #, no-wrap
  31109. msgid ""
  31110. ";; Export two directories over rsync. By default rsync listens on\n"
  31111. ";; all the network interfaces.\n"
  31112. "(service rsync-service-type\n"
  31113. " (rsync-configuration\n"
  31114. " (modules (list (rsync-module\n"
  31115. " (name \"music\")\n"
  31116. " (file-name \"/srv/zik\")\n"
  31117. " (read-only? #f))\n"
  31118. " (rsync-module\n"
  31119. " (name \"movies\")\n"
  31120. " (file-name \"/home/charlie/movies\"))))))\n"
  31121. msgstr ""
  31122. #. type: defvar
  31123. #: guix-git/doc/guix.texi:20881
  31124. msgid "See below for details about @code{rsync-configuration}."
  31125. msgstr ""
  31126. #. type: deftp
  31127. #: guix-git/doc/guix.texi:20883
  31128. #, no-wrap
  31129. msgid "{Data Type} rsync-configuration"
  31130. msgstr ""
  31131. #. type: deftp
  31132. #: guix-git/doc/guix.texi:20885
  31133. msgid "Data type representing the configuration for @code{rsync-service}."
  31134. msgstr ""
  31135. #. type: item
  31136. #: guix-git/doc/guix.texi:20887
  31137. #, no-wrap
  31138. msgid "@code{package} (default: @var{rsync})"
  31139. msgstr ""
  31140. #. type: table
  31141. #: guix-git/doc/guix.texi:20889
  31142. msgid "@code{rsync} package to use."
  31143. msgstr ""
  31144. #. type: item
  31145. #: guix-git/doc/guix.texi:20890 guix-git/doc/guix.texi:35904
  31146. #, no-wrap
  31147. msgid "@code{address} (default: @code{#f})"
  31148. msgstr ""
  31149. #. type: table
  31150. #: guix-git/doc/guix.texi:20893
  31151. msgid "IP address on which @command{rsync} listens for incoming connections. If unspecified, it defaults to listening on all available addresses."
  31152. msgstr ""
  31153. #. type: item
  31154. #: guix-git/doc/guix.texi:20894
  31155. #, no-wrap
  31156. msgid "@code{port-number} (default: @code{873})"
  31157. msgstr ""
  31158. #. type: table
  31159. #: guix-git/doc/guix.texi:20898
  31160. msgid "TCP port on which @command{rsync} listens for incoming connections. If port is less than @code{1024} @command{rsync} needs to be started as the @code{root} user and group."
  31161. msgstr ""
  31162. #. type: item
  31163. #: guix-git/doc/guix.texi:20899
  31164. #, no-wrap
  31165. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  31166. msgstr ""
  31167. #. type: table
  31168. #: guix-git/doc/guix.texi:20901
  31169. msgid "Name of the file where @command{rsync} writes its PID."
  31170. msgstr ""
  31171. #. type: item
  31172. #: guix-git/doc/guix.texi:20902
  31173. #, no-wrap
  31174. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  31175. msgstr ""
  31176. #. type: table
  31177. #: guix-git/doc/guix.texi:20904
  31178. msgid "Name of the file where @command{rsync} writes its lock file."
  31179. msgstr ""
  31180. #. type: item
  31181. #: guix-git/doc/guix.texi:20905
  31182. #, no-wrap
  31183. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  31184. msgstr ""
  31185. #. type: table
  31186. #: guix-git/doc/guix.texi:20907
  31187. msgid "Name of the file where @command{rsync} writes its log file."
  31188. msgstr ""
  31189. #. type: item
  31190. #: guix-git/doc/guix.texi:20908 guix-git/doc/guix.texi:40698
  31191. #, no-wrap
  31192. msgid "@code{user} (default: @code{\"root\"})"
  31193. msgstr ""
  31194. #. type: table
  31195. #: guix-git/doc/guix.texi:20910
  31196. msgid "Owner of the @code{rsync} process."
  31197. msgstr ""
  31198. #. type: item
  31199. #: guix-git/doc/guix.texi:20911
  31200. #, fuzzy, no-wrap
  31201. #| msgid "@code{hangup?} (default: @code{#f})"
  31202. msgid "@code{group} (default: @code{\"root\"})"
  31203. msgstr "@code{hangup?} (padrão: @code{#f})"
  31204. #. type: table
  31205. #: guix-git/doc/guix.texi:20913
  31206. msgid "Group of the @code{rsync} process."
  31207. msgstr ""
  31208. #. type: item
  31209. #: guix-git/doc/guix.texi:20914
  31210. #, fuzzy, no-wrap
  31211. #| msgid "@code{uid} (default: @code{#f})"
  31212. msgid "@code{uid} (default: @code{\"rsyncd\"})"
  31213. msgstr "@code{uid} (default: @code{#f})"
  31214. #. type: table
  31215. #: guix-git/doc/guix.texi:20917
  31216. msgid "User name or user ID that file transfers to and from that module should take place as when the daemon was run as @code{root}."
  31217. msgstr ""
  31218. #. type: item
  31219. #: guix-git/doc/guix.texi:20918
  31220. #, fuzzy, no-wrap
  31221. #| msgid "@code{gdm} (default: @code{gdm})"
  31222. msgid "@code{gid} (default: @code{\"rsyncd\"})"
  31223. msgstr "@code{gdm} (default: @code{gdm})"
  31224. #. type: table
  31225. #: guix-git/doc/guix.texi:20920 guix-git/doc/guix.texi:21444
  31226. msgid "Group name or group ID that will be used when accessing the module."
  31227. msgstr ""
  31228. #. type: item
  31229. #: guix-git/doc/guix.texi:20921 guix-git/doc/guix.texi:41502
  31230. #, no-wrap
  31231. msgid "@code{modules} (default: @code{%default-modules})"
  31232. msgstr ""
  31233. #. type: table
  31234. #: guix-git/doc/guix.texi:20924
  31235. msgid "List of ``modules''---i.e., directories exported over rsync. Each element must be a @code{rsync-module} record, as described below."
  31236. msgstr ""
  31237. #. type: deftp
  31238. #: guix-git/doc/guix.texi:20927
  31239. #, fuzzy, no-wrap
  31240. #| msgid "{Data Type} build-machine"
  31241. msgid "{Data Type} rsync-module"
  31242. msgstr "build-machine {Data Type}"
  31243. #. type: deftp
  31244. #: guix-git/doc/guix.texi:20930
  31245. msgid "This is the data type for rsync ``modules''. A module is a directory exported over the rsync protocol. The available fields are as follows:"
  31246. msgstr ""
  31247. #. type: table
  31248. #: guix-git/doc/guix.texi:20936
  31249. msgid "The module name. This is the name that shows up in URLs. For example, if the module is called @code{music}, the corresponding URL will be @code{rsync://host.example.org/music}."
  31250. msgstr ""
  31251. #. type: code{#1}
  31252. #: guix-git/doc/guix.texi:20937
  31253. #, fuzzy, no-wrap
  31254. #| msgid "name"
  31255. msgid "file-name"
  31256. msgstr "name"
  31257. #. type: table
  31258. #: guix-git/doc/guix.texi:20939
  31259. msgid "Name of the directory being exported."
  31260. msgstr ""
  31261. #. type: table
  31262. #: guix-git/doc/guix.texi:20943
  31263. msgid "Comment associated with the module. Client user interfaces may display it when they obtain the list of available modules."
  31264. msgstr ""
  31265. #. type: item
  31266. #: guix-git/doc/guix.texi:20944
  31267. #, fuzzy, no-wrap
  31268. #| msgid "@code{respawn?} (default: @code{#t})"
  31269. msgid "@code{read-only?} (default: @code{#t})"
  31270. msgstr "@code{respawn?} (padrão: @code{#t})"
  31271. #. type: table
  31272. #: guix-git/doc/guix.texi:20948
  31273. msgid "Whether or not client will be able to upload files. If this is false, the uploads will be authorized if permissions on the daemon side permit it."
  31274. msgstr ""
  31275. #. type: item
  31276. #: guix-git/doc/guix.texi:20949
  31277. #, fuzzy, no-wrap
  31278. #| msgid "@code{chroot} (default: @code{#f})"
  31279. msgid "@code{chroot?} (default: @code{#t})"
  31280. msgstr "@code{chroot} (default: @code{#f})"
  31281. #. type: table
  31282. #: guix-git/doc/guix.texi:20953
  31283. msgid "When this is true, the rsync daemon changes root to the module's directory before starting file transfers with the client. This improves security, but requires rsync to run as root."
  31284. msgstr ""
  31285. #. type: item
  31286. #: guix-git/doc/guix.texi:20954
  31287. #, no-wrap
  31288. msgid "@code{timeout} (default: @code{300})"
  31289. msgstr ""
  31290. #. type: table
  31291. #: guix-git/doc/guix.texi:20957
  31292. msgid "Idle time in seconds after which the daemon closes a connection with the client."
  31293. msgstr ""
  31294. #. type: Plain text
  31295. #: guix-git/doc/guix.texi:20961
  31296. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  31297. msgstr ""
  31298. #. type: cindex
  31299. #: guix-git/doc/guix.texi:20961
  31300. #, no-wrap
  31301. msgid "syncthing"
  31302. msgstr ""
  31303. #. type: Plain text
  31304. #: guix-git/doc/guix.texi:20966
  31305. msgid "You might want a syncthing daemon if you have files between two or more computers and want to sync them in real time, safely protected from prying eyes."
  31306. msgstr ""
  31307. #. type: defvar
  31308. #: guix-git/doc/guix.texi:20967
  31309. #, fuzzy, no-wrap
  31310. #| msgid "guix-publish-service-type"
  31311. msgid "syncthing-service-type"
  31312. msgstr "guix-publish-service-type"
  31313. #. type: defvar
  31314. #: guix-git/doc/guix.texi:20971
  31315. msgid "This is the service type for the @uref{https://syncthing.net/, syncthing} daemon, The value for this service type is a @command{syncthing-configuration} record as in this example:"
  31316. msgstr ""
  31317. #. type: lisp
  31318. #: guix-git/doc/guix.texi:20975
  31319. #, no-wrap
  31320. msgid ""
  31321. "(service syncthing-service-type\n"
  31322. " (syncthing-configuration (user \"alice\")))\n"
  31323. msgstr ""
  31324. #. type: defvar
  31325. #: guix-git/doc/guix.texi:20978
  31326. msgid "See below for details about @code{syncthing-configuration}."
  31327. msgstr ""
  31328. #. type: deftp
  31329. #: guix-git/doc/guix.texi:20979
  31330. #, no-wrap
  31331. msgid "{Data Type} syncthing-configuration"
  31332. msgstr ""
  31333. #. type: deftp
  31334. #: guix-git/doc/guix.texi:20981
  31335. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  31336. msgstr ""
  31337. #. type: item
  31338. #: guix-git/doc/guix.texi:20983
  31339. #, no-wrap
  31340. msgid "@code{syncthing} (default: @var{syncthing})"
  31341. msgstr ""
  31342. #. type: table
  31343. #: guix-git/doc/guix.texi:20985
  31344. msgid "@code{syncthing} package to use."
  31345. msgstr ""
  31346. #. type: item
  31347. #: guix-git/doc/guix.texi:20986
  31348. #, no-wrap
  31349. msgid "@code{arguments} (default: @var{'()})"
  31350. msgstr ""
  31351. #. type: table
  31352. #: guix-git/doc/guix.texi:20988
  31353. msgid "List of command-line arguments passing to @code{syncthing} binary."
  31354. msgstr ""
  31355. #. type: item
  31356. #: guix-git/doc/guix.texi:20989
  31357. #, no-wrap
  31358. msgid "@code{logflags} (default: @var{0})"
  31359. msgstr ""
  31360. #. type: table
  31361. #: guix-git/doc/guix.texi:20992
  31362. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  31363. msgstr ""
  31364. #. type: item
  31365. #: guix-git/doc/guix.texi:20993
  31366. #, no-wrap
  31367. msgid "@code{user} (default: @var{#f})"
  31368. msgstr ""
  31369. #. type: table
  31370. #: guix-git/doc/guix.texi:20996
  31371. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  31372. msgstr ""
  31373. #. type: item
  31374. #: guix-git/doc/guix.texi:20997
  31375. #, no-wrap
  31376. msgid "@code{group} (default: @var{\"users\"})"
  31377. msgstr ""
  31378. #. type: table
  31379. #: guix-git/doc/guix.texi:21000
  31380. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  31381. msgstr ""
  31382. #. type: item
  31383. #: guix-git/doc/guix.texi:21001
  31384. #, no-wrap
  31385. msgid "@code{home} (default: @var{#f})"
  31386. msgstr ""
  31387. #. type: table
  31388. #: guix-git/doc/guix.texi:21004
  31389. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  31390. msgstr ""
  31391. #. type: Plain text
  31392. #: guix-git/doc/guix.texi:21010
  31393. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  31394. msgstr ""
  31395. #. type: cindex
  31396. #: guix-git/doc/guix.texi:21010 guix-git/doc/guix.texi:21079
  31397. #: guix-git/doc/guix.texi:40842
  31398. #, no-wrap
  31399. msgid "SSH"
  31400. msgstr ""
  31401. #. type: cindex
  31402. #: guix-git/doc/guix.texi:21011 guix-git/doc/guix.texi:21080
  31403. #: guix-git/doc/guix.texi:40843
  31404. #, no-wrap
  31405. msgid "SSH server"
  31406. msgstr ""
  31407. #. type: defvar
  31408. #: guix-git/doc/guix.texi:21013
  31409. #, fuzzy, no-wrap
  31410. #| msgid "guix-publish-service-type"
  31411. msgid "lsh-service-type"
  31412. msgstr "guix-publish-service-type"
  31413. #. type: defvar
  31414. #: guix-git/doc/guix.texi:21017
  31415. msgid "Type of the service that runs the GNU@tie{}lsh secure shell (SSH) daemon, @command{lshd}. The value for this service is a @code{<lsh-configuration>} object."
  31416. msgstr ""
  31417. #. type: deftp
  31418. #: guix-git/doc/guix.texi:21019
  31419. #, fuzzy, no-wrap
  31420. msgid "{Data Type} lsh-configuration"
  31421. msgstr "build-machine {Data Type}"
  31422. #. type: deftp
  31423. #: guix-git/doc/guix.texi:21021
  31424. #, fuzzy
  31425. msgid "Data type representing the configuration of @command{lshd}."
  31426. msgstr "Gerencie a configuração do sistema operacional."
  31427. #. type: item
  31428. #: guix-git/doc/guix.texi:21023
  31429. #, fuzzy, no-wrap
  31430. #| msgid "@code{dbus?} (default: @code{#t})"
  31431. msgid "@code{lsh} (default: @code{lsh}) (type: file-like)"
  31432. msgstr "@code{dbus?} (padrão: @code{#t})"
  31433. #. type: table
  31434. #: guix-git/doc/guix.texi:21025
  31435. msgid "The package object of the GNU@tie{}lsh secure shell (SSH) daemon."
  31436. msgstr ""
  31437. #. type: item
  31438. #: guix-git/doc/guix.texi:21026
  31439. #, fuzzy, no-wrap
  31440. #| msgid "@code{debug?} (default: @code{#f})"
  31441. msgid "@code{daemonic?} (default: @code{#t}) (type: boolean)"
  31442. msgstr "@code{debug?} (default: @code{#f})"
  31443. #. type: table
  31444. #: guix-git/doc/guix.texi:21028
  31445. msgid "Whether to detach from the controlling terminal."
  31446. msgstr ""
  31447. #. type: item
  31448. #: guix-git/doc/guix.texi:21029
  31449. #, fuzzy, no-wrap
  31450. #| msgid "@code{dbus?} (default: @code{#t})"
  31451. msgid "@code{host-key} (default: @code{\"/etc/lsh/host-key\"}) (type: string)"
  31452. msgstr "@code{dbus?} (padrão: @code{#t})"
  31453. #. type: table
  31454. #: guix-git/doc/guix.texi:21032
  31455. msgid "File containing the @dfn{host key}. This file must be readable by root only."
  31456. msgstr ""
  31457. #. type: item
  31458. #: guix-git/doc/guix.texi:21033
  31459. #, fuzzy, no-wrap
  31460. #| msgid "@code{replacement} (default: @code{#f})"
  31461. msgid "@code{interfaces} (default: @code{'()}) (type: list)"
  31462. msgstr "@code{replacement} (default: @code{#f})"
  31463. #. type: table
  31464. #: guix-git/doc/guix.texi:21037
  31465. msgid "List of host names or addresses that @command{lshd} will listen on. If empty, @command{lshd} listens for connections on all the network interfaces."
  31466. msgstr ""
  31467. #. type: item
  31468. #: guix-git/doc/guix.texi:21038
  31469. #, fuzzy, no-wrap
  31470. #| msgid "@code{debug?} (default: @code{#f})"
  31471. msgid "@code{port-number} (default: @code{22}) (type: integer)"
  31472. msgstr "@code{debug?} (default: @code{#f})"
  31473. #. type: table
  31474. #: guix-git/doc/guix.texi:21040
  31475. msgid "Port to listen on."
  31476. msgstr ""
  31477. #. type: item
  31478. #: guix-git/doc/guix.texi:21041 guix-git/doc/guix.texi:22274
  31479. #, fuzzy, no-wrap
  31480. #| msgid "@code{users} (default: @code{#f})"
  31481. msgid "@code{allow-empty-passwords?} (default: @code{#f}) (type: boolean)"
  31482. msgstr "@code{users} (default: @code{#f})"
  31483. #. type: table
  31484. #: guix-git/doc/guix.texi:21043
  31485. msgid "Whether to accept log-ins with empty passwords."
  31486. msgstr ""
  31487. #. type: item
  31488. #: guix-git/doc/guix.texi:21044
  31489. #, fuzzy, no-wrap
  31490. #| msgid "@code{debug?} (default: @code{#f})"
  31491. msgid "@code{root-login?} (default: @code{#f}) (type: boolean)"
  31492. msgstr "@code{debug?} (default: @code{#f})"
  31493. #. type: table
  31494. #: guix-git/doc/guix.texi:21046
  31495. msgid "Whether to accept log-ins as root."
  31496. msgstr ""
  31497. #. type: item
  31498. #: guix-git/doc/guix.texi:21047
  31499. #, fuzzy, no-wrap
  31500. #| msgid "@code{debug?} (default: @code{#f})"
  31501. msgid "@code{syslog-output?} (default: @code{#t}) (type: boolean)"
  31502. msgstr "@code{debug?} (default: @code{#f})"
  31503. #. type: table
  31504. #: guix-git/doc/guix.texi:21050
  31505. msgid "Whether to log @command{lshd} standard output to syslogd. This will make the service depend on the existence of a syslogd service."
  31506. msgstr ""
  31507. #. type: item
  31508. #: guix-git/doc/guix.texi:21051
  31509. #, fuzzy, no-wrap
  31510. #| msgid "@code{debug?} (default: @code{#f})"
  31511. msgid "@code{pid-file?} (default: @code{#f}) (type: boolean)"
  31512. msgstr "@code{debug?} (default: @code{#f})"
  31513. #. type: table
  31514. #: guix-git/doc/guix.texi:21054
  31515. msgid "When @code{#t}, @command{lshd} writes its PID to the file specified in @var{pid-file}."
  31516. msgstr ""
  31517. #. type: item
  31518. #: guix-git/doc/guix.texi:21055
  31519. #, fuzzy, no-wrap
  31520. msgid "@code{pid-file} (default: @code{\"/var/run/lshd.pid\"}) (type: string)"
  31521. msgstr "@code{remote?} (padrão: @code{#f})"
  31522. #. type: table
  31523. #: guix-git/doc/guix.texi:21057
  31524. msgid "File that @command{lshd} will write its PID to."
  31525. msgstr ""
  31526. #. type: item
  31527. #: guix-git/doc/guix.texi:21058
  31528. #, fuzzy, no-wrap
  31529. #| msgid "@code{debug?} (default: @code{#f})"
  31530. msgid "@code{x11-forwarding?} (default: @code{#t}) (type: boolean)"
  31531. msgstr "@code{debug?} (default: @code{#f})"
  31532. #. type: table
  31533. #: guix-git/doc/guix.texi:21060
  31534. msgid "Whether to enable X11 forwarding."
  31535. msgstr ""
  31536. #. type: item
  31537. #: guix-git/doc/guix.texi:21061
  31538. #, fuzzy, no-wrap
  31539. #| msgid "@code{debug?} (default: @code{#f})"
  31540. msgid "@code{tcp/ip-forwarding?} (default: @code{#t}) (type: boolean)"
  31541. msgstr "@code{debug?} (default: @code{#f})"
  31542. #. type: table
  31543. #: guix-git/doc/guix.texi:21063
  31544. msgid "Whether to enable TCP/IP forwarding."
  31545. msgstr ""
  31546. #. type: item
  31547. #: guix-git/doc/guix.texi:21064
  31548. #, fuzzy, no-wrap
  31549. #| msgid "@code{debug?} (default: @code{#f})"
  31550. msgid "@code{password-authentication?} (default: @code{#t}) (type: boolean)"
  31551. msgstr "@code{debug?} (default: @code{#f})"
  31552. #. type: table
  31553. #: guix-git/doc/guix.texi:21066
  31554. msgid "Whether to accept log-ins using password authentication."
  31555. msgstr ""
  31556. #. type: item
  31557. #: guix-git/doc/guix.texi:21067
  31558. #, fuzzy, no-wrap
  31559. #| msgid "@code{debug?} (default: @code{#f})"
  31560. msgid "@code{public-key-authentication?} (default: @code{#t}) (type: boolean)"
  31561. msgstr "@code{debug?} (default: @code{#f})"
  31562. #. type: table
  31563. #: guix-git/doc/guix.texi:21069
  31564. msgid "Whether to accept log-ins using public key authentication."
  31565. msgstr ""
  31566. #. type: item
  31567. #: guix-git/doc/guix.texi:21070
  31568. #, fuzzy, no-wrap
  31569. #| msgid "@code{wait?} (default: @code{#t})"
  31570. msgid "@code{initialize?} (default: @code{#t}) (type: boolean)"
  31571. msgstr "@code{wait?} (padrão: @code{#t})"
  31572. #. type: table
  31573. #: guix-git/doc/guix.texi:21075
  31574. msgid "When @code{#f}, it is up to the user to initialize the randomness generator (@pxref{lsh-make-seed,,, lsh, LSH Manual}), and to create a key pair with the private key stored in file @var{host-key} (@pxref{lshd basics,,, lsh, LSH Manual})."
  31575. msgstr ""
  31576. #. type: defvar
  31577. #: guix-git/doc/guix.texi:21081
  31578. #, fuzzy, no-wrap
  31579. #| msgid "guix-publish-service-type"
  31580. msgid "openssh-service-type"
  31581. msgstr "guix-publish-service-type"
  31582. #. type: defvar
  31583. #: guix-git/doc/guix.texi:21085
  31584. msgid "This is the type for the @uref{http://www.openssh.org, OpenSSH} secure shell daemon, @command{sshd}. Its value must be an @code{openssh-configuration} record as in this example:"
  31585. msgstr ""
  31586. #. type: lisp
  31587. #: guix-git/doc/guix.texi:21094
  31588. #, no-wrap
  31589. msgid ""
  31590. "(service openssh-service-type\n"
  31591. " (openssh-configuration\n"
  31592. " (x11-forwarding? #t)\n"
  31593. " (permit-root-login 'prohibit-password)\n"
  31594. " (authorized-keys\n"
  31595. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  31596. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  31597. msgstr ""
  31598. #. type: defvar
  31599. #: guix-git/doc/guix.texi:21097
  31600. msgid "See below for details about @code{openssh-configuration}."
  31601. msgstr ""
  31602. #. type: defvar
  31603. #: guix-git/doc/guix.texi:21100
  31604. msgid "This service can be extended with extra authorized keys, as in this example:"
  31605. msgstr ""
  31606. #. type: lisp
  31607. #: guix-git/doc/guix.texi:21105
  31608. #, no-wrap
  31609. msgid ""
  31610. "(service-extension openssh-service-type\n"
  31611. " (const `((\"charlie\"\n"
  31612. " ,(local-file \"charlie.pub\")))))\n"
  31613. msgstr ""
  31614. #. type: deftp
  31615. #: guix-git/doc/guix.texi:21108
  31616. #, no-wrap
  31617. msgid "{Data Type} openssh-configuration"
  31618. msgstr ""
  31619. #. type: deftp
  31620. #: guix-git/doc/guix.texi:21110
  31621. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  31622. msgstr ""
  31623. #. type: item
  31624. #: guix-git/doc/guix.texi:21112
  31625. #, no-wrap
  31626. msgid "@code{openssh} (default @var{openssh})"
  31627. msgstr ""
  31628. #. type: table
  31629. #: guix-git/doc/guix.texi:21114 guix-git/doc/guix.texi:43111
  31630. #, fuzzy
  31631. #| msgid "The GPM package to use."
  31632. msgid "The OpenSSH package to use."
  31633. msgstr "O pacote GPM a ser usado."
  31634. #. type: item
  31635. #: guix-git/doc/guix.texi:21115
  31636. #, no-wrap
  31637. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  31638. msgstr ""
  31639. #. type: table
  31640. #: guix-git/doc/guix.texi:21117
  31641. msgid "Name of the file where @command{sshd} writes its PID."
  31642. msgstr ""
  31643. #. type: item
  31644. #: guix-git/doc/guix.texi:21118
  31645. #, no-wrap
  31646. msgid "@code{port-number} (default: @code{22})"
  31647. msgstr ""
  31648. #. type: table
  31649. #: guix-git/doc/guix.texi:21120
  31650. msgid "TCP port on which @command{sshd} listens for incoming connections."
  31651. msgstr ""
  31652. #. type: item
  31653. #: guix-git/doc/guix.texi:21121
  31654. #, fuzzy, no-wrap
  31655. #| msgid "@code{max-zone-size} (default: @code{#f})"
  31656. msgid "@code{max-connections} (default: @code{200})"
  31657. msgstr "@code{max-zone-size} (default: @code{#f})"
  31658. #. type: table
  31659. #: guix-git/doc/guix.texi:21126
  31660. msgid "Hard limit on the maximum number of simultaneous client connections, enforced by the inetd-style Shepherd service (@pxref{Service De- and Constructors, @code{make-inetd-constructor},, shepherd, The GNU Shepherd Manual})."
  31661. msgstr ""
  31662. #. type: item
  31663. #: guix-git/doc/guix.texi:21127
  31664. #, no-wrap
  31665. msgid "@code{permit-root-login} (default: @code{#f})"
  31666. msgstr ""
  31667. #. type: table
  31668. #: guix-git/doc/guix.texi:21132
  31669. msgid "This field determines whether and when to allow logins as root. If @code{#f}, root logins are disallowed; if @code{#t}, they are allowed. If it's the symbol @code{'prohibit-password}, then root logins are permitted but not with password-based authentication."
  31670. msgstr ""
  31671. #. type: item
  31672. #: guix-git/doc/guix.texi:21133 guix-git/doc/guix.texi:21303
  31673. #, no-wrap
  31674. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  31675. msgstr ""
  31676. #. type: table
  31677. #: guix-git/doc/guix.texi:21136
  31678. msgid "When true, users with empty passwords may log in. When false, they may not."
  31679. msgstr ""
  31680. #. type: item
  31681. #: guix-git/doc/guix.texi:21137 guix-git/doc/guix.texi:21306
  31682. #, no-wrap
  31683. msgid "@code{password-authentication?} (default: @code{#t})"
  31684. msgstr ""
  31685. #. type: table
  31686. #: guix-git/doc/guix.texi:21140
  31687. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  31688. msgstr ""
  31689. #. type: item
  31690. #: guix-git/doc/guix.texi:21141
  31691. #, no-wrap
  31692. msgid "@code{public-key-authentication?} (default: @code{#t})"
  31693. msgstr ""
  31694. #. type: table
  31695. #: guix-git/doc/guix.texi:21144
  31696. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  31697. msgstr ""
  31698. #. type: table
  31699. #: guix-git/doc/guix.texi:21147
  31700. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  31701. msgstr ""
  31702. #. type: item
  31703. #: guix-git/doc/guix.texi:21148
  31704. #, no-wrap
  31705. msgid "@code{x11-forwarding?} (default: @code{#f})"
  31706. msgstr "@code{x11-forwarding?} (padrão: @code{#f})"
  31707. #. type: table
  31708. #: guix-git/doc/guix.texi:21152
  31709. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  31710. msgstr ""
  31711. #. type: item
  31712. #: guix-git/doc/guix.texi:21153
  31713. #, no-wrap
  31714. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  31715. msgstr "@code{allow-agent-forwarding?} (padrão: @code{#t})"
  31716. #. type: table
  31717. #: guix-git/doc/guix.texi:21155
  31718. msgid "Whether to allow agent forwarding."
  31719. msgstr ""
  31720. #. type: item
  31721. #: guix-git/doc/guix.texi:21156
  31722. #, no-wrap
  31723. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  31724. msgstr "@code{allow-tcp-forwarding?} (padrão: @code{#t})"
  31725. #. type: table
  31726. #: guix-git/doc/guix.texi:21158
  31727. msgid "Whether to allow TCP forwarding."
  31728. msgstr ""
  31729. #. type: item
  31730. #: guix-git/doc/guix.texi:21159
  31731. #, no-wrap
  31732. msgid "@code{gateway-ports?} (default: @code{#f})"
  31733. msgstr "@code{gateway-ports?} (padrão: @code{#f})"
  31734. #. type: table
  31735. #: guix-git/doc/guix.texi:21161
  31736. msgid "Whether to allow gateway ports."
  31737. msgstr ""
  31738. #. type: item
  31739. #: guix-git/doc/guix.texi:21162
  31740. #, no-wrap
  31741. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  31742. msgstr ""
  31743. #. type: table
  31744. #: guix-git/doc/guix.texi:21165
  31745. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  31746. msgstr ""
  31747. #. type: item
  31748. #: guix-git/doc/guix.texi:21166
  31749. #, no-wrap
  31750. msgid "@code{use-pam?} (default: @code{#t})"
  31751. msgstr ""
  31752. #. type: table
  31753. #: guix-git/doc/guix.texi:21172
  31754. msgid "Enables the Pluggable Authentication Module interface. If set to @code{#t}, this will enable PAM authentication using @code{challenge-response-authentication?} and @code{password-authentication?}, in addition to PAM account and session module processing for all authentication types."
  31755. msgstr ""
  31756. #. type: table
  31757. #: guix-git/doc/guix.texi:21177
  31758. msgid "Because PAM challenge response authentication usually serves an equivalent role to password authentication, you should disable either @code{challenge-response-authentication?} or @code{password-authentication?}."
  31759. msgstr ""
  31760. #. type: item
  31761. #: guix-git/doc/guix.texi:21178
  31762. #, no-wrap
  31763. msgid "@code{print-last-log?} (default: @code{#t})"
  31764. msgstr ""
  31765. #. type: table
  31766. #: guix-git/doc/guix.texi:21181
  31767. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  31768. msgstr ""
  31769. #. type: item
  31770. #: guix-git/doc/guix.texi:21182
  31771. #, no-wrap
  31772. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  31773. msgstr ""
  31774. #. type: table
  31775. #: guix-git/doc/guix.texi:21184
  31776. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  31777. msgstr ""
  31778. #. type: table
  31779. #: guix-git/doc/guix.texi:21188
  31780. msgid "This is a list of two-element lists, each of which containing the subsystem name and a command (with optional arguments) to execute upon subsystem request."
  31781. msgstr ""
  31782. #. type: table
  31783. #: guix-git/doc/guix.texi:21191
  31784. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  31785. msgstr ""
  31786. #. type: lisp
  31787. #: guix-git/doc/guix.texi:21196
  31788. #, no-wrap
  31789. msgid ""
  31790. "(service openssh-service-type\n"
  31791. " (openssh-configuration\n"
  31792. " (subsystems\n"
  31793. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  31794. msgstr ""
  31795. #. type: item
  31796. #: guix-git/doc/guix.texi:21198
  31797. #, no-wrap
  31798. msgid "@code{accepted-environment} (default: @code{'()})"
  31799. msgstr ""
  31800. #. type: table
  31801. #: guix-git/doc/guix.texi:21200
  31802. msgid "List of strings describing which environment variables may be exported."
  31803. msgstr ""
  31804. #. type: table
  31805. #: guix-git/doc/guix.texi:21203
  31806. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  31807. msgstr ""
  31808. #. type: table
  31809. #: guix-git/doc/guix.texi:21208
  31810. msgid "This example allows ssh-clients to export the @env{COLORTERM} variable. It is set by terminal emulators, which support colors. You can use it in your shell's resource file to enable colors for the prompt and commands if this variable is set."
  31811. msgstr ""
  31812. #. type: lisp
  31813. #: guix-git/doc/guix.texi:21213
  31814. #, no-wrap
  31815. msgid ""
  31816. "(service openssh-service-type\n"
  31817. " (openssh-configuration\n"
  31818. " (accepted-environment '(\"COLORTERM\"))))\n"
  31819. msgstr ""
  31820. #. type: cindex
  31821. #: guix-git/doc/guix.texi:21216
  31822. #, no-wrap
  31823. msgid "authorized keys, SSH"
  31824. msgstr ""
  31825. #. type: cindex
  31826. #: guix-git/doc/guix.texi:21217
  31827. #, no-wrap
  31828. msgid "SSH authorized keys"
  31829. msgstr ""
  31830. #. type: table
  31831. #: guix-git/doc/guix.texi:21221
  31832. msgid "This is the list of authorized keys. Each element of the list is a user name followed by one or more file-like objects that represent SSH public keys. For example:"
  31833. msgstr ""
  31834. #. type: lisp
  31835. #: guix-git/doc/guix.texi:21228
  31836. #, no-wrap
  31837. msgid ""
  31838. "(openssh-configuration\n"
  31839. " (authorized-keys\n"
  31840. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  31841. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  31842. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  31843. msgstr ""
  31844. #. type: table
  31845. #: guix-git/doc/guix.texi:21233
  31846. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  31847. msgstr ""
  31848. #. type: table
  31849. #: guix-git/doc/guix.texi:21236
  31850. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  31851. msgstr ""
  31852. #. type: table
  31853. #: guix-git/doc/guix.texi:21239
  31854. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  31855. msgstr ""
  31856. #. type: item
  31857. #: guix-git/doc/guix.texi:21240
  31858. #, fuzzy, no-wrap
  31859. #| msgid "@code{no-hosts?} (default: @code{#f})"
  31860. msgid "@code{generate-host-keys?} (default: @code{#t})"
  31861. msgstr "@code{no-hosts?} (padrão: @code{#f})"
  31862. #. type: table
  31863. #: guix-git/doc/guix.texi:21243
  31864. msgid "Whether to generate host key pairs with @command{ssh-keygen -A} under @file{/etc/ssh} if there are none."
  31865. msgstr ""
  31866. #. type: table
  31867. #: guix-git/doc/guix.texi:21249
  31868. msgid "Generating key pairs takes a few seconds when enough entropy is available and is only done once. You might want to turn it off for instance in a virtual machine that does not need it because host keys are provided in some other way, and where the extra boot time is a problem."
  31869. msgstr ""
  31870. #. type: item
  31871. #: guix-git/doc/guix.texi:21250 guix-git/doc/guix.texi:21656
  31872. #, no-wrap
  31873. msgid "@code{log-level} (default: @code{'info})"
  31874. msgstr "@code{log-level} (default: @code{'info})"
  31875. #. type: table
  31876. #: guix-git/doc/guix.texi:21254
  31877. msgid "This is a symbol specifying the logging level: @code{quiet}, @code{fatal}, @code{error}, @code{info}, @code{verbose}, @code{debug}, etc. See the man page for @file{sshd_config} for the full list of level names."
  31878. msgstr ""
  31879. #. type: item
  31880. #: guix-git/doc/guix.texi:21255 guix-git/doc/guix.texi:24907
  31881. #: guix-git/doc/guix.texi:30417
  31882. #, no-wrap
  31883. msgid "@code{extra-content} (default: @code{\"\"})"
  31884. msgstr ""
  31885. #. type: table
  31886. #: guix-git/doc/guix.texi:21260
  31887. msgid "This field can be used to append arbitrary text to the configuration file. It is especially useful for elaborate configurations that cannot be expressed otherwise. This configuration, for example, would generally disable root logins, but permit them from one specific IP address:"
  31888. msgstr ""
  31889. #. type: lisp
  31890. #: guix-git/doc/guix.texi:21266
  31891. #, no-wrap
  31892. msgid ""
  31893. "(openssh-configuration\n"
  31894. " (extra-content \"\\\n"
  31895. "Match Address 192.168.0.1\n"
  31896. " PermitRootLogin yes\"))\n"
  31897. msgstr ""
  31898. #. type: defvar
  31899. #: guix-git/doc/guix.texi:21271
  31900. #, fuzzy, no-wrap
  31901. #| msgid "guix-publish-service-type"
  31902. msgid "dropbear-service-type"
  31903. msgstr "guix-publish-service-type"
  31904. #. type: defvar
  31905. #: guix-git/doc/guix.texi:21275
  31906. msgid "Type of the service that runs the @url{https://matt.ucc.asn.au/dropbear/dropbear.html, Dropbear SSH daemon}, whose value is a @code{<dropbear-configuration>} object."
  31907. msgstr ""
  31908. #. type: defvar
  31909. #: guix-git/doc/guix.texi:21277
  31910. msgid "For example, to specify a Dropbear service listening on port 1234:"
  31911. msgstr ""
  31912. #. type: lisp
  31913. #: guix-git/doc/guix.texi:21281
  31914. #, no-wrap
  31915. msgid ""
  31916. "(service dropbear-service-type (dropbear-configuration\n"
  31917. " (port-number 1234)))\n"
  31918. msgstr ""
  31919. #. type: deftp
  31920. #: guix-git/doc/guix.texi:21284
  31921. #, no-wrap
  31922. msgid "{Data Type} dropbear-configuration"
  31923. msgstr ""
  31924. #. type: deftp
  31925. #: guix-git/doc/guix.texi:21286
  31926. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  31927. msgstr ""
  31928. #. type: item
  31929. #: guix-git/doc/guix.texi:21288
  31930. #, no-wrap
  31931. msgid "@code{dropbear} (default: @var{dropbear})"
  31932. msgstr ""
  31933. #. type: table
  31934. #: guix-git/doc/guix.texi:21290
  31935. msgid "The Dropbear package to use."
  31936. msgstr ""
  31937. #. type: item
  31938. #: guix-git/doc/guix.texi:21291
  31939. #, no-wrap
  31940. msgid "@code{port-number} (default: 22)"
  31941. msgstr ""
  31942. #. type: table
  31943. #: guix-git/doc/guix.texi:21293
  31944. msgid "The TCP port where the daemon waits for incoming connections."
  31945. msgstr ""
  31946. #. type: item
  31947. #: guix-git/doc/guix.texi:21294
  31948. #, no-wrap
  31949. msgid "@code{syslog-output?} (default: @code{#t})"
  31950. msgstr "@code{syslog-output?} (padrão: @code{#t})"
  31951. #. type: table
  31952. #: guix-git/doc/guix.texi:21296
  31953. msgid "Whether to enable syslog output."
  31954. msgstr ""
  31955. #. type: item
  31956. #: guix-git/doc/guix.texi:21297
  31957. #, no-wrap
  31958. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  31959. msgstr ""
  31960. #. type: table
  31961. #: guix-git/doc/guix.texi:21299
  31962. msgid "File name of the daemon's PID file."
  31963. msgstr ""
  31964. #. type: item
  31965. #: guix-git/doc/guix.texi:21300
  31966. #, no-wrap
  31967. msgid "@code{root-login?} (default: @code{#f})"
  31968. msgstr ""
  31969. #. type: table
  31970. #: guix-git/doc/guix.texi:21302
  31971. msgid "Whether to allow @code{root} logins."
  31972. msgstr ""
  31973. #. type: table
  31974. #: guix-git/doc/guix.texi:21305 guix-git/doc/guix.texi:22522
  31975. msgid "Whether to allow empty passwords."
  31976. msgstr ""
  31977. #. type: table
  31978. #: guix-git/doc/guix.texi:21308
  31979. msgid "Whether to enable password-based authentication."
  31980. msgstr ""
  31981. #. type: cindex
  31982. #: guix-git/doc/guix.texi:21311
  31983. #, no-wrap
  31984. msgid "AutoSSH"
  31985. msgstr ""
  31986. #. type: defvar
  31987. #: guix-git/doc/guix.texi:21312
  31988. #, fuzzy, no-wrap
  31989. #| msgid "guix-publish-service-type"
  31990. msgid "autossh-service-type"
  31991. msgstr "guix-publish-service-type"
  31992. #. type: defvar
  31993. #: guix-git/doc/guix.texi:21320
  31994. msgid "This is the type for the @uref{https://www.harding.motd.ca/autossh, AutoSSH} program that runs a copy of @command{ssh} and monitors it, restarting it as necessary should it die or stop passing traffic. AutoSSH can be run manually from the command-line by passing arguments to the binary @command{autossh} from the package @code{autossh}, but it can also be run as a Guix service. This latter use case is documented here."
  31995. msgstr ""
  31996. #. type: defvar
  31997. #: guix-git/doc/guix.texi:21324
  31998. msgid "AutoSSH can be used to forward local traffic to a remote machine using an SSH tunnel, and it respects the @file{~/.ssh/config} of the user it is run as."
  31999. msgstr ""
  32000. #. type: defvar
  32001. #: guix-git/doc/guix.texi:21329
  32002. msgid "For example, to specify a service running autossh as the user @code{pino} and forwarding all local connections to port @code{8081} to @code{remote:8081} using an SSH tunnel, add this call to the operating system's @code{services} field:"
  32003. msgstr ""
  32004. #. type: lisp
  32005. #: guix-git/doc/guix.texi:21335
  32006. #, no-wrap
  32007. msgid ""
  32008. "(service autossh-service-type\n"
  32009. " (autossh-configuration\n"
  32010. " (user \"pino\")\n"
  32011. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  32012. msgstr ""
  32013. #. type: deftp
  32014. #: guix-git/doc/guix.texi:21338
  32015. #, no-wrap
  32016. msgid "{Data Type} autossh-configuration"
  32017. msgstr ""
  32018. #. type: deftp
  32019. #: guix-git/doc/guix.texi:21340
  32020. msgid "This data type represents the configuration of an AutoSSH service."
  32021. msgstr ""
  32022. #. type: item
  32023. #: guix-git/doc/guix.texi:21343
  32024. #, no-wrap
  32025. msgid "@code{user} (default @code{\"autossh\"})"
  32026. msgstr ""
  32027. #. type: table
  32028. #: guix-git/doc/guix.texi:21346
  32029. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  32030. msgstr ""
  32031. #. type: item
  32032. #: guix-git/doc/guix.texi:21347
  32033. #, no-wrap
  32034. msgid "@code{poll} (default @code{600})"
  32035. msgstr ""
  32036. #. type: table
  32037. #: guix-git/doc/guix.texi:21349
  32038. msgid "Specifies the connection poll time in seconds."
  32039. msgstr ""
  32040. #. type: item
  32041. #: guix-git/doc/guix.texi:21350
  32042. #, no-wrap
  32043. msgid "@code{first-poll} (default @code{#f})"
  32044. msgstr ""
  32045. #. type: table
  32046. #: guix-git/doc/guix.texi:21356
  32047. msgid "Specifies how many seconds AutoSSH waits before the first connection test. After this first test, polling is resumed at the pace defined in @code{poll}. When set to @code{#f}, the first poll is not treated specially and will also use the connection poll specified in @code{poll}."
  32048. msgstr ""
  32049. #. type: item
  32050. #: guix-git/doc/guix.texi:21357
  32051. #, no-wrap
  32052. msgid "@code{gate-time} (default @code{30})"
  32053. msgstr ""
  32054. #. type: table
  32055. #: guix-git/doc/guix.texi:21360
  32056. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  32057. msgstr ""
  32058. #. type: item
  32059. #: guix-git/doc/guix.texi:21361
  32060. #, no-wrap
  32061. msgid "@code{log-level} (default @code{1})"
  32062. msgstr ""
  32063. #. type: table
  32064. #: guix-git/doc/guix.texi:21364
  32065. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  32066. msgstr ""
  32067. #. type: item
  32068. #: guix-git/doc/guix.texi:21365
  32069. #, no-wrap
  32070. msgid "@code{max-start} (default @code{#f})"
  32071. msgstr ""
  32072. #. type: table
  32073. #: guix-git/doc/guix.texi:21368
  32074. msgid "The maximum number of times SSH may be (re)started before AutoSSH exits. When set to @code{#f}, no maximum is configured and AutoSSH may restart indefinitely."
  32075. msgstr ""
  32076. #. type: item
  32077. #: guix-git/doc/guix.texi:21369
  32078. #, no-wrap
  32079. msgid "@code{message} (default @code{\"\"})"
  32080. msgstr ""
  32081. #. type: table
  32082. #: guix-git/doc/guix.texi:21371
  32083. msgid "The message to append to the echo message sent when testing connections."
  32084. msgstr ""
  32085. #. type: item
  32086. #: guix-git/doc/guix.texi:21372
  32087. #, no-wrap
  32088. msgid "@code{port} (default @code{\"0\"})"
  32089. msgstr ""
  32090. #. type: table
  32091. #: guix-git/doc/guix.texi:21382
  32092. msgid "The ports used for monitoring the connection. When set to @code{\"0\"}, monitoring is disabled. When set to @code{\"@var{n}\"} where @var{n} is a positive integer, ports @var{n} and @var{n}+1 are used for monitoring the connection, such that port @var{n} is the base monitoring port and @code{n+1} is the echo port. When set to @code{\"@var{n}:@var{m}\"} where @var{n} and @var{m} are positive integers, the ports @var{n} and @var{m} are used for monitoring the connection, such that port @var{n} is the base monitoring port and @var{m} is the echo port."
  32093. msgstr ""
  32094. #. type: item
  32095. #: guix-git/doc/guix.texi:21383
  32096. #, no-wrap
  32097. msgid "@code{ssh-options} (default @code{'()})"
  32098. msgstr ""
  32099. #. type: table
  32100. #: guix-git/doc/guix.texi:21387
  32101. msgid "The list of command-line arguments to pass to @command{ssh} when it is run. Options @option{-f} and @option{-M} are reserved for AutoSSH and may cause undefined behaviour."
  32102. msgstr ""
  32103. #. type: cindex
  32104. #: guix-git/doc/guix.texi:21391
  32105. #, no-wrap
  32106. msgid "WebSSH"
  32107. msgstr ""
  32108. #. type: defvar
  32109. #: guix-git/doc/guix.texi:21392
  32110. #, fuzzy, no-wrap
  32111. #| msgid "guix-publish-service-type"
  32112. msgid "webssh-service-type"
  32113. msgstr "guix-publish-service-type"
  32114. #. type: defvar
  32115. #: guix-git/doc/guix.texi:21398
  32116. msgid "This is the type for the @uref{https://webssh.huashengdun.org/, WebSSH} program that runs a web SSH client. WebSSH can be run manually from the command-line by passing arguments to the binary @command{wssh} from the package @code{webssh}, but it can also be run as a Guix service. This latter use case is documented here."
  32117. msgstr ""
  32118. #. type: defvar
  32119. #: guix-git/doc/guix.texi:21404
  32120. msgid "For example, to specify a service running WebSSH on loopback interface on port @code{8888} with reject policy with a list of allowed to connection hosts, and NGINX as a reverse-proxy to this service listening for HTTPS connection, add this call to the operating system's @code{services} field:"
  32121. msgstr ""
  32122. #. type: lisp
  32123. #: guix-git/doc/guix.texi:21412
  32124. #, no-wrap
  32125. msgid ""
  32126. "(service webssh-service-type\n"
  32127. " (webssh-configuration (address \"127.0.0.1\")\n"
  32128. " (port 8888)\n"
  32129. " (policy 'reject)\n"
  32130. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  32131. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  32132. "\n"
  32133. msgstr ""
  32134. #. type: lisp
  32135. #: guix-git/doc/guix.texi:21428
  32136. #, no-wrap
  32137. msgid ""
  32138. "(service nginx-service-type\n"
  32139. " (nginx-configuration\n"
  32140. " (server-blocks\n"
  32141. " (list\n"
  32142. " (nginx-server-configuration\n"
  32143. " (inherit %webssh-configuration-nginx)\n"
  32144. " (server-name '(\"webssh.example.com\"))\n"
  32145. " (listen '(\"443 ssl\"))\n"
  32146. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  32147. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  32148. " (locations\n"
  32149. " (cons (nginx-location-configuration\n"
  32150. " (uri \"/.well-known\")\n"
  32151. " (body '(\"root /var/www;\")))\n"
  32152. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  32153. msgstr ""
  32154. #. type: deftp
  32155. #: guix-git/doc/guix.texi:21431
  32156. #, no-wrap
  32157. msgid "{Data Type} webssh-configuration"
  32158. msgstr ""
  32159. #. type: deftp
  32160. #: guix-git/doc/guix.texi:21433
  32161. msgid "Data type representing the configuration for @code{webssh-service}."
  32162. msgstr ""
  32163. #. type: item
  32164. #: guix-git/doc/guix.texi:21435
  32165. #, no-wrap
  32166. msgid "@code{package} (default: @var{webssh})"
  32167. msgstr ""
  32168. #. type: table
  32169. #: guix-git/doc/guix.texi:21437
  32170. msgid "@code{webssh} package to use."
  32171. msgstr ""
  32172. #. type: item
  32173. #: guix-git/doc/guix.texi:21438
  32174. #, no-wrap
  32175. msgid "@code{user-name} (default: @var{\"webssh\"})"
  32176. msgstr ""
  32177. #. type: table
  32178. #: guix-git/doc/guix.texi:21441
  32179. msgid "User name or user ID that file transfers to and from that module should take place."
  32180. msgstr ""
  32181. #. type: item
  32182. #: guix-git/doc/guix.texi:21442
  32183. #, no-wrap
  32184. msgid "@code{group-name} (default: @var{\"webssh\"})"
  32185. msgstr ""
  32186. #. type: item
  32187. #: guix-git/doc/guix.texi:21445
  32188. #, no-wrap
  32189. msgid "@code{address} (default: @var{#f})"
  32190. msgstr ""
  32191. #. type: table
  32192. #: guix-git/doc/guix.texi:21447
  32193. msgid "IP address on which @command{webssh} listens for incoming connections."
  32194. msgstr ""
  32195. #. type: item
  32196. #: guix-git/doc/guix.texi:21448
  32197. #, no-wrap
  32198. msgid "@code{port} (default: @var{8888})"
  32199. msgstr ""
  32200. #. type: table
  32201. #: guix-git/doc/guix.texi:21450
  32202. msgid "TCP port on which @command{webssh} listens for incoming connections."
  32203. msgstr ""
  32204. #. type: item
  32205. #: guix-git/doc/guix.texi:21451
  32206. #, no-wrap
  32207. msgid "@code{policy} (default: @var{#f})"
  32208. msgstr ""
  32209. #. type: table
  32210. #: guix-git/doc/guix.texi:21453
  32211. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  32212. msgstr ""
  32213. #. type: item
  32214. #: guix-git/doc/guix.texi:21454
  32215. #, no-wrap
  32216. msgid "@code{known-hosts} (default: @var{'()})"
  32217. msgstr ""
  32218. #. type: table
  32219. #: guix-git/doc/guix.texi:21456
  32220. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  32221. msgstr ""
  32222. #. type: item
  32223. #: guix-git/doc/guix.texi:21457
  32224. #, no-wrap
  32225. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  32226. msgstr ""
  32227. #. type: table
  32228. #: guix-git/doc/guix.texi:21459
  32229. msgid "Name of the file where @command{webssh} writes its log file."
  32230. msgstr ""
  32231. #. type: item
  32232. #: guix-git/doc/guix.texi:21460
  32233. #, no-wrap
  32234. msgid "@code{log-level} (default: @var{#f})"
  32235. msgstr ""
  32236. #. type: table
  32237. #: guix-git/doc/guix.texi:21462
  32238. msgid "Logging level."
  32239. msgstr ""
  32240. #. type: defvar
  32241. #: guix-git/doc/guix.texi:21466
  32242. #, fuzzy, no-wrap
  32243. #| msgid "guix-publish-service-type"
  32244. msgid "block-facebook-hosts-service-type"
  32245. msgstr "guix-publish-service-type"
  32246. #. type: defvar
  32247. #: guix-git/doc/guix.texi:21473
  32248. msgid "This service type adds a list of known Facebook hosts to the @file{/etc/hosts} file. (@pxref{Host Names,,, libc, The GNU C Library Reference Manual}) Each line contains a entry that maps a known server name of the Facebook on-line service---e.g., @code{www.facebook.com}---to the local host---@code{127.0.0.1} or its IPv6 equivalent, @code{::1}."
  32249. msgstr ""
  32250. #. type: defvar
  32251. #: guix-git/doc/guix.texi:21476
  32252. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  32253. msgstr ""
  32254. #. type: Plain text
  32255. #: guix-git/doc/guix.texi:21479
  32256. msgid "The @code{(gnu services avahi)} provides the following definition."
  32257. msgstr ""
  32258. #. type: defvar
  32259. #: guix-git/doc/guix.texi:21480
  32260. #, fuzzy, no-wrap
  32261. #| msgid "guix-publish-service-type"
  32262. msgid "avahi-service-type"
  32263. msgstr "guix-publish-service-type"
  32264. #. type: defvar
  32265. #: guix-git/doc/guix.texi:21485
  32266. msgid "This is the service that runs @command{avahi-daemon}, a system-wide mDNS/DNS-SD responder that allows for service discovery and ``zero-configuration'' host name lookups (see @uref{https://avahi.org/}). Its value must be an @code{avahi-configuration} record---see below."
  32267. msgstr ""
  32268. #. type: defvar
  32269. #: guix-git/doc/guix.texi:21490
  32270. msgid "This service extends the name service cache daemon (nscd) so that it can resolve @code{.local} host names using @uref{https://0pointer.de/lennart/projects/nss-mdns/, nss-mdns}. @xref{Name Service Switch}, for information on host name resolution."
  32271. msgstr ""
  32272. #. type: defvar
  32273. #: guix-git/doc/guix.texi:21493
  32274. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  32275. msgstr ""
  32276. #. type: deftp
  32277. #: guix-git/doc/guix.texi:21495
  32278. #, no-wrap
  32279. msgid "{Data Type} avahi-configuration"
  32280. msgstr ""
  32281. #. type: deftp
  32282. #: guix-git/doc/guix.texi:21497
  32283. msgid "Data type representation the configuration for Avahi."
  32284. msgstr ""
  32285. #. type: item
  32286. #: guix-git/doc/guix.texi:21500 guix-git/doc/guix.texi:33055
  32287. #, no-wrap
  32288. msgid "@code{host-name} (default: @code{#f})"
  32289. msgstr "@code{host-name} (default: @code{#f})"
  32290. #. type: table
  32291. #: guix-git/doc/guix.texi:21503
  32292. msgid "If different from @code{#f}, use that as the host name to publish for this machine; otherwise, use the machine's actual host name."
  32293. msgstr ""
  32294. #. type: item
  32295. #: guix-git/doc/guix.texi:21504 guix-git/doc/guix.texi:33250
  32296. #, no-wrap
  32297. msgid "@code{publish?} (default: @code{#t})"
  32298. msgstr "@code{publish?} (padrão: @code{#t})"
  32299. #. type: table
  32300. #: guix-git/doc/guix.texi:21507
  32301. msgid "When true, allow host names and services to be published (broadcast) over the network."
  32302. msgstr ""
  32303. #. type: item
  32304. #: guix-git/doc/guix.texi:21508
  32305. #, no-wrap
  32306. msgid "@code{publish-workstation?} (default: @code{#t})"
  32307. msgstr "@code{publish-workstation?} (padrão: @code{#t})"
  32308. #. type: table
  32309. #: guix-git/doc/guix.texi:21512
  32310. msgid "When true, @command{avahi-daemon} publishes the machine's host name and IP address via mDNS on the local network. To view the host names published on your local network, you can run:"
  32311. msgstr ""
  32312. #. type: example
  32313. #: guix-git/doc/guix.texi:21515
  32314. #, no-wrap
  32315. msgid "avahi-browse _workstation._tcp\n"
  32316. msgstr ""
  32317. #. type: item
  32318. #: guix-git/doc/guix.texi:21517
  32319. #, no-wrap
  32320. msgid "@code{wide-area?} (default: @code{#f})"
  32321. msgstr "@code{wide-area?} (padrão: @code{#f})"
  32322. #. type: table
  32323. #: guix-git/doc/guix.texi:21519
  32324. msgid "When true, DNS-SD over unicast DNS is enabled."
  32325. msgstr ""
  32326. #. type: item
  32327. #: guix-git/doc/guix.texi:21520
  32328. #, no-wrap
  32329. msgid "@code{ipv4?} (default: @code{#t})"
  32330. msgstr "@code{ipv4?} (default: @code{#t})"
  32331. #. type: itemx
  32332. #: guix-git/doc/guix.texi:21521
  32333. #, no-wrap
  32334. msgid "@code{ipv6?} (default: @code{#t})"
  32335. msgstr "@code{ipv6?} (default: @code{#t})"
  32336. #. type: table
  32337. #: guix-git/doc/guix.texi:21523
  32338. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  32339. msgstr ""
  32340. #. type: item
  32341. #: guix-git/doc/guix.texi:21524
  32342. #, no-wrap
  32343. msgid "@code{domains-to-browse} (default: @code{'()})"
  32344. msgstr ""
  32345. #. type: table
  32346. #: guix-git/doc/guix.texi:21526
  32347. msgid "This is a list of domains to browse."
  32348. msgstr ""
  32349. #. type: defvar
  32350. #: guix-git/doc/guix.texi:21529
  32351. #, fuzzy, no-wrap
  32352. #| msgid "guix-publish-service-type"
  32353. msgid "openvswitch-service-type"
  32354. msgstr "guix-publish-service-type"
  32355. #. type: defvar
  32356. #: guix-git/doc/guix.texi:21533
  32357. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  32358. msgstr ""
  32359. #. type: deftp
  32360. #: guix-git/doc/guix.texi:21535
  32361. #, no-wrap
  32362. msgid "{Data Type} openvswitch-configuration"
  32363. msgstr ""
  32364. #. type: deftp
  32365. #: guix-git/doc/guix.texi:21539
  32366. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  32367. msgstr ""
  32368. #. type: item
  32369. #: guix-git/doc/guix.texi:21541
  32370. #, no-wrap
  32371. msgid "@code{package} (default: @var{openvswitch})"
  32372. msgstr ""
  32373. #. type: table
  32374. #: guix-git/doc/guix.texi:21543
  32375. msgid "Package object of the Open vSwitch."
  32376. msgstr ""
  32377. #. type: defvar
  32378. #: guix-git/doc/guix.texi:21547
  32379. #, fuzzy, no-wrap
  32380. #| msgid "guix-publish-service-type"
  32381. msgid "pagekite-service-type"
  32382. msgstr "guix-publish-service-type"
  32383. #. type: defvar
  32384. #: guix-git/doc/guix.texi:21552
  32385. msgid "This is the service type for the @uref{https://pagekite.net, PageKite} service, a tunneling solution for making localhost servers publicly visible, even from behind restrictive firewalls or NAT without forwarded ports. The value for this service type is a @code{pagekite-configuration} record."
  32386. msgstr ""
  32387. #. type: defvar
  32388. #: guix-git/doc/guix.texi:21554
  32389. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  32390. msgstr ""
  32391. #. type: lisp
  32392. #: guix-git/doc/guix.texi:21561
  32393. #, no-wrap
  32394. msgid ""
  32395. "(service pagekite-service-type\n"
  32396. " (pagekite-configuration\n"
  32397. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  32398. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  32399. " (extra-file \"/etc/pagekite.rc\")))\n"
  32400. msgstr ""
  32401. #. type: deftp
  32402. #: guix-git/doc/guix.texi:21564
  32403. #, no-wrap
  32404. msgid "{Data Type} pagekite-configuration"
  32405. msgstr ""
  32406. #. type: deftp
  32407. #: guix-git/doc/guix.texi:21566
  32408. msgid "Data type representing the configuration of PageKite."
  32409. msgstr ""
  32410. #. type: item
  32411. #: guix-git/doc/guix.texi:21568
  32412. #, no-wrap
  32413. msgid "@code{package} (default: @var{pagekite})"
  32414. msgstr ""
  32415. #. type: table
  32416. #: guix-git/doc/guix.texi:21570
  32417. msgid "Package object of PageKite."
  32418. msgstr ""
  32419. #. type: item
  32420. #: guix-git/doc/guix.texi:21571
  32421. #, no-wrap
  32422. msgid "@code{kitename} (default: @code{#f})"
  32423. msgstr ""
  32424. #. type: table
  32425. #: guix-git/doc/guix.texi:21573
  32426. msgid "PageKite name for authenticating to the frontend server."
  32427. msgstr ""
  32428. #. type: item
  32429. #: guix-git/doc/guix.texi:21574
  32430. #, no-wrap
  32431. msgid "@code{kitesecret} (default: @code{#f})"
  32432. msgstr ""
  32433. #. type: table
  32434. #: guix-git/doc/guix.texi:21577
  32435. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  32436. msgstr ""
  32437. #. type: item
  32438. #: guix-git/doc/guix.texi:21578
  32439. #, no-wrap
  32440. msgid "@code{frontend} (default: @code{#f})"
  32441. msgstr ""
  32442. #. type: table
  32443. #: guix-git/doc/guix.texi:21581
  32444. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  32445. msgstr ""
  32446. #. type: item
  32447. #: guix-git/doc/guix.texi:21582
  32448. #, no-wrap
  32449. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  32450. msgstr ""
  32451. #. type: table
  32452. #: guix-git/doc/guix.texi:21585
  32453. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  32454. msgstr ""
  32455. #. type: item
  32456. #: guix-git/doc/guix.texi:21586
  32457. #, no-wrap
  32458. msgid "@code{extra-file} (default: @code{#f})"
  32459. msgstr ""
  32460. #. type: table
  32461. #: guix-git/doc/guix.texi:21589
  32462. msgid "Extra configuration file to read, which you are expected to create manually. Use this to add additional options and manage shared secrets out-of-band."
  32463. msgstr ""
  32464. #. type: defvar
  32465. #: guix-git/doc/guix.texi:21593
  32466. #, fuzzy, no-wrap
  32467. #| msgid "guix-publish-service-type"
  32468. msgid "yggdrasil-service-type"
  32469. msgstr "guix-publish-service-type"
  32470. #. type: defvar
  32471. #: guix-git/doc/guix.texi:21597
  32472. msgid "The service type for connecting to the @uref{https://yggdrasil-network.github.io/, Yggdrasil network}, an early-stage implementation of a fully end-to-end encrypted IPv6 network."
  32473. msgstr ""
  32474. #. type: quotation
  32475. #: guix-git/doc/guix.texi:21604
  32476. msgid "Yggdrasil provides name-independent routing with cryptographically generated addresses. Static addressing means you can keep the same address as long as you want, even if you move to a new location, or generate a new address (by generating new keys) whenever you want. @uref{https://yggdrasil-network.github.io/2018/07/28/addressing.html}"
  32477. msgstr ""
  32478. #. type: defvar
  32479. #: guix-git/doc/guix.texi:21608
  32480. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  32481. msgstr ""
  32482. #. type: defvar
  32483. #: guix-git/doc/guix.texi:21612
  32484. msgid "Here is an example using public peers and a static address. The static signing and encryption keys are defined in @file{/etc/yggdrasil-private.conf} (the default value for @code{config-file})."
  32485. msgstr ""
  32486. #. type: lisp
  32487. #: guix-git/doc/guix.texi:21624
  32488. #, no-wrap
  32489. msgid ""
  32490. ";; part of the operating-system declaration\n"
  32491. "(service yggdrasil-service-type\n"
  32492. " (yggdrasil-configuration\n"
  32493. " (autoconf? #f) ;; use only the public peers\n"
  32494. " (json-config\n"
  32495. " ;; choose one from\n"
  32496. " ;; https://github.com/yggdrasil-network/public-peers\n"
  32497. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  32498. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  32499. " ))\n"
  32500. msgstr ""
  32501. #. type: example
  32502. #: guix-git/doc/guix.texi:21631
  32503. #, no-wrap
  32504. msgid ""
  32505. "# sample content for /etc/yggdrasil-private.conf\n"
  32506. "@{\n"
  32507. " # Your public key. Your peers may ask you for this to put\n"
  32508. " # into their AllowedPublicKeys configuration.\n"
  32509. " PublicKey: 64277...\n"
  32510. "\n"
  32511. msgstr ""
  32512. #. type: example
  32513. #: guix-git/doc/guix.texi:21635
  32514. #, no-wrap
  32515. msgid ""
  32516. " # Your private key. DO NOT share this with anyone!\n"
  32517. " PrivateKey: 5c750...\n"
  32518. "@}\n"
  32519. msgstr ""
  32520. #. type: deftp
  32521. #: guix-git/doc/guix.texi:21638
  32522. #, no-wrap
  32523. msgid "{Data Type} yggdrasil-configuration"
  32524. msgstr ""
  32525. #. type: deftp
  32526. #: guix-git/doc/guix.texi:21640
  32527. msgid "Data type representing the configuration of Yggdrasil."
  32528. msgstr ""
  32529. #. type: item
  32530. #: guix-git/doc/guix.texi:21642
  32531. #, no-wrap
  32532. msgid "@code{package} (default: @code{yggdrasil})"
  32533. msgstr ""
  32534. #. type: table
  32535. #: guix-git/doc/guix.texi:21644
  32536. msgid "Package object of Yggdrasil."
  32537. msgstr ""
  32538. #. type: item
  32539. #: guix-git/doc/guix.texi:21645
  32540. #, no-wrap
  32541. msgid "@code{json-config} (default: @code{'()})"
  32542. msgstr ""
  32543. #. type: table
  32544. #: guix-git/doc/guix.texi:21651
  32545. msgid "Contents of @file{/etc/yggdrasil.conf}. Will be merged with @file{/etc/yggdrasil-private.conf}. Note that these settings are stored in the Guix store, which is readable to all users. @strong{Do not store your private keys in it}. See the output of @code{yggdrasil -genconf} for a quick overview of valid keys and their default values."
  32546. msgstr ""
  32547. #. type: item
  32548. #: guix-git/doc/guix.texi:21652
  32549. #, no-wrap
  32550. msgid "@code{autoconf?} (default: @code{#f})"
  32551. msgstr ""
  32552. #. type: table
  32553. #: guix-git/doc/guix.texi:21655
  32554. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  32555. msgstr ""
  32556. #. type: table
  32557. #: guix-git/doc/guix.texi:21658
  32558. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  32559. msgstr ""
  32560. #. type: item
  32561. #: guix-git/doc/guix.texi:21659
  32562. #, no-wrap
  32563. msgid "@code{log-to} (default: @code{'stdout})"
  32564. msgstr ""
  32565. #. type: table
  32566. #: guix-git/doc/guix.texi:21663
  32567. msgid "Where to send logs. By default, the service logs standard output to @file{/var/log/yggdrasil.log}. The alternative is @code{'syslog}, which sends output to the running syslog service."
  32568. msgstr ""
  32569. #. type: item
  32570. #: guix-git/doc/guix.texi:21664
  32571. #, no-wrap
  32572. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  32573. msgstr ""
  32574. #. type: table
  32575. #: guix-git/doc/guix.texi:21671
  32576. msgid "What HJSON file to load sensitive data from. This is where private keys should be stored, which are necessary to specify if you don't want a randomized address after each restart. Use @code{#f} to disable. Options defined in this file take precedence over @code{json-config}. Use the output of @code{yggdrasil -genconf} as a starting point. To configure a static address, delete everything except these options:"
  32577. msgstr ""
  32578. #. type: code{#1}
  32579. #: guix-git/doc/guix.texi:21673
  32580. #, no-wrap
  32581. msgid "EncryptionPublicKey"
  32582. msgstr ""
  32583. #. type: code{#1}
  32584. #: guix-git/doc/guix.texi:21674
  32585. #, no-wrap
  32586. msgid "EncryptionPrivateKey"
  32587. msgstr ""
  32588. #. type: code{#1}
  32589. #: guix-git/doc/guix.texi:21675
  32590. #, no-wrap
  32591. msgid "SigningPublicKey"
  32592. msgstr ""
  32593. #. type: code{#1}
  32594. #: guix-git/doc/guix.texi:21676
  32595. #, no-wrap
  32596. msgid "SigningPrivateKey"
  32597. msgstr ""
  32598. #. type: cindex
  32599. #: guix-git/doc/guix.texi:21681
  32600. #, no-wrap
  32601. msgid "IPFS"
  32602. msgstr ""
  32603. #. type: defvar
  32604. #: guix-git/doc/guix.texi:21682
  32605. #, fuzzy, no-wrap
  32606. #| msgid "guix-publish-service-type"
  32607. msgid "ipfs-service-type"
  32608. msgstr "guix-publish-service-type"
  32609. #. type: defvar
  32610. #: guix-git/doc/guix.texi:21686
  32611. msgid "The service type for connecting to the @uref{https://ipfs.io,IPFS network}, a global, versioned, peer-to-peer file system. Pass it a @code{ipfs-configuration} to change the ports used for the gateway and API."
  32612. msgstr ""
  32613. #. type: defvar
  32614. #: guix-git/doc/guix.texi:21688
  32615. msgid "Here's an example configuration, using some non-standard ports:"
  32616. msgstr ""
  32617. #. type: lisp
  32618. #: guix-git/doc/guix.texi:21694
  32619. #, no-wrap
  32620. msgid ""
  32621. "(service ipfs-service-type\n"
  32622. " (ipfs-configuration\n"
  32623. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  32624. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  32625. msgstr ""
  32626. #. type: deftp
  32627. #: guix-git/doc/guix.texi:21697
  32628. #, fuzzy, no-wrap
  32629. msgid "{Data Type} ipfs-configuration"
  32630. msgstr "build-machine {Data Type}"
  32631. #. type: deftp
  32632. #: guix-git/doc/guix.texi:21699
  32633. #, fuzzy
  32634. msgid "Data type representing the configuration of IPFS."
  32635. msgstr "Gerencie a configuração do sistema operacional."
  32636. #. type: item
  32637. #: guix-git/doc/guix.texi:21701
  32638. #, fuzzy, no-wrap
  32639. msgid "@code{package} (default: @code{go-ipfs})"
  32640. msgstr "@code{cache} (default: @code{#f})"
  32641. #. type: table
  32642. #: guix-git/doc/guix.texi:21703
  32643. msgid "Package object of IPFS."
  32644. msgstr ""
  32645. #. type: item
  32646. #: guix-git/doc/guix.texi:21704
  32647. #, fuzzy, no-wrap
  32648. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  32649. msgstr "@code{porta} (default: @code{15000})"
  32650. #. type: table
  32651. #: guix-git/doc/guix.texi:21706
  32652. msgid "Address of the gateway, in ‘multiaddress’ format."
  32653. msgstr ""
  32654. #. type: item
  32655. #: guix-git/doc/guix.texi:21707
  32656. #, fuzzy, no-wrap
  32657. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  32658. msgstr "@code{porta} (default: @code{15000})"
  32659. #. type: table
  32660. #: guix-git/doc/guix.texi:21709
  32661. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  32662. msgstr ""
  32663. #. type: cindex
  32664. #: guix-git/doc/guix.texi:21712
  32665. #, no-wrap
  32666. msgid "keepalived"
  32667. msgstr ""
  32668. #. type: defvar
  32669. #: guix-git/doc/guix.texi:21713
  32670. #, fuzzy, no-wrap
  32671. #| msgid "guix-publish-service-type"
  32672. msgid "keepalived-service-type"
  32673. msgstr "guix-publish-service-type"
  32674. #. type: defvar
  32675. #: guix-git/doc/guix.texi:21718
  32676. msgid "This is the type for the @uref{https://www.keepalived.org/, Keepalived} routing software, @command{keepalived}. Its value must be an @code{keepalived-configuration} record as in this example for master machine:"
  32677. msgstr ""
  32678. #. type: lisp
  32679. #: guix-git/doc/guix.texi:21723
  32680. #, no-wrap
  32681. msgid ""
  32682. "(service keepalived-service-type\n"
  32683. " (keepalived-configuration\n"
  32684. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  32685. msgstr ""
  32686. #. type: defvar
  32687. #: guix-git/doc/guix.texi:21726
  32688. msgid "where @file{keepalived-master.conf}:"
  32689. msgstr ""
  32690. #. type: example
  32691. #: guix-git/doc/guix.texi:21738
  32692. #, no-wrap
  32693. msgid ""
  32694. "vrrp_instance my-group @{\n"
  32695. " state MASTER\n"
  32696. " interface enp9s0\n"
  32697. " virtual_router_id 100\n"
  32698. " priority 100\n"
  32699. " unicast_peer @{ 10.0.0.2 @}\n"
  32700. " virtual_ipaddress @{\n"
  32701. " 10.0.0.4/24\n"
  32702. " @}\n"
  32703. "@}\n"
  32704. msgstr ""
  32705. #. type: defvar
  32706. #: guix-git/doc/guix.texi:21741
  32707. msgid "and for backup machine:"
  32708. msgstr ""
  32709. #. type: lisp
  32710. #: guix-git/doc/guix.texi:21746
  32711. #, no-wrap
  32712. msgid ""
  32713. "(service keepalived-service-type\n"
  32714. " (keepalived-configuration\n"
  32715. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  32716. msgstr ""
  32717. #. type: defvar
  32718. #: guix-git/doc/guix.texi:21749
  32719. msgid "where @file{keepalived-backup.conf}:"
  32720. msgstr ""
  32721. #. type: example
  32722. #: guix-git/doc/guix.texi:21761
  32723. #, no-wrap
  32724. msgid ""
  32725. "vrrp_instance my-group @{\n"
  32726. " state BACKUP\n"
  32727. " interface enp9s0\n"
  32728. " virtual_router_id 100\n"
  32729. " priority 99\n"
  32730. " unicast_peer @{ 10.0.0.3 @}\n"
  32731. " virtual_ipaddress @{\n"
  32732. " 10.0.0.4/24\n"
  32733. " @}\n"
  32734. "@}\n"
  32735. msgstr ""
  32736. #. type: cindex
  32737. #: guix-git/doc/guix.texi:21767
  32738. #, no-wrap
  32739. msgid "unattended upgrades"
  32740. msgstr ""
  32741. #. type: cindex
  32742. #: guix-git/doc/guix.texi:21768
  32743. #, no-wrap
  32744. msgid "upgrades, unattended"
  32745. msgstr ""
  32746. #. type: Plain text
  32747. #: guix-git/doc/guix.texi:21773
  32748. msgid "Guix provides a service to perform @emph{unattended upgrades}: periodically, the system automatically reconfigures itself from the latest Guix. Guix System has several properties that make unattended upgrades safe:"
  32749. msgstr ""
  32750. #. type: itemize
  32751. #: guix-git/doc/guix.texi:21778
  32752. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  32753. msgstr ""
  32754. #. type: itemize
  32755. #: guix-git/doc/guix.texi:21782
  32756. msgid "the upgrade log is kept---you can view it with @command{guix system list-generations}---and you can roll back to any previous generation, should the upgraded system fail to behave as intended;"
  32757. msgstr ""
  32758. #. type: itemize
  32759. #: guix-git/doc/guix.texi:21785
  32760. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  32761. msgstr ""
  32762. #. type: itemize
  32763. #: guix-git/doc/guix.texi:21788
  32764. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  32765. msgstr ""
  32766. #. type: Plain text
  32767. #: guix-git/doc/guix.texi:21793
  32768. msgid "To set up unattended upgrades, add an instance of @code{unattended-upgrade-service-type} like the one below to the list of your operating system services:"
  32769. msgstr ""
  32770. #. type: lisp
  32771. #: guix-git/doc/guix.texi:21796
  32772. #, no-wrap
  32773. msgid "(service unattended-upgrade-service-type)\n"
  32774. msgstr ""
  32775. #. type: Plain text
  32776. #: guix-git/doc/guix.texi:21803
  32777. msgid "The defaults above set up weekly upgrades: every Sunday at midnight. You do not need to provide the operating system configuration file: it uses @file{/run/current-system/configuration.scm}, which ensures it always uses your latest configuration---@pxref{provenance-service-type}, for more information about this file."
  32778. msgstr ""
  32779. #. type: Plain text
  32780. #: guix-git/doc/guix.texi:21809
  32781. msgid "There are several things that can be configured, in particular the periodicity and services (daemons) to be restarted upon completion. When the upgrade is successful, the service takes care of deleting system generations older that some threshold, as per @command{guix system delete-generations}. See the reference below for details."
  32782. msgstr ""
  32783. #. type: Plain text
  32784. #: guix-git/doc/guix.texi:21813
  32785. msgid "To ensure that upgrades are actually happening, you can run @command{guix system describe}. To investigate upgrade failures, visit the unattended upgrade log file (see below)."
  32786. msgstr ""
  32787. #. type: defvar
  32788. #: guix-git/doc/guix.texi:21814
  32789. #, fuzzy, no-wrap
  32790. #| msgid "guix-publish-service-type"
  32791. msgid "unattended-upgrade-service-type"
  32792. msgstr "guix-publish-service-type"
  32793. #. type: defvar
  32794. #: guix-git/doc/guix.texi:21818
  32795. msgid "This is the service type for unattended upgrades. It sets up an mcron job (@pxref{Scheduled Job Execution}) that runs @command{guix system reconfigure} from the latest version of the specified channels."
  32796. msgstr ""
  32797. #. type: defvar
  32798. #: guix-git/doc/guix.texi:21821
  32799. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  32800. msgstr ""
  32801. #. type: deftp
  32802. #: guix-git/doc/guix.texi:21823
  32803. #, no-wrap
  32804. msgid "{Data Type} unattended-upgrade-configuration"
  32805. msgstr ""
  32806. #. type: deftp
  32807. #: guix-git/doc/guix.texi:21826
  32808. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  32809. msgstr ""
  32810. #. type: item
  32811. #: guix-git/doc/guix.texi:21828
  32812. #, no-wrap
  32813. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  32814. msgstr ""
  32815. #. type: table
  32816. #: guix-git/doc/guix.texi:21832
  32817. msgid "This is the schedule of upgrades, expressed as a gexp containing an mcron job schedule (@pxref{Guile Syntax, mcron job specifications,, mcron, GNU@tie{}mcron})."
  32818. msgstr ""
  32819. #. type: item
  32820. #: guix-git/doc/guix.texi:21833
  32821. #, no-wrap
  32822. msgid "@code{channels} (default: @code{#~%default-channels})"
  32823. msgstr ""
  32824. #. type: table
  32825. #: guix-git/doc/guix.texi:21837
  32826. msgid "This gexp specifies the channels to use for the upgrade (@pxref{Channels}). By default, the tip of the official @code{guix} channel is used."
  32827. msgstr ""
  32828. #. type: item
  32829. #: guix-git/doc/guix.texi:21838
  32830. #, no-wrap
  32831. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  32832. msgstr ""
  32833. #. type: table
  32834. #: guix-git/doc/guix.texi:21841
  32835. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  32836. msgstr ""
  32837. #. type: table
  32838. #: guix-git/doc/guix.texi:21847
  32839. msgid "There are cases, though, where referring to @file{/run/current-system/configuration.scm} is not enough, for instance because that file refers to extra files (SSH public keys, extra configuration files, etc.) @i{via} @code{local-file} and similar constructs. For those cases, we recommend something along these lines:"
  32840. msgstr ""
  32841. #. type: lisp
  32842. #: guix-git/doc/guix.texi:21853
  32843. #, no-wrap
  32844. msgid ""
  32845. "(unattended-upgrade-configuration\n"
  32846. " (operating-system-file\n"
  32847. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  32848. " \"/config.scm\")))\n"
  32849. msgstr ""
  32850. #. type: table
  32851. #: guix-git/doc/guix.texi:21860
  32852. msgid "The effect here is to import all of the current directory into the store, and to refer to @file{config.scm} within that directory. Therefore, uses of @code{local-file} within @file{config.scm} will work as expected. @xref{G-Expressions}, for information about @code{local-file} and @code{file-append}."
  32853. msgstr ""
  32854. #. type: item
  32855. #: guix-git/doc/guix.texi:21861
  32856. #, fuzzy, no-wrap
  32857. #| msgid "@code{options} (default: @code{#f})"
  32858. msgid "@code{operating-system-expression} (default: @code{#f})"
  32859. msgstr "@code{options} (default: @code{#f})"
  32860. #. type: table
  32861. #: guix-git/doc/guix.texi:21865
  32862. msgid "This field specifies an expression that evaluates to the operating system to use for the upgrade. If no value is provided the @code{operating-system-file} field value is used."
  32863. msgstr ""
  32864. #. type: lisp
  32865. #: guix-git/doc/guix.texi:21870
  32866. #, no-wrap
  32867. msgid ""
  32868. "(unattended-upgrade-configuration\n"
  32869. " (operating-system-expression\n"
  32870. " #~(@@ (guix system install) installation-os)))\n"
  32871. msgstr ""
  32872. #. type: item
  32873. #: guix-git/doc/guix.texi:21872
  32874. #, no-wrap
  32875. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  32876. msgstr ""
  32877. #. type: table
  32878. #: guix-git/doc/guix.texi:21875
  32879. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  32880. msgstr ""
  32881. #. type: table
  32882. #: guix-git/doc/guix.texi:21882
  32883. msgid "Those services are restarted right away upon completion, as with @command{herd restart}, which ensures that the latest version is running---remember that by default @command{guix system reconfigure} only restarts services that are not currently running, which is conservative: it minimizes disruption but leaves outdated services running."
  32884. msgstr ""
  32885. #. type: table
  32886. #: guix-git/doc/guix.texi:21886
  32887. msgid "Use @command{herd status} to find out candidates for restarting. @xref{Services}, for general information about services. Common services to restart would include @code{ntpd} and @code{ssh-daemon}."
  32888. msgstr ""
  32889. #. type: table
  32890. #: guix-git/doc/guix.texi:21889
  32891. msgid "By default, the @code{mcron} service is restarted. This ensures that the latest version of the unattended upgrade job will be used next time."
  32892. msgstr ""
  32893. #. type: item
  32894. #: guix-git/doc/guix.texi:21890
  32895. #, no-wrap
  32896. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  32897. msgstr ""
  32898. #. type: table
  32899. #: guix-git/doc/guix.texi:21894
  32900. msgid "This is the expiration time in seconds for system generations. System generations older that this amount of time are deleted with @command{guix system delete-generations} when an upgrade completes."
  32901. msgstr ""
  32902. #. type: quotation
  32903. #: guix-git/doc/guix.texi:21899
  32904. msgid "The unattended upgrade service does not run the garbage collector. You will probably want to set up your own mcron job to run @command{guix gc} periodically."
  32905. msgstr ""
  32906. #. type: item
  32907. #: guix-git/doc/guix.texi:21901
  32908. #, no-wrap
  32909. msgid "@code{maximum-duration} (default: @code{3600})"
  32910. msgstr ""
  32911. #. type: table
  32912. #: guix-git/doc/guix.texi:21904
  32913. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  32914. msgstr ""
  32915. #. type: table
  32916. #: guix-git/doc/guix.texi:21907
  32917. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  32918. msgstr ""
  32919. #. type: item
  32920. #: guix-git/doc/guix.texi:21908
  32921. #, no-wrap
  32922. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  32923. msgstr ""
  32924. #. type: table
  32925. #: guix-git/doc/guix.texi:21910
  32926. msgid "File where unattended upgrades are logged."
  32927. msgstr ""
  32928. #. type: cindex
  32929. #: guix-git/doc/guix.texi:21916
  32930. #, no-wrap
  32931. msgid "X11"
  32932. msgstr ""
  32933. #. type: cindex
  32934. #: guix-git/doc/guix.texi:21917
  32935. #, no-wrap
  32936. msgid "X Window System"
  32937. msgstr ""
  32938. #. type: cindex
  32939. #: guix-git/doc/guix.texi:21918 guix-git/doc/guix.texi:22114
  32940. #, no-wrap
  32941. msgid "login manager"
  32942. msgstr ""
  32943. #. type: Plain text
  32944. #: guix-git/doc/guix.texi:21923
  32945. msgid "Support for the X Window graphical display system---specifically Xorg---is provided by the @code{(gnu services xorg)} module. Note that there is no @code{xorg-service} procedure. Instead, the X server is started by the @dfn{login manager}, by default the GNOME Display Manager (GDM)."
  32946. msgstr ""
  32947. #. type: cindex
  32948. #: guix-git/doc/guix.texi:21924
  32949. #, no-wrap
  32950. msgid "GDM"
  32951. msgstr ""
  32952. #. type: cindex
  32953. #: guix-git/doc/guix.texi:21925
  32954. #, no-wrap
  32955. msgid "GNOME, login manager"
  32956. msgstr ""
  32957. #. type: anchor{#1}
  32958. #: guix-git/doc/guix.texi:21930
  32959. msgid "gdm"
  32960. msgstr ""
  32961. #. type: Plain text
  32962. #: guix-git/doc/guix.texi:21930
  32963. msgid "GDM of course allows users to log in into window managers and desktop environments other than GNOME; for those using GNOME, GDM is required for features such as automatic screen locking."
  32964. msgstr ""
  32965. #. type: cindex
  32966. #: guix-git/doc/guix.texi:21931
  32967. #, no-wrap
  32968. msgid "window manager"
  32969. msgstr ""
  32970. #. type: Plain text
  32971. #: guix-git/doc/guix.texi:21936
  32972. msgid "To use X11, you must install at least one @dfn{window manager}---for example the @code{windowmaker} or @code{openbox} packages---preferably by adding it to the @code{packages} field of your operating system definition (@pxref{operating-system Reference, system-wide packages})."
  32973. msgstr ""
  32974. #. type: anchor{#1}
  32975. #: guix-git/doc/guix.texi:21942
  32976. msgid "wayland-gdm"
  32977. msgstr ""
  32978. #. type: Plain text
  32979. #: guix-git/doc/guix.texi:21942
  32980. msgid "GDM also supports Wayland: it can itself use Wayland instead of X11 for its user interface, and it can also start Wayland sessions. The former is required for the latter, to enable, set @code{wayland?} to @code{#t} in @code{gdm-configuration}."
  32981. msgstr ""
  32982. #. type: defvar
  32983. #: guix-git/doc/guix.texi:21943
  32984. #, fuzzy, no-wrap
  32985. #| msgid "guix-publish-service-type"
  32986. msgid "gdm-service-type"
  32987. msgstr "guix-publish-service-type"
  32988. #. type: defvar
  32989. #: guix-git/doc/guix.texi:21948
  32990. msgid "This is the type for the @uref{https://wiki.gnome.org/Projects/GDM/, GNOME Desktop Manager} (GDM), a program that manages graphical display servers and handles graphical user logins. Its value must be a @code{gdm-configuration} (see below)."
  32991. msgstr ""
  32992. #. type: cindex
  32993. #: guix-git/doc/guix.texi:21949
  32994. #, no-wrap
  32995. msgid "session types"
  32996. msgstr ""
  32997. #. type: defvar
  32998. #: guix-git/doc/guix.texi:21957
  32999. msgid "GDM looks for @dfn{session types} described by the @file{.desktop} files in @file{/run/current-system/profile/share/xsessions} (for X11 sessions) and @file{/run/current-system/profile/share/wayland-sessions} (for Wayland sessions) and allows users to choose a session from the log-in screen. Packages such as @code{gnome}, @code{xfce}, @code{i3} and @code{sway} provide @file{.desktop} files; adding them to the system-wide set of packages automatically makes them available at the log-in screen."
  33000. msgstr ""
  33001. #. type: defvar
  33002. #: guix-git/doc/guix.texi:21961
  33003. msgid "In addition, @file{~/.xsession} files are honored. When available, @file{~/.xsession} must be an executable that starts a window manager and/or other X clients."
  33004. msgstr ""
  33005. #. type: deftp
  33006. #: guix-git/doc/guix.texi:21963
  33007. #, no-wrap
  33008. msgid "{Data Type} gdm-configuration"
  33009. msgstr ""
  33010. #. type: item
  33011. #: guix-git/doc/guix.texi:21965 guix-git/doc/guix.texi:22059
  33012. #, no-wrap
  33013. msgid "@code{auto-login?} (default: @code{#f})"
  33014. msgstr ""
  33015. #. type: itemx
  33016. #: guix-git/doc/guix.texi:21966
  33017. #, no-wrap
  33018. msgid "@code{default-user} (default: @code{#f})"
  33019. msgstr ""
  33020. #. type: table
  33021. #: guix-git/doc/guix.texi:21968
  33022. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  33023. msgstr ""
  33024. #. type: table
  33025. #: guix-git/doc/guix.texi:21971
  33026. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  33027. msgstr ""
  33028. #. type: item
  33029. #: guix-git/doc/guix.texi:21972
  33030. #, fuzzy, no-wrap
  33031. #| msgid "@code{manual?} (default: @code{#f})"
  33032. msgid "@code{auto-suspend?} (default @code{#t})"
  33033. msgstr "@code{manual?} (default: @code{#f})"
  33034. #. type: table
  33035. #: guix-git/doc/guix.texi:21977
  33036. msgid "When true, GDM will automatically suspend to RAM when nobody is physically connected. When a machine is used via remote desktop or SSH, this should be set to false to avoid GDM interrupting remote sessions or rendering the machine unavailable."
  33037. msgstr ""
  33038. #. type: item
  33039. #: guix-git/doc/guix.texi:21978 guix-git/doc/guix.texi:28680
  33040. #: guix-git/doc/guix.texi:30738 guix-git/doc/guix.texi:35690
  33041. #: guix-git/doc/guix.texi:35719 guix-git/doc/guix.texi:35748
  33042. #: guix-git/doc/guix.texi:35775 guix-git/doc/guix.texi:35830
  33043. #: guix-git/doc/guix.texi:35855 guix-git/doc/guix.texi:35882
  33044. #: guix-git/doc/guix.texi:35908 guix-git/doc/guix.texi:35950
  33045. #, no-wrap
  33046. msgid "@code{debug?} (default: @code{#f})"
  33047. msgstr "@code{debug?} (default: @code{#f})"
  33048. #. type: table
  33049. #: guix-git/doc/guix.texi:21980
  33050. msgid "When true, GDM writes debug messages to its log."
  33051. msgstr ""
  33052. #. type: item
  33053. #: guix-git/doc/guix.texi:21981
  33054. #, no-wrap
  33055. msgid "@code{gnome-shell-assets} (default: ...)"
  33056. msgstr ""
  33057. #. type: table
  33058. #: guix-git/doc/guix.texi:21983
  33059. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  33060. msgstr ""
  33061. #. type: item
  33062. #: guix-git/doc/guix.texi:21984
  33063. #, no-wrap
  33064. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  33065. msgstr ""
  33066. #. type: table
  33067. #: guix-git/doc/guix.texi:21986 guix-git/doc/guix.texi:22086
  33068. #: guix-git/doc/guix.texi:22191
  33069. msgid "Configuration of the Xorg graphical server."
  33070. msgstr ""
  33071. #. type: item
  33072. #: guix-git/doc/guix.texi:21987
  33073. #, fuzzy, no-wrap
  33074. #| msgid "@code{node} (default: @code{#f})"
  33075. msgid "@code{x-session} (default: @code{(xinitrc)})"
  33076. msgstr "@code{node} (default: @code{#f})"
  33077. #. type: table
  33078. #: guix-git/doc/guix.texi:21989 guix-git/doc/guix.texi:22206
  33079. msgid "Script to run before starting a X session."
  33080. msgstr ""
  33081. #. type: item
  33082. #: guix-git/doc/guix.texi:21990
  33083. #, fuzzy, no-wrap
  33084. #| msgid "@code{id} (default: @code{#f})"
  33085. msgid "@code{xdmcp?} (default: @code{#f})"
  33086. msgstr "@code{id} (default: @code{#f})"
  33087. #. type: table
  33088. #: guix-git/doc/guix.texi:21995
  33089. msgid "When true, enable the X Display Manager Control Protocol (XDMCP). This should only be enabled in trusted environments, as the protocol is not secure. When enabled, GDM listens for XDMCP queries on the UDP port 177."
  33090. msgstr ""
  33091. #. type: item
  33092. #: guix-git/doc/guix.texi:21996
  33093. #, no-wrap
  33094. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  33095. msgstr ""
  33096. #. type: table
  33097. #: guix-git/doc/guix.texi:21998
  33098. msgid "File name of the @code{dbus-daemon} executable."
  33099. msgstr ""
  33100. #. type: item
  33101. #: guix-git/doc/guix.texi:21999
  33102. #, no-wrap
  33103. msgid "@code{gdm} (default: @code{gdm})"
  33104. msgstr "@code{gdm} (default: @code{gdm})"
  33105. #. type: table
  33106. #: guix-git/doc/guix.texi:22001
  33107. msgid "The GDM package to use."
  33108. msgstr ""
  33109. #. type: item
  33110. #: guix-git/doc/guix.texi:22002
  33111. #, fuzzy, no-wrap
  33112. #| msgid "@code{node} (default: @code{#f})"
  33113. msgid "@code{wayland?} (default: @code{#f})"
  33114. msgstr "@code{node} (default: @code{#f})"
  33115. #. type: table
  33116. #: guix-git/doc/guix.texi:22004
  33117. msgid "When true, enables Wayland in GDM, necessary to use Wayland sessions."
  33118. msgstr ""
  33119. #. type: item
  33120. #: guix-git/doc/guix.texi:22005
  33121. #, fuzzy, no-wrap
  33122. msgid "@code{wayland-session} (default: @code{gdm-wayland-session-wrapper})"
  33123. msgstr "@code{tmpdir} (default: @code{#f})"
  33124. #. type: table
  33125. #: guix-git/doc/guix.texi:22008
  33126. msgid "The Wayland session wrapper to use, needed to setup the environment."
  33127. msgstr ""
  33128. #. type: defvar
  33129. #: guix-git/doc/guix.texi:22011
  33130. #, fuzzy, no-wrap
  33131. #| msgid "guix-publish-service-type"
  33132. msgid "slim-service-type"
  33133. msgstr "guix-publish-service-type"
  33134. #. type: defvar
  33135. #: guix-git/doc/guix.texi:22013
  33136. msgid "This is the type for the SLiM graphical login manager for X11."
  33137. msgstr ""
  33138. #. type: defvar
  33139. #: guix-git/doc/guix.texi:22017
  33140. msgid "Like GDM, SLiM looks for session types described by @file{.desktop} files and allows users to choose a session from the log-in screen using @kbd{F1}. It also honors @file{~/.xsession} files."
  33141. msgstr ""
  33142. #. type: defvar
  33143. #: guix-git/doc/guix.texi:22024
  33144. msgid "Unlike GDM, SLiM does not spawn the user session on a different VT after logging in, which means that you can only start one graphical session. If you want to be able to run multiple graphical sessions at the same time you have to add multiple SLiM services to your system services. The following example shows how to replace the default GDM service with two SLiM services on tty7 and tty8."
  33145. msgstr ""
  33146. #. type: lisp
  33147. #: guix-git/doc/guix.texi:22029
  33148. #, no-wrap
  33149. msgid ""
  33150. "(use-modules (gnu services)\n"
  33151. " (gnu services desktop)\n"
  33152. " (gnu services xorg))\n"
  33153. "\n"
  33154. msgstr ""
  33155. #. type: lisp
  33156. #: guix-git/doc/guix.texi:22040
  33157. #, no-wrap
  33158. msgid ""
  33159. "(operating-system\n"
  33160. " ;; ...\n"
  33161. " (services (cons* (service slim-service-type (slim-configuration\n"
  33162. " (display \":0\")\n"
  33163. " (vt \"vt7\")))\n"
  33164. " (service slim-service-type (slim-configuration\n"
  33165. " (display \":1\")\n"
  33166. " (vt \"vt8\")))\n"
  33167. " (modify-services %desktop-services\n"
  33168. " (delete gdm-service-type)))))\n"
  33169. msgstr ""
  33170. #. type: deftp
  33171. #: guix-git/doc/guix.texi:22044
  33172. #, no-wrap
  33173. msgid "{Data Type} slim-configuration"
  33174. msgstr ""
  33175. #. type: deftp
  33176. #: guix-git/doc/guix.texi:22046
  33177. msgid "Data type representing the configuration of @code{slim-service-type}."
  33178. msgstr ""
  33179. #. type: table
  33180. #: guix-git/doc/guix.texi:22050
  33181. msgid "Whether to allow logins with empty passwords."
  33182. msgstr ""
  33183. #. type: item
  33184. #: guix-git/doc/guix.texi:22051
  33185. #, fuzzy, no-wrap
  33186. #| msgid "@code{hangup?} (default: @code{#f})"
  33187. msgid "@code{gnupg?} (default: @code{#f})"
  33188. msgstr "@code{hangup?} (padrão: @code{#f})"
  33189. #. type: table
  33190. #: guix-git/doc/guix.texi:22058
  33191. msgid "If enabled, @code{pam-gnupg} will attempt to automatically unlock the user's GPG keys with the login password via @code{gpg-agent}. The keygrips of all keys to be unlocked should be written to @file{~/.pam-gnupg}, and can be queried with @code{gpg -K --with-keygrip}. Presetting passphrases must be enabled by adding @code{allow-preset-passphrase} in @file{~/.gnupg/gpg-agent.conf}."
  33192. msgstr ""
  33193. #. type: itemx
  33194. #: guix-git/doc/guix.texi:22060
  33195. #, no-wrap
  33196. msgid "@code{default-user} (default: @code{\"\"})"
  33197. msgstr ""
  33198. #. type: table
  33199. #: guix-git/doc/guix.texi:22062
  33200. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  33201. msgstr ""
  33202. #. type: table
  33203. #: guix-git/doc/guix.texi:22065
  33204. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  33205. msgstr ""
  33206. #. type: item
  33207. #: guix-git/doc/guix.texi:22066
  33208. #, no-wrap
  33209. msgid "@code{theme} (default: @code{%default-slim-theme})"
  33210. msgstr ""
  33211. #. type: itemx
  33212. #: guix-git/doc/guix.texi:22067
  33213. #, no-wrap
  33214. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  33215. msgstr ""
  33216. #. type: table
  33217. #: guix-git/doc/guix.texi:22069
  33218. msgid "The graphical theme to use and its name."
  33219. msgstr ""
  33220. #. type: item
  33221. #: guix-git/doc/guix.texi:22070
  33222. #, no-wrap
  33223. msgid "@code{auto-login-session} (default: @code{#f})"
  33224. msgstr ""
  33225. #. type: table
  33226. #: guix-git/doc/guix.texi:22073
  33227. msgid "If true, this must be the name of the executable to start as the default session---e.g., @code{(file-append windowmaker \"/bin/windowmaker\")}."
  33228. msgstr ""
  33229. #. type: table
  33230. #: guix-git/doc/guix.texi:22077
  33231. msgid "If false, a session described by one of the available @file{.desktop} files in @code{/run/current-system/profile} and @code{~/.guix-profile} will be used."
  33232. msgstr ""
  33233. #. type: quotation
  33234. #: guix-git/doc/guix.texi:22082
  33235. msgid "You must install at least one window manager in the system profile or in your user profile. Failing to do that, if @code{auto-login-session} is false, you will be unable to log in."
  33236. msgstr ""
  33237. #. type: item
  33238. #: guix-git/doc/guix.texi:22084 guix-git/doc/guix.texi:22189
  33239. #, no-wrap
  33240. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  33241. msgstr ""
  33242. #. type: item
  33243. #: guix-git/doc/guix.texi:22087
  33244. #, no-wrap
  33245. msgid "@code{display} (default @code{\":0\"})"
  33246. msgstr ""
  33247. #. type: table
  33248. #: guix-git/doc/guix.texi:22089
  33249. msgid "The display on which to start the Xorg graphical server."
  33250. msgstr ""
  33251. #. type: item
  33252. #: guix-git/doc/guix.texi:22090
  33253. #, no-wrap
  33254. msgid "@code{vt} (default @code{\"vt7\"})"
  33255. msgstr ""
  33256. #. type: table
  33257. #: guix-git/doc/guix.texi:22092
  33258. msgid "The VT on which to start the Xorg graphical server."
  33259. msgstr ""
  33260. #. type: item
  33261. #: guix-git/doc/guix.texi:22093
  33262. #, no-wrap
  33263. msgid "@code{xauth} (default: @code{xauth})"
  33264. msgstr ""
  33265. #. type: table
  33266. #: guix-git/doc/guix.texi:22095
  33267. msgid "The XAuth package to use."
  33268. msgstr ""
  33269. #. type: item
  33270. #: guix-git/doc/guix.texi:22096
  33271. #, no-wrap
  33272. msgid "@code{shepherd} (default: @code{shepherd})"
  33273. msgstr ""
  33274. #. type: table
  33275. #: guix-git/doc/guix.texi:22099
  33276. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  33277. msgstr ""
  33278. #. type: item
  33279. #: guix-git/doc/guix.texi:22100
  33280. #, no-wrap
  33281. msgid "@code{sessreg} (default: @code{sessreg})"
  33282. msgstr ""
  33283. #. type: table
  33284. #: guix-git/doc/guix.texi:22102
  33285. msgid "The sessreg package used in order to register the session."
  33286. msgstr ""
  33287. #. type: item
  33288. #: guix-git/doc/guix.texi:22103
  33289. #, no-wrap
  33290. msgid "@code{slim} (default: @code{slim})"
  33291. msgstr ""
  33292. #. type: table
  33293. #: guix-git/doc/guix.texi:22105
  33294. msgid "The SLiM package to use."
  33295. msgstr ""
  33296. #. type: defvar
  33297. #: guix-git/doc/guix.texi:22108
  33298. #, no-wrap
  33299. msgid "%default-theme"
  33300. msgstr ""
  33301. #. type: defvarx
  33302. #: guix-git/doc/guix.texi:22109
  33303. #, no-wrap
  33304. msgid "%default-theme-name"
  33305. msgstr ""
  33306. #. type: defvar
  33307. #: guix-git/doc/guix.texi:22111
  33308. msgid "The default SLiM theme and its name."
  33309. msgstr ""
  33310. #. type: cindex
  33311. #: guix-git/doc/guix.texi:22115
  33312. #, no-wrap
  33313. msgid "X11 login"
  33314. msgstr ""
  33315. #. type: defvar
  33316. #: guix-git/doc/guix.texi:22116
  33317. #, fuzzy, no-wrap
  33318. #| msgid "guix-publish-service-type"
  33319. msgid "sddm-service-type"
  33320. msgstr "guix-publish-service-type"
  33321. #. type: defvar
  33322. #: guix-git/doc/guix.texi:22120
  33323. msgid "This is the type of the service to run the @uref{https://github.com/sddm/sddm,SDDM display manager}. Its value must be a @code{sddm-configuration} record (see below)."
  33324. msgstr ""
  33325. #. type: defvar
  33326. #: guix-git/doc/guix.texi:22122
  33327. msgid "Here's an example use:"
  33328. msgstr ""
  33329. #. type: lisp
  33330. #: guix-git/doc/guix.texi:22128
  33331. #, no-wrap
  33332. msgid ""
  33333. "(service sddm-service-type\n"
  33334. " (sddm-configuration\n"
  33335. " (auto-login-user \"alice\")\n"
  33336. " (auto-login-session \"xfce.desktop\")))\n"
  33337. msgstr ""
  33338. #. type: deftp
  33339. #: guix-git/doc/guix.texi:22131
  33340. #, no-wrap
  33341. msgid "{Data Type} sddm-configuration"
  33342. msgstr ""
  33343. #. type: deftp
  33344. #: guix-git/doc/guix.texi:22134
  33345. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  33346. msgstr ""
  33347. #. type: item
  33348. #: guix-git/doc/guix.texi:22136
  33349. #, no-wrap
  33350. msgid "@code{sddm} (default: @code{sddm})"
  33351. msgstr ""
  33352. #. type: table
  33353. #: guix-git/doc/guix.texi:22138
  33354. msgid "The SDDM package to use."
  33355. msgstr ""
  33356. #. type: item
  33357. #: guix-git/doc/guix.texi:22139
  33358. #, no-wrap
  33359. msgid "@code{display-server} (default: \"x11\")"
  33360. msgstr ""
  33361. #. type: table
  33362. #: guix-git/doc/guix.texi:22142
  33363. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  33364. msgstr ""
  33365. #. type: item
  33366. #: guix-git/doc/guix.texi:22143
  33367. #, no-wrap
  33368. msgid "@code{numlock} (default: \"on\")"
  33369. msgstr ""
  33370. #. type: table
  33371. #: guix-git/doc/guix.texi:22145
  33372. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  33373. msgstr ""
  33374. #. type: item
  33375. #: guix-git/doc/guix.texi:22146
  33376. #, fuzzy, no-wrap
  33377. msgid "@code{halt-command} (default @code{#~(string-append #$shepherd \"/sbin/halt\")})"
  33378. msgstr "@code{tmpdir} (default: @code{#f})"
  33379. #. type: table
  33380. #: guix-git/doc/guix.texi:22148
  33381. msgid "Command to run when halting."
  33382. msgstr ""
  33383. #. type: item
  33384. #: guix-git/doc/guix.texi:22149
  33385. #, no-wrap
  33386. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  33387. msgstr ""
  33388. #. type: table
  33389. #: guix-git/doc/guix.texi:22151
  33390. msgid "Command to run when rebooting."
  33391. msgstr ""
  33392. #. type: item
  33393. #: guix-git/doc/guix.texi:22152
  33394. #, no-wrap
  33395. msgid "@code{theme} (default \"maldives\")"
  33396. msgstr ""
  33397. #. type: table
  33398. #: guix-git/doc/guix.texi:22155
  33399. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  33400. msgstr ""
  33401. #. type: item
  33402. #: guix-git/doc/guix.texi:22156
  33403. #, no-wrap
  33404. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  33405. msgstr ""
  33406. #. type: table
  33407. #: guix-git/doc/guix.texi:22158
  33408. msgid "Directory to look for themes."
  33409. msgstr ""
  33410. #. type: item
  33411. #: guix-git/doc/guix.texi:22159
  33412. #, no-wrap
  33413. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  33414. msgstr ""
  33415. #. type: table
  33416. #: guix-git/doc/guix.texi:22161
  33417. msgid "Directory to look for faces."
  33418. msgstr ""
  33419. #. type: item
  33420. #: guix-git/doc/guix.texi:22162
  33421. #, no-wrap
  33422. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  33423. msgstr ""
  33424. #. type: table
  33425. #: guix-git/doc/guix.texi:22164
  33426. msgid "Default PATH to use."
  33427. msgstr ""
  33428. #. type: item
  33429. #: guix-git/doc/guix.texi:22165
  33430. #, no-wrap
  33431. msgid "@code{minimum-uid} (default: 1000)"
  33432. msgstr ""
  33433. #. type: table
  33434. #: guix-git/doc/guix.texi:22167
  33435. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  33436. msgstr ""
  33437. #. type: item
  33438. #: guix-git/doc/guix.texi:22168
  33439. #, no-wrap
  33440. msgid "@code{maximum-uid} (default: 2000)"
  33441. msgstr ""
  33442. #. type: table
  33443. #: guix-git/doc/guix.texi:22170
  33444. msgid "Maximum UID to display in SDDM."
  33445. msgstr ""
  33446. #. type: item
  33447. #: guix-git/doc/guix.texi:22171
  33448. #, no-wrap
  33449. msgid "@code{remember-last-user?} (default #t)"
  33450. msgstr ""
  33451. #. type: table
  33452. #: guix-git/doc/guix.texi:22173
  33453. msgid "Remember last user."
  33454. msgstr ""
  33455. #. type: item
  33456. #: guix-git/doc/guix.texi:22174
  33457. #, no-wrap
  33458. msgid "@code{remember-last-session?} (default #t)"
  33459. msgstr ""
  33460. #. type: table
  33461. #: guix-git/doc/guix.texi:22176
  33462. msgid "Remember last session."
  33463. msgstr ""
  33464. #. type: item
  33465. #: guix-git/doc/guix.texi:22177
  33466. #, no-wrap
  33467. msgid "@code{hide-users} (default \"\")"
  33468. msgstr ""
  33469. #. type: table
  33470. #: guix-git/doc/guix.texi:22179
  33471. msgid "Usernames to hide from SDDM greeter."
  33472. msgstr ""
  33473. #. type: item
  33474. #: guix-git/doc/guix.texi:22180
  33475. #, no-wrap
  33476. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  33477. msgstr ""
  33478. #. type: table
  33479. #: guix-git/doc/guix.texi:22182
  33480. msgid "Users with shells listed will be hidden from the SDDM greeter."
  33481. msgstr ""
  33482. #. type: item
  33483. #: guix-git/doc/guix.texi:22183
  33484. #, no-wrap
  33485. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  33486. msgstr ""
  33487. #. type: table
  33488. #: guix-git/doc/guix.texi:22185
  33489. msgid "Script to run before starting a wayland session."
  33490. msgstr ""
  33491. #. type: item
  33492. #: guix-git/doc/guix.texi:22186
  33493. #, no-wrap
  33494. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  33495. msgstr ""
  33496. #. type: table
  33497. #: guix-git/doc/guix.texi:22188
  33498. msgid "Directory to look for desktop files starting wayland sessions."
  33499. msgstr ""
  33500. #. type: item
  33501. #: guix-git/doc/guix.texi:22192
  33502. #, no-wrap
  33503. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  33504. msgstr ""
  33505. #. type: table
  33506. #: guix-git/doc/guix.texi:22194
  33507. msgid "Path to xauth."
  33508. msgstr ""
  33509. #. type: item
  33510. #: guix-git/doc/guix.texi:22195
  33511. #, no-wrap
  33512. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  33513. msgstr ""
  33514. #. type: table
  33515. #: guix-git/doc/guix.texi:22197
  33516. msgid "Path to Xephyr."
  33517. msgstr ""
  33518. #. type: item
  33519. #: guix-git/doc/guix.texi:22198
  33520. #, no-wrap
  33521. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  33522. msgstr ""
  33523. #. type: table
  33524. #: guix-git/doc/guix.texi:22200
  33525. msgid "Script to run after starting xorg-server."
  33526. msgstr ""
  33527. #. type: item
  33528. #: guix-git/doc/guix.texi:22201
  33529. #, no-wrap
  33530. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  33531. msgstr ""
  33532. #. type: table
  33533. #: guix-git/doc/guix.texi:22203
  33534. msgid "Script to run before stopping xorg-server."
  33535. msgstr ""
  33536. #. type: item
  33537. #: guix-git/doc/guix.texi:22204
  33538. #, no-wrap
  33539. msgid "@code{xsession-command} (default: @code{xinitrc})"
  33540. msgstr ""
  33541. #. type: item
  33542. #: guix-git/doc/guix.texi:22207
  33543. #, no-wrap
  33544. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  33545. msgstr ""
  33546. #. type: table
  33547. #: guix-git/doc/guix.texi:22209
  33548. msgid "Directory to look for desktop files starting X sessions."
  33549. msgstr ""
  33550. #. type: item
  33551. #: guix-git/doc/guix.texi:22210
  33552. #, no-wrap
  33553. msgid "@code{minimum-vt} (default: 7)"
  33554. msgstr ""
  33555. #. type: table
  33556. #: guix-git/doc/guix.texi:22212
  33557. msgid "Minimum VT to use."
  33558. msgstr ""
  33559. #. type: item
  33560. #: guix-git/doc/guix.texi:22213
  33561. #, no-wrap
  33562. msgid "@code{auto-login-user} (default \"\")"
  33563. msgstr ""
  33564. #. type: table
  33565. #: guix-git/doc/guix.texi:22216
  33566. msgid "User account that will be automatically logged in. Setting this to the empty string disables auto-login."
  33567. msgstr ""
  33568. #. type: item
  33569. #: guix-git/doc/guix.texi:22217
  33570. #, no-wrap
  33571. msgid "@code{auto-login-session} (default \"\")"
  33572. msgstr ""
  33573. #. type: table
  33574. #: guix-git/doc/guix.texi:22219
  33575. msgid "The @file{.desktop} file name to use as the auto-login session, or the empty string."
  33576. msgstr ""
  33577. #. type: item
  33578. #: guix-git/doc/guix.texi:22220
  33579. #, no-wrap
  33580. msgid "@code{relogin?} (default #f)"
  33581. msgstr ""
  33582. #. type: table
  33583. #: guix-git/doc/guix.texi:22222
  33584. msgid "Relogin after logout."
  33585. msgstr ""
  33586. #. type: cindex
  33587. #: guix-git/doc/guix.texi:22226
  33588. #, no-wrap
  33589. msgid "lightdm, graphical login manager"
  33590. msgstr ""
  33591. #. type: cindex
  33592. #: guix-git/doc/guix.texi:22227
  33593. #, no-wrap
  33594. msgid "display manager, lightdm"
  33595. msgstr ""
  33596. #. type: anchor{#1}
  33597. #: guix-git/doc/guix.texi:22229
  33598. msgid "lightdm"
  33599. msgstr ""
  33600. #. type: defvar
  33601. #: guix-git/doc/guix.texi:22229
  33602. #, fuzzy, no-wrap
  33603. #| msgid "guix-publish-service-type"
  33604. msgid "lightdm-service-type"
  33605. msgstr "guix-publish-service-type"
  33606. #. type: defvar
  33607. #: guix-git/doc/guix.texi:22237
  33608. msgid "This is the type of the service to run the @url{https://github.com/canonical/lightdm,LightDM display manager}. Its value must be a @code{lightdm-configuration} record, which is documented below. Among its distinguishing features are TigerVNC integration for easily remoting your desktop as well as support for the XDMCP protocol, which can be used by remote clients to start a session from the login manager."
  33609. msgstr ""
  33610. #. type: defvar
  33611. #: guix-git/doc/guix.texi:22239
  33612. msgid "In its most basic form, it can be used simply as:"
  33613. msgstr ""
  33614. #. type: lisp
  33615. #: guix-git/doc/guix.texi:22242
  33616. #, fuzzy, no-wrap
  33617. msgid "(service lightdm-service-type)\n"
  33618. msgstr "guix-publish-service-type"
  33619. #. type: defvar
  33620. #: guix-git/doc/guix.texi:22246
  33621. msgid "A more elaborate example making use of the VNC capabilities and enabling more features and verbose logs could look like:"
  33622. msgstr ""
  33623. #. type: lisp
  33624. #: guix-git/doc/guix.texi:22260
  33625. #, no-wrap
  33626. msgid ""
  33627. "(service lightdm-service-type\n"
  33628. " (lightdm-configuration\n"
  33629. " (allow-empty-passwords? #t)\n"
  33630. " (xdmcp? #t)\n"
  33631. " (vnc-server? #t)\n"
  33632. " (vnc-server-command\n"
  33633. " (file-append tigervnc-server \"/bin/Xvnc\"\n"
  33634. " \" -SecurityTypes None\"))\n"
  33635. " (seats\n"
  33636. " (list (lightdm-seat-configuration\n"
  33637. " (name \"*\")\n"
  33638. " (user-session \"ratpoison\"))))))\n"
  33639. msgstr ""
  33640. #. type: deftp
  33641. #: guix-git/doc/guix.texi:22267
  33642. #, fuzzy, no-wrap
  33643. msgid "{Data Type} lightdm-configuration"
  33644. msgstr "build-machine {Data Type}"
  33645. #. type: deftp
  33646. #: guix-git/doc/guix.texi:22269
  33647. msgid "Available @code{lightdm-configuration} fields are:"
  33648. msgstr ""
  33649. #. type: item
  33650. #: guix-git/doc/guix.texi:22271
  33651. #, fuzzy, no-wrap
  33652. #| msgid "@code{dbus?} (default: @code{#t})"
  33653. msgid "@code{lightdm} (default: @code{lightdm}) (type: file-like)"
  33654. msgstr "@code{dbus?} (padrão: @code{#t})"
  33655. #. type: table
  33656. #: guix-git/doc/guix.texi:22273
  33657. #, fuzzy
  33658. msgid "The lightdm package to use."
  33659. msgstr "O pacote GPM a ser usado."
  33660. #. type: table
  33661. #: guix-git/doc/guix.texi:22276
  33662. msgid "Whether users not having a password set can login."
  33663. msgstr ""
  33664. #. type: table
  33665. #: guix-git/doc/guix.texi:22279
  33666. msgid "Enable verbose output."
  33667. msgstr ""
  33668. #. type: item
  33669. #: guix-git/doc/guix.texi:22280
  33670. #, fuzzy, no-wrap
  33671. #| msgid "@code{dbus?} (default: @code{#t})"
  33672. msgid "@code{xorg-configuration} (type: xorg-configuration)"
  33673. msgstr "@code{dbus?} (padrão: @code{#t})"
  33674. #. type: table
  33675. #: guix-git/doc/guix.texi:22284
  33676. msgid "The default Xorg server configuration to use to generate the Xorg server start script. It can be refined per seat via the @code{xserver-command} of the @code{<lightdm-seat-configuration>} record, if desired."
  33677. msgstr ""
  33678. #. type: item
  33679. #: guix-git/doc/guix.texi:22285
  33680. #, fuzzy, no-wrap
  33681. msgid "@code{greeters} (type: list-of-greeter-configurations)"
  33682. msgstr "build-machine {Data Type}"
  33683. #. type: table
  33684. #: guix-git/doc/guix.texi:22287
  33685. msgid "The LightDM greeter configurations specifying the greeters to use."
  33686. msgstr ""
  33687. #. type: item
  33688. #: guix-git/doc/guix.texi:22288
  33689. #, fuzzy, no-wrap
  33690. msgid "@code{seats} (type: list-of-seat-configurations)"
  33691. msgstr "build-machine {Data Type}"
  33692. #. type: table
  33693. #: guix-git/doc/guix.texi:22290
  33694. msgid "The seat configurations to use. A LightDM seat is akin to a user."
  33695. msgstr ""
  33696. #. type: item
  33697. #: guix-git/doc/guix.texi:22291 guix-git/doc/guix.texi:32329
  33698. #, fuzzy, no-wrap
  33699. #| msgid "@code{debug?} (default: @code{#f})"
  33700. msgid "@code{xdmcp?} (default: @code{#f}) (type: boolean)"
  33701. msgstr "@code{debug?} (default: @code{#f})"
  33702. #. type: table
  33703. #: guix-git/doc/guix.texi:22293
  33704. msgid "Whether a XDMCP server should listen on port UDP 177."
  33705. msgstr ""
  33706. #. type: item
  33707. #: guix-git/doc/guix.texi:22294
  33708. #, fuzzy, no-wrap
  33709. msgid "@code{xdmcp-listen-address} (type: maybe-string)"
  33710. msgstr "@code{remote?} (padrão: @code{#f})"
  33711. #. type: table
  33712. #: guix-git/doc/guix.texi:22297
  33713. msgid "The host or IP address the XDMCP server listens for incoming connections. When unspecified, listen on for any hosts/IP addresses."
  33714. msgstr ""
  33715. #. type: item
  33716. #: guix-git/doc/guix.texi:22298
  33717. #, fuzzy, no-wrap
  33718. #| msgid "@code{users} (default: @code{#f})"
  33719. msgid "@code{vnc-server?} (default: @code{#f}) (type: boolean)"
  33720. msgstr "@code{users} (default: @code{#f})"
  33721. #. type: table
  33722. #: guix-git/doc/guix.texi:22300
  33723. msgid "Whether a VNC server is started."
  33724. msgstr ""
  33725. #. type: item
  33726. #: guix-git/doc/guix.texi:22301
  33727. #, fuzzy, no-wrap
  33728. msgid "@code{vnc-server-command} (type: file-like)"
  33729. msgstr "@code{remote?} (padrão: @code{#f})"
  33730. #. type: table
  33731. #: guix-git/doc/guix.texi:22305
  33732. msgid "The Xvnc command to use for the VNC server, it's possible to provide extra options not otherwise exposed along the command, for example to disable security:"
  33733. msgstr ""
  33734. #. type: lisp
  33735. #: guix-git/doc/guix.texi:22309
  33736. #, no-wrap
  33737. msgid ""
  33738. "(vnc-server-command (file-append tigervnc-server \"/bin/Xvnc\"\n"
  33739. " \" -SecurityTypes None\" ))\n"
  33740. msgstr ""
  33741. #. type: table
  33742. #: guix-git/doc/guix.texi:22313
  33743. msgid "Or to set a PasswordFile for the classic (unsecure) VncAuth mechanism:"
  33744. msgstr ""
  33745. #. type: lisp
  33746. #: guix-git/doc/guix.texi:22317
  33747. #, no-wrap
  33748. msgid ""
  33749. "(vnc-server-command (file-append tigervnc-server \"/bin/Xvnc\"\n"
  33750. " \" -PasswordFile /var/lib/lightdm/.vnc/passwd\"))\n"
  33751. msgstr ""
  33752. #. type: table
  33753. #: guix-git/doc/guix.texi:22323
  33754. msgid "The password file should be manually created using the @command{vncpasswd} command. Note that LightDM will create new sessions for VNC users, which means they need to authenticate in the same way as local users would."
  33755. msgstr ""
  33756. #. type: item
  33757. #: guix-git/doc/guix.texi:22324
  33758. #, fuzzy, no-wrap
  33759. msgid "@code{vnc-server-listen-address} (type: maybe-string)"
  33760. msgstr "@code{remote?} (padrão: @code{#f})"
  33761. #. type: table
  33762. #: guix-git/doc/guix.texi:22327
  33763. msgid "The host or IP address the VNC server listens for incoming connections. When unspecified, listen for any hosts/IP addresses."
  33764. msgstr ""
  33765. #. type: item
  33766. #: guix-git/doc/guix.texi:22328
  33767. #, fuzzy, no-wrap
  33768. #| msgid "@code{debug?} (default: @code{#f})"
  33769. msgid "@code{vnc-server-port} (default: @code{5900}) (type: number)"
  33770. msgstr "@code{debug?} (default: @code{#f})"
  33771. #. type: table
  33772. #: guix-git/doc/guix.texi:22330
  33773. msgid "The TCP port the VNC server should listen to."
  33774. msgstr ""
  33775. #. type: item
  33776. #: guix-git/doc/guix.texi:22331 guix-git/doc/guix.texi:22380
  33777. #: guix-git/doc/guix.texi:22418
  33778. #, fuzzy, no-wrap
  33779. #| msgid "@code{debug?} (default: @code{#f})"
  33780. msgid "@code{extra-config} (default: @code{'()}) (type: list-of-strings)"
  33781. msgstr "@code{debug?} (default: @code{#f})"
  33782. #. type: table
  33783. #: guix-git/doc/guix.texi:22333
  33784. msgid "Extra configuration values to append to the LightDM configuration file."
  33785. msgstr ""
  33786. #. type: deftp
  33787. #: guix-git/doc/guix.texi:22341
  33788. #, fuzzy, no-wrap
  33789. msgid "{Data Type} lightdm-gtk-greeter-configuration"
  33790. msgstr "build-machine {Data Type}"
  33791. #. type: deftp
  33792. #: guix-git/doc/guix.texi:22343
  33793. msgid "Available @code{lightdm-gtk-greeter-configuration} fields are:"
  33794. msgstr ""
  33795. #. type: item
  33796. #: guix-git/doc/guix.texi:22345
  33797. #, fuzzy, no-wrap
  33798. msgid "@code{lightdm-gtk-greeter} (default: @code{lightdm-gtk-greeter}) (type: file-like)"
  33799. msgstr "@code{remote?} (padrão: @code{#f})"
  33800. #. type: table
  33801. #: guix-git/doc/guix.texi:22347
  33802. #, fuzzy
  33803. msgid "The lightdm-gtk-greeter package to use."
  33804. msgstr "O pacote GPM a ser usado."
  33805. #. type: item
  33806. #: guix-git/doc/guix.texi:22348
  33807. #, no-wrap
  33808. msgid "@code{assets} (default: @code{(adwaita-icon-theme gnome-themes-extra hicolor-icon-theme)}) (type: list-of-file-likes)"
  33809. msgstr ""
  33810. #. type: table
  33811. #: guix-git/doc/guix.texi:22351
  33812. msgid "The list of packages complementing the greeter, such as package providing icon themes."
  33813. msgstr ""
  33814. #. type: item
  33815. #: guix-git/doc/guix.texi:22352
  33816. #, fuzzy, no-wrap
  33817. msgid "@code{theme-name} (default: @code{\"Adwaita\"}) (type: string)"
  33818. msgstr "@code{remote?} (padrão: @code{#f})"
  33819. #. type: table
  33820. #: guix-git/doc/guix.texi:22354
  33821. #, fuzzy
  33822. #| msgid "The host name of the remote machine."
  33823. msgid "The name of the theme to use."
  33824. msgstr "O nome de host da máquina remota."
  33825. #. type: item
  33826. #: guix-git/doc/guix.texi:22355
  33827. #, fuzzy, no-wrap
  33828. msgid "@code{icon-theme-name} (default: @code{\"Adwaita\"}) (type: string)"
  33829. msgstr "@code{remote?} (padrão: @code{#f})"
  33830. #. type: table
  33831. #: guix-git/doc/guix.texi:22357
  33832. #, fuzzy
  33833. #| msgid "The host name of the remote machine."
  33834. msgid "The name of the icon theme to use."
  33835. msgstr "O nome de host da máquina remota."
  33836. #. type: item
  33837. #: guix-git/doc/guix.texi:22358
  33838. #, fuzzy, no-wrap
  33839. msgid "@code{cursor-theme-name} (default: @code{\"Adwaita\"}) (type: string)"
  33840. msgstr "@code{remote?} (padrão: @code{#f})"
  33841. #. type: table
  33842. #: guix-git/doc/guix.texi:22360
  33843. #, fuzzy
  33844. #| msgid "The host name of the remote machine."
  33845. msgid "The name of the cursor theme to use."
  33846. msgstr "O nome de host da máquina remota."
  33847. #. type: item
  33848. #: guix-git/doc/guix.texi:22361
  33849. #, fuzzy, no-wrap
  33850. #| msgid "@code{debug?} (default: @code{#f})"
  33851. msgid "@code{cursor-theme-size} (default: @code{16}) (type: number)"
  33852. msgstr "@code{debug?} (default: @code{#f})"
  33853. #. type: table
  33854. #: guix-git/doc/guix.texi:22363
  33855. #, fuzzy
  33856. #| msgid "The host name of the remote machine."
  33857. msgid "The size to use for the cursor theme."
  33858. msgstr "O nome de host da máquina remota."
  33859. #. type: item
  33860. #: guix-git/doc/guix.texi:22364
  33861. #, fuzzy, no-wrap
  33862. #| msgid "@code{no-hints?} (default: @code{#f})"
  33863. msgid "@code{allow-debugging?} (type: maybe-boolean)"
  33864. msgstr "@code{no-hints?} (padrão: @code{#f})"
  33865. #. type: table
  33866. #: guix-git/doc/guix.texi:22366
  33867. msgid "Set to #t to enable debug log level."
  33868. msgstr ""
  33869. #. type: item
  33870. #: guix-git/doc/guix.texi:22367
  33871. #, fuzzy, no-wrap
  33872. #| msgid "@code{dbus?} (default: @code{#t})"
  33873. msgid "@code{background} (type: file-like)"
  33874. msgstr "@code{dbus?} (padrão: @code{#t})"
  33875. #. type: table
  33876. #: guix-git/doc/guix.texi:22369
  33877. #, fuzzy
  33878. #| msgid "The GPM package to use."
  33879. msgid "The background image to use."
  33880. msgstr "O pacote GPM a ser usado."
  33881. #. type: item
  33882. #: guix-git/doc/guix.texi:22370
  33883. #, fuzzy, no-wrap
  33884. #| msgid "@code{debug?} (default: @code{#f})"
  33885. msgid "@code{at-spi-enabled?} (default: @code{#f}) (type: boolean)"
  33886. msgstr "@code{debug?} (default: @code{#f})"
  33887. #. type: table
  33888. #: guix-git/doc/guix.texi:22373
  33889. msgid "Enable accessibility support through the Assistive Technology Service Provider Interface (AT-SPI)."
  33890. msgstr ""
  33891. #. type: item
  33892. #: guix-git/doc/guix.texi:22374
  33893. #, fuzzy, no-wrap
  33894. #| msgid "@code{dbus?} (default: @code{#t})"
  33895. msgid "@code{a11y-states} (default: @code{(contrast font keyboard reader)}) (type: list-of-a11y-states)"
  33896. msgstr "@code{dbus?} (padrão: @code{#t})"
  33897. #. type: table
  33898. #: guix-git/doc/guix.texi:22376
  33899. msgid "The accessibility features to enable, given as list of symbols."
  33900. msgstr ""
  33901. #. type: item
  33902. #: guix-git/doc/guix.texi:22377
  33903. #, fuzzy, no-wrap
  33904. msgid "@code{reader} (type: maybe-file-like)"
  33905. msgstr "@code{remote?} (padrão: @code{#f})"
  33906. #. type: table
  33907. #: guix-git/doc/guix.texi:22379
  33908. msgid "The command to use to launch a screen reader."
  33909. msgstr ""
  33910. #. type: table
  33911. #: guix-git/doc/guix.texi:22383
  33912. msgid "Extra configuration values to append to the LightDM GTK Greeter configuration file."
  33913. msgstr ""
  33914. #. type: deftp
  33915. #: guix-git/doc/guix.texi:22390
  33916. #, fuzzy, no-wrap
  33917. msgid "{Data Type} lightdm-seat-configuration"
  33918. msgstr "build-machine {Data Type}"
  33919. #. type: deftp
  33920. #: guix-git/doc/guix.texi:22392
  33921. msgid "Available @code{lightdm-seat-configuration} fields are:"
  33922. msgstr ""
  33923. #. type: item
  33924. #: guix-git/doc/guix.texi:22394
  33925. #, fuzzy, no-wrap
  33926. msgid "@code{name} (type: seat-name)"
  33927. msgstr "@code{remote?} (padrão: @code{#f})"
  33928. #. type: table
  33929. #: guix-git/doc/guix.texi:22397
  33930. msgid "The name of the seat. An asterisk (*) can be used in the name to apply the seat configuration to all the seat names it matches."
  33931. msgstr ""
  33932. #. type: item
  33933. #: guix-git/doc/guix.texi:22398
  33934. #, fuzzy, no-wrap
  33935. msgid "@code{user-session} (type: maybe-string)"
  33936. msgstr "@code{remote?} (padrão: @code{#f})"
  33937. #. type: table
  33938. #: guix-git/doc/guix.texi:22401
  33939. msgid "The session to use by default. The session name must be provided as a lowercase string, such as @code{\"gnome\"}, @code{\"ratpoison\"}, etc."
  33940. msgstr ""
  33941. #. type: item
  33942. #: guix-git/doc/guix.texi:22402
  33943. #, fuzzy, no-wrap
  33944. #| msgid "@code{dbus?} (default: @code{#t})"
  33945. msgid "@code{type} (default: @code{local}) (type: seat-type)"
  33946. msgstr "@code{dbus?} (padrão: @code{#t})"
  33947. #. type: table
  33948. #: guix-git/doc/guix.texi:22404
  33949. msgid "The type of the seat, either the @code{local} or @code{xremote} symbol."
  33950. msgstr ""
  33951. #. type: item
  33952. #: guix-git/doc/guix.texi:22405
  33953. #, fuzzy, no-wrap
  33954. msgid "@code{autologin-user} (type: maybe-string)"
  33955. msgstr "@code{remote?} (padrão: @code{#f})"
  33956. #. type: table
  33957. #: guix-git/doc/guix.texi:22407
  33958. msgid "The username to automatically log in with by default."
  33959. msgstr ""
  33960. #. type: item
  33961. #: guix-git/doc/guix.texi:22408
  33962. #, fuzzy, no-wrap
  33963. msgid "@code{greeter-session} (default: @code{lightdm-gtk-greeter}) (type: greeter-session)"
  33964. msgstr "@code{remote?} (padrão: @code{#f})"
  33965. #. type: table
  33966. #: guix-git/doc/guix.texi:22411
  33967. msgid "The greeter session to use, specified as a symbol. Currently, only @code{lightdm-gtk-greeter} is supported."
  33968. msgstr ""
  33969. #. type: item
  33970. #: guix-git/doc/guix.texi:22412
  33971. #, fuzzy, no-wrap
  33972. msgid "@code{xserver-command} (type: maybe-file-like)"
  33973. msgstr "@code{remote?} (padrão: @code{#f})"
  33974. #. type: table
  33975. #: guix-git/doc/guix.texi:22414
  33976. #, fuzzy
  33977. #| msgid "The GPM package to use."
  33978. msgid "The Xorg server command to run."
  33979. msgstr "O pacote GPM a ser usado."
  33980. #. type: item
  33981. #: guix-git/doc/guix.texi:22415
  33982. #, fuzzy, no-wrap
  33983. #| msgid "@code{dbus?} (default: @code{#t})"
  33984. msgid "@code{session-wrapper} (type: file-like)"
  33985. msgstr "@code{dbus?} (padrão: @code{#t})"
  33986. #. type: table
  33987. #: guix-git/doc/guix.texi:22417
  33988. #, fuzzy
  33989. msgid "The xinitrc session wrapper to use."
  33990. msgstr "O pacote GPM a ser usado."
  33991. #. type: table
  33992. #: guix-git/doc/guix.texi:22420
  33993. msgid "Extra configuration values to append to the seat configuration section."
  33994. msgstr ""
  33995. #. type: cindex
  33996. #: guix-git/doc/guix.texi:22426
  33997. #, no-wrap
  33998. msgid "Xorg, configuration"
  33999. msgstr ""
  34000. #. type: deftp
  34001. #: guix-git/doc/guix.texi:22427
  34002. #, no-wrap
  34003. msgid "{Data Type} xorg-configuration"
  34004. msgstr ""
  34005. #. type: deftp
  34006. #: guix-git/doc/guix.texi:22433
  34007. msgid "This data type represents the configuration of the Xorg graphical display server. Note that there is no Xorg service; instead, the X server is started by a ``display manager'' such as GDM, SDDM, LightDM or SLiM@. Thus, the configuration of these display managers aggregates an @code{xorg-configuration} record."
  34008. msgstr ""
  34009. #. type: item
  34010. #: guix-git/doc/guix.texi:22435
  34011. #, no-wrap
  34012. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  34013. msgstr ""
  34014. #. type: table
  34015. #: guix-git/doc/guix.texi:22438
  34016. msgid "This is a list of @dfn{module packages} loaded by the Xorg server---e.g., @code{xf86-video-vesa}, @code{xf86-input-keyboard}, and so on."
  34017. msgstr ""
  34018. #. type: item
  34019. #: guix-git/doc/guix.texi:22439
  34020. #, no-wrap
  34021. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  34022. msgstr ""
  34023. #. type: table
  34024. #: guix-git/doc/guix.texi:22441
  34025. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  34026. msgstr ""
  34027. #. type: item
  34028. #: guix-git/doc/guix.texi:22442
  34029. #, no-wrap
  34030. msgid "@code{drivers} (default: @code{'()})"
  34031. msgstr ""
  34032. #. type: table
  34033. #: guix-git/doc/guix.texi:22446
  34034. msgid "This must be either the empty list, in which case Xorg chooses a graphics driver automatically, or a list of driver names that will be tried in this order---e.g., @code{'(\"modesetting\" \"vesa\")}."
  34035. msgstr ""
  34036. #. type: item
  34037. #: guix-git/doc/guix.texi:22447
  34038. #, no-wrap
  34039. msgid "@code{resolutions} (default: @code{'()})"
  34040. msgstr ""
  34041. #. type: table
  34042. #: guix-git/doc/guix.texi:22451
  34043. msgid "When @code{resolutions} is the empty list, Xorg chooses an appropriate screen resolution. Otherwise, it must be a list of resolutions---e.g., @code{'((1024 768) (640 480))}."
  34044. msgstr ""
  34045. #. type: cindex
  34046. #: guix-git/doc/guix.texi:22452
  34047. #, no-wrap
  34048. msgid "keyboard layout, for Xorg"
  34049. msgstr "disposição do teclado, para Xorg"
  34050. #. type: cindex
  34051. #: guix-git/doc/guix.texi:22453
  34052. #, no-wrap
  34053. msgid "keymap, for Xorg"
  34054. msgstr ""
  34055. #. type: table
  34056. #: guix-git/doc/guix.texi:22457
  34057. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  34058. msgstr ""
  34059. #. type: table
  34060. #: guix-git/doc/guix.texi:22461
  34061. msgid "Otherwise this must be a @code{keyboard-layout} object specifying the keyboard layout in use when Xorg is running. @xref{Keyboard Layout}, for more information on how to specify the keyboard layout."
  34062. msgstr ""
  34063. #. type: item
  34064. #: guix-git/doc/guix.texi:22462 guix-git/doc/guix.texi:24802
  34065. #: guix-git/doc/guix.texi:38747
  34066. #, no-wrap
  34067. msgid "@code{extra-config} (default: @code{'()})"
  34068. msgstr ""
  34069. #. type: table
  34070. #: guix-git/doc/guix.texi:22465 guix-git/doc/guix.texi:38751
  34071. msgid "This is a list of strings or objects appended to the configuration file. It is used to pass extra text to be added verbatim to the configuration file."
  34072. msgstr ""
  34073. #. type: item
  34074. #: guix-git/doc/guix.texi:22466
  34075. #, no-wrap
  34076. msgid "@code{server} (default: @code{xorg-server})"
  34077. msgstr ""
  34078. #. type: table
  34079. #: guix-git/doc/guix.texi:22468
  34080. msgid "This is the package providing the Xorg server."
  34081. msgstr ""
  34082. #. type: item
  34083. #: guix-git/doc/guix.texi:22469
  34084. #, no-wrap
  34085. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  34086. msgstr ""
  34087. #. type: table
  34088. #: guix-git/doc/guix.texi:22472
  34089. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  34090. msgstr ""
  34091. #. type: defun
  34092. #: guix-git/doc/guix.texi:22475
  34093. #, fuzzy, no-wrap
  34094. msgid "set-xorg-configuration config [login-manager-service-type]"
  34095. msgstr "guix-publish-service-type"
  34096. #. type: defun
  34097. #: guix-git/doc/guix.texi:22478
  34098. msgid "Tell the log-in manager (of type @var{login-manager-service-type}) to use @var{config}, an @code{<xorg-configuration>} record."
  34099. msgstr ""
  34100. #. type: defun
  34101. #: guix-git/doc/guix.texi:22482
  34102. msgid "Since the Xorg configuration is embedded in the log-in manager's configuration---e.g., @code{gdm-configuration}---this procedure provides a shorthand to set the Xorg configuration."
  34103. msgstr ""
  34104. #. type: defun
  34105. #: guix-git/doc/guix.texi:22484
  34106. #, no-wrap
  34107. msgid "xorg-start-command [config]"
  34108. msgstr ""
  34109. #. type: defun
  34110. #: guix-git/doc/guix.texi:22488
  34111. msgid "Return a @code{startx} script in which the modules, fonts, etc. specified in @var{config}, are available. The result should be used in place of @code{startx}."
  34112. msgstr ""
  34113. #. type: defun
  34114. #: guix-git/doc/guix.texi:22490
  34115. msgid "Usually the X server is started by a login manager."
  34116. msgstr ""
  34117. #. type: defvar
  34118. #: guix-git/doc/guix.texi:22493
  34119. #, fuzzy, no-wrap
  34120. #| msgid "guix-publish-service-type"
  34121. msgid "screen-locker-service-type"
  34122. msgstr "guix-publish-service-type"
  34123. #. type: defvar
  34124. #: guix-git/doc/guix.texi:22497
  34125. msgid "Type for a service that adds a package for a screen locker or screen saver to the set of setuid programs and add a PAM entry for it. The value for this service is a @code{<screen-locker-configuration>} object."
  34126. msgstr ""
  34127. #. type: defvar
  34128. #: guix-git/doc/guix.texi:22499
  34129. msgid "For example, to make XlockMore usable:"
  34130. msgstr ""
  34131. #. type: lisp
  34132. #: guix-git/doc/guix.texi:22504
  34133. #, no-wrap
  34134. msgid ""
  34135. "(service screen-locker-service-type\n"
  34136. " (screen-locker-configuration\n"
  34137. " \"xlock\" (file-append xlockmore \"/bin/xlock\") #f))\n"
  34138. msgstr ""
  34139. #. type: defvar
  34140. #: guix-git/doc/guix.texi:22507
  34141. msgid "makes the good ol' XlockMore usable."
  34142. msgstr ""
  34143. #. type: deftp
  34144. #: guix-git/doc/guix.texi:22509
  34145. #, fuzzy, no-wrap
  34146. msgid "{Data Type} screen-locker-configuration"
  34147. msgstr "build-machine {Data Type}"
  34148. #. type: deftp
  34149. #: guix-git/doc/guix.texi:22512
  34150. #, fuzzy
  34151. msgid "Data type representing the configuration of @code{screen-locker-service-type}."
  34152. msgstr "Gerencie a configuração do sistema operacional."
  34153. #. type: table
  34154. #: guix-git/doc/guix.texi:22516
  34155. #, fuzzy
  34156. #| msgid "The host name of the remote machine."
  34157. msgid "Name of the screen locker."
  34158. msgstr "O nome de host da máquina remota."
  34159. #. type: item
  34160. #: guix-git/doc/guix.texi:22517
  34161. #, fuzzy, no-wrap
  34162. msgid "@code{program} (type: gexp)"
  34163. msgstr "@code{remote?} (padrão: @code{#f})"
  34164. #. type: table
  34165. #: guix-git/doc/guix.texi:22519
  34166. msgid "Path to the executable for the screen locker as a G-Expression."
  34167. msgstr ""
  34168. #. type: item
  34169. #: guix-git/doc/guix.texi:22520
  34170. #, fuzzy, no-wrap
  34171. #| msgid "@code{users} (default: @code{#f})"
  34172. msgid "@code{allow-empty-password?} (type: boolean)"
  34173. msgstr "@code{users} (default: @code{#f})"
  34174. #. type: cindex
  34175. #: guix-git/doc/guix.texi:22529
  34176. #, no-wrap
  34177. msgid "printer support with CUPS"
  34178. msgstr ""
  34179. #. type: Plain text
  34180. #: guix-git/doc/guix.texi:22533
  34181. msgid "The @code{(gnu services cups)} module provides a Guix service definition for the CUPS printing service. To add printer support to a Guix system, add a @code{cups-service} to the operating system definition:"
  34182. msgstr ""
  34183. #. type: defvar
  34184. #: guix-git/doc/guix.texi:22534
  34185. #, fuzzy, no-wrap
  34186. #| msgid "guix-publish-service-type"
  34187. msgid "cups-service-type"
  34188. msgstr "guix-publish-service-type"
  34189. #. type: defvar
  34190. #: guix-git/doc/guix.texi:22538
  34191. msgid "The service type for the CUPS print server. Its value should be a valid CUPS configuration (see below). To use the default settings, simply write:"
  34192. msgstr ""
  34193. #. type: lisp
  34194. #: guix-git/doc/guix.texi:22540
  34195. #, no-wrap
  34196. msgid "(service cups-service-type)\n"
  34197. msgstr ""
  34198. #. type: Plain text
  34199. #: guix-git/doc/guix.texi:22550
  34200. msgid "The CUPS configuration controls the basic things about your CUPS installation: what interfaces it listens on, what to do if a print job fails, how much logging to do, and so on. To actually add a printer, you have to visit the @url{http://localhost:631} URL, or use a tool such as GNOME's printer configuration services. By default, configuring a CUPS service will generate a self-signed certificate if needed, for secure connections to the print server."
  34201. msgstr ""
  34202. #. type: Plain text
  34203. #: guix-git/doc/guix.texi:22556
  34204. msgid "Suppose you want to enable the Web interface of CUPS and also add support for Epson printers @i{via} the @code{epson-inkjet-printer-escpr} package and for HP printers @i{via} the @code{hplip-minimal} package. You can do that directly, like this (you need to use the @code{(gnu packages cups)} module):"
  34205. msgstr ""
  34206. #. type: lisp
  34207. #: guix-git/doc/guix.texi:22563
  34208. #, no-wrap
  34209. msgid ""
  34210. "(service cups-service-type\n"
  34211. " (cups-configuration\n"
  34212. " (web-interface? #t)\n"
  34213. " (extensions\n"
  34214. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  34215. msgstr ""
  34216. #. type: quotation
  34217. #: guix-git/doc/guix.texi:22569
  34218. msgid "If you wish to use the Qt5 based GUI which comes with the hplip package then it is suggested that you install the @code{hplip} package, either in your OS configuration file or as your user."
  34219. msgstr ""
  34220. #. type: Plain text
  34221. #: guix-git/doc/guix.texi:22577
  34222. msgid "The available configuration parameters follow. Each parameter definition is preceded by its type; for example, @samp{string-list foo} indicates that the @code{foo} parameter should be specified as a list of strings. There is also a way to specify the configuration as a string, if you have an old @code{cupsd.conf} file that you want to port over from some other system; see the end for more details."
  34223. msgstr ""
  34224. #. type: Plain text
  34225. #: guix-git/doc/guix.texi:22588
  34226. msgid "Available @code{cups-configuration} fields are:"
  34227. msgstr ""
  34228. #. type: deftypevr
  34229. #: guix-git/doc/guix.texi:22589
  34230. #, no-wrap
  34231. msgid "{@code{cups-configuration} parameter} package cups"
  34232. msgstr ""
  34233. #. type: deftypevr
  34234. #: guix-git/doc/guix.texi:22591 guix-git/doc/guix.texi:23326
  34235. msgid "The CUPS package."
  34236. msgstr ""
  34237. #. type: deftypevr
  34238. #: guix-git/doc/guix.texi:22593
  34239. #, no-wrap
  34240. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  34241. msgstr ""
  34242. #. type: deftypevr
  34243. #: guix-git/doc/guix.texi:22595
  34244. msgid "Drivers and other extensions to the CUPS package."
  34245. msgstr ""
  34246. #. type: deftypevr
  34247. #: guix-git/doc/guix.texi:22597
  34248. #, no-wrap
  34249. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  34250. msgstr ""
  34251. #. type: deftypevr
  34252. #: guix-git/doc/guix.texi:22600
  34253. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  34254. msgstr ""
  34255. #. type: deftypevr
  34256. #: guix-git/doc/guix.texi:22602
  34257. msgid "Available @code{files-configuration} fields are:"
  34258. msgstr ""
  34259. #. type: deftypevr
  34260. #: guix-git/doc/guix.texi:22603
  34261. #, no-wrap
  34262. msgid "{@code{files-configuration} parameter} log-location access-log"
  34263. msgstr ""
  34264. #. type: deftypevr
  34265. #: guix-git/doc/guix.texi:22611
  34266. msgid "Defines the access log filename. Specifying a blank filename disables access log generation. The value @code{stderr} causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. The value @code{syslog} causes log entries to be sent to the system log daemon. The server name may be included in filenames using the string @code{%s}, as in @code{/var/log/cups/%s-access_log}."
  34267. msgstr ""
  34268. #. type: deftypevr
  34269. #: guix-git/doc/guix.texi:22613
  34270. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  34271. msgstr ""
  34272. #. type: deftypevr
  34273. #: guix-git/doc/guix.texi:22615
  34274. #, no-wrap
  34275. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  34276. msgstr ""
  34277. #. type: deftypevr
  34278. #: guix-git/doc/guix.texi:22617
  34279. msgid "Where CUPS should cache data."
  34280. msgstr ""
  34281. #. type: deftypevr
  34282. #: guix-git/doc/guix.texi:22619
  34283. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  34284. msgstr ""
  34285. #. type: deftypevr
  34286. #: guix-git/doc/guix.texi:22621
  34287. #, no-wrap
  34288. msgid "{@code{files-configuration} parameter} string config-file-perm"
  34289. msgstr ""
  34290. #. type: deftypevr
  34291. #: guix-git/doc/guix.texi:22624
  34292. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  34293. msgstr ""
  34294. #. type: deftypevr
  34295. #: guix-git/doc/guix.texi:22630
  34296. msgid "Note that the permissions for the printers.conf file are currently masked to only allow access from the scheduler user (typically root). This is done because printer device URIs sometimes contain sensitive authentication information that should not be generally known on the system. There is no way to disable this security feature."
  34297. msgstr ""
  34298. #. type: deftypevr
  34299. #: guix-git/doc/guix.texi:22632
  34300. msgid "Defaults to @samp{\"0640\"}."
  34301. msgstr ""
  34302. #. type: deftypevr
  34303. #: guix-git/doc/guix.texi:22634
  34304. #, no-wrap
  34305. msgid "{@code{files-configuration} parameter} log-location error-log"
  34306. msgstr ""
  34307. #. type: deftypevr
  34308. #: guix-git/doc/guix.texi:22642
  34309. msgid "Defines the error log filename. Specifying a blank filename disables error log generation. The value @code{stderr} causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. The value @code{syslog} causes log entries to be sent to the system log daemon. The server name may be included in filenames using the string @code{%s}, as in @code{/var/log/cups/%s-error_log}."
  34310. msgstr ""
  34311. #. type: deftypevr
  34312. #: guix-git/doc/guix.texi:22644
  34313. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  34314. msgstr ""
  34315. #. type: deftypevr
  34316. #: guix-git/doc/guix.texi:22646
  34317. #, no-wrap
  34318. msgid "{@code{files-configuration} parameter} string fatal-errors"
  34319. msgstr ""
  34320. #. type: deftypevr
  34321. #: guix-git/doc/guix.texi:22649
  34322. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  34323. msgstr ""
  34324. #. type: table
  34325. #: guix-git/doc/guix.texi:22653
  34326. msgid "No errors are fatal."
  34327. msgstr ""
  34328. #. type: table
  34329. #: guix-git/doc/guix.texi:22656
  34330. msgid "All of the errors below are fatal."
  34331. msgstr ""
  34332. #. type: item
  34333. #: guix-git/doc/guix.texi:22657
  34334. #, no-wrap
  34335. msgid "browse"
  34336. msgstr ""
  34337. #. type: table
  34338. #: guix-git/doc/guix.texi:22660
  34339. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  34340. msgstr ""
  34341. #. type: item
  34342. #: guix-git/doc/guix.texi:22661
  34343. #, no-wrap
  34344. msgid "config"
  34345. msgstr "config"
  34346. #. type: table
  34347. #: guix-git/doc/guix.texi:22663
  34348. msgid "Configuration file syntax errors are fatal."
  34349. msgstr ""
  34350. #. type: item
  34351. #: guix-git/doc/guix.texi:22664
  34352. #, no-wrap
  34353. msgid "listen"
  34354. msgstr ""
  34355. #. type: table
  34356. #: guix-git/doc/guix.texi:22667
  34357. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  34358. msgstr ""
  34359. #. type: item
  34360. #: guix-git/doc/guix.texi:22668
  34361. #, no-wrap
  34362. msgid "log"
  34363. msgstr ""
  34364. #. type: table
  34365. #: guix-git/doc/guix.texi:22670
  34366. msgid "Log file creation or write errors are fatal."
  34367. msgstr ""
  34368. #. type: item
  34369. #: guix-git/doc/guix.texi:22671
  34370. #, no-wrap
  34371. msgid "permissions"
  34372. msgstr ""
  34373. #. type: table
  34374. #: guix-git/doc/guix.texi:22674
  34375. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  34376. msgstr ""
  34377. #. type: deftypevr
  34378. #: guix-git/doc/guix.texi:22677
  34379. msgid "Defaults to @samp{\"all -browse\"}."
  34380. msgstr ""
  34381. #. type: deftypevr
  34382. #: guix-git/doc/guix.texi:22679
  34383. #, no-wrap
  34384. msgid "{@code{files-configuration} parameter} boolean file-device?"
  34385. msgstr ""
  34386. #. type: deftypevr
  34387. #: guix-git/doc/guix.texi:22682
  34388. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  34389. msgstr ""
  34390. #. type: deftypevr
  34391. #: guix-git/doc/guix.texi:22684 guix-git/doc/guix.texi:22760
  34392. #: guix-git/doc/guix.texi:22802 guix-git/doc/guix.texi:22821
  34393. #: guix-git/doc/guix.texi:22827 guix-git/doc/guix.texi:22915
  34394. #: guix-git/doc/guix.texi:22992 guix-git/doc/guix.texi:23300
  34395. #: guix-git/doc/guix.texi:23313 guix-git/doc/guix.texi:25072
  34396. #: guix-git/doc/guix.texi:26560 guix-git/doc/guix.texi:26666
  34397. #: guix-git/doc/guix.texi:26731 guix-git/doc/guix.texi:26740
  34398. #: guix-git/doc/guix.texi:27986 guix-git/doc/guix.texi:28030
  34399. #: guix-git/doc/guix.texi:28047 guix-git/doc/guix.texi:28055
  34400. #: guix-git/doc/guix.texi:28070 guix-git/doc/guix.texi:28088
  34401. #: guix-git/doc/guix.texi:28112 guix-git/doc/guix.texi:28165
  34402. #: guix-git/doc/guix.texi:28298 guix-git/doc/guix.texi:28332
  34403. #: guix-git/doc/guix.texi:28368 guix-git/doc/guix.texi:28384
  34404. #: guix-git/doc/guix.texi:28412 guix-git/doc/guix.texi:28473
  34405. #: guix-git/doc/guix.texi:28556 guix-git/doc/guix.texi:33544
  34406. #: guix-git/doc/guix.texi:33558 guix-git/doc/guix.texi:33758
  34407. #: guix-git/doc/guix.texi:33803 guix-git/doc/guix.texi:33890
  34408. #: guix-git/doc/guix.texi:34344 guix-git/doc/guix.texi:34377
  34409. #: guix-git/doc/guix.texi:34517 guix-git/doc/guix.texi:34528
  34410. #: guix-git/doc/guix.texi:34779 guix-git/doc/guix.texi:36321
  34411. #: guix-git/doc/guix.texi:36330 guix-git/doc/guix.texi:36338
  34412. #: guix-git/doc/guix.texi:36346 guix-git/doc/guix.texi:36362
  34413. #: guix-git/doc/guix.texi:36378 guix-git/doc/guix.texi:36386
  34414. #: guix-git/doc/guix.texi:36394 guix-git/doc/guix.texi:36403
  34415. #: guix-git/doc/guix.texi:36412 guix-git/doc/guix.texi:36428
  34416. #: guix-git/doc/guix.texi:36492 guix-git/doc/guix.texi:36598
  34417. #: guix-git/doc/guix.texi:36606 guix-git/doc/guix.texi:36614
  34418. #: guix-git/doc/guix.texi:36639 guix-git/doc/guix.texi:36693
  34419. #: guix-git/doc/guix.texi:36741 guix-git/doc/guix.texi:36942
  34420. #: guix-git/doc/guix.texi:36949
  34421. msgid "Defaults to @samp{#f}."
  34422. msgstr ""
  34423. #. type: deftypevr
  34424. #: guix-git/doc/guix.texi:22686
  34425. #, no-wrap
  34426. msgid "{@code{files-configuration} parameter} string group"
  34427. msgstr ""
  34428. #. type: deftypevr
  34429. #: guix-git/doc/guix.texi:22689
  34430. msgid "Specifies the group name or ID that will be used when executing external programs."
  34431. msgstr ""
  34432. #. type: deftypevr
  34433. #: guix-git/doc/guix.texi:22691 guix-git/doc/guix.texi:22777
  34434. msgid "Defaults to @samp{\"lp\"}."
  34435. msgstr ""
  34436. #. type: deftypevr
  34437. #: guix-git/doc/guix.texi:22693
  34438. #, no-wrap
  34439. msgid "{@code{files-configuration} parameter} string log-file-group"
  34440. msgstr ""
  34441. #. type: deftypevr
  34442. #: guix-git/doc/guix.texi:22695
  34443. msgid "Specifies the group name or ID that will be used for log files."
  34444. msgstr ""
  34445. #. type: deftypevr
  34446. #: guix-git/doc/guix.texi:22697
  34447. msgid "Defaults to @samp{\"lpadmin\"}."
  34448. msgstr ""
  34449. #. type: deftypevr
  34450. #: guix-git/doc/guix.texi:22699
  34451. #, no-wrap
  34452. msgid "{@code{files-configuration} parameter} string log-file-perm"
  34453. msgstr ""
  34454. #. type: deftypevr
  34455. #: guix-git/doc/guix.texi:22701
  34456. msgid "Specifies the permissions for all log files that the scheduler writes."
  34457. msgstr ""
  34458. #. type: deftypevr
  34459. #: guix-git/doc/guix.texi:22703
  34460. msgid "Defaults to @samp{\"0644\"}."
  34461. msgstr ""
  34462. #. type: deftypevr
  34463. #: guix-git/doc/guix.texi:22705
  34464. #, no-wrap
  34465. msgid "{@code{files-configuration} parameter} log-location page-log"
  34466. msgstr ""
  34467. #. type: deftypevr
  34468. #: guix-git/doc/guix.texi:22713
  34469. msgid "Defines the page log filename. Specifying a blank filename disables page log generation. The value @code{stderr} causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. The value @code{syslog} causes log entries to be sent to the system log daemon. The server name may be included in filenames using the string @code{%s}, as in @code{/var/log/cups/%s-page_log}."
  34470. msgstr ""
  34471. #. type: deftypevr
  34472. #: guix-git/doc/guix.texi:22715
  34473. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  34474. msgstr ""
  34475. #. type: deftypevr
  34476. #: guix-git/doc/guix.texi:22717
  34477. #, no-wrap
  34478. msgid "{@code{files-configuration} parameter} string remote-root"
  34479. msgstr ""
  34480. #. type: deftypevr
  34481. #: guix-git/doc/guix.texi:22720
  34482. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  34483. msgstr ""
  34484. #. type: deftypevr
  34485. #: guix-git/doc/guix.texi:22722
  34486. msgid "Defaults to @samp{\"remroot\"}."
  34487. msgstr ""
  34488. #. type: deftypevr
  34489. #: guix-git/doc/guix.texi:22724
  34490. #, no-wrap
  34491. msgid "{@code{files-configuration} parameter} file-name request-root"
  34492. msgstr ""
  34493. #. type: deftypevr
  34494. #: guix-git/doc/guix.texi:22727
  34495. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  34496. msgstr ""
  34497. #. type: deftypevr
  34498. #: guix-git/doc/guix.texi:22729
  34499. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  34500. msgstr ""
  34501. #. type: deftypevr
  34502. #: guix-git/doc/guix.texi:22731
  34503. #, no-wrap
  34504. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  34505. msgstr ""
  34506. #. type: deftypevr
  34507. #: guix-git/doc/guix.texi:22736
  34508. msgid "Specifies the level of security sandboxing that is applied to print filters, backends, and other child processes of the scheduler; either @code{relaxed} or @code{strict}. This directive is currently only used/supported on macOS."
  34509. msgstr ""
  34510. #. type: deftypevr
  34511. #: guix-git/doc/guix.texi:22738
  34512. msgid "Defaults to @samp{strict}."
  34513. msgstr ""
  34514. #. type: deftypevr
  34515. #: guix-git/doc/guix.texi:22740
  34516. #, no-wrap
  34517. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  34518. msgstr ""
  34519. #. type: deftypevr
  34520. #: guix-git/doc/guix.texi:22745
  34521. msgid "Specifies the location of TLS certificates and private keys. CUPS will look for public and private keys in this directory: @file{.crt} files for PEM-encoded certificates and corresponding @file{.key} files for PEM-encoded private keys."
  34522. msgstr ""
  34523. #. type: deftypevr
  34524. #: guix-git/doc/guix.texi:22747
  34525. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  34526. msgstr ""
  34527. #. type: deftypevr
  34528. #: guix-git/doc/guix.texi:22749
  34529. #, no-wrap
  34530. msgid "{@code{files-configuration} parameter} file-name server-root"
  34531. msgstr ""
  34532. #. type: deftypevr
  34533. #: guix-git/doc/guix.texi:22751
  34534. msgid "Specifies the directory containing the server configuration files."
  34535. msgstr ""
  34536. #. type: deftypevr
  34537. #: guix-git/doc/guix.texi:22753
  34538. msgid "Defaults to @samp{\"/etc/cups\"}."
  34539. msgstr ""
  34540. #. type: deftypevr
  34541. #: guix-git/doc/guix.texi:22755
  34542. #, no-wrap
  34543. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  34544. msgstr ""
  34545. #. type: deftypevr
  34546. #: guix-git/doc/guix.texi:22758
  34547. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  34548. msgstr ""
  34549. #. type: deftypevr
  34550. #: guix-git/doc/guix.texi:22762
  34551. #, no-wrap
  34552. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  34553. msgstr ""
  34554. #. type: deftypevr
  34555. #: guix-git/doc/guix.texi:22764
  34556. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  34557. msgstr ""
  34558. #. type: deftypevr
  34559. #: guix-git/doc/guix.texi:22766
  34560. #, no-wrap
  34561. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  34562. msgstr ""
  34563. #. type: deftypevr
  34564. #: guix-git/doc/guix.texi:22768
  34565. msgid "Specifies the directory where temporary files are stored."
  34566. msgstr ""
  34567. #. type: deftypevr
  34568. #: guix-git/doc/guix.texi:22770
  34569. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  34570. msgstr ""
  34571. #. type: deftypevr
  34572. #: guix-git/doc/guix.texi:22772
  34573. #, no-wrap
  34574. msgid "{@code{files-configuration} parameter} string user"
  34575. msgstr ""
  34576. #. type: deftypevr
  34577. #: guix-git/doc/guix.texi:22775
  34578. msgid "Specifies the user name or ID that is used when running external programs."
  34579. msgstr ""
  34580. #. type: deftypevr
  34581. #: guix-git/doc/guix.texi:22779
  34582. #, no-wrap
  34583. msgid "{@code{files-configuration} parameter} string set-env"
  34584. msgstr ""
  34585. #. type: deftypevr
  34586. #: guix-git/doc/guix.texi:22781
  34587. msgid "Set the specified environment variable to be passed to child processes."
  34588. msgstr ""
  34589. #. type: deftypevr
  34590. #: guix-git/doc/guix.texi:22783
  34591. msgid "Defaults to @samp{\"variable value\"}."
  34592. msgstr ""
  34593. #. type: deftypevr
  34594. #: guix-git/doc/guix.texi:22786
  34595. #, no-wrap
  34596. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  34597. msgstr ""
  34598. #. type: deftypevr
  34599. #: guix-git/doc/guix.texi:22793
  34600. msgid "Specifies the logging level for the AccessLog file. The @code{config} level logs when printers and classes are added, deleted, or modified and when configuration files are accessed or updated. The @code{actions} level logs when print jobs are submitted, held, released, modified, or canceled, and any of the conditions for @code{config}. The @code{all} level logs all requests."
  34601. msgstr ""
  34602. #. type: deftypevr
  34603. #: guix-git/doc/guix.texi:22795
  34604. msgid "Defaults to @samp{actions}."
  34605. msgstr ""
  34606. #. type: deftypevr
  34607. #: guix-git/doc/guix.texi:22797
  34608. #, no-wrap
  34609. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  34610. msgstr ""
  34611. #. type: deftypevr
  34612. #: guix-git/doc/guix.texi:22800
  34613. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  34614. msgstr ""
  34615. #. type: deftypevr
  34616. #: guix-git/doc/guix.texi:22804
  34617. #, no-wrap
  34618. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  34619. msgstr ""
  34620. #. type: deftypevr
  34621. #: guix-git/doc/guix.texi:22806
  34622. msgid "Specifies a list of DNS-SD sub-types to advertise for each shared printer."
  34623. msgstr ""
  34624. #. type: deftypevr
  34625. #: guix-git/doc/guix.texi:22809
  34626. msgid "The default @samp{(list \"_cups\" \"_print\" \"_universal\")} tells clients that CUPS sharing, IPP Everywhere, AirPrint, and Mopria are supported."
  34627. msgstr ""
  34628. #. type: deftypevr
  34629. #: guix-git/doc/guix.texi:22811
  34630. #, no-wrap
  34631. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  34632. msgstr ""
  34633. #. type: deftypevr
  34634. #: guix-git/doc/guix.texi:22813
  34635. msgid "Specifies which protocols to use for local printer sharing."
  34636. msgstr ""
  34637. #. type: deftypevr
  34638. #: guix-git/doc/guix.texi:22815
  34639. msgid "Defaults to @samp{dnssd}."
  34640. msgstr ""
  34641. #. type: deftypevr
  34642. #: guix-git/doc/guix.texi:22817
  34643. #, no-wrap
  34644. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  34645. msgstr ""
  34646. #. type: deftypevr
  34647. #: guix-git/doc/guix.texi:22819
  34648. msgid "Specifies whether the CUPS web interface is advertised."
  34649. msgstr ""
  34650. #. type: deftypevr
  34651. #: guix-git/doc/guix.texi:22823
  34652. #, no-wrap
  34653. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  34654. msgstr ""
  34655. #. type: deftypevr
  34656. #: guix-git/doc/guix.texi:22825
  34657. msgid "Specifies whether shared printers are advertised."
  34658. msgstr ""
  34659. #. type: deftypevr
  34660. #: guix-git/doc/guix.texi:22829
  34661. #, no-wrap
  34662. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  34663. msgstr ""
  34664. #. type: deftypevr
  34665. #: guix-git/doc/guix.texi:22831
  34666. msgid "Specifies the default type of authentication to use."
  34667. msgstr ""
  34668. #. type: deftypevr
  34669. #: guix-git/doc/guix.texi:22833
  34670. msgid "Defaults to @samp{Basic}."
  34671. msgstr ""
  34672. #. type: deftypevr
  34673. #: guix-git/doc/guix.texi:22835
  34674. #, no-wrap
  34675. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  34676. msgstr ""
  34677. #. type: deftypevr
  34678. #: guix-git/doc/guix.texi:22837
  34679. msgid "Specifies whether encryption will be used for authenticated requests."
  34680. msgstr ""
  34681. #. type: deftypevr
  34682. #: guix-git/doc/guix.texi:22839
  34683. msgid "Defaults to @samp{Required}."
  34684. msgstr ""
  34685. #. type: deftypevr
  34686. #: guix-git/doc/guix.texi:22841
  34687. #, no-wrap
  34688. msgid "{@code{cups-configuration} parameter} string default-language"
  34689. msgstr ""
  34690. #. type: deftypevr
  34691. #: guix-git/doc/guix.texi:22843
  34692. msgid "Specifies the default language to use for text and web content."
  34693. msgstr ""
  34694. #. type: deftypevr
  34695. #: guix-git/doc/guix.texi:22845
  34696. msgid "Defaults to @samp{\"en\"}."
  34697. msgstr ""
  34698. #. type: deftypevr
  34699. #: guix-git/doc/guix.texi:22847
  34700. #, no-wrap
  34701. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  34702. msgstr ""
  34703. #. type: deftypevr
  34704. #: guix-git/doc/guix.texi:22852
  34705. msgid "Specifies the default paper size for new print queues. @samp{\"Auto\"} uses a locale-specific default, while @samp{\"None\"} specifies there is no default paper size. Specific size names are typically @samp{\"Letter\"} or @samp{\"A4\"}."
  34706. msgstr ""
  34707. #. type: deftypevr
  34708. #: guix-git/doc/guix.texi:22854
  34709. msgid "Defaults to @samp{\"Auto\"}."
  34710. msgstr ""
  34711. #. type: deftypevr
  34712. #: guix-git/doc/guix.texi:22856
  34713. #, no-wrap
  34714. msgid "{@code{cups-configuration} parameter} string default-policy"
  34715. msgstr ""
  34716. #. type: deftypevr
  34717. #: guix-git/doc/guix.texi:22858
  34718. msgid "Specifies the default access policy to use."
  34719. msgstr ""
  34720. #. type: deftypevr
  34721. #: guix-git/doc/guix.texi:22860
  34722. msgid "Defaults to @samp{\"default\"}."
  34723. msgstr ""
  34724. #. type: deftypevr
  34725. #: guix-git/doc/guix.texi:22862
  34726. #, no-wrap
  34727. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  34728. msgstr ""
  34729. #. type: deftypevr
  34730. #: guix-git/doc/guix.texi:22864
  34731. msgid "Specifies whether local printers are shared by default."
  34732. msgstr ""
  34733. #. type: deftypevr
  34734. #: guix-git/doc/guix.texi:22866 guix-git/doc/guix.texi:22946
  34735. #: guix-git/doc/guix.texi:23216 guix-git/doc/guix.texi:26657
  34736. #: guix-git/doc/guix.texi:26708 guix-git/doc/guix.texi:26715
  34737. #: guix-git/doc/guix.texi:28010 guix-git/doc/guix.texi:28198
  34738. #: guix-git/doc/guix.texi:28315 guix-git/doc/guix.texi:28351
  34739. #: guix-git/doc/guix.texi:28402 guix-git/doc/guix.texi:28421
  34740. #: guix-git/doc/guix.texi:28431 guix-git/doc/guix.texi:28441
  34741. #: guix-git/doc/guix.texi:28500 guix-git/doc/guix.texi:28522
  34742. #: guix-git/doc/guix.texi:28547 guix-git/doc/guix.texi:28573
  34743. #: guix-git/doc/guix.texi:28591 guix-git/doc/guix.texi:32148
  34744. #: guix-git/doc/guix.texi:32176 guix-git/doc/guix.texi:33411
  34745. #: guix-git/doc/guix.texi:33551 guix-git/doc/guix.texi:33765
  34746. #: guix-git/doc/guix.texi:33772 guix-git/doc/guix.texi:33794
  34747. #: guix-git/doc/guix.texi:33833 guix-git/doc/guix.texi:33853
  34748. #: guix-git/doc/guix.texi:33867 guix-git/doc/guix.texi:34332
  34749. #: guix-git/doc/guix.texi:36266 guix-git/doc/guix.texi:36354
  34750. #: guix-git/doc/guix.texi:36370 guix-git/doc/guix.texi:36420
  34751. msgid "Defaults to @samp{#t}."
  34752. msgstr ""
  34753. #. type: deftypevr
  34754. #: guix-git/doc/guix.texi:22868
  34755. #, no-wrap
  34756. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  34757. msgstr ""
  34758. #. type: deftypevr
  34759. #: guix-git/doc/guix.texi:22872
  34760. msgid "Specifies the delay for updating of configuration and state files, in seconds. A value of 0 causes the update to happen as soon as possible, typically within a few milliseconds."
  34761. msgstr ""
  34762. #. type: deftypevr
  34763. #: guix-git/doc/guix.texi:22874 guix-git/doc/guix.texi:22922
  34764. #: guix-git/doc/guix.texi:22931 guix-git/doc/guix.texi:23234
  34765. #: guix-git/doc/guix.texi:28360 guix-git/doc/guix.texi:28393
  34766. msgid "Defaults to @samp{30}."
  34767. msgstr ""
  34768. #. type: deftypevr
  34769. #: guix-git/doc/guix.texi:22876
  34770. #, no-wrap
  34771. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  34772. msgstr ""
  34773. #. type: deftypevr
  34774. #: guix-git/doc/guix.texi:22882
  34775. msgid "Specifies what to do when an error occurs. Possible values are @code{abort-job}, which will discard the failed print job; @code{retry-job}, which will retry the job at a later time; @code{retry-current-job}, which retries the failed job immediately; and @code{stop-printer}, which stops the printer."
  34776. msgstr ""
  34777. #. type: deftypevr
  34778. #: guix-git/doc/guix.texi:22884
  34779. msgid "Defaults to @samp{stop-printer}."
  34780. msgstr ""
  34781. #. type: deftypevr
  34782. #: guix-git/doc/guix.texi:22886
  34783. #, no-wrap
  34784. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  34785. msgstr ""
  34786. #. type: deftypevr
  34787. #: guix-git/doc/guix.texi:22894
  34788. msgid "Specifies the maximum cost of filters that are run concurrently, which can be used to minimize disk, memory, and CPU resource problems. A limit of 0 disables filter limiting. An average print to a non-PostScript printer needs a filter limit of about 200. A PostScript printer needs about half that (100). Setting the limit below these thresholds will effectively limit the scheduler to printing a single job at any time."
  34789. msgstr ""
  34790. #. type: deftypevr
  34791. #: guix-git/doc/guix.texi:22896 guix-git/doc/guix.texi:22904
  34792. #: guix-git/doc/guix.texi:22953 guix-git/doc/guix.texi:23058
  34793. #: guix-git/doc/guix.texi:23072 guix-git/doc/guix.texi:23079
  34794. #: guix-git/doc/guix.texi:23100 guix-git/doc/guix.texi:23108
  34795. #: guix-git/doc/guix.texi:23116 guix-git/doc/guix.texi:23124
  34796. #: guix-git/doc/guix.texi:25202 guix-git/doc/guix.texi:25218
  34797. #: guix-git/doc/guix.texi:25875 guix-git/doc/guix.texi:25887
  34798. #: guix-git/doc/guix.texi:26676 guix-git/doc/guix.texi:26685
  34799. #: guix-git/doc/guix.texi:26693 guix-git/doc/guix.texi:26701
  34800. #: guix-git/doc/guix.texi:33427 guix-git/doc/guix.texi:33780
  34801. #: guix-git/doc/guix.texi:36259 guix-git/doc/guix.texi:36559
  34802. #: guix-git/doc/guix.texi:36733
  34803. msgid "Defaults to @samp{0}."
  34804. msgstr ""
  34805. #. type: deftypevr
  34806. #: guix-git/doc/guix.texi:22898
  34807. #, no-wrap
  34808. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  34809. msgstr ""
  34810. #. type: deftypevr
  34811. #: guix-git/doc/guix.texi:22902
  34812. msgid "Specifies the scheduling priority of filters that are run to print a job. The nice value ranges from 0, the highest priority, to 19, the lowest priority."
  34813. msgstr ""
  34814. #. type: deftypevr
  34815. #: guix-git/doc/guix.texi:22906
  34816. #, no-wrap
  34817. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  34818. msgstr ""
  34819. #. type: deftypevr
  34820. #: guix-git/doc/guix.texi:22913
  34821. msgid "Specifies whether to do reverse lookups on connecting clients. The @code{double} setting causes @code{cupsd} to verify that the hostname resolved from the address matches one of the addresses returned for that hostname. Double lookups also prevent clients with unregistered addresses from connecting to your server. Only set this option to @code{#t} or @code{double} if absolutely required."
  34822. msgstr ""
  34823. #. type: deftypevr
  34824. #: guix-git/doc/guix.texi:22917
  34825. #, no-wrap
  34826. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  34827. msgstr ""
  34828. #. type: deftypevr
  34829. #: guix-git/doc/guix.texi:22920
  34830. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  34831. msgstr ""
  34832. #. type: deftypevr
  34833. #: guix-git/doc/guix.texi:22924
  34834. #, no-wrap
  34835. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  34836. msgstr ""
  34837. #. type: deftypevr
  34838. #: guix-git/doc/guix.texi:22929
  34839. msgid "Specifies the interval between retries of jobs in seconds. This is typically used for fax queues but can also be used with normal print queues whose error policy is @code{retry-job} or @code{retry-current-job}."
  34840. msgstr ""
  34841. #. type: deftypevr
  34842. #: guix-git/doc/guix.texi:22933
  34843. #, no-wrap
  34844. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  34845. msgstr ""
  34846. #. type: deftypevr
  34847. #: guix-git/doc/guix.texi:22938
  34848. msgid "Specifies the number of retries that are done for jobs. This is typically used for fax queues but can also be used with normal print queues whose error policy is @code{retry-job} or @code{retry-current-job}."
  34849. msgstr ""
  34850. #. type: deftypevr
  34851. #: guix-git/doc/guix.texi:22940 guix-git/doc/guix.texi:28324
  34852. #: guix-git/doc/guix.texi:34584 guix-git/doc/guix.texi:34604
  34853. #: guix-git/doc/guix.texi:34620 guix-git/doc/guix.texi:34634
  34854. #: guix-git/doc/guix.texi:34641 guix-git/doc/guix.texi:34648
  34855. #: guix-git/doc/guix.texi:34655 guix-git/doc/guix.texi:34815
  34856. #: guix-git/doc/guix.texi:34831 guix-git/doc/guix.texi:34838
  34857. #: guix-git/doc/guix.texi:34845 guix-git/doc/guix.texi:34856
  34858. #: guix-git/doc/guix.texi:36211 guix-git/doc/guix.texi:36219
  34859. #: guix-git/doc/guix.texi:36227 guix-git/doc/guix.texi:36251
  34860. msgid "Defaults to @samp{5}."
  34861. msgstr ""
  34862. #. type: deftypevr
  34863. #: guix-git/doc/guix.texi:22942
  34864. #, no-wrap
  34865. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  34866. msgstr ""
  34867. #. type: deftypevr
  34868. #: guix-git/doc/guix.texi:22944
  34869. msgid "Specifies whether to support HTTP keep-alive connections."
  34870. msgstr ""
  34871. #. type: deftypevr
  34872. #: guix-git/doc/guix.texi:22948
  34873. #, no-wrap
  34874. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  34875. msgstr ""
  34876. #. type: deftypevr
  34877. #: guix-git/doc/guix.texi:22951
  34878. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  34879. msgstr ""
  34880. #. type: deftypevr
  34881. #: guix-git/doc/guix.texi:22955
  34882. #, no-wrap
  34883. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  34884. msgstr ""
  34885. #. type: deftypevr
  34886. #: guix-git/doc/guix.texi:22962
  34887. msgid "Listens on the specified interfaces for connections. Valid values are of the form @var{address}:@var{port}, where @var{address} is either an IPv6 address enclosed in brackets, an IPv4 address, or @code{*} to indicate all addresses. Values can also be file names of local UNIX domain sockets. The Listen directive is similar to the Port directive but allows you to restrict access to specific interfaces or networks."
  34888. msgstr ""
  34889. #. type: deftypevr
  34890. #: guix-git/doc/guix.texi:22964
  34891. #, no-wrap
  34892. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  34893. msgstr ""
  34894. #. type: deftypevr
  34895. #: guix-git/doc/guix.texi:22966
  34896. msgid "Specifies a set of additional access controls."
  34897. msgstr ""
  34898. #. type: deftypevr
  34899. #: guix-git/doc/guix.texi:22968
  34900. msgid "Available @code{location-access-controls} fields are:"
  34901. msgstr ""
  34902. #. type: deftypevr
  34903. #: guix-git/doc/guix.texi:22969
  34904. #, no-wrap
  34905. msgid "{@code{location-access-controls} parameter} file-name path"
  34906. msgstr ""
  34907. #. type: deftypevr
  34908. #: guix-git/doc/guix.texi:22971
  34909. msgid "Specifies the URI path to which the access control applies."
  34910. msgstr ""
  34911. #. type: deftypevr
  34912. #: guix-git/doc/guix.texi:22973
  34913. #, no-wrap
  34914. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  34915. msgstr ""
  34916. #. type: deftypevr
  34917. #: guix-git/doc/guix.texi:22976
  34918. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  34919. msgstr ""
  34920. #. type: deftypevr
  34921. #: guix-git/doc/guix.texi:22978 guix-git/doc/guix.texi:22984
  34922. #: guix-git/doc/guix.texi:22998 guix-git/doc/guix.texi:23005
  34923. #: guix-git/doc/guix.texi:23138 guix-git/doc/guix.texi:23197
  34924. #: guix-git/doc/guix.texi:23279 guix-git/doc/guix.texi:23293
  34925. #: guix-git/doc/guix.texi:25082 guix-git/doc/guix.texi:25091
  34926. #: guix-git/doc/guix.texi:26361 guix-git/doc/guix.texi:26574
  34927. #: guix-git/doc/guix.texi:26602 guix-git/doc/guix.texi:26632
  34928. #: guix-git/doc/guix.texi:26747 guix-git/doc/guix.texi:26760
  34929. #: guix-git/doc/guix.texi:26767 guix-git/doc/guix.texi:28530
  34930. #: guix-git/doc/guix.texi:29605 guix-git/doc/guix.texi:29613
  34931. #: guix-git/doc/guix.texi:29858 guix-git/doc/guix.texi:32207
  34932. #: guix-git/doc/guix.texi:34475 guix-git/doc/guix.texi:34535
  34933. #: guix-git/doc/guix.texi:34543 guix-git/doc/guix.texi:36274
  34934. #: guix-git/doc/guix.texi:36281 guix-git/doc/guix.texi:36623
  34935. #: guix-git/doc/guix.texi:36701 guix-git/doc/guix.texi:36795
  34936. #: guix-git/doc/guix.texi:36803 guix-git/doc/guix.texi:36839
  34937. #: guix-git/doc/guix.texi:36989 guix-git/doc/guix.texi:37040
  34938. #: guix-git/doc/guix.texi:37049
  34939. msgid "Defaults to @samp{'()}."
  34940. msgstr ""
  34941. #. type: deftypevr
  34942. #: guix-git/doc/guix.texi:22980
  34943. #, no-wrap
  34944. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  34945. msgstr ""
  34946. #. type: deftypevr
  34947. #: guix-git/doc/guix.texi:22982
  34948. msgid "Access controls for method-specific access to this path."
  34949. msgstr ""
  34950. #. type: deftypevr
  34951. #: guix-git/doc/guix.texi:22986
  34952. msgid "Available @code{method-access-controls} fields are:"
  34953. msgstr ""
  34954. #. type: deftypevr
  34955. #: guix-git/doc/guix.texi:22987
  34956. #, no-wrap
  34957. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  34958. msgstr ""
  34959. #. type: deftypevr
  34960. #: guix-git/doc/guix.texi:22990
  34961. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  34962. msgstr ""
  34963. #. type: deftypevr
  34964. #: guix-git/doc/guix.texi:22994
  34965. #, no-wrap
  34966. msgid "{@code{method-access-controls} parameter} method-list methods"
  34967. msgstr ""
  34968. #. type: deftypevr
  34969. #: guix-git/doc/guix.texi:22996
  34970. msgid "Methods to which this access control applies."
  34971. msgstr ""
  34972. #. type: deftypevr
  34973. #: guix-git/doc/guix.texi:23000
  34974. #, no-wrap
  34975. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  34976. msgstr ""
  34977. #. type: deftypevr
  34978. #: guix-git/doc/guix.texi:23003
  34979. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  34980. msgstr ""
  34981. #. type: deftypevr
  34982. #: guix-git/doc/guix.texi:23009
  34983. #, no-wrap
  34984. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  34985. msgstr ""
  34986. #. type: deftypevr
  34987. #: guix-git/doc/guix.texi:23013
  34988. msgid "Specifies the number of debugging messages that are retained for logging if an error occurs in a print job. Debug messages are logged regardless of the LogLevel setting."
  34989. msgstr ""
  34990. #. type: deftypevr
  34991. #: guix-git/doc/guix.texi:23015 guix-git/doc/guix.texi:23036
  34992. #: guix-git/doc/guix.texi:23043 guix-git/doc/guix.texi:26121
  34993. #: guix-git/doc/guix.texi:28062 guix-git/doc/guix.texi:28077
  34994. msgid "Defaults to @samp{100}."
  34995. msgstr ""
  34996. #. type: deftypevr
  34997. #: guix-git/doc/guix.texi:23017
  34998. #, no-wrap
  34999. msgid "{@code{cups-configuration} parameter} log-level log-level"
  35000. msgstr ""
  35001. #. type: deftypevr
  35002. #: guix-git/doc/guix.texi:23020
  35003. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  35004. msgstr ""
  35005. #. type: deftypevr
  35006. #: guix-git/doc/guix.texi:23022 guix-git/doc/guix.texi:28539
  35007. msgid "Defaults to @samp{info}."
  35008. msgstr ""
  35009. #. type: deftypevr
  35010. #: guix-git/doc/guix.texi:23024
  35011. #, no-wrap
  35012. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  35013. msgstr ""
  35014. #. type: deftypevr
  35015. #: guix-git/doc/guix.texi:23027
  35016. msgid "Specifies the format of the date and time in the log files. The value @code{standard} logs whole seconds while @code{usecs} logs microseconds."
  35017. msgstr ""
  35018. #. type: deftypevr
  35019. #: guix-git/doc/guix.texi:23029
  35020. msgid "Defaults to @samp{standard}."
  35021. msgstr ""
  35022. #. type: deftypevr
  35023. #: guix-git/doc/guix.texi:23031
  35024. #, no-wrap
  35025. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  35026. msgstr ""
  35027. #. type: deftypevr
  35028. #: guix-git/doc/guix.texi:23034
  35029. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  35030. msgstr ""
  35031. #. type: deftypevr
  35032. #: guix-git/doc/guix.texi:23038
  35033. #, no-wrap
  35034. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  35035. msgstr ""
  35036. #. type: deftypevr
  35037. #: guix-git/doc/guix.texi:23041
  35038. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  35039. msgstr ""
  35040. #. type: deftypevr
  35041. #: guix-git/doc/guix.texi:23045
  35042. #, no-wrap
  35043. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  35044. msgstr ""
  35045. #. type: deftypevr
  35046. #: guix-git/doc/guix.texi:23048
  35047. msgid "Specifies the maximum number of copies that a user can print of each job."
  35048. msgstr ""
  35049. #. type: deftypevr
  35050. #: guix-git/doc/guix.texi:23050
  35051. msgid "Defaults to @samp{9999}."
  35052. msgstr ""
  35053. #. type: deftypevr
  35054. #: guix-git/doc/guix.texi:23052
  35055. #, no-wrap
  35056. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  35057. msgstr ""
  35058. #. type: deftypevr
  35059. #: guix-git/doc/guix.texi:23056
  35060. msgid "Specifies the maximum time a job may remain in the @code{indefinite} hold state before it is canceled. A value of 0 disables cancellation of held jobs."
  35061. msgstr ""
  35062. #. type: deftypevr
  35063. #: guix-git/doc/guix.texi:23060
  35064. #, no-wrap
  35065. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  35066. msgstr ""
  35067. #. type: deftypevr
  35068. #: guix-git/doc/guix.texi:23063
  35069. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  35070. msgstr ""
  35071. #. type: deftypevr
  35072. #: guix-git/doc/guix.texi:23065
  35073. msgid "Defaults to @samp{500}."
  35074. msgstr ""
  35075. #. type: deftypevr
  35076. #: guix-git/doc/guix.texi:23067
  35077. #, no-wrap
  35078. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  35079. msgstr ""
  35080. #. type: deftypevr
  35081. #: guix-git/doc/guix.texi:23070
  35082. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to @code{max-jobs} per printer."
  35083. msgstr ""
  35084. #. type: deftypevr
  35085. #: guix-git/doc/guix.texi:23074
  35086. #, no-wrap
  35087. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  35088. msgstr ""
  35089. #. type: deftypevr
  35090. #: guix-git/doc/guix.texi:23077
  35091. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to @code{max-jobs} per user."
  35092. msgstr ""
  35093. #. type: deftypevr
  35094. #: guix-git/doc/guix.texi:23081
  35095. #, no-wrap
  35096. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  35097. msgstr ""
  35098. #. type: deftypevr
  35099. #: guix-git/doc/guix.texi:23084
  35100. msgid "Specifies the maximum time a job may take to print before it is canceled, in seconds. Set to 0 to disable cancellation of ``stuck'' jobs."
  35101. msgstr ""
  35102. #. type: deftypevr
  35103. #: guix-git/doc/guix.texi:23086
  35104. msgid "Defaults to @samp{10800}."
  35105. msgstr ""
  35106. #. type: deftypevr
  35107. #: guix-git/doc/guix.texi:23088
  35108. #, no-wrap
  35109. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  35110. msgstr ""
  35111. #. type: deftypevr
  35112. #: guix-git/doc/guix.texi:23091
  35113. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  35114. msgstr ""
  35115. #. type: deftypevr
  35116. #: guix-git/doc/guix.texi:23093
  35117. msgid "Defaults to @samp{1048576}."
  35118. msgstr ""
  35119. #. type: deftypevr
  35120. #: guix-git/doc/guix.texi:23095
  35121. #, no-wrap
  35122. msgid "{@code{cups-configuration} parameter} non-negative-integer max-subscriptions"
  35123. msgstr ""
  35124. #. type: deftypevr
  35125. #: guix-git/doc/guix.texi:23098
  35126. msgid "Specifies the maximum number of simultaneous event subscriptions that are allowed. Set to @samp{0} to allow an unlimited number of subscriptions."
  35127. msgstr ""
  35128. #. type: deftypevr
  35129. #: guix-git/doc/guix.texi:23102
  35130. #, no-wrap
  35131. msgid "{@code{cups-configuration} parameter} non-negative-integer max-subscriptions-per-job"
  35132. msgstr ""
  35133. #. type: deftypevr
  35134. #: guix-git/doc/guix.texi:23106
  35135. msgid "Specifies the maximum number of simultaneous event subscriptions that are allowed per job. A value of @samp{0} allows up to @code{max-subscriptions} per job."
  35136. msgstr ""
  35137. #. type: deftypevr
  35138. #: guix-git/doc/guix.texi:23110
  35139. #, no-wrap
  35140. msgid "{@code{cups-configuration} parameter} non-negative-integer max-subscriptions-per-printer"
  35141. msgstr ""
  35142. #. type: deftypevr
  35143. #: guix-git/doc/guix.texi:23114
  35144. msgid "Specifies the maximum number of simultaneous event subscriptions that are allowed per printer. A value of @samp{0} allows up to @code{max-subscriptions} per printer."
  35145. msgstr ""
  35146. #. type: deftypevr
  35147. #: guix-git/doc/guix.texi:23118
  35148. #, no-wrap
  35149. msgid "{@code{cups-configuration} parameter} non-negative-integer max-subscriptions-per-user"
  35150. msgstr ""
  35151. #. type: deftypevr
  35152. #: guix-git/doc/guix.texi:23122
  35153. msgid "Specifies the maximum number of simultaneous event subscriptions that are allowed per user. A value of @samp{0} allows up to @code{max-subscriptions} per user."
  35154. msgstr ""
  35155. #. type: deftypevr
  35156. #: guix-git/doc/guix.texi:23126
  35157. #, no-wrap
  35158. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  35159. msgstr ""
  35160. #. type: deftypevr
  35161. #: guix-git/doc/guix.texi:23129
  35162. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  35163. msgstr ""
  35164. #. type: deftypevr
  35165. #: guix-git/doc/guix.texi:23131 guix-git/doc/guix.texi:23306
  35166. msgid "Defaults to @samp{900}."
  35167. msgstr ""
  35168. #. type: deftypevr
  35169. #: guix-git/doc/guix.texi:23133
  35170. #, no-wrap
  35171. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  35172. msgstr ""
  35173. #. type: deftypevr
  35174. #: guix-git/doc/guix.texi:23136
  35175. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  35176. msgstr ""
  35177. #. type: deftypevr
  35178. #: guix-git/doc/guix.texi:23140
  35179. #, no-wrap
  35180. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  35181. msgstr ""
  35182. #. type: deftypevr
  35183. #: guix-git/doc/guix.texi:23142
  35184. msgid "Specifies named access control policies."
  35185. msgstr ""
  35186. #. type: deftypevr
  35187. #: guix-git/doc/guix.texi:23144
  35188. msgid "Available @code{policy-configuration} fields are:"
  35189. msgstr ""
  35190. #. type: deftypevr
  35191. #: guix-git/doc/guix.texi:23145
  35192. #, no-wrap
  35193. msgid "{@code{policy-configuration} parameter} string name"
  35194. msgstr ""
  35195. #. type: deftypevr
  35196. #: guix-git/doc/guix.texi:23147
  35197. msgid "Name of the policy."
  35198. msgstr ""
  35199. #. type: deftypevr
  35200. #: guix-git/doc/guix.texi:23149
  35201. #, no-wrap
  35202. msgid "{@code{policy-configuration} parameter} string job-private-access"
  35203. msgstr ""
  35204. #. type: deftypevr
  35205. #: guix-git/doc/guix.texi:23159
  35206. msgid "Specifies an access list for a job's private values. @code{@@ACL} maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. @code{@@OWNER} maps to the job's owner. @code{@@SYSTEM} maps to the groups listed for the @code{system-group} field of the @code{files-configuration}, which is reified into the @code{cups-files.conf(5)} file. Other possible elements of the access list include specific user names, and @code{@@@var{group}} to indicate members of a specific group. The access list may also be simply @code{all} or @code{default}."
  35207. msgstr ""
  35208. #. type: deftypevr
  35209. #: guix-git/doc/guix.texi:23161 guix-git/doc/guix.texi:23183
  35210. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  35211. msgstr ""
  35212. #. type: deftypevr
  35213. #: guix-git/doc/guix.texi:23163
  35214. #, no-wrap
  35215. msgid "{@code{policy-configuration} parameter} string job-private-values"
  35216. msgstr ""
  35217. #. type: deftypevr
  35218. #: guix-git/doc/guix.texi:23166 guix-git/doc/guix.texi:23188
  35219. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  35220. msgstr ""
  35221. #. type: deftypevr
  35222. #: guix-git/doc/guix.texi:23169
  35223. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  35224. msgstr ""
  35225. #. type: deftypevr
  35226. #: guix-git/doc/guix.texi:23171
  35227. #, no-wrap
  35228. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  35229. msgstr ""
  35230. #. type: deftypevr
  35231. #: guix-git/doc/guix.texi:23181
  35232. msgid "Specifies an access list for a subscription's private values. @code{@@ACL} maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. @code{@@OWNER} maps to the job's owner. @code{@@SYSTEM} maps to the groups listed for the @code{system-group} field of the @code{files-configuration}, which is reified into the @code{cups-files.conf(5)} file. Other possible elements of the access list include specific user names, and @code{@@@var{group}} to indicate members of a specific group. The access list may also be simply @code{all} or @code{default}."
  35233. msgstr ""
  35234. #. type: deftypevr
  35235. #: guix-git/doc/guix.texi:23185
  35236. #, no-wrap
  35237. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  35238. msgstr ""
  35239. #. type: deftypevr
  35240. #: guix-git/doc/guix.texi:23191
  35241. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  35242. msgstr ""
  35243. #. type: deftypevr
  35244. #: guix-git/doc/guix.texi:23193
  35245. #, no-wrap
  35246. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  35247. msgstr ""
  35248. #. type: deftypevr
  35249. #: guix-git/doc/guix.texi:23195
  35250. msgid "Access control by IPP operation."
  35251. msgstr ""
  35252. #. type: deftypevr
  35253. #: guix-git/doc/guix.texi:23200
  35254. #, no-wrap
  35255. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  35256. msgstr ""
  35257. #. type: deftypevr
  35258. #: guix-git/doc/guix.texi:23205
  35259. msgid "Specifies whether job files (documents) are preserved after a job is printed. If a numeric value is specified, job files are preserved for the indicated number of seconds after printing. Otherwise a boolean value applies indefinitely."
  35260. msgstr ""
  35261. #. type: deftypevr
  35262. #: guix-git/doc/guix.texi:23207
  35263. msgid "Defaults to @samp{86400}."
  35264. msgstr ""
  35265. #. type: deftypevr
  35266. #: guix-git/doc/guix.texi:23209
  35267. #, no-wrap
  35268. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  35269. msgstr ""
  35270. #. type: deftypevr
  35271. #: guix-git/doc/guix.texi:23214
  35272. msgid "Specifies whether the job history is preserved after a job is printed. If a numeric value is specified, the job history is preserved for the indicated number of seconds after printing. If @code{#t}, the job history is preserved until the MaxJobs limit is reached."
  35273. msgstr ""
  35274. #. type: deftypevr
  35275. #: guix-git/doc/guix.texi:23218
  35276. #, no-wrap
  35277. msgid "{@code{cups-configuration} parameter} comma-separated-string-list-or-#f ready-paper-sizes"
  35278. msgstr ""
  35279. #. type: deftypevr
  35280. #: guix-git/doc/guix.texi:23222
  35281. msgid "Specifies a list of potential paper sizes that are reported as ready, that is: loaded. The actual list will contain only the sizes that each printer supports."
  35282. msgstr ""
  35283. #. type: deftypevr
  35284. #: guix-git/doc/guix.texi:23227
  35285. msgid "The default value of @code{#f} is a special case: CUPS will use @samp{(list \\\"Letter\\\" \\\"Legal\\\" \\\"Tabloid\\\" \\\"4x6\\\" \\\"Env10\\\")} if the default paper size is \\\"Letter\\\", and @samp{(list \\\"A3\\\" \\\"A4\\\" \\\"A5\\\" \\\"A6\\\" \\\"EnvDL\\\")} otherwise."
  35286. msgstr ""
  35287. #. type: deftypevr
  35288. #: guix-git/doc/guix.texi:23229
  35289. #, no-wrap
  35290. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  35291. msgstr ""
  35292. #. type: deftypevr
  35293. #: guix-git/doc/guix.texi:23232
  35294. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  35295. msgstr ""
  35296. #. type: deftypevr
  35297. #: guix-git/doc/guix.texi:23236
  35298. #, no-wrap
  35299. msgid "{@code{cups-configuration} parameter} string server-admin"
  35300. msgstr ""
  35301. #. type: deftypevr
  35302. #: guix-git/doc/guix.texi:23238
  35303. msgid "Specifies the email address of the server administrator."
  35304. msgstr ""
  35305. #. type: deftypevr
  35306. #: guix-git/doc/guix.texi:23240
  35307. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  35308. msgstr ""
  35309. #. type: deftypevr
  35310. #: guix-git/doc/guix.texi:23242
  35311. #, no-wrap
  35312. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  35313. msgstr ""
  35314. #. type: deftypevr
  35315. #: guix-git/doc/guix.texi:23250
  35316. msgid "The ServerAlias directive is used for HTTP Host header validation when clients connect to the scheduler from external interfaces. Using the special name @code{*} can expose your system to known browser-based DNS rebinding attacks, even when accessing sites through a firewall. If the auto-discovery of alternate names does not work, we recommend listing each alternate name with a ServerAlias directive instead of using @code{*}."
  35317. msgstr ""
  35318. #. type: deftypevr
  35319. #: guix-git/doc/guix.texi:23252
  35320. msgid "Defaults to @samp{*}."
  35321. msgstr ""
  35322. #. type: deftypevr
  35323. #: guix-git/doc/guix.texi:23254
  35324. #, no-wrap
  35325. msgid "{@code{cups-configuration} parameter} string server-name"
  35326. msgstr ""
  35327. #. type: deftypevr
  35328. #: guix-git/doc/guix.texi:23256
  35329. msgid "Specifies the fully-qualified host name of the server."
  35330. msgstr ""
  35331. #. type: deftypevr
  35332. #: guix-git/doc/guix.texi:23258
  35333. msgid "Defaults to @samp{\"localhost\"}."
  35334. msgstr ""
  35335. #. type: deftypevr
  35336. #: guix-git/doc/guix.texi:23260
  35337. #, no-wrap
  35338. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  35339. msgstr ""
  35340. #. type: deftypevr
  35341. #: guix-git/doc/guix.texi:23268
  35342. msgid "Specifies what information is included in the Server header of HTTP responses. @code{None} disables the Server header. @code{ProductOnly} reports @code{CUPS}. @code{Major} reports @code{CUPS 2}. @code{Minor} reports @code{CUPS 2.0}. @code{Minimal} reports @code{CUPS 2.0.0}. @code{OS} reports @code{CUPS 2.0.0 (@var{uname})} where @var{uname} is the output of the @code{uname} command. @code{Full} reports @code{CUPS 2.0.0 (@var{uname}) IPP/2.0}."
  35343. msgstr ""
  35344. #. type: deftypevr
  35345. #: guix-git/doc/guix.texi:23270
  35346. msgid "Defaults to @samp{Minimal}."
  35347. msgstr ""
  35348. #. type: deftypevr
  35349. #: guix-git/doc/guix.texi:23272
  35350. #, no-wrap
  35351. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  35352. msgstr ""
  35353. #. type: deftypevr
  35354. #: guix-git/doc/guix.texi:23277
  35355. msgid "Listens on the specified interfaces for encrypted connections. Valid values are of the form @var{address}:@var{port}, where @var{address} is either an IPv6 address enclosed in brackets, an IPv4 address, or @code{*} to indicate all addresses."
  35356. msgstr ""
  35357. #. type: deftypevr
  35358. #: guix-git/doc/guix.texi:23281
  35359. #, no-wrap
  35360. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  35361. msgstr ""
  35362. #. type: deftypevr
  35363. #: guix-git/doc/guix.texi:23291
  35364. msgid "Sets encryption options. By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites. Security is reduced when @code{Allow} options are used, and enhanced when @code{Deny} options are used. The @code{AllowRC4} option enables the 128-bit RC4 cipher suites, which are required for some older clients. The @code{AllowSSL3} option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0. The @code{DenyCBC} option disables all CBC cipher suites. The @code{DenyTLS1.0} option disables TLS v1.0 support - this sets the minimum protocol version to TLS v1.1."
  35365. msgstr ""
  35366. #. type: deftypevr
  35367. #: guix-git/doc/guix.texi:23295
  35368. #, no-wrap
  35369. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  35370. msgstr ""
  35371. #. type: deftypevr
  35372. #: guix-git/doc/guix.texi:23298
  35373. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  35374. msgstr ""
  35375. #. type: deftypevr
  35376. #: guix-git/doc/guix.texi:23302
  35377. #, no-wrap
  35378. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  35379. msgstr ""
  35380. #. type: deftypevr
  35381. #: guix-git/doc/guix.texi:23304
  35382. msgid "Specifies the HTTP request timeout, in seconds."
  35383. msgstr ""
  35384. #. type: deftypevr
  35385. #: guix-git/doc/guix.texi:23309
  35386. #, no-wrap
  35387. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  35388. msgstr ""
  35389. #. type: deftypevr
  35390. #: guix-git/doc/guix.texi:23311
  35391. msgid "Specifies whether the web interface is enabled."
  35392. msgstr ""
  35393. #. type: Plain text
  35394. #: guix-git/doc/guix.texi:23321
  35395. msgid "At this point you're probably thinking ``oh dear, Guix manual, I like you but you can stop already with the configuration options''. Indeed. However, one more point: it could be that you have an existing @code{cupsd.conf} that you want to use. In that case, you can pass an @code{opaque-cups-configuration} as the configuration of a @code{cups-service-type}."
  35396. msgstr ""
  35397. #. type: Plain text
  35398. #: guix-git/doc/guix.texi:23323
  35399. msgid "Available @code{opaque-cups-configuration} fields are:"
  35400. msgstr ""
  35401. #. type: deftypevr
  35402. #: guix-git/doc/guix.texi:23324
  35403. #, no-wrap
  35404. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  35405. msgstr ""
  35406. #. type: deftypevr
  35407. #: guix-git/doc/guix.texi:23328
  35408. #, no-wrap
  35409. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  35410. msgstr ""
  35411. #. type: deftypevr
  35412. #: guix-git/doc/guix.texi:23330
  35413. msgid "The contents of the @code{cupsd.conf}, as a string."
  35414. msgstr ""
  35415. #. type: deftypevr
  35416. #: guix-git/doc/guix.texi:23332
  35417. #, no-wrap
  35418. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  35419. msgstr ""
  35420. #. type: deftypevr
  35421. #: guix-git/doc/guix.texi:23334
  35422. msgid "The contents of the @code{cups-files.conf} file, as a string."
  35423. msgstr ""
  35424. #. type: Plain text
  35425. #: guix-git/doc/guix.texi:23339
  35426. msgid "For example, if your @code{cupsd.conf} and @code{cups-files.conf} are in strings of the same name, you could instantiate a CUPS service like this:"
  35427. msgstr ""
  35428. #. type: lisp
  35429. #: guix-git/doc/guix.texi:23345
  35430. #, no-wrap
  35431. msgid ""
  35432. "(service cups-service-type\n"
  35433. " (opaque-cups-configuration\n"
  35434. " (cupsd.conf cupsd.conf)\n"
  35435. " (cups-files.conf cups-files.conf)))\n"
  35436. msgstr ""
  35437. #. type: Plain text
  35438. #: guix-git/doc/guix.texi:23356
  35439. msgid "The @code{(gnu services desktop)} module provides services that are usually useful in the context of a ``desktop'' setup---that is, on a machine running a graphical display server, possibly with graphical user interfaces, etc. It also defines services that provide specific desktop environments like GNOME, Xfce or MATE."
  35440. msgstr ""
  35441. #. type: Plain text
  35442. #: guix-git/doc/guix.texi:23360
  35443. msgid "To simplify things, the module defines a variable containing the set of services that users typically expect on a machine with a graphical environment and networking:"
  35444. msgstr ""
  35445. #. type: defvar
  35446. #: guix-git/doc/guix.texi:23361
  35447. #, fuzzy, no-wrap
  35448. #| msgid "Desktop Services"
  35449. msgid "%desktop-services"
  35450. msgstr "Serviços de desktop"
  35451. #. type: defvar
  35452. #: guix-git/doc/guix.texi:23364
  35453. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  35454. msgstr ""
  35455. #. type: defvar
  35456. #: guix-git/doc/guix.texi:23373
  35457. msgid "In particular, it adds a graphical login manager (@pxref{X Window, @code{gdm-service-type}}), screen lockers, a network management tool (@pxref{Networking Services, @code{network-manager-service-type}}) with modem support (@pxref{Networking Services, @code{modem-manager-service-type}}), energy and color management services, the @code{elogind} login and seat manager, the Polkit privilege service, the GeoClue location service, the AccountsService daemon that allows authorized users change system passwords, a NTP client (@pxref{Networking Services}) and the Avahi daemon."
  35458. msgstr ""
  35459. #. type: Plain text
  35460. #: guix-git/doc/guix.texi:23378
  35461. msgid "The @code{%desktop-services} variable can be used as the @code{services} field of an @code{operating-system} declaration (@pxref{operating-system Reference, @code{services}})."
  35462. msgstr ""
  35463. #. type: Plain text
  35464. #: guix-git/doc/guix.texi:23401
  35465. msgid "Additionally, the @code{gnome-desktop-service-type}, @code{xfce-desktop-service}, @code{mate-desktop-service-type}, @code{lxqt-desktop-service-type} and @code{enlightenment-desktop-service-type} procedures can add GNOME, Xfce, MATE and/or Enlightenment to a system. To ``add GNOME'' means that system-level services like the backlight adjustment helpers and the power management utilities are added to the system, extending @code{polkit} and @code{dbus} appropriately, allowing GNOME to operate with elevated privileges on a limited number of special-purpose system interfaces. Additionally, adding a service made by @code{gnome-desktop-service-type} adds the GNOME metapackage to the system profile. Likewise, adding the Xfce service not only adds the @code{xfce} metapackage to the system profile, but it also gives the Thunar file manager the ability to open a ``root-mode'' file management window, if the user authenticates using the administrator's password via the standard polkit graphical interface. To ``add MATE'' means that @code{polkit} and @code{dbus} are extended appropriately, allowing MATE to operate with elevated privileges on a limited number of special-purpose system interfaces. Additionally, adding a service of type @code{mate-desktop-service-type} adds the MATE metapackage to the system profile. ``Adding Enlightenment'' means that @code{dbus} is extended appropriately, and several of Enlightenment's binaries are set as setuid, allowing Enlightenment's screen locker and other functionality to work as expected."
  35466. msgstr ""
  35467. #. type: Plain text
  35468. #: guix-git/doc/guix.texi:23411
  35469. msgid "The desktop environments in Guix use the Xorg display server by default. If you'd like to use the newer display server protocol called Wayland, you need to enable Wayland support in GDM (@pxref{wayland-gdm}). Another solution is to use the @code{sddm-service} instead of GDM as the graphical login manager. You should then select the ``GNOME (Wayland)'' session in SDDM@. Alternatively you can also try starting GNOME on Wayland manually from a TTY with the command ``XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session``. Currently only GNOME has support for Wayland."
  35470. msgstr ""
  35471. #. type: defvar
  35472. #: guix-git/doc/guix.texi:23412
  35473. #, fuzzy, no-wrap
  35474. #| msgid "guix-publish-service-type"
  35475. msgid "gnome-desktop-service-type"
  35476. msgstr "guix-publish-service-type"
  35477. #. type: defvar
  35478. #: guix-git/doc/guix.texi:23416
  35479. msgid "This is the type of the service that adds the @uref{https://www.gnome.org, GNOME} desktop environment. Its value is a @code{gnome-desktop-configuration} object (see below)."
  35480. msgstr ""
  35481. #. type: defvar
  35482. #: guix-git/doc/guix.texi:23419
  35483. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  35484. msgstr ""
  35485. #. type: deftp
  35486. #: guix-git/doc/guix.texi:23421
  35487. #, no-wrap
  35488. msgid "{Data Type} gnome-desktop-configuration"
  35489. msgstr ""
  35490. #. type: deftp
  35491. #: guix-git/doc/guix.texi:23423
  35492. msgid "Configuration record for the GNOME desktop environment."
  35493. msgstr ""
  35494. #. type: item
  35495. #: guix-git/doc/guix.texi:23425
  35496. #, no-wrap
  35497. msgid "@code{gnome} (default: @code{gnome})"
  35498. msgstr ""
  35499. #. type: table
  35500. #: guix-git/doc/guix.texi:23427
  35501. msgid "The GNOME package to use."
  35502. msgstr ""
  35503. #. type: defvar
  35504. #: guix-git/doc/guix.texi:23430
  35505. #, fuzzy, no-wrap
  35506. #| msgid "guix-publish-service-type"
  35507. msgid "xfce-desktop-service-type"
  35508. msgstr "guix-publish-service-type"
  35509. #. type: defvar
  35510. #: guix-git/doc/guix.texi:23434
  35511. msgid "This is the type of a service to run the @uref{Xfce, https://xfce.org/} desktop environment. Its value is an @code{xfce-desktop-configuration} object (see below)."
  35512. msgstr ""
  35513. #. type: defvar
  35514. #: guix-git/doc/guix.texi:23439
  35515. msgid "This service adds the @code{xfce} package to the system profile, and extends polkit with the ability for @code{thunar} to manipulate the file system as root from within a user session, after the user has authenticated with the administrator's password."
  35516. msgstr ""
  35517. #. type: defvar
  35518. #: guix-git/doc/guix.texi:23445
  35519. msgid "Note that @code{xfce4-panel} and its plugin packages should be installed in the same profile to ensure compatibility. When using this service, you should add extra plugins (@code{xfce4-whiskermenu-plugin}, @code{xfce4-weather-plugin}, etc.) to the @code{packages} field of your @code{operating-system}."
  35520. msgstr ""
  35521. #. type: deftp
  35522. #: guix-git/doc/guix.texi:23447
  35523. #, no-wrap
  35524. msgid "{Data Type} xfce-desktop-configuration"
  35525. msgstr ""
  35526. #. type: deftp
  35527. #: guix-git/doc/guix.texi:23449
  35528. msgid "Configuration record for the Xfce desktop environment."
  35529. msgstr ""
  35530. #. type: item
  35531. #: guix-git/doc/guix.texi:23451
  35532. #, no-wrap
  35533. msgid "@code{xfce} (default: @code{xfce})"
  35534. msgstr "@code{xfce} (default: @code{xfce})"
  35535. #. type: table
  35536. #: guix-git/doc/guix.texi:23453
  35537. msgid "The Xfce package to use."
  35538. msgstr ""
  35539. #. type: defvar
  35540. #: guix-git/doc/guix.texi:23456
  35541. #, fuzzy, no-wrap
  35542. #| msgid "guix-publish-service-type"
  35543. msgid "mate-desktop-service-type"
  35544. msgstr "guix-publish-service-type"
  35545. #. type: defvar
  35546. #: guix-git/doc/guix.texi:23460
  35547. msgid "This is the type of the service that runs the @uref{https://mate-desktop.org/, MATE desktop environment}. Its value is a @code{mate-desktop-configuration} object (see below)."
  35548. msgstr ""
  35549. #. type: defvar
  35550. #: guix-git/doc/guix.texi:23464
  35551. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  35552. msgstr ""
  35553. #. type: deftp
  35554. #: guix-git/doc/guix.texi:23466
  35555. #, no-wrap
  35556. msgid "{Data Type} mate-desktop-configuration"
  35557. msgstr ""
  35558. #. type: deftp
  35559. #: guix-git/doc/guix.texi:23468
  35560. msgid "Configuration record for the MATE desktop environment."
  35561. msgstr ""
  35562. #. type: item
  35563. #: guix-git/doc/guix.texi:23470
  35564. #, no-wrap
  35565. msgid "@code{mate} (default: @code{mate})"
  35566. msgstr ""
  35567. #. type: table
  35568. #: guix-git/doc/guix.texi:23472
  35569. msgid "The MATE package to use."
  35570. msgstr ""
  35571. #. type: defvar
  35572. #: guix-git/doc/guix.texi:23475
  35573. #, fuzzy, no-wrap
  35574. #| msgid "guix-publish-service-type"
  35575. msgid "lxqt-desktop-service-type"
  35576. msgstr "guix-publish-service-type"
  35577. #. type: defvar
  35578. #: guix-git/doc/guix.texi:23479
  35579. msgid "This is the type of the service that runs the @uref{https://lxqt-project.org, LXQt desktop environment}. Its value is a @code{lxqt-desktop-configuration} object (see below)."
  35580. msgstr ""
  35581. #. type: defvar
  35582. #: guix-git/doc/guix.texi:23482
  35583. msgid "This service adds the @code{lxqt} package to the system profile."
  35584. msgstr ""
  35585. #. type: deftp
  35586. #: guix-git/doc/guix.texi:23484
  35587. #, no-wrap
  35588. msgid "{Data Type} lxqt-desktop-configuration"
  35589. msgstr ""
  35590. #. type: deftp
  35591. #: guix-git/doc/guix.texi:23486
  35592. msgid "Configuration record for the LXQt desktop environment."
  35593. msgstr ""
  35594. #. type: item
  35595. #: guix-git/doc/guix.texi:23488
  35596. #, no-wrap
  35597. msgid "@code{lxqt} (default: @code{lxqt})"
  35598. msgstr ""
  35599. #. type: table
  35600. #: guix-git/doc/guix.texi:23490
  35601. msgid "The LXQT package to use."
  35602. msgstr ""
  35603. #. type: defvar
  35604. #: guix-git/doc/guix.texi:23493
  35605. #, fuzzy, no-wrap
  35606. #| msgid "guix-publish-service-type"
  35607. msgid "sugar-desktop-service-type"
  35608. msgstr "guix-publish-service-type"
  35609. #. type: defvar
  35610. #: guix-git/doc/guix.texi:23497
  35611. msgid "This is the type of the service that runs the @uref{https://www.sugarlabs.org, Sugar desktop environment}. Its value is a @code{sugar-desktop-configuration} object (see below)."
  35612. msgstr ""
  35613. #. type: defvar
  35614. #: guix-git/doc/guix.texi:23501
  35615. msgid "This service adds the @code{sugar} package to the system profile, as well as any selected Sugar activities. By default it only includes a minimal set of activities."
  35616. msgstr ""
  35617. #. type: deftp
  35618. #: guix-git/doc/guix.texi:23503
  35619. #, fuzzy, no-wrap
  35620. msgid "{Data Type} sugar-desktop-configuration"
  35621. msgstr "build-machine {Data Type}"
  35622. #. type: deftp
  35623. #: guix-git/doc/guix.texi:23505
  35624. #, fuzzy
  35625. msgid "Configuration record for the Sugar desktop environment."
  35626. msgstr "Gerencie a configuração do sistema operacional."
  35627. #. type: item
  35628. #: guix-git/doc/guix.texi:23507
  35629. #, fuzzy, no-wrap
  35630. #| msgid "@code{shared?} (default: @code{#t})"
  35631. msgid "@code{sugar} (default: @code{sugar})"
  35632. msgstr "@code{shared?} (padrão: @code{#t})"
  35633. #. type: table
  35634. #: guix-git/doc/guix.texi:23509
  35635. #, fuzzy
  35636. msgid "The Sugar package to use."
  35637. msgstr "O pacote GPM a ser usado."
  35638. #. type: item
  35639. #: guix-git/doc/guix.texi:23509
  35640. #, fuzzy, no-wrap
  35641. msgid "@code{gobject-introspection} (default: @code{gobject-introspection})"
  35642. msgstr "@code{tmpdir} (default: @code{#f})"
  35643. #. type: table
  35644. #: guix-git/doc/guix.texi:23512
  35645. msgid "The @code{gobject-introspection} package to use. This package is used to access libraries installed as dependencies of Sugar activities."
  35646. msgstr ""
  35647. #. type: item
  35648. #: guix-git/doc/guix.texi:23512
  35649. #, fuzzy, no-wrap
  35650. #| msgid "@code{features} (default: @code{'()})"
  35651. msgid "@code{activities} (default: @code{(list sugar-help-activity)})"
  35652. msgstr "@code{features} (padrão: @code{'()})"
  35653. #. type: table
  35654. #: guix-git/doc/guix.texi:23514
  35655. msgid "A list of Sugar activities to install."
  35656. msgstr ""
  35657. #. type: Plain text
  35658. #: guix-git/doc/guix.texi:23519
  35659. msgid "The following example configures the Sugar desktop environment with a number of useful activities:"
  35660. msgstr ""
  35661. #. type: lisp
  35662. #: guix-git/doc/guix.texi:23534
  35663. #, no-wrap
  35664. msgid ""
  35665. "(use-modules (gnu))\n"
  35666. "(use-package-modules sugar)\n"
  35667. "(use-service-modules desktop)\n"
  35668. "(operating-system\n"
  35669. " ...\n"
  35670. " (services (cons* (service sugar-desktop-service-type\n"
  35671. " (sugar-desktop-configuration\n"
  35672. " (activities (list sugar-browse-activity\n"
  35673. " sugar-help-activity\n"
  35674. " sugar-jukebox-activity\n"
  35675. " sugar-typing-turtle-activity))))\n"
  35676. " %desktop-services))\n"
  35677. " ...)\n"
  35678. msgstr ""
  35679. #. type: defvar
  35680. #: guix-git/doc/guix.texi:23536
  35681. #, fuzzy, no-wrap
  35682. #| msgid "guix-publish-service-type"
  35683. msgid "enlightenment-desktop-service-type"
  35684. msgstr "guix-publish-service-type"
  35685. #. type: defvar
  35686. #: guix-git/doc/guix.texi:23539
  35687. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  35688. msgstr ""
  35689. #. type: deftp
  35690. #: guix-git/doc/guix.texi:23541
  35691. #, no-wrap
  35692. msgid "{Data Type} enlightenment-desktop-service-configuration"
  35693. msgstr ""
  35694. #. type: item
  35695. #: guix-git/doc/guix.texi:23543
  35696. #, no-wrap
  35697. msgid "@code{enlightenment} (default: @code{enlightenment})"
  35698. msgstr ""
  35699. #. type: table
  35700. #: guix-git/doc/guix.texi:23545
  35701. msgid "The enlightenment package to use."
  35702. msgstr ""
  35703. #. type: Plain text
  35704. #: guix-git/doc/guix.texi:23553
  35705. msgid "Because the GNOME, Xfce and MATE desktop services pull in so many packages, the default @code{%desktop-services} variable doesn't include any of them by default. To add GNOME, Xfce or MATE, just @code{cons} them onto @code{%desktop-services} in the @code{services} field of your @code{operating-system}:"
  35706. msgstr ""
  35707. #. type: lisp
  35708. #: guix-git/doc/guix.texi:23564
  35709. #, no-wrap
  35710. msgid ""
  35711. "(use-modules (gnu))\n"
  35712. "(use-service-modules desktop)\n"
  35713. "(operating-system\n"
  35714. " ...\n"
  35715. " ;; cons* adds items to the list given as its last argument.\n"
  35716. " (services (cons* (service gnome-desktop-service-type)\n"
  35717. " (service xfce-desktop-service)\n"
  35718. " %desktop-services))\n"
  35719. " ...)\n"
  35720. msgstr ""
  35721. #. type: Plain text
  35722. #: guix-git/doc/guix.texi:23568
  35723. msgid "These desktop environments will then be available as options in the graphical login window."
  35724. msgstr ""
  35725. #. type: Plain text
  35726. #: guix-git/doc/guix.texi:23572
  35727. msgid "The actual service definitions included in @code{%desktop-services} and provided by @code{(gnu services dbus)} and @code{(gnu services desktop)} are described below."
  35728. msgstr ""
  35729. #. type: defvar
  35730. #: guix-git/doc/guix.texi:23573
  35731. #, fuzzy, no-wrap
  35732. #| msgid "guix-publish-service-type"
  35733. msgid "dbus-root-service-type"
  35734. msgstr "guix-publish-service-type"
  35735. #. type: defvar
  35736. #: guix-git/doc/guix.texi:23578
  35737. msgid "Type for a service that runs the D-Bus ``system bus''. @footnote{@uref{https://dbus.freedesktop.org/, D-Bus} is an inter-process communication facility. Its system bus is used to allow system services to communicate and to be notified of system-wide events.}"
  35738. msgstr ""
  35739. #. type: defvar
  35740. #: guix-git/doc/guix.texi:23580
  35741. msgid "The value for this service type is a @code{<dbus-configuration>} record."
  35742. msgstr ""
  35743. #. type: deftp
  35744. #: guix-git/doc/guix.texi:23582
  35745. #, fuzzy, no-wrap
  35746. msgid "{Data Type} dbus-configuration"
  35747. msgstr "build-machine {Data Type}"
  35748. #. type: deftp
  35749. #: guix-git/doc/guix.texi:23584
  35750. #, fuzzy
  35751. msgid "Data type representing the configuration for @code{dbus-root-service-type}."
  35752. msgstr "Gerencie a configuração do sistema operacional."
  35753. #. type: item
  35754. #: guix-git/doc/guix.texi:23586
  35755. #, fuzzy, no-wrap
  35756. #| msgid "@code{dbus?} (default: @code{#t})"
  35757. msgid "@code{dbus} (default: @code{dbus}) (type: file-like)"
  35758. msgstr "@code{dbus?} (padrão: @code{#t})"
  35759. #. type: table
  35760. #: guix-git/doc/guix.texi:23588
  35761. #, fuzzy
  35762. #| msgid "Package Modules"
  35763. msgid "Package object for dbus."
  35764. msgstr "Módulos de pacote"
  35765. #. type: item
  35766. #: guix-git/doc/guix.texi:23589
  35767. #, fuzzy, no-wrap
  35768. #| msgid "@code{replacement} (default: @code{#f})"
  35769. msgid "@code{services} (default: @code{'()}) (type: list)"
  35770. msgstr "@code{replacement} (default: @code{#f})"
  35771. #. type: table
  35772. #: guix-git/doc/guix.texi:23594
  35773. msgid "List of packages that provide an @file{etc/dbus-1/system.d} directory containing additional D-Bus configuration and policy files. For example, to allow avahi-daemon to use the system bus, @var{services} must be equal to @code{(list avahi)}."
  35774. msgstr ""
  35775. #. type: item
  35776. #: guix-git/doc/guix.texi:23595
  35777. #, fuzzy, no-wrap
  35778. #| msgid "@code{debug?} (default: @code{#f})"
  35779. msgid "@code{verbose?} (default: @code{#f}) (type: boolean)"
  35780. msgstr "@code{debug?} (default: @code{#f})"
  35781. #. type: table
  35782. #: guix-git/doc/guix.texi:23601
  35783. msgid "When @code{#t}, D-Bus is launched with environment variable @samp{DBUS_VERBOSE} set to @samp{1}. A verbose-enabled D-Bus package such as @code{dbus-verbose} should be provided to @var{dbus} in this scenario. The verbose output is logged to @file{/var/log/dbus-daemon.log}."
  35784. msgstr ""
  35785. #. type: subsubheading
  35786. #: guix-git/doc/guix.texi:23605
  35787. #, no-wrap
  35788. msgid "Elogind"
  35789. msgstr ""
  35790. #. type: Plain text
  35791. #: guix-git/doc/guix.texi:23611
  35792. msgid "@uref{https://github.com/elogind/elogind, Elogind} is a login and seat management daemon that also handles most system-level power events for a computer, for example suspending the system when a lid is closed, or shutting it down when the power button is pressed."
  35793. msgstr ""
  35794. #. type: Plain text
  35795. #: guix-git/doc/guix.texi:23615
  35796. msgid "It also provides a D-Bus interface that can be used to know which users are logged in, know what kind of sessions they have open, suspend the system, inhibit system suspend, reboot the system, and other tasks."
  35797. msgstr ""
  35798. #. type: defvar
  35799. #: guix-git/doc/guix.texi:23616
  35800. #, fuzzy, no-wrap
  35801. #| msgid "guix-publish-service-type"
  35802. msgid "elogind-service-type"
  35803. msgstr "guix-publish-service-type"
  35804. #. type: defvar
  35805. #: guix-git/doc/guix.texi:23620
  35806. msgid "Type of the service that runs @command{elogind}, a login and seat management daemon. The value for this service is a @code{<elogind-configuration>} object."
  35807. msgstr ""
  35808. #. type: deftp
  35809. #: guix-git/doc/guix.texi:23625
  35810. #, fuzzy, no-wrap
  35811. msgid "{Data Type} elogind-configuration"
  35812. msgstr "build-machine {Data Type}"
  35813. #. type: deftp
  35814. #: guix-git/doc/guix.texi:23627
  35815. #, fuzzy
  35816. msgid "Data type representing the configuration of @command{elogind}."
  35817. msgstr "Gerencie a configuração do sistema operacional."
  35818. #. type: item
  35819. #: guix-git/doc/guix.texi:23629
  35820. #, fuzzy, no-wrap
  35821. #| msgid "@code{dbus?} (default: @code{#t})"
  35822. msgid "@code{elogind} (default: @code{elogind}) (type: file-like)"
  35823. msgstr "@code{dbus?} (padrão: @code{#t})"
  35824. #. type: table
  35825. #: guix-git/doc/guix.texi:23631 guix-git/doc/guix.texi:23634
  35826. #: guix-git/doc/guix.texi:23637 guix-git/doc/guix.texi:23640
  35827. #: guix-git/doc/guix.texi:23643 guix-git/doc/guix.texi:23646
  35828. #: guix-git/doc/guix.texi:23649 guix-git/doc/guix.texi:23652
  35829. #: guix-git/doc/guix.texi:23655 guix-git/doc/guix.texi:23658
  35830. #: guix-git/doc/guix.texi:23661 guix-git/doc/guix.texi:23664
  35831. #: guix-git/doc/guix.texi:23667 guix-git/doc/guix.texi:23670
  35832. #: guix-git/doc/guix.texi:23673 guix-git/doc/guix.texi:23676
  35833. #: guix-git/doc/guix.texi:23679 guix-git/doc/guix.texi:23682
  35834. #: guix-git/doc/guix.texi:23685 guix-git/doc/guix.texi:23688
  35835. #: guix-git/doc/guix.texi:23691 guix-git/doc/guix.texi:23694
  35836. #: guix-git/doc/guix.texi:23697 guix-git/doc/guix.texi:23700
  35837. #: guix-git/doc/guix.texi:23703 guix-git/doc/guix.texi:23706
  35838. #: guix-git/doc/guix.texi:23709
  35839. msgid "..."
  35840. msgstr ""
  35841. #. type: item
  35842. #: guix-git/doc/guix.texi:23632
  35843. #, fuzzy, no-wrap
  35844. #| msgid "@code{users} (default: @code{#f})"
  35845. msgid "@code{kill-user-processes?} (default: @code{#f}) (type: boolean)"
  35846. msgstr "@code{users} (default: @code{#f})"
  35847. #. type: item
  35848. #: guix-git/doc/guix.texi:23635
  35849. #, fuzzy, no-wrap
  35850. #| msgid "@code{replacement} (default: @code{#f})"
  35851. msgid "@code{kill-only-users} (default: @code{'()}) (type: list)"
  35852. msgstr "@code{replacement} (default: @code{#f})"
  35853. #. type: item
  35854. #: guix-git/doc/guix.texi:23638
  35855. #, fuzzy, no-wrap
  35856. #| msgid "@code{dbus?} (default: @code{#t})"
  35857. msgid "@code{kill-exclude-users} (default: @code{'(\"root\")}) (type: list-of-string)"
  35858. msgstr "@code{dbus?} (padrão: @code{#t})"
  35859. #. type: item
  35860. #: guix-git/doc/guix.texi:23641
  35861. #, fuzzy, no-wrap
  35862. #| msgid "@code{debug?} (default: @code{#f})"
  35863. msgid "@code{inhibit-delay-max-seconds} (default: @code{5}) (type: integer)"
  35864. msgstr "@code{debug?} (default: @code{#f})"
  35865. #. type: item
  35866. #: guix-git/doc/guix.texi:23644
  35867. #, fuzzy, no-wrap
  35868. #| msgid "@code{users} (default: @code{#f})"
  35869. msgid "@code{handle-power-key} (default: @code{'poweroff}) (type: symbol)"
  35870. msgstr "@code{users} (default: @code{#f})"
  35871. #. type: item
  35872. #: guix-git/doc/guix.texi:23647
  35873. #, fuzzy, no-wrap
  35874. #| msgid "@code{users} (default: @code{#f})"
  35875. msgid "@code{handle-suspend-key} (default: @code{'suspend}) (type: symbol)"
  35876. msgstr "@code{users} (default: @code{#f})"
  35877. #. type: item
  35878. #: guix-git/doc/guix.texi:23650
  35879. #, fuzzy, no-wrap
  35880. #| msgid "@code{users} (default: @code{#f})"
  35881. msgid "@code{handle-hibernate-key} (default: @code{'hibernate}) (type: symbol)"
  35882. msgstr "@code{users} (default: @code{#f})"
  35883. #. type: item
  35884. #: guix-git/doc/guix.texi:23653
  35885. #, fuzzy, no-wrap
  35886. #| msgid "@code{users} (default: @code{#f})"
  35887. msgid "@code{handle-lid-switch} (default: @code{'suspend}) (type: symbol)"
  35888. msgstr "@code{users} (default: @code{#f})"
  35889. #. type: item
  35890. #: guix-git/doc/guix.texi:23656
  35891. #, fuzzy, no-wrap
  35892. #| msgid "@code{users} (default: @code{#f})"
  35893. msgid "@code{handle-lid-switch-docked} (default: @code{'ignore}) (type: symbol)"
  35894. msgstr "@code{users} (default: @code{#f})"
  35895. #. type: item
  35896. #: guix-git/doc/guix.texi:23659
  35897. #, fuzzy, no-wrap
  35898. #| msgid "@code{users} (default: @code{#f})"
  35899. msgid "@code{handle-lid-switch-external-power} (default: @code{*unspecified*}) (type: symbol)"
  35900. msgstr "@code{users} (default: @code{#f})"
  35901. #. type: item
  35902. #: guix-git/doc/guix.texi:23662
  35903. #, fuzzy, no-wrap
  35904. #| msgid "@code{wait?} (default: @code{#t})"
  35905. msgid "@code{power-key-ignore-inhibited?} (default: @code{#f}) (type: boolean)"
  35906. msgstr "@code{wait?} (padrão: @code{#t})"
  35907. #. type: item
  35908. #: guix-git/doc/guix.texi:23665
  35909. #, fuzzy, no-wrap
  35910. #| msgid "@code{wait?} (default: @code{#t})"
  35911. msgid "@code{suspend-key-ignore-inhibited?} (default: @code{#f}) (type: boolean)"
  35912. msgstr "@code{wait?} (padrão: @code{#t})"
  35913. #. type: item
  35914. #: guix-git/doc/guix.texi:23668
  35915. #, fuzzy, no-wrap
  35916. #| msgid "@code{debug?} (default: @code{#f})"
  35917. msgid "@code{hibernate-key-ignore-inhibited?} (default: @code{#f}) (type: boolean)"
  35918. msgstr "@code{debug?} (default: @code{#f})"
  35919. #. type: item
  35920. #: guix-git/doc/guix.texi:23671
  35921. #, fuzzy, no-wrap
  35922. #| msgid "@code{debug?} (default: @code{#f})"
  35923. msgid "@code{lid-switch-ignore-inhibited?} (default: @code{#t}) (type: boolean)"
  35924. msgstr "@code{debug?} (default: @code{#f})"
  35925. #. type: item
  35926. #: guix-git/doc/guix.texi:23674
  35927. #, fuzzy, no-wrap
  35928. #| msgid "@code{debug?} (default: @code{#f})"
  35929. msgid "@code{holdoff-timeout-seconds} (default: @code{30}) (type: integer)"
  35930. msgstr "@code{debug?} (default: @code{#f})"
  35931. #. type: item
  35932. #: guix-git/doc/guix.texi:23677
  35933. #, fuzzy, no-wrap
  35934. #| msgid "@code{users} (default: @code{#f})"
  35935. msgid "@code{idle-action} (default: @code{'ignore}) (type: symbol)"
  35936. msgstr "@code{users} (default: @code{#f})"
  35937. #. type: item
  35938. #: guix-git/doc/guix.texi:23680
  35939. #, fuzzy, no-wrap
  35940. #| msgid "@code{debug?} (default: @code{#f})"
  35941. msgid "@code{idle-action-seconds} (default: @code{(* 30 60)}) (type: integer)"
  35942. msgstr "@code{debug?} (default: @code{#f})"
  35943. #. type: item
  35944. #: guix-git/doc/guix.texi:23683
  35945. #, fuzzy, no-wrap
  35946. #| msgid "@code{debug?} (default: @code{#f})"
  35947. msgid "@code{runtime-directory-size-percent} (default: @code{10}) (type: integer)"
  35948. msgstr "@code{debug?} (default: @code{#f})"
  35949. #. type: item
  35950. #: guix-git/doc/guix.texi:23686
  35951. #, fuzzy, no-wrap
  35952. #| msgid "@code{debug?} (default: @code{#f})"
  35953. msgid "@code{runtime-directory-size} (default: @code{#f}) (type: integer)"
  35954. msgstr "@code{debug?} (default: @code{#f})"
  35955. #. type: item
  35956. #: guix-git/doc/guix.texi:23689
  35957. #, fuzzy, no-wrap
  35958. #| msgid "@code{debug?} (default: @code{#f})"
  35959. msgid "@code{remove-ipc?} (default: @code{#t}) (type: boolean)"
  35960. msgstr "@code{debug?} (default: @code{#f})"
  35961. #. type: item
  35962. #: guix-git/doc/guix.texi:23692
  35963. #, fuzzy, no-wrap
  35964. #| msgid "@code{replacement} (default: @code{#f})"
  35965. msgid "@code{suspend-state} (default: @code{'(\"mem\" \"standby\" \"freeze\")}) (type: list)"
  35966. msgstr "@code{replacement} (default: @code{#f})"
  35967. #. type: item
  35968. #: guix-git/doc/guix.texi:23695
  35969. #, fuzzy, no-wrap
  35970. #| msgid "@code{replacement} (default: @code{#f})"
  35971. msgid "@code{suspend-mode} (default: @code{'()}) (type: list)"
  35972. msgstr "@code{replacement} (default: @code{#f})"
  35973. #. type: item
  35974. #: guix-git/doc/guix.texi:23698
  35975. #, fuzzy, no-wrap
  35976. #| msgid "@code{replacement} (default: @code{#f})"
  35977. msgid "@code{hibernate-state} (default: @code{'(\"disk\")}) (type: list)"
  35978. msgstr "@code{replacement} (default: @code{#f})"
  35979. #. type: item
  35980. #: guix-git/doc/guix.texi:23701
  35981. #, fuzzy, no-wrap
  35982. #| msgid "@code{dbus?} (default: @code{#t})"
  35983. msgid "@code{hibernate-mode} (default: @code{'(\"platform\" \"shutdown\")}) (type: list)"
  35984. msgstr "@code{dbus?} (padrão: @code{#t})"
  35985. #. type: item
  35986. #: guix-git/doc/guix.texi:23704
  35987. #, fuzzy, no-wrap
  35988. #| msgid "@code{replacement} (default: @code{#f})"
  35989. msgid "@code{hybrid-sleep-state} (default: @code{'(\"disk\")}) (type: list)"
  35990. msgstr "@code{replacement} (default: @code{#f})"
  35991. #. type: item
  35992. #: guix-git/doc/guix.texi:23707
  35993. #, fuzzy, no-wrap
  35994. #| msgid "@code{dbus?} (default: @code{#t})"
  35995. msgid "@code{hybrid-sleep-mode} (default: @code{'(\"suspend\" \"platform\" \"shutdown\")}) (type: list)"
  35996. msgstr "@code{dbus?} (padrão: @code{#t})"
  35997. #. type: defvar
  35998. #: guix-git/doc/guix.texi:23713
  35999. #, fuzzy, no-wrap
  36000. #| msgid "guix-publish-service-type"
  36001. msgid "accountsservice-service-type"
  36002. msgstr "guix-publish-service-type"
  36003. #. type: defvar
  36004. #: guix-git/doc/guix.texi:23720
  36005. msgid "Type for the service that runs AccountsService, a system service that can list available accounts, change their passwords, and so on. AccountsService integrates with PolicyKit to enable unprivileged users to acquire the capability to modify their system configuration. See @url{https://www.freedesktop.org/wiki/Software/AccountsService/, AccountsService} for more information."
  36006. msgstr ""
  36007. #. type: defvar
  36008. #: guix-git/doc/guix.texi:23723
  36009. msgid "The value for this service is a file-like object, by default it is set to @code{accountsservice} (the package object for AccountsService)."
  36010. msgstr ""
  36011. #. type: defvar
  36012. #: guix-git/doc/guix.texi:23725
  36013. #, fuzzy, no-wrap
  36014. #| msgid "guix-publish-service-type"
  36015. msgid "polkit-service-type"
  36016. msgstr "guix-publish-service-type"
  36017. #. type: defvar
  36018. #: guix-git/doc/guix.texi:23733
  36019. msgid "Type for the service that runs the @url{https://www.freedesktop.org/wiki/Software/polkit/, Polkit privilege management service}, which allows system administrators to grant access to privileged operations in a structured way. By querying the Polkit service, a privileged system component can know when it should grant additional capabilities to ordinary users. For example, an ordinary user can be granted the capability to suspend the system if the user is logged in locally."
  36020. msgstr ""
  36021. #. type: defvar
  36022. #: guix-git/doc/guix.texi:23735
  36023. msgid "The value for this service is a @code{<polkit-configuration>} object."
  36024. msgstr ""
  36025. #. type: defvar
  36026. #: guix-git/doc/guix.texi:23740
  36027. #, no-wrap
  36028. msgid "polkit-wheel-service"
  36029. msgstr ""
  36030. #. type: defvar
  36031. #: guix-git/doc/guix.texi:23745
  36032. msgid "Service that adds the @code{wheel} group as admins to the Polkit service. This makes it so that users in the @code{wheel} group are queried for their own passwords when performing administrative actions instead of @code{root}'s, similar to the behaviour used by @code{sudo}."
  36033. msgstr ""
  36034. #. type: defvar
  36035. #: guix-git/doc/guix.texi:23747
  36036. #, fuzzy, no-wrap
  36037. #| msgid "guix-publish-service-type"
  36038. msgid "upower-service-type"
  36039. msgstr "guix-publish-service-type"
  36040. #. type: defvar
  36041. #: guix-git/doc/guix.texi:23751
  36042. msgid "Service that runs @uref{https://upower.freedesktop.org/, @command{upowerd}}, a system-wide monitor for power consumption and battery levels, with the given configuration settings."
  36043. msgstr ""
  36044. #. type: defvar
  36045. #: guix-git/doc/guix.texi:23754
  36046. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  36047. msgstr ""
  36048. #. type: deftp
  36049. #: guix-git/doc/guix.texi:23756
  36050. #, no-wrap
  36051. msgid "{Data Type} upower-configuration"
  36052. msgstr ""
  36053. #. type: deftp
  36054. #: guix-git/doc/guix.texi:23758
  36055. msgid "Data type representation the configuration for UPower."
  36056. msgstr ""
  36057. #. type: item
  36058. #: guix-git/doc/guix.texi:23761
  36059. #, no-wrap
  36060. msgid "@code{upower} (default: @var{upower})"
  36061. msgstr "@code{upower} (default: @var{upower})"
  36062. #. type: table
  36063. #: guix-git/doc/guix.texi:23763
  36064. msgid "Package to use for @code{upower}."
  36065. msgstr ""
  36066. #. type: item
  36067. #: guix-git/doc/guix.texi:23764
  36068. #, no-wrap
  36069. msgid "@code{watts-up-pro?} (default: @code{#f})"
  36070. msgstr "@code{watts-up-pro?} (padrão: @code{#f})"
  36071. #. type: table
  36072. #: guix-git/doc/guix.texi:23766
  36073. msgid "Enable the Watts Up Pro device."
  36074. msgstr ""
  36075. #. type: item
  36076. #: guix-git/doc/guix.texi:23767
  36077. #, no-wrap
  36078. msgid "@code{poll-batteries?} (default: @code{#t})"
  36079. msgstr "@code{poll-batteries?} (padrão: @code{#t})"
  36080. #. type: table
  36081. #: guix-git/doc/guix.texi:23769
  36082. msgid "Enable polling the kernel for battery level changes."
  36083. msgstr ""
  36084. #. type: item
  36085. #: guix-git/doc/guix.texi:23770
  36086. #, no-wrap
  36087. msgid "@code{ignore-lid?} (default: @code{#f})"
  36088. msgstr "@code{ignore-lid?} (padrão: @code{#f})"
  36089. #. type: table
  36090. #: guix-git/doc/guix.texi:23772
  36091. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  36092. msgstr ""
  36093. #. type: item
  36094. #: guix-git/doc/guix.texi:23773
  36095. #, fuzzy, no-wrap
  36096. #| msgid "@code{respawn?} (default: @code{#t})"
  36097. msgid "@code{use-percentage-for-policy?} (default: @code{#t})"
  36098. msgstr "@code{respawn?} (padrão: @code{#t})"
  36099. #. type: table
  36100. #: guix-git/doc/guix.texi:23777
  36101. msgid "Whether to use a policy based on battery percentage rather than on estimated time left. A policy based on battery percentage is usually more reliable."
  36102. msgstr ""
  36103. #. type: item
  36104. #: guix-git/doc/guix.texi:23778
  36105. #, fuzzy, no-wrap
  36106. #| msgid "@code{replacement} (default: @code{#f})"
  36107. msgid "@code{percentage-low} (default: @code{20})"
  36108. msgstr "@code{replacement} (default: @code{#f})"
  36109. #. type: table
  36110. #: guix-git/doc/guix.texi:23781
  36111. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  36112. msgstr ""
  36113. #. type: item
  36114. #: guix-git/doc/guix.texi:23782
  36115. #, fuzzy, no-wrap
  36116. #| msgid "@code{replacement} (default: @code{#f})"
  36117. msgid "@code{percentage-critical} (default: @code{5})"
  36118. msgstr "@code{replacement} (default: @code{#f})"
  36119. #. type: table
  36120. #: guix-git/doc/guix.texi:23785
  36121. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  36122. msgstr ""
  36123. #. type: item
  36124. #: guix-git/doc/guix.texi:23786
  36125. #, no-wrap
  36126. msgid "@code{percentage-action} (default: @code{2})"
  36127. msgstr ""
  36128. #. type: table
  36129. #: guix-git/doc/guix.texi:23789
  36130. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  36131. msgstr ""
  36132. #. type: item
  36133. #: guix-git/doc/guix.texi:23790
  36134. #, no-wrap
  36135. msgid "@code{time-low} (default: @code{1200})"
  36136. msgstr ""
  36137. #. type: table
  36138. #: guix-git/doc/guix.texi:23793
  36139. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  36140. msgstr ""
  36141. #. type: item
  36142. #: guix-git/doc/guix.texi:23794
  36143. #, no-wrap
  36144. msgid "@code{time-critical} (default: @code{300})"
  36145. msgstr ""
  36146. #. type: table
  36147. #: guix-git/doc/guix.texi:23797
  36148. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  36149. msgstr ""
  36150. #. type: item
  36151. #: guix-git/doc/guix.texi:23798
  36152. #, no-wrap
  36153. msgid "@code{time-action} (default: @code{120})"
  36154. msgstr ""
  36155. #. type: table
  36156. #: guix-git/doc/guix.texi:23801
  36157. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  36158. msgstr ""
  36159. #. type: item
  36160. #: guix-git/doc/guix.texi:23802
  36161. #, no-wrap
  36162. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  36163. msgstr ""
  36164. #. type: table
  36165. #: guix-git/doc/guix.texi:23805
  36166. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  36167. msgstr ""
  36168. #. type: table
  36169. #: guix-git/doc/guix.texi:23807 guix-git/doc/guix.texi:23974
  36170. #: guix-git/doc/guix.texi:24006 guix-git/doc/guix.texi:24026
  36171. #: guix-git/doc/guix.texi:24247 guix-git/doc/guix.texi:24265
  36172. #: guix-git/doc/guix.texi:24296 guix-git/doc/guix.texi:24309
  36173. #: guix-git/doc/guix.texi:24359
  36174. msgid "Possible values are:"
  36175. msgstr ""
  36176. #. type: code{#1}
  36177. #: guix-git/doc/guix.texi:23811
  36178. msgid "'power-off"
  36179. msgstr ""
  36180. #. type: code{#1}
  36181. #: guix-git/doc/guix.texi:23814
  36182. msgid "'hibernate"
  36183. msgstr ""
  36184. #. type: itemize
  36185. #: guix-git/doc/guix.texi:23817
  36186. msgid "@code{'hybrid-sleep}."
  36187. msgstr ""
  36188. #. type: defvar
  36189. #: guix-git/doc/guix.texi:23822
  36190. #, fuzzy, no-wrap
  36191. #| msgid "guix-publish-service-type"
  36192. msgid "udisks-service-type"
  36193. msgstr "guix-publish-service-type"
  36194. #. type: defvar
  36195. #: guix-git/doc/guix.texi:23833
  36196. msgid "Type for the service that runs @uref{https://udisks.freedesktop.org/docs/latest/, UDisks}, a @dfn{disk management} daemon that provides user interfaces with notifications and ways to mount/unmount disks. Programs that talk to UDisks include the @command{udisksctl} command, part of UDisks, and GNOME Disks. Note that Udisks relies on the @command{mount} command, so it will only be able to use the file-system utilities installed in the system profile. For example if you want to be able to mount NTFS file-systems in read and write fashion, you'll need to have @code{ntfs-3g} installed system-wide."
  36197. msgstr ""
  36198. #. type: defvar
  36199. #: guix-git/doc/guix.texi:23835
  36200. msgid "The value for this service is a @code{<udisks-configuration>} object."
  36201. msgstr ""
  36202. #. type: deftp
  36203. #: guix-git/doc/guix.texi:23837
  36204. #, fuzzy, no-wrap
  36205. msgid "{Data Type} udisks-configuration"
  36206. msgstr "build-machine {Data Type}"
  36207. #. type: deftp
  36208. #: guix-git/doc/guix.texi:23839
  36209. #, fuzzy
  36210. msgid "Data type representing the configuration for @code{udisks-service-type}."
  36211. msgstr "Gerencie a configuração do sistema operacional."
  36212. #. type: item
  36213. #: guix-git/doc/guix.texi:23841
  36214. #, fuzzy, no-wrap
  36215. #| msgid "@code{dbus?} (default: @code{#t})"
  36216. msgid "@code{udisks} (default: @code{udisks}) (type: file-like)"
  36217. msgstr "@code{dbus?} (padrão: @code{#t})"
  36218. #. type: table
  36219. #: guix-git/doc/guix.texi:23843
  36220. msgid "Package object for UDisks."
  36221. msgstr ""
  36222. #. type: defvar
  36223. #: guix-git/doc/guix.texi:23847
  36224. #, fuzzy, no-wrap
  36225. #| msgid "guix-publish-service-type"
  36226. msgid "colord-service-type"
  36227. msgstr "guix-publish-service-type"
  36228. #. type: defvar
  36229. #: guix-git/doc/guix.texi:23854
  36230. msgid "This is the type of the service that runs @command{colord}, a system service with a D-Bus interface to manage the color profiles of input and output devices such as screens and scanners. It is notably used by the GNOME Color Manager graphical tool. See @uref{https://www.freedesktop.org/software/colord/, the colord web site} for more information."
  36231. msgstr ""
  36232. #. type: cindex
  36233. #: guix-git/doc/guix.texi:23856
  36234. #, no-wrap
  36235. msgid "scanner access"
  36236. msgstr ""
  36237. #. type: defvar
  36238. #: guix-git/doc/guix.texi:23857
  36239. #, fuzzy, no-wrap
  36240. #| msgid "guix-publish-service-type"
  36241. msgid "sane-service-type"
  36242. msgstr "guix-publish-service-type"
  36243. #. type: defvar
  36244. #: guix-git/doc/guix.texi:23863
  36245. msgid "This service provides access to scanners @i{via} @uref{http://www.sane-project.org, SANE} by installing the necessary udev rules. It is included in @code{%desktop-services} (@pxref{Desktop Services}) and relies by default on @code{sane-backends-minimal} package (see below) for hardware support."
  36246. msgstr ""
  36247. #. type: defvar
  36248. #: guix-git/doc/guix.texi:23865
  36249. #, no-wrap
  36250. msgid "sane-backends-minimal"
  36251. msgstr ""
  36252. #. type: defvar
  36253. #: guix-git/doc/guix.texi:23868
  36254. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  36255. msgstr ""
  36256. #. type: defvar
  36257. #: guix-git/doc/guix.texi:23870
  36258. #, fuzzy, no-wrap
  36259. #| msgid "--list-backends"
  36260. msgid "sane-backends"
  36261. msgstr "--list-backends"
  36262. #. type: defvar
  36263. #: guix-git/doc/guix.texi:23877
  36264. msgid "This package includes support for all scanners that @code{sane-backends-minimal} supports, plus older Hewlett-Packard scanners supported by @code{hplip} package. In order to use this on a system which relies on @code{%desktop-services}, you may use @code{modify-services} (@pxref{Service Reference, @code{modify-services}}) as illustrated below:"
  36265. msgstr ""
  36266. #. type: lisp
  36267. #: guix-git/doc/guix.texi:23886
  36268. #, no-wrap
  36269. msgid ""
  36270. "(use-modules (gnu))\n"
  36271. "(use-service-modules\n"
  36272. " @dots{}\n"
  36273. " desktop)\n"
  36274. "(use-package-modules\n"
  36275. " @dots{}\n"
  36276. " scanner)\n"
  36277. "\n"
  36278. msgstr ""
  36279. #. type: lisp
  36280. #: guix-git/doc/guix.texi:23891
  36281. #, no-wrap
  36282. msgid ""
  36283. "(define %my-desktop-services\n"
  36284. " ;; List of desktop services that supports a broader range of scanners.\n"
  36285. " (modify-services %desktop-services\n"
  36286. " (sane-service-type _ => sane-backends)))\n"
  36287. "\n"
  36288. msgstr ""
  36289. #. type: lisp
  36290. #: guix-git/doc/guix.texi:23895
  36291. #, no-wrap
  36292. msgid ""
  36293. "(operating-system\n"
  36294. " @dots{}\n"
  36295. " (services %my-desktop-services))\n"
  36296. msgstr ""
  36297. #. type: defun
  36298. #: guix-git/doc/guix.texi:23898
  36299. #, no-wrap
  36300. msgid "geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  36301. msgstr ""
  36302. #. type: defun
  36303. #: guix-git/doc/guix.texi:23907
  36304. msgid "Return a configuration allowing an application to access GeoClue location data. @var{name} is the Desktop ID of the application, without the @code{.desktop} part. If @var{allowed?} is true, the application will have access to location information by default. The boolean @var{system?} value indicates whether an application is a system component or not. Finally @var{users} is a list of UIDs of all users for which this application is allowed location info access. An empty users list means that all users are allowed."
  36305. msgstr ""
  36306. #. type: defvar
  36307. #: guix-git/doc/guix.texi:23909
  36308. #, no-wrap
  36309. msgid "%standard-geoclue-applications"
  36310. msgstr ""
  36311. #. type: defvar
  36312. #: guix-git/doc/guix.texi:23916
  36313. msgid "The standard list of well-known GeoClue application configurations, granting authority to the GNOME date-and-time utility to ask for the current location in order to set the time zone, and allowing the IceCat and Epiphany web browsers to request location information. IceCat and Epiphany both query the user before allowing a web page to know the user's location."
  36314. msgstr ""
  36315. #. type: defvar
  36316. #: guix-git/doc/guix.texi:23918
  36317. #, fuzzy, no-wrap
  36318. #| msgid "guix-publish-service-type"
  36319. msgid "geoclue-service-type"
  36320. msgstr "guix-publish-service-type"
  36321. #. type: defvar
  36322. #: guix-git/doc/guix.texi:23924
  36323. msgid "Type for the service that runs the @url{https://wiki.freedesktop.org/www/Software/GeoClue/, GeoClue} location service. This service provides a D-Bus interface to allow applications to request access to a user's physical location, and optionally to add information to online location databases."
  36324. msgstr ""
  36325. #. type: defvar
  36326. #: guix-git/doc/guix.texi:23926
  36327. msgid "The value for this service is a @code{<geoclue-configuration>} object."
  36328. msgstr ""
  36329. #. type: defvar
  36330. #: guix-git/doc/guix.texi:23931
  36331. #, fuzzy, no-wrap
  36332. #| msgid "guix-publish-service-type"
  36333. msgid "bluetooth-service-type"
  36334. msgstr "guix-publish-service-type"
  36335. #. type: defvar
  36336. #: guix-git/doc/guix.texi:23936
  36337. msgid "This is the type for the @uref{https://bluez.org/, Linux Bluetooth Protocol Stack} (BlueZ) system, which generates the @file{/etc/bluetooth/main.conf} configuration file. The value for this type is a @command{bluetooth-configuration} record as in this example:"
  36338. msgstr ""
  36339. #. type: lisp
  36340. #: guix-git/doc/guix.texi:23939
  36341. #, no-wrap
  36342. msgid "(service bluetooth-service-type)\n"
  36343. msgstr ""
  36344. #. type: defvar
  36345. #: guix-git/doc/guix.texi:23942
  36346. msgid "See below for details about @code{bluetooth-configuration}."
  36347. msgstr ""
  36348. #. type: deftp
  36349. #: guix-git/doc/guix.texi:23944
  36350. #, fuzzy, no-wrap
  36351. msgid "{Data Type} bluetooth-configuration"
  36352. msgstr "build-machine {Data Type}"
  36353. #. type: deftp
  36354. #: guix-git/doc/guix.texi:23946
  36355. #, fuzzy
  36356. msgid "Data type representing the configuration for @code{bluetooth-service}."
  36357. msgstr "Gerencie a configuração do sistema operacional."
  36358. #. type: item
  36359. #: guix-git/doc/guix.texi:23948
  36360. #, fuzzy, no-wrap
  36361. #| msgid "@code{users} (default: @code{#f})"
  36362. msgid "@code{bluez} (default: @code{bluez})"
  36363. msgstr "@code{users} (default: @code{#f})"
  36364. #. type: table
  36365. #: guix-git/doc/guix.texi:23950
  36366. #, fuzzy
  36367. #| msgid "The GPM package to use."
  36368. msgid "@code{bluez} package to use."
  36369. msgstr "O pacote GPM a ser usado."
  36370. #. type: item
  36371. #: guix-git/doc/guix.texi:23951
  36372. #, fuzzy, no-wrap
  36373. #| msgid "@code{hostname} (default: @code{#f})"
  36374. msgid "@code{name} (default: @code{\"BlueZ\"})"
  36375. msgstr "@code{hostname} (default: @code{#f})"
  36376. #. type: table
  36377. #: guix-git/doc/guix.texi:23953
  36378. msgid "Default adapter name."
  36379. msgstr ""
  36380. #. type: item
  36381. #: guix-git/doc/guix.texi:23954
  36382. #, fuzzy, no-wrap
  36383. #| msgid "@code{chdir} (default: @code{#f})"
  36384. msgid "@code{class} (default: @code{#x000000})"
  36385. msgstr "@code{chdir} (default: @code{#f})"
  36386. #. type: table
  36387. #: guix-git/doc/guix.texi:23956
  36388. msgid "Default device class. Only the major and minor device class bits are considered."
  36389. msgstr ""
  36390. #. type: item
  36391. #: guix-git/doc/guix.texi:23957
  36392. #, fuzzy, no-wrap
  36393. #| msgid "@code{cache-size} (default: @code{150})"
  36394. msgid "@code{discoverable-timeout} (default: @code{180})"
  36395. msgstr "@code{cache-size} (default: @code{150})"
  36396. #. type: table
  36397. #: guix-git/doc/guix.texi:23960
  36398. msgid "How long to stay in discoverable mode before going back to non-discoverable. The value is in seconds."
  36399. msgstr ""
  36400. #. type: item
  36401. #: guix-git/doc/guix.texi:23961
  36402. #, fuzzy, no-wrap
  36403. #| msgid "@code{gateway-ports?} (default: @code{#f})"
  36404. msgid "@code{always-pairable?} (default: @code{#f})"
  36405. msgstr "@code{gateway-ports?} (padrão: @code{#f})"
  36406. #. type: table
  36407. #: guix-git/doc/guix.texi:23963
  36408. msgid "Always allow pairing even if there are no agents registered."
  36409. msgstr ""
  36410. #. type: item
  36411. #: guix-git/doc/guix.texi:23964
  36412. #, fuzzy, no-wrap
  36413. msgid "@code{pairable-timeout} (default: @code{0})"
  36414. msgstr "@code{term} (default: @code{#f})"
  36415. #. type: table
  36416. #: guix-git/doc/guix.texi:23967
  36417. msgid "How long to stay in pairable mode before going back to non-discoverable. The value is in seconds."
  36418. msgstr ""
  36419. #. type: item
  36420. #: guix-git/doc/guix.texi:23968
  36421. #, fuzzy, no-wrap
  36422. #| msgid "@code{device} (default: @code{#f})"
  36423. msgid "@code{device-id} (default: @code{#f})"
  36424. msgstr "@code{device} (default: @code{#f})"
  36425. #. type: table
  36426. #: guix-git/doc/guix.texi:23972
  36427. msgid "Use vendor id source (assigner), vendor, product and version information for DID profile support. The values are separated by \":\" and @var{assigner}, @var{VID}, @var{PID} and @var{version}."
  36428. msgstr ""
  36429. #. type: itemize
  36430. #: guix-git/doc/guix.texi:23978
  36431. msgid "@code{#f} to disable it,"
  36432. msgstr ""
  36433. #. type: itemize
  36434. #: guix-git/doc/guix.texi:23982
  36435. msgid "@code{\"assigner:1234:5678:abcd\"}, where @var{assigner} is either @code{usb} (default) or @code{bluetooth}."
  36436. msgstr ""
  36437. #. type: item
  36438. #: guix-git/doc/guix.texi:23985
  36439. #, fuzzy, no-wrap
  36440. msgid "@code{reverse-service-discovery?} (default: @code{#t})"
  36441. msgstr "@code{remote?} (padrão: @code{#f})"
  36442. #. type: table
  36443. #: guix-git/doc/guix.texi:23991
  36444. msgid "Do reverse service discovery for previously unknown devices that connect to us. For BR/EDR this option is really only needed for qualification since the BITE tester doesn't like us doing reverse SDP for some test cases, for LE this disables the GATT client functionally so it can be used in system which can only operate as peripheral."
  36445. msgstr ""
  36446. #. type: item
  36447. #: guix-git/doc/guix.texi:23992
  36448. #, fuzzy, no-wrap
  36449. #| msgid "@code{no-resolv?} (default: @code{#f})"
  36450. msgid "@code{name-resolving?} (default: @code{#t})"
  36451. msgstr "@code{no-resolv?} (padrão: @code{#f})"
  36452. #. type: table
  36453. #: guix-git/doc/guix.texi:23995
  36454. msgid "Enable name resolving after inquiry. Set it to @code{#f} if you don't need remote devices name and want shorter discovery cycle."
  36455. msgstr ""
  36456. #. type: item
  36457. #: guix-git/doc/guix.texi:23996
  36458. #, fuzzy, no-wrap
  36459. #| msgid "@code{debug?} (default: @code{#f})"
  36460. msgid "@code{debug-keys?} (default: @code{#f})"
  36461. msgstr "@code{debug?} (default: @code{#f})"
  36462. #. type: table
  36463. #: guix-git/doc/guix.texi:24000
  36464. msgid "Enable runtime persistency of debug link keys. Default is false which makes debug link keys valid only for the duration of the connection that they were created for."
  36465. msgstr ""
  36466. #. type: item
  36467. #: guix-git/doc/guix.texi:24001
  36468. #, fuzzy, no-wrap
  36469. #| msgid "@code{features} (default: @code{'()})"
  36470. msgid "@code{controller-mode} (default: @code{'dual})"
  36471. msgstr "@code{features} (padrão: @code{'()})"
  36472. #. type: table
  36473. #: guix-git/doc/guix.texi:24004
  36474. msgid "Restricts all controllers to the specified transport. @code{'dual} means both BR/EDR and LE are enabled (if supported by the hardware)."
  36475. msgstr ""
  36476. #. type: code{#1}
  36477. #: guix-git/doc/guix.texi:24010
  36478. msgid "'dual"
  36479. msgstr ""
  36480. #. type: code{#1}
  36481. #: guix-git/doc/guix.texi:24013
  36482. msgid "'bredr"
  36483. msgstr ""
  36484. #. type: code{#1}
  36485. #: guix-git/doc/guix.texi:24016
  36486. msgid "'le"
  36487. msgstr ""
  36488. #. type: item
  36489. #: guix-git/doc/guix.texi:24019
  36490. #, fuzzy, no-wrap
  36491. #| msgid "@code{log-file} (default: @code{#f})"
  36492. msgid "@code{multi-profile} (default: @code{'off})"
  36493. msgstr "@code{log-file} (default: @code{#f})"
  36494. #. type: table
  36495. #: guix-git/doc/guix.texi:24024
  36496. msgid "Enables Multi Profile Specification support. This allows to specify if system supports only Multiple Profiles Single Device (MPSD) configuration or both Multiple Profiles Single Device (MPSD) and Multiple Profiles Multiple Devices (MPMD) configurations."
  36497. msgstr ""
  36498. #. type: code{#1}
  36499. #: guix-git/doc/guix.texi:24030
  36500. msgid "'off"
  36501. msgstr ""
  36502. #. type: code{#1}
  36503. #: guix-git/doc/guix.texi:24033
  36504. msgid "'single"
  36505. msgstr ""
  36506. #. type: code{#1}
  36507. #: guix-git/doc/guix.texi:24036
  36508. msgid "'multiple"
  36509. msgstr ""
  36510. #. type: item
  36511. #: guix-git/doc/guix.texi:24039
  36512. #, fuzzy, no-wrap
  36513. #| msgid "@code{host-name} (default: @code{#f})"
  36514. msgid "@code{fast-connectable?} (default: @code{#f})"
  36515. msgstr "@code{host-name} (default: @code{#f})"
  36516. #. type: table
  36517. #: guix-git/doc/guix.texi:24044
  36518. msgid "Permanently enables the Fast Connectable setting for adapters that support it. When enabled other devices can connect faster to us, however the tradeoff is increased power consumptions. This feature will fully work only on kernel version 4.1 and newer."
  36519. msgstr ""
  36520. #. type: item
  36521. #: guix-git/doc/guix.texi:24045
  36522. #, fuzzy, no-wrap
  36523. #| msgid "@code{chroot} (default: @code{#f})"
  36524. msgid "@code{privacy} (default: @code{'off})"
  36525. msgstr "@code{chroot} (default: @code{#f})"
  36526. #. type: table
  36527. #: guix-git/doc/guix.texi:24047
  36528. msgid "Default privacy settings."
  36529. msgstr ""
  36530. #. type: itemize
  36531. #: guix-git/doc/guix.texi:24051
  36532. msgid "@code{'off}: Disable local privacy"
  36533. msgstr ""
  36534. #. type: itemize
  36535. #: guix-git/doc/guix.texi:24056
  36536. msgid "@code{'network/on}: A device will only accept advertising packets from peer devices that contain private addresses. It may not be compatible with some legacy devices since it requires the use of RPA(s) all the time"
  36537. msgstr ""
  36538. #. type: itemize
  36539. #: guix-git/doc/guix.texi:24062
  36540. msgid "@code{'device}: A device in device privacy mode is only concerned about the privacy of the device and will accept advertising packets from peer devices that contain their Identity Address as well as ones that contain a private address, even if the peer device has distributed its IRK in the past"
  36541. msgstr ""
  36542. #. type: table
  36543. #: guix-git/doc/guix.texi:24066
  36544. msgid "and additionally, if @var{controller-mode} is set to @code{'dual}:"
  36545. msgstr ""
  36546. #. type: itemize
  36547. #: guix-git/doc/guix.texi:24072
  36548. msgid "@code{'limited-network}: Apply Limited Discoverable Mode to advertising, which follows the same policy as to BR/EDR that publishes the identity address when discoverable, and Network Privacy Mode for scanning"
  36549. msgstr ""
  36550. #. type: itemize
  36551. #: guix-git/doc/guix.texi:24077
  36552. msgid "@code{'limited-device}: Apply Limited Discoverable Mode to advertising, which follows the same policy as to BR/EDR that publishes the identity address when discoverable, and Device Privacy Mode for scanning."
  36553. msgstr ""
  36554. #. type: item
  36555. #: guix-git/doc/guix.texi:24080
  36556. #, fuzzy, no-wrap
  36557. #| msgid "@code{users} (default: @code{#f})"
  36558. msgid "@code{just-works-repairing} (default: @code{'never})"
  36559. msgstr "@code{users} (default: @code{#f})"
  36560. #. type: table
  36561. #: guix-git/doc/guix.texi:24082
  36562. msgid "Specify the policy to the JUST-WORKS repairing initiated by peer."
  36563. msgstr ""
  36564. #. type: table
  36565. #: guix-git/doc/guix.texi:24084 guix-git/doc/guix.texi:24109
  36566. #: guix-git/doc/guix.texi:24326
  36567. msgid "Possible values:"
  36568. msgstr ""
  36569. #. type: code{#1}
  36570. #: guix-git/doc/guix.texi:24087
  36571. msgid "'never"
  36572. msgstr ""
  36573. #. type: code{#1}
  36574. #: guix-git/doc/guix.texi:24090
  36575. #, fuzzy
  36576. #| msgid "config"
  36577. msgid "'confirm"
  36578. msgstr "config"
  36579. #. type: code{#1}
  36580. #: guix-git/doc/guix.texi:24093
  36581. msgid "'always"
  36582. msgstr ""
  36583. #. type: item
  36584. #: guix-git/doc/guix.texi:24096
  36585. #, fuzzy, no-wrap
  36586. #| msgid "@code{port} (default: @code{3306})"
  36587. msgid "@code{temporary-timeout} (default: @code{30})"
  36588. msgstr "@code{porta} (default: @code{3306})"
  36589. #. type: table
  36590. #: guix-git/doc/guix.texi:24099
  36591. msgid "How long to keep temporary devices around. The value is in seconds. @code{0} disables the timer completely."
  36592. msgstr ""
  36593. #. type: item
  36594. #: guix-git/doc/guix.texi:24100
  36595. #, fuzzy, no-wrap
  36596. #| msgid "@code{persistent?} (default: @code{#t})"
  36597. msgid "@code{refresh-discovery?} (default: @code{#t})"
  36598. msgstr "@code{persistent?} (padrão: @code{#t})"
  36599. #. type: table
  36600. #: guix-git/doc/guix.texi:24103
  36601. msgid "Enables the device to issue an SDP request to update known services when profile is connected."
  36602. msgstr ""
  36603. #. type: item
  36604. #: guix-git/doc/guix.texi:24104
  36605. #, fuzzy, no-wrap
  36606. #| msgid "@code{replacement} (default: @code{#f})"
  36607. msgid "@code{experimental} (default: @code{#f})"
  36608. msgstr "@code{replacement} (default: @code{#f})"
  36609. #. type: table
  36610. #: guix-git/doc/guix.texi:24107
  36611. msgid "Enables experimental features and interfaces, alternatively a list of UUIDs can be given."
  36612. msgstr ""
  36613. #. type: code{#1}
  36614. #: guix-git/doc/guix.texi:24113
  36615. msgid "#t"
  36616. msgstr ""
  36617. #. type: code{#1}
  36618. #: guix-git/doc/guix.texi:24116
  36619. msgid "#f"
  36620. msgstr ""
  36621. #. type: itemize
  36622. #: guix-git/doc/guix.texi:24119 guix-git/doc/guix.texi:24333
  36623. msgid "@code{(list (uuid <uuid-1>) (uuid <uuid-2>) ...)}."
  36624. msgstr ""
  36625. #. type: table
  36626. #: guix-git/doc/guix.texi:24122
  36627. msgid "List of possible UUIDs:"
  36628. msgstr ""
  36629. #. type: itemize
  36630. #: guix-git/doc/guix.texi:24125
  36631. msgid "@code{d4992530-b9ec-469f-ab01-6c481c47da1c}: BlueZ Experimental Debug,"
  36632. msgstr ""
  36633. #. type: itemize
  36634. #: guix-git/doc/guix.texi:24128
  36635. msgid "@code{671b10b5-42c0-4696-9227-eb28d1b049d6}: BlueZ Experimental Simultaneous Central and Peripheral,"
  36636. msgstr ""
  36637. #. type: itemize
  36638. #: guix-git/doc/guix.texi:24131
  36639. msgid "@code{\"15c0a148-c273-11ea-b3de-0242ac130004}: BlueZ Experimental LL privacy,"
  36640. msgstr ""
  36641. #. type: itemize
  36642. #: guix-git/doc/guix.texi:24134
  36643. msgid "@code{330859bc-7506-492d-9370-9a6f0614037f}: BlueZ Experimental Bluetooth Quality Report,"
  36644. msgstr ""
  36645. #. type: itemize
  36646. #: guix-git/doc/guix.texi:24137
  36647. msgid "@code{a6695ace-ee7f-4fb9-881a-5fac66c629af}: BlueZ Experimental Offload Codecs."
  36648. msgstr ""
  36649. #. type: item
  36650. #: guix-git/doc/guix.texi:24139
  36651. #, fuzzy, no-wrap
  36652. msgid "@code{remote-name-request-retry-delay} (default: @code{300})"
  36653. msgstr "@code{remote?} (padrão: @code{#f})"
  36654. #. type: table
  36655. #: guix-git/doc/guix.texi:24142
  36656. msgid "The duration to avoid retrying to resolve a peer's name, if the previous try failed."
  36657. msgstr ""
  36658. #. type: item
  36659. #: guix-git/doc/guix.texi:24143
  36660. #, fuzzy, no-wrap
  36661. #| msgid "@code{snippet} (default: @code{#f})"
  36662. msgid "@code{page-scan-type} (default: @code{#f})"
  36663. msgstr "@code{snippet} (default: @code{#f})"
  36664. #. type: table
  36665. #: guix-git/doc/guix.texi:24145
  36666. msgid "BR/EDR Page scan activity type."
  36667. msgstr ""
  36668. #. type: item
  36669. #: guix-git/doc/guix.texi:24146
  36670. #, fuzzy, no-wrap
  36671. #| msgid "@code{delay} (default: @code{#f})"
  36672. msgid "@code{page-scan-interval} (default: @code{#f})"
  36673. msgstr "@code{delay} (default: @code{#f})"
  36674. #. type: table
  36675. #: guix-git/doc/guix.texi:24148
  36676. msgid "BR/EDR Page scan activity interval."
  36677. msgstr ""
  36678. #. type: item
  36679. #: guix-git/doc/guix.texi:24149
  36680. #, fuzzy, no-wrap
  36681. #| msgid "@code{password} (default: @code{#f})"
  36682. msgid "@code{page-scan-window} (default: @code{#f})"
  36683. msgstr "@code{password} (default: @code{#f})"
  36684. #. type: table
  36685. #: guix-git/doc/guix.texi:24151
  36686. msgid "BR/EDR Page scan activity window."
  36687. msgstr ""
  36688. #. type: item
  36689. #: guix-git/doc/guix.texi:24152
  36690. #, fuzzy, no-wrap
  36691. #| msgid "@code{nice} (default: @code{#f})"
  36692. msgid "@code{inquiry-scan-type} (default: @code{#f})"
  36693. msgstr "@code{nice} (default: @code{#f})"
  36694. #. type: table
  36695. #: guix-git/doc/guix.texi:24154
  36696. msgid "BR/EDR Inquiry scan activity type."
  36697. msgstr ""
  36698. #. type: item
  36699. #: guix-git/doc/guix.texi:24155
  36700. #, fuzzy, no-wrap
  36701. #| msgid "@code{nice} (default: @code{#f})"
  36702. msgid "@code{inquiry-scan-interval} (default: @code{#f})"
  36703. msgstr "@code{nice} (default: @code{#f})"
  36704. #. type: table
  36705. #: guix-git/doc/guix.texi:24157
  36706. msgid "BR/EDR Inquiry scan activity interval."
  36707. msgstr ""
  36708. #. type: item
  36709. #: guix-git/doc/guix.texi:24158
  36710. #, fuzzy, no-wrap
  36711. #| msgid "@code{id} (default: @code{#f})"
  36712. msgid "@code{inquiry-scan-window} (default: @code{#f})"
  36713. msgstr "@code{id} (default: @code{#f})"
  36714. #. type: table
  36715. #: guix-git/doc/guix.texi:24160
  36716. msgid "BR/EDR Inquiry scan activity window."
  36717. msgstr ""
  36718. #. type: item
  36719. #: guix-git/doc/guix.texi:24161
  36720. #, fuzzy, no-wrap
  36721. #| msgid "@code{chroot} (default: @code{#f})"
  36722. msgid "@code{link-supervision-timeout} (default: @code{#f})"
  36723. msgstr "@code{chroot} (default: @code{#f})"
  36724. #. type: table
  36725. #: guix-git/doc/guix.texi:24163
  36726. msgid "BR/EDR Link supervision timeout."
  36727. msgstr ""
  36728. #. type: item
  36729. #: guix-git/doc/guix.texi:24164
  36730. #, fuzzy, no-wrap
  36731. #| msgid "@code{replacement} (default: @code{#f})"
  36732. msgid "@code{page-timeout} (default: @code{#f})"
  36733. msgstr "@code{replacement} (default: @code{#f})"
  36734. #. type: table
  36735. #: guix-git/doc/guix.texi:24166
  36736. msgid "BR/EDR Page timeout."
  36737. msgstr ""
  36738. #. type: item
  36739. #: guix-git/doc/guix.texi:24167
  36740. #, fuzzy, no-wrap
  36741. #| msgid "@code{no-newline?} (default: @code{#f})"
  36742. msgid "@code{min-sniff-interval} (default: @code{#f})"
  36743. msgstr "@code{no-newline?} (padrão: @code{#f})"
  36744. #. type: table
  36745. #: guix-git/doc/guix.texi:24169
  36746. msgid "BR/EDR minimum sniff interval."
  36747. msgstr ""
  36748. #. type: item
  36749. #: guix-git/doc/guix.texi:24170
  36750. #, fuzzy, no-wrap
  36751. #| msgid "@code{max-zone-size} (default: @code{#f})"
  36752. msgid "@code{max-sniff-interval} (default: @code{#f})"
  36753. msgstr "@code{max-zone-size} (default: @code{#f})"
  36754. #. type: table
  36755. #: guix-git/doc/guix.texi:24172
  36756. msgid "BR/EDR maximum sniff interval."
  36757. msgstr ""
  36758. #. type: item
  36759. #: guix-git/doc/guix.texi:24173
  36760. #, fuzzy, no-wrap
  36761. #| msgid "@code{ttl} (default: @code{#f})"
  36762. msgid "@code{min-advertisement-interval} (default: @code{#f})"
  36763. msgstr "@code{ttl} (default: @code{#f})"
  36764. #. type: table
  36765. #: guix-git/doc/guix.texi:24175
  36766. msgid "LE minimum advertisement interval (used for legacy advertisement only)."
  36767. msgstr ""
  36768. #. type: item
  36769. #: guix-git/doc/guix.texi:24176
  36770. #, fuzzy, no-wrap
  36771. msgid "@code{max-advertisement-interval} (default: @code{#f})"
  36772. msgstr "@code{term} (default: @code{#f})"
  36773. #. type: table
  36774. #: guix-git/doc/guix.texi:24178
  36775. msgid "LE maximum advertisement interval (used for legacy advertisement only)."
  36776. msgstr ""
  36777. #. type: item
  36778. #: guix-git/doc/guix.texi:24179
  36779. #, fuzzy, no-wrap
  36780. msgid "@code{multi-advertisement-rotation-interval} (default: @code{#f})"
  36781. msgstr "@code{remote?} (padrão: @code{#f})"
  36782. #. type: table
  36783. #: guix-git/doc/guix.texi:24181
  36784. msgid "LE multiple advertisement rotation interval."
  36785. msgstr ""
  36786. #. type: item
  36787. #: guix-git/doc/guix.texi:24182
  36788. #, fuzzy, no-wrap
  36789. #| msgid "@code{no-newline?} (default: @code{#f})"
  36790. msgid "@code{scan-interval-auto-connect} (default: @code{#f})"
  36791. msgstr "@code{no-newline?} (padrão: @code{#f})"
  36792. #. type: table
  36793. #: guix-git/doc/guix.texi:24184
  36794. msgid "LE scanning interval used for passive scanning supporting auto connect."
  36795. msgstr ""
  36796. #. type: item
  36797. #: guix-git/doc/guix.texi:24185
  36798. #, fuzzy, no-wrap
  36799. #| msgid "@code{chdir} (default: @code{#f})"
  36800. msgid "@code{scan-window-auto-connect} (default: @code{#f})"
  36801. msgstr "@code{chdir} (default: @code{#f})"
  36802. #. type: table
  36803. #: guix-git/doc/guix.texi:24187
  36804. msgid "LE scanning window used for passive scanning supporting auto connect."
  36805. msgstr ""
  36806. #. type: item
  36807. #: guix-git/doc/guix.texi:24188
  36808. #, fuzzy, no-wrap
  36809. #| msgid "@code{no-issue?} (default: @code{#f})"
  36810. msgid "@code{scan-interval-suspend} (default: @code{#f})"
  36811. msgstr "@code{no-issue?} (padrão: @code{#f})"
  36812. #. type: table
  36813. #: guix-git/doc/guix.texi:24190
  36814. msgid "LE scanning interval used for active scanning supporting wake from suspend."
  36815. msgstr ""
  36816. #. type: item
  36817. #: guix-git/doc/guix.texi:24191
  36818. #, fuzzy, no-wrap
  36819. #| msgid "@code{no-issue?} (default: @code{#f})"
  36820. msgid "@code{scan-window-suspend} (default: @code{#f})"
  36821. msgstr "@code{no-issue?} (padrão: @code{#f})"
  36822. #. type: table
  36823. #: guix-git/doc/guix.texi:24193
  36824. msgid "LE scanning window used for active scanning supporting wake from suspend."
  36825. msgstr ""
  36826. #. type: item
  36827. #: guix-git/doc/guix.texi:24194
  36828. #, fuzzy, no-wrap
  36829. #| msgid "@code{no-newline?} (default: @code{#f})"
  36830. msgid "@code{scan-interval-discovery} (default: @code{#f})"
  36831. msgstr "@code{no-newline?} (padrão: @code{#f})"
  36832. #. type: table
  36833. #: guix-git/doc/guix.texi:24196
  36834. msgid "LE scanning interval used for active scanning supporting discovery."
  36835. msgstr ""
  36836. #. type: item
  36837. #: guix-git/doc/guix.texi:24197
  36838. #, fuzzy, no-wrap
  36839. #| msgid "@code{no-issue?} (default: @code{#f})"
  36840. msgid "@code{scan-window-discovery} (default: @code{#f})"
  36841. msgstr "@code{no-issue?} (padrão: @code{#f})"
  36842. #. type: table
  36843. #: guix-git/doc/guix.texi:24199
  36844. msgid "LE scanning window used for active scanning supporting discovery."
  36845. msgstr ""
  36846. #. type: item
  36847. #: guix-git/doc/guix.texi:24200
  36848. #, fuzzy, no-wrap
  36849. #| msgid "@code{term} (default: @code{#f})"
  36850. msgid "@code{scan-interval-adv-monitor} (default: @code{#f})"
  36851. msgstr "@code{term} (default: @code{#f})"
  36852. #. type: table
  36853. #: guix-git/doc/guix.texi:24202
  36854. msgid "LE scanning interval used for passive scanning supporting the advertisement monitor APIs."
  36855. msgstr ""
  36856. #. type: item
  36857. #: guix-git/doc/guix.texi:24203
  36858. #, fuzzy, no-wrap
  36859. #| msgid "@code{wide-area?} (default: @code{#f})"
  36860. msgid "@code{scan-window-adv-monitor} (default: @code{#f})"
  36861. msgstr "@code{wide-area?} (padrão: @code{#f})"
  36862. #. type: table
  36863. #: guix-git/doc/guix.texi:24205
  36864. msgid "LE scanning window used for passive scanning supporting the advertisement monitor APIs."
  36865. msgstr ""
  36866. #. type: item
  36867. #: guix-git/doc/guix.texi:24206
  36868. #, fuzzy, no-wrap
  36869. #| msgid "@code{no-newline?} (default: @code{#f})"
  36870. msgid "@code{scan-interval-connect} (default: @code{#f})"
  36871. msgstr "@code{no-newline?} (padrão: @code{#f})"
  36872. #. type: table
  36873. #: guix-git/doc/guix.texi:24208
  36874. msgid "LE scanning interval used for connection establishment."
  36875. msgstr ""
  36876. #. type: item
  36877. #: guix-git/doc/guix.texi:24209
  36878. #, fuzzy, no-wrap
  36879. #| msgid "@code{nice} (default: @code{#f})"
  36880. msgid "@code{scan-window-connect} (default: @code{#f})"
  36881. msgstr "@code{nice} (default: @code{#f})"
  36882. #. type: table
  36883. #: guix-git/doc/guix.texi:24211
  36884. msgid "LE scanning window used for connection establishment."
  36885. msgstr ""
  36886. #. type: item
  36887. #: guix-git/doc/guix.texi:24212
  36888. #, fuzzy, no-wrap
  36889. #| msgid "@code{max-zone-size} (default: @code{#f})"
  36890. msgid "@code{min-connection-interval} (default: @code{#f})"
  36891. msgstr "@code{max-zone-size} (default: @code{#f})"
  36892. #. type: table
  36893. #: guix-git/doc/guix.texi:24215
  36894. msgid "LE default minimum connection interval. This value is superseded by any specific value provided via the Load Connection Parameters interface."
  36895. msgstr ""
  36896. #. type: item
  36897. #: guix-git/doc/guix.texi:24216
  36898. #, fuzzy, no-wrap
  36899. #| msgid "@code{max-zone-size} (default: @code{#f})"
  36900. msgid "@code{max-connection-interval} (default: @code{#f})"
  36901. msgstr "@code{max-zone-size} (default: @code{#f})"
  36902. #. type: table
  36903. #: guix-git/doc/guix.texi:24219
  36904. msgid "LE default maximum connection interval. This value is superseded by any specific value provided via the Load Connection Parameters interface."
  36905. msgstr ""
  36906. #. type: item
  36907. #: guix-git/doc/guix.texi:24220
  36908. #, fuzzy, no-wrap
  36909. #| msgid "@code{options} (default: @code{#f})"
  36910. msgid "@code{connection-latency} (default: @code{#f})"
  36911. msgstr "@code{options} (default: @code{#f})"
  36912. #. type: table
  36913. #: guix-git/doc/guix.texi:24223
  36914. msgid "LE default connection latency. This value is superseded by any specific value provided via the Load Connection Parameters interface."
  36915. msgstr ""
  36916. #. type: item
  36917. #: guix-git/doc/guix.texi:24224
  36918. #, fuzzy, no-wrap
  36919. #| msgid "@code{no-reset?} (default: @code{#f})"
  36920. msgid "@code{connection-supervision-timeout} (default: @code{#f})"
  36921. msgstr "@code{no-reset?} (default: @code{#f})"
  36922. #. type: table
  36923. #: guix-git/doc/guix.texi:24227
  36924. msgid "LE default connection supervision timeout. This value is superseded by any specific value provided via the Load Connection Parameters interface."
  36925. msgstr ""
  36926. #. type: item
  36927. #: guix-git/doc/guix.texi:24228
  36928. #, fuzzy, no-wrap
  36929. #| msgid "@code{max-zone-size} (default: @code{#f})"
  36930. msgid "@code{autoconnect-timeout} (default: @code{#f})"
  36931. msgstr "@code{max-zone-size} (default: @code{#f})"
  36932. #. type: table
  36933. #: guix-git/doc/guix.texi:24231
  36934. msgid "LE default autoconnect timeout. This value is superseded by any specific value provided via the Load Connection Parameters interface."
  36935. msgstr ""
  36936. #. type: item
  36937. #: guix-git/doc/guix.texi:24232
  36938. #, fuzzy, no-wrap
  36939. #| msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  36940. msgid "@code{adv-mon-allowlist-scan-duration} (default: @code{300})"
  36941. msgstr "@code{allow-agent-forwarding?} (padrão: @code{#t})"
  36942. #. type: table
  36943. #: guix-git/doc/guix.texi:24235
  36944. msgid "Allowlist scan duration during interleaving scan. Only used when scanning for ADV monitors. The units are msec."
  36945. msgstr ""
  36946. #. type: item
  36947. #: guix-git/doc/guix.texi:24236
  36948. #, fuzzy, no-wrap
  36949. #| msgid "@code{zonefile-load} (default: @code{#f})"
  36950. msgid "@code{adv-mon-no-filter-scan-duration} (default: @code{500})"
  36951. msgstr "@code{zonefile-load} (default: @code{#f})"
  36952. #. type: table
  36953. #: guix-git/doc/guix.texi:24239
  36954. msgid "No filter scan duration during interleaving scan. Only used when scanning for ADV monitors. The units are msec."
  36955. msgstr ""
  36956. #. type: item
  36957. #: guix-git/doc/guix.texi:24240
  36958. #, fuzzy, no-wrap
  36959. #| msgid "@code{negative-cache?} (default: @code{#t})"
  36960. msgid "@code{enable-adv-mon-interleave-scan?} (default: @code{#t})"
  36961. msgstr "@code{negative-cache?} (padrão: @code{#t})"
  36962. #. type: table
  36963. #: guix-git/doc/guix.texi:24242
  36964. msgid "Enable/Disable Advertisement Monitor interleave scan for power saving."
  36965. msgstr ""
  36966. #. type: item
  36967. #: guix-git/doc/guix.texi:24243
  36968. #, fuzzy, no-wrap
  36969. #| msgid "@code{cache} (default: @code{#f})"
  36970. msgid "@code{cache} (default: @code{'always})"
  36971. msgstr "@code{cache} (default: @code{#f})"
  36972. #. type: table
  36973. #: guix-git/doc/guix.texi:24245
  36974. msgid "GATT attribute cache."
  36975. msgstr ""
  36976. #. type: itemize
  36977. #: guix-git/doc/guix.texi:24253
  36978. msgid "@code{'always}: Always cache attributes even for devices not paired, this is recommended as it is best for interoperability, with more consistent reconnection times and enables proper tracking of notifications for all devices"
  36979. msgstr ""
  36980. #. type: itemize
  36981. #: guix-git/doc/guix.texi:24256
  36982. msgid "@code{'yes}: Only cache attributes of paired devices"
  36983. msgstr ""
  36984. #. type: itemize
  36985. #: guix-git/doc/guix.texi:24259
  36986. msgid "@code{'no}: Never cache attributes."
  36987. msgstr ""
  36988. #. type: item
  36989. #: guix-git/doc/guix.texi:24261
  36990. #, fuzzy, no-wrap
  36991. #| msgid "@code{cache-size} (default: @code{150})"
  36992. msgid "@code{key-size} (default: @code{0})"
  36993. msgstr "@code{cache-size} (default: @code{150})"
  36994. #. type: table
  36995. #: guix-git/doc/guix.texi:24263
  36996. msgid "Minimum required Encryption Key Size for accessing secured characteristics."
  36997. msgstr ""
  36998. #. type: itemize
  36999. #: guix-git/doc/guix.texi:24268
  37000. msgid "@code{0}: Don't care"
  37001. msgstr ""
  37002. #. type: code{#1}
  37003. #: guix-git/doc/guix.texi:24271
  37004. msgid "7 <= N <= 16"
  37005. msgstr ""
  37006. #. type: item
  37007. #: guix-git/doc/guix.texi:24273
  37008. #, fuzzy, no-wrap
  37009. #| msgid "@code{challenge} (default: @code{#f})"
  37010. msgid "@code{exchange-mtu} (default: @code{517})"
  37011. msgstr "@code{challenge} (default: @code{#f})"
  37012. #. type: table
  37013. #: guix-git/doc/guix.texi:24275
  37014. msgid "Exchange MTU size. Possible values are:"
  37015. msgstr ""
  37016. #. type: code{#1}
  37017. #: guix-git/doc/guix.texi:24279
  37018. msgid "23 <= N <= 517"
  37019. msgstr ""
  37020. #. type: item
  37021. #: guix-git/doc/guix.texi:24281
  37022. #, fuzzy, no-wrap
  37023. #| msgid "@code{cache} (default: @code{#f})"
  37024. msgid "@code{att-channels} (default: @code{3})"
  37025. msgstr "@code{cache} (default: @code{#f})"
  37026. #. type: table
  37027. #: guix-git/doc/guix.texi:24283
  37028. msgid "Number of ATT channels. Possible values are:"
  37029. msgstr ""
  37030. #. type: itemize
  37031. #: guix-git/doc/guix.texi:24287
  37032. msgid "@code{1}: Disables EATT"
  37033. msgstr ""
  37034. #. type: code{#1}
  37035. #: guix-git/doc/guix.texi:24290
  37036. msgid "2 <= N <= 5"
  37037. msgstr ""
  37038. #. type: item
  37039. #: guix-git/doc/guix.texi:24292
  37040. #, fuzzy, no-wrap
  37041. #| msgid "@code{node} (default: @code{#f})"
  37042. msgid "@code{session-mode} (default: @code{'basic})"
  37043. msgstr "@code{node} (default: @code{#f})"
  37044. #. type: table
  37045. #: guix-git/doc/guix.texi:24294
  37046. msgid "AVDTP L2CAP signalling channel mode."
  37047. msgstr ""
  37048. #. type: itemize
  37049. #: guix-git/doc/guix.texi:24300 guix-git/doc/guix.texi:24313
  37050. msgid "@code{'basic}: Use L2CAP basic mode"
  37051. msgstr ""
  37052. #. type: itemize
  37053. #: guix-git/doc/guix.texi:24303
  37054. msgid "@code{'ertm}: Use L2CAP enhanced retransmission mode."
  37055. msgstr ""
  37056. #. type: item
  37057. #: guix-git/doc/guix.texi:24305
  37058. #, fuzzy, no-wrap
  37059. #| msgid "@code{chdir} (default: @code{#f})"
  37060. msgid "@code{stream-mode} (default: @code{'basic})"
  37061. msgstr "@code{chdir} (default: @code{#f})"
  37062. #. type: table
  37063. #: guix-git/doc/guix.texi:24307
  37064. msgid "AVDTP L2CAP transport channel mode."
  37065. msgstr ""
  37066. #. type: itemize
  37067. #: guix-git/doc/guix.texi:24316
  37068. msgid "@code{'streaming}: Use L2CAP streaming mode."
  37069. msgstr ""
  37070. #. type: item
  37071. #: guix-git/doc/guix.texi:24318
  37072. #, fuzzy, no-wrap
  37073. #| msgid "@code{features} (default: @code{'()})"
  37074. msgid "@code{reconnect-uuids} (default: @code{'()})"
  37075. msgstr "@code{features} (padrão: @code{'()})"
  37076. #. type: table
  37077. #: guix-git/doc/guix.texi:24324
  37078. msgid "The ReconnectUUIDs defines the set of remote services that should try to be reconnected to in case of a link loss (link supervision timeout). The policy plugin should contain a sane set of values by default, but this list can be overridden here. By setting the list to empty the reconnection feature gets disabled."
  37079. msgstr ""
  37080. #. type: code{#1}
  37081. #: guix-git/doc/guix.texi:24330
  37082. msgid "'()"
  37083. msgstr ""
  37084. #. type: item
  37085. #: guix-git/doc/guix.texi:24335
  37086. #, fuzzy, no-wrap
  37087. #| msgid "@code{remote?} (default: @code{#f})"
  37088. msgid "@code{reconnect-attempts} (default: @code{7})"
  37089. msgstr "@code{remote?} (padrão: @code{#f})"
  37090. #. type: table
  37091. #: guix-git/doc/guix.texi:24338
  37092. msgid "Defines the number of attempts to reconnect after a link lost. Setting the value to 0 disables reconnecting feature."
  37093. msgstr ""
  37094. #. type: item
  37095. #: guix-git/doc/guix.texi:24339
  37096. #, fuzzy, no-wrap
  37097. #| msgid "@code{features} (default: @code{'()})"
  37098. msgid "@code{reconnect-intervals} (default: @code{'(1 2 4 8 16 32 64)})"
  37099. msgstr "@code{features} (padrão: @code{'()})"
  37100. #. type: table
  37101. #: guix-git/doc/guix.texi:24343
  37102. msgid "Defines a list of intervals in seconds to use in between attempts. If the number of attempts defined in @var{reconnect-attempts} is bigger than the list of intervals the last interval is repeated until the last attempt."
  37103. msgstr ""
  37104. #. type: item
  37105. #: guix-git/doc/guix.texi:24344
  37106. #, fuzzy, no-wrap
  37107. #| msgid "@code{manual?} (default: @code{#f})"
  37108. msgid "@code{auto-enable?} (default: @code{#f})"
  37109. msgstr "@code{manual?} (default: @code{#f})"
  37110. #. type: table
  37111. #: guix-git/doc/guix.texi:24347
  37112. msgid "Defines option to enable all controllers when they are found. This includes adapters present on start as well as adapters that are plugged in later on."
  37113. msgstr ""
  37114. #. type: item
  37115. #: guix-git/doc/guix.texi:24348
  37116. #, fuzzy, no-wrap
  37117. #| msgid "@code{delay} (default: @code{#f})"
  37118. msgid "@code{resume-delay} (default: @code{2})"
  37119. msgstr "@code{delay} (default: @code{#f})"
  37120. #. type: table
  37121. #: guix-git/doc/guix.texi:24353
  37122. msgid "Audio devices that were disconnected due to suspend will be reconnected on resume. @var{resume-delay} determines the delay between when the controller resumes from suspend and a connection attempt is made. A longer delay is better for better co-existence with Wi-Fi. The value is in seconds."
  37123. msgstr ""
  37124. #. type: item
  37125. #: guix-git/doc/guix.texi:24354
  37126. #, fuzzy, no-wrap
  37127. #| msgid "@code{snippet} (default: @code{#f})"
  37128. msgid "@code{rssi-sampling-period} (default: @code{#xFF})"
  37129. msgstr "@code{snippet} (default: @code{#f})"
  37130. #. type: table
  37131. #: guix-git/doc/guix.texi:24357
  37132. msgid "Default RSSI Sampling Period. This is used when a client registers an advertisement monitor and leaves the RSSISamplingPeriod unset."
  37133. msgstr ""
  37134. #. type: itemize
  37135. #: guix-git/doc/guix.texi:24362
  37136. msgid "@code{#x0}: Report all advertisements"
  37137. msgstr ""
  37138. #. type: itemize
  37139. #: guix-git/doc/guix.texi:24365
  37140. msgid "@code{N = #xXX}: Report advertisements every N x 100 msec (range: #x01 to #xFE)"
  37141. msgstr ""
  37142. #. type: itemize
  37143. #: guix-git/doc/guix.texi:24368
  37144. msgid "@code{#xFF}: Report only one advertisement per device during monitoring period."
  37145. msgstr ""
  37146. #. type: defvar
  37147. #: guix-git/doc/guix.texi:24373
  37148. #, fuzzy, no-wrap
  37149. #| msgid "guix-publish-service-type"
  37150. msgid "gnome-keyring-service-type"
  37151. msgstr "guix-publish-service-type"
  37152. #. type: defvar
  37153. #: guix-git/doc/guix.texi:24377
  37154. msgid "This is the type of the service that adds the @uref{https://wiki.gnome.org/Projects/GnomeKeyring, GNOME Keyring}. Its value is a @code{gnome-keyring-configuration} object (see below)."
  37155. msgstr ""
  37156. #. type: defvar
  37157. #: guix-git/doc/guix.texi:24381
  37158. msgid "This service adds the @code{gnome-keyring} package to the system profile and extends PAM with entries using @code{pam_gnome_keyring.so}, unlocking a user's login keyring when they log in or setting its password with passwd."
  37159. msgstr ""
  37160. #. type: deftp
  37161. #: guix-git/doc/guix.texi:24383
  37162. #, no-wrap
  37163. msgid "{Data Type} gnome-keyring-configuration"
  37164. msgstr ""
  37165. #. type: deftp
  37166. #: guix-git/doc/guix.texi:24385
  37167. msgid "Configuration record for the GNOME Keyring service."
  37168. msgstr ""
  37169. #. type: item
  37170. #: guix-git/doc/guix.texi:24387
  37171. #, no-wrap
  37172. msgid "@code{keyring} (default: @code{gnome-keyring})"
  37173. msgstr ""
  37174. #. type: table
  37175. #: guix-git/doc/guix.texi:24389
  37176. msgid "The GNOME keyring package to use."
  37177. msgstr ""
  37178. #. type: code{#1}
  37179. #: guix-git/doc/guix.texi:24390
  37180. #, no-wrap
  37181. msgid "pam-services"
  37182. msgstr ""
  37183. #. type: table
  37184. #: guix-git/doc/guix.texi:24395
  37185. msgid "A list of @code{(@var{service} . @var{kind})} pairs denoting PAM services to extend, where @var{service} is the name of an existing service to extend and @var{kind} is one of @code{login} or @code{passwd}."
  37186. msgstr ""
  37187. #. type: table
  37188. #: guix-git/doc/guix.texi:24401
  37189. msgid "If @code{login} is given, it adds an optional @code{pam_gnome_keyring.so} to the auth block without arguments and to the session block with @code{auto_start}. If @code{passwd} is given, it adds an optional @code{pam_gnome_keyring.so} to the password block without arguments."
  37190. msgstr ""
  37191. #. type: table
  37192. #: guix-git/doc/guix.texi:24404
  37193. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  37194. msgstr ""
  37195. #. type: defvar
  37196. #: guix-git/doc/guix.texi:24407
  37197. #, fuzzy, no-wrap
  37198. #| msgid "guix-publish-service-type"
  37199. msgid "seatd-service-type"
  37200. msgstr "guix-publish-service-type"
  37201. #. type: defvar
  37202. #: guix-git/doc/guix.texi:24410
  37203. msgid "@uref{https://sr.ht/~kennylevinsen/seatd/, seatd} is a minimal seat management daemon."
  37204. msgstr ""
  37205. #. type: defvar
  37206. #: guix-git/doc/guix.texi:24413
  37207. msgid "Seat management takes care of mediating access to shared devices (graphics, input), without requiring the applications needing access to be root."
  37208. msgstr ""
  37209. #. type: lisp
  37210. #: guix-git/doc/guix.texi:24419
  37211. #, no-wrap
  37212. msgid ""
  37213. "(append\n"
  37214. " (list\n"
  37215. " ;; make sure seatd is running\n"
  37216. " (service seatd-service-type))\n"
  37217. "\n"
  37218. msgstr ""
  37219. #. type: lisp
  37220. #: guix-git/doc/guix.texi:24422
  37221. #, no-wrap
  37222. msgid ""
  37223. " ;; normally one would want %base-services\n"
  37224. " %base-services)\n"
  37225. "\n"
  37226. msgstr ""
  37227. #. type: defvar
  37228. #: guix-git/doc/guix.texi:24431
  37229. msgid "@code{seatd} operates over a UNIX domain socket, with @code{libseat} providing the client side of the protocol. Applications that acquire access to the shared resources via @code{seatd} (e.g. @code{sway}) need to be able to talk to this socket. This can be achieved by adding the user they run under to the group owning @code{seatd}'s socket (usually ``seat''), like so:"
  37230. msgstr ""
  37231. #. type: lisp
  37232. #: guix-git/doc/guix.texi:24442
  37233. #, no-wrap
  37234. msgid ""
  37235. "(user-account\n"
  37236. " (name \"alice\")\n"
  37237. " (group \"users\")\n"
  37238. " (supplementary-groups '(\"wheel\" ; allow use of sudo, etc.\n"
  37239. " \"seat\" ; seat management\n"
  37240. " \"audio\" ; sound card\n"
  37241. " \"video\" ; video devices such as webcams\n"
  37242. " \"cdrom\")) ; the good ol' CD-ROM\n"
  37243. " (comment \"Bob's sister\"))\n"
  37244. msgstr ""
  37245. #. type: defvar
  37246. #: guix-git/doc/guix.texi:24447
  37247. msgid "Depending on your setup, you will have to not only add regular users, but also system users to this group. For instance, some greetd greeters require graphics and therefore also need to negotiate with seatd."
  37248. msgstr ""
  37249. #. type: deftp
  37250. #: guix-git/doc/guix.texi:24450
  37251. #, fuzzy, no-wrap
  37252. msgid "{Data Type} seatd-configuration"
  37253. msgstr "build-machine {Data Type}"
  37254. #. type: deftp
  37255. #: guix-git/doc/guix.texi:24452
  37256. #, fuzzy
  37257. msgid "Configuration record for the seatd daemon service."
  37258. msgstr "Gerencie a configuração do sistema operacional."
  37259. #. type: item
  37260. #: guix-git/doc/guix.texi:24454
  37261. #, fuzzy, no-wrap
  37262. #| msgid "@code{shared?} (default: @code{#t})"
  37263. msgid "@code{seatd} (default: @code{seatd})"
  37264. msgstr "@code{shared?} (padrão: @code{#t})"
  37265. #. type: table
  37266. #: guix-git/doc/guix.texi:24456
  37267. #, fuzzy
  37268. #| msgid "The GPM package to use."
  37269. msgid "The seatd package to use."
  37270. msgstr "O pacote GPM a ser usado."
  37271. #. type: item
  37272. #: guix-git/doc/guix.texi:24457
  37273. #, fuzzy, no-wrap
  37274. #| msgid "@code{hangup?} (default: @code{#f})"
  37275. msgid "@code{group} (default: @samp{\"seat\"})"
  37276. msgstr "@code{hangup?} (padrão: @code{#f})"
  37277. #. type: table
  37278. #: guix-git/doc/guix.texi:24459
  37279. msgid "Group to own the seatd socket."
  37280. msgstr ""
  37281. #. type: item
  37282. #: guix-git/doc/guix.texi:24460
  37283. #, fuzzy, no-wrap
  37284. #| msgid "@code{tor} (default: @code{tor})"
  37285. msgid "@code{socket} (default: @samp{\"/run/seatd.sock\"})"
  37286. msgstr "@code{tor} (default: @code{tor})"
  37287. #. type: table
  37288. #: guix-git/doc/guix.texi:24462
  37289. msgid "Where to create the seatd socket."
  37290. msgstr ""
  37291. #. type: item
  37292. #: guix-git/doc/guix.texi:24463
  37293. #, fuzzy, no-wrap
  37294. msgid "@code{logfile} (default: @samp{\"/var/log/seatd.log\"})"
  37295. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  37296. #. type: table
  37297. #: guix-git/doc/guix.texi:24465
  37298. msgid "Log file to write to."
  37299. msgstr ""
  37300. #. type: item
  37301. #: guix-git/doc/guix.texi:24466
  37302. #, fuzzy, no-wrap
  37303. #| msgid "@code{log-level} (default: @code{'info})"
  37304. msgid "@code{loglevel} (default: @samp{\"error\"})"
  37305. msgstr "@code{log-level} (default: @code{'info})"
  37306. #. type: table
  37307. #: guix-git/doc/guix.texi:24469
  37308. msgid "Log level to output logs. Possible values: @samp{\"silent\"}, @samp{\"error\"}, @samp{\"info\"} and @samp{\"debug\"}."
  37309. msgstr ""
  37310. #. type: cindex
  37311. #: guix-git/doc/guix.texi:24477
  37312. #, no-wrap
  37313. msgid "sound support"
  37314. msgstr ""
  37315. #. type: cindex
  37316. #: guix-git/doc/guix.texi:24478
  37317. #, no-wrap
  37318. msgid "ALSA"
  37319. msgstr ""
  37320. #. type: cindex
  37321. #: guix-git/doc/guix.texi:24479
  37322. #, no-wrap
  37323. msgid "PulseAudio, sound support"
  37324. msgstr ""
  37325. #. type: Plain text
  37326. #: guix-git/doc/guix.texi:24484
  37327. msgid "The @code{(gnu services sound)} module provides a service to configure the Advanced Linux Sound Architecture (ALSA) system, which makes PulseAudio the preferred ALSA output driver."
  37328. msgstr ""
  37329. #. type: defvar
  37330. #: guix-git/doc/guix.texi:24485
  37331. #, fuzzy, no-wrap
  37332. #| msgid "guix-publish-service-type"
  37333. msgid "alsa-service-type"
  37334. msgstr "guix-publish-service-type"
  37335. #. type: defvar
  37336. #: guix-git/doc/guix.texi:24490
  37337. msgid "This is the type for the @uref{https://alsa-project.org/, Advanced Linux Sound Architecture} (ALSA) system, which generates the @file{/etc/asound.conf} configuration file. The value for this type is a @command{alsa-configuration} record as in this example:"
  37338. msgstr ""
  37339. #. type: lisp
  37340. #: guix-git/doc/guix.texi:24493
  37341. #, no-wrap
  37342. msgid "(service alsa-service-type)\n"
  37343. msgstr ""
  37344. #. type: defvar
  37345. #: guix-git/doc/guix.texi:24496
  37346. msgid "See below for details about @code{alsa-configuration}."
  37347. msgstr ""
  37348. #. type: deftp
  37349. #: guix-git/doc/guix.texi:24498
  37350. #, no-wrap
  37351. msgid "{Data Type} alsa-configuration"
  37352. msgstr ""
  37353. #. type: deftp
  37354. #: guix-git/doc/guix.texi:24500
  37355. msgid "Data type representing the configuration for @code{alsa-service}."
  37356. msgstr ""
  37357. #. type: item
  37358. #: guix-git/doc/guix.texi:24502
  37359. #, no-wrap
  37360. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  37361. msgstr "@code{alsa-plugins} (default: @var{alsa-plugins})"
  37362. #. type: table
  37363. #: guix-git/doc/guix.texi:24504
  37364. msgid "@code{alsa-plugins} package to use."
  37365. msgstr ""
  37366. #. type: item
  37367. #: guix-git/doc/guix.texi:24505
  37368. #, no-wrap
  37369. msgid "@code{pulseaudio?} (default: @var{#t})"
  37370. msgstr ""
  37371. #. type: table
  37372. #: guix-git/doc/guix.texi:24508
  37373. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  37374. msgstr ""
  37375. #. type: table
  37376. #: guix-git/doc/guix.texi:24512
  37377. msgid "Using PulseAudio allows you to run several sound-producing applications at the same time and to individual control them @i{via} @command{pavucontrol}, among other things."
  37378. msgstr ""
  37379. #. type: item
  37380. #: guix-git/doc/guix.texi:24513
  37381. #, no-wrap
  37382. msgid "@code{extra-options} (default: @var{\"\"})"
  37383. msgstr ""
  37384. #. type: table
  37385. #: guix-git/doc/guix.texi:24515
  37386. msgid "String to append to the @file{/etc/asound.conf} file."
  37387. msgstr ""
  37388. #. type: Plain text
  37389. #: guix-git/doc/guix.texi:24521
  37390. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  37391. msgstr ""
  37392. #. type: example
  37393. #: guix-git/doc/guix.texi:24527
  37394. #, no-wrap
  37395. msgid ""
  37396. "# In guix, we have to specify the absolute path for plugins.\n"
  37397. "pcm_type.jack @{\n"
  37398. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  37399. "@}\n"
  37400. "\n"
  37401. msgstr ""
  37402. #. type: example
  37403. #: guix-git/doc/guix.texi:24536
  37404. #, no-wrap
  37405. msgid ""
  37406. "# Routing ALSA to jack:\n"
  37407. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  37408. "pcm.rawjack @{\n"
  37409. " type jack\n"
  37410. " playback_ports @{\n"
  37411. " 0 system:playback_1\n"
  37412. " 1 system:playback_2\n"
  37413. " @}\n"
  37414. "\n"
  37415. msgstr ""
  37416. #. type: example
  37417. #: guix-git/doc/guix.texi:24542
  37418. #, no-wrap
  37419. msgid ""
  37420. " capture_ports @{\n"
  37421. " 0 system:capture_1\n"
  37422. " 1 system:capture_2\n"
  37423. " @}\n"
  37424. "@}\n"
  37425. "\n"
  37426. msgstr ""
  37427. #. type: example
  37428. #: guix-git/doc/guix.texi:24549
  37429. #, no-wrap
  37430. msgid ""
  37431. "pcm.!default @{\n"
  37432. " type plug\n"
  37433. " slave @{\n"
  37434. " pcm \"rawjack\"\n"
  37435. " @}\n"
  37436. "@}\n"
  37437. msgstr ""
  37438. #. type: Plain text
  37439. #: guix-git/doc/guix.texi:24553
  37440. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  37441. msgstr ""
  37442. #. type: defvar
  37443. #: guix-git/doc/guix.texi:24554
  37444. #, fuzzy, no-wrap
  37445. #| msgid "guix-publish-service-type"
  37446. msgid "pulseaudio-service-type"
  37447. msgstr "guix-publish-service-type"
  37448. #. type: defvar
  37449. #: guix-git/doc/guix.texi:24558
  37450. msgid "This is the type for the @uref{https://www.pulseaudio.org/, PulseAudio} sound server. It exists to allow system overrides of the default settings via @code{pulseaudio-configuration}, see below."
  37451. msgstr ""
  37452. #. type: quotation
  37453. #: guix-git/doc/guix.texi:24564
  37454. msgid "This service overrides per-user configuration files. If you want PulseAudio to honor configuration files in @file{~/.config/pulse} you have to unset the environment variables @env{PULSE_CONFIG} and @env{PULSE_CLIENTCONFIG} in your @file{~/.bash_profile}."
  37455. msgstr ""
  37456. #. type: quotation
  37457. #: guix-git/doc/guix.texi:24572
  37458. msgid "This service on its own does not ensure, that the @code{pulseaudio} package exists on your machine. It merely adds configuration files for it, as detailed below. In the (admittedly unlikely) case, that you find yourself without a @code{pulseaudio} package, consider enabling it through the @code{alsa-service-type} above."
  37459. msgstr ""
  37460. #. type: deftp
  37461. #: guix-git/doc/guix.texi:24575
  37462. #, no-wrap
  37463. msgid "{Data Type} pulseaudio-configuration"
  37464. msgstr ""
  37465. #. type: deftp
  37466. #: guix-git/doc/guix.texi:24577
  37467. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  37468. msgstr ""
  37469. #. type: item
  37470. #: guix-git/doc/guix.texi:24579
  37471. #, no-wrap
  37472. msgid "@code{client-conf} (default: @code{'()})"
  37473. msgstr ""
  37474. #. type: table
  37475. #: guix-git/doc/guix.texi:24584
  37476. msgid "List of settings to set in @file{client.conf}. Accepts a list of strings or symbol-value pairs. A string will be inserted as-is with a newline added. A pair will be formatted as ``key = value'', again with a newline added."
  37477. msgstr ""
  37478. #. type: item
  37479. #: guix-git/doc/guix.texi:24585
  37480. #, no-wrap
  37481. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  37482. msgstr ""
  37483. #. type: table
  37484. #: guix-git/doc/guix.texi:24588
  37485. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  37486. msgstr ""
  37487. #. type: item
  37488. #: guix-git/doc/guix.texi:24589
  37489. #, no-wrap
  37490. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  37491. msgstr ""
  37492. #. type: table
  37493. #: guix-git/doc/guix.texi:24594
  37494. msgid "Script file to use as @file{default.pa}. In case the @code{extra-script-files} field below is used, an @code{.include} directive pointing to @file{/etc/pulse/default.pa.d} is appended to the provided script."
  37495. msgstr ""
  37496. #. type: item
  37497. #: guix-git/doc/guix.texi:24595
  37498. #, fuzzy, no-wrap
  37499. #| msgid "@code{features} (default: @code{'()})"
  37500. msgid "@code{extra-script-files} (default: @code{'()})"
  37501. msgstr "@code{features} (padrão: @code{'()})"
  37502. #. type: table
  37503. #: guix-git/doc/guix.texi:24602
  37504. msgid "A list of file-like objects defining extra PulseAudio scripts to run at the initialization of the @command{pulseaudio} daemon, after the main @code{script-file}. The scripts are deployed to the @file{/etc/pulse/default.pa.d} directory; they should have the @samp{.pa} file name extension. For a reference of the available commands, refer to @command{man pulse-cli-syntax}."
  37505. msgstr ""
  37506. #. type: item
  37507. #: guix-git/doc/guix.texi:24603
  37508. #, no-wrap
  37509. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  37510. msgstr ""
  37511. #. type: table
  37512. #: guix-git/doc/guix.texi:24605
  37513. msgid "Script file to use as @file{system.pa}."
  37514. msgstr ""
  37515. #. type: deftp
  37516. #: guix-git/doc/guix.texi:24610
  37517. msgid "The example below sets the default PulseAudio card profile, the default sink and the default source to use for a old SoundBlaster Audigy sound card:"
  37518. msgstr ""
  37519. #. type: lisp
  37520. #: guix-git/doc/guix.texi:24619
  37521. #, no-wrap
  37522. msgid ""
  37523. "(pulseaudio-configuration\n"
  37524. " (extra-script-files\n"
  37525. " (list (plain-file \"audigy.pa\"\n"
  37526. " (string-append \"\\\n"
  37527. "set-card-profile alsa_card.pci-0000_01_01.0 \\\n"
  37528. " output:analog-surround-40+input:analog-mono\n"
  37529. "set-default-source alsa_input.pci-0000_01_01.0.analog-mono\n"
  37530. "set-default-sink alsa_output.pci-0000_01_01.0.analog-surround-40\\n\")))))\n"
  37531. msgstr ""
  37532. #. type: deftp
  37533. #: guix-git/doc/guix.texi:24627
  37534. msgid "Note that @code{pulseaudio-service-type} is part of @code{%desktop-services}; if your operating system declaration was derived from one of the desktop templates, you'll want to adjust the above example to modify the existing @code{pulseaudio-service-type} via @code{modify-services} (@pxref{Service Reference, @code{modify-services}}), instead of defining a new one."
  37535. msgstr ""
  37536. #. type: defvar
  37537. #: guix-git/doc/guix.texi:24630
  37538. #, fuzzy, no-wrap
  37539. #| msgid "guix-publish-service-type"
  37540. msgid "ladspa-service-type"
  37541. msgstr "guix-publish-service-type"
  37542. #. type: defvar
  37543. #: guix-git/doc/guix.texi:24633
  37544. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  37545. msgstr ""
  37546. #. type: defvar
  37547. #: guix-git/doc/guix.texi:24636
  37548. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  37549. msgstr ""
  37550. #. type: lisp
  37551. #: guix-git/doc/guix.texi:24640
  37552. #, no-wrap
  37553. msgid ""
  37554. "(service ladspa-service-type\n"
  37555. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  37556. msgstr ""
  37557. #. type: defvar
  37558. #: guix-git/doc/guix.texi:24644
  37559. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  37560. msgstr ""
  37561. #. type: cindex
  37562. #: guix-git/doc/guix.texi:24651
  37563. #, no-wrap
  37564. msgid "SQL"
  37565. msgstr ""
  37566. #. type: Plain text
  37567. #: guix-git/doc/guix.texi:24653
  37568. msgid "The @code{(gnu services databases)} module provides the following services."
  37569. msgstr ""
  37570. #. type: subsubheading
  37571. #: guix-git/doc/guix.texi:24654
  37572. #, no-wrap
  37573. msgid "PostgreSQL"
  37574. msgstr ""
  37575. #. type: Plain text
  37576. #: guix-git/doc/guix.texi:24658
  37577. msgid "The following example describes a PostgreSQL service with the default configuration."
  37578. msgstr ""
  37579. #. type: lisp
  37580. #: guix-git/doc/guix.texi:24663
  37581. #, no-wrap
  37582. msgid ""
  37583. "(service postgresql-service-type\n"
  37584. " (postgresql-configuration\n"
  37585. " (postgresql postgresql-10)))\n"
  37586. msgstr ""
  37587. #. type: Plain text
  37588. #: guix-git/doc/guix.texi:24669
  37589. msgid "If the services fails to start, it may be due to an incompatible cluster already present in @var{data-directory}. Adjust it (or, if you don't need the cluster anymore, delete @var{data-directory}), then restart the service."
  37590. msgstr ""
  37591. #. type: Plain text
  37592. #: guix-git/doc/guix.texi:24676
  37593. msgid "Peer authentication is used by default and the @code{postgres} user account has no shell, which prevents the direct execution of @code{psql} commands as this user. To use @code{psql}, you can temporarily log in as @code{postgres} using a shell, create a PostgreSQL superuser with the same name as one of the system users and then create the associated database."
  37594. msgstr ""
  37595. #. type: example
  37596. #: guix-git/doc/guix.texi:24681
  37597. #, no-wrap
  37598. msgid ""
  37599. "sudo -u postgres -s /bin/sh\n"
  37600. "createuser --interactive\n"
  37601. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  37602. msgstr ""
  37603. #. type: deftp
  37604. #: guix-git/doc/guix.texi:24683
  37605. #, no-wrap
  37606. msgid "{Data Type} postgresql-configuration"
  37607. msgstr ""
  37608. #. type: deftp
  37609. #: guix-git/doc/guix.texi:24686
  37610. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  37611. msgstr ""
  37612. #. type: code{#1}
  37613. #: guix-git/doc/guix.texi:24688
  37614. #, no-wrap
  37615. msgid "postgresql"
  37616. msgstr ""
  37617. #. type: table
  37618. #: guix-git/doc/guix.texi:24690
  37619. msgid "PostgreSQL package to use for the service."
  37620. msgstr ""
  37621. #. type: item
  37622. #: guix-git/doc/guix.texi:24691
  37623. #, no-wrap
  37624. msgid "@code{port} (default: @code{5432})"
  37625. msgstr ""
  37626. #. type: table
  37627. #: guix-git/doc/guix.texi:24693
  37628. msgid "Port on which PostgreSQL should listen."
  37629. msgstr ""
  37630. #. type: table
  37631. #: guix-git/doc/guix.texi:24696
  37632. msgid "Locale to use as the default when creating the database cluster."
  37633. msgstr ""
  37634. #. type: item
  37635. #: guix-git/doc/guix.texi:24697
  37636. #, no-wrap
  37637. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  37638. msgstr ""
  37639. #. type: table
  37640. #: guix-git/doc/guix.texi:24701
  37641. msgid "The configuration file to use when running PostgreSQL@. The default behaviour uses the postgresql-config-file record with the default values for the fields."
  37642. msgstr ""
  37643. #. type: item
  37644. #: guix-git/doc/guix.texi:24702
  37645. #, no-wrap
  37646. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  37647. msgstr ""
  37648. #. type: table
  37649. #: guix-git/doc/guix.texi:24706
  37650. msgid "The directory where @command{pg_ctl} output will be written in a file named @code{\"pg_ctl.log\"}. This file can be useful to debug PostgreSQL configuration errors for instance."
  37651. msgstr ""
  37652. #. type: item
  37653. #: guix-git/doc/guix.texi:24707
  37654. #, no-wrap
  37655. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  37656. msgstr ""
  37657. #. type: table
  37658. #: guix-git/doc/guix.texi:24709
  37659. msgid "Directory in which to store the data."
  37660. msgstr ""
  37661. #. type: item
  37662. #: guix-git/doc/guix.texi:24710
  37663. #, no-wrap
  37664. msgid "@code{extension-packages} (default: @code{'()})"
  37665. msgstr ""
  37666. #. type: cindex
  37667. #: guix-git/doc/guix.texi:24711
  37668. #, no-wrap
  37669. msgid "postgresql extension-packages"
  37670. msgstr ""
  37671. #. type: table
  37672. #: guix-git/doc/guix.texi:24716
  37673. msgid "Additional extensions are loaded from packages listed in @var{extension-packages}. Extensions are available at runtime. For instance, to create a geographic database using the @code{postgis} extension, a user can configure the postgresql-service as in this example:"
  37674. msgstr ""
  37675. #. type: cindex
  37676. #: guix-git/doc/guix.texi:24717
  37677. #, no-wrap
  37678. msgid "postgis"
  37679. msgstr ""
  37680. #. type: lisp
  37681. #: guix-git/doc/guix.texi:24720
  37682. #, no-wrap
  37683. msgid ""
  37684. "(use-package-modules databases geo)\n"
  37685. "\n"
  37686. msgstr ""
  37687. #. type: lisp
  37688. #: guix-git/doc/guix.texi:24733
  37689. #, no-wrap
  37690. msgid ""
  37691. "(operating-system\n"
  37692. " ...\n"
  37693. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  37694. " ;; proper operation.\n"
  37695. " (packages (cons* postgresql %base-packages))\n"
  37696. " (services\n"
  37697. " (cons*\n"
  37698. " (service postgresql-service-type\n"
  37699. " (postgresql-configuration\n"
  37700. " (postgresql postgresql-10)\n"
  37701. " (extension-packages (list postgis))))\n"
  37702. " %base-services)))\n"
  37703. msgstr ""
  37704. #. type: table
  37705. #: guix-git/doc/guix.texi:24737
  37706. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  37707. msgstr ""
  37708. #. type: example
  37709. #: guix-git/doc/guix.texi:24744
  37710. #, no-wrap
  37711. msgid ""
  37712. "psql -U postgres\n"
  37713. "> create database postgistest;\n"
  37714. "> \\connect postgistest;\n"
  37715. "> create extension postgis;\n"
  37716. "> create extension postgis_topology;\n"
  37717. msgstr ""
  37718. #. type: table
  37719. #: guix-git/doc/guix.texi:24749
  37720. msgid "There is no need to add this field for contrib extensions such as hstore or dblink as they are already loadable by postgresql. This field is only required to add extensions provided by other packages."
  37721. msgstr ""
  37722. #. type: deftp
  37723. #: guix-git/doc/guix.texi:24753
  37724. #, no-wrap
  37725. msgid "{Data Type} postgresql-config-file"
  37726. msgstr ""
  37727. #. type: deftp
  37728. #: guix-git/doc/guix.texi:24759
  37729. msgid "Data type representing the PostgreSQL configuration file. As shown in the following example, this can be used to customize the configuration of PostgreSQL@. Note that you can use any G-expression or filename in place of this record, if you already have a configuration file you'd like to use for example."
  37730. msgstr ""
  37731. #. type: lisp
  37732. #: guix-git/doc/guix.texi:24779
  37733. #, no-wrap
  37734. msgid ""
  37735. "(service postgresql-service-type\n"
  37736. " (postgresql-configuration\n"
  37737. " (config-file\n"
  37738. " (postgresql-config-file\n"
  37739. " (log-destination \"stderr\")\n"
  37740. " (hba-file\n"
  37741. " (plain-file \"pg_hba.conf\"\n"
  37742. " \"\n"
  37743. "local\tall\tall\t\t\ttrust\n"
  37744. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  37745. "host\tall\tall\t::1/128 \tmd5\"))\n"
  37746. " (extra-config\n"
  37747. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  37748. " (\"random_page_cost\" 2)\n"
  37749. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  37750. " (\"work_mem\" \"500 MB\")\n"
  37751. " (\"logging_collector\" #t)\n"
  37752. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  37753. msgstr ""
  37754. #. type: item
  37755. #: guix-git/doc/guix.texi:24782
  37756. #, no-wrap
  37757. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  37758. msgstr ""
  37759. #. type: table
  37760. #: guix-git/doc/guix.texi:24785
  37761. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  37762. msgstr ""
  37763. #. type: item
  37764. #: guix-git/doc/guix.texi:24786
  37765. #, no-wrap
  37766. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  37767. msgstr ""
  37768. #. type: table
  37769. #: guix-git/doc/guix.texi:24789
  37770. msgid "Filename or G-expression for the host-based authentication configuration."
  37771. msgstr ""
  37772. #. type: item
  37773. #: guix-git/doc/guix.texi:24790
  37774. #, no-wrap
  37775. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  37776. msgstr ""
  37777. #. type: table
  37778. #: guix-git/doc/guix.texi:24792
  37779. msgid "Filename or G-expression for the user name mapping configuration."
  37780. msgstr ""
  37781. #. type: item
  37782. #: guix-git/doc/guix.texi:24793
  37783. #, fuzzy, no-wrap
  37784. msgid "@code{socket-directory} (default: @code{\"/var/run/postgresql\"})"
  37785. msgstr "@code{chdir} (default: @code{#f})"
  37786. #. type: table
  37787. #: guix-git/doc/guix.texi:24798
  37788. msgid "Specifies the directory of the Unix-domain socket(s) on which PostgreSQL is to listen for connections from client applications. If set to @code{\"\"} PostgreSQL does not listen on any Unix-domain sockets, in which case only TCP/IP sockets can be used to connect to the server."
  37789. msgstr ""
  37790. #. type: table
  37791. #: guix-git/doc/guix.texi:24801
  37792. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  37793. msgstr ""
  37794. #. type: table
  37795. #: guix-git/doc/guix.texi:24806
  37796. msgid "List of additional keys and values to include in the PostgreSQL config file. Each entry in the list should be a list where the first element is the key, and the remaining elements are the values."
  37797. msgstr ""
  37798. #. type: table
  37799. #: guix-git/doc/guix.texi:24812
  37800. msgid "The values can be numbers, booleans or strings and will be mapped to PostgreSQL parameters types @code{Boolean}, @code{String}, @code{Numeric}, @code{Numeric with Unit} and @code{Enumerated} described @uref{https://www.postgresql.org/docs/current/config-setting.html, here}."
  37801. msgstr ""
  37802. #. type: defvar
  37803. #: guix-git/doc/guix.texi:24816
  37804. #, fuzzy, no-wrap
  37805. #| msgid "guix-publish-service-type"
  37806. msgid "postgresql-role-service-type"
  37807. msgstr "guix-publish-service-type"
  37808. #. type: defvar
  37809. #: guix-git/doc/guix.texi:24819
  37810. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  37811. msgstr ""
  37812. #. type: lisp
  37813. #: guix-git/doc/guix.texi:24827
  37814. #, no-wrap
  37815. msgid ""
  37816. "(service postgresql-role-service-type\n"
  37817. " (postgresql-role-configuration\n"
  37818. " (roles\n"
  37819. " (list (postgresql-role\n"
  37820. " (name \"test\")\n"
  37821. " (create-database? #t))))))\n"
  37822. msgstr ""
  37823. #. type: defvar
  37824. #: guix-git/doc/guix.texi:24831
  37825. msgid "This service can be extended with extra roles, as in this example:"
  37826. msgstr ""
  37827. #. type: lisp
  37828. #: guix-git/doc/guix.texi:24837
  37829. #, no-wrap
  37830. msgid ""
  37831. "(service-extension postgresql-role-service-type\n"
  37832. " (const (postgresql-role\n"
  37833. " (name \"alice\")\n"
  37834. " (create-database? #t))))\n"
  37835. msgstr ""
  37836. #. type: deftp
  37837. #: guix-git/doc/guix.texi:24840
  37838. #, no-wrap
  37839. msgid "{Data Type} postgresql-role"
  37840. msgstr ""
  37841. #. type: deftp
  37842. #: guix-git/doc/guix.texi:24846
  37843. msgid "PostgreSQL manages database access permissions using the concept of roles. A role can be thought of as either a database user, or a group of database users, depending on how the role is set up. Roles can own database objects (for example, tables) and can assign privileges on those objects to other roles to control who has access to which objects."
  37844. msgstr ""
  37845. #. type: table
  37846. #: guix-git/doc/guix.texi:24850
  37847. msgid "The role name."
  37848. msgstr ""
  37849. #. type: item
  37850. #: guix-git/doc/guix.texi:24851
  37851. #, no-wrap
  37852. msgid "@code{permissions} (default: @code{'(createdb login)})"
  37853. msgstr ""
  37854. #. type: table
  37855. #: guix-git/doc/guix.texi:24855
  37856. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  37857. msgstr ""
  37858. #. type: item
  37859. #: guix-git/doc/guix.texi:24856
  37860. #, no-wrap
  37861. msgid "@code{create-database?} (default: @code{#f})"
  37862. msgstr ""
  37863. #. type: table
  37864. #: guix-git/doc/guix.texi:24858
  37865. msgid "Whether to create a database with the same name as the role."
  37866. msgstr ""
  37867. #. type: deftp
  37868. #: guix-git/doc/guix.texi:24862
  37869. #, no-wrap
  37870. msgid "{Data Type} postgresql-role-configuration"
  37871. msgstr ""
  37872. #. type: deftp
  37873. #: guix-git/doc/guix.texi:24865
  37874. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  37875. msgstr ""
  37876. #. type: item
  37877. #: guix-git/doc/guix.texi:24867
  37878. #, no-wrap
  37879. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  37880. msgstr ""
  37881. #. type: table
  37882. #: guix-git/doc/guix.texi:24869
  37883. msgid "The PostgreSQL host to connect to."
  37884. msgstr ""
  37885. #. type: item
  37886. #: guix-git/doc/guix.texi:24870
  37887. #, no-wrap
  37888. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  37889. msgstr ""
  37890. #. type: table
  37891. #: guix-git/doc/guix.texi:24872
  37892. msgid "File name of the log file."
  37893. msgstr ""
  37894. #. type: item
  37895. #: guix-git/doc/guix.texi:24873
  37896. #, no-wrap
  37897. msgid "@code{roles} (default: @code{'()})"
  37898. msgstr ""
  37899. #. type: table
  37900. #: guix-git/doc/guix.texi:24875
  37901. msgid "The initial PostgreSQL roles to create."
  37902. msgstr ""
  37903. #. type: subsubheading
  37904. #: guix-git/doc/guix.texi:24878
  37905. #, no-wrap
  37906. msgid "MariaDB/MySQL"
  37907. msgstr ""
  37908. #. type: defvar
  37909. #: guix-git/doc/guix.texi:24880
  37910. #, fuzzy, no-wrap
  37911. #| msgid "guix-publish-service-type"
  37912. msgid "mysql-service-type"
  37913. msgstr "guix-publish-service-type"
  37914. #. type: defvar
  37915. #: guix-git/doc/guix.texi:24884
  37916. msgid "This is the service type for a MySQL or MariaDB database server. Its value is a @code{mysql-configuration} object that specifies which package to use, as well as various settings for the @command{mysqld} daemon."
  37917. msgstr ""
  37918. #. type: deftp
  37919. #: guix-git/doc/guix.texi:24886
  37920. #, no-wrap
  37921. msgid "{Data Type} mysql-configuration"
  37922. msgstr ""
  37923. #. type: deftp
  37924. #: guix-git/doc/guix.texi:24888
  37925. msgid "Data type representing the configuration of @var{mysql-service-type}."
  37926. msgstr ""
  37927. #. type: item
  37928. #: guix-git/doc/guix.texi:24890
  37929. #, no-wrap
  37930. msgid "@code{mysql} (default: @var{mariadb})"
  37931. msgstr ""
  37932. #. type: table
  37933. #: guix-git/doc/guix.texi:24893
  37934. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  37935. msgstr ""
  37936. #. type: table
  37937. #: guix-git/doc/guix.texi:24896
  37938. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  37939. msgstr ""
  37940. #. type: item
  37941. #: guix-git/doc/guix.texi:24897 guix-git/doc/guix.texi:28741
  37942. #, no-wrap
  37943. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  37944. msgstr ""
  37945. #. type: table
  37946. #: guix-git/doc/guix.texi:24900
  37947. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  37948. msgstr ""
  37949. #. type: item
  37950. #: guix-git/doc/guix.texi:24901
  37951. #, no-wrap
  37952. msgid "@code{port} (default: @code{3306})"
  37953. msgstr "@code{porta} (default: @code{3306})"
  37954. #. type: table
  37955. #: guix-git/doc/guix.texi:24903
  37956. msgid "TCP port on which the database server listens for incoming connections."
  37957. msgstr ""
  37958. #. type: item
  37959. #: guix-git/doc/guix.texi:24904
  37960. #, no-wrap
  37961. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  37962. msgstr ""
  37963. #. type: table
  37964. #: guix-git/doc/guix.texi:24906
  37965. msgid "Socket file to use for local (non-network) connections."
  37966. msgstr ""
  37967. #. type: table
  37968. #: guix-git/doc/guix.texi:24909
  37969. msgid "Additional settings for the @file{my.cnf} configuration file."
  37970. msgstr ""
  37971. #. type: item
  37972. #: guix-git/doc/guix.texi:24910
  37973. #, fuzzy, no-wrap
  37974. #| msgid "@code{replacement} (default: @code{#f})"
  37975. msgid "@code{extra-environment} (default: @code{#~'()})"
  37976. msgstr "@code{replacement} (default: @code{#f})"
  37977. #. type: table
  37978. #: guix-git/doc/guix.texi:24912
  37979. msgid "List of environment variables passed to the @command{mysqld} process."
  37980. msgstr ""
  37981. #. type: item
  37982. #: guix-git/doc/guix.texi:24913
  37983. #, no-wrap
  37984. msgid "@code{auto-upgrade?} (default: @code{#t})"
  37985. msgstr ""
  37986. #. type: table
  37987. #: guix-git/doc/guix.texi:24918
  37988. msgid "Whether to automatically run @command{mysql_upgrade} after starting the service. This is necessary to upgrade the @dfn{system schema} after ``major'' updates (such as switching from MariaDB 10.4 to 10.5), but can be disabled if you would rather do that manually."
  37989. msgstr ""
  37990. #. type: subsubheading
  37991. #: guix-git/doc/guix.texi:24922
  37992. #, no-wrap
  37993. msgid "Memcached"
  37994. msgstr ""
  37995. #. type: defvar
  37996. #: guix-git/doc/guix.texi:24924
  37997. #, fuzzy, no-wrap
  37998. #| msgid "guix-publish-service-type"
  37999. msgid "memcached-service-type"
  38000. msgstr "guix-publish-service-type"
  38001. #. type: defvar
  38002. #: guix-git/doc/guix.texi:24928
  38003. msgid "This is the service type for the @uref{https://memcached.org/, Memcached} service, which provides a distributed in memory cache. The value for the service type is a @code{memcached-configuration} object."
  38004. msgstr ""
  38005. #. type: lisp
  38006. #: guix-git/doc/guix.texi:24932
  38007. #, no-wrap
  38008. msgid "(service memcached-service-type)\n"
  38009. msgstr ""
  38010. #. type: deftp
  38011. #: guix-git/doc/guix.texi:24934
  38012. #, no-wrap
  38013. msgid "{Data Type} memcached-configuration"
  38014. msgstr ""
  38015. #. type: deftp
  38016. #: guix-git/doc/guix.texi:24936
  38017. msgid "Data type representing the configuration of memcached."
  38018. msgstr ""
  38019. #. type: item
  38020. #: guix-git/doc/guix.texi:24938
  38021. #, no-wrap
  38022. msgid "@code{memcached} (default: @code{memcached})"
  38023. msgstr ""
  38024. #. type: table
  38025. #: guix-git/doc/guix.texi:24940
  38026. msgid "The Memcached package to use."
  38027. msgstr ""
  38028. #. type: item
  38029. #: guix-git/doc/guix.texi:24941
  38030. #, no-wrap
  38031. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  38032. msgstr ""
  38033. #. type: table
  38034. #: guix-git/doc/guix.texi:24943
  38035. msgid "Network interfaces on which to listen."
  38036. msgstr ""
  38037. #. type: item
  38038. #: guix-git/doc/guix.texi:24944
  38039. #, no-wrap
  38040. msgid "@code{tcp-port} (default: @code{11211})"
  38041. msgstr ""
  38042. #. type: table
  38043. #: guix-git/doc/guix.texi:24946
  38044. msgid "Port on which to accept connections."
  38045. msgstr ""
  38046. #. type: item
  38047. #: guix-git/doc/guix.texi:24947
  38048. #, no-wrap
  38049. msgid "@code{udp-port} (default: @code{11211})"
  38050. msgstr ""
  38051. #. type: table
  38052. #: guix-git/doc/guix.texi:24950
  38053. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  38054. msgstr ""
  38055. #. type: item
  38056. #: guix-git/doc/guix.texi:24951
  38057. #, no-wrap
  38058. msgid "@code{additional-options} (default: @code{'()})"
  38059. msgstr ""
  38060. #. type: table
  38061. #: guix-git/doc/guix.texi:24953
  38062. msgid "Additional command line options to pass to @code{memcached}."
  38063. msgstr ""
  38064. #. type: subsubheading
  38065. #: guix-git/doc/guix.texi:24956
  38066. #, no-wrap
  38067. msgid "Redis"
  38068. msgstr ""
  38069. #. type: defvar
  38070. #: guix-git/doc/guix.texi:24958
  38071. #, fuzzy, no-wrap
  38072. #| msgid "guix-publish-service-type"
  38073. msgid "redis-service-type"
  38074. msgstr "guix-publish-service-type"
  38075. #. type: defvar
  38076. #: guix-git/doc/guix.texi:24961
  38077. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  38078. msgstr ""
  38079. #. type: deftp
  38080. #: guix-git/doc/guix.texi:24963
  38081. #, no-wrap
  38082. msgid "{Data Type} redis-configuration"
  38083. msgstr ""
  38084. #. type: deftp
  38085. #: guix-git/doc/guix.texi:24965
  38086. msgid "Data type representing the configuration of redis."
  38087. msgstr ""
  38088. #. type: item
  38089. #: guix-git/doc/guix.texi:24967
  38090. #, no-wrap
  38091. msgid "@code{redis} (default: @code{redis})"
  38092. msgstr ""
  38093. #. type: table
  38094. #: guix-git/doc/guix.texi:24969
  38095. msgid "The Redis package to use."
  38096. msgstr ""
  38097. #. type: item
  38098. #: guix-git/doc/guix.texi:24970
  38099. #, no-wrap
  38100. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  38101. msgstr ""
  38102. #. type: table
  38103. #: guix-git/doc/guix.texi:24972
  38104. msgid "Network interface on which to listen."
  38105. msgstr ""
  38106. #. type: item
  38107. #: guix-git/doc/guix.texi:24973
  38108. #, no-wrap
  38109. msgid "@code{port} (default: @code{6379})"
  38110. msgstr "@code{porta} (default: @code{6379})"
  38111. #. type: table
  38112. #: guix-git/doc/guix.texi:24976
  38113. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  38114. msgstr ""
  38115. #. type: item
  38116. #: guix-git/doc/guix.texi:24977
  38117. #, no-wrap
  38118. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  38119. msgstr ""
  38120. #. type: table
  38121. #: guix-git/doc/guix.texi:24979
  38122. msgid "Directory in which to store the database and related files."
  38123. msgstr ""
  38124. #. type: cindex
  38125. #: guix-git/doc/guix.texi:24985
  38126. #, no-wrap
  38127. msgid "mail"
  38128. msgstr ""
  38129. #. type: cindex
  38130. #: guix-git/doc/guix.texi:24986
  38131. #, no-wrap
  38132. msgid "email"
  38133. msgstr "e-mail"
  38134. #. type: Plain text
  38135. #: guix-git/doc/guix.texi:24991
  38136. msgid "The @code{(gnu services mail)} module provides Guix service definitions for email services: IMAP, POP3, and LMTP servers, as well as mail transport agents (MTAs). Lots of acronyms! These services are detailed in the subsections below."
  38137. msgstr ""
  38138. #. type: subsubheading
  38139. #: guix-git/doc/guix.texi:24992
  38140. #, no-wrap
  38141. msgid "Dovecot Service"
  38142. msgstr ""
  38143. #. type: defvar
  38144. #: guix-git/doc/guix.texi:24994
  38145. #, fuzzy, no-wrap
  38146. #| msgid "guix-publish-service-type"
  38147. msgid "dovecot-service-type"
  38148. msgstr "guix-publish-service-type"
  38149. #. type: defvar
  38150. #: guix-git/doc/guix.texi:24997
  38151. msgid "Type for the service that runs the Dovecot IMAP/POP3/LMTP mail server, whose value is a @code{<dovecot-configuration>} object."
  38152. msgstr ""
  38153. #. type: Plain text
  38154. #: guix-git/doc/guix.texi:25007
  38155. msgid "By default, Dovecot does not need much configuration; the default configuration object created by @code{(dovecot-configuration)} will suffice if your mail is delivered to @code{~/Maildir}. A self-signed certificate will be generated for TLS-protected connections, though Dovecot will also listen on cleartext ports by default. There are a number of options, though, which mail administrators might need to change, and as is the case with other services, Guix allows the system administrator to specify these parameters via a uniform Scheme interface."
  38156. msgstr ""
  38157. #. type: Plain text
  38158. #: guix-git/doc/guix.texi:25010
  38159. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  38160. msgstr ""
  38161. #. type: lisp
  38162. #: guix-git/doc/guix.texi:25015
  38163. #, no-wrap
  38164. msgid ""
  38165. "(service dovecot-service-type\n"
  38166. " (dovecot-configuration\n"
  38167. " (mail-location \"maildir:~/.mail\")))\n"
  38168. msgstr ""
  38169. #. type: Plain text
  38170. #: guix-git/doc/guix.texi:25023
  38171. msgid "The available configuration parameters follow. Each parameter definition is preceded by its type; for example, @samp{string-list foo} indicates that the @code{foo} parameter should be specified as a list of strings. There is also a way to specify the configuration as a string, if you have an old @code{dovecot.conf} file that you want to port over from some other system; see the end for more details."
  38172. msgstr ""
  38173. #. type: Plain text
  38174. #: guix-git/doc/guix.texi:25033
  38175. msgid "Available @code{dovecot-configuration} fields are:"
  38176. msgstr ""
  38177. #. type: deftypevr
  38178. #: guix-git/doc/guix.texi:25034
  38179. #, no-wrap
  38180. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  38181. msgstr ""
  38182. #. type: deftypevr
  38183. #: guix-git/doc/guix.texi:25036 guix-git/doc/guix.texi:26385
  38184. msgid "The dovecot package."
  38185. msgstr ""
  38186. #. type: deftypevr
  38187. #: guix-git/doc/guix.texi:25038
  38188. #, no-wrap
  38189. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  38190. msgstr ""
  38191. #. type: deftypevr
  38192. #: guix-git/doc/guix.texi:25044
  38193. msgid "A list of IPs or hosts where to listen for connections. @samp{*} listens on all IPv4 interfaces, @samp{::} listens on all IPv6 interfaces. If you want to specify non-default ports or anything more complex, customize the address and port fields of the @samp{inet-listener} of the specific services you are interested in."
  38194. msgstr ""
  38195. #. type: deftypevr
  38196. #: guix-git/doc/guix.texi:25046
  38197. #, no-wrap
  38198. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  38199. msgstr ""
  38200. #. type: deftypevr
  38201. #: guix-git/doc/guix.texi:25049
  38202. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  38203. msgstr ""
  38204. #. type: deftypevr
  38205. #: guix-git/doc/guix.texi:25051
  38206. msgid "Available @code{protocol-configuration} fields are:"
  38207. msgstr ""
  38208. #. type: deftypevr
  38209. #: guix-git/doc/guix.texi:25052
  38210. #, no-wrap
  38211. msgid "{@code{protocol-configuration} parameter} string name"
  38212. msgstr ""
  38213. #. type: deftypevr
  38214. #: guix-git/doc/guix.texi:25054
  38215. msgid "The name of the protocol."
  38216. msgstr ""
  38217. #. type: deftypevr
  38218. #: guix-git/doc/guix.texi:25056
  38219. #, no-wrap
  38220. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  38221. msgstr ""
  38222. #. type: deftypevr
  38223. #: guix-git/doc/guix.texi:25060
  38224. msgid "UNIX socket path to the master authentication server to find users. This is used by imap (for shared users) and lda. It defaults to @samp{\"/var/run/dovecot/auth-userdb\"}."
  38225. msgstr ""
  38226. #. type: deftypevr
  38227. #: guix-git/doc/guix.texi:25062
  38228. #, no-wrap
  38229. msgid "{@code{protocol-configuration} parameter} boolean imap-metadata?"
  38230. msgstr ""
  38231. #. type: deftypevr
  38232. #: guix-git/doc/guix.texi:25067
  38233. msgid "Whether to enable the @code{IMAP METADATA} extension as defined in @uref{https://tools.ietf.org/html/rfc5464,RFC@tie{}5464}, which provides a means for clients to set and retrieve per-mailbox, per-user metadata and annotations over IMAP."
  38234. msgstr ""
  38235. #. type: deftypevr
  38236. #: guix-git/doc/guix.texi:25070
  38237. msgid "If this is @samp{#t}, you must also specify a dictionary @i{via} the @code{mail-attribute-dict} setting."
  38238. msgstr ""
  38239. #. type: deftypevr
  38240. #: guix-git/doc/guix.texi:25075
  38241. #, no-wrap
  38242. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-notify-capabilities"
  38243. msgstr ""
  38244. #. type: deftypevr
  38245. #: guix-git/doc/guix.texi:25080
  38246. msgid "Which NOTIFY capabilities to report to clients that first connect to the ManageSieve service, before authentication. These may differ from the capabilities offered to authenticated users. If this field is left empty, report what the Sieve interpreter supports by default."
  38247. msgstr ""
  38248. #. type: deftypevr
  38249. #: guix-git/doc/guix.texi:25084
  38250. #, no-wrap
  38251. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-sieve-capability"
  38252. msgstr ""
  38253. #. type: deftypevr
  38254. #: guix-git/doc/guix.texi:25089
  38255. msgid "Which SIEVE capabilities to report to clients that first connect to the ManageSieve service, before authentication. These may differ from the capabilities offered to authenticated users. If this field is left empty, report what the Sieve interpreter supports by default."
  38256. msgstr ""
  38257. #. type: deftypevr
  38258. #: guix-git/doc/guix.texi:25094
  38259. #, no-wrap
  38260. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  38261. msgstr ""
  38262. #. type: deftypevr
  38263. #: guix-git/doc/guix.texi:25096
  38264. msgid "Space separated list of plugins to load."
  38265. msgstr ""
  38266. #. type: deftypevr
  38267. #: guix-git/doc/guix.texi:25098
  38268. #, no-wrap
  38269. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  38270. msgstr ""
  38271. #. type: deftypevr
  38272. #: guix-git/doc/guix.texi:25102
  38273. msgid "Maximum number of IMAP connections allowed for a user from each IP address. NOTE: The username is compared case-sensitively. Defaults to @samp{10}."
  38274. msgstr ""
  38275. #. type: deftypevr
  38276. #: guix-git/doc/guix.texi:25106
  38277. #, no-wrap
  38278. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  38279. msgstr ""
  38280. #. type: deftypevr
  38281. #: guix-git/doc/guix.texi:25110
  38282. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  38283. msgstr ""
  38284. #. type: deftypevr
  38285. #: guix-git/doc/guix.texi:25112
  38286. msgid "Available @code{service-configuration} fields are:"
  38287. msgstr ""
  38288. #. type: deftypevr
  38289. #: guix-git/doc/guix.texi:25113
  38290. #, no-wrap
  38291. msgid "{@code{service-configuration} parameter} string kind"
  38292. msgstr ""
  38293. #. type: deftypevr
  38294. #: guix-git/doc/guix.texi:25118
  38295. msgid "The service kind. Valid values include @code{director}, @code{imap-login}, @code{pop3-login}, @code{lmtp}, @code{imap}, @code{pop3}, @code{auth}, @code{auth-worker}, @code{dict}, @code{tcpwrap}, @code{quota-warning}, or anything else."
  38296. msgstr ""
  38297. #. type: deftypevr
  38298. #: guix-git/doc/guix.texi:25120
  38299. #, no-wrap
  38300. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  38301. msgstr ""
  38302. #. type: deftypevr
  38303. #: guix-git/doc/guix.texi:25125
  38304. msgid "Listeners for the service. A listener is either a @code{unix-listener-configuration}, a @code{fifo-listener-configuration}, or an @code{inet-listener-configuration}. Defaults to @samp{'()}."
  38305. msgstr ""
  38306. #. type: deftypevr
  38307. #: guix-git/doc/guix.texi:25127
  38308. msgid "Available @code{unix-listener-configuration} fields are:"
  38309. msgstr ""
  38310. #. type: deftypevr
  38311. #: guix-git/doc/guix.texi:25128
  38312. #, no-wrap
  38313. msgid "{@code{unix-listener-configuration} parameter} string path"
  38314. msgstr ""
  38315. #. type: deftypevr
  38316. #: guix-git/doc/guix.texi:25131 guix-git/doc/guix.texi:25154
  38317. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  38318. msgstr ""
  38319. #. type: deftypevr
  38320. #: guix-git/doc/guix.texi:25133
  38321. #, no-wrap
  38322. msgid "{@code{unix-listener-configuration} parameter} string mode"
  38323. msgstr ""
  38324. #. type: deftypevr
  38325. #: guix-git/doc/guix.texi:25136 guix-git/doc/guix.texi:25159
  38326. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  38327. msgstr ""
  38328. #. type: deftypevr
  38329. #: guix-git/doc/guix.texi:25138
  38330. #, no-wrap
  38331. msgid "{@code{unix-listener-configuration} parameter} string user"
  38332. msgstr ""
  38333. #. type: deftypevr
  38334. #: guix-git/doc/guix.texi:25141 guix-git/doc/guix.texi:25164
  38335. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  38336. msgstr ""
  38337. #. type: deftypevr
  38338. #: guix-git/doc/guix.texi:25143
  38339. #, no-wrap
  38340. msgid "{@code{unix-listener-configuration} parameter} string group"
  38341. msgstr ""
  38342. #. type: deftypevr
  38343. #: guix-git/doc/guix.texi:25146 guix-git/doc/guix.texi:25169
  38344. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  38345. msgstr ""
  38346. #. type: deftypevr
  38347. #: guix-git/doc/guix.texi:25150
  38348. msgid "Available @code{fifo-listener-configuration} fields are:"
  38349. msgstr ""
  38350. #. type: deftypevr
  38351. #: guix-git/doc/guix.texi:25151
  38352. #, no-wrap
  38353. msgid "{@code{fifo-listener-configuration} parameter} string path"
  38354. msgstr ""
  38355. #. type: deftypevr
  38356. #: guix-git/doc/guix.texi:25156
  38357. #, no-wrap
  38358. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  38359. msgstr ""
  38360. #. type: deftypevr
  38361. #: guix-git/doc/guix.texi:25161
  38362. #, no-wrap
  38363. msgid "{@code{fifo-listener-configuration} parameter} string user"
  38364. msgstr ""
  38365. #. type: deftypevr
  38366. #: guix-git/doc/guix.texi:25166
  38367. #, no-wrap
  38368. msgid "{@code{fifo-listener-configuration} parameter} string group"
  38369. msgstr ""
  38370. #. type: deftypevr
  38371. #: guix-git/doc/guix.texi:25173
  38372. msgid "Available @code{inet-listener-configuration} fields are:"
  38373. msgstr ""
  38374. #. type: deftypevr
  38375. #: guix-git/doc/guix.texi:25174
  38376. #, no-wrap
  38377. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  38378. msgstr ""
  38379. #. type: deftypevr
  38380. #: guix-git/doc/guix.texi:25176
  38381. msgid "The protocol to listen for."
  38382. msgstr ""
  38383. #. type: deftypevr
  38384. #: guix-git/doc/guix.texi:25178
  38385. #, no-wrap
  38386. msgid "{@code{inet-listener-configuration} parameter} string address"
  38387. msgstr ""
  38388. #. type: deftypevr
  38389. #: guix-git/doc/guix.texi:25181
  38390. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  38391. msgstr ""
  38392. #. type: deftypevr
  38393. #: guix-git/doc/guix.texi:25183
  38394. #, no-wrap
  38395. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  38396. msgstr ""
  38397. #. type: deftypevr
  38398. #: guix-git/doc/guix.texi:25185
  38399. msgid "The port on which to listen."
  38400. msgstr ""
  38401. #. type: deftypevr
  38402. #: guix-git/doc/guix.texi:25187
  38403. #, no-wrap
  38404. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  38405. msgstr ""
  38406. #. type: deftypevr
  38407. #: guix-git/doc/guix.texi:25191
  38408. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  38409. msgstr ""
  38410. #. type: deftypevr
  38411. #: guix-git/doc/guix.texi:25195
  38412. #, no-wrap
  38413. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  38414. msgstr ""
  38415. #. type: deftypevr
  38416. #: guix-git/doc/guix.texi:25200
  38417. msgid "Maximum number of simultaneous client connections per process. Once this number of connections is received, the next incoming connection will prompt Dovecot to spawn another process. If set to 0, @code{default-client-limit} is used instead."
  38418. msgstr ""
  38419. #. type: deftypevr
  38420. #: guix-git/doc/guix.texi:25205
  38421. #, no-wrap
  38422. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  38423. msgstr ""
  38424. #. type: deftypevr
  38425. #: guix-git/doc/guix.texi:25210
  38426. msgid "Number of connections to handle before starting a new process. Typically the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0 is faster. <doc/wiki/LoginProcess.txt>. Defaults to @samp{1}."
  38427. msgstr ""
  38428. #. type: deftypevr
  38429. #: guix-git/doc/guix.texi:25213
  38430. #, no-wrap
  38431. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  38432. msgstr ""
  38433. #. type: deftypevr
  38434. #: guix-git/doc/guix.texi:25216
  38435. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  38436. msgstr ""
  38437. #. type: deftypevr
  38438. #: guix-git/doc/guix.texi:25221
  38439. #, no-wrap
  38440. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  38441. msgstr ""
  38442. #. type: deftypevr
  38443. #: guix-git/doc/guix.texi:25224
  38444. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  38445. msgstr ""
  38446. #. type: deftypevr
  38447. #: guix-git/doc/guix.texi:25226
  38448. #, no-wrap
  38449. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  38450. msgstr ""
  38451. #. type: deftypevr
  38452. #: guix-git/doc/guix.texi:25230
  38453. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  38454. msgstr ""
  38455. #. type: deftypevr
  38456. #: guix-git/doc/guix.texi:25234
  38457. #, no-wrap
  38458. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  38459. msgstr ""
  38460. #. type: deftypevr
  38461. #: guix-git/doc/guix.texi:25237
  38462. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  38463. msgstr ""
  38464. #. type: deftypevr
  38465. #: guix-git/doc/guix.texi:25239
  38466. msgid "Available @code{dict-configuration} fields are:"
  38467. msgstr ""
  38468. #. type: deftypevr
  38469. #: guix-git/doc/guix.texi:25240
  38470. #, no-wrap
  38471. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  38472. msgstr ""
  38473. #. type: deftypevr
  38474. #: guix-git/doc/guix.texi:25243
  38475. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{'()}."
  38476. msgstr ""
  38477. #. type: deftypevr
  38478. #: guix-git/doc/guix.texi:25247
  38479. #, no-wrap
  38480. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  38481. msgstr ""
  38482. #. type: deftypevr
  38483. #: guix-git/doc/guix.texi:25250
  38484. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  38485. msgstr ""
  38486. #. type: deftypevr
  38487. #: guix-git/doc/guix.texi:25252
  38488. msgid "Available @code{passdb-configuration} fields are:"
  38489. msgstr ""
  38490. #. type: deftypevr
  38491. #: guix-git/doc/guix.texi:25253
  38492. #, no-wrap
  38493. msgid "{@code{passdb-configuration} parameter} string driver"
  38494. msgstr ""
  38495. #. type: deftypevr
  38496. #: guix-git/doc/guix.texi:25258
  38497. msgid "The driver that the passdb should use. Valid values include @samp{pam}, @samp{passwd}, @samp{shadow}, @samp{bsdauth}, and @samp{static}. Defaults to @samp{\"pam\"}."
  38498. msgstr ""
  38499. #. type: deftypevr
  38500. #: guix-git/doc/guix.texi:25260
  38501. #, no-wrap
  38502. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  38503. msgstr ""
  38504. #. type: deftypevr
  38505. #: guix-git/doc/guix.texi:25263
  38506. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  38507. msgstr ""
  38508. #. type: deftypevr
  38509. #: guix-git/doc/guix.texi:25267
  38510. #, no-wrap
  38511. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  38512. msgstr ""
  38513. #. type: deftypevr
  38514. #: guix-git/doc/guix.texi:25270
  38515. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  38516. msgstr ""
  38517. #. type: deftypevr
  38518. #: guix-git/doc/guix.texi:25272
  38519. msgid "Available @code{userdb-configuration} fields are:"
  38520. msgstr ""
  38521. #. type: deftypevr
  38522. #: guix-git/doc/guix.texi:25273
  38523. #, no-wrap
  38524. msgid "{@code{userdb-configuration} parameter} string driver"
  38525. msgstr ""
  38526. #. type: deftypevr
  38527. #: guix-git/doc/guix.texi:25277
  38528. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  38529. msgstr ""
  38530. #. type: deftypevr
  38531. #: guix-git/doc/guix.texi:25279
  38532. #, no-wrap
  38533. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  38534. msgstr ""
  38535. #. type: deftypevr
  38536. #: guix-git/doc/guix.texi:25282
  38537. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  38538. msgstr ""
  38539. #. type: deftypevr
  38540. #: guix-git/doc/guix.texi:25284
  38541. #, no-wrap
  38542. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  38543. msgstr ""
  38544. #. type: deftypevr
  38545. #: guix-git/doc/guix.texi:25287
  38546. msgid "Override fields from passwd. Defaults to @samp{'()}."
  38547. msgstr ""
  38548. #. type: deftypevr
  38549. #: guix-git/doc/guix.texi:25291
  38550. #, no-wrap
  38551. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  38552. msgstr ""
  38553. #. type: deftypevr
  38554. #: guix-git/doc/guix.texi:25294
  38555. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  38556. msgstr ""
  38557. #. type: deftypevr
  38558. #: guix-git/doc/guix.texi:25296
  38559. #, no-wrap
  38560. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  38561. msgstr ""
  38562. #. type: deftypevr
  38563. #: guix-git/doc/guix.texi:25299
  38564. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  38565. msgstr ""
  38566. #. type: deftypevr
  38567. #: guix-git/doc/guix.texi:25301
  38568. msgid "Available @code{namespace-configuration} fields are:"
  38569. msgstr ""
  38570. #. type: deftypevr
  38571. #: guix-git/doc/guix.texi:25302
  38572. #, no-wrap
  38573. msgid "{@code{namespace-configuration} parameter} string name"
  38574. msgstr ""
  38575. #. type: deftypevr
  38576. #: guix-git/doc/guix.texi:25304
  38577. msgid "Name for this namespace."
  38578. msgstr ""
  38579. #. type: deftypevr
  38580. #: guix-git/doc/guix.texi:25306
  38581. #, no-wrap
  38582. msgid "{@code{namespace-configuration} parameter} string type"
  38583. msgstr ""
  38584. #. type: deftypevr
  38585. #: guix-git/doc/guix.texi:25309
  38586. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  38587. msgstr ""
  38588. #. type: deftypevr
  38589. #: guix-git/doc/guix.texi:25311
  38590. #, no-wrap
  38591. msgid "{@code{namespace-configuration} parameter} string separator"
  38592. msgstr ""
  38593. #. type: deftypevr
  38594. #: guix-git/doc/guix.texi:25317
  38595. msgid "Hierarchy separator to use. You should use the same separator for all namespaces or some clients get confused. @samp{/} is usually a good one. The default however depends on the underlying mail storage format. Defaults to @samp{\"\"}."
  38596. msgstr ""
  38597. #. type: deftypevr
  38598. #: guix-git/doc/guix.texi:25319
  38599. #, no-wrap
  38600. msgid "{@code{namespace-configuration} parameter} string prefix"
  38601. msgstr ""
  38602. #. type: deftypevr
  38603. #: guix-git/doc/guix.texi:25323
  38604. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  38605. msgstr ""
  38606. #. type: deftypevr
  38607. #: guix-git/doc/guix.texi:25325
  38608. #, no-wrap
  38609. msgid "{@code{namespace-configuration} parameter} string location"
  38610. msgstr ""
  38611. #. type: deftypevr
  38612. #: guix-git/doc/guix.texi:25329
  38613. msgid "Physical location of the mailbox. This is in the same format as mail_location, which is also the default for it. Defaults to @samp{\"\"}."
  38614. msgstr ""
  38615. #. type: deftypevr
  38616. #: guix-git/doc/guix.texi:25331
  38617. #, no-wrap
  38618. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  38619. msgstr ""
  38620. #. type: deftypevr
  38621. #: guix-git/doc/guix.texi:25335
  38622. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  38623. msgstr ""
  38624. #. type: deftypevr
  38625. #: guix-git/doc/guix.texi:25337
  38626. #, no-wrap
  38627. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  38628. msgstr ""
  38629. #. type: deftypevr
  38630. #: guix-git/doc/guix.texi:25345
  38631. msgid "If namespace is hidden, it's not advertised to clients via NAMESPACE extension. You'll most likely also want to set @samp{list? #f}. This is mostly useful when converting from another server with different namespaces which you want to deprecate but still keep working. For example you can create hidden namespaces with prefixes @samp{~/mail/}, @samp{~%u/mail/} and @samp{mail/}. Defaults to @samp{#f}."
  38632. msgstr ""
  38633. #. type: deftypevr
  38634. #: guix-git/doc/guix.texi:25347
  38635. #, no-wrap
  38636. msgid "{@code{namespace-configuration} parameter} boolean list?"
  38637. msgstr ""
  38638. #. type: deftypevr
  38639. #: guix-git/doc/guix.texi:25353
  38640. msgid "Show the mailboxes under this namespace with the LIST command. This makes the namespace visible for clients that do not support the NAMESPACE extension. The special @code{children} value lists child mailboxes, but hides the namespace prefix. Defaults to @samp{#t}."
  38641. msgstr ""
  38642. #. type: deftypevr
  38643. #: guix-git/doc/guix.texi:25355
  38644. #, no-wrap
  38645. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  38646. msgstr ""
  38647. #. type: deftypevr
  38648. #: guix-git/doc/guix.texi:25360
  38649. msgid "Namespace handles its own subscriptions. If set to @code{#f}, the parent namespace handles them. The empty prefix should always have this as @code{#t}). Defaults to @samp{#t}."
  38650. msgstr ""
  38651. #. type: deftypevr
  38652. #: guix-git/doc/guix.texi:25362
  38653. #, no-wrap
  38654. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  38655. msgstr ""
  38656. #. type: deftypevr
  38657. #: guix-git/doc/guix.texi:25365
  38658. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{'()}."
  38659. msgstr ""
  38660. #. type: deftypevr
  38661. #: guix-git/doc/guix.texi:25367
  38662. msgid "Available @code{mailbox-configuration} fields are:"
  38663. msgstr ""
  38664. #. type: deftypevr
  38665. #: guix-git/doc/guix.texi:25368
  38666. #, no-wrap
  38667. msgid "{@code{mailbox-configuration} parameter} string name"
  38668. msgstr ""
  38669. #. type: deftypevr
  38670. #: guix-git/doc/guix.texi:25370
  38671. msgid "Name for this mailbox."
  38672. msgstr ""
  38673. #. type: deftypevr
  38674. #: guix-git/doc/guix.texi:25372
  38675. #, no-wrap
  38676. msgid "{@code{mailbox-configuration} parameter} string auto"
  38677. msgstr ""
  38678. #. type: deftypevr
  38679. #: guix-git/doc/guix.texi:25376
  38680. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  38681. msgstr ""
  38682. #. type: deftypevr
  38683. #: guix-git/doc/guix.texi:25378
  38684. #, no-wrap
  38685. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  38686. msgstr ""
  38687. #. type: deftypevr
  38688. #: guix-git/doc/guix.texi:25383
  38689. msgid "List of IMAP @code{SPECIAL-USE} attributes as specified by RFC 6154. Valid values are @code{\\All}, @code{\\Archive}, @code{\\Drafts}, @code{\\Flagged}, @code{\\Junk}, @code{\\Sent}, and @code{\\Trash}. Defaults to @samp{'()}."
  38690. msgstr ""
  38691. #. type: deftypevr
  38692. #: guix-git/doc/guix.texi:25389
  38693. #, no-wrap
  38694. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  38695. msgstr ""
  38696. #. type: deftypevr
  38697. #: guix-git/doc/guix.texi:25392
  38698. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  38699. msgstr ""
  38700. #. type: deftypevr
  38701. #: guix-git/doc/guix.texi:25394
  38702. #, no-wrap
  38703. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  38704. msgstr ""
  38705. #. type: deftypevr
  38706. #: guix-git/doc/guix.texi:25397
  38707. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  38708. msgstr ""
  38709. #. type: deftypevr
  38710. #: guix-git/doc/guix.texi:25399
  38711. #, no-wrap
  38712. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  38713. msgstr ""
  38714. #. type: deftypevr
  38715. #: guix-git/doc/guix.texi:25406
  38716. msgid "List of trusted network ranges. Connections from these IPs are allowed to override their IP addresses and ports (for logging and for authentication checks). @samp{disable-plaintext-auth} is also ignored for these networks. Typically you would specify your IMAP proxy servers here. Defaults to @samp{'()}."
  38717. msgstr ""
  38718. #. type: deftypevr
  38719. #: guix-git/doc/guix.texi:25408
  38720. #, no-wrap
  38721. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  38722. msgstr ""
  38723. #. type: deftypevr
  38724. #: guix-git/doc/guix.texi:25411
  38725. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{'()}."
  38726. msgstr ""
  38727. #. type: deftypevr
  38728. #: guix-git/doc/guix.texi:25413
  38729. #, no-wrap
  38730. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  38731. msgstr ""
  38732. #. type: deftypevr
  38733. #: guix-git/doc/guix.texi:25419
  38734. msgid "Show more verbose process titles (in ps). Currently shows user name and IP address. Useful for seeing who is actually using the IMAP processes (e.g.@: shared mailboxes or if the same uid is used for multiple accounts). Defaults to @samp{#f}."
  38735. msgstr ""
  38736. #. type: deftypevr
  38737. #: guix-git/doc/guix.texi:25421
  38738. #, no-wrap
  38739. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  38740. msgstr ""
  38741. #. type: deftypevr
  38742. #: guix-git/doc/guix.texi:25427
  38743. msgid "Should all processes be killed when Dovecot master process shuts down. Setting this to @code{#f} means that Dovecot can be upgraded without forcing existing client connections to close (although that could also be a problem if the upgrade is e.g.@: due to a security fix). Defaults to @samp{#t}."
  38744. msgstr ""
  38745. #. type: deftypevr
  38746. #: guix-git/doc/guix.texi:25429
  38747. #, no-wrap
  38748. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  38749. msgstr ""
  38750. #. type: deftypevr
  38751. #: guix-git/doc/guix.texi:25433
  38752. msgid "If non-zero, run mail commands via this many connections to doveadm server, instead of running them directly in the same process. Defaults to @samp{0}."
  38753. msgstr ""
  38754. #. type: deftypevr
  38755. #: guix-git/doc/guix.texi:25435
  38756. #, no-wrap
  38757. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  38758. msgstr ""
  38759. #. type: deftypevr
  38760. #: guix-git/doc/guix.texi:25438
  38761. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  38762. msgstr ""
  38763. #. type: deftypevr
  38764. #: guix-git/doc/guix.texi:25440
  38765. #, no-wrap
  38766. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  38767. msgstr ""
  38768. #. type: deftypevr
  38769. #: guix-git/doc/guix.texi:25444
  38770. msgid "List of environment variables that are preserved on Dovecot startup and passed down to all of its child processes. You can also give key=value pairs to always set specific settings."
  38771. msgstr ""
  38772. #. type: deftypevr
  38773. #: guix-git/doc/guix.texi:25446
  38774. #, no-wrap
  38775. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  38776. msgstr ""
  38777. #. type: deftypevr
  38778. #: guix-git/doc/guix.texi:25453
  38779. msgid "Disable LOGIN command and all other plaintext authentications unless SSL/TLS is used (LOGINDISABLED capability). Note that if the remote IP matches the local IP (i.e.@: you're connecting from the same computer), the connection is considered secure and plaintext authentication is allowed. See also ssl=required setting. Defaults to @samp{#t}."
  38780. msgstr ""
  38781. #. type: deftypevr
  38782. #: guix-git/doc/guix.texi:25455
  38783. #, no-wrap
  38784. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  38785. msgstr ""
  38786. #. type: deftypevr
  38787. #: guix-git/doc/guix.texi:25460
  38788. msgid "Authentication cache size (e.g.@: @samp{#e10e6}). 0 means it's disabled. Note that bsdauth, PAM and vpopmail require @samp{cache-key} to be set for caching to be used. Defaults to @samp{0}."
  38789. msgstr ""
  38790. #. type: deftypevr
  38791. #: guix-git/doc/guix.texi:25462
  38792. #, no-wrap
  38793. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  38794. msgstr ""
  38795. #. type: deftypevr
  38796. #: guix-git/doc/guix.texi:25470
  38797. msgid "Time to live for cached data. After TTL expires the cached record is no longer used, *except* if the main database lookup returns internal failure. We also try to handle password changes automatically: If user's previous authentication was successful, but this one wasn't, the cache isn't used. For now this works only with plaintext authentication. Defaults to @samp{\"1 hour\"}."
  38798. msgstr ""
  38799. #. type: deftypevr
  38800. #: guix-git/doc/guix.texi:25472
  38801. #, no-wrap
  38802. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  38803. msgstr ""
  38804. #. type: deftypevr
  38805. #: guix-git/doc/guix.texi:25476
  38806. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  38807. msgstr ""
  38808. #. type: deftypevr
  38809. #: guix-git/doc/guix.texi:25478
  38810. #, no-wrap
  38811. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  38812. msgstr ""
  38813. #. type: deftypevr
  38814. #: guix-git/doc/guix.texi:25484
  38815. msgid "List of realms for SASL authentication mechanisms that need them. You can leave it empty if you don't want to support multiple realms. Many clients simply use the first one listed here, so keep the default realm first. Defaults to @samp{'()}."
  38816. msgstr ""
  38817. #. type: deftypevr
  38818. #: guix-git/doc/guix.texi:25486
  38819. #, no-wrap
  38820. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  38821. msgstr ""
  38822. #. type: deftypevr
  38823. #: guix-git/doc/guix.texi:25491
  38824. msgid "Default realm/domain to use if none was specified. This is used for both SASL realms and appending @@domain to username in plaintext logins. Defaults to @samp{\"\"}."
  38825. msgstr ""
  38826. #. type: deftypevr
  38827. #: guix-git/doc/guix.texi:25493
  38828. #, no-wrap
  38829. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  38830. msgstr ""
  38831. #. type: deftypevr
  38832. #: guix-git/doc/guix.texi:25500
  38833. msgid "List of allowed characters in username. If the user-given username contains a character not listed in here, the login automatically fails. This is just an extra check to make sure user can't exploit any potential quote escaping vulnerabilities with SQL/LDAP databases. If you want to allow all characters, set this value to empty. Defaults to @samp{\"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@@\"}."
  38834. msgstr ""
  38835. #. type: deftypevr
  38836. #: guix-git/doc/guix.texi:25502
  38837. #, no-wrap
  38838. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  38839. msgstr ""
  38840. #. type: deftypevr
  38841. #: guix-git/doc/guix.texi:25508
  38842. msgid "Username character translations before it's looked up from databases. The value contains series of from -> to characters. For example @samp{#@@/@@} means that @samp{#} and @samp{/} characters are translated to @samp{@@}. Defaults to @samp{\"\"}."
  38843. msgstr ""
  38844. #. type: deftypevr
  38845. #: guix-git/doc/guix.texi:25510
  38846. #, no-wrap
  38847. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  38848. msgstr ""
  38849. #. type: deftypevr
  38850. #: guix-git/doc/guix.texi:25517
  38851. msgid "Username formatting before it's looked up from databases. You can use the standard variables here, e.g.@: %Lu would lowercase the username, %n would drop away the domain if it was given, or @samp{%n-AT-%d} would change the @samp{@@} into @samp{-AT-}. This translation is done after @samp{auth-username-translation} changes. Defaults to @samp{\"%Lu\"}."
  38852. msgstr ""
  38853. #. type: deftypevr
  38854. #: guix-git/doc/guix.texi:25519
  38855. #, no-wrap
  38856. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  38857. msgstr ""
  38858. #. type: deftypevr
  38859. #: guix-git/doc/guix.texi:25527
  38860. msgid "If you want to allow master users to log in by specifying the master username within the normal username string (i.e.@: not using SASL mechanism's support for it), you can specify the separator character here. The format is then <username><separator><master username>. UW-IMAP uses @samp{*} as the separator, so that could be a good choice. Defaults to @samp{\"\"}."
  38861. msgstr ""
  38862. #. type: deftypevr
  38863. #: guix-git/doc/guix.texi:25529
  38864. #, no-wrap
  38865. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  38866. msgstr ""
  38867. #. type: deftypevr
  38868. #: guix-git/doc/guix.texi:25533
  38869. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  38870. msgstr ""
  38871. #. type: deftypevr
  38872. #: guix-git/doc/guix.texi:25535
  38873. #, no-wrap
  38874. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  38875. msgstr ""
  38876. #. type: deftypevr
  38877. #: guix-git/doc/guix.texi:25540
  38878. msgid "Maximum number of dovecot-auth worker processes. They're used to execute blocking passdb and userdb queries (e.g.@: MySQL and PAM). They're automatically created and destroyed as needed. Defaults to @samp{30}."
  38879. msgstr ""
  38880. #. type: deftypevr
  38881. #: guix-git/doc/guix.texi:25542
  38882. #, no-wrap
  38883. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  38884. msgstr ""
  38885. #. type: deftypevr
  38886. #: guix-git/doc/guix.texi:25547
  38887. msgid "Host name to use in GSSAPI principal names. The default is to use the name returned by gethostname(). Use @samp{$ALL} (with quotes) to allow all keytab entries. Defaults to @samp{\"\"}."
  38888. msgstr ""
  38889. #. type: deftypevr
  38890. #: guix-git/doc/guix.texi:25549
  38891. #, no-wrap
  38892. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  38893. msgstr ""
  38894. #. type: deftypevr
  38895. #: guix-git/doc/guix.texi:25555
  38896. msgid "Kerberos keytab to use for the GSSAPI mechanism. Will use the system default (usually @file{/etc/krb5.keytab}) if not specified. You may need to change the auth service to run as root to be able to read this file. Defaults to @samp{\"\"}."
  38897. msgstr ""
  38898. #. type: deftypevr
  38899. #: guix-git/doc/guix.texi:25557
  38900. #, no-wrap
  38901. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  38902. msgstr ""
  38903. #. type: deftypevr
  38904. #: guix-git/doc/guix.texi:25562
  38905. msgid "Do NTLM and GSS-SPNEGO authentication using Samba's winbind daemon and @samp{ntlm-auth} helper. <doc/wiki/Authentication/Mechanisms/Winbind.txt>. Defaults to @samp{#f}."
  38906. msgstr ""
  38907. #. type: deftypevr
  38908. #: guix-git/doc/guix.texi:25564
  38909. #, no-wrap
  38910. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  38911. msgstr ""
  38912. #. type: deftypevr
  38913. #: guix-git/doc/guix.texi:25567
  38914. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  38915. msgstr ""
  38916. #. type: deftypevr
  38917. #: guix-git/doc/guix.texi:25569
  38918. #, no-wrap
  38919. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  38920. msgstr ""
  38921. #. type: deftypevr
  38922. #: guix-git/doc/guix.texi:25572
  38923. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  38924. msgstr ""
  38925. #. type: deftypevr
  38926. #: guix-git/doc/guix.texi:25574
  38927. #, no-wrap
  38928. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  38929. msgstr ""
  38930. #. type: deftypevr
  38931. #: guix-git/doc/guix.texi:25578
  38932. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  38933. msgstr ""
  38934. #. type: deftypevr
  38935. #: guix-git/doc/guix.texi:25580
  38936. #, no-wrap
  38937. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  38938. msgstr ""
  38939. #. type: deftypevr
  38940. #: guix-git/doc/guix.texi:25585
  38941. msgid "Take the username from client's SSL certificate, using @code{X509_NAME_get_text_by_NID()} which returns the subject's DN's CommonName. Defaults to @samp{#f}."
  38942. msgstr ""
  38943. #. type: deftypevr
  38944. #: guix-git/doc/guix.texi:25587
  38945. #, no-wrap
  38946. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  38947. msgstr ""
  38948. #. type: deftypevr
  38949. #: guix-git/doc/guix.texi:25593
  38950. msgid "List of wanted authentication mechanisms. Supported mechanisms are: @samp{plain}, @samp{login}, @samp{digest-md5}, @samp{cram-md5}, @samp{ntlm}, @samp{rpa}, @samp{apop}, @samp{anonymous}, @samp{gssapi}, @samp{otp}, @samp{skey}, and @samp{gss-spnego}. NOTE: See also @samp{disable-plaintext-auth} setting."
  38951. msgstr ""
  38952. #. type: deftypevr
  38953. #: guix-git/doc/guix.texi:25595
  38954. #, no-wrap
  38955. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  38956. msgstr ""
  38957. #. type: deftypevr
  38958. #: guix-git/doc/guix.texi:25600
  38959. msgid "List of IPs or hostnames to all director servers, including ourself. Ports can be specified as ip:port. The default port is the same as what director service's @samp{inet-listener} is using. Defaults to @samp{'()}."
  38960. msgstr ""
  38961. #. type: deftypevr
  38962. #: guix-git/doc/guix.texi:25602
  38963. #, no-wrap
  38964. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  38965. msgstr ""
  38966. #. type: deftypevr
  38967. #: guix-git/doc/guix.texi:25606
  38968. msgid "List of IPs or hostnames to all backend mail servers. Ranges are allowed too, like 10.0.0.10-10.0.0.30. Defaults to @samp{'()}."
  38969. msgstr ""
  38970. #. type: deftypevr
  38971. #: guix-git/doc/guix.texi:25608
  38972. #, no-wrap
  38973. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  38974. msgstr ""
  38975. #. type: deftypevr
  38976. #: guix-git/doc/guix.texi:25612
  38977. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  38978. msgstr ""
  38979. #. type: deftypevr
  38980. #: guix-git/doc/guix.texi:25614
  38981. #, no-wrap
  38982. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  38983. msgstr ""
  38984. #. type: deftypevr
  38985. #: guix-git/doc/guix.texi:25619
  38986. msgid "How the username is translated before being hashed. Useful values include %Ln if user can log in with or without @@domain, %Ld if mailboxes are shared within domain. Defaults to @samp{\"%Lu\"}."
  38987. msgstr ""
  38988. #. type: deftypevr
  38989. #: guix-git/doc/guix.texi:25621
  38990. #, no-wrap
  38991. msgid "{@code{dovecot-configuration} parameter} string log-path"
  38992. msgstr ""
  38993. #. type: deftypevr
  38994. #: guix-git/doc/guix.texi:25625
  38995. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  38996. msgstr ""
  38997. #. type: deftypevr
  38998. #: guix-git/doc/guix.texi:25627
  38999. #, no-wrap
  39000. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  39001. msgstr ""
  39002. #. type: deftypevr
  39003. #: guix-git/doc/guix.texi:25631
  39004. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  39005. msgstr ""
  39006. #. type: deftypevr
  39007. #: guix-git/doc/guix.texi:25633
  39008. #, no-wrap
  39009. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  39010. msgstr ""
  39011. #. type: deftypevr
  39012. #: guix-git/doc/guix.texi:25637
  39013. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  39014. msgstr ""
  39015. #. type: deftypevr
  39016. #: guix-git/doc/guix.texi:25639
  39017. #, no-wrap
  39018. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  39019. msgstr ""
  39020. #. type: deftypevr
  39021. #: guix-git/doc/guix.texi:25644
  39022. msgid "Syslog facility to use if you're logging to syslog. Usually if you don't want to use @samp{mail}, you'll use local0..local7. Also other standard facilities are supported. Defaults to @samp{\"mail\"}."
  39023. msgstr ""
  39024. #. type: deftypevr
  39025. #: guix-git/doc/guix.texi:25646
  39026. #, no-wrap
  39027. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  39028. msgstr ""
  39029. #. type: deftypevr
  39030. #: guix-git/doc/guix.texi:25650
  39031. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  39032. msgstr ""
  39033. #. type: deftypevr
  39034. #: guix-git/doc/guix.texi:25652
  39035. #, no-wrap
  39036. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  39037. msgstr ""
  39038. #. type: deftypevr
  39039. #: guix-git/doc/guix.texi:25659
  39040. msgid "In case of password mismatches, log the attempted password. Valid values are no, plain and sha1. sha1 can be useful for detecting brute force password attempts vs. user simply trying the same password over and over again. You can also truncate the value to n chars by appending \":n\" (e.g.@: sha1:6). Defaults to @samp{\"no\"}."
  39041. msgstr ""
  39042. #. type: deftypevr
  39043. #: guix-git/doc/guix.texi:25661
  39044. #, no-wrap
  39045. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  39046. msgstr ""
  39047. #. type: deftypevr
  39048. #: guix-git/doc/guix.texi:25665
  39049. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  39050. msgstr ""
  39051. #. type: deftypevr
  39052. #: guix-git/doc/guix.texi:25667
  39053. #, no-wrap
  39054. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  39055. msgstr ""
  39056. #. type: deftypevr
  39057. #: guix-git/doc/guix.texi:25672
  39058. msgid "In case of password mismatches, log the passwords and used scheme so the problem can be debugged. Enabling this also enables @samp{auth-debug}. Defaults to @samp{#f}."
  39059. msgstr ""
  39060. #. type: deftypevr
  39061. #: guix-git/doc/guix.texi:25674
  39062. #, no-wrap
  39063. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  39064. msgstr ""
  39065. #. type: deftypevr
  39066. #: guix-git/doc/guix.texi:25678
  39067. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  39068. msgstr ""
  39069. #. type: deftypevr
  39070. #: guix-git/doc/guix.texi:25680
  39071. #, no-wrap
  39072. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  39073. msgstr ""
  39074. #. type: deftypevr
  39075. #: guix-git/doc/guix.texi:25683
  39076. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  39077. msgstr ""
  39078. #. type: deftypevr
  39079. #: guix-git/doc/guix.texi:25685
  39080. #, no-wrap
  39081. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  39082. msgstr ""
  39083. #. type: deftypevr
  39084. #: guix-git/doc/guix.texi:25689
  39085. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  39086. msgstr ""
  39087. #. type: deftypevr
  39088. #: guix-git/doc/guix.texi:25691
  39089. #, no-wrap
  39090. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  39091. msgstr ""
  39092. #. type: deftypevr
  39093. #: guix-git/doc/guix.texi:25695
  39094. msgid "List of elements we want to log. The elements which have a non-empty variable value are joined together to form a comma-separated string."
  39095. msgstr ""
  39096. #. type: deftypevr
  39097. #: guix-git/doc/guix.texi:25697
  39098. #, no-wrap
  39099. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  39100. msgstr ""
  39101. #. type: deftypevr
  39102. #: guix-git/doc/guix.texi:25701
  39103. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  39104. msgstr ""
  39105. #. type: deftypevr
  39106. #: guix-git/doc/guix.texi:25703
  39107. #, no-wrap
  39108. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  39109. msgstr ""
  39110. #. type: deftypevr
  39111. #: guix-git/doc/guix.texi:25707
  39112. msgid "Log prefix for mail processes. See doc/wiki/Variables.txt for list of possible variables you can use. Defaults to @samp{\"\\\"%s(%u)<%@{pid@}><%@{session@}>: \\\"\"}."
  39113. msgstr ""
  39114. #. type: deftypevr
  39115. #: guix-git/doc/guix.texi:25709
  39116. #, no-wrap
  39117. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  39118. msgstr ""
  39119. #. type: deftypevr
  39120. #: guix-git/doc/guix.texi:25711
  39121. msgid "Format to use for logging mail deliveries. You can use variables:"
  39122. msgstr ""
  39123. #. type: item
  39124. #: guix-git/doc/guix.texi:25712
  39125. #, no-wrap
  39126. msgid "%$"
  39127. msgstr ""
  39128. #. type: table
  39129. #: guix-git/doc/guix.texi:25714
  39130. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  39131. msgstr ""
  39132. #. type: item
  39133. #: guix-git/doc/guix.texi:25714
  39134. #, no-wrap
  39135. msgid "%m"
  39136. msgstr ""
  39137. #. type: table
  39138. #: guix-git/doc/guix.texi:25716
  39139. msgid "Message-ID"
  39140. msgstr "Mensagem-ID"
  39141. #. type: item
  39142. #: guix-git/doc/guix.texi:25716 guix-git/doc/guix.texi:26259
  39143. #, no-wrap
  39144. msgid "%s"
  39145. msgstr ""
  39146. #. type: table
  39147. #: guix-git/doc/guix.texi:25718
  39148. msgid "Subject"
  39149. msgstr "Assunto"
  39150. #. type: item
  39151. #: guix-git/doc/guix.texi:25718
  39152. #, no-wrap
  39153. msgid "%f"
  39154. msgstr ""
  39155. #. type: table
  39156. #: guix-git/doc/guix.texi:25720
  39157. msgid "From address"
  39158. msgstr ""
  39159. #. type: item
  39160. #: guix-git/doc/guix.texi:25720
  39161. #, no-wrap
  39162. msgid "%p"
  39163. msgstr ""
  39164. #. type: table
  39165. #: guix-git/doc/guix.texi:25722
  39166. msgid "Physical size"
  39167. msgstr ""
  39168. #. type: item
  39169. #: guix-git/doc/guix.texi:25722
  39170. #, no-wrap
  39171. msgid "%w"
  39172. msgstr ""
  39173. #. type: table
  39174. #: guix-git/doc/guix.texi:25724
  39175. msgid "Virtual size."
  39176. msgstr ""
  39177. #. type: deftypevr
  39178. #: guix-git/doc/guix.texi:25726
  39179. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  39180. msgstr ""
  39181. #. type: deftypevr
  39182. #: guix-git/doc/guix.texi:25728
  39183. #, no-wrap
  39184. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  39185. msgstr ""
  39186. #. type: deftypevr
  39187. #: guix-git/doc/guix.texi:25733
  39188. msgid "Location for users' mailboxes. The default is empty, which means that Dovecot tries to find the mailboxes automatically. This won't work if the user doesn't yet have any mail, so you should explicitly tell Dovecot the full location."
  39189. msgstr ""
  39190. #. type: deftypevr
  39191. #: guix-git/doc/guix.texi:25739
  39192. msgid "If you're using mbox, giving a path to the INBOX file (e.g.@: @file{/var/mail/%u}) isn't enough. You'll also need to tell Dovecot where the other mailboxes are kept. This is called the @emph{root mail directory}, and it must be the first path given in the @samp{mail-location} setting."
  39193. msgstr ""
  39194. #. type: deftypevr
  39195. #: guix-git/doc/guix.texi:25741
  39196. msgid "There are a few special variables you can use, e.g.:"
  39197. msgstr ""
  39198. #. type: item
  39199. #: guix-git/doc/guix.texi:25743
  39200. #, no-wrap
  39201. msgid "%u"
  39202. msgstr ""
  39203. #. type: table
  39204. #: guix-git/doc/guix.texi:25745
  39205. msgid "username"
  39206. msgstr "nome de usuário"
  39207. #. type: item
  39208. #: guix-git/doc/guix.texi:25745 guix-git/doc/guix.texi:26255
  39209. #, no-wrap
  39210. msgid "%n"
  39211. msgstr ""
  39212. #. type: table
  39213. #: guix-git/doc/guix.texi:25747
  39214. msgid "user part in user@@domain, same as %u if there's no domain"
  39215. msgstr ""
  39216. #. type: item
  39217. #: guix-git/doc/guix.texi:25747
  39218. #, no-wrap
  39219. msgid "%d"
  39220. msgstr "%d"
  39221. #. type: table
  39222. #: guix-git/doc/guix.texi:25749
  39223. msgid "domain part in user@@domain, empty if there's no domain"
  39224. msgstr ""
  39225. #. type: item
  39226. #: guix-git/doc/guix.texi:25749
  39227. #, no-wrap
  39228. msgid "%h"
  39229. msgstr ""
  39230. #. type: table
  39231. #: guix-git/doc/guix.texi:25751
  39232. msgid "home director"
  39233. msgstr ""
  39234. #. type: deftypevr
  39235. #: guix-git/doc/guix.texi:25754
  39236. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  39237. msgstr ""
  39238. #. type: item
  39239. #: guix-git/doc/guix.texi:25755
  39240. #, no-wrap
  39241. msgid "maildir:~/Maildir"
  39242. msgstr ""
  39243. #. type: item
  39244. #: guix-git/doc/guix.texi:25756
  39245. #, no-wrap
  39246. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  39247. msgstr ""
  39248. #. type: item
  39249. #: guix-git/doc/guix.texi:25757
  39250. #, no-wrap
  39251. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  39252. msgstr ""
  39253. #. type: deftypevr
  39254. #: guix-git/doc/guix.texi:25760 guix-git/doc/guix.texi:25772
  39255. #: guix-git/doc/guix.texi:25800 guix-git/doc/guix.texi:26567
  39256. #: guix-git/doc/guix.texi:26581 guix-git/doc/guix.texi:26588
  39257. #: guix-git/doc/guix.texi:26595 guix-git/doc/guix.texi:26625
  39258. #: guix-git/doc/guix.texi:26723 guix-git/doc/guix.texi:34483
  39259. #: guix-git/doc/guix.texi:34491 guix-git/doc/guix.texi:34499
  39260. #: guix-git/doc/guix.texi:34507 guix-git/doc/guix.texi:34786
  39261. #: guix-git/doc/guix.texi:36164 guix-git/doc/guix.texi:36172
  39262. #: guix-git/doc/guix.texi:36180 guix-git/doc/guix.texi:36288
  39263. #: guix-git/doc/guix.texi:36313 guix-git/doc/guix.texi:36444
  39264. #: guix-git/doc/guix.texi:36452 guix-git/doc/guix.texi:36460
  39265. #: guix-git/doc/guix.texi:36468 guix-git/doc/guix.texi:36476
  39266. #: guix-git/doc/guix.texi:36484 guix-git/doc/guix.texi:36507
  39267. #: guix-git/doc/guix.texi:36515 guix-git/doc/guix.texi:36567
  39268. #: guix-git/doc/guix.texi:36583 guix-git/doc/guix.texi:36591
  39269. #: guix-git/doc/guix.texi:36630 guix-git/doc/guix.texi:36653
  39270. #: guix-git/doc/guix.texi:36675 guix-git/doc/guix.texi:36682
  39271. #: guix-git/doc/guix.texi:36717 guix-git/doc/guix.texi:36725
  39272. #: guix-git/doc/guix.texi:36749 guix-git/doc/guix.texi:36781
  39273. #: guix-git/doc/guix.texi:36810 guix-git/doc/guix.texi:36817
  39274. #: guix-git/doc/guix.texi:36824 guix-git/doc/guix.texi:36832
  39275. #: guix-git/doc/guix.texi:36846 guix-git/doc/guix.texi:36855
  39276. #: guix-git/doc/guix.texi:36865 guix-git/doc/guix.texi:36872
  39277. #: guix-git/doc/guix.texi:36879 guix-git/doc/guix.texi:36886
  39278. #: guix-git/doc/guix.texi:36957 guix-git/doc/guix.texi:36964
  39279. #: guix-git/doc/guix.texi:36971 guix-git/doc/guix.texi:36980
  39280. #: guix-git/doc/guix.texi:36996 guix-git/doc/guix.texi:37003
  39281. #: guix-git/doc/guix.texi:37010 guix-git/doc/guix.texi:37017
  39282. #: guix-git/doc/guix.texi:37025 guix-git/doc/guix.texi:37033
  39283. msgid "Defaults to @samp{\"\"}."
  39284. msgstr ""
  39285. #. type: deftypevr
  39286. #: guix-git/doc/guix.texi:25762
  39287. #, no-wrap
  39288. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  39289. msgstr ""
  39290. #. type: deftypevr
  39291. #: guix-git/doc/guix.texi:25767
  39292. msgid "System user and group used to access mails. If you use multiple, userdb can override these by returning uid or gid fields. You can use either numbers or names. <doc/wiki/UserIds.txt>. Defaults to @samp{\"\"}."
  39293. msgstr ""
  39294. #. type: deftypevr
  39295. #: guix-git/doc/guix.texi:25769
  39296. #, no-wrap
  39297. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  39298. msgstr ""
  39299. #. type: deftypevr
  39300. #: guix-git/doc/guix.texi:25774
  39301. #, no-wrap
  39302. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  39303. msgstr ""
  39304. #. type: deftypevr
  39305. #: guix-git/doc/guix.texi:25780
  39306. msgid "Group to enable temporarily for privileged operations. Currently this is used only with INBOX when either its initial creation or dotlocking fails. Typically this is set to @samp{\"mail\"} to give access to @file{/var/mail}. Defaults to @samp{\"\"}."
  39307. msgstr ""
  39308. #. type: deftypevr
  39309. #: guix-git/doc/guix.texi:25782
  39310. #, no-wrap
  39311. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  39312. msgstr ""
  39313. #. type: deftypevr
  39314. #: guix-git/doc/guix.texi:25790
  39315. msgid "Grant access to these supplementary groups for mail processes. Typically these are used to set up access to shared mailboxes. Note that it may be dangerous to set these if users can create symlinks (e.g.@: if @samp{mail} group is set here, @code{ln -s /var/mail ~/mail/var} could allow a user to delete others' mailboxes, or @code{ln -s /secret/shared/box ~/mail/mybox} would allow reading it). Defaults to @samp{\"\"}."
  39316. msgstr ""
  39317. #. type: deftypevr
  39318. #: guix-git/doc/guix.texi:25792
  39319. #, no-wrap
  39320. msgid "{@code{dovecot-configuration} parameter} string mail-attribute-dict"
  39321. msgstr ""
  39322. #. type: deftypevr
  39323. #: guix-git/doc/guix.texi:25795
  39324. msgid "The location of a dictionary used to store @code{IMAP METADATA} as defined by @uref{https://tools.ietf.org/html/rfc5464, RFC@tie{}5464}."
  39325. msgstr ""
  39326. #. type: deftypevr
  39327. #: guix-git/doc/guix.texi:25798
  39328. msgid "The IMAP METADATA commands are available only if the ``imap'' protocol configuration's @code{imap-metadata?} field is @samp{#t}."
  39329. msgstr ""
  39330. #. type: deftypevr
  39331. #: guix-git/doc/guix.texi:25803
  39332. #, no-wrap
  39333. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  39334. msgstr ""
  39335. #. type: deftypevr
  39336. #: guix-git/doc/guix.texi:25809
  39337. msgid "Allow full file system access to clients. There's no access checks other than what the operating system does for the active UID/GID@. It works with both maildir and mboxes, allowing you to prefix mailboxes names with e.g.@: @file{/path/} or @file{~user/}. Defaults to @samp{#f}."
  39338. msgstr ""
  39339. #. type: deftypevr
  39340. #: guix-git/doc/guix.texi:25811
  39341. #, no-wrap
  39342. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  39343. msgstr ""
  39344. #. type: deftypevr
  39345. #: guix-git/doc/guix.texi:25815
  39346. msgid "Don't use @code{mmap()} at all. This is required if you store indexes to shared file systems (NFS or clustered file system). Defaults to @samp{#f}."
  39347. msgstr ""
  39348. #. type: deftypevr
  39349. #: guix-git/doc/guix.texi:25817
  39350. #, no-wrap
  39351. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  39352. msgstr ""
  39353. #. type: deftypevr
  39354. #: guix-git/doc/guix.texi:25822
  39355. msgid "Rely on @samp{O_EXCL} to work when creating dotlock files. NFS supports @samp{O_EXCL} since version 3, so this should be safe to use nowadays by default. Defaults to @samp{#t}."
  39356. msgstr ""
  39357. #. type: deftypevr
  39358. #: guix-git/doc/guix.texi:25824
  39359. #, no-wrap
  39360. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  39361. msgstr ""
  39362. #. type: deftypevr
  39363. #: guix-git/doc/guix.texi:25826
  39364. msgid "When to use fsync() or fdatasync() calls:"
  39365. msgstr ""
  39366. #. type: item
  39367. #: guix-git/doc/guix.texi:25827
  39368. #, no-wrap
  39369. msgid "optimized"
  39370. msgstr ""
  39371. #. type: table
  39372. #: guix-git/doc/guix.texi:25829
  39373. msgid "Whenever necessary to avoid losing important data"
  39374. msgstr ""
  39375. #. type: table
  39376. #: guix-git/doc/guix.texi:25831
  39377. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  39378. msgstr ""
  39379. #. type: table
  39380. #: guix-git/doc/guix.texi:25833
  39381. msgid "Never use it (best performance, but crashes can lose data)."
  39382. msgstr ""
  39383. #. type: deftypevr
  39384. #: guix-git/doc/guix.texi:25835
  39385. msgid "Defaults to @samp{\"optimized\"}."
  39386. msgstr ""
  39387. #. type: deftypevr
  39388. #: guix-git/doc/guix.texi:25837
  39389. #, no-wrap
  39390. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  39391. msgstr ""
  39392. #. type: deftypevr
  39393. #: guix-git/doc/guix.texi:25842
  39394. msgid "Mail storage exists in NFS@. Set this to yes to make Dovecot flush NFS caches whenever needed. If you're using only a single mail server this isn't needed. Defaults to @samp{#f}."
  39395. msgstr ""
  39396. #. type: deftypevr
  39397. #: guix-git/doc/guix.texi:25844
  39398. #, no-wrap
  39399. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  39400. msgstr ""
  39401. #. type: deftypevr
  39402. #: guix-git/doc/guix.texi:25848
  39403. msgid "Mail index files also exist in NFS@. Setting this to yes requires @samp{mmap-disable? #t} and @samp{fsync-disable? #f}. Defaults to @samp{#f}."
  39404. msgstr ""
  39405. #. type: deftypevr
  39406. #: guix-git/doc/guix.texi:25850
  39407. #, no-wrap
  39408. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  39409. msgstr ""
  39410. #. type: deftypevr
  39411. #: guix-git/doc/guix.texi:25856
  39412. msgid "Locking method for index files. Alternatives are fcntl, flock and dotlock. Dotlocking uses some tricks which may create more disk I/O than other locking methods. NFS users: flock doesn't work, remember to change @samp{mmap-disable}. Defaults to @samp{\"fcntl\"}."
  39413. msgstr ""
  39414. #. type: deftypevr
  39415. #: guix-git/doc/guix.texi:25858
  39416. #, no-wrap
  39417. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  39418. msgstr ""
  39419. #. type: deftypevr
  39420. #: guix-git/doc/guix.texi:25862
  39421. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  39422. msgstr ""
  39423. #. type: deftypevr
  39424. #: guix-git/doc/guix.texi:25864
  39425. #, no-wrap
  39426. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  39427. msgstr ""
  39428. #. type: deftypevr
  39429. #: guix-git/doc/guix.texi:25870
  39430. msgid "Valid UID range for users. This is mostly to make sure that users can't log in as daemons or other system users. Note that denying root logins is hardcoded to dovecot binary and can't be done even if @samp{first-valid-uid} is set to 0. Defaults to @samp{500}."
  39431. msgstr ""
  39432. #. type: deftypevr
  39433. #: guix-git/doc/guix.texi:25872
  39434. #, no-wrap
  39435. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  39436. msgstr ""
  39437. #. type: deftypevr
  39438. #: guix-git/doc/guix.texi:25877
  39439. #, no-wrap
  39440. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  39441. msgstr ""
  39442. #. type: deftypevr
  39443. #: guix-git/doc/guix.texi:25882
  39444. msgid "Valid GID range for users. Users having non-valid GID as primary group ID aren't allowed to log in. If user belongs to supplementary groups with non-valid GIDs, those groups are not set. Defaults to @samp{1}."
  39445. msgstr ""
  39446. #. type: deftypevr
  39447. #: guix-git/doc/guix.texi:25884
  39448. #, no-wrap
  39449. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  39450. msgstr ""
  39451. #. type: deftypevr
  39452. #: guix-git/doc/guix.texi:25889
  39453. #, no-wrap
  39454. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  39455. msgstr ""
  39456. #. type: deftypevr
  39457. #: guix-git/doc/guix.texi:25893
  39458. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  39459. msgstr ""
  39460. #. type: deftypevr
  39461. #: guix-git/doc/guix.texi:25895
  39462. #, no-wrap
  39463. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  39464. msgstr ""
  39465. #. type: deftypevr
  39466. #: guix-git/doc/guix.texi:25905
  39467. msgid "List of directories under which chrooting is allowed for mail processes (i.e.@: @file{/var/mail} will allow chrooting to @file{/var/mail/foo/bar} too). This setting doesn't affect @samp{login-chroot} @samp{mail-chroot} or auth chroot settings. If this setting is empty, @samp{/./} in home dirs are ignored. WARNING: Never add directories here which local users can modify, that may lead to root exploit. Usually this should be done only if you don't allow shell access for users. <doc/wiki/Chrooting.txt>. Defaults to @samp{'()}."
  39468. msgstr ""
  39469. #. type: deftypevr
  39470. #: guix-git/doc/guix.texi:25907
  39471. #, no-wrap
  39472. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  39473. msgstr ""
  39474. #. type: deftypevr
  39475. #: guix-git/doc/guix.texi:25916
  39476. msgid "Default chroot directory for mail processes. This can be overridden for specific users in user database by giving @samp{/./} in user's home directory (e.g.@: @samp{/home/./user} chroots into @file{/home}). Note that usually there is no real need to do chrooting, Dovecot doesn't allow users to access files outside their mail directory anyway. If your home directories are prefixed with the chroot directory, append @samp{/.} to @samp{mail-chroot}. <doc/wiki/Chrooting.txt>. Defaults to @samp{\"\"}."
  39477. msgstr ""
  39478. #. type: deftypevr
  39479. #: guix-git/doc/guix.texi:25918
  39480. #, no-wrap
  39481. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  39482. msgstr ""
  39483. #. type: deftypevr
  39484. #: guix-git/doc/guix.texi:25922
  39485. msgid "UNIX socket path to master authentication server to find users. This is used by imap (for shared users) and lda. Defaults to @samp{\"/var/run/dovecot/auth-userdb\"}."
  39486. msgstr ""
  39487. #. type: deftypevr
  39488. #: guix-git/doc/guix.texi:25924
  39489. #, no-wrap
  39490. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  39491. msgstr ""
  39492. #. type: deftypevr
  39493. #: guix-git/doc/guix.texi:25927
  39494. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  39495. msgstr ""
  39496. #. type: deftypevr
  39497. #: guix-git/doc/guix.texi:25929
  39498. #, no-wrap
  39499. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  39500. msgstr ""
  39501. #. type: deftypevr
  39502. #: guix-git/doc/guix.texi:25933
  39503. msgid "List of plugins to load for all services. Plugins specific to IMAP, LDA, etc.@: are added to this list in their own .conf files. Defaults to @samp{'()}."
  39504. msgstr ""
  39505. #. type: deftypevr
  39506. #: guix-git/doc/guix.texi:25935
  39507. #, no-wrap
  39508. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  39509. msgstr ""
  39510. #. type: deftypevr
  39511. #: guix-git/doc/guix.texi:25940
  39512. msgid "The minimum number of mails in a mailbox before updates are done to cache file. This allows optimizing Dovecot's behavior to do less disk writes at the cost of more disk reads. Defaults to @samp{0}."
  39513. msgstr ""
  39514. #. type: deftypevr
  39515. #: guix-git/doc/guix.texi:25942
  39516. #, no-wrap
  39517. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  39518. msgstr ""
  39519. #. type: deftypevr
  39520. #: guix-git/doc/guix.texi:25949
  39521. msgid "When IDLE command is running, mailbox is checked once in a while to see if there are any new mails or other changes. This setting defines the minimum time to wait between those checks. Dovecot can also use dnotify, inotify and kqueue to find out immediately when changes occur. Defaults to @samp{\"30 secs\"}."
  39522. msgstr ""
  39523. #. type: deftypevr
  39524. #: guix-git/doc/guix.texi:25951
  39525. #, no-wrap
  39526. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  39527. msgstr ""
  39528. #. type: deftypevr
  39529. #: guix-git/doc/guix.texi:25958
  39530. msgid "Save mails with CR+LF instead of plain LF@. This makes sending those mails take less CPU, especially with sendfile() syscall with Linux and FreeBSD@. But it also creates a bit more disk I/O which may just make it slower. Also note that if other software reads the mboxes/maildirs, they may handle the extra CRs wrong and cause problems. Defaults to @samp{#f}."
  39531. msgstr ""
  39532. #. type: deftypevr
  39533. #: guix-git/doc/guix.texi:25960
  39534. #, no-wrap
  39535. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  39536. msgstr ""
  39537. #. type: deftypevr
  39538. #: guix-git/doc/guix.texi:25968
  39539. msgid "By default LIST command returns all entries in maildir beginning with a dot. Enabling this option makes Dovecot return only entries which are directories. This is done by stat()ing each entry, so it causes more disk I/O. (For systems setting struct @samp{dirent->d_type} this check is free and it's done always regardless of this setting). Defaults to @samp{#f}."
  39540. msgstr ""
  39541. #. type: deftypevr
  39542. #: guix-git/doc/guix.texi:25970
  39543. #, no-wrap
  39544. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  39545. msgstr ""
  39546. #. type: deftypevr
  39547. #: guix-git/doc/guix.texi:25975
  39548. msgid "When copying a message, do it with hard links whenever possible. This makes the performance much better, and it's unlikely to have any side effects. Defaults to @samp{#t}."
  39549. msgstr ""
  39550. #. type: deftypevr
  39551. #: guix-git/doc/guix.texi:25977
  39552. #, no-wrap
  39553. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  39554. msgstr ""
  39555. #. type: deftypevr
  39556. #: guix-git/doc/guix.texi:25982
  39557. msgid "Assume Dovecot is the only MUA accessing Maildir: Scan cur/ directory only when its mtime changes unexpectedly or when we can't find the mail otherwise. Defaults to @samp{#f}."
  39558. msgstr ""
  39559. #. type: deftypevr
  39560. #: guix-git/doc/guix.texi:25984
  39561. #, no-wrap
  39562. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  39563. msgstr ""
  39564. #. type: deftypevr
  39565. #: guix-git/doc/guix.texi:25987
  39566. msgid "Which locking methods to use for locking mbox. There are four available:"
  39567. msgstr ""
  39568. #. type: item
  39569. #: guix-git/doc/guix.texi:25989
  39570. #, no-wrap
  39571. msgid "dotlock"
  39572. msgstr ""
  39573. #. type: table
  39574. #: guix-git/doc/guix.texi:25993
  39575. msgid "Create <mailbox>.lock file. This is the oldest and most NFS-safe solution. If you want to use /var/mail/ like directory, the users will need write access to that directory."
  39576. msgstr ""
  39577. #. type: item
  39578. #: guix-git/doc/guix.texi:25993
  39579. #, no-wrap
  39580. msgid "dotlock-try"
  39581. msgstr ""
  39582. #. type: table
  39583. #: guix-git/doc/guix.texi:25996
  39584. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  39585. msgstr ""
  39586. #. type: item
  39587. #: guix-git/doc/guix.texi:25996
  39588. #, no-wrap
  39589. msgid "fcntl"
  39590. msgstr ""
  39591. #. type: table
  39592. #: guix-git/doc/guix.texi:25998
  39593. msgid "Use this if possible. Works with NFS too if lockd is used."
  39594. msgstr ""
  39595. #. type: item
  39596. #: guix-git/doc/guix.texi:25998
  39597. #, no-wrap
  39598. msgid "flock"
  39599. msgstr ""
  39600. #. type: table
  39601. #: guix-git/doc/guix.texi:26000 guix-git/doc/guix.texi:26002
  39602. msgid "May not exist in all systems. Doesn't work with NFS."
  39603. msgstr ""
  39604. #. type: item
  39605. #: guix-git/doc/guix.texi:26000
  39606. #, no-wrap
  39607. msgid "lockf"
  39608. msgstr ""
  39609. #. type: deftypevr
  39610. #: guix-git/doc/guix.texi:26008
  39611. msgid "You can use multiple locking methods; if you do the order they're declared in is important to avoid deadlocks if other MTAs/MUAs are using multiple locking methods as well. Some operating systems don't allow using some of them simultaneously."
  39612. msgstr ""
  39613. #. type: deftypevr
  39614. #: guix-git/doc/guix.texi:26010
  39615. #, no-wrap
  39616. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  39617. msgstr ""
  39618. #. type: deftypevr
  39619. #: guix-git/doc/guix.texi:26014
  39620. #, no-wrap
  39621. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  39622. msgstr ""
  39623. #. type: deftypevr
  39624. #: guix-git/doc/guix.texi:26017
  39625. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  39626. msgstr ""
  39627. #. type: deftypevr
  39628. #: guix-git/doc/guix.texi:26019
  39629. #, no-wrap
  39630. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  39631. msgstr ""
  39632. #. type: deftypevr
  39633. #: guix-git/doc/guix.texi:26023
  39634. msgid "If dotlock exists but the mailbox isn't modified in any way, override the lock file after this much time. Defaults to @samp{\"2 mins\"}."
  39635. msgstr ""
  39636. #. type: deftypevr
  39637. #: guix-git/doc/guix.texi:26025
  39638. #, no-wrap
  39639. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  39640. msgstr ""
  39641. #. type: deftypevr
  39642. #: guix-git/doc/guix.texi:26036
  39643. msgid "When mbox changes unexpectedly we have to fully read it to find out what changed. If the mbox is large this can take a long time. Since the change is usually just a newly appended mail, it'd be faster to simply read the new mails. If this setting is enabled, Dovecot does this but still safely fallbacks to re-reading the whole mbox file whenever something in mbox isn't how it's expected to be. The only real downside to this setting is that if some other MUA changes message flags, Dovecot doesn't notice it immediately. Note that a full sync is done with SELECT, EXAMINE, EXPUNGE and CHECK commands. Defaults to @samp{#t}."
  39644. msgstr ""
  39645. #. type: deftypevr
  39646. #: guix-git/doc/guix.texi:26038
  39647. #, no-wrap
  39648. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  39649. msgstr ""
  39650. #. type: deftypevr
  39651. #: guix-git/doc/guix.texi:26043
  39652. msgid "Like @samp{mbox-dirty-syncs}, but don't do full syncs even with SELECT, EXAMINE, EXPUNGE or CHECK commands. If this is set, @samp{mbox-dirty-syncs} is ignored. Defaults to @samp{#f}."
  39653. msgstr ""
  39654. #. type: deftypevr
  39655. #: guix-git/doc/guix.texi:26045
  39656. #, no-wrap
  39657. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  39658. msgstr ""
  39659. #. type: deftypevr
  39660. #: guix-git/doc/guix.texi:26051
  39661. msgid "Delay writing mbox headers until doing a full write sync (EXPUNGE and CHECK commands and when closing the mailbox). This is especially useful for POP3 where clients often delete all mails. The downside is that our changes aren't immediately visible to other MUAs. Defaults to @samp{#t}."
  39662. msgstr ""
  39663. #. type: deftypevr
  39664. #: guix-git/doc/guix.texi:26053
  39665. #, no-wrap
  39666. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  39667. msgstr ""
  39668. #. type: deftypevr
  39669. #: guix-git/doc/guix.texi:26058
  39670. msgid "If mbox size is smaller than this (e.g.@: 100k), don't write index files. If an index file already exists it's still read, just not updated. Defaults to @samp{0}."
  39671. msgstr ""
  39672. #. type: deftypevr
  39673. #: guix-git/doc/guix.texi:26060
  39674. #, no-wrap
  39675. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  39676. msgstr ""
  39677. #. type: deftypevr
  39678. #: guix-git/doc/guix.texi:26063
  39679. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  39680. msgstr ""
  39681. #. type: deftypevr
  39682. #: guix-git/doc/guix.texi:26065
  39683. #, no-wrap
  39684. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  39685. msgstr ""
  39686. #. type: deftypevr
  39687. #: guix-git/doc/guix.texi:26070
  39688. msgid "Maximum dbox file age until it's rotated. Typically in days. Day begins from midnight, so 1d = today, 2d = yesterday, etc. 0 = check disabled. Defaults to @samp{\"1d\"}."
  39689. msgstr ""
  39690. #. type: deftypevr
  39691. #: guix-git/doc/guix.texi:26072
  39692. #, no-wrap
  39693. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  39694. msgstr ""
  39695. #. type: deftypevr
  39696. #: guix-git/doc/guix.texi:26077
  39697. msgid "When creating new mdbox files, immediately preallocate their size to @samp{mdbox-rotate-size}. This setting currently works only in Linux with some file systems (ext4, xfs). Defaults to @samp{#f}."
  39698. msgstr ""
  39699. #. type: deftypevr
  39700. #: guix-git/doc/guix.texi:26079
  39701. #, no-wrap
  39702. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  39703. msgstr ""
  39704. #. type: deftypevr
  39705. #: guix-git/doc/guix.texi:26083
  39706. msgid "sdbox and mdbox support saving mail attachments to external files, which also allows single instance storage for them. Other backends don't support this for now."
  39707. msgstr ""
  39708. #. type: deftypevr
  39709. #: guix-git/doc/guix.texi:26085
  39710. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  39711. msgstr ""
  39712. #. type: deftypevr
  39713. #: guix-git/doc/guix.texi:26088
  39714. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  39715. msgstr ""
  39716. #. type: deftypevr
  39717. #: guix-git/doc/guix.texi:26090
  39718. #, no-wrap
  39719. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  39720. msgstr ""
  39721. #. type: deftypevr
  39722. #: guix-git/doc/guix.texi:26095
  39723. msgid "Attachments smaller than this aren't saved externally. It's also possible to write a plugin to disable saving specific attachments externally. Defaults to @samp{128000}."
  39724. msgstr ""
  39725. #. type: deftypevr
  39726. #: guix-git/doc/guix.texi:26097
  39727. #, no-wrap
  39728. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  39729. msgstr ""
  39730. #. type: deftypevr
  39731. #: guix-git/doc/guix.texi:26099
  39732. msgid "File system backend to use for saving attachments:"
  39733. msgstr ""
  39734. #. type: item
  39735. #: guix-git/doc/guix.texi:26100
  39736. #, no-wrap
  39737. msgid "posix"
  39738. msgstr ""
  39739. #. type: table
  39740. #: guix-git/doc/guix.texi:26102
  39741. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  39742. msgstr ""
  39743. #. type: item
  39744. #: guix-git/doc/guix.texi:26102
  39745. #, no-wrap
  39746. msgid "sis posix"
  39747. msgstr ""
  39748. #. type: table
  39749. #: guix-git/doc/guix.texi:26104
  39750. msgid "SiS with immediate byte-by-byte comparison during saving"
  39751. msgstr ""
  39752. #. type: item
  39753. #: guix-git/doc/guix.texi:26104
  39754. #, no-wrap
  39755. msgid "sis-queue posix"
  39756. msgstr ""
  39757. #. type: table
  39758. #: guix-git/doc/guix.texi:26106
  39759. msgid "SiS with delayed comparison and deduplication."
  39760. msgstr ""
  39761. #. type: deftypevr
  39762. #: guix-git/doc/guix.texi:26108
  39763. msgid "Defaults to @samp{\"sis posix\"}."
  39764. msgstr ""
  39765. #. type: deftypevr
  39766. #: guix-git/doc/guix.texi:26110
  39767. #, no-wrap
  39768. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  39769. msgstr ""
  39770. #. type: deftypevr
  39771. #: guix-git/doc/guix.texi:26116
  39772. msgid "Hash format to use in attachment filenames. You can add any text and variables: @code{%@{md4@}}, @code{%@{md5@}}, @code{%@{sha1@}}, @code{%@{sha256@}}, @code{%@{sha512@}}, @code{%@{size@}}. Variables can be truncated, e.g.@: @code{%@{sha256:80@}} returns only first 80 bits. Defaults to @samp{\"%@{sha1@}\"}."
  39773. msgstr ""
  39774. #. type: deftypevr
  39775. #: guix-git/doc/guix.texi:26118
  39776. #, no-wrap
  39777. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  39778. msgstr ""
  39779. #. type: deftypevr
  39780. #: guix-git/doc/guix.texi:26123
  39781. #, no-wrap
  39782. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  39783. msgstr ""
  39784. #. type: deftypevr
  39785. #: guix-git/doc/guix.texi:26126 guix-git/doc/guix.texi:34569
  39786. msgid "Defaults to @samp{1000}."
  39787. msgstr ""
  39788. #. type: deftypevr
  39789. #: guix-git/doc/guix.texi:26128
  39790. #, no-wrap
  39791. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  39792. msgstr ""
  39793. #. type: deftypevr
  39794. #: guix-git/doc/guix.texi:26133
  39795. msgid "Default VSZ (virtual memory size) limit for service processes. This is mainly intended to catch and kill processes that leak memory before they eat up everything. Defaults to @samp{256000000}."
  39796. msgstr ""
  39797. #. type: deftypevr
  39798. #: guix-git/doc/guix.texi:26135
  39799. #, no-wrap
  39800. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  39801. msgstr ""
  39802. #. type: deftypevr
  39803. #: guix-git/doc/guix.texi:26140
  39804. msgid "Login user is internally used by login processes. This is the most untrusted user in Dovecot system. It shouldn't have access to anything at all. Defaults to @samp{\"dovenull\"}."
  39805. msgstr ""
  39806. #. type: deftypevr
  39807. #: guix-git/doc/guix.texi:26142
  39808. #, no-wrap
  39809. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  39810. msgstr ""
  39811. #. type: deftypevr
  39812. #: guix-git/doc/guix.texi:26147
  39813. msgid "Internal user is used by unprivileged processes. It should be separate from login user, so that login processes can't disturb other processes. Defaults to @samp{\"dovecot\"}."
  39814. msgstr ""
  39815. #. type: deftypevr
  39816. #: guix-git/doc/guix.texi:26149
  39817. #, no-wrap
  39818. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  39819. msgstr ""
  39820. #. type: deftypevr
  39821. #: guix-git/doc/guix.texi:26152
  39822. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  39823. msgstr ""
  39824. #. type: deftypevr
  39825. #: guix-git/doc/guix.texi:26154
  39826. #, no-wrap
  39827. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  39828. msgstr ""
  39829. #. type: deftypevr
  39830. #: guix-git/doc/guix.texi:26157
  39831. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  39832. msgstr ""
  39833. #. type: deftypevr
  39834. #: guix-git/doc/guix.texi:26159
  39835. #, no-wrap
  39836. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  39837. msgstr ""
  39838. #. type: deftypevr
  39839. #: guix-git/doc/guix.texi:26164
  39840. msgid "PEM encoded SSL/TLS private key. The key is opened before dropping root privileges, so keep the key file unreadable by anyone but root. Defaults to @samp{\"</etc/dovecot/private/default.pem\"}."
  39841. msgstr ""
  39842. #. type: deftypevr
  39843. #: guix-git/doc/guix.texi:26166
  39844. #, no-wrap
  39845. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  39846. msgstr ""
  39847. #. type: deftypevr
  39848. #: guix-git/doc/guix.texi:26172
  39849. msgid "If key file is password protected, give the password here. Alternatively give it when starting dovecot with -p parameter. Since this file is often world-readable, you may want to place this setting instead to a different. Defaults to @samp{\"\"}."
  39850. msgstr ""
  39851. #. type: deftypevr
  39852. #: guix-git/doc/guix.texi:26174
  39853. #, no-wrap
  39854. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  39855. msgstr ""
  39856. #. type: deftypevr
  39857. #: guix-git/doc/guix.texi:26180
  39858. msgid "PEM encoded trusted certificate authority. Set this only if you intend to use @samp{ssl-verify-client-cert? #t}. The file should contain the CA certificate(s) followed by the matching CRL(s). (e.g.@: @samp{ssl-ca </etc/ssl/certs/ca.pem}). Defaults to @samp{\"\"}."
  39859. msgstr ""
  39860. #. type: deftypevr
  39861. #: guix-git/doc/guix.texi:26182
  39862. #, no-wrap
  39863. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  39864. msgstr ""
  39865. #. type: deftypevr
  39866. #: guix-git/doc/guix.texi:26185
  39867. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  39868. msgstr ""
  39869. #. type: deftypevr
  39870. #: guix-git/doc/guix.texi:26187
  39871. #, no-wrap
  39872. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  39873. msgstr ""
  39874. #. type: deftypevr
  39875. #: guix-git/doc/guix.texi:26191
  39876. msgid "Request client to send a certificate. If you also want to require it, set @samp{auth-ssl-require-client-cert? #t} in auth section. Defaults to @samp{#f}."
  39877. msgstr ""
  39878. #. type: deftypevr
  39879. #: guix-git/doc/guix.texi:26193
  39880. #, no-wrap
  39881. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  39882. msgstr ""
  39883. #. type: deftypevr
  39884. #: guix-git/doc/guix.texi:26198
  39885. msgid "Which field from certificate to use for username. commonName and x500UniqueIdentifier are the usual choices. You'll also need to set @samp{auth-ssl-username-from-cert? #t}. Defaults to @samp{\"commonName\"}."
  39886. msgstr ""
  39887. #. type: deftypevr
  39888. #: guix-git/doc/guix.texi:26200
  39889. #, no-wrap
  39890. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  39891. msgstr ""
  39892. #. type: deftypevr
  39893. #: guix-git/doc/guix.texi:26203
  39894. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  39895. msgstr ""
  39896. #. type: deftypevr
  39897. #: guix-git/doc/guix.texi:26205
  39898. #, no-wrap
  39899. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  39900. msgstr ""
  39901. #. type: deftypevr
  39902. #: guix-git/doc/guix.texi:26208
  39903. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  39904. msgstr ""
  39905. #. type: deftypevr
  39906. #: guix-git/doc/guix.texi:26210
  39907. #, no-wrap
  39908. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  39909. msgstr ""
  39910. #. type: deftypevr
  39911. #: guix-git/doc/guix.texi:26213
  39912. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  39913. msgstr ""
  39914. #. type: deftypevr
  39915. #: guix-git/doc/guix.texi:26215
  39916. #, no-wrap
  39917. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  39918. msgstr ""
  39919. #. type: deftypevr
  39920. #: guix-git/doc/guix.texi:26219
  39921. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  39922. msgstr ""
  39923. #. type: deftypevr
  39924. #: guix-git/doc/guix.texi:26221
  39925. #, no-wrap
  39926. msgid "{@code{dovecot-configuration} parameter} string hostname"
  39927. msgstr ""
  39928. #. type: deftypevr
  39929. #: guix-git/doc/guix.texi:26225
  39930. msgid "Hostname to use in various parts of sent mails (e.g.@: in Message-Id) and in LMTP replies. Default is the system's real hostname@@domain. Defaults to @samp{\"\"}."
  39931. msgstr ""
  39932. #. type: deftypevr
  39933. #: guix-git/doc/guix.texi:26227
  39934. #, no-wrap
  39935. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  39936. msgstr ""
  39937. #. type: deftypevr
  39938. #: guix-git/doc/guix.texi:26231
  39939. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  39940. msgstr ""
  39941. #. type: deftypevr
  39942. #: guix-git/doc/guix.texi:26233
  39943. #, no-wrap
  39944. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  39945. msgstr ""
  39946. #. type: deftypevr
  39947. #: guix-git/doc/guix.texi:26236
  39948. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  39949. msgstr ""
  39950. #. type: deftypevr
  39951. #: guix-git/doc/guix.texi:26238
  39952. #, no-wrap
  39953. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  39954. msgstr ""
  39955. #. type: deftypevr
  39956. #: guix-git/doc/guix.texi:26242
  39957. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  39958. msgstr ""
  39959. #. type: deftypevr
  39960. #: guix-git/doc/guix.texi:26244
  39961. #, no-wrap
  39962. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  39963. msgstr ""
  39964. #. type: deftypevr
  39965. #: guix-git/doc/guix.texi:26248
  39966. msgid "Subject: header to use for rejection mails. You can use the same variables as for @samp{rejection-reason} below. Defaults to @samp{\"Rejected: %s\"}."
  39967. msgstr ""
  39968. #. type: deftypevr
  39969. #: guix-git/doc/guix.texi:26250
  39970. #, no-wrap
  39971. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  39972. msgstr ""
  39973. #. type: deftypevr
  39974. #: guix-git/doc/guix.texi:26253
  39975. msgid "Human readable error message for rejection mails. You can use variables:"
  39976. msgstr ""
  39977. #. type: table
  39978. #: guix-git/doc/guix.texi:26257
  39979. msgid "CRLF"
  39980. msgstr ""
  39981. #. type: item
  39982. #: guix-git/doc/guix.texi:26257
  39983. #, no-wrap
  39984. msgid "%r"
  39985. msgstr ""
  39986. #. type: table
  39987. #: guix-git/doc/guix.texi:26259
  39988. msgid "reason"
  39989. msgstr ""
  39990. #. type: table
  39991. #: guix-git/doc/guix.texi:26261
  39992. msgid "original subject"
  39993. msgstr ""
  39994. #. type: item
  39995. #: guix-git/doc/guix.texi:26261
  39996. #, no-wrap
  39997. msgid "%t"
  39998. msgstr ""
  39999. #. type: table
  40000. #: guix-git/doc/guix.texi:26263
  40001. msgid "recipient"
  40002. msgstr "destinatário"
  40003. #. type: deftypevr
  40004. #: guix-git/doc/guix.texi:26265
  40005. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  40006. msgstr ""
  40007. #. type: deftypevr
  40008. #: guix-git/doc/guix.texi:26267
  40009. #, no-wrap
  40010. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  40011. msgstr ""
  40012. #. type: deftypevr
  40013. #: guix-git/doc/guix.texi:26271
  40014. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  40015. msgstr ""
  40016. #. type: deftypevr
  40017. #: guix-git/doc/guix.texi:26273
  40018. #, no-wrap
  40019. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  40020. msgstr ""
  40021. #. type: deftypevr
  40022. #: guix-git/doc/guix.texi:26279
  40023. msgid "Header where the original recipient address (SMTP's RCPT TO: address) is taken from if not available elsewhere. With dovecot-lda -a parameter overrides this. A commonly used header for this is X-Original-To. Defaults to @samp{\"\"}."
  40024. msgstr ""
  40025. #. type: deftypevr
  40026. #: guix-git/doc/guix.texi:26281
  40027. #, no-wrap
  40028. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  40029. msgstr ""
  40030. #. type: deftypevr
  40031. #: guix-git/doc/guix.texi:26285
  40032. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  40033. msgstr ""
  40034. #. type: deftypevr
  40035. #: guix-git/doc/guix.texi:26287
  40036. #, no-wrap
  40037. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  40038. msgstr ""
  40039. #. type: deftypevr
  40040. #: guix-git/doc/guix.texi:26291
  40041. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  40042. msgstr ""
  40043. #. type: deftypevr
  40044. #: guix-git/doc/guix.texi:26293
  40045. #, no-wrap
  40046. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  40047. msgstr ""
  40048. #. type: deftypevr
  40049. #: guix-git/doc/guix.texi:26299
  40050. msgid "Maximum IMAP command line length. Some clients generate very long command lines with huge mailboxes, so you may need to raise this if you get \"Too long argument\" or \"IMAP command line too large\" errors often. Defaults to @samp{64000}."
  40051. msgstr ""
  40052. #. type: deftypevr
  40053. #: guix-git/doc/guix.texi:26301
  40054. #, no-wrap
  40055. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  40056. msgstr ""
  40057. #. type: deftypevr
  40058. #: guix-git/doc/guix.texi:26303
  40059. msgid "IMAP logout format string:"
  40060. msgstr ""
  40061. #. type: item
  40062. #: guix-git/doc/guix.texi:26304
  40063. #, no-wrap
  40064. msgid "%i"
  40065. msgstr ""
  40066. #. type: table
  40067. #: guix-git/doc/guix.texi:26306
  40068. msgid "total number of bytes read from client"
  40069. msgstr ""
  40070. #. type: item
  40071. #: guix-git/doc/guix.texi:26306
  40072. #, no-wrap
  40073. msgid "%o"
  40074. msgstr ""
  40075. #. type: table
  40076. #: guix-git/doc/guix.texi:26308
  40077. msgid "total number of bytes sent to client."
  40078. msgstr ""
  40079. #. type: deftypevr
  40080. #: guix-git/doc/guix.texi:26311
  40081. msgid "See @file{doc/wiki/Variables.txt} for a list of all the variables you can use. Defaults to @samp{\"in=%i out=%o deleted=%@{deleted@} expunged=%@{expunged@} trashed=%@{trashed@} hdr_count=%@{fetch_hdr_count@} hdr_bytes=%@{fetch_hdr_bytes@} body_count=%@{fetch_body_count@} body_bytes=%@{fetch_body_bytes@}\"}."
  40082. msgstr ""
  40083. #. type: deftypevr
  40084. #: guix-git/doc/guix.texi:26313
  40085. #, no-wrap
  40086. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  40087. msgstr ""
  40088. #. type: deftypevr
  40089. #: guix-git/doc/guix.texi:26317
  40090. msgid "Override the IMAP CAPABILITY response. If the value begins with '+', add the given capabilities on top of the defaults (e.g.@: +XFOO XBAR). Defaults to @samp{\"\"}."
  40091. msgstr ""
  40092. #. type: deftypevr
  40093. #: guix-git/doc/guix.texi:26319
  40094. #, no-wrap
  40095. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  40096. msgstr ""
  40097. #. type: deftypevr
  40098. #: guix-git/doc/guix.texi:26323
  40099. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  40100. msgstr ""
  40101. #. type: deftypevr
  40102. #: guix-git/doc/guix.texi:26325
  40103. #, no-wrap
  40104. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  40105. msgstr ""
  40106. #. type: deftypevr
  40107. #: guix-git/doc/guix.texi:26331
  40108. msgid "ID field names and values to send to clients. Using * as the value makes Dovecot use the default value. The following fields have default values currently: name, version, os, os-version, support-url, support-email. Defaults to @samp{\"\"}."
  40109. msgstr ""
  40110. #. type: deftypevr
  40111. #: guix-git/doc/guix.texi:26333
  40112. #, no-wrap
  40113. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  40114. msgstr ""
  40115. #. type: deftypevr
  40116. #: guix-git/doc/guix.texi:26336
  40117. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  40118. msgstr ""
  40119. #. type: deftypevr
  40120. #: guix-git/doc/guix.texi:26338
  40121. #, no-wrap
  40122. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  40123. msgstr ""
  40124. #. type: deftypevr
  40125. #: guix-git/doc/guix.texi:26340
  40126. msgid "Workarounds for various client bugs:"
  40127. msgstr ""
  40128. #. type: item
  40129. #: guix-git/doc/guix.texi:26342
  40130. #, no-wrap
  40131. msgid "delay-newmail"
  40132. msgstr ""
  40133. #. type: table
  40134. #: guix-git/doc/guix.texi:26349
  40135. msgid "Send EXISTS/RECENT new mail notifications only when replying to NOOP and CHECK commands. Some clients ignore them otherwise, for example OSX Mail (<v2.1). Outlook Express breaks more badly though, without this it may show user \"Message no longer in server\" errors. Note that OE6 still breaks even with this workaround if synchronization is set to \"Headers Only\"."
  40136. msgstr ""
  40137. #. type: item
  40138. #: guix-git/doc/guix.texi:26350
  40139. #, no-wrap
  40140. msgid "tb-extra-mailbox-sep"
  40141. msgstr ""
  40142. #. type: table
  40143. #: guix-git/doc/guix.texi:26354
  40144. msgid "Thunderbird gets somehow confused with LAYOUT=fs (mbox and dbox) and adds extra @samp{/} suffixes to mailbox names. This option causes Dovecot to ignore the extra @samp{/} instead of treating it as invalid mailbox name."
  40145. msgstr ""
  40146. #. type: item
  40147. #: guix-git/doc/guix.texi:26355
  40148. #, no-wrap
  40149. msgid "tb-lsub-flags"
  40150. msgstr ""
  40151. #. type: table
  40152. #: guix-git/doc/guix.texi:26359
  40153. msgid "Show \\Noselect flags for LSUB replies with LAYOUT=fs (e.g.@: mbox). This makes Thunderbird realize they aren't selectable and show them greyed out, instead of only later giving \"not selectable\" popup error."
  40154. msgstr ""
  40155. #. type: deftypevr
  40156. #: guix-git/doc/guix.texi:26363
  40157. #, no-wrap
  40158. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  40159. msgstr ""
  40160. #. type: deftypevr
  40161. #: guix-git/doc/guix.texi:26366
  40162. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  40163. msgstr ""
  40164. #. type: Plain text
  40165. #: guix-git/doc/guix.texi:26374
  40166. msgid "Whew! Lots of configuration options. The nice thing about it though is that Guix has a complete interface to Dovecot's configuration language. This allows not only a nice way to declare configurations, but also offers reflective capabilities as well: users can write code to inspect and transform configurations from within Scheme."
  40167. msgstr ""
  40168. #. type: Plain text
  40169. #: guix-git/doc/guix.texi:26380
  40170. msgid "However, it could be that you just want to get a @code{dovecot.conf} up and running. In that case, you can pass an @code{opaque-dovecot-configuration} as the @code{#:config} parameter to @code{dovecot-service}. As its name indicates, an opaque configuration does not have easy reflective capabilities."
  40171. msgstr ""
  40172. #. type: Plain text
  40173. #: guix-git/doc/guix.texi:26382
  40174. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  40175. msgstr ""
  40176. #. type: deftypevr
  40177. #: guix-git/doc/guix.texi:26383
  40178. #, no-wrap
  40179. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  40180. msgstr ""
  40181. #. type: deftypevr
  40182. #: guix-git/doc/guix.texi:26387
  40183. #, no-wrap
  40184. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  40185. msgstr ""
  40186. #. type: deftypevr
  40187. #: guix-git/doc/guix.texi:26389
  40188. msgid "The contents of the @code{dovecot.conf}, as a string."
  40189. msgstr ""
  40190. #. type: Plain text
  40191. #: guix-git/doc/guix.texi:26393
  40192. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  40193. msgstr ""
  40194. #. type: lisp
  40195. #: guix-git/doc/guix.texi:26398
  40196. #, no-wrap
  40197. msgid ""
  40198. "(dovecot-service #:config\n"
  40199. " (opaque-dovecot-configuration\n"
  40200. " (string \"\")))\n"
  40201. msgstr ""
  40202. #. type: subsubheading
  40203. #: guix-git/doc/guix.texi:26400
  40204. #, no-wrap
  40205. msgid "OpenSMTPD Service"
  40206. msgstr ""
  40207. #. type: defvar
  40208. #: guix-git/doc/guix.texi:26402
  40209. #, fuzzy, no-wrap
  40210. #| msgid "guix-publish-service-type"
  40211. msgid "opensmtpd-service-type"
  40212. msgstr "guix-publish-service-type"
  40213. #. type: defvar
  40214. #: guix-git/doc/guix.texi:26406
  40215. msgid "This is the type of the @uref{https://www.opensmtpd.org, OpenSMTPD} service, whose value should be an @code{opensmtpd-configuration} object as in this example:"
  40216. msgstr ""
  40217. #. type: lisp
  40218. #: guix-git/doc/guix.texi:26411
  40219. #, no-wrap
  40220. msgid ""
  40221. "(service opensmtpd-service-type\n"
  40222. " (opensmtpd-configuration\n"
  40223. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  40224. msgstr ""
  40225. #. type: deftp
  40226. #: guix-git/doc/guix.texi:26414
  40227. #, no-wrap
  40228. msgid "{Data Type} opensmtpd-configuration"
  40229. msgstr ""
  40230. #. type: deftp
  40231. #: guix-git/doc/guix.texi:26416
  40232. msgid "Data type representing the configuration of opensmtpd."
  40233. msgstr ""
  40234. #. type: item
  40235. #: guix-git/doc/guix.texi:26418
  40236. #, no-wrap
  40237. msgid "@code{package} (default: @var{opensmtpd})"
  40238. msgstr ""
  40239. #. type: table
  40240. #: guix-git/doc/guix.texi:26420
  40241. msgid "Package object of the OpenSMTPD SMTP server."
  40242. msgstr ""
  40243. #. type: table
  40244. #: guix-git/doc/guix.texi:26425
  40245. msgid "This option can be used to provide a list of symbols naming Shepherd services that this service will depend on, such as @code{'networking} if you want to configure OpenSMTPD to listen on non-loopback interfaces."
  40246. msgstr ""
  40247. #. type: item
  40248. #: guix-git/doc/guix.texi:26426
  40249. #, fuzzy, no-wrap
  40250. #| msgid "@code{debug?} (default: @code{#f})"
  40251. msgid "@code{config-file} (default: @code{%default-opensmtpd-config-file})"
  40252. msgstr "@code{debug?} (default: @code{#f})"
  40253. #. type: table
  40254. #: guix-git/doc/guix.texi:26431
  40255. msgid "File-like object of the OpenSMTPD configuration file to use. By default it listens on the loopback network interface, and allows for mail from users and daemons on the local machine, as well as permitting email to remote servers. Run @command{man smtpd.conf} for more information."
  40256. msgstr ""
  40257. #. type: item
  40258. #: guix-git/doc/guix.texi:26432
  40259. #, fuzzy, no-wrap
  40260. #| msgid "@code{shared?} (default: @code{#t})"
  40261. msgid "@code{setgid-commands?} (default: @code{#t})"
  40262. msgstr "@code{shared?} (padrão: @code{#t})"
  40263. #. type: table
  40264. #: guix-git/doc/guix.texi:26437
  40265. msgid "Make the following commands setgid to @code{smtpq} so they can be executed: @command{smtpctl}, @command{sendmail}, @command{send-mail}, @command{makemap}, @command{mailq}, and @command{newaliases}. @xref{Setuid Programs}, for more information on setgid programs."
  40266. msgstr ""
  40267. #. type: subsubheading
  40268. #: guix-git/doc/guix.texi:26440
  40269. #, no-wrap
  40270. msgid "Exim Service"
  40271. msgstr ""
  40272. #. type: cindex
  40273. #: guix-git/doc/guix.texi:26442
  40274. #, no-wrap
  40275. msgid "mail transfer agent (MTA)"
  40276. msgstr ""
  40277. #. type: cindex
  40278. #: guix-git/doc/guix.texi:26443
  40279. #, no-wrap
  40280. msgid "MTA (mail transfer agent)"
  40281. msgstr ""
  40282. #. type: cindex
  40283. #: guix-git/doc/guix.texi:26444
  40284. #, no-wrap
  40285. msgid "SMTP"
  40286. msgstr ""
  40287. #. type: defvar
  40288. #: guix-git/doc/guix.texi:26446
  40289. #, fuzzy, no-wrap
  40290. #| msgid "guix-publish-service-type"
  40291. msgid "exim-service-type"
  40292. msgstr "guix-publish-service-type"
  40293. #. type: defvar
  40294. #: guix-git/doc/guix.texi:26450
  40295. msgid "This is the type of the @uref{https://exim.org, Exim} mail transfer agent (MTA), whose value should be an @code{exim-configuration} object as in this example:"
  40296. msgstr ""
  40297. #. type: lisp
  40298. #: guix-git/doc/guix.texi:26455
  40299. #, no-wrap
  40300. msgid ""
  40301. "(service exim-service-type\n"
  40302. " (exim-configuration\n"
  40303. " (config-file (local-file \"./my-exim.conf\"))))\n"
  40304. msgstr ""
  40305. #. type: Plain text
  40306. #: guix-git/doc/guix.texi:26461
  40307. msgid "In order to use an @code{exim-service-type} service you must also have a @code{mail-aliases-service-type} service present in your @code{operating-system} (even if it has no aliases)."
  40308. msgstr ""
  40309. #. type: deftp
  40310. #: guix-git/doc/guix.texi:26462
  40311. #, no-wrap
  40312. msgid "{Data Type} exim-configuration"
  40313. msgstr ""
  40314. #. type: deftp
  40315. #: guix-git/doc/guix.texi:26464
  40316. msgid "Data type representing the configuration of exim."
  40317. msgstr ""
  40318. #. type: item
  40319. #: guix-git/doc/guix.texi:26466
  40320. #, no-wrap
  40321. msgid "@code{package} (default: @var{exim})"
  40322. msgstr ""
  40323. #. type: table
  40324. #: guix-git/doc/guix.texi:26468
  40325. msgid "Package object of the Exim server."
  40326. msgstr ""
  40327. #. type: table
  40328. #: guix-git/doc/guix.texi:26475
  40329. msgid "File-like object of the Exim configuration file to use. If its value is @code{#f} then use the default configuration file from the package provided in @code{package}. The resulting configuration file is loaded after setting the @code{exim_user} and @code{exim_group} configuration variables."
  40330. msgstr ""
  40331. #. type: subsubheading
  40332. #: guix-git/doc/guix.texi:26479
  40333. #, no-wrap
  40334. msgid "Getmail service"
  40335. msgstr ""
  40336. #. type: cindex
  40337. #: guix-git/doc/guix.texi:26481
  40338. #, no-wrap
  40339. msgid "IMAP"
  40340. msgstr ""
  40341. #. type: cindex
  40342. #: guix-git/doc/guix.texi:26482
  40343. #, no-wrap
  40344. msgid "POP"
  40345. msgstr ""
  40346. #. type: defvar
  40347. #: guix-git/doc/guix.texi:26484
  40348. #, fuzzy, no-wrap
  40349. #| msgid "guix-publish-service-type"
  40350. msgid "getmail-service-type"
  40351. msgstr "guix-publish-service-type"
  40352. #. type: defvar
  40353. #: guix-git/doc/guix.texi:26487
  40354. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be a @code{getmail-configuration}."
  40355. msgstr ""
  40356. #. type: Plain text
  40357. #: guix-git/doc/guix.texi:26490
  40358. msgid "Available @code{getmail-configuration} fields are:"
  40359. msgstr ""
  40360. #. type: deftypevr
  40361. #: guix-git/doc/guix.texi:26491
  40362. #, no-wrap
  40363. msgid "{@code{getmail-configuration} parameter} symbol name"
  40364. msgstr ""
  40365. #. type: deftypevr
  40366. #: guix-git/doc/guix.texi:26493
  40367. msgid "A symbol to identify the getmail service."
  40368. msgstr ""
  40369. #. type: deftypevr
  40370. #: guix-git/doc/guix.texi:26495
  40371. msgid "Defaults to @samp{\"unset\"}."
  40372. msgstr ""
  40373. #. type: deftypevr
  40374. #: guix-git/doc/guix.texi:26498
  40375. #, no-wrap
  40376. msgid "{@code{getmail-configuration} parameter} package package"
  40377. msgstr ""
  40378. #. type: deftypevr
  40379. #: guix-git/doc/guix.texi:26500
  40380. msgid "The getmail package to use."
  40381. msgstr ""
  40382. #. type: deftypevr
  40383. #: guix-git/doc/guix.texi:26503
  40384. #, no-wrap
  40385. msgid "{@code{getmail-configuration} parameter} string user"
  40386. msgstr ""
  40387. #. type: deftypevr
  40388. #: guix-git/doc/guix.texi:26505
  40389. msgid "The user to run getmail as."
  40390. msgstr ""
  40391. #. type: deftypevr
  40392. #: guix-git/doc/guix.texi:26507 guix-git/doc/guix.texi:26514
  40393. msgid "Defaults to @samp{\"getmail\"}."
  40394. msgstr ""
  40395. #. type: deftypevr
  40396. #: guix-git/doc/guix.texi:26510
  40397. #, no-wrap
  40398. msgid "{@code{getmail-configuration} parameter} string group"
  40399. msgstr ""
  40400. #. type: deftypevr
  40401. #: guix-git/doc/guix.texi:26512
  40402. msgid "The group to run getmail as."
  40403. msgstr ""
  40404. #. type: deftypevr
  40405. #: guix-git/doc/guix.texi:26517
  40406. #, no-wrap
  40407. msgid "{@code{getmail-configuration} parameter} string directory"
  40408. msgstr ""
  40409. #. type: deftypevr
  40410. #: guix-git/doc/guix.texi:26519
  40411. msgid "The getmail directory to use."
  40412. msgstr ""
  40413. #. type: deftypevr
  40414. #: guix-git/doc/guix.texi:26521
  40415. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  40416. msgstr ""
  40417. #. type: deftypevr
  40418. #: guix-git/doc/guix.texi:26524
  40419. #, no-wrap
  40420. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  40421. msgstr ""
  40422. #. type: deftypevr
  40423. #: guix-git/doc/guix.texi:26526
  40424. msgid "The getmail configuration file to use."
  40425. msgstr ""
  40426. #. type: deftypevr
  40427. #: guix-git/doc/guix.texi:26528
  40428. msgid "Available @code{getmail-configuration-file} fields are:"
  40429. msgstr ""
  40430. #. type: deftypevr
  40431. #: guix-git/doc/guix.texi:26529
  40432. #, no-wrap
  40433. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  40434. msgstr ""
  40435. #. type: deftypevr
  40436. #: guix-git/doc/guix.texi:26531
  40437. msgid "What mail account to retrieve mail from, and how to access that account."
  40438. msgstr ""
  40439. #. type: deftypevr
  40440. #: guix-git/doc/guix.texi:26533
  40441. msgid "Available @code{getmail-retriever-configuration} fields are:"
  40442. msgstr ""
  40443. #. type: deftypevr
  40444. #: guix-git/doc/guix.texi:26534
  40445. #, no-wrap
  40446. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  40447. msgstr ""
  40448. #. type: deftypevr
  40449. #: guix-git/doc/guix.texi:26537
  40450. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  40451. msgstr ""
  40452. #. type: deftypevr
  40453. #: guix-git/doc/guix.texi:26539
  40454. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  40455. msgstr ""
  40456. #. type: deftypevr
  40457. #: guix-git/doc/guix.texi:26542
  40458. #, no-wrap
  40459. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  40460. msgstr ""
  40461. #. type: deftypevr
  40462. #: guix-git/doc/guix.texi:26544 guix-git/doc/guix.texi:26551
  40463. msgid "Username to login to the mail server with."
  40464. msgstr ""
  40465. #. type: deftypevr
  40466. #: guix-git/doc/guix.texi:26546 guix-git/doc/guix.texi:26553
  40467. #: guix-git/doc/guix.texi:26617
  40468. msgid "Defaults to @samp{unset}."
  40469. msgstr ""
  40470. #. type: deftypevr
  40471. #: guix-git/doc/guix.texi:26549
  40472. #, no-wrap
  40473. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  40474. msgstr ""
  40475. #. type: deftypevr
  40476. #: guix-git/doc/guix.texi:26556
  40477. #, no-wrap
  40478. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  40479. msgstr ""
  40480. #. type: deftypevr
  40481. #: guix-git/doc/guix.texi:26558
  40482. msgid "Port number to connect to."
  40483. msgstr ""
  40484. #. type: deftypevr
  40485. #: guix-git/doc/guix.texi:26563
  40486. #, no-wrap
  40487. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  40488. msgstr ""
  40489. #. type: deftypevr
  40490. #: guix-git/doc/guix.texi:26565 guix-git/doc/guix.texi:26572
  40491. msgid "Override fields from passwd."
  40492. msgstr ""
  40493. #. type: deftypevr
  40494. #: guix-git/doc/guix.texi:26570
  40495. #, no-wrap
  40496. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  40497. msgstr ""
  40498. #. type: deftypevr
  40499. #: guix-git/doc/guix.texi:26577
  40500. #, no-wrap
  40501. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  40502. msgstr ""
  40503. #. type: deftypevr
  40504. #: guix-git/doc/guix.texi:26579
  40505. msgid "PEM-formatted key file to use for the TLS negotiation."
  40506. msgstr ""
  40507. #. type: deftypevr
  40508. #: guix-git/doc/guix.texi:26584
  40509. #, no-wrap
  40510. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  40511. msgstr ""
  40512. #. type: deftypevr
  40513. #: guix-git/doc/guix.texi:26586
  40514. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  40515. msgstr ""
  40516. #. type: deftypevr
  40517. #: guix-git/doc/guix.texi:26591
  40518. #, no-wrap
  40519. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  40520. msgstr ""
  40521. #. type: deftypevr
  40522. #: guix-git/doc/guix.texi:26593
  40523. msgid "CA certificates to use."
  40524. msgstr ""
  40525. #. type: deftypevr
  40526. #: guix-git/doc/guix.texi:26598
  40527. #, no-wrap
  40528. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  40529. msgstr ""
  40530. #. type: deftypevr
  40531. #: guix-git/doc/guix.texi:26600
  40532. msgid "Extra retriever parameters."
  40533. msgstr ""
  40534. #. type: deftypevr
  40535. #: guix-git/doc/guix.texi:26607
  40536. #, no-wrap
  40537. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  40538. msgstr ""
  40539. #. type: deftypevr
  40540. #: guix-git/doc/guix.texi:26609
  40541. msgid "What to do with retrieved messages."
  40542. msgstr ""
  40543. #. type: deftypevr
  40544. #: guix-git/doc/guix.texi:26611
  40545. msgid "Available @code{getmail-destination-configuration} fields are:"
  40546. msgstr ""
  40547. #. type: deftypevr
  40548. #: guix-git/doc/guix.texi:26612
  40549. #, no-wrap
  40550. msgid "{@code{getmail-destination-configuration} parameter} string type"
  40551. msgstr ""
  40552. #. type: deftypevr
  40553. #: guix-git/doc/guix.texi:26615
  40554. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  40555. msgstr ""
  40556. #. type: deftypevr
  40557. #: guix-git/doc/guix.texi:26620
  40558. #, no-wrap
  40559. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  40560. msgstr ""
  40561. #. type: deftypevr
  40562. #: guix-git/doc/guix.texi:26623
  40563. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  40564. msgstr ""
  40565. #. type: deftypevr
  40566. #: guix-git/doc/guix.texi:26628
  40567. #, no-wrap
  40568. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  40569. msgstr ""
  40570. #. type: deftypevr
  40571. #: guix-git/doc/guix.texi:26630
  40572. msgid "Extra destination parameters"
  40573. msgstr ""
  40574. #. type: deftypevr
  40575. #: guix-git/doc/guix.texi:26637
  40576. #, no-wrap
  40577. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  40578. msgstr ""
  40579. #. type: deftypevr
  40580. #: guix-git/doc/guix.texi:26639
  40581. msgid "Configure getmail."
  40582. msgstr ""
  40583. #. type: deftypevr
  40584. #: guix-git/doc/guix.texi:26641
  40585. msgid "Available @code{getmail-options-configuration} fields are:"
  40586. msgstr ""
  40587. #. type: deftypevr
  40588. #: guix-git/doc/guix.texi:26642
  40589. #, no-wrap
  40590. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  40591. msgstr ""
  40592. #. type: deftypevr
  40593. #: guix-git/doc/guix.texi:26647
  40594. msgid "If set to @samp{0}, getmail will only print warnings and errors. A value of @samp{1} means that messages will be printed about retrieving and deleting messages. If set to @samp{2}, getmail will print messages about each of its actions."
  40595. msgstr ""
  40596. #. type: deftypevr
  40597. #: guix-git/doc/guix.texi:26649 guix-git/doc/guix.texi:33787
  40598. #: guix-git/doc/guix.texi:34627 guix-git/doc/guix.texi:34772
  40599. msgid "Defaults to @samp{1}."
  40600. msgstr ""
  40601. #. type: deftypevr
  40602. #: guix-git/doc/guix.texi:26652
  40603. #, no-wrap
  40604. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  40605. msgstr ""
  40606. #. type: deftypevr
  40607. #: guix-git/doc/guix.texi:26655
  40608. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  40609. msgstr ""
  40610. #. type: deftypevr
  40611. #: guix-git/doc/guix.texi:26660
  40612. #, no-wrap
  40613. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  40614. msgstr ""
  40615. #. type: deftypevr
  40616. #: guix-git/doc/guix.texi:26664
  40617. msgid "If set to true, messages will be deleted from the server after retrieving and successfully delivering them. Otherwise, messages will be left on the server."
  40618. msgstr ""
  40619. #. type: deftypevr
  40620. #: guix-git/doc/guix.texi:26669
  40621. #, no-wrap
  40622. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  40623. msgstr ""
  40624. #. type: deftypevr
  40625. #: guix-git/doc/guix.texi:26674
  40626. msgid "Getmail will delete messages this number of days after seeing them, if they have been delivered. This means messages will be left on the server this number of days after delivering them. A value of @samp{0} disabled this feature."
  40627. msgstr ""
  40628. #. type: deftypevr
  40629. #: guix-git/doc/guix.texi:26679
  40630. #, no-wrap
  40631. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  40632. msgstr ""
  40633. #. type: deftypevr
  40634. #: guix-git/doc/guix.texi:26683
  40635. msgid "Delete messages larger than this of bytes after retrieving them, even if the delete and delete-after options are disabled. A value of @samp{0} disables this feature."
  40636. msgstr ""
  40637. #. type: deftypevr
  40638. #: guix-git/doc/guix.texi:26688
  40639. #, no-wrap
  40640. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  40641. msgstr ""
  40642. #. type: deftypevr
  40643. #: guix-git/doc/guix.texi:26691
  40644. msgid "Retrieve messages totalling up to this number of bytes before closing the session with the server. A value of @samp{0} disables this feature."
  40645. msgstr ""
  40646. #. type: deftypevr
  40647. #: guix-git/doc/guix.texi:26696
  40648. #, no-wrap
  40649. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  40650. msgstr ""
  40651. #. type: deftypevr
  40652. #: guix-git/doc/guix.texi:26699
  40653. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  40654. msgstr ""
  40655. #. type: deftypevr
  40656. #: guix-git/doc/guix.texi:26704
  40657. #, no-wrap
  40658. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  40659. msgstr ""
  40660. #. type: deftypevr
  40661. #: guix-git/doc/guix.texi:26706
  40662. msgid "If true, getmail will add a Delivered-To header to messages."
  40663. msgstr ""
  40664. #. type: deftypevr
  40665. #: guix-git/doc/guix.texi:26711
  40666. #, no-wrap
  40667. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  40668. msgstr ""
  40669. #. type: deftypevr
  40670. #: guix-git/doc/guix.texi:26713
  40671. msgid "If set, getmail adds a Received header to the messages."
  40672. msgstr ""
  40673. #. type: deftypevr
  40674. #: guix-git/doc/guix.texi:26718
  40675. #, no-wrap
  40676. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  40677. msgstr ""
  40678. #. type: deftypevr
  40679. #: guix-git/doc/guix.texi:26721
  40680. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  40681. msgstr ""
  40682. #. type: deftypevr
  40683. #: guix-git/doc/guix.texi:26726
  40684. #, no-wrap
  40685. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  40686. msgstr ""
  40687. #. type: deftypevr
  40688. #: guix-git/doc/guix.texi:26729
  40689. msgid "If true, getmail will record a log of its actions using the system logger."
  40690. msgstr ""
  40691. #. type: deftypevr
  40692. #: guix-git/doc/guix.texi:26734
  40693. #, no-wrap
  40694. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  40695. msgstr ""
  40696. #. type: deftypevr
  40697. #: guix-git/doc/guix.texi:26738
  40698. msgid "If true, getmail will log information about messages not retrieved and the reason for not retrieving them, as well as starting and ending information lines."
  40699. msgstr ""
  40700. #. type: deftypevr
  40701. #: guix-git/doc/guix.texi:26743
  40702. #, no-wrap
  40703. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  40704. msgstr ""
  40705. #. type: deftypevr
  40706. #: guix-git/doc/guix.texi:26745
  40707. msgid "Extra options to include."
  40708. msgstr ""
  40709. #. type: deftypevr
  40710. #: guix-git/doc/guix.texi:26754
  40711. #, no-wrap
  40712. msgid "{@code{getmail-configuration} parameter} list idle"
  40713. msgstr ""
  40714. #. type: deftypevr
  40715. #: guix-git/doc/guix.texi:26758
  40716. msgid "A list of mailboxes that getmail should wait on the server for new mail notifications. This depends on the server supporting the IDLE extension."
  40717. msgstr ""
  40718. #. type: deftypevr
  40719. #: guix-git/doc/guix.texi:26763
  40720. #, no-wrap
  40721. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  40722. msgstr ""
  40723. #. type: deftypevr
  40724. #: guix-git/doc/guix.texi:26765
  40725. msgid "Environment variables to set for getmail."
  40726. msgstr ""
  40727. #. type: subsubheading
  40728. #: guix-git/doc/guix.texi:26770
  40729. #, no-wrap
  40730. msgid "Mail Aliases Service"
  40731. msgstr ""
  40732. #. type: cindex
  40733. #: guix-git/doc/guix.texi:26772
  40734. #, no-wrap
  40735. msgid "email aliases"
  40736. msgstr ""
  40737. #. type: cindex
  40738. #: guix-git/doc/guix.texi:26773
  40739. #, no-wrap
  40740. msgid "aliases, for email addresses"
  40741. msgstr ""
  40742. #. type: defvar
  40743. #: guix-git/doc/guix.texi:26775
  40744. #, fuzzy, no-wrap
  40745. #| msgid "guix-publish-service-type"
  40746. msgid "mail-aliases-service-type"
  40747. msgstr "guix-publish-service-type"
  40748. #. type: defvar
  40749. #: guix-git/doc/guix.texi:26778
  40750. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  40751. msgstr ""
  40752. #. type: lisp
  40753. #: guix-git/doc/guix.texi:26783
  40754. #, no-wrap
  40755. msgid ""
  40756. "(service mail-aliases-service-type\n"
  40757. " '((\"postmaster\" \"bob\")\n"
  40758. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  40759. msgstr ""
  40760. #. type: Plain text
  40761. #: guix-git/doc/guix.texi:26791
  40762. msgid "The configuration for a @code{mail-aliases-service-type} service is an association list denoting how to deliver mail that comes to this system. Each entry is of the form @code{(alias addresses ...)}, with @code{alias} specifying the local alias and @code{addresses} specifying where to deliver this user's mail."
  40763. msgstr ""
  40764. #. type: Plain text
  40765. #: guix-git/doc/guix.texi:26797
  40766. msgid "The aliases aren't required to exist as users on the local system. In the above example, there doesn't need to be a @code{postmaster} entry in the @code{operating-system}'s @code{user-accounts} in order to deliver the @code{postmaster} mail to @code{bob} (which subsequently would deliver mail to @code{bob@@example.com} and @code{bob@@example2.com})."
  40767. msgstr ""
  40768. #. type: cindex
  40769. #: guix-git/doc/guix.texi:26798 guix-git/doc/guix.texi:26799
  40770. #, no-wrap
  40771. msgid "GNU Mailutils IMAP4 Daemon"
  40772. msgstr ""
  40773. #. type: defvar
  40774. #: guix-git/doc/guix.texi:26801
  40775. #, fuzzy, no-wrap
  40776. #| msgid "guix-publish-service-type"
  40777. msgid "imap4d-service-type"
  40778. msgstr "guix-publish-service-type"
  40779. #. type: defvar
  40780. #: guix-git/doc/guix.texi:26805
  40781. msgid "This is the type of the GNU Mailutils IMAP4 Daemon (@pxref{imap4d,,, mailutils, GNU Mailutils Manual}), whose value should be an @code{imap4d-configuration} object as in this example:"
  40782. msgstr ""
  40783. #. type: lisp
  40784. #: guix-git/doc/guix.texi:26810
  40785. #, no-wrap
  40786. msgid ""
  40787. "(service imap4d-service-type\n"
  40788. " (imap4d-configuration\n"
  40789. " (config-file (local-file \"imap4d.conf\"))))\n"
  40790. msgstr ""
  40791. #. type: deftp
  40792. #: guix-git/doc/guix.texi:26813
  40793. #, no-wrap
  40794. msgid "{Data Type} imap4d-configuration"
  40795. msgstr ""
  40796. #. type: deftp
  40797. #: guix-git/doc/guix.texi:26815
  40798. msgid "Data type representing the configuration of @command{imap4d}."
  40799. msgstr ""
  40800. #. type: item
  40801. #: guix-git/doc/guix.texi:26817
  40802. #, no-wrap
  40803. msgid "@code{package} (default: @code{mailutils})"
  40804. msgstr ""
  40805. #. type: table
  40806. #: guix-git/doc/guix.texi:26819
  40807. msgid "The package that provides @command{imap4d}."
  40808. msgstr ""
  40809. #. type: item
  40810. #: guix-git/doc/guix.texi:26820
  40811. #, no-wrap
  40812. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  40813. msgstr ""
  40814. #. type: table
  40815. #: guix-git/doc/guix.texi:26824
  40816. msgid "File-like object of the configuration file to use, by default it will listen on TCP port 143 of @code{localhost}. @xref{Conf-imap4d,,, mailutils, GNU Mailutils Manual}, for details."
  40817. msgstr ""
  40818. #. type: subsubheading
  40819. #: guix-git/doc/guix.texi:26828
  40820. #, no-wrap
  40821. msgid "Radicale Service"
  40822. msgstr ""
  40823. #. type: cindex
  40824. #: guix-git/doc/guix.texi:26829
  40825. #, no-wrap
  40826. msgid "CalDAV"
  40827. msgstr ""
  40828. #. type: cindex
  40829. #: guix-git/doc/guix.texi:26830
  40830. #, no-wrap
  40831. msgid "CardDAV"
  40832. msgstr ""
  40833. #. type: defvar
  40834. #: guix-git/doc/guix.texi:26832
  40835. #, fuzzy, no-wrap
  40836. #| msgid "guix-publish-service-type"
  40837. msgid "radicale-service-type"
  40838. msgstr "guix-publish-service-type"
  40839. #. type: defvar
  40840. #: guix-git/doc/guix.texi:26835
  40841. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  40842. msgstr ""
  40843. #. type: deftp
  40844. #: guix-git/doc/guix.texi:26837
  40845. #, no-wrap
  40846. msgid "{Data Type} radicale-configuration"
  40847. msgstr ""
  40848. #. type: deftp
  40849. #: guix-git/doc/guix.texi:26839
  40850. msgid "Data type representing the configuration of @command{radicale}."
  40851. msgstr ""
  40852. #. type: item
  40853. #: guix-git/doc/guix.texi:26841
  40854. #, no-wrap
  40855. msgid "@code{package} (default: @code{radicale})"
  40856. msgstr ""
  40857. #. type: table
  40858. #: guix-git/doc/guix.texi:26843
  40859. msgid "The package that provides @command{radicale}."
  40860. msgstr ""
  40861. #. type: item
  40862. #: guix-git/doc/guix.texi:26844
  40863. #, no-wrap
  40864. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  40865. msgstr ""
  40866. #. type: table
  40867. #: guix-git/doc/guix.texi:26848
  40868. msgid "File-like object of the configuration file to use, by default it will listen on TCP port 5232 of @code{localhost} and use the @code{htpasswd} file at @file{/var/lib/radicale/users} with no (@code{plain}) encryption."
  40869. msgstr ""
  40870. #. type: cindex
  40871. #: guix-git/doc/guix.texi:26855
  40872. #, no-wrap
  40873. msgid "messaging"
  40874. msgstr ""
  40875. #. type: cindex
  40876. #: guix-git/doc/guix.texi:26856
  40877. #, no-wrap
  40878. msgid "jabber"
  40879. msgstr ""
  40880. #. type: cindex
  40881. #: guix-git/doc/guix.texi:26857
  40882. #, no-wrap
  40883. msgid "XMPP"
  40884. msgstr "XMPP"
  40885. #. type: Plain text
  40886. #: guix-git/doc/guix.texi:26861
  40887. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  40888. msgstr ""
  40889. #. type: subsubheading
  40890. #: guix-git/doc/guix.texi:26862
  40891. #, no-wrap
  40892. msgid "Prosody Service"
  40893. msgstr ""
  40894. #. type: defvar
  40895. #: guix-git/doc/guix.texi:26864
  40896. #, fuzzy, no-wrap
  40897. #| msgid "guix-publish-service-type"
  40898. msgid "prosody-service-type"
  40899. msgstr "guix-publish-service-type"
  40900. #. type: defvar
  40901. #: guix-git/doc/guix.texi:26868
  40902. msgid "This is the type for the @uref{https://prosody.im, Prosody XMPP communication server}. Its value must be a @code{prosody-configuration} record as in this example:"
  40903. msgstr ""
  40904. #. type: lisp
  40905. #: guix-git/doc/guix.texi:26883
  40906. #, no-wrap
  40907. msgid ""
  40908. "(service prosody-service-type\n"
  40909. " (prosody-configuration\n"
  40910. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  40911. " (int-components\n"
  40912. " (list\n"
  40913. " (int-component-configuration\n"
  40914. " (hostname \"conference.example.net\")\n"
  40915. " (plugin \"muc\")\n"
  40916. " (mod-muc (mod-muc-configuration)))))\n"
  40917. " (virtualhosts\n"
  40918. " (list\n"
  40919. " (virtualhost-configuration\n"
  40920. " (domain \"example.net\"))))))\n"
  40921. msgstr ""
  40922. #. type: defvar
  40923. #: guix-git/doc/guix.texi:26886
  40924. msgid "See below for details about @code{prosody-configuration}."
  40925. msgstr ""
  40926. #. type: Plain text
  40927. #: guix-git/doc/guix.texi:26892
  40928. msgid "By default, Prosody does not need much configuration. Only one @code{virtualhosts} field is needed: it specifies the domain you wish Prosody to serve."
  40929. msgstr ""
  40930. #. type: Plain text
  40931. #: guix-git/doc/guix.texi:26895
  40932. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  40933. msgstr ""
  40934. #. type: Plain text
  40935. #: guix-git/doc/guix.texi:26899
  40936. msgid "Prosodyctl will also help you to import certificates from the @code{letsencrypt} directory so that the @code{prosody} user can access them. See @url{https://prosody.im/doc/letsencrypt}."
  40937. msgstr ""
  40938. #. type: example
  40939. #: guix-git/doc/guix.texi:26902
  40940. #, no-wrap
  40941. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  40942. msgstr ""
  40943. #. type: Plain text
  40944. #: guix-git/doc/guix.texi:26909
  40945. msgid "The available configuration parameters follow. Each parameter definition is preceded by its type; for example, @samp{string-list foo} indicates that the @code{foo} parameter should be specified as a list of strings. Types starting with @code{maybe-} denote parameters that won't show up in @code{prosody.cfg.lua} when their value is left unspecified."
  40946. msgstr ""
  40947. #. type: Plain text
  40948. #: guix-git/doc/guix.texi:26913
  40949. msgid "There is also a way to specify the configuration as a string, if you have an old @code{prosody.cfg.lua} file that you want to port over from some other system; see the end for more details."
  40950. msgstr ""
  40951. #. type: Plain text
  40952. #: guix-git/doc/guix.texi:26916
  40953. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  40954. msgstr ""
  40955. #. type: Plain text
  40956. #: guix-git/doc/guix.texi:26926
  40957. msgid "Available @code{prosody-configuration} fields are:"
  40958. msgstr ""
  40959. #. type: deftypevr
  40960. #: guix-git/doc/guix.texi:26927
  40961. #, no-wrap
  40962. msgid "{@code{prosody-configuration} parameter} package prosody"
  40963. msgstr ""
  40964. #. type: deftypevr
  40965. #: guix-git/doc/guix.texi:26929
  40966. msgid "The Prosody package."
  40967. msgstr ""
  40968. #. type: deftypevr
  40969. #: guix-git/doc/guix.texi:26931
  40970. #, no-wrap
  40971. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  40972. msgstr ""
  40973. #. type: deftypevr
  40974. #: guix-git/doc/guix.texi:26935
  40975. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  40976. msgstr ""
  40977. #. type: deftypevr
  40978. #: guix-git/doc/guix.texi:26937
  40979. #, no-wrap
  40980. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  40981. msgstr ""
  40982. #. type: deftypevr
  40983. #: guix-git/doc/guix.texi:26941
  40984. msgid "Additional plugin directories. They are searched in all the specified paths in order. See @url{https://prosody.im/doc/plugins_directory}. Defaults to @samp{'()}."
  40985. msgstr ""
  40986. #. type: deftypevr
  40987. #: guix-git/doc/guix.texi:26943
  40988. #, no-wrap
  40989. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  40990. msgstr ""
  40991. #. type: deftypevr
  40992. #: guix-git/doc/guix.texi:26948
  40993. msgid "Every virtual host and component needs a certificate so that clients and servers can securely verify its identity. Prosody will automatically load certificates/keys from the directory specified here. Defaults to @samp{\"/etc/prosody/certs\"}."
  40994. msgstr ""
  40995. #. type: deftypevr
  40996. #: guix-git/doc/guix.texi:26950
  40997. #, no-wrap
  40998. msgid "{@code{prosody-configuration} parameter} string-list admins"
  40999. msgstr ""
  41000. #. type: deftypevr
  41001. #: guix-git/doc/guix.texi:26956
  41002. msgid "This is a list of accounts that are admins for the server. Note that you must create the accounts separately. See @url{https://prosody.im/doc/admins} and @url{https://prosody.im/doc/creating_accounts}. Example: @code{(admins '(\"user1@@example.com\" \"user2@@example.net\"))} Defaults to @samp{'()}."
  41003. msgstr ""
  41004. #. type: deftypevr
  41005. #: guix-git/doc/guix.texi:26958
  41006. #, no-wrap
  41007. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  41008. msgstr ""
  41009. #. type: deftypevr
  41010. #: guix-git/doc/guix.texi:26962
  41011. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  41012. msgstr ""
  41013. #. type: deftypevr
  41014. #: guix-git/doc/guix.texi:26964
  41015. #, no-wrap
  41016. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  41017. msgstr ""
  41018. #. type: deftypevr
  41019. #: guix-git/doc/guix.texi:26970
  41020. msgid "This is the list of modules Prosody will load on startup. It looks for @code{mod_modulename.lua} in the plugins folder, so make sure that exists too. Documentation on modules can be found at: @url{https://prosody.im/doc/modules}. Defaults to @samp{'(\"roster\" \"saslauth\" \"tls\" \"dialback\" \"disco\" \"carbons\" \"private\" \"blocklist\" \"vcard\" \"version\" \"uptime\" \"time\" \"ping\" \"pep\" \"register\" \"admin_adhoc\")}."
  41021. msgstr ""
  41022. #. type: deftypevr
  41023. #: guix-git/doc/guix.texi:26972
  41024. #, no-wrap
  41025. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  41026. msgstr ""
  41027. #. type: deftypevr
  41028. #: guix-git/doc/guix.texi:26976
  41029. msgid "@samp{\"offline\"}, @samp{\"c2s\"} and @samp{\"s2s\"} are auto-loaded, but should you want to disable them then add them to this list. Defaults to @samp{'()}."
  41030. msgstr ""
  41031. #. type: deftypevr
  41032. #: guix-git/doc/guix.texi:26978
  41033. #, no-wrap
  41034. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  41035. msgstr ""
  41036. #. type: deftypevr
  41037. #: guix-git/doc/guix.texi:26983
  41038. msgid "Path to a text file where the shared groups are defined. If this path is empty then @samp{mod_groups} does nothing. See @url{https://prosody.im/doc/modules/mod_groups}. Defaults to @samp{\"/var/lib/prosody/sharedgroups.txt\"}."
  41039. msgstr ""
  41040. #. type: deftypevr
  41041. #: guix-git/doc/guix.texi:26985
  41042. #, no-wrap
  41043. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  41044. msgstr ""
  41045. #. type: deftypevr
  41046. #: guix-git/doc/guix.texi:26989
  41047. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  41048. msgstr ""
  41049. #. type: deftypevr
  41050. #: guix-git/doc/guix.texi:26991
  41051. #, no-wrap
  41052. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  41053. msgstr ""
  41054. #. type: deftypevr
  41055. #: guix-git/doc/guix.texi:26996
  41056. msgid "These are the SSL/TLS-related settings. Most of them are disabled so to use Prosody's defaults. If you do not completely understand these options, do not add them to your config, it is easy to lower the security of your server using them. See @url{https://prosody.im/doc/advanced_ssl_config}."
  41057. msgstr ""
  41058. #. type: deftypevr
  41059. #: guix-git/doc/guix.texi:26998
  41060. msgid "Available @code{ssl-configuration} fields are:"
  41061. msgstr ""
  41062. #. type: deftypevr
  41063. #: guix-git/doc/guix.texi:26999
  41064. #, no-wrap
  41065. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  41066. msgstr ""
  41067. #. type: deftypevr
  41068. #: guix-git/doc/guix.texi:27001
  41069. msgid "This determines what handshake to use."
  41070. msgstr ""
  41071. #. type: deftypevr
  41072. #: guix-git/doc/guix.texi:27003
  41073. #, no-wrap
  41074. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  41075. msgstr ""
  41076. #. type: deftypevr
  41077. #: guix-git/doc/guix.texi:27005
  41078. msgid "Path to your private key file."
  41079. msgstr ""
  41080. #. type: deftypevr
  41081. #: guix-git/doc/guix.texi:27007
  41082. #, no-wrap
  41083. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  41084. msgstr ""
  41085. #. type: deftypevr
  41086. #: guix-git/doc/guix.texi:27009
  41087. msgid "Path to your certificate file."
  41088. msgstr ""
  41089. #. type: deftypevr
  41090. #: guix-git/doc/guix.texi:27011
  41091. #, no-wrap
  41092. msgid "{@code{ssl-configuration} parameter} file-object capath"
  41093. msgstr ""
  41094. #. type: deftypevr
  41095. #: guix-git/doc/guix.texi:27015
  41096. msgid "Path to directory containing root certificates that you wish Prosody to trust when verifying the certificates of remote servers. Defaults to @samp{\"/etc/ssl/certs\"}."
  41097. msgstr ""
  41098. #. type: deftypevr
  41099. #: guix-git/doc/guix.texi:27017
  41100. #, no-wrap
  41101. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  41102. msgstr ""
  41103. #. type: deftypevr
  41104. #: guix-git/doc/guix.texi:27020
  41105. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  41106. msgstr ""
  41107. #. type: deftypevr
  41108. #: guix-git/doc/guix.texi:27022
  41109. #, no-wrap
  41110. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  41111. msgstr ""
  41112. #. type: deftypevr
  41113. #: guix-git/doc/guix.texi:27025
  41114. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  41115. msgstr ""
  41116. #. type: deftypevr
  41117. #: guix-git/doc/guix.texi:27027
  41118. #, no-wrap
  41119. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  41120. msgstr ""
  41121. #. type: deftypevr
  41122. #: guix-git/doc/guix.texi:27031
  41123. msgid "A list of general options relating to SSL/TLS@. These map to OpenSSL's @code{set_options()}. For a full list of options available in LuaSec, see the LuaSec source."
  41124. msgstr ""
  41125. #. type: deftypevr
  41126. #: guix-git/doc/guix.texi:27033
  41127. #, no-wrap
  41128. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  41129. msgstr ""
  41130. #. type: deftypevr
  41131. #: guix-git/doc/guix.texi:27036
  41132. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  41133. msgstr ""
  41134. #. type: deftypevr
  41135. #: guix-git/doc/guix.texi:27038
  41136. #, no-wrap
  41137. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  41138. msgstr ""
  41139. #. type: deftypevr
  41140. #: guix-git/doc/guix.texi:27041
  41141. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  41142. msgstr ""
  41143. #. type: deftypevr
  41144. #: guix-git/doc/guix.texi:27043
  41145. #, no-wrap
  41146. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  41147. msgstr ""
  41148. #. type: deftypevr
  41149. #: guix-git/doc/guix.texi:27047
  41150. msgid "A path to a file containing parameters for Diffie-Hellman key exchange. You can create such a file with: @code{openssl dhparam -out /etc/prosody/certs/dh-2048.pem 2048}"
  41151. msgstr ""
  41152. #. type: deftypevr
  41153. #: guix-git/doc/guix.texi:27049
  41154. #, no-wrap
  41155. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  41156. msgstr ""
  41157. #. type: deftypevr
  41158. #: guix-git/doc/guix.texi:27052
  41159. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  41160. msgstr ""
  41161. #. type: deftypevr
  41162. #: guix-git/doc/guix.texi:27054
  41163. #, no-wrap
  41164. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  41165. msgstr ""
  41166. #. type: deftypevr
  41167. #: guix-git/doc/guix.texi:27056
  41168. msgid "A list of ``extra'' verification options."
  41169. msgstr ""
  41170. #. type: deftypevr
  41171. #: guix-git/doc/guix.texi:27058
  41172. #, no-wrap
  41173. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  41174. msgstr ""
  41175. #. type: deftypevr
  41176. #: guix-git/doc/guix.texi:27060
  41177. msgid "Password for encrypted private keys."
  41178. msgstr ""
  41179. #. type: deftypevr
  41180. #: guix-git/doc/guix.texi:27064
  41181. #, no-wrap
  41182. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  41183. msgstr ""
  41184. #. type: deftypevr
  41185. #: guix-git/doc/guix.texi:27068
  41186. msgid "Whether to force all client-to-server connections to be encrypted or not. See @url{https://prosody.im/doc/modules/mod_tls}. Defaults to @samp{#f}."
  41187. msgstr ""
  41188. #. type: deftypevr
  41189. #: guix-git/doc/guix.texi:27070
  41190. #, no-wrap
  41191. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  41192. msgstr ""
  41193. #. type: deftypevr
  41194. #: guix-git/doc/guix.texi:27074
  41195. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{'(\"DIGEST-MD5\")}."
  41196. msgstr ""
  41197. #. type: deftypevr
  41198. #: guix-git/doc/guix.texi:27076
  41199. #, no-wrap
  41200. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  41201. msgstr ""
  41202. #. type: deftypevr
  41203. #: guix-git/doc/guix.texi:27080
  41204. msgid "Whether to force all server-to-server connections to be encrypted or not. See @url{https://prosody.im/doc/modules/mod_tls}. Defaults to @samp{#f}."
  41205. msgstr ""
  41206. #. type: deftypevr
  41207. #: guix-git/doc/guix.texi:27082
  41208. #, no-wrap
  41209. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  41210. msgstr ""
  41211. #. type: deftypevr
  41212. #: guix-git/doc/guix.texi:27088
  41213. msgid "Whether to require encryption and certificate authentication. This provides ideal security, but requires servers you communicate with to support encryption AND present valid, trusted certificates. See @url{https://prosody.im/doc/s2s#security}. Defaults to @samp{#f}."
  41214. msgstr ""
  41215. #. type: deftypevr
  41216. #: guix-git/doc/guix.texi:27090
  41217. #, no-wrap
  41218. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  41219. msgstr ""
  41220. #. type: deftypevr
  41221. #: guix-git/doc/guix.texi:27096
  41222. msgid "Many servers don't support encryption or have invalid or self-signed certificates. You can list domains here that will not be required to authenticate using certificates. They will be authenticated using DNS@. See @url{https://prosody.im/doc/s2s#security}. Defaults to @samp{'()}."
  41223. msgstr ""
  41224. #. type: deftypevr
  41225. #: guix-git/doc/guix.texi:27098
  41226. #, no-wrap
  41227. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  41228. msgstr ""
  41229. #. type: deftypevr
  41230. #: guix-git/doc/guix.texi:27103
  41231. msgid "Even if you leave @code{s2s-secure-auth?} disabled, you can still require valid certificates for some domains by specifying a list here. See @url{https://prosody.im/doc/s2s#security}. Defaults to @samp{'()}."
  41232. msgstr ""
  41233. #. type: deftypevr
  41234. #: guix-git/doc/guix.texi:27105
  41235. #, no-wrap
  41236. msgid "{@code{prosody-configuration} parameter} string authentication"
  41237. msgstr ""
  41238. #. type: deftypevr
  41239. #: guix-git/doc/guix.texi:27113
  41240. msgid "Select the authentication backend to use. The default provider stores passwords in plaintext and uses Prosody's configured data storage to store the authentication data. If you do not trust your server please see @url{https://prosody.im/doc/modules/mod_auth_internal_hashed} for information about using the hashed backend. See also @url{https://prosody.im/doc/authentication} Defaults to @samp{\"internal_plain\"}."
  41241. msgstr ""
  41242. #. type: deftypevr
  41243. #: guix-git/doc/guix.texi:27115
  41244. #, no-wrap
  41245. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  41246. msgstr ""
  41247. #. type: deftypevr
  41248. #: guix-git/doc/guix.texi:27119
  41249. msgid "Set logging options. Advanced logging configuration is not yet supported by the Prosody service. See @url{https://prosody.im/doc/logging}. Defaults to @samp{\"*syslog\"}."
  41250. msgstr ""
  41251. #. type: deftypevr
  41252. #: guix-git/doc/guix.texi:27121
  41253. #, no-wrap
  41254. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  41255. msgstr ""
  41256. #. type: deftypevr
  41257. #: guix-git/doc/guix.texi:27124
  41258. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  41259. msgstr ""
  41260. #. type: deftypevr
  41261. #: guix-git/doc/guix.texi:27126
  41262. #, no-wrap
  41263. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  41264. msgstr ""
  41265. #. type: deftypevr
  41266. #: guix-git/doc/guix.texi:27128
  41267. msgid "Maximum allowed size of the HTTP body (in bytes)."
  41268. msgstr ""
  41269. #. type: deftypevr
  41270. #: guix-git/doc/guix.texi:27130
  41271. #, no-wrap
  41272. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  41273. msgstr ""
  41274. #. type: deftypevr
  41275. #: guix-git/doc/guix.texi:27135
  41276. msgid "Some modules expose their own URL in various ways. This URL is built from the protocol, host and port used. If Prosody sits behind a proxy, the public URL will be @code{http-external-url} instead. See @url{https://prosody.im/doc/http#external_url}."
  41277. msgstr ""
  41278. #. type: deftypevr
  41279. #: guix-git/doc/guix.texi:27137
  41280. #, no-wrap
  41281. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  41282. msgstr ""
  41283. #. type: deftypevr
  41284. #: guix-git/doc/guix.texi:27142
  41285. msgid "A host in Prosody is a domain on which user accounts can be created. For example if you want your users to have addresses like @samp{\"john.smith@@example.com\"} then you need to add a host @samp{\"example.com\"}. All options in this list will apply only to this host."
  41286. msgstr ""
  41287. #. type: quotation
  41288. #: guix-git/doc/guix.texi:27149
  41289. msgid "The name @emph{virtual} host is used in configuration to avoid confusion with the actual physical host that Prosody is installed on. A single Prosody instance can serve many domains, each one defined as a VirtualHost entry in Prosody's configuration. Conversely a server that hosts a single domain would have just one VirtualHost entry."
  41290. msgstr ""
  41291. #. type: quotation
  41292. #: guix-git/doc/guix.texi:27151
  41293. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  41294. msgstr ""
  41295. #. type: deftypevr
  41296. #: guix-git/doc/guix.texi:27154
  41297. msgid "Available @code{virtualhost-configuration} fields are:"
  41298. msgstr ""
  41299. #. type: deftypevr
  41300. #: guix-git/doc/guix.texi:27156 guix-git/doc/guix.texi:27178
  41301. #: guix-git/doc/guix.texi:27231
  41302. msgid "all these @code{prosody-configuration} fields: @code{admins}, @code{use-libevent?}, @code{modules-enabled}, @code{modules-disabled}, @code{groups-file}, @code{allow-registration?}, @code{ssl}, @code{c2s-require-encryption?}, @code{disable-sasl-mechanisms}, @code{s2s-require-encryption?}, @code{s2s-secure-auth?}, @code{s2s-insecure-domains}, @code{s2s-secure-domains}, @code{authentication}, @code{log}, @code{http-max-content-size}, @code{http-external-url}, @code{raw-content}, plus:"
  41303. msgstr ""
  41304. #. type: deftypevr
  41305. #: guix-git/doc/guix.texi:27156
  41306. #, no-wrap
  41307. msgid "{@code{virtualhost-configuration} parameter} string domain"
  41308. msgstr ""
  41309. #. type: deftypevr
  41310. #: guix-git/doc/guix.texi:27158
  41311. msgid "Domain you wish Prosody to serve."
  41312. msgstr ""
  41313. #. type: deftypevr
  41314. #: guix-git/doc/guix.texi:27162
  41315. #, no-wrap
  41316. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  41317. msgstr ""
  41318. #. type: deftypevr
  41319. #: guix-git/doc/guix.texi:27167
  41320. msgid "Components are extra services on a server which are available to clients, usually on a subdomain of the main server (such as @samp{\"mycomponent.example.com\"}). Example components might be chatroom servers, user directories, or gateways to other protocols."
  41321. msgstr ""
  41322. #. type: deftypevr
  41323. #: guix-git/doc/guix.texi:27171
  41324. msgid "Internal components are implemented with Prosody-specific plugins. To add an internal component, you simply fill the hostname field, and the plugin you wish to use for the component."
  41325. msgstr ""
  41326. #. type: deftypevr
  41327. #: guix-git/doc/guix.texi:27174
  41328. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{'()}."
  41329. msgstr ""
  41330. #. type: deftypevr
  41331. #: guix-git/doc/guix.texi:27176
  41332. msgid "Available @code{int-component-configuration} fields are:"
  41333. msgstr ""
  41334. #. type: deftypevr
  41335. #: guix-git/doc/guix.texi:27178
  41336. #, no-wrap
  41337. msgid "{@code{int-component-configuration} parameter} string hostname"
  41338. msgstr ""
  41339. #. type: deftypevr
  41340. #: guix-git/doc/guix.texi:27180 guix-git/doc/guix.texi:27237
  41341. msgid "Hostname of the component."
  41342. msgstr ""
  41343. #. type: deftypevr
  41344. #: guix-git/doc/guix.texi:27182
  41345. #, no-wrap
  41346. msgid "{@code{int-component-configuration} parameter} string plugin"
  41347. msgstr ""
  41348. #. type: deftypevr
  41349. #: guix-git/doc/guix.texi:27184
  41350. msgid "Plugin you wish to use for the component."
  41351. msgstr ""
  41352. #. type: deftypevr
  41353. #: guix-git/doc/guix.texi:27186
  41354. #, no-wrap
  41355. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  41356. msgstr ""
  41357. #. type: deftypevr
  41358. #: guix-git/doc/guix.texi:27189
  41359. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  41360. msgstr ""
  41361. #. type: deftypevr
  41362. #: guix-git/doc/guix.texi:27193
  41363. msgid "General information on setting up and using multi-user chatrooms can be found in the ``Chatrooms'' documentation (@url{https://prosody.im/doc/chatrooms}), which you should read if you are new to XMPP chatrooms."
  41364. msgstr ""
  41365. #. type: deftypevr
  41366. #: guix-git/doc/guix.texi:27195
  41367. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  41368. msgstr ""
  41369. #. type: deftypevr
  41370. #: guix-git/doc/guix.texi:27197
  41371. msgid "Available @code{mod-muc-configuration} fields are:"
  41372. msgstr ""
  41373. #. type: deftypevr
  41374. #: guix-git/doc/guix.texi:27198
  41375. #, no-wrap
  41376. msgid "{@code{mod-muc-configuration} parameter} string name"
  41377. msgstr ""
  41378. #. type: deftypevr
  41379. #: guix-git/doc/guix.texi:27201
  41380. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  41381. msgstr ""
  41382. #. type: deftypevr
  41383. #: guix-git/doc/guix.texi:27203
  41384. #, no-wrap
  41385. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  41386. msgstr ""
  41387. #. type: deftypevr
  41388. #: guix-git/doc/guix.texi:27210
  41389. msgid "If @samp{#t}, this will only allow admins to create new chatrooms. Otherwise anyone can create a room. The value @samp{\"local\"} restricts room creation to users on the service's parent domain. E.g.@: @samp{user@@example.com} can create rooms on @samp{rooms.example.com}. The value @samp{\"admin\"} restricts to service administrators only. Defaults to @samp{#f}."
  41390. msgstr ""
  41391. #. type: deftypevr
  41392. #: guix-git/doc/guix.texi:27212
  41393. #, no-wrap
  41394. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  41395. msgstr ""
  41396. #. type: deftypevr
  41397. #: guix-git/doc/guix.texi:27216
  41398. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  41399. msgstr ""
  41400. #. type: deftypevr
  41401. #: guix-git/doc/guix.texi:27222
  41402. #, no-wrap
  41403. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  41404. msgstr ""
  41405. #. type: deftypevr
  41406. #: guix-git/doc/guix.texi:27227
  41407. msgid "External components use XEP-0114, which most standalone components support. To add an external component, you simply fill the hostname field. See @url{https://prosody.im/doc/components}. Defaults to @samp{'()}."
  41408. msgstr ""
  41409. #. type: deftypevr
  41410. #: guix-git/doc/guix.texi:27229
  41411. msgid "Available @code{ext-component-configuration} fields are:"
  41412. msgstr ""
  41413. #. type: deftypevr
  41414. #: guix-git/doc/guix.texi:27231
  41415. #, no-wrap
  41416. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  41417. msgstr ""
  41418. #. type: deftypevr
  41419. #: guix-git/doc/guix.texi:27233
  41420. msgid "Password which the component will use to log in."
  41421. msgstr ""
  41422. #. type: deftypevr
  41423. #: guix-git/doc/guix.texi:27235
  41424. #, no-wrap
  41425. msgid "{@code{ext-component-configuration} parameter} string hostname"
  41426. msgstr ""
  41427. #. type: deftypevr
  41428. #: guix-git/doc/guix.texi:27241
  41429. #, no-wrap
  41430. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  41431. msgstr ""
  41432. #. type: deftypevr
  41433. #: guix-git/doc/guix.texi:27244
  41434. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{'(5347)}."
  41435. msgstr ""
  41436. #. type: deftypevr
  41437. #: guix-git/doc/guix.texi:27246
  41438. #, no-wrap
  41439. msgid "{@code{prosody-configuration} parameter} string component-interface"
  41440. msgstr ""
  41441. #. type: deftypevr
  41442. #: guix-git/doc/guix.texi:27249
  41443. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  41444. msgstr ""
  41445. #. type: deftypevr
  41446. #: guix-git/doc/guix.texi:27251
  41447. #, no-wrap
  41448. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  41449. msgstr ""
  41450. #. type: deftypevr
  41451. #: guix-git/doc/guix.texi:27253
  41452. msgid "Raw content that will be added to the configuration file."
  41453. msgstr ""
  41454. #. type: Plain text
  41455. #: guix-git/doc/guix.texi:27261
  41456. msgid "It could be that you just want to get a @code{prosody.cfg.lua} up and running. In that case, you can pass an @code{opaque-prosody-configuration} record as the value of @code{prosody-service-type}. As its name indicates, an opaque configuration does not have easy reflective capabilities. Available @code{opaque-prosody-configuration} fields are:"
  41457. msgstr ""
  41458. #. type: deftypevr
  41459. #: guix-git/doc/guix.texi:27262
  41460. #, no-wrap
  41461. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  41462. msgstr ""
  41463. #. type: deftypevr
  41464. #: guix-git/doc/guix.texi:27264
  41465. msgid "The prosody package."
  41466. msgstr ""
  41467. #. type: deftypevr
  41468. #: guix-git/doc/guix.texi:27266
  41469. #, no-wrap
  41470. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  41471. msgstr ""
  41472. #. type: deftypevr
  41473. #: guix-git/doc/guix.texi:27268
  41474. msgid "The contents of the @code{prosody.cfg.lua} to use."
  41475. msgstr ""
  41476. #. type: Plain text
  41477. #: guix-git/doc/guix.texi:27272
  41478. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  41479. msgstr ""
  41480. #. type: lisp
  41481. #: guix-git/doc/guix.texi:27277
  41482. #, no-wrap
  41483. msgid ""
  41484. "(service prosody-service-type\n"
  41485. " (opaque-prosody-configuration\n"
  41486. " (prosody.cfg.lua \"\")))\n"
  41487. msgstr ""
  41488. #. type: subsubheading
  41489. #: guix-git/doc/guix.texi:27281
  41490. #, no-wrap
  41491. msgid "BitlBee Service"
  41492. msgstr ""
  41493. #. type: cindex
  41494. #: guix-git/doc/guix.texi:27283 guix-git/doc/guix.texi:27327
  41495. #, no-wrap
  41496. msgid "IRC (Internet Relay Chat)"
  41497. msgstr ""
  41498. #. type: cindex
  41499. #: guix-git/doc/guix.texi:27284
  41500. #, no-wrap
  41501. msgid "IRC gateway"
  41502. msgstr ""
  41503. #. type: Plain text
  41504. #: guix-git/doc/guix.texi:27287
  41505. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  41506. msgstr ""
  41507. #. type: defvar
  41508. #: guix-git/doc/guix.texi:27288
  41509. #, fuzzy, no-wrap
  41510. #| msgid "guix-publish-service-type"
  41511. msgid "bitlbee-service-type"
  41512. msgstr "guix-publish-service-type"
  41513. #. type: defvar
  41514. #: guix-git/doc/guix.texi:27292
  41515. msgid "This is the service type for the @url{https://bitlbee.org,BitlBee} IRC gateway daemon. Its value is a @code{bitlbee-configuration} (see below)."
  41516. msgstr ""
  41517. #. type: defvar
  41518. #: guix-git/doc/guix.texi:27295
  41519. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  41520. msgstr ""
  41521. #. type: lisp
  41522. #: guix-git/doc/guix.texi:27298
  41523. #, no-wrap
  41524. msgid "(service bitlbee-service-type)\n"
  41525. msgstr ""
  41526. #. type: deftp
  41527. #: guix-git/doc/guix.texi:27301
  41528. #, no-wrap
  41529. msgid "{Data Type} bitlbee-configuration"
  41530. msgstr ""
  41531. #. type: deftp
  41532. #: guix-git/doc/guix.texi:27303
  41533. msgid "This is the configuration for BitlBee, with the following fields:"
  41534. msgstr ""
  41535. #. type: item
  41536. #: guix-git/doc/guix.texi:27305
  41537. #, no-wrap
  41538. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  41539. msgstr ""
  41540. #. type: itemx
  41541. #: guix-git/doc/guix.texi:27306
  41542. #, no-wrap
  41543. msgid "@code{port} (default: @code{6667})"
  41544. msgstr "@code{porta} (default: @code{6667})"
  41545. #. type: table
  41546. #: guix-git/doc/guix.texi:27309
  41547. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  41548. msgstr ""
  41549. #. type: table
  41550. #: guix-git/doc/guix.texi:27313
  41551. msgid "When @var{interface} is @code{127.0.0.1}, only local clients can connect; when it is @code{0.0.0.0}, connections can come from any networking interface."
  41552. msgstr ""
  41553. #. type: item
  41554. #: guix-git/doc/guix.texi:27314
  41555. #, no-wrap
  41556. msgid "@code{bitlbee} (default: @code{bitlbee})"
  41557. msgstr ""
  41558. #. type: table
  41559. #: guix-git/doc/guix.texi:27316
  41560. msgid "The BitlBee package to use."
  41561. msgstr ""
  41562. #. type: item
  41563. #: guix-git/doc/guix.texi:27317
  41564. #, no-wrap
  41565. msgid "@code{plugins} (default: @code{'()})"
  41566. msgstr ""
  41567. #. type: table
  41568. #: guix-git/doc/guix.texi:27319
  41569. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  41570. msgstr ""
  41571. #. type: table
  41572. #: guix-git/doc/guix.texi:27322
  41573. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  41574. msgstr ""
  41575. #. type: subsubheading
  41576. #: guix-git/doc/guix.texi:27325
  41577. #, no-wrap
  41578. msgid "Quassel Service"
  41579. msgstr ""
  41580. #. type: Plain text
  41581. #: guix-git/doc/guix.texi:27331
  41582. msgid "@url{https://quassel-irc.org/,Quassel} is a distributed IRC client, meaning that one or more clients can attach to and detach from the central core."
  41583. msgstr ""
  41584. #. type: defvar
  41585. #: guix-git/doc/guix.texi:27332
  41586. #, fuzzy, no-wrap
  41587. #| msgid "guix-publish-service-type"
  41588. msgid "quassel-service-type"
  41589. msgstr "guix-publish-service-type"
  41590. #. type: defvar
  41591. #: guix-git/doc/guix.texi:27336
  41592. msgid "This is the service type for the @url{https://quassel-irc.org/,Quassel} IRC backend daemon. Its value is a @code{quassel-configuration} (see below)."
  41593. msgstr ""
  41594. #. type: deftp
  41595. #: guix-git/doc/guix.texi:27338
  41596. #, no-wrap
  41597. msgid "{Data Type} quassel-configuration"
  41598. msgstr ""
  41599. #. type: deftp
  41600. #: guix-git/doc/guix.texi:27340
  41601. msgid "This is the configuration for Quassel, with the following fields:"
  41602. msgstr ""
  41603. #. type: item
  41604. #: guix-git/doc/guix.texi:27342
  41605. #, no-wrap
  41606. msgid "@code{quassel} (default: @code{quassel})"
  41607. msgstr ""
  41608. #. type: table
  41609. #: guix-git/doc/guix.texi:27344
  41610. msgid "The Quassel package to use."
  41611. msgstr ""
  41612. #. type: item
  41613. #: guix-git/doc/guix.texi:27345
  41614. #, no-wrap
  41615. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  41616. msgstr ""
  41617. #. type: item
  41618. #: guix-git/doc/guix.texi:27346
  41619. #, no-wrap
  41620. msgid "@code{port} (default: @code{4242})"
  41621. msgstr ""
  41622. #. type: table
  41623. #: guix-git/doc/guix.texi:27350
  41624. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  41625. msgstr ""
  41626. #. type: item
  41627. #: guix-git/doc/guix.texi:27351
  41628. #, no-wrap
  41629. msgid "@code{loglevel} (default: @code{\"Info\"})"
  41630. msgstr ""
  41631. #. type: table
  41632. #: guix-git/doc/guix.texi:27354
  41633. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  41634. msgstr ""
  41635. #. type: cindex
  41636. #: guix-git/doc/guix.texi:27360
  41637. #, no-wrap
  41638. msgid "telephony, services"
  41639. msgstr "telefonia, serviços"
  41640. #. type: Plain text
  41641. #: guix-git/doc/guix.texi:27364
  41642. msgid "The @code{(gnu services telephony)} module contains Guix service definitions for telephony services. Currently it provides the following services:"
  41643. msgstr ""
  41644. #. type: subsubheading
  41645. #: guix-git/doc/guix.texi:27365
  41646. #, no-wrap
  41647. msgid "Jami"
  41648. msgstr ""
  41649. #. type: cindex
  41650. #: guix-git/doc/guix.texi:27367
  41651. #, fuzzy, no-wrap
  41652. #| msgid "Mail Services"
  41653. msgid "jami, service"
  41654. msgstr "Serviços de correio"
  41655. #. type: Plain text
  41656. #: guix-git/doc/guix.texi:27373
  41657. msgid "This section describes how to configure a Jami server that can be used to host video (or audio) conferences, among other uses. The following example demonstrates how to specify Jami account archives (backups) to be provisioned automatically:"
  41658. msgstr ""
  41659. #. type: lisp
  41660. #: guix-git/doc/guix.texi:27382
  41661. #, no-wrap
  41662. msgid ""
  41663. "(service jami-service-type\n"
  41664. " (jami-configuration\n"
  41665. " (accounts\n"
  41666. " (list (jami-account\n"
  41667. " (archive \"/etc/jami/unencrypted-account-1.gz\"))\n"
  41668. " (jami-account\n"
  41669. " (archive \"/etc/jami/unencrypted-account-2.gz\"))))))\n"
  41670. msgstr ""
  41671. #. type: Plain text
  41672. #: guix-git/doc/guix.texi:27387
  41673. msgid "When the accounts field is specified, the Jami account files of the service found under @file{/var/lib/jami} are recreated every time the service starts."
  41674. msgstr ""
  41675. #. type: Plain text
  41676. #: guix-git/doc/guix.texi:27392
  41677. msgid "Jami accounts and their corresponding backup archives can be generated using the @code{jami} or @code{jami-gnome} Jami clients. The accounts should not be password-protected, but it is wise to ensure their files are only readable by @samp{root}."
  41678. msgstr ""
  41679. #. type: Plain text
  41680. #: guix-git/doc/guix.texi:27395
  41681. msgid "The next example shows how to declare that only some contacts should be allowed to communicate with a given account:"
  41682. msgstr ""
  41683. #. type: lisp
  41684. #: guix-git/doc/guix.texi:27407
  41685. #, no-wrap
  41686. msgid ""
  41687. "(service jami-service-type\n"
  41688. " (jami-configuration\n"
  41689. " (accounts\n"
  41690. " (list (jami-account\n"
  41691. " (archive \"/etc/jami/unencrypted-account-1.gz\")\n"
  41692. " (peer-discovery? #t)\n"
  41693. " (rendezvous-point? #t)\n"
  41694. " (allowed-contacts\n"
  41695. " '(\"1dbcb0f5f37324228235564b79f2b9737e9a008f\"\n"
  41696. " \"2dbcb0f5f37324228235564b79f2b9737e9a008f\")))))))\n"
  41697. msgstr ""
  41698. #. type: Plain text
  41699. #: guix-git/doc/guix.texi:27413
  41700. msgid "In this mode, only the declared @code{allowed-contacts} can initiate communication with the Jami account. This can be used, for example, with rendezvous point accounts to create a private video conferencing space."
  41701. msgstr ""
  41702. #. type: Plain text
  41703. #: guix-git/doc/guix.texi:27416
  41704. msgid "To put the system administrator in full control of the conferences hosted on their system, the Jami service supports the following actions:"
  41705. msgstr ""
  41706. #. type: example
  41707. #: guix-git/doc/guix.texi:27428
  41708. #, no-wrap
  41709. msgid ""
  41710. "# herd doc jami list-actions\n"
  41711. "(list-accounts\n"
  41712. " list-account-details\n"
  41713. " list-banned-contacts\n"
  41714. " list-contacts\n"
  41715. " list-moderators\n"
  41716. " add-moderator\n"
  41717. " ban-contact\n"
  41718. " enable-account\n"
  41719. " disable-account)\n"
  41720. msgstr ""
  41721. #. type: Plain text
  41722. #: guix-git/doc/guix.texi:27435
  41723. msgid "The above actions aim to provide the most valuable actions for moderation purposes, not to cover the whole Jami API. Users wanting to interact with the Jami daemon from Guile may be interested in experimenting with the @code{(gnu build jami-service)} module, which powers the above Shepherd actions."
  41724. msgstr ""
  41725. #. type: Plain text
  41726. #: guix-git/doc/guix.texi:27441
  41727. msgid "The @code{add-moderator} and @code{ban-contact} actions accept a contact @emph{fingerprint} (40 characters long hash) as first argument and an account fingerprint or username as second argument:"
  41728. msgstr ""
  41729. #. type: example
  41730. #: guix-git/doc/guix.texi:27445
  41731. #, no-wrap
  41732. msgid ""
  41733. "# herd add-moderator jami 1dbcb0f5f37324228235564b79f2b9737e9a008f \\\n"
  41734. " f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  41735. "\n"
  41736. msgstr ""
  41737. #. type: example
  41738. #: guix-git/doc/guix.texi:27449
  41739. #, no-wrap
  41740. msgid ""
  41741. "# herd list-moderators jami\n"
  41742. "Moderators for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  41743. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  41744. "\n"
  41745. msgstr ""
  41746. #. type: Plain text
  41747. #: guix-git/doc/guix.texi:27454
  41748. msgid "In the case of @code{ban-contact}, the second username argument is optional; when omitted, the account is banned from all Jami accounts:"
  41749. msgstr ""
  41750. #. type: example
  41751. #: guix-git/doc/guix.texi:27457
  41752. #, no-wrap
  41753. msgid ""
  41754. "# herd ban-contact jami 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  41755. "\n"
  41756. msgstr ""
  41757. #. type: example
  41758. #: guix-git/doc/guix.texi:27461
  41759. #, no-wrap
  41760. msgid ""
  41761. "# herd list-banned-contacts jami\n"
  41762. "Banned contacts for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  41763. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  41764. "\n"
  41765. msgstr ""
  41766. #. type: Plain text
  41767. #: guix-git/doc/guix.texi:27465
  41768. msgid "Banned contacts are also stripped from their moderation privileges."
  41769. msgstr ""
  41770. #. type: Plain text
  41771. #: guix-git/doc/guix.texi:27470
  41772. msgid "The @code{disable-account} action allows to completely disconnect an account from the network, making it unreachable, while @code{enable-account} does the inverse. They accept a single account username or fingerprint as first argument:"
  41773. msgstr ""
  41774. #. type: example
  41775. #: guix-git/doc/guix.texi:27473
  41776. #, no-wrap
  41777. msgid ""
  41778. "# herd disable-account jami f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  41779. "\n"
  41780. msgstr ""
  41781. #. type: example
  41782. #: guix-git/doc/guix.texi:27477
  41783. #, no-wrap
  41784. msgid ""
  41785. "# herd list-accounts jami\n"
  41786. "The following Jami accounts are available:\n"
  41787. " - f3345f2775ddfe07a4b0d95daea111d15fbc1199 (dummy) [disabled]\n"
  41788. "\n"
  41789. msgstr ""
  41790. #. type: Plain text
  41791. #: guix-git/doc/guix.texi:27488
  41792. msgid "The @code{list-account-details} action prints the detailed parameters of each accounts in the Recutils format, which means the @command{recsel} command can be used to select accounts of interest (@pxref{Selection Expressions,,,recutils, GNU recutils manual}). Note that period characters (@samp{.}) found in the account parameter keys are mapped to underscores (@samp{_}) in the output, to meet the requirements of the Recutils format. The following example shows how to print the account fingerprints for all accounts operating in the rendezvous point mode:"
  41793. msgstr ""
  41794. #. type: example
  41795. #: guix-git/doc/guix.texi:27493
  41796. #, no-wrap
  41797. msgid ""
  41798. "# herd list-account-details jami | \\\n"
  41799. " recsel -p Account.username -e 'Account.rendezVous ~ \"true\"'\n"
  41800. "Account_username: f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  41801. msgstr ""
  41802. #. type: Plain text
  41803. #: guix-git/doc/guix.texi:27496
  41804. msgid "The remaining actions should be self-explanatory."
  41805. msgstr ""
  41806. #. type: Plain text
  41807. #: guix-git/doc/guix.texi:27498
  41808. msgid "The complete set of available configuration options is detailed below."
  41809. msgstr ""
  41810. #. type: deftp
  41811. #: guix-git/doc/guix.texi:27502
  41812. #, fuzzy, no-wrap
  41813. msgid "{Data Type} jami-configuration"
  41814. msgstr "build-machine {Data Type}"
  41815. #. type: deftp
  41816. #: guix-git/doc/guix.texi:27504
  41817. msgid "Available @code{jami-configuration} fields are:"
  41818. msgstr ""
  41819. #. type: item
  41820. #: guix-git/doc/guix.texi:27506
  41821. #, fuzzy, no-wrap
  41822. msgid "@code{libjami} (default: @code{libjami}) (type: package)"
  41823. msgstr "@code{tmpdir} (default: @code{#f})"
  41824. #. type: table
  41825. #: guix-git/doc/guix.texi:27508
  41826. #, fuzzy
  41827. msgid "The Jami daemon package to use."
  41828. msgstr "O pacote GPM a ser usado."
  41829. #. type: item
  41830. #: guix-git/doc/guix.texi:27509
  41831. #, fuzzy, no-wrap
  41832. #| msgid "@code{dbus?} (default: @code{#t})"
  41833. msgid "@code{dbus} (default: @code{dbus-for-jami}) (type: package)"
  41834. msgstr "@code{dbus?} (padrão: @code{#t})"
  41835. #. type: table
  41836. #: guix-git/doc/guix.texi:27511
  41837. msgid "The D-Bus package to use to start the required D-Bus session."
  41838. msgstr ""
  41839. #. type: item
  41840. #: guix-git/doc/guix.texi:27512
  41841. #, fuzzy, no-wrap
  41842. #| msgid "@code{users} (default: @code{#f})"
  41843. msgid "@code{nss-certs} (default: @code{nss-certs}) (type: package)"
  41844. msgstr "@code{users} (default: @code{#f})"
  41845. #. type: table
  41846. #: guix-git/doc/guix.texi:27514
  41847. msgid "The nss-certs package to use to provide TLS certificates."
  41848. msgstr ""
  41849. #. type: item
  41850. #: guix-git/doc/guix.texi:27515
  41851. #, fuzzy, no-wrap
  41852. #| msgid "@code{wait?} (default: @code{#t})"
  41853. msgid "@code{enable-logging?} (default: @code{#t}) (type: boolean)"
  41854. msgstr "@code{wait?} (padrão: @code{#t})"
  41855. #. type: table
  41856. #: guix-git/doc/guix.texi:27517
  41857. msgid "Whether to enable logging to syslog."
  41858. msgstr ""
  41859. #. type: table
  41860. #: guix-git/doc/guix.texi:27520
  41861. msgid "Whether to enable debug level messages."
  41862. msgstr ""
  41863. #. type: item
  41864. #: guix-git/doc/guix.texi:27521
  41865. #, fuzzy, no-wrap
  41866. #| msgid "@code{users} (default: @code{#f})"
  41867. msgid "@code{auto-answer?} (default: @code{#f}) (type: boolean)"
  41868. msgstr "@code{users} (default: @code{#f})"
  41869. #. type: table
  41870. #: guix-git/doc/guix.texi:27523
  41871. msgid "Whether to force automatic answer to incoming calls."
  41872. msgstr ""
  41873. #. type: item
  41874. #: guix-git/doc/guix.texi:27524
  41875. #, no-wrap
  41876. msgid "@code{accounts} (type: maybe-jami-account-list)"
  41877. msgstr ""
  41878. #. type: table
  41879. #: guix-git/doc/guix.texi:27529
  41880. msgid "A list of Jami accounts to be (re-)provisioned every time the Jami daemon service starts. When providing this field, the account directories under @file{/var/lib/jami/} are recreated every time the service starts, ensuring a consistent state."
  41881. msgstr ""
  41882. #. type: deftp
  41883. #: guix-git/doc/guix.texi:27535
  41884. #, fuzzy, no-wrap
  41885. msgid "{Data Type} jami-account"
  41886. msgstr "build-machine {Data Type}"
  41887. #. type: deftp
  41888. #: guix-git/doc/guix.texi:27537
  41889. msgid "Available @code{jami-account} fields are:"
  41890. msgstr ""
  41891. #. type: item
  41892. #: guix-git/doc/guix.texi:27539
  41893. #, no-wrap
  41894. msgid "@code{archive} (type: string-or-computed-file)"
  41895. msgstr ""
  41896. #. type: table
  41897. #: guix-git/doc/guix.texi:27545
  41898. msgid "The account archive (backup) file name of the account. This is used to provision the account when the service starts. The account archive should @emph{not} be encrypted. It is highly recommended to make it readable only to the @samp{root} user (i.e., not in the store), to guard against leaking the secret key material of the Jami account it contains."
  41899. msgstr ""
  41900. #. type: item
  41901. #: guix-git/doc/guix.texi:27546
  41902. #, no-wrap
  41903. msgid "@code{allowed-contacts} (type: maybe-account-fingerprint-list)"
  41904. msgstr ""
  41905. #. type: table
  41906. #: guix-git/doc/guix.texi:27553
  41907. msgid "The list of allowed contacts for the account, entered as their 40 characters long fingerprint. Messages or calls from accounts not in that list will be rejected. When left specified, the configuration of the account archive is used as-is with respect to contacts and public inbound calls/messaging allowance, which typically defaults to allow any contact to communicate with the account."
  41908. msgstr ""
  41909. #. type: item
  41910. #: guix-git/doc/guix.texi:27554
  41911. #, no-wrap
  41912. msgid "@code{moderators} (type: maybe-account-fingerprint-list)"
  41913. msgstr ""
  41914. #. type: table
  41915. #: guix-git/doc/guix.texi:27560
  41916. msgid "The list of contacts that should have moderation privileges (to ban, mute, etc. other users) in rendezvous conferences, entered as their 40 characters long fingerprint. When left unspecified, the configuration of the account archive is used as-is with respect to moderation, which typically defaults to allow anyone to moderate."
  41917. msgstr ""
  41918. #. type: item
  41919. #: guix-git/doc/guix.texi:27561
  41920. #, fuzzy, no-wrap
  41921. #| msgid "@code{no-hints?} (default: @code{#f})"
  41922. msgid "@code{rendezvous-point?} (type: maybe-boolean)"
  41923. msgstr "@code{no-hints?} (padrão: @code{#f})"
  41924. #. type: table
  41925. #: guix-git/doc/guix.texi:27565
  41926. msgid "Whether the account should operate in the rendezvous mode. In this mode, all the incoming audio/video calls are mixed into a conference. When left unspecified, the value from the account archive prevails."
  41927. msgstr ""
  41928. #. type: item
  41929. #: guix-git/doc/guix.texi:27566
  41930. #, fuzzy, no-wrap
  41931. msgid "@code{peer-discovery?} (type: maybe-boolean)"
  41932. msgstr "@code{chdir} (default: @code{#f})"
  41933. #. type: table
  41934. #: guix-git/doc/guix.texi:27572
  41935. msgid "Whether peer discovery should be enabled. Peer discovery is used to discover other OpenDHT nodes on the local network, which can be useful to maintain communication between devices on such network even when the connection to the Internet has been lost. When left unspecified, the value from the account archive prevails."
  41936. msgstr ""
  41937. #. type: item
  41938. #: guix-git/doc/guix.texi:27573
  41939. #, fuzzy, no-wrap
  41940. msgid "@code{bootstrap-hostnames} (type: maybe-string-list)"
  41941. msgstr "@code{options} (default: @code{#f})"
  41942. #. type: table
  41943. #: guix-git/doc/guix.texi:27577
  41944. msgid "A list of hostnames or IPs pointing to OpenDHT nodes, that should be used to initially join the OpenDHT network. When left unspecified, the value from the account archive prevails."
  41945. msgstr ""
  41946. #. type: item
  41947. #: guix-git/doc/guix.texi:27578
  41948. #, fuzzy, no-wrap
  41949. msgid "@code{name-server-uri} (type: maybe-string)"
  41950. msgstr "@code{remote?} (padrão: @code{#f})"
  41951. #. type: table
  41952. #: guix-git/doc/guix.texi:27581
  41953. msgid "The URI of the name server to use, that can be used to retrieve the account fingerprint for a registered username."
  41954. msgstr ""
  41955. #. type: subsubheading
  41956. #: guix-git/doc/guix.texi:27586
  41957. #, fuzzy, no-wrap
  41958. #| msgid "Game servers."
  41959. msgid "Mumble server"
  41960. msgstr "Servidores de jogos."
  41961. #. type: cindex
  41962. #: guix-git/doc/guix.texi:27588
  41963. #, no-wrap
  41964. msgid "Mumble"
  41965. msgstr ""
  41966. #. type: cindex
  41967. #: guix-git/doc/guix.texi:27589
  41968. #, no-wrap
  41969. msgid "Murmur"
  41970. msgstr ""
  41971. #. type: cindex
  41972. #: guix-git/doc/guix.texi:27590
  41973. #, no-wrap
  41974. msgid "VoIP server"
  41975. msgstr ""
  41976. #. type: Plain text
  41977. #: guix-git/doc/guix.texi:27593
  41978. msgid "This section describes how to set up and run a @uref{https://mumble.info, Mumble} server (formerly known as Murmur)."
  41979. msgstr ""
  41980. #. type: deftp
  41981. #: guix-git/doc/guix.texi:27594
  41982. #, fuzzy, no-wrap
  41983. msgid "{Data Type} mumble-server-configuration"
  41984. msgstr "build-machine {Data Type}"
  41985. #. type: deftp
  41986. #: guix-git/doc/guix.texi:27597
  41987. msgid "The service type for the Mumble server. An example configuration can look like this:"
  41988. msgstr ""
  41989. #. type: lisp
  41990. #: guix-git/doc/guix.texi:27606
  41991. #, no-wrap
  41992. msgid ""
  41993. "(service mumble-server-service-type\n"
  41994. " (mumble-server-configuration\n"
  41995. " (welcome-text\n"
  41996. " \"Welcome to this Mumble server running on Guix!\")\n"
  41997. " (cert-required? #t) ;disallow text password logins\n"
  41998. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  41999. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  42000. msgstr ""
  42001. #. type: deftp
  42002. #: guix-git/doc/guix.texi:27611
  42003. msgid "After reconfiguring your system, you can manually set the mumble-server @code{SuperUser} password with the command that is printed during the activation phase."
  42004. msgstr ""
  42005. #. type: deftp
  42006. #: guix-git/doc/guix.texi:27620
  42007. msgid "It is recommended to register a normal Mumble user account and grant it admin or moderator rights. You can use the @code{mumble} client to login as new normal user, register yourself, and log out. For the next step login with the name @code{SuperUser} use the @code{SuperUser} password that you set previously, and grant your newly registered mumble user administrator or moderator rights and create some channels."
  42008. msgstr ""
  42009. #. type: deftp
  42010. #: guix-git/doc/guix.texi:27622
  42011. msgid "Available @code{mumble-server-configuration} fields are:"
  42012. msgstr ""
  42013. #. type: item
  42014. #: guix-git/doc/guix.texi:27624
  42015. #, no-wrap
  42016. msgid "@code{package} (default: @code{mumble})"
  42017. msgstr ""
  42018. #. type: table
  42019. #: guix-git/doc/guix.texi:27626
  42020. msgid "Package that contains @code{bin/mumble-server}."
  42021. msgstr ""
  42022. #. type: item
  42023. #: guix-git/doc/guix.texi:27627
  42024. #, fuzzy, no-wrap
  42025. #| msgid "@code{users} (default: @code{#f})"
  42026. msgid "@code{user} (default: @code{\"mumble-server\"})"
  42027. msgstr "@code{users} (default: @code{#f})"
  42028. #. type: table
  42029. #: guix-git/doc/guix.texi:27629
  42030. msgid "User who will run the Mumble-Server server."
  42031. msgstr ""
  42032. #. type: item
  42033. #: guix-git/doc/guix.texi:27630
  42034. #, fuzzy, no-wrap
  42035. #| msgid "@code{hangup?} (default: @code{#f})"
  42036. msgid "@code{group} (default: @code{\"mumble-server\"})"
  42037. msgstr "@code{hangup?} (padrão: @code{#f})"
  42038. #. type: table
  42039. #: guix-git/doc/guix.texi:27632
  42040. msgid "Group of the user who will run the mumble-server server."
  42041. msgstr ""
  42042. #. type: item
  42043. #: guix-git/doc/guix.texi:27633
  42044. #, no-wrap
  42045. msgid "@code{port} (default: @code{64738})"
  42046. msgstr "@code{porta} (default: @code{64738})"
  42047. #. type: table
  42048. #: guix-git/doc/guix.texi:27635
  42049. msgid "Port on which the server will listen."
  42050. msgstr ""
  42051. #. type: item
  42052. #: guix-git/doc/guix.texi:27636
  42053. #, no-wrap
  42054. msgid "@code{welcome-text} (default: @code{\"\"})"
  42055. msgstr ""
  42056. #. type: table
  42057. #: guix-git/doc/guix.texi:27638
  42058. msgid "Welcome text sent to clients when they connect."
  42059. msgstr ""
  42060. #. type: item
  42061. #: guix-git/doc/guix.texi:27639
  42062. #, no-wrap
  42063. msgid "@code{server-password} (default: @code{\"\"})"
  42064. msgstr ""
  42065. #. type: table
  42066. #: guix-git/doc/guix.texi:27641
  42067. msgid "Password the clients have to enter in order to connect."
  42068. msgstr ""
  42069. #. type: item
  42070. #: guix-git/doc/guix.texi:27642
  42071. #, no-wrap
  42072. msgid "@code{max-users} (default: @code{100})"
  42073. msgstr ""
  42074. #. type: table
  42075. #: guix-git/doc/guix.texi:27644
  42076. msgid "Maximum of users that can be connected to the server at once."
  42077. msgstr ""
  42078. #. type: item
  42079. #: guix-git/doc/guix.texi:27645
  42080. #, no-wrap
  42081. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  42082. msgstr ""
  42083. #. type: table
  42084. #: guix-git/doc/guix.texi:27647
  42085. msgid "Maximum voice traffic a user can send per second."
  42086. msgstr ""
  42087. #. type: item
  42088. #: guix-git/doc/guix.texi:27648
  42089. #, fuzzy, no-wrap
  42090. msgid "@code{database-file} (default: @code{\"/var/lib/mumble-server/db.sqlite\"})"
  42091. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  42092. #. type: table
  42093. #: guix-git/doc/guix.texi:27651
  42094. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  42095. msgstr ""
  42096. #. type: item
  42097. #: guix-git/doc/guix.texi:27652
  42098. #, fuzzy, no-wrap
  42099. msgid "@code{log-file} (default: @code{\"/var/log/mumble-server/mumble-server.log\"})"
  42100. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  42101. #. type: table
  42102. #: guix-git/doc/guix.texi:27655
  42103. msgid "File name of the log file. The service's user will become the owner of the directory."
  42104. msgstr ""
  42105. #. type: item
  42106. #: guix-git/doc/guix.texi:27656
  42107. #, no-wrap
  42108. msgid "@code{autoban-attempts} (default: @code{10})"
  42109. msgstr ""
  42110. #. type: table
  42111. #: guix-git/doc/guix.texi:27659
  42112. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  42113. msgstr ""
  42114. #. type: item
  42115. #: guix-git/doc/guix.texi:27660
  42116. #, no-wrap
  42117. msgid "@code{autoban-timeframe} (default: @code{120})"
  42118. msgstr ""
  42119. #. type: table
  42120. #: guix-git/doc/guix.texi:27662
  42121. msgid "Timeframe for autoban in seconds."
  42122. msgstr ""
  42123. #. type: item
  42124. #: guix-git/doc/guix.texi:27663
  42125. #, no-wrap
  42126. msgid "@code{autoban-time} (default: @code{300})"
  42127. msgstr ""
  42128. #. type: table
  42129. #: guix-git/doc/guix.texi:27666
  42130. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  42131. msgstr ""
  42132. #. type: item
  42133. #: guix-git/doc/guix.texi:27667
  42134. #, no-wrap
  42135. msgid "@code{opus-threshold} (default: @code{100})"
  42136. msgstr ""
  42137. #. type: table
  42138. #: guix-git/doc/guix.texi:27670
  42139. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  42140. msgstr ""
  42141. #. type: item
  42142. #: guix-git/doc/guix.texi:27671
  42143. #, no-wrap
  42144. msgid "@code{channel-nesting-limit} (default: @code{10})"
  42145. msgstr ""
  42146. #. type: table
  42147. #: guix-git/doc/guix.texi:27673
  42148. msgid "How deep channels can be nested at maximum."
  42149. msgstr ""
  42150. #. type: item
  42151. #: guix-git/doc/guix.texi:27674
  42152. #, no-wrap
  42153. msgid "@code{channelname-regex} (default: @code{#f})"
  42154. msgstr ""
  42155. #. type: table
  42156. #: guix-git/doc/guix.texi:27676
  42157. msgid "A string in form of a Qt regular expression that channel names must conform to."
  42158. msgstr ""
  42159. #. type: item
  42160. #: guix-git/doc/guix.texi:27677
  42161. #, no-wrap
  42162. msgid "@code{username-regex} (default: @code{#f})"
  42163. msgstr ""
  42164. #. type: table
  42165. #: guix-git/doc/guix.texi:27679
  42166. msgid "A string in form of a Qt regular expression that user names must conform to."
  42167. msgstr ""
  42168. #. type: item
  42169. #: guix-git/doc/guix.texi:27680
  42170. #, no-wrap
  42171. msgid "@code{text-message-length} (default: @code{5000})"
  42172. msgstr ""
  42173. #. type: table
  42174. #: guix-git/doc/guix.texi:27682
  42175. msgid "Maximum size in bytes that a user can send in one text chat message."
  42176. msgstr ""
  42177. #. type: item
  42178. #: guix-git/doc/guix.texi:27683
  42179. #, no-wrap
  42180. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  42181. msgstr ""
  42182. #. type: table
  42183. #: guix-git/doc/guix.texi:27685
  42184. msgid "Maximum size in bytes that a user can send in one image message."
  42185. msgstr ""
  42186. #. type: item
  42187. #: guix-git/doc/guix.texi:27686
  42188. #, no-wrap
  42189. msgid "@code{cert-required?} (default: @code{#f})"
  42190. msgstr ""
  42191. #. type: table
  42192. #: guix-git/doc/guix.texi:27689
  42193. msgid "If it is set to @code{#t} clients that use weak password authentication will not be accepted. Users must have completed the certificate wizard to join."
  42194. msgstr ""
  42195. #. type: item
  42196. #: guix-git/doc/guix.texi:27690
  42197. #, no-wrap
  42198. msgid "@code{remember-channel?} (default: @code{#f})"
  42199. msgstr "@code{remember-channel?} (padrão: @code{#f})"
  42200. #. type: table
  42201. #: guix-git/doc/guix.texi:27694
  42202. msgid "Should mumble-server remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  42203. msgstr ""
  42204. #. type: item
  42205. #: guix-git/doc/guix.texi:27695
  42206. #, no-wrap
  42207. msgid "@code{allow-html?} (default: @code{#f})"
  42208. msgstr ""
  42209. #. type: table
  42210. #: guix-git/doc/guix.texi:27697
  42211. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  42212. msgstr ""
  42213. #. type: item
  42214. #: guix-git/doc/guix.texi:27698
  42215. #, no-wrap
  42216. msgid "@code{allow-ping?} (default: @code{#f})"
  42217. msgstr ""
  42218. #. type: table
  42219. #: guix-git/doc/guix.texi:27702
  42220. msgid "Setting to true exposes the current user count, the maximum user count, and the server's maximum bandwidth per client to unauthenticated users. In the Mumble client, this information is shown in the Connect dialog."
  42221. msgstr ""
  42222. #. type: table
  42223. #: guix-git/doc/guix.texi:27704
  42224. msgid "Disabling this setting will prevent public listing of the server."
  42225. msgstr ""
  42226. #. type: item
  42227. #: guix-git/doc/guix.texi:27705
  42228. #, no-wrap
  42229. msgid "@code{bonjour?} (default: @code{#f})"
  42230. msgstr "@code{bonjour?} (padrão: @code{#f})"
  42231. #. type: table
  42232. #: guix-git/doc/guix.texi:27707
  42233. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  42234. msgstr ""
  42235. #. type: item
  42236. #: guix-git/doc/guix.texi:27708
  42237. #, no-wrap
  42238. msgid "@code{send-version?} (default: @code{#f})"
  42239. msgstr ""
  42240. #. type: table
  42241. #: guix-git/doc/guix.texi:27710
  42242. msgid "Should the mumble-server server version be exposed in ping requests."
  42243. msgstr ""
  42244. #. type: item
  42245. #: guix-git/doc/guix.texi:27711
  42246. #, no-wrap
  42247. msgid "@code{log-days} (default: @code{31})"
  42248. msgstr ""
  42249. #. type: table
  42250. #: guix-git/doc/guix.texi:27715
  42251. msgid "Mumble also stores logs in the database, which are accessible via RPC. The default is 31 days of months, but you can set this setting to 0 to keep logs forever, or -1 to disable logging to the database."
  42252. msgstr ""
  42253. #. type: item
  42254. #: guix-git/doc/guix.texi:27716
  42255. #, no-wrap
  42256. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  42257. msgstr ""
  42258. #. type: table
  42259. #: guix-git/doc/guix.texi:27718
  42260. msgid "Should logged ips be obfuscated to protect the privacy of users."
  42261. msgstr ""
  42262. #. type: item
  42263. #: guix-git/doc/guix.texi:27719
  42264. #, no-wrap
  42265. msgid "@code{ssl-cert} (default: @code{#f})"
  42266. msgstr ""
  42267. #. type: table
  42268. #: guix-git/doc/guix.texi:27721
  42269. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  42270. msgstr ""
  42271. #. type: lisp
  42272. #: guix-git/doc/guix.texi:27724
  42273. #, no-wrap
  42274. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  42275. msgstr ""
  42276. #. type: item
  42277. #: guix-git/doc/guix.texi:27725
  42278. #, no-wrap
  42279. msgid "@code{ssl-key} (default: @code{#f})"
  42280. msgstr ""
  42281. #. type: table
  42282. #: guix-git/doc/guix.texi:27727
  42283. msgid "Filepath to the ssl private key used for encrypted connections."
  42284. msgstr ""
  42285. #. type: lisp
  42286. #: guix-git/doc/guix.texi:27729
  42287. #, no-wrap
  42288. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  42289. msgstr ""
  42290. #. type: item
  42291. #: guix-git/doc/guix.texi:27731
  42292. #, no-wrap
  42293. msgid "@code{ssl-dh-params} (default: @code{#f})"
  42294. msgstr ""
  42295. #. type: table
  42296. #: guix-git/doc/guix.texi:27736
  42297. msgid "File name of a PEM-encoded file with Diffie-Hellman parameters for the SSL/TLS encryption. Alternatively you set it to @code{\"@@ffdhe2048\"}, @code{\"@@ffdhe3072\"}, @code{\"@@ffdhe4096\"}, @code{\"@@ffdhe6144\"} or @code{\"@@ffdhe8192\"} to use bundled parameters from RFC 7919."
  42298. msgstr ""
  42299. #. type: item
  42300. #: guix-git/doc/guix.texi:27737
  42301. #, no-wrap
  42302. msgid "@code{ssl-ciphers} (default: @code{#f})"
  42303. msgstr ""
  42304. #. type: table
  42305. #: guix-git/doc/guix.texi:27740
  42306. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  42307. msgstr ""
  42308. #. type: table
  42309. #: guix-git/doc/guix.texi:27744
  42310. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  42311. msgstr ""
  42312. #. type: table
  42313. #: guix-git/doc/guix.texi:27751
  42314. msgid "It is recommended that you try your cipher string using 'openssl ciphers <string>' before setting it here, to get a feel for which cipher suites you will get. After setting this option, it is recommend that you inspect your Mumble server log to ensure that Mumble is using the cipher suites that you expected it to."
  42315. msgstr ""
  42316. #. type: quotation
  42317. #: guix-git/doc/guix.texi:27755
  42318. msgid "Changing this option may impact the backwards compatibility of your Mumble-Server server, and can remove the ability for older Mumble clients to be able to connect to it."
  42319. msgstr ""
  42320. #. type: item
  42321. #: guix-git/doc/guix.texi:27757
  42322. #, no-wrap
  42323. msgid "@code{public-registration} (default: @code{#f})"
  42324. msgstr ""
  42325. #. type: table
  42326. #: guix-git/doc/guix.texi:27760
  42327. msgid "Must be a @code{<mumble-server-public-registration-configuration>} record or @code{#f}."
  42328. msgstr ""
  42329. #. type: table
  42330. #: guix-git/doc/guix.texi:27765
  42331. msgid "You can optionally register your server in the public server list that the @code{mumble} client shows on startup. You cannot register your server if you have set a @code{server-password}, or set @code{allow-ping} to @code{#f}."
  42332. msgstr ""
  42333. #. type: table
  42334. #: guix-git/doc/guix.texi:27767
  42335. msgid "It might take a few hours until it shows up in the public list."
  42336. msgstr ""
  42337. #. type: item
  42338. #: guix-git/doc/guix.texi:27768 guix-git/doc/guix.texi:30355
  42339. #, no-wrap
  42340. msgid "@code{file} (default: @code{#f})"
  42341. msgstr "@code{file} (default: @code{#f})"
  42342. #. type: table
  42343. #: guix-git/doc/guix.texi:27770
  42344. msgid "Optional alternative override for this configuration."
  42345. msgstr ""
  42346. #. type: deftp
  42347. #: guix-git/doc/guix.texi:27773
  42348. #, fuzzy, no-wrap
  42349. msgid "{Data Type} mumble-server-public-registration-configuration"
  42350. msgstr "build-machine {Data Type}"
  42351. #. type: deftp
  42352. #: guix-git/doc/guix.texi:27775
  42353. msgid "Configuration for public registration of a mumble-server service."
  42354. msgstr ""
  42355. #. type: table
  42356. #: guix-git/doc/guix.texi:27779
  42357. msgid "This is a display name for your server. Not to be confused with the hostname."
  42358. msgstr ""
  42359. #. type: itemx
  42360. #: guix-git/doc/guix.texi:27780 guix-git/doc/guix.texi:37612
  42361. #: guix-git/doc/guix.texi:39260
  42362. #, no-wrap
  42363. msgid "password"
  42364. msgstr "senha"
  42365. #. type: table
  42366. #: guix-git/doc/guix.texi:27783
  42367. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  42368. msgstr ""
  42369. #. type: table
  42370. #: guix-git/doc/guix.texi:27787
  42371. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  42372. msgstr ""
  42373. #. type: item
  42374. #: guix-git/doc/guix.texi:27788 guix-git/doc/guix.texi:31244
  42375. #, no-wrap
  42376. msgid "@code{hostname} (default: @code{#f})"
  42377. msgstr "@code{hostname} (default: @code{#f})"
  42378. #. type: table
  42379. #: guix-git/doc/guix.texi:27791
  42380. msgid "By default your server will be listed by its IP address. If it is set your server will be linked by this host name instead."
  42381. msgstr ""
  42382. #. type: quotation
  42383. #: guix-git/doc/guix.texi:27794
  42384. #, no-wrap
  42385. msgid "Deprecation notice"
  42386. msgstr ""
  42387. #. type: quotation
  42388. #: guix-git/doc/guix.texi:27799
  42389. msgid "Due to historical reasons, all of the above @code{mumble-server-} procedures are also exported with the @code{murmur-} prefix. It is recommended that you switch to using @code{mumble-server-} going forward."
  42390. msgstr ""
  42391. #. type: Plain text
  42392. #: guix-git/doc/guix.texi:27806
  42393. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  42394. msgstr ""
  42395. #. type: subsubheading
  42396. #: guix-git/doc/guix.texi:27807
  42397. #, no-wrap
  42398. msgid "Transmission Daemon Service"
  42399. msgstr ""
  42400. #. type: Plain text
  42401. #: guix-git/doc/guix.texi:27815
  42402. msgid "@uref{https://transmissionbt.com/, Transmission} is a flexible BitTorrent client that offers a variety of graphical and command-line interfaces. A @code{transmission-daemon-service-type} service provides Transmission's headless variant, @command{transmission-daemon}, as a system service, allowing users to share files via BitTorrent even when they are not logged in."
  42403. msgstr ""
  42404. #. type: defvar
  42405. #: guix-git/doc/guix.texi:27816
  42406. #, fuzzy, no-wrap
  42407. #| msgid "guix-publish-service-type"
  42408. msgid "transmission-daemon-service-type"
  42409. msgstr "guix-publish-service-type"
  42410. #. type: defvar
  42411. #: guix-git/doc/guix.texi:27820
  42412. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  42413. msgstr ""
  42414. #. type: lisp
  42415. #: guix-git/doc/guix.texi:27831
  42416. #, no-wrap
  42417. msgid ""
  42418. "(service transmission-daemon-service-type\n"
  42419. " (transmission-daemon-configuration\n"
  42420. " ;; Restrict access to the RPC (\"control\") interface\n"
  42421. " (rpc-authentication-required? #t)\n"
  42422. " (rpc-username \"transmission\")\n"
  42423. " (rpc-password\n"
  42424. " (transmission-password-hash\n"
  42425. " \"transmission\" ; desired password\n"
  42426. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  42427. "\n"
  42428. msgstr ""
  42429. #. type: lisp
  42430. #: guix-git/doc/guix.texi:27836
  42431. #, no-wrap
  42432. msgid ""
  42433. " ;; Accept requests from this and other hosts on the\n"
  42434. " ;; local network\n"
  42435. " (rpc-whitelist-enabled? #t)\n"
  42436. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  42437. "\n"
  42438. msgstr ""
  42439. #. type: lisp
  42440. #: guix-git/doc/guix.texi:27840
  42441. #, no-wrap
  42442. msgid ""
  42443. " ;; Limit bandwidth use during work hours\n"
  42444. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  42445. " (alt-speed-up 512) ; 512 kB/s\n"
  42446. "\n"
  42447. msgstr ""
  42448. #. type: lisp
  42449. #: guix-git/doc/guix.texi:27847
  42450. #, no-wrap
  42451. msgid ""
  42452. " (alt-speed-time-enabled? #t)\n"
  42453. " (alt-speed-time-day 'weekdays)\n"
  42454. " (alt-speed-time-begin\n"
  42455. " (+ (* 60 8) 30)) ; 8:30 am\n"
  42456. " (alt-speed-time-end\n"
  42457. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  42458. msgstr ""
  42459. #. type: Plain text
  42460. #: guix-git/doc/guix.texi:27860
  42461. msgid "Once the service is started, users can interact with the daemon through its Web interface (at @code{http://localhost:9091/}) or by using the @command{transmission-remote} command-line tool, available in the @code{transmission} package. (Emacs users may want to also consider the @code{emacs-transmission} package.) Both communicate with the daemon through its remote procedure call (RPC) interface, which by default is available to all users on the system; you may wish to change this by assigning values to the @code{rpc-authentication-required?}, @code{rpc-username} and @code{rpc-password} settings, as shown in the example above and documented further below."
  42462. msgstr ""
  42463. #. type: Plain text
  42464. #: guix-git/doc/guix.texi:27868
  42465. msgid "The value for @code{rpc-password} must be a password hash of the type generated and used by Transmission clients. This can be copied verbatim from an existing @file{settings.json} file, if another Transmission client is already being used. Otherwise, the @code{transmission-password-hash} and @code{transmission-random-salt} procedures provided by this module can be used to obtain a suitable hash value."
  42466. msgstr ""
  42467. #. type: defun
  42468. #: guix-git/doc/guix.texi:27869
  42469. #, no-wrap
  42470. msgid "transmission-password-hash password salt"
  42471. msgstr ""
  42472. #. type: defun
  42473. #: guix-git/doc/guix.texi:27873
  42474. msgid "Returns a string containing the result of hashing @var{password} together with @var{salt}, in the format recognized by Transmission clients for their @code{rpc-password} configuration setting."
  42475. msgstr ""
  42476. #. type: defun
  42477. #: guix-git/doc/guix.texi:27877
  42478. msgid "@var{salt} must be an eight-character string. The @code{transmission-random-salt} procedure can be used to generate a suitable salt value at random."
  42479. msgstr ""
  42480. #. type: defun
  42481. #: guix-git/doc/guix.texi:27879
  42482. #, fuzzy, no-wrap
  42483. #| msgid "guix-publish-service-type"
  42484. msgid "transmission-random-salt"
  42485. msgstr "guix-publish-service-type"
  42486. #. type: defun
  42487. #: guix-git/doc/guix.texi:27883
  42488. msgid "Returns a string containing a random, eight-character salt value of the type generated and used by Transmission clients, suitable for passing to the @code{transmission-password-hash} procedure."
  42489. msgstr ""
  42490. #. type: Plain text
  42491. #: guix-git/doc/guix.texi:27889
  42492. msgid "These procedures are accessible from within a Guile REPL started with the @command{guix repl} command (@pxref{Invoking guix repl}). This is useful for obtaining a random salt value to provide as the second parameter to `transmission-password-hash`, as in this example session:"
  42493. msgstr ""
  42494. #. type: example
  42495. #: guix-git/doc/guix.texi:27895
  42496. #, no-wrap
  42497. msgid ""
  42498. "$ guix repl\n"
  42499. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  42500. "scheme@@(guix-user)> (transmission-random-salt)\n"
  42501. "$1 = \"uKd1uMs9\"\n"
  42502. msgstr ""
  42503. #. type: Plain text
  42504. #: guix-git/doc/guix.texi:27898
  42505. msgid "Alternatively, a complete password hash can generated in a single step:"
  42506. msgstr ""
  42507. #. type: example
  42508. #: guix-git/doc/guix.texi:27903
  42509. #, no-wrap
  42510. msgid ""
  42511. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  42512. "(transmission-random-salt))\n"
  42513. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  42514. msgstr ""
  42515. #. type: Plain text
  42516. #: guix-git/doc/guix.texi:27908
  42517. msgid "The resulting string can be used as-is for the value of @code{rpc-password}, allowing the password to be kept hidden even in the operating-system configuration."
  42518. msgstr ""
  42519. #. type: Plain text
  42520. #: guix-git/doc/guix.texi:27917
  42521. msgid "Torrent files downloaded by the daemon are directly accessible only to users in the ``transmission'' user group, who receive read-only access to the directory specified by the @code{download-dir} configuration setting (and also the directory specified by @code{incomplete-dir}, if @code{incomplete-dir-enabled?} is @code{#t}). Downloaded files can be moved to another directory or deleted altogether using @command{transmission-remote} with its @code{--move} and @code{--remove-and-delete} options."
  42522. msgstr ""
  42523. #. type: Plain text
  42524. #: guix-git/doc/guix.texi:27924
  42525. msgid "If the @code{watch-dir-enabled?} setting is set to @code{#t}, users in the ``transmission'' group are able also to place @file{.torrent} files in the directory specified by @code{watch-dir} to have the corresponding torrents added by the daemon. (The @code{trash-original-torrent-files?} setting controls whether the daemon deletes these files after processing them.)"
  42526. msgstr ""
  42527. #. type: Plain text
  42528. #: guix-git/doc/guix.texi:27929
  42529. msgid "Some of the daemon's configuration settings can be changed temporarily by @command{transmission-remote} and similar tools. To undo these changes, use the service's @code{reload} action to have the daemon reload its settings from disk:"
  42530. msgstr ""
  42531. #. type: example
  42532. #: guix-git/doc/guix.texi:27932
  42533. #, no-wrap
  42534. msgid "# herd reload transmission-daemon\n"
  42535. msgstr ""
  42536. #. type: Plain text
  42537. #: guix-git/doc/guix.texi:27936
  42538. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  42539. msgstr ""
  42540. #. type: deftp
  42541. #: guix-git/doc/guix.texi:27937
  42542. #, no-wrap
  42543. msgid "{Data Type} transmission-daemon-configuration"
  42544. msgstr ""
  42545. #. type: deftp
  42546. #: guix-git/doc/guix.texi:27941
  42547. msgid "The data type representing configuration settings for Transmission Daemon. These correspond directly to the settings recognized by Transmission clients in their @file{settings.json} file."
  42548. msgstr ""
  42549. #. type: Plain text
  42550. #: guix-git/doc/guix.texi:27955
  42551. msgid "Available @code{transmission-daemon-configuration} fields are:"
  42552. msgstr ""
  42553. #. type: deftypevr
  42554. #: guix-git/doc/guix.texi:27956
  42555. #, no-wrap
  42556. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  42557. msgstr ""
  42558. #. type: deftypevr
  42559. #: guix-git/doc/guix.texi:27958
  42560. msgid "The Transmission package to use."
  42561. msgstr ""
  42562. #. type: deftypevr
  42563. #: guix-git/doc/guix.texi:27961
  42564. #, no-wrap
  42565. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  42566. msgstr ""
  42567. #. type: deftypevr
  42568. #: guix-git/doc/guix.texi:27967
  42569. msgid "The period, in seconds, to wait when stopping the service for @command{transmission-daemon} to exit before killing its process. This allows the daemon time to complete its housekeeping and send a final update to trackers as it shuts down. On slow hosts, or hosts with a slow network connection, this value may need to be increased."
  42570. msgstr ""
  42571. #. type: deftypevr
  42572. #: guix-git/doc/guix.texi:27969 guix-git/doc/guix.texi:28341
  42573. #: guix-git/doc/guix.texi:36522 guix-git/doc/guix.texi:36757
  42574. #: guix-git/doc/guix.texi:36765 guix-git/doc/guix.texi:36773
  42575. msgid "Defaults to @samp{10}."
  42576. msgstr ""
  42577. #. type: deftypevr
  42578. #: guix-git/doc/guix.texi:27972
  42579. #, no-wrap
  42580. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  42581. msgstr ""
  42582. #. type: deftypevr
  42583. #: guix-git/doc/guix.texi:27974
  42584. msgid "The directory to which torrent files are downloaded."
  42585. msgstr ""
  42586. #. type: deftypevr
  42587. #: guix-git/doc/guix.texi:27976
  42588. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  42589. msgstr ""
  42590. #. type: deftypevr
  42591. #: guix-git/doc/guix.texi:27979
  42592. #, no-wrap
  42593. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  42594. msgstr ""
  42595. #. type: deftypevr
  42596. #: guix-git/doc/guix.texi:27984
  42597. msgid "If @code{#t}, files will be held in @code{incomplete-dir} while their torrent is being downloaded, then moved to @code{download-dir} once the torrent is complete. Otherwise, files for all torrents (including those still being downloaded) will be placed in @code{download-dir}."
  42598. msgstr ""
  42599. #. type: deftypevr
  42600. #: guix-git/doc/guix.texi:27989
  42601. #, no-wrap
  42602. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  42603. msgstr ""
  42604. #. type: deftypevr
  42605. #: guix-git/doc/guix.texi:27992
  42606. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  42607. msgstr ""
  42608. #. type: deftypevr
  42609. #: guix-git/doc/guix.texi:27994 guix-git/doc/guix.texi:28038
  42610. #: guix-git/doc/guix.texi:28251 guix-git/doc/guix.texi:28307
  42611. #: guix-git/doc/guix.texi:28481 guix-git/doc/guix.texi:28492
  42612. #: guix-git/doc/guix.texi:28565 guix-git/doc/guix.texi:29439
  42613. #: guix-git/doc/guix.texi:29482 guix-git/doc/guix.texi:29490
  42614. #: guix-git/doc/guix.texi:29498 guix-git/doc/guix.texi:29506
  42615. #: guix-git/doc/guix.texi:29515 guix-git/doc/guix.texi:29523
  42616. #: guix-git/doc/guix.texi:29530 guix-git/doc/guix.texi:29538
  42617. #: guix-git/doc/guix.texi:29546 guix-git/doc/guix.texi:29556
  42618. #: guix-git/doc/guix.texi:29563 guix-git/doc/guix.texi:29587
  42619. #: guix-git/doc/guix.texi:29595 guix-git/doc/guix.texi:29621
  42620. #: guix-git/doc/guix.texi:29630 guix-git/doc/guix.texi:29639
  42621. #: guix-git/doc/guix.texi:29648 guix-git/doc/guix.texi:29657
  42622. #: guix-git/doc/guix.texi:29666 guix-git/doc/guix.texi:29674
  42623. #: guix-git/doc/guix.texi:29682 guix-git/doc/guix.texi:29689
  42624. #: guix-git/doc/guix.texi:29697 guix-git/doc/guix.texi:29704
  42625. #: guix-git/doc/guix.texi:29712 guix-git/doc/guix.texi:29720
  42626. #: guix-git/doc/guix.texi:29729 guix-git/doc/guix.texi:29738
  42627. #: guix-git/doc/guix.texi:29746 guix-git/doc/guix.texi:29754
  42628. #: guix-git/doc/guix.texi:29762 guix-git/doc/guix.texi:29773
  42629. #: guix-git/doc/guix.texi:29783 guix-git/doc/guix.texi:29794
  42630. #: guix-git/doc/guix.texi:29803 guix-git/doc/guix.texi:29813
  42631. #: guix-git/doc/guix.texi:29821 guix-git/doc/guix.texi:29832
  42632. #: guix-git/doc/guix.texi:29841 guix-git/doc/guix.texi:29851
  42633. #: guix-git/doc/guix.texi:33457 guix-git/doc/guix.texi:33464
  42634. #: guix-git/doc/guix.texi:33471 guix-git/doc/guix.texi:33478
  42635. #: guix-git/doc/guix.texi:33485 guix-git/doc/guix.texi:33492
  42636. #: guix-git/doc/guix.texi:33500 guix-git/doc/guix.texi:33508
  42637. #: guix-git/doc/guix.texi:33515 guix-git/doc/guix.texi:33522
  42638. #: guix-git/doc/guix.texi:33529 guix-git/doc/guix.texi:33536
  42639. #: guix-git/doc/guix.texi:33566 guix-git/doc/guix.texi:33604
  42640. #: guix-git/doc/guix.texi:33611 guix-git/doc/guix.texi:33620
  42641. #: guix-git/doc/guix.texi:33642 guix-git/doc/guix.texi:33650
  42642. #: guix-git/doc/guix.texi:33657 guix-git/doc/guix.texi:33686
  42643. #: guix-git/doc/guix.texi:33693 guix-git/doc/guix.texi:33700
  42644. #: guix-git/doc/guix.texi:33707 guix-git/doc/guix.texi:33840
  42645. #: guix-git/doc/guix.texi:33860 guix-git/doc/guix.texi:33875
  42646. #: guix-git/doc/guix.texi:33882 guix-git/doc/guix.texi:36894
  42647. #: guix-git/doc/guix.texi:36902 guix-git/doc/guix.texi:36910
  42648. #: guix-git/doc/guix.texi:36918 guix-git/doc/guix.texi:36926
  42649. #: guix-git/doc/guix.texi:36934
  42650. msgid "Defaults to @samp{disabled}."
  42651. msgstr ""
  42652. #. type: deftypevr
  42653. #: guix-git/doc/guix.texi:27997
  42654. #, no-wrap
  42655. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  42656. msgstr ""
  42657. #. type: deftypevr
  42658. #: guix-git/doc/guix.texi:28000
  42659. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  42660. msgstr ""
  42661. #. type: deftypevr
  42662. #: guix-git/doc/guix.texi:28002
  42663. msgid "Defaults to @samp{18}."
  42664. msgstr ""
  42665. #. type: deftypevr
  42666. #: guix-git/doc/guix.texi:28005
  42667. #, no-wrap
  42668. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  42669. msgstr ""
  42670. #. type: deftypevr
  42671. #: guix-git/doc/guix.texi:28008
  42672. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  42673. msgstr ""
  42674. #. type: deftypevr
  42675. #: guix-git/doc/guix.texi:28013
  42676. #, no-wrap
  42677. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  42678. msgstr ""
  42679. #. type: deftypevr
  42680. #: guix-git/doc/guix.texi:28018
  42681. msgid "The mode by which space should be preallocated for downloaded files, one of @code{none}, @code{fast} (or @code{sparse}) and @code{full}. Specifying @code{full} will minimize disk fragmentation at a cost to file-creation speed."
  42682. msgstr ""
  42683. #. type: deftypevr
  42684. #: guix-git/doc/guix.texi:28020
  42685. msgid "Defaults to @samp{fast}."
  42686. msgstr ""
  42687. #. type: deftypevr
  42688. #: guix-git/doc/guix.texi:28023
  42689. #, no-wrap
  42690. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  42691. msgstr ""
  42692. #. type: deftypevr
  42693. #: guix-git/doc/guix.texi:28028
  42694. msgid "If @code{#t}, the directory specified by @code{watch-dir} will be watched for new @file{.torrent} files and the torrents they describe added automatically (and the original files removed, if @code{trash-original-torrent-files?} is @code{#t})."
  42695. msgstr ""
  42696. #. type: deftypevr
  42697. #: guix-git/doc/guix.texi:28033
  42698. #, no-wrap
  42699. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  42700. msgstr ""
  42701. #. type: deftypevr
  42702. #: guix-git/doc/guix.texi:28036
  42703. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  42704. msgstr ""
  42705. #. type: deftypevr
  42706. #: guix-git/doc/guix.texi:28041
  42707. #, no-wrap
  42708. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  42709. msgstr ""
  42710. #. type: deftypevr
  42711. #: guix-git/doc/guix.texi:28045
  42712. msgid "When @code{#t}, @file{.torrent} files will be deleted from the watch directory once their torrent has been added (see @code{watch-directory-enabled?})."
  42713. msgstr ""
  42714. #. type: deftypevr
  42715. #: guix-git/doc/guix.texi:28050
  42716. #, no-wrap
  42717. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  42718. msgstr ""
  42719. #. type: deftypevr
  42720. #: guix-git/doc/guix.texi:28053
  42721. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  42722. msgstr ""
  42723. #. type: deftypevr
  42724. #: guix-git/doc/guix.texi:28058
  42725. #, no-wrap
  42726. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  42727. msgstr ""
  42728. #. type: deftypevr
  42729. #: guix-git/doc/guix.texi:28060
  42730. msgid "The default global-maximum download speed, in kilobytes per second."
  42731. msgstr ""
  42732. #. type: deftypevr
  42733. #: guix-git/doc/guix.texi:28065
  42734. #, no-wrap
  42735. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  42736. msgstr ""
  42737. #. type: deftypevr
  42738. #: guix-git/doc/guix.texi:28068
  42739. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  42740. msgstr ""
  42741. #. type: deftypevr
  42742. #: guix-git/doc/guix.texi:28073
  42743. #, no-wrap
  42744. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  42745. msgstr ""
  42746. #. type: deftypevr
  42747. #: guix-git/doc/guix.texi:28075
  42748. msgid "The default global-maximum upload speed, in kilobytes per second."
  42749. msgstr ""
  42750. #. type: deftypevr
  42751. #: guix-git/doc/guix.texi:28080
  42752. #, no-wrap
  42753. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  42754. msgstr ""
  42755. #. type: deftypevr
  42756. #: guix-git/doc/guix.texi:28086
  42757. msgid "When @code{#t}, the alternate speed limits @code{alt-speed-down} and @code{alt-speed-up} are used (in place of @code{speed-limit-down} and @code{speed-limit-up}, if they are enabled) to constrain the daemon's bandwidth usage. This can be scheduled to occur automatically at certain times during the week; see @code{alt-speed-time-enabled?}."
  42758. msgstr ""
  42759. #. type: deftypevr
  42760. #: guix-git/doc/guix.texi:28091
  42761. #, no-wrap
  42762. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  42763. msgstr ""
  42764. #. type: deftypevr
  42765. #: guix-git/doc/guix.texi:28093
  42766. msgid "The alternate global-maximum download speed, in kilobytes per second."
  42767. msgstr ""
  42768. #. type: deftypevr
  42769. #: guix-git/doc/guix.texi:28095 guix-git/doc/guix.texi:28102
  42770. #: guix-git/doc/guix.texi:28274 guix-git/doc/guix.texi:36529
  42771. #: guix-git/doc/guix.texi:36544
  42772. msgid "Defaults to @samp{50}."
  42773. msgstr ""
  42774. #. type: deftypevr
  42775. #: guix-git/doc/guix.texi:28098
  42776. #, no-wrap
  42777. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  42778. msgstr ""
  42779. #. type: deftypevr
  42780. #: guix-git/doc/guix.texi:28100
  42781. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  42782. msgstr ""
  42783. #. type: deftypevr
  42784. #: guix-git/doc/guix.texi:28105
  42785. #, no-wrap
  42786. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  42787. msgstr ""
  42788. #. type: deftypevr
  42789. #: guix-git/doc/guix.texi:28110
  42790. msgid "When @code{#t}, the alternate speed limits @code{alt-speed-down} and @code{alt-speed-up} will be enabled automatically during the periods specified by @code{alt-speed-time-day}, @code{alt-speed-time-begin} and @code{alt-time-speed-end}."
  42791. msgstr ""
  42792. #. type: deftypevr
  42793. #: guix-git/doc/guix.texi:28115
  42794. #, no-wrap
  42795. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  42796. msgstr ""
  42797. #. type: deftypevr
  42798. #: guix-git/doc/guix.texi:28120
  42799. msgid "The days of the week on which the alternate-speed schedule should be used, specified either as a list of days (@code{sunday}, @code{monday}, and so on) or using one of the symbols @code{weekdays}, @code{weekends} or @code{all}."
  42800. msgstr ""
  42801. #. type: deftypevr
  42802. #: guix-git/doc/guix.texi:28122
  42803. msgid "Defaults to @samp{all}."
  42804. msgstr ""
  42805. #. type: deftypevr
  42806. #: guix-git/doc/guix.texi:28125
  42807. #, no-wrap
  42808. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  42809. msgstr ""
  42810. #. type: deftypevr
  42811. #: guix-git/doc/guix.texi:28128
  42812. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  42813. msgstr ""
  42814. #. type: deftypevr
  42815. #: guix-git/doc/guix.texi:28130
  42816. msgid "Defaults to @samp{540}."
  42817. msgstr ""
  42818. #. type: deftypevr
  42819. #: guix-git/doc/guix.texi:28133
  42820. #, no-wrap
  42821. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  42822. msgstr ""
  42823. #. type: deftypevr
  42824. #: guix-git/doc/guix.texi:28136
  42825. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  42826. msgstr ""
  42827. #. type: deftypevr
  42828. #: guix-git/doc/guix.texi:28138
  42829. msgid "Defaults to @samp{1020}."
  42830. msgstr ""
  42831. #. type: deftypevr
  42832. #: guix-git/doc/guix.texi:28141
  42833. #, no-wrap
  42834. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  42835. msgstr ""
  42836. #. type: deftypevr
  42837. #: guix-git/doc/guix.texi:28144
  42838. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  42839. msgstr ""
  42840. #. type: deftypevr
  42841. #: guix-git/doc/guix.texi:28146 guix-git/doc/guix.texi:28449
  42842. #: guix-git/doc/guix.texi:34367
  42843. msgid "Defaults to @samp{\"0.0.0.0\"}."
  42844. msgstr ""
  42845. #. type: deftypevr
  42846. #: guix-git/doc/guix.texi:28149
  42847. #, no-wrap
  42848. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  42849. msgstr ""
  42850. #. type: deftypevr
  42851. #: guix-git/doc/guix.texi:28152
  42852. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  42853. msgstr ""
  42854. #. type: deftypevr
  42855. #: guix-git/doc/guix.texi:28154
  42856. msgid "Defaults to @samp{\"::\"}."
  42857. msgstr ""
  42858. #. type: deftypevr
  42859. #: guix-git/doc/guix.texi:28157
  42860. #, no-wrap
  42861. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  42862. msgstr ""
  42863. #. type: deftypevr
  42864. #: guix-git/doc/guix.texi:28163
  42865. msgid "If @code{#t}, when the daemon starts it will select a port at random on which to listen for peer connections, from the range specified (inclusively) by @code{peer-port-random-low} and @code{peer-port-random-high}. Otherwise, it listens on the port specified by @code{peer-port}."
  42866. msgstr ""
  42867. #. type: deftypevr
  42868. #: guix-git/doc/guix.texi:28168
  42869. #, no-wrap
  42870. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  42871. msgstr ""
  42872. #. type: deftypevr
  42873. #: guix-git/doc/guix.texi:28171
  42874. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  42875. msgstr ""
  42876. #. type: deftypevr
  42877. #: guix-git/doc/guix.texi:28173
  42878. msgid "Defaults to @samp{49152}."
  42879. msgstr ""
  42880. #. type: deftypevr
  42881. #: guix-git/doc/guix.texi:28176
  42882. #, no-wrap
  42883. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  42884. msgstr ""
  42885. #. type: deftypevr
  42886. #: guix-git/doc/guix.texi:28179
  42887. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  42888. msgstr ""
  42889. #. type: deftypevr
  42890. #: guix-git/doc/guix.texi:28181
  42891. msgid "Defaults to @samp{65535}."
  42892. msgstr ""
  42893. #. type: deftypevr
  42894. #: guix-git/doc/guix.texi:28184
  42895. #, no-wrap
  42896. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  42897. msgstr ""
  42898. #. type: deftypevr
  42899. #: guix-git/doc/guix.texi:28187
  42900. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  42901. msgstr ""
  42902. #. type: deftypevr
  42903. #: guix-git/doc/guix.texi:28189
  42904. msgid "Defaults to @samp{51413}."
  42905. msgstr ""
  42906. #. type: deftypevr
  42907. #: guix-git/doc/guix.texi:28192
  42908. #, no-wrap
  42909. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  42910. msgstr ""
  42911. #. type: deftypevr
  42912. #: guix-git/doc/guix.texi:28196
  42913. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  42914. msgstr ""
  42915. #. type: deftypevr
  42916. #: guix-git/doc/guix.texi:28201
  42917. #, no-wrap
  42918. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  42919. msgstr ""
  42920. #. type: deftypevr
  42921. #: guix-git/doc/guix.texi:28206
  42922. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  42923. msgstr ""
  42924. #. type: deftypevr
  42925. #: guix-git/doc/guix.texi:28208
  42926. msgid "Defaults to @samp{prefer-encrypted-connections}."
  42927. msgstr ""
  42928. #. type: deftypevr
  42929. #: guix-git/doc/guix.texi:28211
  42930. #, no-wrap
  42931. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  42932. msgstr ""
  42933. #. type: deftypevr
  42934. #: guix-git/doc/guix.texi:28216
  42935. msgid "The TCP congestion-control algorithm to use for peer connections, specified using a string recognized by the operating system in calls to @code{setsockopt}. When left unspecified, the operating-system default is used."
  42936. msgstr ""
  42937. #. type: deftypevr
  42938. #: guix-git/doc/guix.texi:28225
  42939. msgid "Note that on GNU/Linux systems, the kernel must be configured to allow processes to use a congestion-control algorithm not in the default set; otherwise, it will deny these requests with ``Operation not permitted''. To see which algorithms are available on your system and which are currently permitted for use, look at the contents of the files @file{tcp_available_congestion_control} and @file{tcp_allowed_congestion_control} in the @file{/proc/sys/net/ipv4} directory."
  42940. msgstr ""
  42941. #. type: deftypevr
  42942. #: guix-git/doc/guix.texi:28233
  42943. msgid "As an example, to have Transmission Daemon use @uref{http://www-ece.rice.edu/networks/TCP-LP/,the TCP Low Priority congestion-control algorithm}, you'll need to modify your kernel configuration to build in support for the algorithm, then update your operating-system configuration to allow its use by adding a @code{sysctl-service-type} service (or updating the existing one's configuration) with lines like the following:"
  42944. msgstr ""
  42945. #. type: lisp
  42946. #: guix-git/doc/guix.texi:28240
  42947. #, no-wrap
  42948. msgid ""
  42949. "(service sysctl-service-type\n"
  42950. " (sysctl-configuration\n"
  42951. " (settings\n"
  42952. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  42953. " \"reno cubic lp\"))))\n"
  42954. msgstr ""
  42955. #. type: deftypevr
  42956. #: guix-git/doc/guix.texi:28243
  42957. msgid "The Transmission Daemon configuration can then be updated with"
  42958. msgstr ""
  42959. #. type: lisp
  42960. #: guix-git/doc/guix.texi:28246
  42961. #, no-wrap
  42962. msgid "(peer-congestion-algorithm \"lp\")\n"
  42963. msgstr ""
  42964. #. type: deftypevr
  42965. #: guix-git/doc/guix.texi:28249
  42966. msgid "and the system reconfigured to have the changes take effect."
  42967. msgstr ""
  42968. #. type: deftypevr
  42969. #: guix-git/doc/guix.texi:28254
  42970. #, no-wrap
  42971. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  42972. msgstr ""
  42973. #. type: deftypevr
  42974. #: guix-git/doc/guix.texi:28258
  42975. msgid "The type of service to request in outgoing @acronym{TCP} packets, one of @code{default}, @code{low-cost}, @code{throughput}, @code{low-delay} and @code{reliability}."
  42976. msgstr ""
  42977. #. type: deftypevr
  42978. #: guix-git/doc/guix.texi:28260
  42979. msgid "Defaults to @samp{default}."
  42980. msgstr ""
  42981. #. type: deftypevr
  42982. #: guix-git/doc/guix.texi:28263
  42983. #, no-wrap
  42984. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  42985. msgstr ""
  42986. #. type: deftypevr
  42987. #: guix-git/doc/guix.texi:28265
  42988. msgid "The global limit on the number of connected peers."
  42989. msgstr ""
  42990. #. type: deftypevr
  42991. #: guix-git/doc/guix.texi:28267
  42992. msgid "Defaults to @samp{200}."
  42993. msgstr ""
  42994. #. type: deftypevr
  42995. #: guix-git/doc/guix.texi:28270
  42996. #, no-wrap
  42997. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  42998. msgstr ""
  42999. #. type: deftypevr
  43000. #: guix-git/doc/guix.texi:28272
  43001. msgid "The per-torrent limit on the number of connected peers."
  43002. msgstr ""
  43003. #. type: deftypevr
  43004. #: guix-git/doc/guix.texi:28277
  43005. #, no-wrap
  43006. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  43007. msgstr ""
  43008. #. type: deftypevr
  43009. #: guix-git/doc/guix.texi:28280
  43010. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  43011. msgstr ""
  43012. #. type: deftypevr
  43013. #: guix-git/doc/guix.texi:28282
  43014. msgid "Defaults to @samp{14}."
  43015. msgstr ""
  43016. #. type: deftypevr
  43017. #: guix-git/doc/guix.texi:28285
  43018. #, no-wrap
  43019. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  43020. msgstr ""
  43021. #. type: deftypevr
  43022. #: guix-git/doc/guix.texi:28288
  43023. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  43024. msgstr ""
  43025. #. type: deftypevr
  43026. #: guix-git/doc/guix.texi:28290
  43027. msgid "Defaults to @samp{6}."
  43028. msgstr ""
  43029. #. type: deftypevr
  43030. #: guix-git/doc/guix.texi:28293
  43031. #, no-wrap
  43032. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  43033. msgstr ""
  43034. #. type: deftypevr
  43035. #: guix-git/doc/guix.texi:28296
  43036. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  43037. msgstr ""
  43038. #. type: deftypevr
  43039. #: guix-git/doc/guix.texi:28301
  43040. #, no-wrap
  43041. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  43042. msgstr ""
  43043. #. type: deftypevr
  43044. #: guix-git/doc/guix.texi:28305
  43045. msgid "The URL of a peer blocklist (in @acronym{P2P}-plaintext or eMule @file{.dat} format) to be periodically downloaded and applied when @code{blocklist-enabled?} is @code{#t}."
  43046. msgstr ""
  43047. #. type: deftypevr
  43048. #: guix-git/doc/guix.texi:28310
  43049. #, no-wrap
  43050. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  43051. msgstr ""
  43052. #. type: deftypevr
  43053. #: guix-git/doc/guix.texi:28313
  43054. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  43055. msgstr ""
  43056. #. type: deftypevr
  43057. #: guix-git/doc/guix.texi:28318
  43058. #, no-wrap
  43059. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  43060. msgstr ""
  43061. #. type: deftypevr
  43062. #: guix-git/doc/guix.texi:28322
  43063. msgid "The size of the daemon's download queue, which limits the number of non-stalled torrents it will download at any one time when @code{download-queue-enabled?} is @code{#t}."
  43064. msgstr ""
  43065. #. type: deftypevr
  43066. #: guix-git/doc/guix.texi:28327
  43067. #, no-wrap
  43068. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  43069. msgstr ""
  43070. #. type: deftypevr
  43071. #: guix-git/doc/guix.texi:28330
  43072. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  43073. msgstr ""
  43074. #. type: deftypevr
  43075. #: guix-git/doc/guix.texi:28335
  43076. #, no-wrap
  43077. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  43078. msgstr ""
  43079. #. type: deftypevr
  43080. #: guix-git/doc/guix.texi:28339
  43081. msgid "The size of the daemon's seed queue, which limits the number of non-stalled torrents it will seed at any one time when @code{seed-queue-enabled?} is @code{#t}."
  43082. msgstr ""
  43083. #. type: deftypevr
  43084. #: guix-git/doc/guix.texi:28344
  43085. #, no-wrap
  43086. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  43087. msgstr ""
  43088. #. type: deftypevr
  43089. #: guix-git/doc/guix.texi:28349
  43090. msgid "When @code{#t}, the daemon will consider torrents for which it has not shared data in the past @code{queue-stalled-minutes} minutes to be stalled and not count them against its @code{download-queue-size} and @code{seed-queue-size} limits."
  43091. msgstr ""
  43092. #. type: deftypevr
  43093. #: guix-git/doc/guix.texi:28354
  43094. #, no-wrap
  43095. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  43096. msgstr ""
  43097. #. type: deftypevr
  43098. #: guix-git/doc/guix.texi:28358
  43099. msgid "The maximum period, in minutes, a torrent may be idle before it is considered to be stalled, when @code{queue-stalled-enabled?} is @code{#t}."
  43100. msgstr ""
  43101. #. type: deftypevr
  43102. #: guix-git/doc/guix.texi:28363
  43103. #, no-wrap
  43104. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  43105. msgstr ""
  43106. #. type: deftypevr
  43107. #: guix-git/doc/guix.texi:28366
  43108. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  43109. msgstr ""
  43110. #. type: deftypevr
  43111. #: guix-git/doc/guix.texi:28371
  43112. #, no-wrap
  43113. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  43114. msgstr ""
  43115. #. type: deftypevr
  43116. #: guix-git/doc/guix.texi:28374
  43117. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  43118. msgstr ""
  43119. #. type: deftypevr
  43120. #: guix-git/doc/guix.texi:28376
  43121. msgid "Defaults to @samp{2.0}."
  43122. msgstr ""
  43123. #. type: deftypevr
  43124. #: guix-git/doc/guix.texi:28379
  43125. #, no-wrap
  43126. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  43127. msgstr ""
  43128. #. type: deftypevr
  43129. #: guix-git/doc/guix.texi:28382
  43130. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  43131. msgstr ""
  43132. #. type: deftypevr
  43133. #: guix-git/doc/guix.texi:28387
  43134. #, no-wrap
  43135. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  43136. msgstr ""
  43137. #. type: deftypevr
  43138. #: guix-git/doc/guix.texi:28391
  43139. msgid "The maximum period, in minutes, a torrent being seeded may be idle before it is paused, when @code{idle-seeding-limit-enabled?} is @code{#t}."
  43140. msgstr ""
  43141. #. type: deftypevr
  43142. #: guix-git/doc/guix.texi:28396
  43143. #, no-wrap
  43144. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  43145. msgstr ""
  43146. #. type: deftypevr
  43147. #: guix-git/doc/guix.texi:28400
  43148. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  43149. msgstr ""
  43150. #. type: deftypevr
  43151. #: guix-git/doc/guix.texi:28405
  43152. #, no-wrap
  43153. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  43154. msgstr ""
  43155. #. type: deftypevr
  43156. #: guix-git/doc/guix.texi:28410
  43157. msgid "Enable @uref{https://en.wikipedia.org/wiki/Local_Peer_Discovery,local peer discovery} (@acronym{LPD}), which allows the discovery of peers on the local network and may reduce the amount of data sent over the public Internet."
  43158. msgstr ""
  43159. #. type: deftypevr
  43160. #: guix-git/doc/guix.texi:28415
  43161. #, no-wrap
  43162. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  43163. msgstr ""
  43164. #. type: deftypevr
  43165. #: guix-git/doc/guix.texi:28419
  43166. msgid "Enable @uref{https://en.wikipedia.org/wiki/Peer_exchange,peer exchange} (@acronym{PEX}), which reduces the daemon's reliance on external trackers and may improve its performance."
  43167. msgstr ""
  43168. #. type: deftypevr
  43169. #: guix-git/doc/guix.texi:28424
  43170. #, no-wrap
  43171. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  43172. msgstr ""
  43173. #. type: deftypevr
  43174. #: guix-git/doc/guix.texi:28429
  43175. msgid "Enable @uref{http://bittorrent.org/beps/bep_0029.html,the micro transport protocol} (@acronym{uTP}), which aims to reduce the impact of BitTorrent traffic on other users of the local network while maintaining full utilization of the available bandwidth."
  43176. msgstr ""
  43177. #. type: deftypevr
  43178. #: guix-git/doc/guix.texi:28434
  43179. #, no-wrap
  43180. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  43181. msgstr ""
  43182. #. type: deftypevr
  43183. #: guix-git/doc/guix.texi:28439
  43184. msgid "If @code{#t}, enable the remote procedure call (@acronym{RPC}) interface, which allows remote control of the daemon via its Web interface, the @command{transmission-remote} command-line client, and similar tools."
  43185. msgstr ""
  43186. #. type: deftypevr
  43187. #: guix-git/doc/guix.texi:28444
  43188. #, no-wrap
  43189. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  43190. msgstr ""
  43191. #. type: deftypevr
  43192. #: guix-git/doc/guix.texi:28447
  43193. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  43194. msgstr ""
  43195. #. type: deftypevr
  43196. #: guix-git/doc/guix.texi:28452
  43197. #, no-wrap
  43198. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  43199. msgstr ""
  43200. #. type: deftypevr
  43201. #: guix-git/doc/guix.texi:28454
  43202. msgid "The port on which to listen for @acronym{RPC} connections."
  43203. msgstr ""
  43204. #. type: deftypevr
  43205. #: guix-git/doc/guix.texi:28456
  43206. msgid "Defaults to @samp{9091}."
  43207. msgstr ""
  43208. #. type: deftypevr
  43209. #: guix-git/doc/guix.texi:28459
  43210. #, no-wrap
  43211. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  43212. msgstr ""
  43213. #. type: deftypevr
  43214. #: guix-git/doc/guix.texi:28461
  43215. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  43216. msgstr ""
  43217. #. type: deftypevr
  43218. #: guix-git/doc/guix.texi:28463
  43219. msgid "Defaults to @samp{\"/transmission/\"}."
  43220. msgstr ""
  43221. #. type: deftypevr
  43222. #: guix-git/doc/guix.texi:28466
  43223. #, no-wrap
  43224. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  43225. msgstr ""
  43226. #. type: deftypevr
  43227. #: guix-git/doc/guix.texi:28471
  43228. msgid "When @code{#t}, clients must authenticate (see @code{rpc-username} and @code{rpc-password}) when using the @acronym{RPC} interface. Note this has the side effect of disabling host-name whitelisting (see @code{rpc-host-whitelist-enabled?}."
  43229. msgstr ""
  43230. #. type: deftypevr
  43231. #: guix-git/doc/guix.texi:28476
  43232. #, no-wrap
  43233. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  43234. msgstr ""
  43235. #. type: deftypevr
  43236. #: guix-git/doc/guix.texi:28479
  43237. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  43238. msgstr ""
  43239. #. type: deftypevr
  43240. #: guix-git/doc/guix.texi:28484
  43241. #, no-wrap
  43242. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  43243. msgstr ""
  43244. #. type: deftypevr
  43245. #: guix-git/doc/guix.texi:28490
  43246. msgid "The password required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}. This must be specified using a password hash in the format recognized by Transmission clients, either copied from an existing @file{settings.json} file or generated using the @code{transmission-password-hash} procedure."
  43247. msgstr ""
  43248. #. type: deftypevr
  43249. #: guix-git/doc/guix.texi:28495
  43250. #, no-wrap
  43251. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  43252. msgstr ""
  43253. #. type: deftypevr
  43254. #: guix-git/doc/guix.texi:28498
  43255. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  43256. msgstr ""
  43257. #. type: deftypevr
  43258. #: guix-git/doc/guix.texi:28503
  43259. #, no-wrap
  43260. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  43261. msgstr ""
  43262. #. type: deftypevr
  43263. #: guix-git/doc/guix.texi:28507
  43264. msgid "The list of IP and IPv6 addresses from which @acronym{RPC} requests will be accepted when @code{rpc-whitelist-enabled?} is @code{#t}. Wildcards may be specified using @samp{*}."
  43265. msgstr ""
  43266. #. type: deftypevr
  43267. #: guix-git/doc/guix.texi:28509
  43268. msgid "Defaults to @samp{'(\"127.0.0.1\" \"::1\")}."
  43269. msgstr ""
  43270. #. type: deftypevr
  43271. #: guix-git/doc/guix.texi:28512
  43272. #, no-wrap
  43273. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  43274. msgstr ""
  43275. #. type: deftypevr
  43276. #: guix-git/doc/guix.texi:28517
  43277. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they are addressed to a host named in @code{rpc-host-whitelist}. Note that requests to ``localhost'' or ``localhost.'', or to a numeric address, are always accepted regardless of these settings."
  43278. msgstr ""
  43279. #. type: deftypevr
  43280. #: guix-git/doc/guix.texi:28520
  43281. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  43282. msgstr ""
  43283. #. type: deftypevr
  43284. #: guix-git/doc/guix.texi:28525
  43285. #, no-wrap
  43286. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  43287. msgstr ""
  43288. #. type: deftypevr
  43289. #: guix-git/doc/guix.texi:28528
  43290. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  43291. msgstr ""
  43292. #. type: deftypevr
  43293. #: guix-git/doc/guix.texi:28533
  43294. #, no-wrap
  43295. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  43296. msgstr ""
  43297. #. type: deftypevr
  43298. #: guix-git/doc/guix.texi:28537
  43299. msgid "The minimum severity level of messages to be logged (to @file{/var/log/transmission.log}) by the daemon, one of @code{none} (no logging), @code{error}, @code{info} and @code{debug}."
  43300. msgstr ""
  43301. #. type: deftypevr
  43302. #: guix-git/doc/guix.texi:28542
  43303. #, no-wrap
  43304. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  43305. msgstr ""
  43306. #. type: deftypevr
  43307. #: guix-git/doc/guix.texi:28545
  43308. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  43309. msgstr ""
  43310. #. type: deftypevr
  43311. #: guix-git/doc/guix.texi:28550
  43312. #, no-wrap
  43313. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  43314. msgstr ""
  43315. #. type: deftypevr
  43316. #: guix-git/doc/guix.texi:28554
  43317. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  43318. msgstr ""
  43319. #. type: deftypevr
  43320. #: guix-git/doc/guix.texi:28559
  43321. #, no-wrap
  43322. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  43323. msgstr ""
  43324. #. type: deftypevr
  43325. #: guix-git/doc/guix.texi:28563
  43326. msgid "A file name or file-like object specifying a script to run each time a torrent completes, when @code{script-torrent-done-enabled?} is @code{#t}."
  43327. msgstr ""
  43328. #. type: deftypevr
  43329. #: guix-git/doc/guix.texi:28568
  43330. #, no-wrap
  43331. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  43332. msgstr ""
  43333. #. type: deftypevr
  43334. #: guix-git/doc/guix.texi:28571
  43335. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  43336. msgstr ""
  43337. #. type: deftypevr
  43338. #: guix-git/doc/guix.texi:28576
  43339. #, no-wrap
  43340. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  43341. msgstr ""
  43342. #. type: deftypevr
  43343. #: guix-git/doc/guix.texi:28580
  43344. msgid "The amount of memory, in megabytes, to allocate for the daemon's in-memory cache. A larger value may increase performance by reducing the frequency of disk I/O."
  43345. msgstr ""
  43346. #. type: deftypevr
  43347. #: guix-git/doc/guix.texi:28582
  43348. msgid "Defaults to @samp{4}."
  43349. msgstr ""
  43350. #. type: deftypevr
  43351. #: guix-git/doc/guix.texi:28585
  43352. #, no-wrap
  43353. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  43354. msgstr ""
  43355. #. type: deftypevr
  43356. #: guix-git/doc/guix.texi:28589
  43357. msgid "When @code{#t}, the daemon will try to improve I/O performance by hinting to the operating system which data is likely to be read next from disk to satisfy requests from peers."
  43358. msgstr ""
  43359. #. type: subsubheading
  43360. #: guix-git/doc/guix.texi:28602
  43361. #, no-wrap
  43362. msgid "Tailon Service"
  43363. msgstr ""
  43364. #. type: Plain text
  43365. #: guix-git/doc/guix.texi:28606
  43366. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  43367. msgstr ""
  43368. #. type: Plain text
  43369. #: guix-git/doc/guix.texi:28609
  43370. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  43371. msgstr ""
  43372. #. type: lisp
  43373. #: guix-git/doc/guix.texi:28612
  43374. #, no-wrap
  43375. msgid "(service tailon-service-type)\n"
  43376. msgstr ""
  43377. #. type: Plain text
  43378. #: guix-git/doc/guix.texi:28616
  43379. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  43380. msgstr ""
  43381. #. type: lisp
  43382. #: guix-git/doc/guix.texi:28623
  43383. #, no-wrap
  43384. msgid ""
  43385. "(service tailon-service-type\n"
  43386. " (tailon-configuration\n"
  43387. " (config-file\n"
  43388. " (tailon-configuration-file\n"
  43389. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  43390. msgstr ""
  43391. #. type: deftp
  43392. #: guix-git/doc/guix.texi:28626
  43393. #, no-wrap
  43394. msgid "{Data Type} tailon-configuration"
  43395. msgstr ""
  43396. #. type: deftp
  43397. #: guix-git/doc/guix.texi:28629
  43398. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  43399. msgstr ""
  43400. #. type: item
  43401. #: guix-git/doc/guix.texi:28631
  43402. #, no-wrap
  43403. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  43404. msgstr ""
  43405. #. type: table
  43406. #: guix-git/doc/guix.texi:28635
  43407. msgid "The configuration file to use for Tailon. This can be set to a @dfn{tailon-configuration-file} record value, or any gexp (@pxref{G-Expressions})."
  43408. msgstr ""
  43409. #. type: table
  43410. #: guix-git/doc/guix.texi:28638
  43411. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  43412. msgstr ""
  43413. #. type: lisp
  43414. #: guix-git/doc/guix.texi:28643
  43415. #, no-wrap
  43416. msgid ""
  43417. "(service tailon-service-type\n"
  43418. " (tailon-configuration\n"
  43419. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  43420. msgstr ""
  43421. #. type: item
  43422. #: guix-git/doc/guix.texi:28645
  43423. #, no-wrap
  43424. msgid "@code{package} (default: @code{tailon})"
  43425. msgstr ""
  43426. #. type: table
  43427. #: guix-git/doc/guix.texi:28647
  43428. msgid "The tailon package to use."
  43429. msgstr ""
  43430. #. type: deftp
  43431. #: guix-git/doc/guix.texi:28651
  43432. #, no-wrap
  43433. msgid "{Data Type} tailon-configuration-file"
  43434. msgstr ""
  43435. #. type: deftp
  43436. #: guix-git/doc/guix.texi:28654
  43437. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  43438. msgstr ""
  43439. #. type: item
  43440. #: guix-git/doc/guix.texi:28656
  43441. #, no-wrap
  43442. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  43443. msgstr ""
  43444. #. type: table
  43445. #: guix-git/doc/guix.texi:28661
  43446. msgid "List of files to display. The list can include strings for a single file or directory, or a list, where the first item is the name of a subsection, and the remaining items are the files or directories in that subsection."
  43447. msgstr ""
  43448. #. type: item
  43449. #: guix-git/doc/guix.texi:28662
  43450. #, no-wrap
  43451. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  43452. msgstr ""
  43453. #. type: table
  43454. #: guix-git/doc/guix.texi:28664
  43455. msgid "Address and port to which Tailon should bind on."
  43456. msgstr ""
  43457. #. type: item
  43458. #: guix-git/doc/guix.texi:28665
  43459. #, no-wrap
  43460. msgid "@code{relative-root} (default: @code{#f})"
  43461. msgstr ""
  43462. #. type: table
  43463. #: guix-git/doc/guix.texi:28667
  43464. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  43465. msgstr ""
  43466. #. type: item
  43467. #: guix-git/doc/guix.texi:28668
  43468. #, no-wrap
  43469. msgid "@code{allow-transfers?} (default: @code{#t})"
  43470. msgstr ""
  43471. #. type: table
  43472. #: guix-git/doc/guix.texi:28670
  43473. msgid "Allow downloading the log files in the web interface."
  43474. msgstr ""
  43475. #. type: item
  43476. #: guix-git/doc/guix.texi:28671
  43477. #, no-wrap
  43478. msgid "@code{follow-names?} (default: @code{#t})"
  43479. msgstr ""
  43480. #. type: table
  43481. #: guix-git/doc/guix.texi:28673
  43482. msgid "Allow tailing of not-yet existent files."
  43483. msgstr ""
  43484. #. type: item
  43485. #: guix-git/doc/guix.texi:28674
  43486. #, no-wrap
  43487. msgid "@code{tail-lines} (default: @code{200})"
  43488. msgstr ""
  43489. #. type: table
  43490. #: guix-git/doc/guix.texi:28676
  43491. msgid "Number of lines to read initially from each file."
  43492. msgstr ""
  43493. #. type: item
  43494. #: guix-git/doc/guix.texi:28677
  43495. #, no-wrap
  43496. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  43497. msgstr ""
  43498. #. type: table
  43499. #: guix-git/doc/guix.texi:28679
  43500. msgid "Commands to allow running. By default, @code{sed} is disabled."
  43501. msgstr ""
  43502. #. type: table
  43503. #: guix-git/doc/guix.texi:28682
  43504. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  43505. msgstr ""
  43506. #. type: item
  43507. #: guix-git/doc/guix.texi:28683
  43508. #, no-wrap
  43509. msgid "@code{wrap-lines} (default: @code{#t})"
  43510. msgstr ""
  43511. #. type: table
  43512. #: guix-git/doc/guix.texi:28687
  43513. msgid "Initial line wrapping state in the web interface. Set to @code{#t} to initially wrap lines (the default), or to @code{#f} to initially not wrap lines."
  43514. msgstr ""
  43515. #. type: item
  43516. #: guix-git/doc/guix.texi:28688
  43517. #, no-wrap
  43518. msgid "@code{http-auth} (default: @code{#f})"
  43519. msgstr ""
  43520. #. type: table
  43521. #: guix-git/doc/guix.texi:28692
  43522. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  43523. msgstr ""
  43524. #. type: item
  43525. #: guix-git/doc/guix.texi:28693
  43526. #, no-wrap
  43527. msgid "@code{users} (default: @code{#f})"
  43528. msgstr "@code{users} (default: @code{#f})"
  43529. #. type: table
  43530. #: guix-git/doc/guix.texi:28698
  43531. msgid "If HTTP authentication is enabled (see @code{http-auth}), access will be restricted to the credentials provided here. To configure users, use a list of pairs, where the first element of the pair is the username, and the 2nd element of the pair is the password."
  43532. msgstr ""
  43533. #. type: lisp
  43534. #: guix-git/doc/guix.texi:28704
  43535. #, no-wrap
  43536. msgid ""
  43537. "(tailon-configuration-file\n"
  43538. " (http-auth \"basic\")\n"
  43539. " (users '((\"user1\" . \"password1\")\n"
  43540. " (\"user2\" . \"password2\"))))\n"
  43541. msgstr ""
  43542. #. type: subsubheading
  43543. #: guix-git/doc/guix.texi:28710
  43544. #, no-wrap
  43545. msgid "Darkstat Service"
  43546. msgstr ""
  43547. #. type: cindex
  43548. #: guix-git/doc/guix.texi:28711
  43549. #, no-wrap
  43550. msgid "darkstat"
  43551. msgstr ""
  43552. #. type: Plain text
  43553. #: guix-git/doc/guix.texi:28714
  43554. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  43555. msgstr ""
  43556. #. type: defvar
  43557. #: guix-git/doc/guix.texi:28715
  43558. #, fuzzy, no-wrap
  43559. #| msgid "guix-publish-service-type"
  43560. msgid "darkstat-service-type"
  43561. msgstr "guix-publish-service-type"
  43562. #. type: defvar
  43563. #: guix-git/doc/guix.texi:28720
  43564. msgid "This is the service type for the @uref{https://unix4lyfe.org/darkstat/, darkstat} service, its value must be a @code{darkstat-configuration} record as in this example:"
  43565. msgstr ""
  43566. #. type: lisp
  43567. #: guix-git/doc/guix.texi:28725
  43568. #, no-wrap
  43569. msgid ""
  43570. "(service darkstat-service-type\n"
  43571. " (darkstat-configuration\n"
  43572. " (interface \"eno1\")))\n"
  43573. msgstr ""
  43574. #. type: deftp
  43575. #: guix-git/doc/guix.texi:28728
  43576. #, no-wrap
  43577. msgid "{Data Type} darkstat-configuration"
  43578. msgstr ""
  43579. #. type: deftp
  43580. #: guix-git/doc/guix.texi:28730
  43581. msgid "Data type representing the configuration of @command{darkstat}."
  43582. msgstr ""
  43583. #. type: item
  43584. #: guix-git/doc/guix.texi:28732
  43585. #, no-wrap
  43586. msgid "@code{package} (default: @code{darkstat})"
  43587. msgstr ""
  43588. #. type: table
  43589. #: guix-git/doc/guix.texi:28734
  43590. msgid "The darkstat package to use."
  43591. msgstr ""
  43592. #. type: code{#1}
  43593. #: guix-git/doc/guix.texi:28735
  43594. #, no-wrap
  43595. msgid "interface"
  43596. msgstr ""
  43597. #. type: table
  43598. #: guix-git/doc/guix.texi:28737
  43599. msgid "Capture traffic on the specified network interface."
  43600. msgstr ""
  43601. #. type: item
  43602. #: guix-git/doc/guix.texi:28738
  43603. #, no-wrap
  43604. msgid "@code{port} (default: @code{\"667\"})"
  43605. msgstr "@code{porta} (default: @code{\"667\"})"
  43606. #. type: table
  43607. #: guix-git/doc/guix.texi:28740
  43608. msgid "Bind the web interface to the specified port."
  43609. msgstr ""
  43610. #. type: table
  43611. #: guix-git/doc/guix.texi:28743 guix-git/doc/guix.texi:28779
  43612. msgid "Bind the web interface to the specified address."
  43613. msgstr ""
  43614. #. type: item
  43615. #: guix-git/doc/guix.texi:28744
  43616. #, no-wrap
  43617. msgid "@code{base} (default: @code{\"/\"})"
  43618. msgstr ""
  43619. #. type: table
  43620. #: guix-git/doc/guix.texi:28747
  43621. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  43622. msgstr ""
  43623. #. type: cindex
  43624. #: guix-git/doc/guix.texi:28752 guix-git/doc/guix.texi:28753
  43625. #, no-wrap
  43626. msgid "prometheus-node-exporter"
  43627. msgstr ""
  43628. #. type: subsubheading
  43629. #: guix-git/doc/guix.texi:28752
  43630. #, no-wrap
  43631. msgid "Prometheus Node Exporter Service"
  43632. msgstr ""
  43633. #. type: Plain text
  43634. #: guix-git/doc/guix.texi:28759
  43635. msgid "The Prometheus ``node exporter'' makes hardware and operating system statistics provided by the Linux kernel available for the Prometheus monitoring system. This service should be deployed on all physical nodes and virtual machines, where monitoring these statistics is desirable."
  43636. msgstr ""
  43637. #. type: defvar
  43638. #: guix-git/doc/guix.texi:28760
  43639. #, fuzzy, no-wrap
  43640. #| msgid "guix-publish-service-type"
  43641. msgid "prometheus-node-exporter-service-type"
  43642. msgstr "guix-publish-service-type"
  43643. #. type: defvar
  43644. #: guix-git/doc/guix.texi:28764
  43645. msgid "This is the service type for the @uref{https://github.com/prometheus/node_exporter/, prometheus-node-exporter} service, its value must be a @code{prometheus-node-exporter-configuration}."
  43646. msgstr ""
  43647. #. type: lisp
  43648. #: guix-git/doc/guix.texi:28767
  43649. #, no-wrap
  43650. msgid "(service prometheus-node-exporter-service-type)\n"
  43651. msgstr ""
  43652. #. type: deftp
  43653. #: guix-git/doc/guix.texi:28770
  43654. #, no-wrap
  43655. msgid "{Data Type} prometheus-node-exporter-configuration"
  43656. msgstr ""
  43657. #. type: deftp
  43658. #: guix-git/doc/guix.texi:28772
  43659. msgid "Data type representing the configuration of @command{node_exporter}."
  43660. msgstr ""
  43661. #. type: item
  43662. #: guix-git/doc/guix.texi:28774
  43663. #, no-wrap
  43664. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  43665. msgstr ""
  43666. #. type: table
  43667. #: guix-git/doc/guix.texi:28776
  43668. msgid "The prometheus-node-exporter package to use."
  43669. msgstr ""
  43670. #. type: item
  43671. #: guix-git/doc/guix.texi:28777
  43672. #, no-wrap
  43673. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  43674. msgstr ""
  43675. #. type: item
  43676. #: guix-git/doc/guix.texi:28780
  43677. #, no-wrap
  43678. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  43679. msgstr ""
  43680. #. type: table
  43681. #: guix-git/doc/guix.texi:28784
  43682. msgid "This directory can be used to export metrics specific to this machine. Files containing metrics in the text format, with the filename ending in @code{.prom} should be placed in this directory."
  43683. msgstr ""
  43684. #. type: table
  43685. #: guix-git/doc/guix.texi:28787
  43686. msgid "Extra options to pass to the Prometheus node exporter."
  43687. msgstr ""
  43688. #. type: cindex
  43689. #: guix-git/doc/guix.texi:28792 guix-git/doc/guix.texi:28793
  43690. #, fuzzy, no-wrap
  43691. #| msgid "install"
  43692. msgid "vnstat"
  43693. msgstr "instalar"
  43694. #. type: subsubheading
  43695. #: guix-git/doc/guix.texi:28792
  43696. #, no-wrap
  43697. msgid "vnStat Network Traffic Monitor"
  43698. msgstr ""
  43699. #. type: Plain text
  43700. #: guix-git/doc/guix.texi:28798
  43701. msgid "vnStat is a network traffic monitor that uses interface statistics provided by the kernel rather than traffic sniffing. This makes it a light resource monitor, regardless of network traffic rate."
  43702. msgstr ""
  43703. #. type: defvar
  43704. #: guix-git/doc/guix.texi:28799
  43705. #, fuzzy, no-wrap
  43706. #| msgid "guix-publish-service-type"
  43707. msgid "vnstat-service-type"
  43708. msgstr "guix-publish-service-type"
  43709. #. type: defvar
  43710. #: guix-git/doc/guix.texi:28802
  43711. msgid "This is the service type for the @uref{https://humdi.net/vnstat/,vnStat} daemon and accepts a @code{vnstat-configuration} value."
  43712. msgstr ""
  43713. #. type: defvar
  43714. #: guix-git/doc/guix.texi:28804
  43715. msgid "The following example will configure the service with default values:"
  43716. msgstr ""
  43717. #. type: lisp
  43718. #: guix-git/doc/guix.texi:28807
  43719. #, fuzzy, no-wrap
  43720. msgid "(service vnstat-service-type)\n"
  43721. msgstr "guix-publish-service-type"
  43722. #. type: deftp
  43723. #: guix-git/doc/guix.texi:28811
  43724. #, fuzzy, no-wrap
  43725. msgid "{Data Type} vnstat-configuration"
  43726. msgstr "build-machine {Data Type}"
  43727. #. type: deftp
  43728. #: guix-git/doc/guix.texi:28813
  43729. #, fuzzy
  43730. msgid "Available @code{vnstat-configuration} fields are:"
  43731. msgstr "build-machine {Data Type}"
  43732. #. type: item
  43733. #: guix-git/doc/guix.texi:28815
  43734. #, fuzzy, no-wrap
  43735. #| msgid "@code{dbus?} (default: @code{#t})"
  43736. msgid "@code{package} (default: @code{vnstat}) (type: file-like)"
  43737. msgstr "@code{dbus?} (padrão: @code{#t})"
  43738. #. type: table
  43739. #: guix-git/doc/guix.texi:28817
  43740. #, fuzzy
  43741. #| msgid "The GPM package to use."
  43742. msgid "The vnstat package."
  43743. msgstr "O pacote GPM a ser usado."
  43744. #. type: item
  43745. #: guix-git/doc/guix.texi:28818
  43746. #, fuzzy, no-wrap
  43747. msgid "@code{database-directory} (default: @code{\"/var/lib/vnstat\"}) (type: string)"
  43748. msgstr "@code{remote?} (padrão: @code{#f})"
  43749. #. type: table
  43750. #: guix-git/doc/guix.texi:28821
  43751. msgid "Specifies the directory where the database is to be stored. A full path must be given and a leading '/' isn't required."
  43752. msgstr ""
  43753. #. type: item
  43754. #: guix-git/doc/guix.texi:28822
  43755. #, fuzzy, no-wrap
  43756. #| msgid "@code{debug?} (default: @code{#f})"
  43757. msgid "@code{5-minute-hours} (default: @code{48}) (type: maybe-integer)"
  43758. msgstr "@code{debug?} (default: @code{#f})"
  43759. #. type: table
  43760. #: guix-git/doc/guix.texi:28827
  43761. msgid "Data retention duration for the 5 minute resolution entries. The configuration defines for how many past hours entries will be stored. Set to @code{-1} for unlimited entries or to @code{0} to disable the data collection of this resolution."
  43762. msgstr ""
  43763. #. type: item
  43764. #: guix-git/doc/guix.texi:28828
  43765. #, fuzzy, no-wrap
  43766. #| msgid "@code{debug?} (default: @code{#f})"
  43767. msgid "@code{64bit-interface-counters} (default: @code{-2}) (type: maybe-integer)"
  43768. msgstr "@code{debug?} (default: @code{#f})"
  43769. #. type: table
  43770. #: guix-git/doc/guix.texi:28837
  43771. msgid "Select interface counter handling. Set to @code{1} for defining that all interfaces use 64-bit counters on the kernel side and @code{0} for defining 32-bit counter. Set to @code{-1} for using the old style logic used in earlier versions where counter values within 32-bits are assumed to be 32-bit and anything larger is assumed to be a 64-bit counter. This may produce false results if a 64-bit counter is reset within the 32-bits. Set to @code{-2} for using automatic detection based on available kernel datastructures."
  43772. msgstr ""
  43773. #. type: item
  43774. #: guix-git/doc/guix.texi:28838
  43775. #, fuzzy, no-wrap
  43776. #| msgid "@code{debug?} (default: @code{#f})"
  43777. msgid "@code{always-add-new-interfaces?} (default: @code{#t}) (type: maybe-boolean)"
  43778. msgstr "@code{debug?} (default: @code{#f})"
  43779. #. type: table
  43780. #: guix-git/doc/guix.texi:28845
  43781. msgid "Enable or disable automatic creation of new database entries for interfaces not currently in the database even if the database file already exists when the daemon is started. New database entries will also get created for new interfaces seen while the daemon is running. Pseudo interfaces @samp{lo}, @samp{lo0} and @samp{sit0} are always excluded from getting added."
  43782. msgstr ""
  43783. #. type: item
  43784. #: guix-git/doc/guix.texi:28846
  43785. #, fuzzy, no-wrap
  43786. #| msgid "@code{debug?} (default: @code{#f})"
  43787. msgid "@code{bandwidth-detection?} (default: @code{#t}) (type: maybe-boolean)"
  43788. msgstr "@code{debug?} (default: @code{#f})"
  43789. #. type: table
  43790. #: guix-git/doc/guix.texi:28854
  43791. msgid "Try to automatically detect @var{max-bandwidth} value for each monitored interface. Mostly only ethernet interfaces support this feature. @var{max-bandwidth} will be used as fallback value if detection fails. Any interface specific @var{max-BW} configuration will disable the detection for the specified interface. In Linux, the detection is disabled for tun interfaces due to the Linux kernel always reporting 10 Mbit regardless of the used real interface."
  43792. msgstr ""
  43793. #. type: item
  43794. #: guix-git/doc/guix.texi:28855
  43795. #, fuzzy, no-wrap
  43796. #| msgid "@code{debug?} (default: @code{#f})"
  43797. msgid "@code{bandwidth-detection-interval} (default: @code{5}) (type: maybe-integer)"
  43798. msgstr "@code{debug?} (default: @code{#f})"
  43799. #. type: table
  43800. #: guix-git/doc/guix.texi:28860
  43801. msgid "How often in minutes interface specific detection of @var{max-bandwidth} is done for detecting possible changes when @var{bandwidth-detection} is enabled. Can be disabled by setting to @code{0}. Value range: @samp{0}..@samp{30}"
  43802. msgstr ""
  43803. #. type: item
  43804. #: guix-git/doc/guix.texi:28861
  43805. #, fuzzy, no-wrap
  43806. #| msgid "@code{debug?} (default: @code{#f})"
  43807. msgid "@code{boot-variation} (default: @code{15}) (type: maybe-integer)"
  43808. msgstr "@code{debug?} (default: @code{#f})"
  43809. #. type: table
  43810. #: guix-git/doc/guix.texi:28864
  43811. msgid "Time in seconds how much the boot time reported by system kernel can variate between updates. Value range: @samp{0}..@samp{300}"
  43812. msgstr ""
  43813. #. type: item
  43814. #: guix-git/doc/guix.texi:28865
  43815. #, fuzzy, no-wrap
  43816. #| msgid "@code{debug?} (default: @code{#f})"
  43817. msgid "@code{check-disk-space?} (default: @code{#t}) (type: maybe-boolean)"
  43818. msgstr "@code{debug?} (default: @code{#f})"
  43819. #. type: table
  43820. #: guix-git/doc/guix.texi:28868
  43821. msgid "Enable or disable the availability check of at least some free disk space before a database write."
  43822. msgstr ""
  43823. #. type: item
  43824. #: guix-git/doc/guix.texi:28869
  43825. #, fuzzy, no-wrap
  43826. #| msgid "@code{debug?} (default: @code{#f})"
  43827. msgid "@code{create-directories?} (default: @code{#t}) (type: maybe-boolean)"
  43828. msgstr "@code{debug?} (default: @code{#f})"
  43829. #. type: table
  43830. #: guix-git/doc/guix.texi:28872
  43831. msgid "Enable or disable the creation of directories when a configured path doesn't exist. This includes @var{database-directory}."
  43832. msgstr ""
  43833. #. type: item
  43834. #: guix-git/doc/guix.texi:28873
  43835. #, fuzzy, no-wrap
  43836. msgid "@code{daemon-group} (type: maybe-user-group)"
  43837. msgstr "@code{remote?} (padrão: @code{#f})"
  43838. #. type: table
  43839. #: guix-git/doc/guix.texi:28876
  43840. msgid "Specify the group to which the daemon process should switch during startup. Set to @code{%unset-value} to disable group switching."
  43841. msgstr ""
  43842. #. type: item
  43843. #: guix-git/doc/guix.texi:28877
  43844. #, fuzzy, no-wrap
  43845. msgid "@code{daemon-user} (type: maybe-user-account)"
  43846. msgstr "@code{remote?} (padrão: @code{#f})"
  43847. #. type: table
  43848. #: guix-git/doc/guix.texi:28880
  43849. msgid "Specify the user to which the daemon process should switch during startup. Set to @code{%unset-value} to disable user switching."
  43850. msgstr ""
  43851. #. type: item
  43852. #: guix-git/doc/guix.texi:28881
  43853. #, fuzzy, no-wrap
  43854. #| msgid "@code{debug?} (default: @code{#f})"
  43855. msgid "@code{daily-days} (default: @code{62}) (type: maybe-integer)"
  43856. msgstr "@code{debug?} (default: @code{#f})"
  43857. #. type: table
  43858. #: guix-git/doc/guix.texi:28886
  43859. msgid "Data retention duration for the one day resolution entries. The configuration defines for how many past days entries will be stored. Set to @code{-1} for unlimited entries or to @code{0} to disable the data collection of this resolution."
  43860. msgstr ""
  43861. #. type: item
  43862. #: guix-git/doc/guix.texi:28887
  43863. #, fuzzy, no-wrap
  43864. #| msgid "@code{debug?} (default: @code{#f})"
  43865. msgid "@code{database-synchronous} (default: @code{-1}) (type: maybe-integer)"
  43866. msgstr "@code{debug?} (default: @code{#f})"
  43867. #. type: table
  43868. #: guix-git/doc/guix.texi:28898
  43869. msgid "Change the setting of the SQLite \"synchronous\" flag which controls how much care is taken to ensure disk writes have fully completed when writing data to the database before continuing other actions. Higher values take extra steps to ensure data safety at the cost of slower performance. A value of @code{0} will result in all handling being left to the filesystem itself. Set to @code{-1} to select the default value according to database mode controlled by @var{database-write-ahead-logging} setting. See SQLite documentation for more details regarding values from @code{1} to @code{3}. Value range: @samp{-1}..@samp{3}"
  43870. msgstr ""
  43871. #. type: item
  43872. #: guix-git/doc/guix.texi:28899
  43873. #, fuzzy, no-wrap
  43874. #| msgid "@code{wait?} (default: @code{#t})"
  43875. msgid "@code{database-write-ahead-logging?} (default: @code{#f}) (type: maybe-boolean)"
  43876. msgstr "@code{wait?} (padrão: @code{#t})"
  43877. #. type: table
  43878. #: guix-git/doc/guix.texi:28903
  43879. msgid "Enable or disable SQLite Write-Ahead Logging mode for the database. See SQLite documentation for more details and note that support for read-only operations isn't available in older SQLite versions."
  43880. msgstr ""
  43881. #. type: item
  43882. #: guix-git/doc/guix.texi:28904
  43883. #, fuzzy, no-wrap
  43884. #| msgid "@code{debug?} (default: @code{#f})"
  43885. msgid "@code{hourly-days} (default: @code{4}) (type: maybe-integer)"
  43886. msgstr "@code{debug?} (default: @code{#f})"
  43887. #. type: table
  43888. #: guix-git/doc/guix.texi:28909
  43889. msgid "Data retention duration for the one hour resolution entries. The configuration defines for how many past days entries will be stored. Set to @code{-1} for unlimited entries or to @code{0} to disable the data collection of this resolution."
  43890. msgstr ""
  43891. #. type: item
  43892. #: guix-git/doc/guix.texi:28910 guix-git/doc/guix.texi:43630
  43893. #, fuzzy, no-wrap
  43894. msgid "@code{log-file} (type: maybe-string)"
  43895. msgstr "@code{remote?} (padrão: @code{#f})"
  43896. #. type: table
  43897. #: guix-git/doc/guix.texi:28913
  43898. msgid "Specify log file path and name to be used if @var{use-logging} is set to @code{1}."
  43899. msgstr ""
  43900. #. type: item
  43901. #: guix-git/doc/guix.texi:28914
  43902. #, fuzzy, no-wrap
  43903. msgid "@code{max-bandwidth} (type: maybe-integer)"
  43904. msgstr "@code{remote?} (padrão: @code{#f})"
  43905. #. type: table
  43906. #: guix-git/doc/guix.texi:28919
  43907. msgid "Maximum bandwidth for all interfaces. If the interface specific traffic exceeds the given value then the data is assumed to be invalid and rejected. Set to 0 in order to disable the feature. Value range: @samp{0}..@samp{50000}"
  43908. msgstr ""
  43909. #. type: item
  43910. #: guix-git/doc/guix.texi:28920
  43911. #, fuzzy, no-wrap
  43912. msgid "@code{max-bw} (type: maybe-alist)"
  43913. msgstr "@code{remote?} (padrão: @code{#f})"
  43914. #. type: table
  43915. #: guix-git/doc/guix.texi:28924
  43916. msgid "Same as @var{max-bandwidth} but can be used for setting individual limits for selected interfaces. This is an association list of interfaces as strings to integer values. For example,"
  43917. msgstr ""
  43918. #. type: lisp
  43919. #: guix-git/doc/guix.texi:28927
  43920. #, no-wrap
  43921. msgid ""
  43922. "(max-bw `((\"eth0\" . 15000)\n"
  43923. " (\"ppp0\" . 10000)))\n"
  43924. msgstr ""
  43925. #. type: table
  43926. #: guix-git/doc/guix.texi:28930
  43927. msgid "@var{bandwidth-detection} is disabled on an interface specific level for each @var{max-bw} configuration. Value range: @samp{0}..@samp{50000}"
  43928. msgstr ""
  43929. #. type: item
  43930. #: guix-git/doc/guix.texi:28931
  43931. #, fuzzy, no-wrap
  43932. #| msgid "@code{debug?} (default: @code{#f})"
  43933. msgid "@code{monthly-months} (default: @code{25}) (type: maybe-integer)"
  43934. msgstr "@code{debug?} (default: @code{#f})"
  43935. #. type: table
  43936. #: guix-git/doc/guix.texi:28936
  43937. msgid "Data retention duration for the one month resolution entries. The configuration defines for how many past months entries will be stored. Set to @code{-1} for unlimited entries or to @code{0} to disable the data collection of this resolution."
  43938. msgstr ""
  43939. #. type: item
  43940. #: guix-git/doc/guix.texi:28937
  43941. #, fuzzy, no-wrap
  43942. #| msgid "@code{debug?} (default: @code{#f})"
  43943. msgid "@code{month-rotate} (default: @code{1}) (type: maybe-integer)"
  43944. msgstr "@code{debug?} (default: @code{#f})"
  43945. #. type: table
  43946. #: guix-git/doc/guix.texi:28944
  43947. msgid "Day of month that months are expected to change. Usually set to 1 but can be set to alternative values for example for tracking monthly billed traffic where the billing period doesn't start on the first day. For example, if set to 7, days of February up to and including the 6th will count for January. Changing this option will not cause existing data to be recalculated. Value range: @samp{1}..@samp{28}"
  43948. msgstr ""
  43949. #. type: item
  43950. #: guix-git/doc/guix.texi:28945
  43951. #, fuzzy, no-wrap
  43952. #| msgid "@code{users} (default: @code{#f})"
  43953. msgid "@code{month-rotate-affects-years?} (default: @code{#f}) (type: maybe-boolean)"
  43954. msgstr "@code{users} (default: @code{#f})"
  43955. #. type: table
  43956. #: guix-git/doc/guix.texi:28948
  43957. msgid "Enable or disable @var{month-rotate} also affecting yearly data. Applicable only when @var{month-rotate} has a value greater than one."
  43958. msgstr ""
  43959. #. type: item
  43960. #: guix-git/doc/guix.texi:28949
  43961. #, fuzzy, no-wrap
  43962. #| msgid "@code{debug?} (default: @code{#f})"
  43963. msgid "@code{offline-save-interval} (default: @code{30}) (type: maybe-integer)"
  43964. msgstr "@code{debug?} (default: @code{#f})"
  43965. #. type: table
  43966. #: guix-git/doc/guix.texi:28953
  43967. msgid "How often in minutes cached interface data is saved to file when all monitored interfaces are offline. Value range: @var{save-interval}..@samp{60}"
  43968. msgstr ""
  43969. #. type: item
  43970. #: guix-git/doc/guix.texi:28954
  43971. #, fuzzy, no-wrap
  43972. msgid "@code{pid-file} (default: @code{\"/var/run/vnstatd.pid\"}) (type: maybe-string)"
  43973. msgstr "@code{remote?} (padrão: @code{#f})"
  43974. #. type: table
  43975. #: guix-git/doc/guix.texi:28956
  43976. msgid "Specify pid file path and name to be used."
  43977. msgstr ""
  43978. #. type: item
  43979. #: guix-git/doc/guix.texi:28957
  43980. #, fuzzy, no-wrap
  43981. #| msgid "@code{debug?} (default: @code{#f})"
  43982. msgid "@code{poll-interval} (default: @code{5}) (type: maybe-integer)"
  43983. msgstr "@code{debug?} (default: @code{#f})"
  43984. #. type: table
  43985. #: guix-git/doc/guix.texi:28960
  43986. msgid "How often in seconds interfaces are checked for status changes. Value range: @samp{2}..@samp{60}"
  43987. msgstr ""
  43988. #. type: item
  43989. #: guix-git/doc/guix.texi:28961
  43990. #, fuzzy, no-wrap
  43991. msgid "@code{rescan-database-on-save?} (type: maybe-boolean)"
  43992. msgstr "@code{chdir} (default: @code{#f})"
  43993. #. type: table
  43994. #: guix-git/doc/guix.texi:28966
  43995. msgid "Automatically discover added interfaces from the database and start monitoring. The rescan is done every @var{save-interval} or @var{offline-save-interval} minutes depending on the current activity state."
  43996. msgstr ""
  43997. #. type: item
  43998. #: guix-git/doc/guix.texi:28967
  43999. #, fuzzy, no-wrap
  44000. #| msgid "@code{debug?} (default: @code{#f})"
  44001. msgid "@code{save-interval} (default: @code{5}) (type: maybe-integer)"
  44002. msgstr "@code{debug?} (default: @code{#f})"
  44003. #. type: table
  44004. #: guix-git/doc/guix.texi:28970
  44005. msgid "How often in minutes cached interface data is saved to file. Value range: ( @var{update-interval} / 60 )..@samp{60}"
  44006. msgstr ""
  44007. #. type: item
  44008. #: guix-git/doc/guix.texi:28971
  44009. #, fuzzy, no-wrap
  44010. #| msgid "@code{debug?} (default: @code{#f})"
  44011. msgid "@code{save-on-status-change?} (default: @code{#t}) (type: maybe-boolean)"
  44012. msgstr "@code{debug?} (default: @code{#f})"
  44013. #. type: table
  44014. #: guix-git/doc/guix.texi:28975
  44015. msgid "Enable or disable the additional saving to file of cached interface data when the availability of an interface changes, i.e., when an interface goes offline or comes online."
  44016. msgstr ""
  44017. #. type: item
  44018. #: guix-git/doc/guix.texi:28976
  44019. #, fuzzy, no-wrap
  44020. #| msgid "@code{debug?} (default: @code{#f})"
  44021. msgid "@code{time-sync-wait} (default: @code{5}) (type: maybe-integer)"
  44022. msgstr "@code{debug?} (default: @code{#f})"
  44023. #. type: table
  44024. #: guix-git/doc/guix.texi:28982
  44025. msgid "How many minutes to wait during daemon startup for system clock to sync if most recent database update appears to be in the future. This may be needed in systems without a real-time clock (RTC) which require some time after boot to query and set the correct time. @code{0} = wait disabled. Value range: @samp{0}..@samp{60}"
  44026. msgstr ""
  44027. #. type: item
  44028. #: guix-git/doc/guix.texi:28983
  44029. #, fuzzy, no-wrap
  44030. #| msgid "@code{debug?} (default: @code{#f})"
  44031. msgid "@code{top-day-entries} (default: @code{20}) (type: maybe-integer)"
  44032. msgstr "@code{debug?} (default: @code{#f})"
  44033. #. type: table
  44034. #: guix-git/doc/guix.texi:28988
  44035. msgid "Data retention duration for the top day entries. The configuration defines how many of the past top day entries will be stored. Set to @code{-1} for unlimited entries or to @code{0} to disable the data collection of this resolution."
  44036. msgstr ""
  44037. #. type: item
  44038. #: guix-git/doc/guix.texi:28989
  44039. #, fuzzy, no-wrap
  44040. #| msgid "@code{debug?} (default: @code{#f})"
  44041. msgid "@code{trafficless-entries?} (default: @code{#t}) (type: maybe-boolean)"
  44042. msgstr "@code{debug?} (default: @code{#f})"
  44043. #. type: table
  44044. #: guix-git/doc/guix.texi:28992
  44045. msgid "Create database entries even when there is no traffic during the entry's time period."
  44046. msgstr ""
  44047. #. type: item
  44048. #: guix-git/doc/guix.texi:28993
  44049. #, fuzzy, no-wrap
  44050. #| msgid "@code{debug?} (default: @code{#f})"
  44051. msgid "@code{update-file-owner?} (default: @code{#t}) (type: maybe-boolean)"
  44052. msgstr "@code{debug?} (default: @code{#f})"
  44053. #. type: table
  44054. #: guix-git/doc/guix.texi:29002
  44055. msgid "Enable or disable the update of file ownership during daemon process startup. During daemon startup, only database, log and pid files will be modified if the user or group change feature ( @var{daemon-user} or @var{daemon-group} ) is enabled and the files don't match the requested user or group. During manual database creation, this option will cause file ownership to be inherited from the database directory if the directory already exists. This option only has effect when the process is started as root or via sudo."
  44056. msgstr ""
  44057. #. type: item
  44058. #: guix-git/doc/guix.texi:29003
  44059. #, fuzzy, no-wrap
  44060. #| msgid "@code{debug?} (default: @code{#f})"
  44061. msgid "@code{update-interval} (default: @code{20}) (type: maybe-integer)"
  44062. msgstr "@code{debug?} (default: @code{#f})"
  44063. #. type: table
  44064. #: guix-git/doc/guix.texi:29006
  44065. msgid "How often in seconds the interface data is updated. Value range: @var{poll-interval}..@samp{300}"
  44066. msgstr ""
  44067. #. type: item
  44068. #: guix-git/doc/guix.texi:29007
  44069. #, fuzzy, no-wrap
  44070. #| msgid "@code{debug?} (default: @code{#f})"
  44071. msgid "@code{use-logging} (default: @code{2}) (type: maybe-integer)"
  44072. msgstr "@code{debug?} (default: @code{#f})"
  44073. #. type: table
  44074. #: guix-git/doc/guix.texi:29010
  44075. msgid "Enable or disable logging. Accepted values are: @code{0} = disabled, @code{1} = logfile and @code{2} = syslog."
  44076. msgstr ""
  44077. #. type: item
  44078. #: guix-git/doc/guix.texi:29011
  44079. #, fuzzy, no-wrap
  44080. msgid "@code{use-utc?} (type: maybe-boolean)"
  44081. msgstr "@code{chdir} (default: @code{#f})"
  44082. #. type: table
  44083. #: guix-git/doc/guix.texi:29017
  44084. msgid "Enable or disable using UTC as timezone in the database for all entries. When enabled, all entries added to the database will use UTC regardless of the configured system timezone. When disabled, the configured system timezone will be used. Changing this setting will not result in already existing data to be modified."
  44085. msgstr ""
  44086. #. type: item
  44087. #: guix-git/doc/guix.texi:29018
  44088. #, fuzzy, no-wrap
  44089. #| msgid "@code{debug?} (default: @code{#f})"
  44090. msgid "@code{yearly-years} (default: @code{-1}) (type: maybe-integer)"
  44091. msgstr "@code{debug?} (default: @code{#f})"
  44092. #. type: table
  44093. #: guix-git/doc/guix.texi:29023
  44094. msgid "Data retention duration for the one year resolution entries. The configuration defines for how many past years entries will be stored. Set to @code{-1} for unlimited entries or to @code{0} to disable the data collection of this resolution."
  44095. msgstr ""
  44096. #. type: subsubheading
  44097. #: guix-git/doc/guix.texi:29028
  44098. #, no-wrap
  44099. msgid "Zabbix server"
  44100. msgstr ""
  44101. #. type: cindex
  44102. #: guix-git/doc/guix.texi:29029
  44103. #, no-wrap
  44104. msgid "zabbix zabbix-server"
  44105. msgstr ""
  44106. #. type: Plain text
  44107. #: guix-git/doc/guix.texi:29034
  44108. msgid "Zabbix is a high performance monitoring system that can collect data from a variety of sources and provide the results in a web-based interface. Alerting and reporting is built-in, as well as @dfn{templates} for common operating system metrics such as network utilization, CPU load, and disk space consumption."
  44109. msgstr ""
  44110. #. type: Plain text
  44111. #: guix-git/doc/guix.texi:29041
  44112. msgid "This service provides the central Zabbix monitoring service; you also need @ref{zabbix-front-end,@code{zabbix-front-end-service-type}} to configure Zabbix and display results, and optionally @ref{zabbix-agent, @code{zabbix-agent-service-type}} on machines that should be monitored (other data sources are supported, such as @ref{prometheus-node-exporter, Prometheus Node Exporter})."
  44113. msgstr ""
  44114. #. type: defvar
  44115. #: guix-git/doc/guix.texi:29042
  44116. #, fuzzy, no-wrap
  44117. msgid "zabbix-server-service-type"
  44118. msgstr "guix-publish-service-type"
  44119. #. type: defvar
  44120. #: guix-git/doc/guix.texi:29045
  44121. msgid "This is the service type for the Zabbix server service. Its value must be a @code{zabbix-server-configuration} record, shown below."
  44122. msgstr ""
  44123. #. type: deftp
  44124. #: guix-git/doc/guix.texi:29049
  44125. #, fuzzy, no-wrap
  44126. msgid "{Data Type} zabbix-server-configuration"
  44127. msgstr "build-machine {Data Type}"
  44128. #. type: deftp
  44129. #: guix-git/doc/guix.texi:29051
  44130. msgid "Available @code{zabbix-server-configuration} fields are:"
  44131. msgstr ""
  44132. #. type: item
  44133. #: guix-git/doc/guix.texi:29053 guix-git/doc/guix.texi:29216
  44134. #, fuzzy, no-wrap
  44135. msgid "@code{zabbix-server} (default: @code{zabbix-server}) (type: file-like)"
  44136. msgstr "@code{remote?} (padrão: @code{#f})"
  44137. #. type: table
  44138. #: guix-git/doc/guix.texi:29055
  44139. msgid "The zabbix-server package."
  44140. msgstr ""
  44141. #. type: item
  44142. #: guix-git/doc/guix.texi:29056 guix-git/doc/guix.texi:29142
  44143. #, fuzzy, no-wrap
  44144. #| msgid "@code{dbus?} (default: @code{#t})"
  44145. msgid "@code{user} (default: @code{\"zabbix\"}) (type: string)"
  44146. msgstr "@code{dbus?} (padrão: @code{#t})"
  44147. #. type: table
  44148. #: guix-git/doc/guix.texi:29058
  44149. msgid "User who will run the Zabbix server."
  44150. msgstr ""
  44151. #. type: item
  44152. #: guix-git/doc/guix.texi:29059 guix-git/doc/guix.texi:29145
  44153. #, fuzzy, no-wrap
  44154. #| msgid "@code{dbus?} (default: @code{#t})"
  44155. msgid "@code{group} (default: @code{\"zabbix\"}) (type: string)"
  44156. msgstr "@code{dbus?} (padrão: @code{#t})"
  44157. #. type: table
  44158. #: guix-git/doc/guix.texi:29061
  44159. msgid "Group who will run the Zabbix server."
  44160. msgstr ""
  44161. #. type: item
  44162. #: guix-git/doc/guix.texi:29062
  44163. #, fuzzy, no-wrap
  44164. #| msgid "@code{dbus?} (default: @code{#t})"
  44165. msgid "@code{db-host} (default: @code{\"127.0.0.1\"}) (type: string)"
  44166. msgstr "@code{dbus?} (padrão: @code{#t})"
  44167. #. type: table
  44168. #: guix-git/doc/guix.texi:29064 guix-git/doc/guix.texi:29226
  44169. msgid "Database host name."
  44170. msgstr ""
  44171. #. type: item
  44172. #: guix-git/doc/guix.texi:29065 guix-git/doc/guix.texi:29230
  44173. #, fuzzy, no-wrap
  44174. msgid "@code{db-name} (default: @code{\"zabbix\"}) (type: string)"
  44175. msgstr "@code{remote?} (padrão: @code{#f})"
  44176. #. type: table
  44177. #: guix-git/doc/guix.texi:29067 guix-git/doc/guix.texi:29232
  44178. msgid "Database name."
  44179. msgstr ""
  44180. #. type: item
  44181. #: guix-git/doc/guix.texi:29068 guix-git/doc/guix.texi:29233
  44182. #, fuzzy, no-wrap
  44183. #| msgid "@code{dbus?} (default: @code{#t})"
  44184. msgid "@code{db-user} (default: @code{\"zabbix\"}) (type: string)"
  44185. msgstr "@code{dbus?} (padrão: @code{#t})"
  44186. #. type: table
  44187. #: guix-git/doc/guix.texi:29070 guix-git/doc/guix.texi:29235
  44188. msgid "Database user."
  44189. msgstr ""
  44190. #. type: item
  44191. #: guix-git/doc/guix.texi:29071 guix-git/doc/guix.texi:29236
  44192. #, fuzzy, no-wrap
  44193. #| msgid "@code{dbus?} (default: @code{#t})"
  44194. msgid "@code{db-password} (default: @code{\"\"}) (type: string)"
  44195. msgstr "@code{dbus?} (padrão: @code{#t})"
  44196. #. type: table
  44197. #: guix-git/doc/guix.texi:29074
  44198. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  44199. msgstr ""
  44200. #. type: item
  44201. #: guix-git/doc/guix.texi:29075 guix-git/doc/guix.texi:29227
  44202. #, fuzzy, no-wrap
  44203. #| msgid "@code{debug?} (default: @code{#f})"
  44204. msgid "@code{db-port} (default: @code{5432}) (type: number)"
  44205. msgstr "@code{debug?} (default: @code{#f})"
  44206. #. type: table
  44207. #: guix-git/doc/guix.texi:29077 guix-git/doc/guix.texi:29229
  44208. msgid "Database port."
  44209. msgstr ""
  44210. #. type: item
  44211. #: guix-git/doc/guix.texi:29078 guix-git/doc/guix.texi:29152
  44212. #, fuzzy, no-wrap
  44213. #| msgid "@code{dbus?} (default: @code{#t})"
  44214. msgid "@code{log-type} (default: @code{\"\"}) (type: string)"
  44215. msgstr "@code{dbus?} (padrão: @code{#t})"
  44216. #. type: table
  44217. #: guix-git/doc/guix.texi:29080 guix-git/doc/guix.texi:29154
  44218. msgid "Specifies where log messages are written to:"
  44219. msgstr ""
  44220. #. type: itemize
  44221. #: guix-git/doc/guix.texi:29083 guix-git/doc/guix.texi:29158
  44222. #, no-wrap
  44223. msgid "@code{system} - syslog."
  44224. msgstr ""
  44225. #. type: item
  44226. #: guix-git/doc/guix.texi:29085
  44227. #, no-wrap
  44228. msgid "@code{file} - file specified with @code{log-file} parameter."
  44229. msgstr ""
  44230. #. type: item
  44231. #: guix-git/doc/guix.texi:29087 guix-git/doc/guix.texi:29162
  44232. #, no-wrap
  44233. msgid "@code{console} - standard output."
  44234. msgstr ""
  44235. #. type: item
  44236. #: guix-git/doc/guix.texi:29091
  44237. #, fuzzy, no-wrap
  44238. msgid "@code{log-file} (default: @code{\"/var/log/zabbix/server.log\"}) (type: string)"
  44239. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  44240. #. type: table
  44241. #: guix-git/doc/guix.texi:29093 guix-git/doc/guix.texi:29168
  44242. msgid "Log file name for @code{log-type} @code{file} parameter."
  44243. msgstr ""
  44244. #. type: item
  44245. #: guix-git/doc/guix.texi:29094
  44246. #, fuzzy, no-wrap
  44247. msgid "@code{pid-file} (default: @code{\"/var/run/zabbix/zabbix_server.pid\"}) (type: string)"
  44248. msgstr "@code{remote?} (padrão: @code{#f})"
  44249. #. type: table
  44250. #: guix-git/doc/guix.texi:29096 guix-git/doc/guix.texi:29171
  44251. msgid "Name of PID file."
  44252. msgstr ""
  44253. #. type: item
  44254. #: guix-git/doc/guix.texi:29097
  44255. #, fuzzy, no-wrap
  44256. #| msgid "@code{dbus?} (default: @code{#t})"
  44257. msgid "@code{ssl-ca-location} (default: @code{\"/etc/ssl/certs/ca-certificates.crt\"}) (type: string)"
  44258. msgstr "@code{dbus?} (padrão: @code{#t})"
  44259. #. type: table
  44260. #: guix-git/doc/guix.texi:29100
  44261. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  44262. msgstr ""
  44263. #. type: item
  44264. #: guix-git/doc/guix.texi:29101
  44265. #, fuzzy, no-wrap
  44266. #| msgid "@code{users} (default: @code{#f})"
  44267. msgid "@code{ssl-cert-location} (default: @code{\"/etc/ssl/certs\"}) (type: string)"
  44268. msgstr "@code{users} (default: @code{#f})"
  44269. #. type: table
  44270. #: guix-git/doc/guix.texi:29103
  44271. msgid "Location of SSL client certificates."
  44272. msgstr ""
  44273. #. type: item
  44274. #: guix-git/doc/guix.texi:29104 guix-git/doc/guix.texi:29182
  44275. #, fuzzy, no-wrap
  44276. #| msgid "@code{dbus?} (default: @code{#t})"
  44277. msgid "@code{extra-options} (default: @code{\"\"}) (type: extra-options)"
  44278. msgstr "@code{dbus?} (padrão: @code{#t})"
  44279. #. type: table
  44280. #: guix-git/doc/guix.texi:29106 guix-git/doc/guix.texi:29184
  44281. msgid "Extra options will be appended to Zabbix server configuration file."
  44282. msgstr ""
  44283. #. type: item
  44284. #: guix-git/doc/guix.texi:29107 guix-git/doc/guix.texi:29185
  44285. #, fuzzy, no-wrap
  44286. #| msgid "@code{replacement} (default: @code{#f})"
  44287. msgid "@code{include-files} (default: @code{'()}) (type: include-files)"
  44288. msgstr "@code{replacement} (default: @code{#f})"
  44289. #. type: table
  44290. #: guix-git/doc/guix.texi:29110 guix-git/doc/guix.texi:29188
  44291. msgid "You may include individual files or all files in a directory in the configuration file."
  44292. msgstr ""
  44293. #. type: anchor{#1}
  44294. #: guix-git/doc/guix.texi:29119
  44295. msgid "zabbix-agent"
  44296. msgstr ""
  44297. #. type: subsubheading
  44298. #: guix-git/doc/guix.texi:29119
  44299. #, no-wrap
  44300. msgid "Zabbix agent"
  44301. msgstr ""
  44302. #. type: cindex
  44303. #: guix-git/doc/guix.texi:29120
  44304. #, no-wrap
  44305. msgid "zabbix zabbix-agent"
  44306. msgstr ""
  44307. #. type: Plain text
  44308. #: guix-git/doc/guix.texi:29127
  44309. msgid "The Zabbix agent gathers information about the running system for the Zabbix monitoring server. It has a variety of built-in checks, and can be extended with custom @uref{https://www.zabbix.com/documentation/current/en/manual/config/items/userparameters, @dfn{user parameters}}."
  44310. msgstr ""
  44311. #. type: defvar
  44312. #: guix-git/doc/guix.texi:29128
  44313. #, fuzzy, no-wrap
  44314. #| msgid "guix-publish-service-type"
  44315. msgid "zabbix-agent-service-type"
  44316. msgstr "guix-publish-service-type"
  44317. #. type: defvar
  44318. #: guix-git/doc/guix.texi:29131
  44319. msgid "This is the service type for the Zabbix agent service. Its value must be a @code{zabbix-agent-configuration} record, shown below."
  44320. msgstr ""
  44321. #. type: deftp
  44322. #: guix-git/doc/guix.texi:29135
  44323. #, fuzzy, no-wrap
  44324. msgid "{Data Type} zabbix-agent-configuration"
  44325. msgstr "build-machine {Data Type}"
  44326. #. type: deftp
  44327. #: guix-git/doc/guix.texi:29137
  44328. msgid "Available @code{zabbix-agent-configuration} fields are:"
  44329. msgstr ""
  44330. #. type: item
  44331. #: guix-git/doc/guix.texi:29139
  44332. #, fuzzy, no-wrap
  44333. msgid "@code{zabbix-agent} (default: @code{zabbix-agentd}) (type: file-like)"
  44334. msgstr "@code{remote?} (padrão: @code{#f})"
  44335. #. type: table
  44336. #: guix-git/doc/guix.texi:29141
  44337. msgid "The zabbix-agent package."
  44338. msgstr ""
  44339. #. type: table
  44340. #: guix-git/doc/guix.texi:29144
  44341. msgid "User who will run the Zabbix agent."
  44342. msgstr ""
  44343. #. type: table
  44344. #: guix-git/doc/guix.texi:29147
  44345. msgid "Group who will run the Zabbix agent."
  44346. msgstr ""
  44347. #. type: item
  44348. #: guix-git/doc/guix.texi:29148
  44349. #, fuzzy, no-wrap
  44350. msgid "@code{hostname} (default: @code{\"\"}) (type: string)"
  44351. msgstr "@code{remote?} (padrão: @code{#f})"
  44352. #. type: table
  44353. #: guix-git/doc/guix.texi:29151
  44354. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  44355. msgstr ""
  44356. #. type: item
  44357. #: guix-git/doc/guix.texi:29159
  44358. #, no-wrap
  44359. msgid "@code{file} - file specified with"
  44360. msgstr ""
  44361. #. type: itemize
  44362. #: guix-git/doc/guix.texi:29161
  44363. #, fuzzy
  44364. #| msgid "@code{log-file} (default: @code{#f})"
  44365. msgid "@code{log-file} parameter."
  44366. msgstr "@code{log-file} (default: @code{#f})"
  44367. #. type: item
  44368. #: guix-git/doc/guix.texi:29166
  44369. #, fuzzy, no-wrap
  44370. msgid "@code{log-file} (default: @code{\"/var/log/zabbix/agent.log\"}) (type: string)"
  44371. msgstr "@code{remote?} (padrão: @code{#f})"
  44372. #. type: item
  44373. #: guix-git/doc/guix.texi:29169
  44374. #, fuzzy, no-wrap
  44375. msgid "@code{pid-file} (default: @code{\"/var/run/zabbix/zabbix_agent.pid\"}) (type: string)"
  44376. msgstr "@code{remote?} (padrão: @code{#f})"
  44377. #. type: item
  44378. #: guix-git/doc/guix.texi:29172
  44379. #, fuzzy, no-wrap
  44380. #| msgid "@code{replacement} (default: @code{#f})"
  44381. msgid "@code{server} (default: @code{'(\"127.0.0.1\")}) (type: list)"
  44382. msgstr "@code{replacement} (default: @code{#f})"
  44383. #. type: table
  44384. #: guix-git/doc/guix.texi:29176
  44385. msgid "List of IP addresses, optionally in CIDR notation, or hostnames of Zabbix servers and Zabbix proxies. Incoming connections will be accepted only from the hosts listed here."
  44386. msgstr ""
  44387. #. type: item
  44388. #: guix-git/doc/guix.texi:29177
  44389. #, fuzzy, no-wrap
  44390. #| msgid "@code{replacement} (default: @code{#f})"
  44391. msgid "@code{server-active} (default: @code{'(\"127.0.0.1\")}) (type: list)"
  44392. msgstr "@code{replacement} (default: @code{#f})"
  44393. #. type: table
  44394. #: guix-git/doc/guix.texi:29181
  44395. msgid "List of IP:port (or hostname:port) pairs of Zabbix servers and Zabbix proxies for active checks. If port is not specified, default port is used. If this parameter is not specified, active checks are disabled."
  44396. msgstr ""
  44397. #. type: anchor{#1}
  44398. #: guix-git/doc/guix.texi:29197
  44399. msgid "zabbix-front-end"
  44400. msgstr ""
  44401. #. type: subsubheading
  44402. #: guix-git/doc/guix.texi:29197
  44403. #, no-wrap
  44404. msgid "Zabbix front-end"
  44405. msgstr ""
  44406. #. type: cindex
  44407. #: guix-git/doc/guix.texi:29198
  44408. #, no-wrap
  44409. msgid "zabbix zabbix-front-end"
  44410. msgstr ""
  44411. #. type: Plain text
  44412. #: guix-git/doc/guix.texi:29204
  44413. msgid "The Zabbix front-end provides a web interface to Zabbix. It does not need to run on the same machine as the Zabbix server. This service works by extending the @ref{PHP-FPM} and @ref{NGINX} services with the configuration necessary for loading the Zabbix user interface."
  44414. msgstr ""
  44415. #. type: defvar
  44416. #: guix-git/doc/guix.texi:29205
  44417. #, fuzzy, no-wrap
  44418. msgid "zabbix-front-end-service-type"
  44419. msgstr "guix-publish-service-type"
  44420. #. type: defvar
  44421. #: guix-git/doc/guix.texi:29208
  44422. msgid "This is the service type for the Zabbix web frontend. Its value must be a @code{zabbix-front-end-configuration} record, shown below."
  44423. msgstr ""
  44424. #. type: deftp
  44425. #: guix-git/doc/guix.texi:29212
  44426. #, fuzzy, no-wrap
  44427. msgid "{Data Type} zabbix-front-end-configuration"
  44428. msgstr "build-machine {Data Type}"
  44429. #. type: deftp
  44430. #: guix-git/doc/guix.texi:29214
  44431. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  44432. msgstr ""
  44433. #. type: table
  44434. #: guix-git/doc/guix.texi:29218
  44435. #, fuzzy
  44436. #| msgid "The GPM package to use."
  44437. msgid "The Zabbix server package to use."
  44438. msgstr "O pacote GPM a ser usado."
  44439. #. type: item
  44440. #: guix-git/doc/guix.texi:29219
  44441. #, fuzzy, no-wrap
  44442. #| msgid "@code{replacement} (default: @code{#f})"
  44443. msgid "@code{nginx} (default: @code{'()}) (type: list)"
  44444. msgstr "@code{replacement} (default: @code{#f})"
  44445. #. type: table
  44446. #: guix-git/doc/guix.texi:29223
  44447. msgid "List of @ref{nginx-server-configuration,@code{nginx-server-configuration}} blocks for the Zabbix front-end. When empty, a default that listens on port 80 is used."
  44448. msgstr ""
  44449. #. type: item
  44450. #: guix-git/doc/guix.texi:29224
  44451. #, fuzzy, no-wrap
  44452. #| msgid "@code{dbus?} (default: @code{#t})"
  44453. msgid "@code{db-host} (default: @code{\"localhost\"}) (type: string)"
  44454. msgstr "@code{dbus?} (padrão: @code{#t})"
  44455. #. type: table
  44456. #: guix-git/doc/guix.texi:29238
  44457. msgid "Database password. Please, use @code{db-secret-file} instead."
  44458. msgstr ""
  44459. #. type: item
  44460. #: guix-git/doc/guix.texi:29239
  44461. #, fuzzy, no-wrap
  44462. #| msgid "@code{dbus?} (default: @code{#t})"
  44463. msgid "@code{db-secret-file} (default: @code{\"\"}) (type: string)"
  44464. msgstr "@code{dbus?} (padrão: @code{#t})"
  44465. #. type: table
  44466. #: guix-git/doc/guix.texi:29243
  44467. msgid "Secret file which will be appended to @file{zabbix.conf.php} file. This file contains credentials for use by Zabbix front-end. You are expected to create it manually."
  44468. msgstr ""
  44469. #. type: item
  44470. #: guix-git/doc/guix.texi:29244
  44471. #, fuzzy, no-wrap
  44472. #| msgid "@code{replacement} (default: @code{#f})"
  44473. msgid "@code{zabbix-host} (default: @code{\"localhost\"}) (type: string)"
  44474. msgstr "@code{replacement} (default: @code{#f})"
  44475. #. type: table
  44476. #: guix-git/doc/guix.texi:29246
  44477. msgid "Zabbix server hostname."
  44478. msgstr ""
  44479. #. type: item
  44480. #: guix-git/doc/guix.texi:29247
  44481. #, fuzzy, no-wrap
  44482. #| msgid "@code{debug?} (default: @code{#f})"
  44483. msgid "@code{zabbix-port} (default: @code{10051}) (type: number)"
  44484. msgstr "@code{debug?} (default: @code{#f})"
  44485. #. type: table
  44486. #: guix-git/doc/guix.texi:29249
  44487. msgid "Zabbix server port."
  44488. msgstr ""
  44489. #. type: cindex
  44490. #: guix-git/doc/guix.texi:29259
  44491. #, no-wrap
  44492. msgid "Kerberos"
  44493. msgstr ""
  44494. #. type: Plain text
  44495. #: guix-git/doc/guix.texi:29263
  44496. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  44497. msgstr ""
  44498. #. type: subsubheading
  44499. #: guix-git/doc/guix.texi:29264
  44500. #, no-wrap
  44501. msgid "Krb5 Service"
  44502. msgstr ""
  44503. #. type: Plain text
  44504. #: guix-git/doc/guix.texi:29271
  44505. msgid "Programs using a Kerberos client library normally expect a configuration file in @file{/etc/krb5.conf}. This service generates such a file from a definition provided in the operating system declaration. It does not cause any daemon to be started."
  44506. msgstr ""
  44507. #. type: Plain text
  44508. #: guix-git/doc/guix.texi:29275
  44509. msgid "No ``keytab'' files are provided by this service---you must explicitly create them. This service is known to work with the MIT client library, @code{mit-krb5}. Other implementations have not been tested."
  44510. msgstr ""
  44511. #. type: defvar
  44512. #: guix-git/doc/guix.texi:29276
  44513. #, fuzzy, no-wrap
  44514. #| msgid "guix-publish-service-type"
  44515. msgid "krb5-service-type"
  44516. msgstr "guix-publish-service-type"
  44517. #. type: defvar
  44518. #: guix-git/doc/guix.texi:29278
  44519. msgid "A service type for Kerberos 5 clients."
  44520. msgstr ""
  44521. #. type: Plain text
  44522. #: guix-git/doc/guix.texi:29282
  44523. msgid "Here is an example of its use:"
  44524. msgstr ""
  44525. #. type: lisp
  44526. #: guix-git/doc/guix.texi:29296
  44527. #, no-wrap
  44528. msgid ""
  44529. "(service krb5-service-type\n"
  44530. " (krb5-configuration\n"
  44531. " (default-realm \"EXAMPLE.COM\")\n"
  44532. " (allow-weak-crypto? #t)\n"
  44533. " (realms (list\n"
  44534. " (krb5-realm\n"
  44535. " (name \"EXAMPLE.COM\")\n"
  44536. " (admin-server \"groucho.example.com\")\n"
  44537. " (kdc \"karl.example.com\"))\n"
  44538. " (krb5-realm\n"
  44539. " (name \"ARGRX.EDU\")\n"
  44540. " (admin-server \"kerb-admin.argrx.edu\")\n"
  44541. " (kdc \"keys.argrx.edu\"))))))\n"
  44542. msgstr ""
  44543. #. type: Plain text
  44544. #: guix-git/doc/guix.texi:29300
  44545. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  44546. msgstr ""
  44547. #. type: item
  44548. #: guix-git/doc/guix.texi:29301
  44549. #, no-wrap
  44550. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  44551. msgstr ""
  44552. #. type: itemize
  44553. #: guix-git/doc/guix.texi:29303
  44554. msgid "of which have distinct administration servers and key distribution centers;"
  44555. msgstr ""
  44556. #. type: item
  44557. #: guix-git/doc/guix.texi:29303
  44558. #, no-wrap
  44559. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  44560. msgstr ""
  44561. #. type: itemize
  44562. #: guix-git/doc/guix.texi:29305
  44563. msgid "specified by clients;"
  44564. msgstr ""
  44565. #. type: item
  44566. #: guix-git/doc/guix.texi:29305
  44567. #, no-wrap
  44568. msgid "Accepts services which only support encryption types known to be weak."
  44569. msgstr ""
  44570. #. type: Plain text
  44571. #: guix-git/doc/guix.texi:29313
  44572. msgid "The @code{krb5-realm} and @code{krb5-configuration} types have many fields. Only the most commonly used ones are described here. For a full list, and more detailed explanation of each, see the MIT @uref{https://web.mit.edu/kerberos/krb5-devel/doc/admin/conf_files/krb5_conf.html,,krb5.conf} documentation."
  44573. msgstr ""
  44574. #. type: deftp
  44575. #: guix-git/doc/guix.texi:29315
  44576. #, no-wrap
  44577. msgid "{Data Type} krb5-realm"
  44578. msgstr ""
  44579. #. type: cindex
  44580. #: guix-git/doc/guix.texi:29316
  44581. #, no-wrap
  44582. msgid "realm, kerberos"
  44583. msgstr ""
  44584. #. type: table
  44585. #: guix-git/doc/guix.texi:29322
  44586. msgid "This field is a string identifying the name of the realm. A common convention is to use the fully qualified DNS name of your organization, converted to upper case."
  44587. msgstr ""
  44588. #. type: code{#1}
  44589. #: guix-git/doc/guix.texi:29323
  44590. #, no-wrap
  44591. msgid "admin-server"
  44592. msgstr ""
  44593. #. type: table
  44594. #: guix-git/doc/guix.texi:29326
  44595. msgid "This field is a string identifying the host where the administration server is running."
  44596. msgstr ""
  44597. #. type: code{#1}
  44598. #: guix-git/doc/guix.texi:29327
  44599. #, no-wrap
  44600. msgid "kdc"
  44601. msgstr ""
  44602. #. type: table
  44603. #: guix-git/doc/guix.texi:29330
  44604. msgid "This field is a string identifying the key distribution center for the realm."
  44605. msgstr ""
  44606. #. type: deftp
  44607. #: guix-git/doc/guix.texi:29333
  44608. #, no-wrap
  44609. msgid "{Data Type} krb5-configuration"
  44610. msgstr ""
  44611. #. type: item
  44612. #: guix-git/doc/guix.texi:29336
  44613. #, no-wrap
  44614. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  44615. msgstr ""
  44616. #. type: table
  44617. #: guix-git/doc/guix.texi:29339
  44618. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  44619. msgstr ""
  44620. #. type: item
  44621. #: guix-git/doc/guix.texi:29340
  44622. #, no-wrap
  44623. msgid "@code{default-realm} (default: @code{#f})"
  44624. msgstr ""
  44625. #. type: table
  44626. #: guix-git/doc/guix.texi:29347
  44627. msgid "This field should be a string identifying the default Kerberos realm for the client. You should set this field to the name of your Kerberos realm. If this value is @code{#f} then a realm must be specified with every Kerberos principal when invoking programs such as @command{kinit}."
  44628. msgstr ""
  44629. #. type: code{#1}
  44630. #: guix-git/doc/guix.texi:29348
  44631. #, no-wrap
  44632. msgid "realms"
  44633. msgstr ""
  44634. #. type: table
  44635. #: guix-git/doc/guix.texi:29353
  44636. msgid "This should be a non-empty list of @code{krb5-realm} objects, which clients may access. Normally, one of them will have a @code{name} field matching the @code{default-realm} field."
  44637. msgstr ""
  44638. #. type: subsubheading
  44639. #: guix-git/doc/guix.texi:29357
  44640. #, no-wrap
  44641. msgid "PAM krb5 Service"
  44642. msgstr ""
  44643. #. type: cindex
  44644. #: guix-git/doc/guix.texi:29358
  44645. #, no-wrap
  44646. msgid "pam-krb5"
  44647. msgstr ""
  44648. #. type: Plain text
  44649. #: guix-git/doc/guix.texi:29364
  44650. msgid "The @code{pam-krb5} service allows for login authentication and password management via Kerberos. You will need this service if you want PAM enabled applications to authenticate users using Kerberos."
  44651. msgstr ""
  44652. #. type: defvar
  44653. #: guix-git/doc/guix.texi:29365
  44654. #, fuzzy, no-wrap
  44655. #| msgid "guix-publish-service-type"
  44656. msgid "pam-krb5-service-type"
  44657. msgstr "guix-publish-service-type"
  44658. #. type: defvar
  44659. #: guix-git/doc/guix.texi:29367
  44660. msgid "A service type for the Kerberos 5 PAM module."
  44661. msgstr ""
  44662. #. type: deftp
  44663. #: guix-git/doc/guix.texi:29369
  44664. #, no-wrap
  44665. msgid "{Data Type} pam-krb5-configuration"
  44666. msgstr ""
  44667. #. type: deftp
  44668. #: guix-git/doc/guix.texi:29372
  44669. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  44670. msgstr ""
  44671. #. type: item
  44672. #: guix-git/doc/guix.texi:29373
  44673. #, no-wrap
  44674. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  44675. msgstr ""
  44676. #. type: table
  44677. #: guix-git/doc/guix.texi:29375
  44678. msgid "The pam-krb5 package to use."
  44679. msgstr ""
  44680. #. type: item
  44681. #: guix-git/doc/guix.texi:29376
  44682. #, no-wrap
  44683. msgid "@code{minimum-uid} (default: @code{1000})"
  44684. msgstr ""
  44685. #. type: table
  44686. #: guix-git/doc/guix.texi:29379
  44687. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  44688. msgstr ""
  44689. #. type: cindex
  44690. #: guix-git/doc/guix.texi:29385
  44691. #, no-wrap
  44692. msgid "LDAP"
  44693. msgstr ""
  44694. #. type: subsubheading
  44695. #: guix-git/doc/guix.texi:29387
  44696. #, no-wrap
  44697. msgid "Authentication against LDAP with nslcd"
  44698. msgstr ""
  44699. #. type: cindex
  44700. #: guix-git/doc/guix.texi:29388
  44701. #, no-wrap
  44702. msgid "nslcd, LDAP service"
  44703. msgstr ""
  44704. #. type: Plain text
  44705. #: guix-git/doc/guix.texi:29395
  44706. msgid "The @code{(gnu services authentication)} module provides the @code{nslcd-service-type}, which can be used to authenticate against an LDAP server. In addition to configuring the service itself, you may want to add @code{ldap} as a name service to the Name Service Switch. @xref{Name Service Switch} for detailed information."
  44707. msgstr ""
  44708. #. type: Plain text
  44709. #: guix-git/doc/guix.texi:29399
  44710. msgid "Here is a simple operating system declaration with a default configuration of the @code{nslcd-service-type} and a Name Service Switch configuration that consults the @code{ldap} name service last:"
  44711. msgstr ""
  44712. #. type: lisp
  44713. #: guix-git/doc/guix.texi:29422
  44714. #, no-wrap
  44715. msgid ""
  44716. "(use-service-modules authentication)\n"
  44717. "(use-modules (gnu system nss))\n"
  44718. "...\n"
  44719. "(operating-system\n"
  44720. " ...\n"
  44721. " (services\n"
  44722. " (cons*\n"
  44723. " (service nslcd-service-type)\n"
  44724. " (service dhcp-client-service-type)\n"
  44725. " %base-services))\n"
  44726. " (name-service-switch\n"
  44727. " (let ((services (list (name-service (name \"db\"))\n"
  44728. " (name-service (name \"files\"))\n"
  44729. " (name-service (name \"ldap\")))))\n"
  44730. " (name-service-switch\n"
  44731. " (inherit %mdns-host-lookup-nss)\n"
  44732. " (password services)\n"
  44733. " (shadow services)\n"
  44734. " (group services)\n"
  44735. " (netgroup services)\n"
  44736. " (gshadow services)))))\n"
  44737. msgstr ""
  44738. #. type: Plain text
  44739. #: guix-git/doc/guix.texi:29427
  44740. msgid "Available @code{nslcd-configuration} fields are:"
  44741. msgstr ""
  44742. #. type: deftypevr
  44743. #: guix-git/doc/guix.texi:29428
  44744. #, no-wrap
  44745. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  44746. msgstr ""
  44747. #. type: deftypevr
  44748. #: guix-git/doc/guix.texi:29430
  44749. msgid "The @code{nss-pam-ldapd} package to use."
  44750. msgstr ""
  44751. #. type: deftypevr
  44752. #: guix-git/doc/guix.texi:29433
  44753. #, no-wrap
  44754. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  44755. msgstr ""
  44756. #. type: deftypevr
  44757. #: guix-git/doc/guix.texi:29437
  44758. msgid "The number of threads to start that can handle requests and perform LDAP queries. Each thread opens a separate connection to the LDAP server. The default is to start 5 threads."
  44759. msgstr ""
  44760. #. type: deftypevr
  44761. #: guix-git/doc/guix.texi:29442
  44762. #, no-wrap
  44763. msgid "{@code{nslcd-configuration} parameter} string uid"
  44764. msgstr ""
  44765. #. type: deftypevr
  44766. #: guix-git/doc/guix.texi:29444
  44767. msgid "This specifies the user id with which the daemon should be run."
  44768. msgstr ""
  44769. #. type: deftypevr
  44770. #: guix-git/doc/guix.texi:29446 guix-git/doc/guix.texi:29453
  44771. msgid "Defaults to @samp{\"nslcd\"}."
  44772. msgstr ""
  44773. #. type: deftypevr
  44774. #: guix-git/doc/guix.texi:29449
  44775. #, no-wrap
  44776. msgid "{@code{nslcd-configuration} parameter} string gid"
  44777. msgstr ""
  44778. #. type: deftypevr
  44779. #: guix-git/doc/guix.texi:29451
  44780. msgid "This specifies the group id with which the daemon should be run."
  44781. msgstr ""
  44782. #. type: deftypevr
  44783. #: guix-git/doc/guix.texi:29456
  44784. #, no-wrap
  44785. msgid "{@code{nslcd-configuration} parameter} log-option log"
  44786. msgstr ""
  44787. #. type: deftypevr
  44788. #: guix-git/doc/guix.texi:29464
  44789. msgid "This option controls the way logging is done via a list containing SCHEME and LEVEL@. The SCHEME argument may either be the symbols @samp{none} or @samp{syslog}, or an absolute file name. The LEVEL argument is optional and specifies the log level. The log level may be one of the following symbols: @samp{crit}, @samp{error}, @samp{warning}, @samp{notice}, @samp{info} or @samp{debug}. All messages with the specified log level or higher are logged."
  44790. msgstr ""
  44791. #. type: deftypevr
  44792. #: guix-git/doc/guix.texi:29466
  44793. msgid "Defaults to @samp{'(\"/var/log/nslcd\" info)}."
  44794. msgstr ""
  44795. #. type: deftypevr
  44796. #: guix-git/doc/guix.texi:29469
  44797. #, no-wrap
  44798. msgid "{@code{nslcd-configuration} parameter} list uri"
  44799. msgstr ""
  44800. #. type: deftypevr
  44801. #: guix-git/doc/guix.texi:29472
  44802. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  44803. msgstr ""
  44804. #. type: deftypevr
  44805. #: guix-git/doc/guix.texi:29474
  44806. msgid "Defaults to @samp{'(\"ldap://localhost:389/\")}."
  44807. msgstr ""
  44808. #. type: deftypevr
  44809. #: guix-git/doc/guix.texi:29477
  44810. #, no-wrap
  44811. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  44812. msgstr ""
  44813. #. type: deftypevr
  44814. #: guix-git/doc/guix.texi:29480
  44815. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  44816. msgstr ""
  44817. #. type: deftypevr
  44818. #: guix-git/doc/guix.texi:29485
  44819. #, no-wrap
  44820. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  44821. msgstr ""
  44822. #. type: deftypevr
  44823. #: guix-git/doc/guix.texi:29488
  44824. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  44825. msgstr ""
  44826. #. type: deftypevr
  44827. #: guix-git/doc/guix.texi:29493
  44828. #, no-wrap
  44829. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  44830. msgstr ""
  44831. #. type: deftypevr
  44832. #: guix-git/doc/guix.texi:29496
  44833. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  44834. msgstr ""
  44835. #. type: deftypevr
  44836. #: guix-git/doc/guix.texi:29501
  44837. #, no-wrap
  44838. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  44839. msgstr ""
  44840. #. type: deftypevr
  44841. #: guix-git/doc/guix.texi:29504
  44842. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  44843. msgstr ""
  44844. #. type: deftypevr
  44845. #: guix-git/doc/guix.texi:29509
  44846. #, no-wrap
  44847. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  44848. msgstr ""
  44849. #. type: deftypevr
  44850. #: guix-git/doc/guix.texi:29513
  44851. msgid "Specifies the credentials with which to bind if the root user tries to change a user's password. This option is only applicable when used with rootpwmoddn"
  44852. msgstr ""
  44853. #. type: deftypevr
  44854. #: guix-git/doc/guix.texi:29518
  44855. #, no-wrap
  44856. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  44857. msgstr ""
  44858. #. type: deftypevr
  44859. #: guix-git/doc/guix.texi:29521
  44860. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  44861. msgstr ""
  44862. #. type: deftypevr
  44863. #: guix-git/doc/guix.texi:29526
  44864. #, no-wrap
  44865. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  44866. msgstr ""
  44867. #. type: deftypevr
  44868. #: guix-git/doc/guix.texi:29528
  44869. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  44870. msgstr ""
  44871. #. type: deftypevr
  44872. #: guix-git/doc/guix.texi:29533
  44873. #, no-wrap
  44874. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  44875. msgstr ""
  44876. #. type: deftypevr
  44877. #: guix-git/doc/guix.texi:29536
  44878. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  44879. msgstr ""
  44880. #. type: deftypevr
  44881. #: guix-git/doc/guix.texi:29541
  44882. #, no-wrap
  44883. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  44884. msgstr ""
  44885. #. type: deftypevr
  44886. #: guix-git/doc/guix.texi:29544
  44887. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  44888. msgstr ""
  44889. #. type: deftypevr
  44890. #: guix-git/doc/guix.texi:29549
  44891. #, no-wrap
  44892. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  44893. msgstr ""
  44894. #. type: deftypevr
  44895. #: guix-git/doc/guix.texi:29554
  44896. msgid "Determines whether the LDAP server host name should be canonicalised. If this is enabled the LDAP library will do a reverse host name lookup. By default, it is left up to the LDAP library whether this check is performed or not."
  44897. msgstr ""
  44898. #. type: deftypevr
  44899. #: guix-git/doc/guix.texi:29559
  44900. #, no-wrap
  44901. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  44902. msgstr ""
  44903. #. type: deftypevr
  44904. #: guix-git/doc/guix.texi:29561
  44905. msgid "Set the name for the GSS-API Kerberos credentials cache."
  44906. msgstr ""
  44907. #. type: deftypevr
  44908. #: guix-git/doc/guix.texi:29566
  44909. #, no-wrap
  44910. msgid "{@code{nslcd-configuration} parameter} string base"
  44911. msgstr ""
  44912. #. type: deftypevr
  44913. #: guix-git/doc/guix.texi:29568
  44914. msgid "The directory search base."
  44915. msgstr ""
  44916. #. type: deftypevr
  44917. #: guix-git/doc/guix.texi:29570
  44918. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  44919. msgstr ""
  44920. #. type: deftypevr
  44921. #: guix-git/doc/guix.texi:29573
  44922. #, no-wrap
  44923. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  44924. msgstr ""
  44925. #. type: deftypevr
  44926. #: guix-git/doc/guix.texi:29577
  44927. msgid "Specifies the search scope (subtree, onelevel, base or children). The default scope is subtree; base scope is almost never useful for name service lookups; children scope is not supported on all servers."
  44928. msgstr ""
  44929. #. type: deftypevr
  44930. #: guix-git/doc/guix.texi:29579
  44931. msgid "Defaults to @samp{'(subtree)}."
  44932. msgstr ""
  44933. #. type: deftypevr
  44934. #: guix-git/doc/guix.texi:29582
  44935. #, no-wrap
  44936. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  44937. msgstr ""
  44938. #. type: deftypevr
  44939. #: guix-git/doc/guix.texi:29585
  44940. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  44941. msgstr ""
  44942. #. type: deftypevr
  44943. #: guix-git/doc/guix.texi:29590
  44944. #, no-wrap
  44945. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  44946. msgstr ""
  44947. #. type: deftypevr
  44948. #: guix-git/doc/guix.texi:29593
  44949. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  44950. msgstr ""
  44951. #. type: deftypevr
  44952. #: guix-git/doc/guix.texi:29598
  44953. #, no-wrap
  44954. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  44955. msgstr ""
  44956. #. type: deftypevr
  44957. #: guix-git/doc/guix.texi:29603
  44958. msgid "This option allows for custom attributes to be looked up instead of the default RFC 2307 attributes. It is a list of maps, each consisting of the name of a map, the RFC 2307 attribute to match and the query expression for the attribute as it is available in the directory."
  44959. msgstr ""
  44960. #. type: deftypevr
  44961. #: guix-git/doc/guix.texi:29608
  44962. #, no-wrap
  44963. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  44964. msgstr ""
  44965. #. type: deftypevr
  44966. #: guix-git/doc/guix.texi:29611
  44967. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  44968. msgstr ""
  44969. #. type: deftypevr
  44970. #: guix-git/doc/guix.texi:29616
  44971. #, no-wrap
  44972. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  44973. msgstr ""
  44974. #. type: deftypevr
  44975. #: guix-git/doc/guix.texi:29619
  44976. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  44977. msgstr ""
  44978. #. type: deftypevr
  44979. #: guix-git/doc/guix.texi:29624
  44980. #, no-wrap
  44981. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  44982. msgstr ""
  44983. #. type: deftypevr
  44984. #: guix-git/doc/guix.texi:29628
  44985. msgid "Specifies the time limit (in seconds) to wait for a response from the LDAP server. A value of zero, which is the default, is to wait indefinitely for searches to be completed."
  44986. msgstr ""
  44987. #. type: deftypevr
  44988. #: guix-git/doc/guix.texi:29633
  44989. #, no-wrap
  44990. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  44991. msgstr ""
  44992. #. type: deftypevr
  44993. #: guix-git/doc/guix.texi:29637
  44994. msgid "Specifies the period if inactivity (in seconds) after which the con‐ nection to the LDAP server will be closed. The default is not to time out connections."
  44995. msgstr ""
  44996. #. type: deftypevr
  44997. #: guix-git/doc/guix.texi:29642
  44998. #, no-wrap
  44999. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  45000. msgstr ""
  45001. #. type: deftypevr
  45002. #: guix-git/doc/guix.texi:29646
  45003. msgid "Specifies the number of seconds to sleep when connecting to all LDAP servers fails. By default one second is waited between the first failure and the first retry."
  45004. msgstr ""
  45005. #. type: deftypevr
  45006. #: guix-git/doc/guix.texi:29651
  45007. #, no-wrap
  45008. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  45009. msgstr ""
  45010. #. type: deftypevr
  45011. #: guix-git/doc/guix.texi:29655
  45012. msgid "Specifies the time after which the LDAP server is considered to be permanently unavailable. Once this time is reached retries will be done only once per this time period. The default value is 10 seconds."
  45013. msgstr ""
  45014. #. type: deftypevr
  45015. #: guix-git/doc/guix.texi:29660
  45016. #, no-wrap
  45017. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  45018. msgstr ""
  45019. #. type: deftypevr
  45020. #: guix-git/doc/guix.texi:29664
  45021. msgid "Specifies whether to use SSL/TLS or not (the default is not to). If 'start-tls is specified then StartTLS is used rather than raw LDAP over SSL."
  45022. msgstr ""
  45023. #. type: deftypevr
  45024. #: guix-git/doc/guix.texi:29669
  45025. #, no-wrap
  45026. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  45027. msgstr ""
  45028. #. type: deftypevr
  45029. #: guix-git/doc/guix.texi:29672
  45030. msgid "Specifies what checks to perform on a server-supplied certificate. The meaning of the values is described in the ldap.conf(5) manual page."
  45031. msgstr ""
  45032. #. type: deftypevr
  45033. #: guix-git/doc/guix.texi:29677
  45034. #, no-wrap
  45035. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  45036. msgstr ""
  45037. #. type: deftypevr
  45038. #: guix-git/doc/guix.texi:29680
  45039. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  45040. msgstr ""
  45041. #. type: deftypevr
  45042. #: guix-git/doc/guix.texi:29685
  45043. #, no-wrap
  45044. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  45045. msgstr ""
  45046. #. type: deftypevr
  45047. #: guix-git/doc/guix.texi:29687
  45048. msgid "Specifies the path to the X.509 certificate for peer authentication."
  45049. msgstr ""
  45050. #. type: deftypevr
  45051. #: guix-git/doc/guix.texi:29692
  45052. #, no-wrap
  45053. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  45054. msgstr ""
  45055. #. type: deftypevr
  45056. #: guix-git/doc/guix.texi:29695
  45057. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  45058. msgstr ""
  45059. #. type: deftypevr
  45060. #: guix-git/doc/guix.texi:29700
  45061. #, no-wrap
  45062. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  45063. msgstr ""
  45064. #. type: deftypevr
  45065. #: guix-git/doc/guix.texi:29702
  45066. msgid "Specifies the ciphers to use for TLS as a string."
  45067. msgstr ""
  45068. #. type: deftypevr
  45069. #: guix-git/doc/guix.texi:29707
  45070. #, no-wrap
  45071. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  45072. msgstr ""
  45073. #. type: deftypevr
  45074. #: guix-git/doc/guix.texi:29710
  45075. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  45076. msgstr ""
  45077. #. type: deftypevr
  45078. #: guix-git/doc/guix.texi:29715
  45079. #, no-wrap
  45080. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  45081. msgstr ""
  45082. #. type: deftypevr
  45083. #: guix-git/doc/guix.texi:29718
  45084. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  45085. msgstr ""
  45086. #. type: deftypevr
  45087. #: guix-git/doc/guix.texi:29723
  45088. #, no-wrap
  45089. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  45090. msgstr ""
  45091. #. type: deftypevr
  45092. #: guix-git/doc/guix.texi:29727
  45093. msgid "Set this to a number greater than 0 to request paged results from the LDAP server in accordance with RFC2696. The default (0) is to not request paged results."
  45094. msgstr ""
  45095. #. type: deftypevr
  45096. #: guix-git/doc/guix.texi:29732
  45097. #, no-wrap
  45098. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  45099. msgstr ""
  45100. #. type: deftypevr
  45101. #: guix-git/doc/guix.texi:29736
  45102. msgid "This option prevents group membership lookups through LDAP for the specified users. Alternatively, the value 'all-local may be used. With that value nslcd builds a full list of non-LDAP users on startup."
  45103. msgstr ""
  45104. #. type: deftypevr
  45105. #: guix-git/doc/guix.texi:29741
  45106. #, no-wrap
  45107. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  45108. msgstr ""
  45109. #. type: deftypevr
  45110. #: guix-git/doc/guix.texi:29744
  45111. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  45112. msgstr ""
  45113. #. type: deftypevr
  45114. #: guix-git/doc/guix.texi:29749
  45115. #, no-wrap
  45116. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  45117. msgstr ""
  45118. #. type: deftypevr
  45119. #: guix-git/doc/guix.texi:29752
  45120. msgid "This option specifies an offset that is added to all LDAP numeric user ids. This can be used to avoid user id collisions with local users."
  45121. msgstr ""
  45122. #. type: deftypevr
  45123. #: guix-git/doc/guix.texi:29757
  45124. #, no-wrap
  45125. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  45126. msgstr ""
  45127. #. type: deftypevr
  45128. #: guix-git/doc/guix.texi:29760
  45129. msgid "This option specifies an offset that is added to all LDAP numeric group ids. This can be used to avoid user id collisions with local groups."
  45130. msgstr ""
  45131. #. type: deftypevr
  45132. #: guix-git/doc/guix.texi:29765
  45133. #, no-wrap
  45134. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  45135. msgstr ""
  45136. #. type: deftypevr
  45137. #: guix-git/doc/guix.texi:29771
  45138. msgid "If this option is set, the member attribute of a group may point to another group. Members of nested groups are also returned in the higher level group and parent groups are returned when finding groups for a specific user. The default is not to perform extra searches for nested groups."
  45139. msgstr ""
  45140. #. type: deftypevr
  45141. #: guix-git/doc/guix.texi:29776
  45142. #, no-wrap
  45143. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  45144. msgstr ""
  45145. #. type: deftypevr
  45146. #: guix-git/doc/guix.texi:29781
  45147. msgid "If this option is set, the group member list is not retrieved when looking up groups. Lookups for finding which groups a user belongs to will remain functional so the user will likely still get the correct groups assigned on login."
  45148. msgstr ""
  45149. #. type: deftypevr
  45150. #: guix-git/doc/guix.texi:29786
  45151. #, no-wrap
  45152. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  45153. msgstr ""
  45154. #. type: deftypevr
  45155. #: guix-git/doc/guix.texi:29792
  45156. msgid "If this option is set, functions which cause all user/group entries to be loaded from the directory will not succeed in doing so. This can dramatically reduce LDAP server load in situations where there are a great number of users and/or groups. This option is not recommended for most configurations."
  45157. msgstr ""
  45158. #. type: deftypevr
  45159. #: guix-git/doc/guix.texi:29797
  45160. #, no-wrap
  45161. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  45162. msgstr ""
  45163. #. type: deftypevr
  45164. #: guix-git/doc/guix.texi:29801
  45165. msgid "This option can be used to specify how user and group names are verified within the system. This pattern is used to check all user and group names that are requested and returned from LDAP."
  45166. msgstr ""
  45167. #. type: deftypevr
  45168. #: guix-git/doc/guix.texi:29806
  45169. #, no-wrap
  45170. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  45171. msgstr ""
  45172. #. type: deftypevr
  45173. #: guix-git/doc/guix.texi:29811
  45174. msgid "This specifies whether or not to perform searches using case-insensitive matching. Enabling this could open up the system to authorization bypass vulnerabilities and introduce nscd cache poisoning vulnerabilities which allow denial of service."
  45175. msgstr ""
  45176. #. type: deftypevr
  45177. #: guix-git/doc/guix.texi:29816
  45178. #, no-wrap
  45179. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  45180. msgstr ""
  45181. #. type: deftypevr
  45182. #: guix-git/doc/guix.texi:29819
  45183. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  45184. msgstr ""
  45185. #. type: deftypevr
  45186. #: guix-git/doc/guix.texi:29824
  45187. #, no-wrap
  45188. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  45189. msgstr ""
  45190. #. type: deftypevr
  45191. #: guix-git/doc/guix.texi:29830
  45192. msgid "By default nslcd performs an LDAP search with the user's credentials after BIND (authentication) to ensure that the BIND operation was successful. The default search is a simple check to see if the user's DN exists. A search filter can be specified that will be used instead. It should return at least one entry."
  45193. msgstr ""
  45194. #. type: deftypevr
  45195. #: guix-git/doc/guix.texi:29835
  45196. #, no-wrap
  45197. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  45198. msgstr ""
  45199. #. type: deftypevr
  45200. #: guix-git/doc/guix.texi:29839
  45201. msgid "This option allows flexible fine tuning of the authorisation check that should be performed. The search filter specified is executed and if any entries match, access is granted, otherwise access is denied."
  45202. msgstr ""
  45203. #. type: deftypevr
  45204. #: guix-git/doc/guix.texi:29844
  45205. #, no-wrap
  45206. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  45207. msgstr ""
  45208. #. type: deftypevr
  45209. #: guix-git/doc/guix.texi:29849
  45210. msgid "If this option is set password modification using pam_ldap will be denied and the specified message will be presented to the user instead. The message can be used to direct the user to an alternative means of changing their password."
  45211. msgstr ""
  45212. #. type: deftypevr
  45213. #: guix-git/doc/guix.texi:29854
  45214. #, no-wrap
  45215. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  45216. msgstr ""
  45217. #. type: deftypevr
  45218. #: guix-git/doc/guix.texi:29856
  45219. msgid "List of pam service names for which LDAP authentication should suffice."
  45220. msgstr ""
  45221. #. type: subsubheading
  45222. #: guix-git/doc/guix.texi:29864
  45223. #, no-wrap
  45224. msgid "LDAP Directory Server"
  45225. msgstr ""
  45226. #. type: cindex
  45227. #: guix-git/doc/guix.texi:29865
  45228. #, no-wrap
  45229. msgid "LDAP, server"
  45230. msgstr ""
  45231. #. type: Plain text
  45232. #: guix-git/doc/guix.texi:29870
  45233. msgid "The @code{(gnu services ldap)} module provides the @code{directory-server-service-type}, which can be used to create and launch an LDAP server instance."
  45234. msgstr ""
  45235. #. type: Plain text
  45236. #: guix-git/doc/guix.texi:29873
  45237. #, fuzzy
  45238. msgid "Here is an example configuration of the @code{directory-server-service-type}:"
  45239. msgstr "Gerencie a configuração do sistema operacional."
  45240. #. type: lisp
  45241. #: guix-git/doc/guix.texi:29876
  45242. #, fuzzy, no-wrap
  45243. #| msgid ""
  45244. #| "(use-package-modules guile emacs)\n"
  45245. #| "\n"
  45246. msgid ""
  45247. "(use-service-modules ldap)\n"
  45248. "\n"
  45249. msgstr ""
  45250. "(use-package-modules guile emacs)\n"
  45251. "\n"
  45252. #. type: lisp
  45253. #: guix-git/doc/guix.texi:29888
  45254. #, no-wrap
  45255. msgid ""
  45256. "...\n"
  45257. "(operating-system\n"
  45258. " ...\n"
  45259. " (services\n"
  45260. " (cons\n"
  45261. " (service directory-server-service-type\n"
  45262. " (directory-server-instance-configuration\n"
  45263. " (slapd\n"
  45264. " (slapd-configuration\n"
  45265. " (root-password \"@{PBKDF2_SHA256@}AAAgAG@dots{}ABSOLUTELYSECRET\")))))\n"
  45266. " %base-services)))\n"
  45267. msgstr ""
  45268. #. type: Plain text
  45269. #: guix-git/doc/guix.texi:29892
  45270. msgid "The root password should be generated with the @command{pwdhash} utility that is provided by the @code{389-ds-base} package."
  45271. msgstr ""
  45272. #. type: Plain text
  45273. #: guix-git/doc/guix.texi:29897
  45274. msgid "Note that changes to the directory server configuration will not be applied to existing instances. You will need to back up and restore server data manually. Only new directory server instances will be created upon system reconfiguration."
  45275. msgstr ""
  45276. #. type: deftp
  45277. #: guix-git/doc/guix.texi:29899
  45278. #, fuzzy, no-wrap
  45279. msgid "{Data Type} directory-server-instance-configuration"
  45280. msgstr "build-machine {Data Type}"
  45281. #. type: deftp
  45282. #: guix-git/doc/guix.texi:29901
  45283. #, fuzzy
  45284. msgid "Available @code{directory-server-instance-configuration} fields are:"
  45285. msgstr "build-machine {Data Type}"
  45286. #. type: item
  45287. #: guix-git/doc/guix.texi:29903
  45288. #, fuzzy, no-wrap
  45289. #| msgid "@code{dbus?} (default: @code{#t})"
  45290. msgid "@code{package} (default: @code{389-ds-base}) (type: file-like)"
  45291. msgstr "@code{dbus?} (padrão: @code{#t})"
  45292. #. type: table
  45293. #: guix-git/doc/guix.texi:29905
  45294. #, fuzzy
  45295. #| msgid "The GPM package to use."
  45296. msgid "The @code{389-ds-base} package."
  45297. msgstr "O pacote GPM a ser usado."
  45298. #. type: item
  45299. #: guix-git/doc/guix.texi:29906
  45300. #, fuzzy, no-wrap
  45301. #| msgid "@code{debug?} (default: @code{#f})"
  45302. msgid "@code{config-version} (default: @code{2}) (type: number)"
  45303. msgstr "@code{debug?} (default: @code{#f})"
  45304. #. type: table
  45305. #: guix-git/doc/guix.texi:29909
  45306. msgid "Sets the format version of the configuration file. To use the INF file with @command{dscreate}, this parameter must be 2."
  45307. msgstr ""
  45308. #. type: item
  45309. #: guix-git/doc/guix.texi:29910
  45310. #, fuzzy, no-wrap
  45311. #| msgid "@code{dbus?} (default: @code{#t})"
  45312. msgid "@code{full-machine-name} (default: @code{\"localhost\"}) (type: string)"
  45313. msgstr "@code{dbus?} (padrão: @code{#t})"
  45314. #. type: table
  45315. #: guix-git/doc/guix.texi:29912
  45316. msgid "Sets the fully qualified hostname (FQDN) of this system."
  45317. msgstr ""
  45318. #. type: item
  45319. #: guix-git/doc/guix.texi:29913
  45320. #, fuzzy, no-wrap
  45321. #| msgid "@code{debug?} (default: @code{#f})"
  45322. msgid "@code{selinux} (default: @code{#false}) (type: boolean)"
  45323. msgstr "@code{debug?} (default: @code{#f})"
  45324. #. type: table
  45325. #: guix-git/doc/guix.texi:29917
  45326. msgid "Enables SELinux detection and integration during the installation of this instance. If set to @code{#true}, @command{dscreate} auto-detects whether SELinux is enabled."
  45327. msgstr ""
  45328. #. type: item
  45329. #: guix-git/doc/guix.texi:29918
  45330. #, fuzzy, no-wrap
  45331. #| msgid "@code{debug?} (default: @code{#f})"
  45332. msgid "@code{strict-host-checking} (default: @code{#true}) (type: boolean)"
  45333. msgstr "@code{debug?} (default: @code{#f})"
  45334. #. type: table
  45335. #: guix-git/doc/guix.texi:29923
  45336. msgid "Sets whether the server verifies the forward and reverse record set in the @code{full-machine-name} parameter. When installing this instance with GSSAPI authentication behind a load balancer, set this parameter to @code{#false}."
  45337. msgstr ""
  45338. #. type: item
  45339. #: guix-git/doc/guix.texi:29924
  45340. #, fuzzy, no-wrap
  45341. #| msgid "@code{wait?} (default: @code{#t})"
  45342. msgid "@code{systemd} (default: @code{#false}) (type: boolean)"
  45343. msgstr "@code{wait?} (padrão: @code{#t})"
  45344. #. type: table
  45345. #: guix-git/doc/guix.texi:29927
  45346. msgid "Enables systemd platform features. If set to @code{#true}, @command{dscreate} auto-detects whether systemd is installed."
  45347. msgstr ""
  45348. #. type: item
  45349. #: guix-git/doc/guix.texi:29928
  45350. #, fuzzy, no-wrap
  45351. msgid "@code{slapd} (type: slapd-configuration)"
  45352. msgstr "build-machine {Data Type}"
  45353. #. type: table
  45354. #: guix-git/doc/guix.texi:29930
  45355. #, fuzzy
  45356. #| msgid "Configuring the boot loader."
  45357. msgid "Configuration of slapd."
  45358. msgstr "Configurando o \"bootloader\"."
  45359. #. type: deftp
  45360. #: guix-git/doc/guix.texi:29931
  45361. #, fuzzy, no-wrap
  45362. msgid "{Data Type} slapd-configuration"
  45363. msgstr "build-machine {Data Type}"
  45364. #. type: deftp
  45365. #: guix-git/doc/guix.texi:29933
  45366. #, fuzzy
  45367. msgid "Available @code{slapd-configuration} fields are:"
  45368. msgstr "build-machine {Data Type}"
  45369. #. type: item
  45370. #: guix-git/doc/guix.texi:29935
  45371. #, fuzzy, no-wrap
  45372. #| msgid "@code{dbus?} (default: @code{#t})"
  45373. msgid "@code{instance-name} (default: @code{\"localhost\"}) (type: string)"
  45374. msgstr "@code{dbus?} (padrão: @code{#t})"
  45375. #. type: table
  45376. #: guix-git/doc/guix.texi:29939
  45377. msgid "Sets the name of the instance. You can refer to this value in other parameters of this INF file using the @code{@{instance_name@}} variable. Note that this name cannot be changed after the installation!"
  45378. msgstr ""
  45379. #. type: item
  45380. #: guix-git/doc/guix.texi:29940
  45381. #, fuzzy, no-wrap
  45382. #| msgid "@code{dbus?} (default: @code{#t})"
  45383. msgid "@code{user} (default: @code{\"dirsrv\"}) (type: string)"
  45384. msgstr "@code{dbus?} (padrão: @code{#t})"
  45385. #. type: table
  45386. #: guix-git/doc/guix.texi:29943
  45387. msgid "Sets the user name the ns-slapd process will use after the service started."
  45388. msgstr ""
  45389. #. type: item
  45390. #: guix-git/doc/guix.texi:29944
  45391. #, fuzzy, no-wrap
  45392. #| msgid "@code{dbus?} (default: @code{#t})"
  45393. msgid "@code{group} (default: @code{\"dirsrv\"}) (type: string)"
  45394. msgstr "@code{dbus?} (padrão: @code{#t})"
  45395. #. type: table
  45396. #: guix-git/doc/guix.texi:29947
  45397. msgid "Sets the group name the ns-slapd process will use after the service started."
  45398. msgstr ""
  45399. #. type: item
  45400. #: guix-git/doc/guix.texi:29948
  45401. #, fuzzy, no-wrap
  45402. #| msgid "@code{debug?} (default: @code{#f})"
  45403. msgid "@code{port} (default: @code{389}) (type: number)"
  45404. msgstr "@code{debug?} (default: @code{#f})"
  45405. #. type: table
  45406. #: guix-git/doc/guix.texi:29950
  45407. msgid "Sets the TCP port the instance uses for LDAP connections."
  45408. msgstr ""
  45409. #. type: item
  45410. #: guix-git/doc/guix.texi:29951
  45411. #, fuzzy, no-wrap
  45412. #| msgid "@code{debug?} (default: @code{#f})"
  45413. msgid "@code{secure-port} (default: @code{636}) (type: number)"
  45414. msgstr "@code{debug?} (default: @code{#f})"
  45415. #. type: table
  45416. #: guix-git/doc/guix.texi:29954
  45417. msgid "Sets the TCP port the instance uses for TLS-secured LDAP connections (LDAPS)."
  45418. msgstr ""
  45419. #. type: item
  45420. #: guix-git/doc/guix.texi:29955
  45421. #, fuzzy, no-wrap
  45422. msgid "@code{root-dn} (default: @code{\"cn=Directory Manager\"}) (type: string)"
  45423. msgstr "@code{remote?} (padrão: @code{#f})"
  45424. #. type: table
  45425. #: guix-git/doc/guix.texi:29958
  45426. msgid "Sets the @dfn{Distinquished Name} (DN) of the administrator account for this instance."
  45427. msgstr ""
  45428. #. type: item
  45429. #: guix-git/doc/guix.texi:29959
  45430. #, fuzzy, no-wrap
  45431. #| msgid "@code{dbus?} (default: @code{#t})"
  45432. msgid "@code{root-password} (default: @code{\"@{invalid@}YOU-SHOULD-CHANGE-THIS\"}) (type: string)"
  45433. msgstr "@code{dbus?} (padrão: @code{#t})"
  45434. #. type: table
  45435. #: guix-git/doc/guix.texi:29966
  45436. msgid "Sets the password of the account specified in the @code{root-dn} parameter. You can either set this parameter to a plain text password @command{dscreate} hashes during the installation or to a \"@{algorithm@}hash\" string generated by the @command{pwdhash} utility. Note that setting a plain text password can be a security risk if unprivileged users can read this INF file!"
  45437. msgstr ""
  45438. #. type: item
  45439. #: guix-git/doc/guix.texi:29967
  45440. #, fuzzy, no-wrap
  45441. #| msgid "@code{wait?} (default: @code{#t})"
  45442. msgid "@code{self-sign-cert} (default: @code{#true}) (type: boolean)"
  45443. msgstr "@code{wait?} (padrão: @code{#t})"
  45444. #. type: table
  45445. #: guix-git/doc/guix.texi:29973
  45446. msgid "Sets whether the setup creates a self-signed certificate and enables TLS encryption during the installation. This is not suitable for production, but it enables administrators to use TLS right after the installation. You can replace the self-signed certificate with a certificate issued by a certificate authority."
  45447. msgstr ""
  45448. #. type: item
  45449. #: guix-git/doc/guix.texi:29974
  45450. #, fuzzy, no-wrap
  45451. #| msgid "@code{debug?} (default: @code{#f})"
  45452. msgid "@code{self-sign-cert-valid-months} (default: @code{24}) (type: number)"
  45453. msgstr "@code{debug?} (default: @code{#f})"
  45454. #. type: table
  45455. #: guix-git/doc/guix.texi:29977
  45456. msgid "Set the number of months the issued self-signed certificate will be valid."
  45457. msgstr ""
  45458. #. type: item
  45459. #: guix-git/doc/guix.texi:29978
  45460. #, fuzzy, no-wrap
  45461. msgid "@code{backup-dir} (default: @code{\"/var/lib/dirsrv/slapd-@{instance_name@}/bak\"}) (type: string)"
  45462. msgstr "@code{remote?} (padrão: @code{#f})"
  45463. #. type: table
  45464. #: guix-git/doc/guix.texi:29980
  45465. msgid "Set the backup directory of the instance."
  45466. msgstr ""
  45467. #. type: item
  45468. #: guix-git/doc/guix.texi:29981
  45469. #, fuzzy, no-wrap
  45470. #| msgid "@code{users} (default: @code{#f})"
  45471. msgid "@code{cert-dir} (default: @code{\"/etc/dirsrv/slapd-@{instance_name@}\"}) (type: string)"
  45472. msgstr "@code{users} (default: @code{#f})"
  45473. #. type: table
  45474. #: guix-git/doc/guix.texi:29984
  45475. msgid "Sets the directory of the instance's Network Security Services (NSS) database."
  45476. msgstr ""
  45477. #. type: item
  45478. #: guix-git/doc/guix.texi:29985
  45479. #, fuzzy, no-wrap
  45480. #| msgid "@code{dbus?} (default: @code{#t})"
  45481. msgid "@code{config-dir} (default: @code{\"/etc/dirsrv/slapd-@{instance_name@}\"}) (type: string)"
  45482. msgstr "@code{dbus?} (padrão: @code{#t})"
  45483. #. type: table
  45484. #: guix-git/doc/guix.texi:29987
  45485. #, fuzzy
  45486. msgid "Sets the configuration directory of the instance."
  45487. msgstr "Gerencie a configuração do sistema operacional."
  45488. #. type: item
  45489. #: guix-git/doc/guix.texi:29988
  45490. #, fuzzy, no-wrap
  45491. msgid "@code{db-dir} (default: @code{\"/var/lib/dirsrv/slapd-@{instance_name@}/db\"}) (type: string)"
  45492. msgstr "@code{remote?} (padrão: @code{#f})"
  45493. #. type: table
  45494. #: guix-git/doc/guix.texi:29990
  45495. msgid "Sets the database directory of the instance."
  45496. msgstr ""
  45497. #. type: item
  45498. #: guix-git/doc/guix.texi:29991
  45499. #, fuzzy, no-wrap
  45500. #| msgid "@code{dbus?} (default: @code{#t})"
  45501. msgid "@code{initconfig-dir} (default: @code{\"/etc/dirsrv/registry\"}) (type: string)"
  45502. msgstr "@code{dbus?} (padrão: @code{#t})"
  45503. #. type: table
  45504. #: guix-git/doc/guix.texi:29993
  45505. #, fuzzy
  45506. #| msgid "Manage the operating system configuration."
  45507. msgid "Sets the directory of the operating system's rc configuration directory."
  45508. msgstr "Gerencie a configuração do sistema operacional."
  45509. #. type: item
  45510. #: guix-git/doc/guix.texi:29994
  45511. #, fuzzy, no-wrap
  45512. msgid "@code{ldif-dir} (default: @code{\"/var/lib/dirsrv/slapd-@{instance_name@}/ldif\"}) (type: string)"
  45513. msgstr "@code{remote?} (padrão: @code{#f})"
  45514. #. type: table
  45515. #: guix-git/doc/guix.texi:29996
  45516. msgid "Sets the LDIF export and import directory of the instance."
  45517. msgstr ""
  45518. #. type: item
  45519. #: guix-git/doc/guix.texi:29997
  45520. #, fuzzy, no-wrap
  45521. msgid "@code{lock-dir} (default: @code{\"/var/lock/dirsrv/slapd-@{instance_name@}\"}) (type: string)"
  45522. msgstr "@code{remote?} (padrão: @code{#f})"
  45523. #. type: table
  45524. #: guix-git/doc/guix.texi:29999
  45525. msgid "Sets the lock directory of the instance."
  45526. msgstr ""
  45527. #. type: item
  45528. #: guix-git/doc/guix.texi:30000
  45529. #, fuzzy, no-wrap
  45530. msgid "@code{log-dir} (default: @code{\"/var/log/dirsrv/slapd-@{instance_name@}\"}) (type: string)"
  45531. msgstr "@code{remote?} (padrão: @code{#f})"
  45532. #. type: table
  45533. #: guix-git/doc/guix.texi:30002
  45534. msgid "Sets the log directory of the instance."
  45535. msgstr ""
  45536. #. type: item
  45537. #: guix-git/doc/guix.texi:30003
  45538. #, fuzzy, no-wrap
  45539. msgid "@code{run-dir} (default: @code{\"/run/dirsrv\"}) (type: string)"
  45540. msgstr "@code{remote?} (padrão: @code{#f})"
  45541. #. type: table
  45542. #: guix-git/doc/guix.texi:30005
  45543. msgid "Sets PID directory of the instance."
  45544. msgstr ""
  45545. #. type: item
  45546. #: guix-git/doc/guix.texi:30006
  45547. #, fuzzy, no-wrap
  45548. #| msgid "@code{users} (default: @code{#f})"
  45549. msgid "@code{schema-dir} (default: @code{\"/etc/dirsrv/slapd-@{instance_name@}/schema\"}) (type: string)"
  45550. msgstr "@code{users} (default: @code{#f})"
  45551. #. type: table
  45552. #: guix-git/doc/guix.texi:30008
  45553. msgid "Sets schema directory of the instance."
  45554. msgstr ""
  45555. #. type: item
  45556. #: guix-git/doc/guix.texi:30009
  45557. #, fuzzy, no-wrap
  45558. #| msgid "@code{dbus?} (default: @code{#t})"
  45559. msgid "@code{tmp-dir} (default: @code{\"/tmp\"}) (type: string)"
  45560. msgstr "@code{dbus?} (padrão: @code{#t})"
  45561. #. type: table
  45562. #: guix-git/doc/guix.texi:30011
  45563. msgid "Sets the temporary directory of the instance."
  45564. msgstr ""
  45565. #. type: item
  45566. #: guix-git/doc/guix.texi:30014
  45567. #, fuzzy, no-wrap
  45568. msgid "@code{backend-userroot} (type: backend-userroot-configuration)"
  45569. msgstr "build-machine {Data Type}"
  45570. #. type: table
  45571. #: guix-git/doc/guix.texi:30016
  45572. #, fuzzy
  45573. #| msgid "Configuring the boot loader."
  45574. msgid "Configuration of the userroot backend."
  45575. msgstr "Configurando o \"bootloader\"."
  45576. #. type: deftp
  45577. #: guix-git/doc/guix.texi:30017
  45578. #, fuzzy, no-wrap
  45579. msgid "{Data Type} backend-userroot-configuration"
  45580. msgstr "build-machine {Data Type}"
  45581. #. type: deftp
  45582. #: guix-git/doc/guix.texi:30019
  45583. #, fuzzy
  45584. msgid "Available @code{backend-userroot-configuration} fields are:"
  45585. msgstr "build-machine {Data Type}"
  45586. #. type: item
  45587. #: guix-git/doc/guix.texi:30021
  45588. #, fuzzy, no-wrap
  45589. #| msgid "@code{debug?} (default: @code{#f})"
  45590. msgid "@code{create-suffix-entry?} (default: @code{#false}) (type: boolean)"
  45591. msgstr "@code{debug?} (default: @code{#f})"
  45592. #. type: table
  45593. #: guix-git/doc/guix.texi:30024
  45594. msgid "Set this parameter to @code{#true} to create a generic root node entry for the suffix in the database."
  45595. msgstr ""
  45596. #. type: item
  45597. #: guix-git/doc/guix.texi:30025
  45598. #, fuzzy, no-wrap
  45599. #| msgid "@code{wait?} (default: @code{#t})"
  45600. msgid "@code{require-index?} (default: @code{#false}) (type: boolean)"
  45601. msgstr "@code{wait?} (padrão: @code{#t})"
  45602. #. type: table
  45603. #: guix-git/doc/guix.texi:30028
  45604. msgid "Set this parameter to @code{#true} to refuse unindexed searches in this database."
  45605. msgstr ""
  45606. #. type: item
  45607. #: guix-git/doc/guix.texi:30029
  45608. #, fuzzy, no-wrap
  45609. #| msgid "@code{dbus?} (default: @code{#t})"
  45610. msgid "@code{sample-entries} (default: @code{\"no\"}) (type: string)"
  45611. msgstr "@code{dbus?} (padrão: @code{#t})"
  45612. #. type: table
  45613. #: guix-git/doc/guix.texi:30034
  45614. msgid "Set this parameter to @code{\"yes\"} to add latest version of sample entries to this database. Or, use @code{\"001003006\"} to use the 1.3.6 version sample entries. Use this option, for example, to create a database for testing purposes."
  45615. msgstr ""
  45616. #. type: item
  45617. #: guix-git/doc/guix.texi:30035
  45618. #, fuzzy, no-wrap
  45619. msgid "@code{suffix} (type: maybe-string)"
  45620. msgstr "@code{remote?} (padrão: @code{#f})"
  45621. #. type: table
  45622. #: guix-git/doc/guix.texi:30040
  45623. msgid "Sets the root suffix stored in this database. If you do not set the suffix attribute the install process will not create the backend/suffix. You can also create multiple backends/suffixes by duplicating this section."
  45624. msgstr ""
  45625. #. type: cindex
  45626. #: guix-git/doc/guix.texi:30050
  45627. #, no-wrap
  45628. msgid "web"
  45629. msgstr "web"
  45630. #. type: cindex
  45631. #: guix-git/doc/guix.texi:30051
  45632. #, no-wrap
  45633. msgid "www"
  45634. msgstr ""
  45635. #. type: cindex
  45636. #: guix-git/doc/guix.texi:30052
  45637. #, no-wrap
  45638. msgid "HTTP"
  45639. msgstr "HTTP"
  45640. #. type: Plain text
  45641. #: guix-git/doc/guix.texi:30055
  45642. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  45643. msgstr ""
  45644. #. type: subsubheading
  45645. #: guix-git/doc/guix.texi:30056
  45646. #, no-wrap
  45647. msgid "Apache HTTP Server"
  45648. msgstr ""
  45649. #. type: defvar
  45650. #: guix-git/doc/guix.texi:30058
  45651. #, fuzzy, no-wrap
  45652. #| msgid "guix-publish-service-type"
  45653. msgid "httpd-service-type"
  45654. msgstr "guix-publish-service-type"
  45655. #. type: defvar
  45656. #: guix-git/doc/guix.texi:30062
  45657. msgid "Service type for the @uref{https://httpd.apache.org/,Apache HTTP} server (@dfn{httpd}). The value for this service type is a @code{httpd-configuration} record."
  45658. msgstr ""
  45659. #. type: defvar
  45660. #: guix-git/doc/guix.texi:30064 guix-git/doc/guix.texi:30246
  45661. msgid "A simple example configuration is given below."
  45662. msgstr ""
  45663. #. type: lisp
  45664. #: guix-git/doc/guix.texi:30072
  45665. #, no-wrap
  45666. msgid ""
  45667. "(service httpd-service-type\n"
  45668. " (httpd-configuration\n"
  45669. " (config\n"
  45670. " (httpd-config-file\n"
  45671. " (server-name \"www.example.com\")\n"
  45672. " (document-root \"/srv/http/www.example.com\")))))\n"
  45673. msgstr ""
  45674. #. type: defvar
  45675. #: guix-git/doc/guix.texi:30076
  45676. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  45677. msgstr ""
  45678. #. type: lisp
  45679. #: guix-git/doc/guix.texi:30085 guix-git/doc/guix.texi:30225
  45680. #, no-wrap
  45681. msgid ""
  45682. "(simple-service 'www.example.com-server httpd-service-type\n"
  45683. " (list\n"
  45684. " (httpd-virtualhost\n"
  45685. " \"*:80\"\n"
  45686. " (list (string-join '(\"ServerName www.example.com\"\n"
  45687. " \"DocumentRoot /srv/http/www.example.com\")\n"
  45688. " \"\\n\")))))\n"
  45689. msgstr ""
  45690. #. type: Plain text
  45691. #: guix-git/doc/guix.texi:30091
  45692. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  45693. msgstr ""
  45694. #. type: deftp
  45695. #: guix-git/doc/guix.texi:30092
  45696. #, no-wrap
  45697. msgid "{Data Type} httpd-configuration"
  45698. msgstr ""
  45699. #. type: deftp
  45700. #: guix-git/doc/guix.texi:30094
  45701. msgid "This data type represents the configuration for the httpd service."
  45702. msgstr ""
  45703. #. type: item
  45704. #: guix-git/doc/guix.texi:30096
  45705. #, no-wrap
  45706. msgid "@code{package} (default: @code{httpd})"
  45707. msgstr ""
  45708. #. type: table
  45709. #: guix-git/doc/guix.texi:30098
  45710. msgid "The httpd package to use."
  45711. msgstr ""
  45712. #. type: item
  45713. #: guix-git/doc/guix.texi:30099 guix-git/doc/guix.texi:30188
  45714. #, no-wrap
  45715. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  45716. msgstr ""
  45717. #. type: table
  45718. #: guix-git/doc/guix.texi:30101
  45719. msgid "The pid file used by the shepherd-service."
  45720. msgstr ""
  45721. #. type: item
  45722. #: guix-git/doc/guix.texi:30102
  45723. #, no-wrap
  45724. msgid "@code{config} (default: @code{(httpd-config-file)})"
  45725. msgstr ""
  45726. #. type: table
  45727. #: guix-git/doc/guix.texi:30107
  45728. msgid "The configuration file to use with the httpd service. The default value is a @code{httpd-config-file} record, but this can also be a different G-expression that generates a file, for example a @code{plain-file}. A file outside of the store can also be specified through a string."
  45729. msgstr ""
  45730. #. type: deftp
  45731. #: guix-git/doc/guix.texi:30111
  45732. #, no-wrap
  45733. msgid "{Data Type} httpd-module"
  45734. msgstr ""
  45735. #. type: deftp
  45736. #: guix-git/doc/guix.texi:30113
  45737. msgid "This data type represents a module for the httpd service."
  45738. msgstr ""
  45739. #. type: table
  45740. #: guix-git/doc/guix.texi:30117
  45741. msgid "The name of the module."
  45742. msgstr ""
  45743. #. type: table
  45744. #: guix-git/doc/guix.texi:30123
  45745. msgid "The file for the module. This can be relative to the httpd package being used, the absolute location of a file, or a G-expression for a file within the store, for example @code{(file-append mod-wsgi \"/modules/mod_wsgi.so\")}."
  45746. msgstr ""
  45747. #. type: defvar
  45748. #: guix-git/doc/guix.texi:30127
  45749. #, no-wrap
  45750. msgid "%default-httpd-modules"
  45751. msgstr ""
  45752. #. type: defvar
  45753. #: guix-git/doc/guix.texi:30129
  45754. msgid "A default list of @code{httpd-module} objects."
  45755. msgstr ""
  45756. #. type: deftp
  45757. #: guix-git/doc/guix.texi:30131
  45758. #, no-wrap
  45759. msgid "{Data Type} httpd-config-file"
  45760. msgstr ""
  45761. #. type: deftp
  45762. #: guix-git/doc/guix.texi:30133
  45763. msgid "This data type represents a configuration file for the httpd service."
  45764. msgstr ""
  45765. #. type: item
  45766. #: guix-git/doc/guix.texi:30135
  45767. #, no-wrap
  45768. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  45769. msgstr ""
  45770. #. type: table
  45771. #: guix-git/doc/guix.texi:30138
  45772. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  45773. msgstr ""
  45774. #. type: table
  45775. #: guix-git/doc/guix.texi:30141
  45776. msgid "For example, in order to handle requests for PHP files, you can use Apache’s @code{mod_proxy_fcgi} module along with @code{php-fpm-service-type}:"
  45777. msgstr ""
  45778. #. type: lisp
  45779. #: guix-git/doc/guix.texi:30163
  45780. #, no-wrap
  45781. msgid ""
  45782. "(service httpd-service-type\n"
  45783. " (httpd-configuration\n"
  45784. " (config\n"
  45785. " (httpd-config-file\n"
  45786. " (modules (cons*\n"
  45787. " (httpd-module\n"
  45788. " (name \"proxy_module\")\n"
  45789. " (file \"modules/mod_proxy.so\"))\n"
  45790. " (httpd-module\n"
  45791. " (name \"proxy_fcgi_module\")\n"
  45792. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  45793. " %default-httpd-modules))\n"
  45794. " (extra-config (list \"\\\n"
  45795. "<FilesMatch \\\\.php$>\n"
  45796. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  45797. "</FilesMatch>\"))))))\n"
  45798. "(service php-fpm-service-type\n"
  45799. " (php-fpm-configuration\n"
  45800. " (socket \"/var/run/php-fpm.sock\")\n"
  45801. " (socket-group \"httpd\")))\n"
  45802. msgstr ""
  45803. #. type: item
  45804. #: guix-git/doc/guix.texi:30165
  45805. #, no-wrap
  45806. msgid "@code{server-root} (default: @code{httpd})"
  45807. msgstr ""
  45808. #. type: table
  45809. #: guix-git/doc/guix.texi:30169
  45810. msgid "The @code{ServerRoot} in the configuration file, defaults to the httpd package. Directives including @code{Include} and @code{LoadModule} are taken as relative to the server root."
  45811. msgstr ""
  45812. #. type: item
  45813. #: guix-git/doc/guix.texi:30170
  45814. #, no-wrap
  45815. msgid "@code{server-name} (default: @code{#f})"
  45816. msgstr ""
  45817. #. type: table
  45818. #: guix-git/doc/guix.texi:30174
  45819. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  45820. msgstr ""
  45821. #. type: table
  45822. #: guix-git/doc/guix.texi:30178
  45823. msgid "This doesn't need to be set in the server config, and can be specified in virtual hosts. The default is @code{#f} to not specify a @code{ServerName}."
  45824. msgstr ""
  45825. #. type: item
  45826. #: guix-git/doc/guix.texi:30179
  45827. #, no-wrap
  45828. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  45829. msgstr ""
  45830. #. type: table
  45831. #: guix-git/doc/guix.texi:30181
  45832. msgid "The @code{DocumentRoot} from which files will be served."
  45833. msgstr ""
  45834. #. type: item
  45835. #: guix-git/doc/guix.texi:30182
  45836. #, no-wrap
  45837. msgid "@code{listen} (default: @code{'(\"80\")})"
  45838. msgstr ""
  45839. #. type: table
  45840. #: guix-git/doc/guix.texi:30187
  45841. msgid "The list of values for the @code{Listen} directives in the config file. The value should be a list of strings, when each string can specify the port number to listen on, and optionally the IP address and protocol to use."
  45842. msgstr ""
  45843. #. type: table
  45844. #: guix-git/doc/guix.texi:30192
  45845. msgid "The @code{PidFile} to use. This should match the @code{pid-file} set in the @code{httpd-configuration} so that the Shepherd service is configured correctly."
  45846. msgstr ""
  45847. #. type: item
  45848. #: guix-git/doc/guix.texi:30193
  45849. #, no-wrap
  45850. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  45851. msgstr ""
  45852. #. type: table
  45853. #: guix-git/doc/guix.texi:30195
  45854. msgid "The @code{ErrorLog} to which the server will log errors."
  45855. msgstr ""
  45856. #. type: item
  45857. #: guix-git/doc/guix.texi:30196 guix-git/doc/guix.texi:30775
  45858. #, no-wrap
  45859. msgid "@code{user} (default: @code{\"httpd\"})"
  45860. msgstr ""
  45861. #. type: table
  45862. #: guix-git/doc/guix.texi:30198
  45863. msgid "The @code{User} which the server will answer requests as."
  45864. msgstr ""
  45865. #. type: item
  45866. #: guix-git/doc/guix.texi:30199
  45867. #, no-wrap
  45868. msgid "@code{group} (default: @code{\"httpd\"})"
  45869. msgstr ""
  45870. #. type: table
  45871. #: guix-git/doc/guix.texi:30201
  45872. msgid "The @code{Group} which the server will answer requests as."
  45873. msgstr ""
  45874. #. type: item
  45875. #: guix-git/doc/guix.texi:30202
  45876. #, no-wrap
  45877. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  45878. msgstr ""
  45879. #. type: table
  45880. #: guix-git/doc/guix.texi:30205
  45881. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  45882. msgstr ""
  45883. #. type: table
  45884. #: guix-git/doc/guix.texi:30208
  45885. msgid "Any values which the service is extended with will be appended to this list."
  45886. msgstr ""
  45887. #. type: deftp
  45888. #: guix-git/doc/guix.texi:30212
  45889. #, no-wrap
  45890. msgid "{Data Type} httpd-virtualhost"
  45891. msgstr ""
  45892. #. type: deftp
  45893. #: guix-git/doc/guix.texi:30214
  45894. msgid "This data type represents a virtualhost configuration block for the httpd service."
  45895. msgstr ""
  45896. #. type: deftp
  45897. #: guix-git/doc/guix.texi:30216
  45898. msgid "These should be added to the extra-config for the httpd-service."
  45899. msgstr ""
  45900. #. type: code{#1}
  45901. #: guix-git/doc/guix.texi:30228
  45902. #, no-wrap
  45903. msgid "addresses-and-ports"
  45904. msgstr ""
  45905. #. type: table
  45906. #: guix-git/doc/guix.texi:30230
  45907. msgid "The addresses and ports for the @code{VirtualHost} directive."
  45908. msgstr ""
  45909. #. type: code{#1}
  45910. #: guix-git/doc/guix.texi:30231
  45911. #, no-wrap
  45912. msgid "contents"
  45913. msgstr "conteúdo"
  45914. #. type: table
  45915. #: guix-git/doc/guix.texi:30234
  45916. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  45917. msgstr ""
  45918. #. type: subsubheading
  45919. #: guix-git/doc/guix.texi:30239
  45920. #, no-wrap
  45921. msgid "NGINX"
  45922. msgstr ""
  45923. #. type: defvar
  45924. #: guix-git/doc/guix.texi:30241
  45925. #, fuzzy, no-wrap
  45926. #| msgid "guix-publish-service-type"
  45927. msgid "nginx-service-type"
  45928. msgstr "guix-publish-service-type"
  45929. #. type: defvar
  45930. #: guix-git/doc/guix.texi:30244
  45931. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  45932. msgstr ""
  45933. #. type: lisp
  45934. #: guix-git/doc/guix.texi:30254 guix-git/doc/guix.texi:30321
  45935. #, no-wrap
  45936. msgid ""
  45937. "(service nginx-service-type\n"
  45938. " (nginx-configuration\n"
  45939. " (server-blocks\n"
  45940. " (list (nginx-server-configuration\n"
  45941. " (server-name '(\"www.example.com\"))\n"
  45942. " (root \"/srv/http/www.example.com\"))))))\n"
  45943. msgstr ""
  45944. #. type: defvar
  45945. #: guix-git/doc/guix.texi:30259
  45946. msgid "In addition to adding server blocks to the service configuration directly, this service can be extended by other services to add server blocks, as in this example:"
  45947. msgstr ""
  45948. #. type: lisp
  45949. #: guix-git/doc/guix.texi:30265
  45950. #, no-wrap
  45951. msgid ""
  45952. "(simple-service 'my-extra-server nginx-service-type\n"
  45953. " (list (nginx-server-configuration\n"
  45954. " (root \"/srv/http/extra-website\")\n"
  45955. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  45956. msgstr ""
  45957. #. type: Plain text
  45958. #: guix-git/doc/guix.texi:30276
  45959. msgid "At startup, @command{nginx} has not yet read its configuration file, so it uses a default file to log error messages. If it fails to load its configuration file, that is where error messages are logged. After the configuration file is loaded, the default error log file changes as per configuration. In our case, startup error messages can be found in @file{/var/run/nginx/logs/error.log}, and after configuration in @file{/var/log/nginx/error.log}. The second location can be changed with the @var{log-directory} configuration option."
  45960. msgstr ""
  45961. #. type: deftp
  45962. #: guix-git/doc/guix.texi:30277
  45963. #, no-wrap
  45964. msgid "{Data Type} nginx-configuration"
  45965. msgstr ""
  45966. #. type: deftp
  45967. #: guix-git/doc/guix.texi:30281
  45968. msgid "This data type represents the configuration for NGinx. Some configuration can be done through this and the other provided record types, or alternatively, a config file can be provided."
  45969. msgstr ""
  45970. #. type: item
  45971. #: guix-git/doc/guix.texi:30283
  45972. #, no-wrap
  45973. msgid "@code{nginx} (default: @code{nginx})"
  45974. msgstr ""
  45975. #. type: table
  45976. #: guix-git/doc/guix.texi:30285
  45977. msgid "The nginx package to use."
  45978. msgstr ""
  45979. #. type: table
  45980. #: guix-git/doc/guix.texi:30289
  45981. msgid "This is a list of symbols naming Shepherd services the nginx service will depend on."
  45982. msgstr ""
  45983. #. type: table
  45984. #: guix-git/doc/guix.texi:30293
  45985. msgid "This is useful if you would like @command{nginx} to be started after a back-end web server or a logging service such as Anonip has been started."
  45986. msgstr ""
  45987. #. type: item
  45988. #: guix-git/doc/guix.texi:30294
  45989. #, no-wrap
  45990. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  45991. msgstr ""
  45992. #. type: table
  45993. #: guix-git/doc/guix.texi:30296
  45994. msgid "The directory to which NGinx will write log files."
  45995. msgstr ""
  45996. #. type: item
  45997. #: guix-git/doc/guix.texi:30297
  45998. #, fuzzy, no-wrap
  45999. #| msgid "@code{debug?} (default: @code{#f})"
  46000. msgid "@code{log-level} (default: @code{'error}) (type: symbol)"
  46001. msgstr "@code{debug?} (default: @code{#f})"
  46002. #. type: table
  46003. #: guix-git/doc/guix.texi:30301
  46004. msgid "Logging level, which can be any of the following values: @code{'debug}, @code{'info}, @code{'notice}, @code{'warn}, @code{'error}, @code{'crit}, @code{'alert}, or @code{'emerg}."
  46005. msgstr ""
  46006. #. type: item
  46007. #: guix-git/doc/guix.texi:30302
  46008. #, no-wrap
  46009. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  46010. msgstr ""
  46011. #. type: table
  46012. #: guix-git/doc/guix.texi:30305
  46013. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  46014. msgstr ""
  46015. #. type: item
  46016. #: guix-git/doc/guix.texi:30306
  46017. #, no-wrap
  46018. msgid "@code{server-blocks} (default: @code{'()})"
  46019. msgstr ""
  46020. #. type: table
  46021. #: guix-git/doc/guix.texi:30310
  46022. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  46023. msgstr ""
  46024. #. type: table
  46025. #: guix-git/doc/guix.texi:30314
  46026. msgid "The following example would setup NGinx to serve @code{www.example.com} from the @code{/srv/http/www.example.com} directory, without using HTTPS."
  46027. msgstr ""
  46028. #. type: item
  46029. #: guix-git/doc/guix.texi:30323
  46030. #, no-wrap
  46031. msgid "@code{upstream-blocks} (default: @code{'()})"
  46032. msgstr ""
  46033. #. type: table
  46034. #: guix-git/doc/guix.texi:30327
  46035. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  46036. msgstr ""
  46037. #. type: table
  46038. #: guix-git/doc/guix.texi:30334
  46039. msgid "Configuring upstreams through the @code{upstream-blocks} can be useful when combined with @code{locations} in the @code{<nginx-server-configuration>} records. The following example creates a server configuration with one location configuration, that will proxy requests to a upstream configuration, which will handle requests with two servers."
  46040. msgstr ""
  46041. #. type: lisp
  46042. #: guix-git/doc/guix.texi:30353
  46043. #, no-wrap
  46044. msgid ""
  46045. "(service\n"
  46046. " nginx-service-type\n"
  46047. " (nginx-configuration\n"
  46048. " (server-blocks\n"
  46049. " (list (nginx-server-configuration\n"
  46050. " (server-name '(\"www.example.com\"))\n"
  46051. " (root \"/srv/http/www.example.com\")\n"
  46052. " (locations\n"
  46053. " (list\n"
  46054. " (nginx-location-configuration\n"
  46055. " (uri \"/path1\")\n"
  46056. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  46057. " (upstream-blocks\n"
  46058. " (list (nginx-upstream-configuration\n"
  46059. " (name \"server-proxy\")\n"
  46060. " (servers (list \"server1.example.com\"\n"
  46061. " \"server2.example.com\")))))))\n"
  46062. msgstr ""
  46063. #. type: table
  46064. #: guix-git/doc/guix.texi:30361
  46065. msgid "If a configuration @var{file} is provided, this will be used, rather than generating a configuration file from the provided @code{log-directory}, @code{run-directory}, @code{server-blocks} and @code{upstream-blocks}. For proper operation, these arguments should match what is in @var{file} to ensure that the directories are created when the service is activated."
  46066. msgstr ""
  46067. #. type: table
  46068. #: guix-git/doc/guix.texi:30365
  46069. msgid "This can be useful if you have an existing configuration file, or it's not possible to do what is required through the other parts of the nginx-configuration record."
  46070. msgstr ""
  46071. #. type: item
  46072. #: guix-git/doc/guix.texi:30366
  46073. #, no-wrap
  46074. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  46075. msgstr ""
  46076. #. type: table
  46077. #: guix-git/doc/guix.texi:30369
  46078. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  46079. msgstr ""
  46080. #. type: item
  46081. #: guix-git/doc/guix.texi:30370
  46082. #, no-wrap
  46083. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  46084. msgstr ""
  46085. #. type: table
  46086. #: guix-git/doc/guix.texi:30372
  46087. msgid "Maximum bucket size for the server names hash tables."
  46088. msgstr ""
  46089. #. type: table
  46090. #: guix-git/doc/guix.texi:30376
  46091. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  46092. msgstr ""
  46093. #. type: lisp
  46094. #: guix-git/doc/guix.texi:30384
  46095. #, no-wrap
  46096. msgid ""
  46097. "(modules\n"
  46098. " (list\n"
  46099. " (file-append nginx-accept-language-module \"\\\n"
  46100. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  46101. " (file-append nginx-lua-module \"\\\n"
  46102. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  46103. msgstr ""
  46104. #. type: item
  46105. #: guix-git/doc/guix.texi:30386
  46106. #, no-wrap
  46107. msgid "@code{lua-package-path} (default: @code{'()})"
  46108. msgstr ""
  46109. #. type: table
  46110. #: guix-git/doc/guix.texi:30389
  46111. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  46112. msgstr ""
  46113. #. type: lisp
  46114. #: guix-git/doc/guix.texi:30396
  46115. #, no-wrap
  46116. msgid ""
  46117. "(lua-package-path (list lua-resty-core\n"
  46118. " lua-resty-lrucache\n"
  46119. " lua-resty-signal\n"
  46120. " lua-tablepool\n"
  46121. " lua-resty-shell))\n"
  46122. msgstr ""
  46123. #. type: item
  46124. #: guix-git/doc/guix.texi:30398
  46125. #, no-wrap
  46126. msgid "@code{lua-package-cpath} (default: @code{'()})"
  46127. msgstr ""
  46128. #. type: table
  46129. #: guix-git/doc/guix.texi:30401
  46130. msgid "List of nginx lua C packages to load. This should be a list of package names of loadable lua C modules, as in this example:"
  46131. msgstr ""
  46132. #. type: lisp
  46133. #: guix-git/doc/guix.texi:30404
  46134. #, no-wrap
  46135. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  46136. msgstr ""
  46137. #. type: item
  46138. #: guix-git/doc/guix.texi:30406
  46139. #, no-wrap
  46140. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  46141. msgstr ""
  46142. #. type: table
  46143. #: guix-git/doc/guix.texi:30409
  46144. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  46145. msgstr ""
  46146. #. type: lisp
  46147. #: guix-git/doc/guix.texi:30415
  46148. #, no-wrap
  46149. msgid ""
  46150. "(global-directives\n"
  46151. " `((worker_processes . 16)\n"
  46152. " (pcre_jit . on)\n"
  46153. " (events . ((worker_connections . 1024)))))\n"
  46154. msgstr ""
  46155. #. type: table
  46156. #: guix-git/doc/guix.texi:30420
  46157. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  46158. msgstr ""
  46159. #. type: anchor{#1}
  46160. #: guix-git/doc/guix.texi:30425
  46161. #, fuzzy
  46162. msgid "nginx-server-configuration"
  46163. msgstr "build-machine {Data Type}"
  46164. #. type: deftp
  46165. #: guix-git/doc/guix.texi:30425
  46166. #, no-wrap
  46167. msgid "{Data Type} nginx-server-configuration"
  46168. msgstr ""
  46169. #. type: deftp
  46170. #: guix-git/doc/guix.texi:30428
  46171. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  46172. msgstr ""
  46173. #. type: item
  46174. #: guix-git/doc/guix.texi:30430
  46175. #, no-wrap
  46176. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  46177. msgstr ""
  46178. #. type: table
  46179. #: guix-git/doc/guix.texi:30435
  46180. msgid "Each @code{listen} directive sets the address and port for IP, or the path for a UNIX-domain socket on which the server will accept requests. Both address and port, or only address or only port can be specified. An address may also be a hostname, for example:"
  46181. msgstr ""
  46182. #. type: lisp
  46183. #: guix-git/doc/guix.texi:30438
  46184. #, no-wrap
  46185. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  46186. msgstr ""
  46187. #. type: item
  46188. #: guix-git/doc/guix.texi:30440
  46189. #, no-wrap
  46190. msgid "@code{server-name} (default: @code{(list 'default)})"
  46191. msgstr ""
  46192. #. type: table
  46193. #: guix-git/doc/guix.texi:30443
  46194. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  46195. msgstr ""
  46196. #. type: item
  46197. #: guix-git/doc/guix.texi:30444
  46198. #, no-wrap
  46199. msgid "@code{root} (default: @code{\"/srv/http\"})"
  46200. msgstr ""
  46201. #. type: table
  46202. #: guix-git/doc/guix.texi:30446
  46203. msgid "Root of the website nginx will serve."
  46204. msgstr ""
  46205. #. type: item
  46206. #: guix-git/doc/guix.texi:30447
  46207. #, no-wrap
  46208. msgid "@code{locations} (default: @code{'()})"
  46209. msgstr ""
  46210. #. type: table
  46211. #: guix-git/doc/guix.texi:30451
  46212. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  46213. msgstr ""
  46214. #. type: item
  46215. #: guix-git/doc/guix.texi:30452
  46216. #, no-wrap
  46217. msgid "@code{index} (default: @code{(list \"index.html\")})"
  46218. msgstr ""
  46219. #. type: table
  46220. #: guix-git/doc/guix.texi:30455
  46221. msgid "Index files to look for when clients ask for a directory. If it cannot be found, Nginx will send the list of files in the directory."
  46222. msgstr ""
  46223. #. type: item
  46224. #: guix-git/doc/guix.texi:30456
  46225. #, no-wrap
  46226. msgid "@code{try-files} (default: @code{'()})"
  46227. msgstr ""
  46228. #. type: table
  46229. #: guix-git/doc/guix.texi:30459
  46230. msgid "A list of files whose existence is checked in the specified order. @code{nginx} will use the first file it finds to process the request."
  46231. msgstr ""
  46232. #. type: item
  46233. #: guix-git/doc/guix.texi:30460
  46234. #, no-wrap
  46235. msgid "@code{ssl-certificate} (default: @code{#f})"
  46236. msgstr ""
  46237. #. type: table
  46238. #: guix-git/doc/guix.texi:30463
  46239. msgid "Where to find the certificate for secure connections. Set it to @code{#f} if you don't have a certificate or you don't want to use HTTPS."
  46240. msgstr ""
  46241. #. type: item
  46242. #: guix-git/doc/guix.texi:30464
  46243. #, no-wrap
  46244. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  46245. msgstr ""
  46246. #. type: table
  46247. #: guix-git/doc/guix.texi:30467
  46248. msgid "Where to find the private key for secure connections. Set it to @code{#f} if you don't have a key or you don't want to use HTTPS."
  46249. msgstr ""
  46250. #. type: item
  46251. #: guix-git/doc/guix.texi:30468
  46252. #, no-wrap
  46253. msgid "@code{server-tokens?} (default: @code{#f})"
  46254. msgstr ""
  46255. #. type: table
  46256. #: guix-git/doc/guix.texi:30470
  46257. msgid "Whether the server should add its configuration to response."
  46258. msgstr ""
  46259. #. type: item
  46260. #: guix-git/doc/guix.texi:30471
  46261. #, no-wrap
  46262. msgid "@code{raw-content} (default: @code{'()})"
  46263. msgstr ""
  46264. #. type: table
  46265. #: guix-git/doc/guix.texi:30473
  46266. msgid "A list of raw lines added to the server block."
  46267. msgstr ""
  46268. #. type: deftp
  46269. #: guix-git/doc/guix.texi:30477
  46270. #, no-wrap
  46271. msgid "{Data Type} nginx-upstream-configuration"
  46272. msgstr ""
  46273. #. type: deftp
  46274. #: guix-git/doc/guix.texi:30480
  46275. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  46276. msgstr ""
  46277. #. type: table
  46278. #: guix-git/doc/guix.texi:30484
  46279. msgid "Name for this group of servers."
  46280. msgstr ""
  46281. #. type: code{#1}
  46282. #: guix-git/doc/guix.texi:30485
  46283. #, no-wrap
  46284. msgid "servers"
  46285. msgstr ""
  46286. #. type: table
  46287. #: guix-git/doc/guix.texi:30492
  46288. msgid "Specify the addresses of the servers in the group. The address can be specified as a IP address (e.g.@: @samp{127.0.0.1}), domain name (e.g.@: @samp{backend1.example.com}) or a path to a UNIX socket using the prefix @samp{unix:}. For addresses using an IP address or domain name, the default port is 80, and a different port can be specified explicitly."
  46289. msgstr ""
  46290. #. type: code{#1}
  46291. #: guix-git/doc/guix.texi:30493
  46292. #, fuzzy, no-wrap
  46293. #| msgid "contents"
  46294. msgid "extra-content"
  46295. msgstr "conteúdo"
  46296. #. type: table
  46297. #: guix-git/doc/guix.texi:30495
  46298. msgid "A string or list of strings to add to the upstream block."
  46299. msgstr ""
  46300. #. type: deftp
  46301. #: guix-git/doc/guix.texi:30499
  46302. #, no-wrap
  46303. msgid "{Data Type} nginx-location-configuration"
  46304. msgstr ""
  46305. #. type: deftp
  46306. #: guix-git/doc/guix.texi:30502
  46307. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  46308. msgstr ""
  46309. #. type: table
  46310. #: guix-git/doc/guix.texi:30506
  46311. msgid "URI which this location block matches."
  46312. msgstr ""
  46313. #. type: anchor{#1}
  46314. #: guix-git/doc/guix.texi:30508
  46315. msgid "nginx-location-configuration body"
  46316. msgstr "nginx-location-configuration body"
  46317. #. type: code{#1}
  46318. #: guix-git/doc/guix.texi:30508 guix-git/doc/guix.texi:30529
  46319. #, no-wrap
  46320. msgid "body"
  46321. msgstr "corpo"
  46322. #. type: table
  46323. #: guix-git/doc/guix.texi:30515
  46324. msgid "Body of the location block, specified as a list of strings. This can contain many configuration directives. For example, to pass requests to a upstream server group defined using an @code{nginx-upstream-configuration} block, the following directive would be specified in the body @samp{(list \"proxy_pass http://upstream-name;\")}."
  46325. msgstr ""
  46326. #. type: deftp
  46327. #: guix-git/doc/guix.texi:30519
  46328. #, no-wrap
  46329. msgid "{Data Type} nginx-named-location-configuration"
  46330. msgstr ""
  46331. #. type: deftp
  46332. #: guix-git/doc/guix.texi:30524
  46333. msgid "Data type representing the configuration of an nginx named location block. Named location blocks are used for request redirection, and not used for regular request processing. This type has the following parameters:"
  46334. msgstr ""
  46335. #. type: table
  46336. #: guix-git/doc/guix.texi:30528
  46337. msgid "Name to identify this location block."
  46338. msgstr ""
  46339. #. type: table
  46340. #: guix-git/doc/guix.texi:30534
  46341. msgid "@xref{nginx-location-configuration body}, as the body for named location blocks can be used in a similar way to the @code{nginx-location-configuration body}. One restriction is that the body of a named location block cannot contain location blocks."
  46342. msgstr ""
  46343. #. type: subsubheading
  46344. #: guix-git/doc/guix.texi:30538
  46345. #, no-wrap
  46346. msgid "Varnish Cache"
  46347. msgstr ""
  46348. #. type: cindex
  46349. #: guix-git/doc/guix.texi:30539
  46350. #, no-wrap
  46351. msgid "Varnish"
  46352. msgstr ""
  46353. #. type: Plain text
  46354. #: guix-git/doc/guix.texi:30544
  46355. msgid "Varnish is a fast cache server that sits in between web applications and end users. It proxies requests from clients and caches the accessed URLs such that multiple requests for the same resource only creates one request to the back-end."
  46356. msgstr ""
  46357. #. type: defvar
  46358. #: guix-git/doc/guix.texi:30545
  46359. #, fuzzy, no-wrap
  46360. #| msgid "guix-publish-service-type"
  46361. msgid "varnish-service-type"
  46362. msgstr "guix-publish-service-type"
  46363. #. type: defvar
  46364. #: guix-git/doc/guix.texi:30547
  46365. msgid "Service type for the Varnish daemon."
  46366. msgstr ""
  46367. #. type: deftp
  46368. #: guix-git/doc/guix.texi:30549
  46369. #, no-wrap
  46370. msgid "{Data Type} varnish-configuration"
  46371. msgstr ""
  46372. #. type: deftp
  46373. #: guix-git/doc/guix.texi:30552
  46374. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  46375. msgstr ""
  46376. #. type: item
  46377. #: guix-git/doc/guix.texi:30554
  46378. #, no-wrap
  46379. msgid "@code{package} (default: @code{varnish})"
  46380. msgstr ""
  46381. #. type: table
  46382. #: guix-git/doc/guix.texi:30556
  46383. msgid "The Varnish package to use."
  46384. msgstr ""
  46385. #. type: item
  46386. #: guix-git/doc/guix.texi:30557
  46387. #, no-wrap
  46388. msgid "@code{name} (default: @code{\"default\"})"
  46389. msgstr ""
  46390. #. type: table
  46391. #: guix-git/doc/guix.texi:30562
  46392. msgid "A name for this Varnish instance. Varnish will create a directory in @file{/var/varnish/} with this name and keep temporary files there. If the name starts with a forward slash, it is interpreted as an absolute directory name."
  46393. msgstr ""
  46394. #. type: table
  46395. #: guix-git/doc/guix.texi:30565
  46396. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  46397. msgstr ""
  46398. #. type: item
  46399. #: guix-git/doc/guix.texi:30566
  46400. #, no-wrap
  46401. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  46402. msgstr ""
  46403. #. type: table
  46404. #: guix-git/doc/guix.texi:30568
  46405. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  46406. msgstr ""
  46407. #. type: item
  46408. #: guix-git/doc/guix.texi:30569
  46409. #, no-wrap
  46410. msgid "@code{vcl} (default: #f)"
  46411. msgstr ""
  46412. #. type: table
  46413. #: guix-git/doc/guix.texi:30574
  46414. msgid "The @dfn{VCL} (Varnish Configuration Language) program to run. If this is @code{#f}, Varnish will proxy @code{backend} using the default configuration. Otherwise this must be a file-like object with valid VCL syntax."
  46415. msgstr ""
  46416. #. type: table
  46417. #: guix-git/doc/guix.texi:30578
  46418. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  46419. msgstr ""
  46420. #. type: lisp
  46421. #: guix-git/doc/guix.texi:30584
  46422. #, no-wrap
  46423. msgid ""
  46424. "(define %gnu-mirror\n"
  46425. " (plain-file \"gnu.vcl\"\n"
  46426. " \"vcl 4.1;\n"
  46427. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  46428. "\n"
  46429. msgstr ""
  46430. #. type: lisp
  46431. #: guix-git/doc/guix.texi:30592
  46432. #, no-wrap
  46433. msgid ""
  46434. "(operating-system\n"
  46435. " ;; @dots{}\n"
  46436. " (services (cons (service varnish-service-type\n"
  46437. " (varnish-configuration\n"
  46438. " (listen '(\":80\"))\n"
  46439. " (vcl %gnu-mirror)))\n"
  46440. " %base-services)))\n"
  46441. msgstr ""
  46442. #. type: table
  46443. #: guix-git/doc/guix.texi:30596
  46444. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  46445. msgstr ""
  46446. #. type: table
  46447. #: guix-git/doc/guix.texi:30600
  46448. msgid "Consult the @url{https://varnish-cache.org/docs/,Varnish User Guide} and @url{https://book.varnish-software.com/4.0/,Varnish Book} for comprehensive documentation on Varnish and its configuration language."
  46449. msgstr ""
  46450. #. type: item
  46451. #: guix-git/doc/guix.texi:30601
  46452. #, no-wrap
  46453. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  46454. msgstr ""
  46455. #. type: table
  46456. #: guix-git/doc/guix.texi:30603
  46457. msgid "List of addresses Varnish will listen on."
  46458. msgstr ""
  46459. #. type: item
  46460. #: guix-git/doc/guix.texi:30604
  46461. #, no-wrap
  46462. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  46463. msgstr ""
  46464. #. type: table
  46465. #: guix-git/doc/guix.texi:30606
  46466. msgid "List of storage backends that will be available in VCL."
  46467. msgstr ""
  46468. #. type: item
  46469. #: guix-git/doc/guix.texi:30607
  46470. #, no-wrap
  46471. msgid "@code{parameters} (default: @code{'()})"
  46472. msgstr ""
  46473. #. type: table
  46474. #: guix-git/doc/guix.texi:30609
  46475. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  46476. msgstr ""
  46477. #. type: table
  46478. #: guix-git/doc/guix.texi:30612
  46479. msgid "Additional arguments to pass to the @command{varnishd} process."
  46480. msgstr ""
  46481. #. type: cindex
  46482. #: guix-git/doc/guix.texi:30616 guix-git/doc/guix.texi:30617
  46483. #, no-wrap
  46484. msgid "Patchwork"
  46485. msgstr ""
  46486. #. type: Plain text
  46487. #: guix-git/doc/guix.texi:30620
  46488. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  46489. msgstr ""
  46490. #. type: defvar
  46491. #: guix-git/doc/guix.texi:30621
  46492. #, fuzzy, no-wrap
  46493. #| msgid "guix-publish-service-type"
  46494. msgid "patchwork-service-type"
  46495. msgstr "guix-publish-service-type"
  46496. #. type: defvar
  46497. #: guix-git/doc/guix.texi:30623
  46498. msgid "Service type for Patchwork."
  46499. msgstr ""
  46500. #. type: Plain text
  46501. #: guix-git/doc/guix.texi:30627
  46502. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  46503. msgstr ""
  46504. #. type: lisp
  46505. #: guix-git/doc/guix.texi:30647
  46506. #, no-wrap
  46507. msgid ""
  46508. "(service patchwork-service-type\n"
  46509. " (patchwork-configuration\n"
  46510. " (domain \"patchwork.example.com\")\n"
  46511. " (settings-module\n"
  46512. " (patchwork-settings-module\n"
  46513. " (allowed-hosts (list domain))\n"
  46514. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  46515. " (getmail-retriever-config\n"
  46516. " (getmail-retriever-configuration\n"
  46517. " (type \"SimpleIMAPSSLRetriever\")\n"
  46518. " (server \"imap.example.com\")\n"
  46519. " (port 993)\n"
  46520. " (username \"patchwork\")\n"
  46521. " (password-command\n"
  46522. " (list (file-append coreutils \"/bin/cat\")\n"
  46523. " \"/etc/getmail-patchwork-imap-password\"))\n"
  46524. " (extra-parameters\n"
  46525. " '((mailboxes . (\"Patches\"))))))))\n"
  46526. "\n"
  46527. msgstr ""
  46528. #. type: Plain text
  46529. #: guix-git/doc/guix.texi:30653
  46530. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  46531. msgstr ""
  46532. #. type: Plain text
  46533. #: guix-git/doc/guix.texi:30657
  46534. msgid "The @code{settings-module} field within the @code{<patchwork-configuration>} record can be populated with the @code{<patchwork-settings-module>} record, which describes a settings module that is generated within the Guix store."
  46535. msgstr ""
  46536. #. type: Plain text
  46537. #: guix-git/doc/guix.texi:30661
  46538. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  46539. msgstr ""
  46540. #. type: deftp
  46541. #: guix-git/doc/guix.texi:30662
  46542. #, no-wrap
  46543. msgid "{Data Type} patchwork-configuration"
  46544. msgstr ""
  46545. #. type: deftp
  46546. #: guix-git/doc/guix.texi:30665
  46547. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  46548. msgstr ""
  46549. #. type: item
  46550. #: guix-git/doc/guix.texi:30667
  46551. #, no-wrap
  46552. msgid "@code{patchwork} (default: @code{patchwork})"
  46553. msgstr ""
  46554. #. type: table
  46555. #: guix-git/doc/guix.texi:30669
  46556. msgid "The Patchwork package to use."
  46557. msgstr ""
  46558. #. type: code{#1}
  46559. #: guix-git/doc/guix.texi:30670
  46560. #, no-wrap
  46561. msgid "domain"
  46562. msgstr ""
  46563. #. type: table
  46564. #: guix-git/doc/guix.texi:30673
  46565. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  46566. msgstr ""
  46567. #. type: code{#1}
  46568. #: guix-git/doc/guix.texi:30674
  46569. #, no-wrap
  46570. msgid "settings-module"
  46571. msgstr ""
  46572. #. type: table
  46573. #: guix-git/doc/guix.texi:30680
  46574. msgid "The settings module to use for Patchwork. As a Django application, Patchwork is configured with a Python module containing the settings. This can either be an instance of the @code{<patchwork-settings-module>} record, any other record that represents the settings in the store, or a directory outside of the store."
  46575. msgstr ""
  46576. #. type: item
  46577. #: guix-git/doc/guix.texi:30681
  46578. #, no-wrap
  46579. msgid "@code{static-path} (default: @code{\"/static/\"})"
  46580. msgstr ""
  46581. #. type: table
  46582. #: guix-git/doc/guix.texi:30683
  46583. msgid "The path under which the HTTPD service should serve the static files."
  46584. msgstr ""
  46585. #. type: code{#1}
  46586. #: guix-git/doc/guix.texi:30684
  46587. #, no-wrap
  46588. msgid "getmail-retriever-config"
  46589. msgstr ""
  46590. #. type: table
  46591. #: guix-git/doc/guix.texi:30688
  46592. msgid "The getmail-retriever-configuration record value to use with Patchwork. Getmail will be configured with this value, the messages will be delivered to Patchwork."
  46593. msgstr ""
  46594. #. type: deftp
  46595. #: guix-git/doc/guix.texi:30692
  46596. #, no-wrap
  46597. msgid "{Data Type} patchwork-settings-module"
  46598. msgstr ""
  46599. #. type: deftp
  46600. #: guix-git/doc/guix.texi:30697
  46601. msgid "Data type representing a settings module for Patchwork. Some of these settings relate directly to Patchwork, but others relate to Django, the web framework used by Patchwork, or the Django Rest Framework library. This type has the following parameters:"
  46602. msgstr ""
  46603. #. type: item
  46604. #: guix-git/doc/guix.texi:30699
  46605. #, no-wrap
  46606. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  46607. msgstr ""
  46608. #. type: table
  46609. #: guix-git/doc/guix.texi:30702
  46610. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  46611. msgstr ""
  46612. #. type: item
  46613. #: guix-git/doc/guix.texi:30703
  46614. #, no-wrap
  46615. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  46616. msgstr ""
  46617. #. type: table
  46618. #: guix-git/doc/guix.texi:30706
  46619. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  46620. msgstr ""
  46621. #. type: table
  46622. #: guix-git/doc/guix.texi:30709
  46623. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  46624. msgstr ""
  46625. #. type: table
  46626. #: guix-git/doc/guix.texi:30711
  46627. msgid "This setting relates to Django."
  46628. msgstr ""
  46629. #. type: code{#1}
  46630. #: guix-git/doc/guix.texi:30712
  46631. #, no-wrap
  46632. msgid "allowed-hosts"
  46633. msgstr ""
  46634. #. type: table
  46635. #: guix-git/doc/guix.texi:30715
  46636. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  46637. msgstr ""
  46638. #. type: table
  46639. #: guix-git/doc/guix.texi:30717 guix-git/doc/guix.texi:30731
  46640. #: guix-git/doc/guix.texi:30737 guix-git/doc/guix.texi:30743
  46641. msgid "This is a Django setting."
  46642. msgstr ""
  46643. #. type: code{#1}
  46644. #: guix-git/doc/guix.texi:30718
  46645. #, no-wrap
  46646. msgid "default-from-email"
  46647. msgstr ""
  46648. #. type: table
  46649. #: guix-git/doc/guix.texi:30720
  46650. msgid "The email address from which Patchwork should send email by default."
  46651. msgstr ""
  46652. #. type: table
  46653. #: guix-git/doc/guix.texi:30722 guix-git/doc/guix.texi:30748
  46654. #: guix-git/doc/guix.texi:30753 guix-git/doc/guix.texi:30758
  46655. msgid "This is a Patchwork setting."
  46656. msgstr ""
  46657. #. type: item
  46658. #: guix-git/doc/guix.texi:30723
  46659. #, no-wrap
  46660. msgid "@code{static-url} (default: @code{#f})"
  46661. msgstr ""
  46662. #. type: table
  46663. #: guix-git/doc/guix.texi:30726
  46664. msgid "The URL to use when serving static assets. It can be part of a URL, or a full URL, but must end in a @code{/}."
  46665. msgstr ""
  46666. #. type: table
  46667. #: guix-git/doc/guix.texi:30729
  46668. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  46669. msgstr ""
  46670. #. type: item
  46671. #: guix-git/doc/guix.texi:30732
  46672. #, no-wrap
  46673. msgid "@code{admins} (default: @code{'()})"
  46674. msgstr ""
  46675. #. type: table
  46676. #: guix-git/doc/guix.texi:30735
  46677. msgid "Email addresses to send the details of errors that occur. Each value should be a list containing two elements, the name and then the email address."
  46678. msgstr ""
  46679. #. type: table
  46680. #: guix-git/doc/guix.texi:30741
  46681. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  46682. msgstr ""
  46683. #. type: item
  46684. #: guix-git/doc/guix.texi:30744
  46685. #, no-wrap
  46686. msgid "@code{enable-rest-api?} (default: @code{#t})"
  46687. msgstr ""
  46688. #. type: table
  46689. #: guix-git/doc/guix.texi:30746
  46690. msgid "Whether to enable the Patchwork REST API."
  46691. msgstr ""
  46692. #. type: item
  46693. #: guix-git/doc/guix.texi:30749
  46694. #, no-wrap
  46695. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  46696. msgstr ""
  46697. #. type: table
  46698. #: guix-git/doc/guix.texi:30751
  46699. msgid "Whether to enable the XML RPC API."
  46700. msgstr ""
  46701. #. type: item
  46702. #: guix-git/doc/guix.texi:30754
  46703. #, no-wrap
  46704. msgid "@code{force-https-links?} (default: @code{#t})"
  46705. msgstr ""
  46706. #. type: table
  46707. #: guix-git/doc/guix.texi:30756
  46708. msgid "Whether to use HTTPS links on Patchwork pages."
  46709. msgstr ""
  46710. #. type: table
  46711. #: guix-git/doc/guix.texi:30761
  46712. msgid "Extra code to place at the end of the Patchwork settings module."
  46713. msgstr ""
  46714. #. type: deftp
  46715. #: guix-git/doc/guix.texi:30765
  46716. #, no-wrap
  46717. msgid "{Data Type} patchwork-database-configuration"
  46718. msgstr ""
  46719. #. type: deftp
  46720. #: guix-git/doc/guix.texi:30767
  46721. msgid "Data type representing the database configuration for Patchwork."
  46722. msgstr ""
  46723. #. type: item
  46724. #: guix-git/doc/guix.texi:30769
  46725. #, no-wrap
  46726. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  46727. msgstr ""
  46728. #. type: table
  46729. #: guix-git/doc/guix.texi:30771
  46730. msgid "The database engine to use."
  46731. msgstr ""
  46732. #. type: item
  46733. #: guix-git/doc/guix.texi:30772
  46734. #, no-wrap
  46735. msgid "@code{name} (default: @code{\"patchwork\"})"
  46736. msgstr ""
  46737. #. type: table
  46738. #: guix-git/doc/guix.texi:30774
  46739. msgid "The name of the database to use."
  46740. msgstr ""
  46741. #. type: table
  46742. #: guix-git/doc/guix.texi:30777
  46743. msgid "The user to connect to the database as."
  46744. msgstr ""
  46745. #. type: item
  46746. #: guix-git/doc/guix.texi:30778
  46747. #, no-wrap
  46748. msgid "@code{password} (default: @code{\"\"})"
  46749. msgstr ""
  46750. #. type: table
  46751. #: guix-git/doc/guix.texi:30780
  46752. msgid "The password to use when connecting to the database."
  46753. msgstr ""
  46754. #. type: item
  46755. #: guix-git/doc/guix.texi:30781
  46756. #, no-wrap
  46757. msgid "@code{host} (default: @code{\"\"})"
  46758. msgstr ""
  46759. #. type: table
  46760. #: guix-git/doc/guix.texi:30783
  46761. msgid "The host to make the database connection to."
  46762. msgstr ""
  46763. #. type: item
  46764. #: guix-git/doc/guix.texi:30784
  46765. #, no-wrap
  46766. msgid "@code{port} (default: @code{\"\"})"
  46767. msgstr ""
  46768. #. type: table
  46769. #: guix-git/doc/guix.texi:30786
  46770. msgid "The port on which to connect to the database."
  46771. msgstr ""
  46772. #. type: subsubheading
  46773. #: guix-git/doc/guix.texi:30790
  46774. #, no-wrap
  46775. msgid "Mumi"
  46776. msgstr ""
  46777. #. type: cindex
  46778. #: guix-git/doc/guix.texi:30792
  46779. #, no-wrap
  46780. msgid "Mumi, Debbugs Web interface"
  46781. msgstr ""
  46782. #. type: cindex
  46783. #: guix-git/doc/guix.texi:30793
  46784. #, no-wrap
  46785. msgid "Debbugs, Mumi Web interface"
  46786. msgstr ""
  46787. #. type: Plain text
  46788. #: guix-git/doc/guix.texi:30798
  46789. msgid "@uref{https://git.elephly.net/gitweb.cgi?p=software/mumi.git, Mumi} is a Web interface to the Debbugs bug tracker, by default for @uref{https://bugs.gnu.org, the GNU instance}. Mumi is a Web server, but it also fetches and indexes mail retrieved from Debbugs."
  46790. msgstr ""
  46791. #. type: defvar
  46792. #: guix-git/doc/guix.texi:30799
  46793. #, fuzzy, no-wrap
  46794. #| msgid "guix-publish-service-type"
  46795. msgid "mumi-service-type"
  46796. msgstr "guix-publish-service-type"
  46797. #. type: defvar
  46798. #: guix-git/doc/guix.texi:30801
  46799. msgid "This is the service type for Mumi."
  46800. msgstr ""
  46801. #. type: deftp
  46802. #: guix-git/doc/guix.texi:30803
  46803. #, no-wrap
  46804. msgid "{Data Type} mumi-configuration"
  46805. msgstr ""
  46806. #. type: deftp
  46807. #: guix-git/doc/guix.texi:30806
  46808. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  46809. msgstr ""
  46810. #. type: item
  46811. #: guix-git/doc/guix.texi:30808
  46812. #, no-wrap
  46813. msgid "@code{mumi} (default: @code{mumi})"
  46814. msgstr ""
  46815. #. type: table
  46816. #: guix-git/doc/guix.texi:30810
  46817. msgid "The Mumi package to use."
  46818. msgstr ""
  46819. #. type: item
  46820. #: guix-git/doc/guix.texi:30811
  46821. #, no-wrap
  46822. msgid "@code{mailer?} (default: @code{#true})"
  46823. msgstr ""
  46824. #. type: table
  46825. #: guix-git/doc/guix.texi:30813
  46826. msgid "Whether to enable or disable the mailer component."
  46827. msgstr ""
  46828. #. type: code{#1}
  46829. #: guix-git/doc/guix.texi:30814
  46830. #, no-wrap
  46831. msgid "mumi-configuration-sender"
  46832. msgstr ""
  46833. #. type: table
  46834. #: guix-git/doc/guix.texi:30816
  46835. msgid "The email address used as the sender for comments."
  46836. msgstr ""
  46837. #. type: code{#1}
  46838. #: guix-git/doc/guix.texi:30817
  46839. #, no-wrap
  46840. msgid "mumi-configuration-smtp"
  46841. msgstr ""
  46842. #. type: table
  46843. #: guix-git/doc/guix.texi:30822
  46844. msgid "A URI to configure the SMTP settings for Mailutils. This could be something like @code{sendmail:///path/to/bin/msmtp} or any other URI supported by Mailutils. @xref{SMTP Mailboxes, SMTP Mailboxes,, mailutils, GNU@tie{}Mailutils}."
  46845. msgstr ""
  46846. #. type: subsubheading
  46847. #: guix-git/doc/guix.texi:30827
  46848. #, no-wrap
  46849. msgid "FastCGI"
  46850. msgstr ""
  46851. #. type: cindex
  46852. #: guix-git/doc/guix.texi:30828
  46853. #, no-wrap
  46854. msgid "fastcgi"
  46855. msgstr ""
  46856. #. type: cindex
  46857. #: guix-git/doc/guix.texi:30829
  46858. #, no-wrap
  46859. msgid "fcgiwrap"
  46860. msgstr ""
  46861. #. type: Plain text
  46862. #: guix-git/doc/guix.texi:30836
  46863. msgid "FastCGI is an interface between the front-end and the back-end of a web service. It is a somewhat legacy facility; new web services should generally just talk HTTP between the front-end and the back-end. However there are a number of back-end services such as PHP or the optimized HTTP Git repository access that use FastCGI, so we have support for it in Guix."
  46864. msgstr ""
  46865. #. type: Plain text
  46866. #: guix-git/doc/guix.texi:30843
  46867. msgid "To use FastCGI, you configure the front-end web server (e.g., nginx) to dispatch some subset of its requests to the fastcgi backend, which listens on a local TCP or UNIX socket. There is an intermediary @code{fcgiwrap} program that sits between the actual backend process and the web server. The front-end indicates which backend program to run, passing that information to the @code{fcgiwrap} process."
  46868. msgstr ""
  46869. #. type: defvar
  46870. #: guix-git/doc/guix.texi:30844
  46871. #, fuzzy, no-wrap
  46872. #| msgid "guix-publish-service-type"
  46873. msgid "fcgiwrap-service-type"
  46874. msgstr "guix-publish-service-type"
  46875. #. type: defvar
  46876. #: guix-git/doc/guix.texi:30846
  46877. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  46878. msgstr ""
  46879. #. type: deftp
  46880. #: guix-git/doc/guix.texi:30848
  46881. #, no-wrap
  46882. msgid "{Data Type} fcgiwrap-configuration"
  46883. msgstr ""
  46884. #. type: deftp
  46885. #: guix-git/doc/guix.texi:30851
  46886. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  46887. msgstr ""
  46888. #. type: item
  46889. #: guix-git/doc/guix.texi:30852
  46890. #, no-wrap
  46891. msgid "@code{package} (default: @code{fcgiwrap})"
  46892. msgstr ""
  46893. #. type: table
  46894. #: guix-git/doc/guix.texi:30854
  46895. msgid "The fcgiwrap package to use."
  46896. msgstr ""
  46897. #. type: item
  46898. #: guix-git/doc/guix.texi:30855
  46899. #, no-wrap
  46900. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  46901. msgstr ""
  46902. #. type: table
  46903. #: guix-git/doc/guix.texi:30861
  46904. msgid "The socket on which the @code{fcgiwrap} process should listen, as a string. Valid @var{socket} values include @code{unix:@var{/path/to/unix/socket}}, @code{tcp:@var{dot.ted.qu.ad}:@var{port}} and @code{tcp6:[@var{ipv6_addr}]:port}."
  46905. msgstr ""
  46906. #. type: item
  46907. #: guix-git/doc/guix.texi:30862
  46908. #, no-wrap
  46909. msgid "@code{user} (default: @code{fcgiwrap})"
  46910. msgstr ""
  46911. #. type: itemx
  46912. #: guix-git/doc/guix.texi:30863
  46913. #, no-wrap
  46914. msgid "@code{group} (default: @code{fcgiwrap})"
  46915. msgstr ""
  46916. #. type: table
  46917. #: guix-git/doc/guix.texi:30868
  46918. msgid "The user and group names, as strings, under which to run the @code{fcgiwrap} process. The @code{fastcgi} service will ensure that if the user asks for the specific user or group names @code{fcgiwrap} that the corresponding user and/or group is present on the system."
  46919. msgstr ""
  46920. #. type: table
  46921. #: guix-git/doc/guix.texi:30875
  46922. msgid "It is possible to configure a FastCGI-backed web service to pass HTTP authentication information from the front-end to the back-end, and to allow @code{fcgiwrap} to run the back-end process as a corresponding local user. To enable this capability on the back-end, run @code{fcgiwrap} as the @code{root} user and group. Note that this capability also has to be configured on the front-end as well."
  46923. msgstr ""
  46924. #. type: subsubheading
  46925. #: guix-git/doc/guix.texi:30879
  46926. #, no-wrap
  46927. msgid "PHP-FPM"
  46928. msgstr ""
  46929. #. type: cindex
  46930. #: guix-git/doc/guix.texi:30880
  46931. #, no-wrap
  46932. msgid "php-fpm"
  46933. msgstr ""
  46934. #. type: Plain text
  46935. #: guix-git/doc/guix.texi:30883
  46936. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  46937. msgstr ""
  46938. #. type: Plain text
  46939. #: guix-git/doc/guix.texi:30885
  46940. msgid "These features include:"
  46941. msgstr ""
  46942. #. type: item
  46943. #: guix-git/doc/guix.texi:30886
  46944. #, no-wrap
  46945. msgid "Adaptive process spawning"
  46946. msgstr ""
  46947. #. type: item
  46948. #: guix-git/doc/guix.texi:30887
  46949. #, no-wrap
  46950. msgid "Basic statistics (similar to Apache's mod_status)"
  46951. msgstr ""
  46952. #. type: item
  46953. #: guix-git/doc/guix.texi:30888
  46954. #, no-wrap
  46955. msgid "Advanced process management with graceful stop/start"
  46956. msgstr ""
  46957. #. type: item
  46958. #: guix-git/doc/guix.texi:30889
  46959. #, no-wrap
  46960. msgid "Ability to start workers with different uid/gid/chroot/environment"
  46961. msgstr ""
  46962. #. type: itemize
  46963. #: guix-git/doc/guix.texi:30891
  46964. msgid "and different php.ini (replaces safe_mode)"
  46965. msgstr ""
  46966. #. type: item
  46967. #: guix-git/doc/guix.texi:30891
  46968. #, no-wrap
  46969. msgid "Stdout & stderr logging"
  46970. msgstr ""
  46971. #. type: item
  46972. #: guix-git/doc/guix.texi:30892
  46973. #, no-wrap
  46974. msgid "Emergency restart in case of accidental opcode cache destruction"
  46975. msgstr ""
  46976. #. type: item
  46977. #: guix-git/doc/guix.texi:30893
  46978. #, no-wrap
  46979. msgid "Accelerated upload support"
  46980. msgstr ""
  46981. #. type: item
  46982. #: guix-git/doc/guix.texi:30894
  46983. #, no-wrap
  46984. msgid "Support for a \"slowlog\""
  46985. msgstr ""
  46986. #. type: item
  46987. #: guix-git/doc/guix.texi:30895
  46988. #, no-wrap
  46989. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  46990. msgstr ""
  46991. #. type: itemize
  46992. #: guix-git/doc/guix.texi:30898
  46993. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  46994. msgstr ""
  46995. #. type: Plain text
  46996. #: guix-git/doc/guix.texi:30900
  46997. msgid "...@: and much more."
  46998. msgstr "...@: e muito mais."
  46999. #. type: defvar
  47000. #: guix-git/doc/guix.texi:30901
  47001. #, fuzzy, no-wrap
  47002. #| msgid "guix-publish-service-type"
  47003. msgid "php-fpm-service-type"
  47004. msgstr "guix-publish-service-type"
  47005. #. type: defvar
  47006. #: guix-git/doc/guix.texi:30903
  47007. msgid "A Service type for @code{php-fpm}."
  47008. msgstr ""
  47009. #. type: deftp
  47010. #: guix-git/doc/guix.texi:30905
  47011. #, no-wrap
  47012. msgid "{Data Type} php-fpm-configuration"
  47013. msgstr ""
  47014. #. type: deftp
  47015. #: guix-git/doc/guix.texi:30907
  47016. msgid "Data Type for php-fpm service configuration."
  47017. msgstr ""
  47018. #. type: item
  47019. #: guix-git/doc/guix.texi:30908
  47020. #, no-wrap
  47021. msgid "@code{php} (default: @code{php})"
  47022. msgstr ""
  47023. #. type: table
  47024. #: guix-git/doc/guix.texi:30910
  47025. msgid "The php package to use."
  47026. msgstr ""
  47027. #. type: item
  47028. #: guix-git/doc/guix.texi:30910
  47029. #, no-wrap
  47030. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  47031. msgstr ""
  47032. #. type: table
  47033. #: guix-git/doc/guix.texi:30912
  47034. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  47035. msgstr ""
  47036. #. type: code{#1}
  47037. #: guix-git/doc/guix.texi:30913
  47038. #, no-wrap
  47039. msgid "\"ip.add.re.ss:port\""
  47040. msgstr ""
  47041. #. type: table
  47042. #: guix-git/doc/guix.texi:30915
  47043. msgid "Listen on a TCP socket to a specific address on a specific port."
  47044. msgstr ""
  47045. #. type: code{#1}
  47046. #: guix-git/doc/guix.texi:30915
  47047. #, no-wrap
  47048. msgid "\"port\""
  47049. msgstr ""
  47050. #. type: table
  47051. #: guix-git/doc/guix.texi:30917
  47052. msgid "Listen on a TCP socket to all addresses on a specific port."
  47053. msgstr ""
  47054. #. type: code{#1}
  47055. #: guix-git/doc/guix.texi:30917
  47056. #, no-wrap
  47057. msgid "\"/path/to/unix/socket\""
  47058. msgstr ""
  47059. #. type: table
  47060. #: guix-git/doc/guix.texi:30919
  47061. msgid "Listen on a unix socket."
  47062. msgstr ""
  47063. #. type: item
  47064. #: guix-git/doc/guix.texi:30921
  47065. #, no-wrap
  47066. msgid "@code{user} (default: @code{php-fpm})"
  47067. msgstr ""
  47068. #. type: table
  47069. #: guix-git/doc/guix.texi:30923
  47070. msgid "User who will own the php worker processes."
  47071. msgstr ""
  47072. #. type: item
  47073. #: guix-git/doc/guix.texi:30923
  47074. #, no-wrap
  47075. msgid "@code{group} (default: @code{php-fpm})"
  47076. msgstr ""
  47077. #. type: table
  47078. #: guix-git/doc/guix.texi:30925
  47079. msgid "Group of the worker processes."
  47080. msgstr ""
  47081. #. type: item
  47082. #: guix-git/doc/guix.texi:30925
  47083. #, no-wrap
  47084. msgid "@code{socket-user} (default: @code{php-fpm})"
  47085. msgstr ""
  47086. #. type: table
  47087. #: guix-git/doc/guix.texi:30927
  47088. msgid "User who can speak to the php-fpm socket."
  47089. msgstr ""
  47090. #. type: item
  47091. #: guix-git/doc/guix.texi:30927
  47092. #, no-wrap
  47093. msgid "@code{socket-group} (default: @code{nginx})"
  47094. msgstr ""
  47095. #. type: table
  47096. #: guix-git/doc/guix.texi:30929
  47097. msgid "Group that can speak to the php-fpm socket."
  47098. msgstr ""
  47099. #. type: item
  47100. #: guix-git/doc/guix.texi:30929
  47101. #, no-wrap
  47102. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  47103. msgstr ""
  47104. #. type: table
  47105. #: guix-git/doc/guix.texi:30932
  47106. msgid "The process id of the php-fpm process is written to this file once the service has started."
  47107. msgstr ""
  47108. #. type: item
  47109. #: guix-git/doc/guix.texi:30932
  47110. #, no-wrap
  47111. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  47112. msgstr ""
  47113. #. type: table
  47114. #: guix-git/doc/guix.texi:30934
  47115. msgid "Log for the php-fpm master process."
  47116. msgstr ""
  47117. #. type: item
  47118. #: guix-git/doc/guix.texi:30934
  47119. #, no-wrap
  47120. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  47121. msgstr ""
  47122. #. type: table
  47123. #: guix-git/doc/guix.texi:30937
  47124. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  47125. msgstr ""
  47126. #. type: code{#1}
  47127. #: guix-git/doc/guix.texi:30938
  47128. #, no-wrap
  47129. msgid "<php-fpm-dynamic-process-manager-configuration>"
  47130. msgstr ""
  47131. #. type: code{#1}
  47132. #: guix-git/doc/guix.texi:30939
  47133. #, no-wrap
  47134. msgid "<php-fpm-static-process-manager-configuration>"
  47135. msgstr ""
  47136. #. type: code{#1}
  47137. #: guix-git/doc/guix.texi:30940
  47138. #, no-wrap
  47139. msgid "<php-fpm-on-demand-process-manager-configuration>"
  47140. msgstr ""
  47141. #. type: item
  47142. #: guix-git/doc/guix.texi:30942
  47143. #, no-wrap
  47144. msgid "@code{display-errors} (default @code{#f})"
  47145. msgstr ""
  47146. #. type: table
  47147. #: guix-git/doc/guix.texi:30947
  47148. msgid "Determines whether php errors and warning should be sent to clients and displayed in their browsers. This is useful for local php development, but a security risk for public sites, as error messages can reveal passwords and personal data."
  47149. msgstr ""
  47150. #. type: item
  47151. #: guix-git/doc/guix.texi:30947
  47152. #, no-wrap
  47153. msgid "@code{timezone} (default @code{#f})"
  47154. msgstr ""
  47155. #. type: table
  47156. #: guix-git/doc/guix.texi:30949
  47157. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  47158. msgstr ""
  47159. #. type: item
  47160. #: guix-git/doc/guix.texi:30949
  47161. #, no-wrap
  47162. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  47163. msgstr ""
  47164. #. type: table
  47165. #: guix-git/doc/guix.texi:30952
  47166. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  47167. msgstr ""
  47168. #. type: item
  47169. #: guix-git/doc/guix.texi:30952
  47170. #, no-wrap
  47171. msgid "@code{file} (default @code{#f})"
  47172. msgstr "@code{file} (default @code{#f})"
  47173. #. type: table
  47174. #: guix-git/doc/guix.texi:30955
  47175. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  47176. msgstr ""
  47177. #. type: item
  47178. #: guix-git/doc/guix.texi:30955
  47179. #, no-wrap
  47180. msgid "@code{php-ini-file} (default @code{#f})"
  47181. msgstr ""
  47182. #. type: table
  47183. #: guix-git/doc/guix.texi:30959
  47184. msgid "An optional override of the default php settings. It may be any ``file-like'' object (@pxref{G-Expressions, file-like objects}). You can use the @code{mixed-text-file} function or an absolute filepath for it."
  47185. msgstr ""
  47186. #. type: table
  47187. #: guix-git/doc/guix.texi:30963
  47188. msgid "For local development it is useful to set a higher timeout and memory limit for spawned php processes. This be accomplished with the following operating system configuration snippet:"
  47189. msgstr ""
  47190. #. type: lisp
  47191. #: guix-git/doc/guix.texi:30968
  47192. #, no-wrap
  47193. msgid ""
  47194. "(define %local-php-ini\n"
  47195. " (plain-file \"php.ini\"\n"
  47196. " \"memory_limit = 2G\n"
  47197. "max_execution_time = 1800\"))\n"
  47198. "\n"
  47199. msgstr ""
  47200. #. type: lisp
  47201. #: guix-git/doc/guix.texi:30975
  47202. #, no-wrap
  47203. msgid ""
  47204. "(operating-system\n"
  47205. " ;; @dots{}\n"
  47206. " (services (cons (service php-fpm-service-type\n"
  47207. " (php-fpm-configuration\n"
  47208. " (php-ini-file %local-php-ini)))\n"
  47209. " %base-services)))\n"
  47210. msgstr ""
  47211. #. type: table
  47212. #: guix-git/doc/guix.texi:30980
  47213. msgid "Consult the @url{https://www.php.net/manual/en/ini.core.php,core php.ini directives} for comprehensive documentation on the acceptable @file{php.ini} directives."
  47214. msgstr ""
  47215. #. type: deftp
  47216. #: guix-git/doc/guix.texi:30983
  47217. #, no-wrap
  47218. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  47219. msgstr ""
  47220. #. type: deftp
  47221. #: guix-git/doc/guix.texi:30987
  47222. msgid "Data Type for the @code{dynamic} php-fpm process manager. With the @code{dynamic} process manager, spare worker processes are kept around based on its configured limits."
  47223. msgstr ""
  47224. #. type: item
  47225. #: guix-git/doc/guix.texi:30988 guix-git/doc/guix.texi:31004
  47226. #: guix-git/doc/guix.texi:31014
  47227. #, no-wrap
  47228. msgid "@code{max-children} (default: @code{5})"
  47229. msgstr ""
  47230. #. type: table
  47231. #: guix-git/doc/guix.texi:30990 guix-git/doc/guix.texi:31006
  47232. #: guix-git/doc/guix.texi:31016
  47233. msgid "Maximum of worker processes."
  47234. msgstr ""
  47235. #. type: item
  47236. #: guix-git/doc/guix.texi:30990
  47237. #, no-wrap
  47238. msgid "@code{start-servers} (default: @code{2})"
  47239. msgstr ""
  47240. #. type: table
  47241. #: guix-git/doc/guix.texi:30992
  47242. msgid "How many worker processes should be started on start-up."
  47243. msgstr ""
  47244. #. type: item
  47245. #: guix-git/doc/guix.texi:30992
  47246. #, no-wrap
  47247. msgid "@code{min-spare-servers} (default: @code{1})"
  47248. msgstr ""
  47249. #. type: table
  47250. #: guix-git/doc/guix.texi:30994
  47251. msgid "How many spare worker processes should be kept around at minimum."
  47252. msgstr ""
  47253. #. type: item
  47254. #: guix-git/doc/guix.texi:30994
  47255. #, no-wrap
  47256. msgid "@code{max-spare-servers} (default: @code{3})"
  47257. msgstr ""
  47258. #. type: table
  47259. #: guix-git/doc/guix.texi:30996
  47260. msgid "How many spare worker processes should be kept around at maximum."
  47261. msgstr ""
  47262. #. type: deftp
  47263. #: guix-git/doc/guix.texi:30999
  47264. #, no-wrap
  47265. msgid "{Data type} php-fpm-static-process-manager-configuration"
  47266. msgstr ""
  47267. #. type: deftp
  47268. #: guix-git/doc/guix.texi:31003
  47269. msgid "Data Type for the @code{static} php-fpm process manager. With the @code{static} process manager, an unchanging number of worker processes are created."
  47270. msgstr ""
  47271. #. type: deftp
  47272. #: guix-git/doc/guix.texi:31009
  47273. #, no-wrap
  47274. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  47275. msgstr ""
  47276. #. type: deftp
  47277. #: guix-git/doc/guix.texi:31013
  47278. msgid "Data Type for the @code{on-demand} php-fpm process manager. With the @code{on-demand} process manager, worker processes are only created as requests arrive."
  47279. msgstr ""
  47280. #. type: item
  47281. #: guix-git/doc/guix.texi:31016
  47282. #, no-wrap
  47283. msgid "@code{process-idle-timeout} (default: @code{10})"
  47284. msgstr ""
  47285. #. type: table
  47286. #: guix-git/doc/guix.texi:31018
  47287. msgid "The time in seconds after which a process with no requests is killed."
  47288. msgstr ""
  47289. #. type: defun
  47290. #: guix-git/doc/guix.texi:31022
  47291. #, no-wrap
  47292. msgid "nginx-php-location [#:nginx-package nginx] @"
  47293. msgstr ""
  47294. #. type: defun
  47295. #: guix-git/doc/guix.texi:31026
  47296. msgid "[socket (string-append \"/var/run/php\" @ (version-major (package-version php)) \"-fpm.sock\")] A helper function to quickly add php to an @code{nginx-server-configuration}."
  47297. msgstr ""
  47298. #. type: Plain text
  47299. #: guix-git/doc/guix.texi:31029
  47300. msgid "A simple services setup for nginx with php can look like this:"
  47301. msgstr ""
  47302. #. type: lisp
  47303. #: guix-git/doc/guix.texi:31042
  47304. #, no-wrap
  47305. msgid ""
  47306. "(services (cons* (service dhcp-client-service-type)\n"
  47307. " (service php-fpm-service-type)\n"
  47308. " (service nginx-service-type\n"
  47309. " (nginx-server-configuration\n"
  47310. " (server-name '(\"example.com\"))\n"
  47311. " (root \"/srv/http/\")\n"
  47312. " (locations\n"
  47313. " (list (nginx-php-location)))\n"
  47314. " (listen '(\"80\"))\n"
  47315. " (ssl-certificate #f)\n"
  47316. " (ssl-certificate-key #f)))\n"
  47317. " %base-services))\n"
  47318. msgstr ""
  47319. #. type: cindex
  47320. #: guix-git/doc/guix.texi:31044
  47321. #, no-wrap
  47322. msgid "cat-avatar-generator"
  47323. msgstr ""
  47324. #. type: Plain text
  47325. #: guix-git/doc/guix.texi:31048
  47326. msgid "The cat avatar generator is a simple service to demonstrate the use of php-fpm in @code{Nginx}. It is used to generate cat avatar from a seed, for instance the hash of a user's email address."
  47327. msgstr ""
  47328. #. type: defun
  47329. #: guix-git/doc/guix.texi:31049
  47330. #, no-wrap
  47331. msgid "cat-avatar-generator-service @"
  47332. msgstr ""
  47333. #. type: defun
  47334. #: guix-git/doc/guix.texi:31057
  47335. msgid "[#:cache-dir \"/var/cache/cat-avatar-generator\"] @ [#:package cat-avatar-generator] @ [#:configuration (nginx-server-configuration)] Returns an nginx-server-configuration that inherits @code{configuration}. It extends the nginx configuration to add a server block that serves @code{package}, a version of cat-avatar-generator. During execution, cat-avatar-generator will be able to use @code{cache-dir} as its cache directory."
  47336. msgstr ""
  47337. #. type: Plain text
  47338. #: guix-git/doc/guix.texi:31060
  47339. msgid "A simple setup for cat-avatar-generator can look like this:"
  47340. msgstr ""
  47341. #. type: lisp
  47342. #: guix-git/doc/guix.texi:31067
  47343. #, no-wrap
  47344. msgid ""
  47345. "(services (cons* (cat-avatar-generator-service\n"
  47346. " #:configuration\n"
  47347. " (nginx-server-configuration\n"
  47348. " (server-name '(\"example.com\"))))\n"
  47349. " ...\n"
  47350. " %base-services))\n"
  47351. msgstr ""
  47352. #. type: subsubheading
  47353. #: guix-git/doc/guix.texi:31069
  47354. #, no-wrap
  47355. msgid "Hpcguix-web"
  47356. msgstr ""
  47357. #. type: cindex
  47358. #: guix-git/doc/guix.texi:31071
  47359. #, no-wrap
  47360. msgid "hpcguix-web"
  47361. msgstr ""
  47362. #. type: Plain text
  47363. #: guix-git/doc/guix.texi:31076
  47364. msgid "The @uref{https://github.com/UMCUGenetics/hpcguix-web/, hpcguix-web} program is a customizable web interface to browse Guix packages, initially designed for users of high-performance computing (HPC) clusters."
  47365. msgstr ""
  47366. #. type: defvar
  47367. #: guix-git/doc/guix.texi:31077
  47368. #, fuzzy, no-wrap
  47369. #| msgid "guix-publish-service-type"
  47370. msgid "hpcguix-web-service-type"
  47371. msgstr "guix-publish-service-type"
  47372. #. type: defvar
  47373. #: guix-git/doc/guix.texi:31079
  47374. msgid "The service type for @code{hpcguix-web}."
  47375. msgstr ""
  47376. #. type: deftp
  47377. #: guix-git/doc/guix.texi:31081
  47378. #, no-wrap
  47379. msgid "{Data Type} hpcguix-web-configuration"
  47380. msgstr ""
  47381. #. type: deftp
  47382. #: guix-git/doc/guix.texi:31083
  47383. msgid "Data type for the hpcguix-web service configuration."
  47384. msgstr ""
  47385. #. type: item
  47386. #: guix-git/doc/guix.texi:31085
  47387. #, fuzzy, no-wrap
  47388. #| msgid "@code{users} (default: @code{#f})"
  47389. msgid "@code{specs} (default: @code{#f})"
  47390. msgstr "@code{users} (default: @code{#f})"
  47391. #. type: table
  47392. #: guix-git/doc/guix.texi:31089
  47393. msgid "Either @code{#f} or a gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration as an @code{hpcguix-web-configuration} record. The main fields of that record type are:"
  47394. msgstr ""
  47395. #. type: item
  47396. #: guix-git/doc/guix.texi:31091
  47397. #, no-wrap
  47398. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  47399. msgstr ""
  47400. #. type: table
  47401. #: guix-git/doc/guix.texi:31093
  47402. msgid "The page title prefix."
  47403. msgstr ""
  47404. #. type: item
  47405. #: guix-git/doc/guix.texi:31094
  47406. #, no-wrap
  47407. msgid "@code{guix-command} (default: @code{\"guix\"})"
  47408. msgstr ""
  47409. #. type: table
  47410. #: guix-git/doc/guix.texi:31096
  47411. msgid "The @command{guix} command to use in examples that appear on HTML pages."
  47412. msgstr ""
  47413. #. type: item
  47414. #: guix-git/doc/guix.texi:31097
  47415. #, no-wrap
  47416. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  47417. msgstr ""
  47418. #. type: table
  47419. #: guix-git/doc/guix.texi:31099
  47420. msgid "A procedure specifying how to filter packages that are displayed."
  47421. msgstr ""
  47422. #. type: item
  47423. #: guix-git/doc/guix.texi:31100
  47424. #, no-wrap
  47425. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  47426. msgstr ""
  47427. #. type: table
  47428. #: guix-git/doc/guix.texi:31102
  47429. msgid "Extension package for @code{hpcguix-web}."
  47430. msgstr ""
  47431. #. type: item
  47432. #: guix-git/doc/guix.texi:31103
  47433. #, no-wrap
  47434. msgid "@code{menu} (default: @code{'()})"
  47435. msgstr ""
  47436. #. type: table
  47437. #: guix-git/doc/guix.texi:31105
  47438. msgid "Additional entry in page @code{menu}."
  47439. msgstr ""
  47440. #. type: item
  47441. #: guix-git/doc/guix.texi:31106
  47442. #, no-wrap
  47443. msgid "@code{channels} (default: @code{%default-channels})"
  47444. msgstr ""
  47445. #. type: table
  47446. #: guix-git/doc/guix.texi:31108
  47447. msgid "List of channels from which the package list is built (@pxref{Channels})."
  47448. msgstr ""
  47449. #. type: item
  47450. #: guix-git/doc/guix.texi:31109
  47451. #, no-wrap
  47452. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  47453. msgstr ""
  47454. #. type: table
  47455. #: guix-git/doc/guix.texi:31112
  47456. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  47457. msgstr ""
  47458. #. type: table
  47459. #: guix-git/doc/guix.texi:31117
  47460. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  47461. msgstr ""
  47462. #. type: item
  47463. #: guix-git/doc/guix.texi:31118
  47464. #, no-wrap
  47465. msgid "@code{package} (default: @code{hpcguix-web})"
  47466. msgstr ""
  47467. #. type: table
  47468. #: guix-git/doc/guix.texi:31120
  47469. msgid "The hpcguix-web package to use."
  47470. msgstr ""
  47471. #. type: item
  47472. #: guix-git/doc/guix.texi:31121
  47473. #, fuzzy, no-wrap
  47474. msgid "@code{address} (default: @code{\"127.0.0.1\"})"
  47475. msgstr "@code{porta} (default: @code{15000})"
  47476. #. type: table
  47477. #: guix-git/doc/guix.texi:31123
  47478. msgid "The IP address to listen to."
  47479. msgstr ""
  47480. #. type: item
  47481. #: guix-git/doc/guix.texi:31124
  47482. #, fuzzy, no-wrap
  47483. #| msgid "@code{port} (default: @code{15000})"
  47484. msgid "@code{port} (default: @code{5000})"
  47485. msgstr "@code{porta} (default: @code{15000})"
  47486. #. type: table
  47487. #: guix-git/doc/guix.texi:31126
  47488. msgid "The port number to listen to."
  47489. msgstr ""
  47490. #. type: Plain text
  47491. #: guix-git/doc/guix.texi:31130
  47492. msgid "A typical hpcguix-web service declaration looks like this:"
  47493. msgstr ""
  47494. #. type: lisp
  47495. #: guix-git/doc/guix.texi:31138
  47496. #, no-wrap
  47497. msgid ""
  47498. "(service hpcguix-web-service-type\n"
  47499. " (hpcguix-web-configuration\n"
  47500. " (specs\n"
  47501. " #~(hpcweb-configuration\n"
  47502. " (title-prefix \"Guix-HPC - \")\n"
  47503. " (menu '((\"/about\" \"ABOUT\")))))))\n"
  47504. msgstr ""
  47505. #. type: quotation
  47506. #: guix-git/doc/guix.texi:31145
  47507. msgid "The hpcguix-web service periodically updates the package list it publishes by pulling channels from Git. To that end, it needs to access X.509 certificates so that it can authenticate Git servers when communicating over HTTPS, and it assumes that @file{/etc/ssl/certs} contains those certificates."
  47508. msgstr ""
  47509. #. type: quotation
  47510. #: guix-git/doc/guix.texi:31149
  47511. msgid "Thus, make sure to add @code{nss-certs} or another certificate package to the @code{packages} field of your configuration. @ref{X.509 Certificates}, for more information on X.509 certificates."
  47512. msgstr ""
  47513. #. type: cindex
  47514. #: guix-git/doc/guix.texi:31151 guix-git/doc/guix.texi:31153
  47515. #, no-wrap
  47516. msgid "gmnisrv"
  47517. msgstr ""
  47518. #. type: Plain text
  47519. #: guix-git/doc/guix.texi:31156
  47520. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  47521. msgstr ""
  47522. #. type: defvar
  47523. #: guix-git/doc/guix.texi:31157
  47524. #, fuzzy, no-wrap
  47525. #| msgid "guix-publish-service-type"
  47526. msgid "gmnisrv-service-type"
  47527. msgstr "guix-publish-service-type"
  47528. #. type: defvar
  47529. #: guix-git/doc/guix.texi:31160
  47530. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  47531. msgstr ""
  47532. #. type: lisp
  47533. #: guix-git/doc/guix.texi:31165
  47534. #, no-wrap
  47535. msgid ""
  47536. "(service gmnisrv-service-type\n"
  47537. " (gmnisrv-configuration\n"
  47538. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  47539. msgstr ""
  47540. #. type: deftp
  47541. #: guix-git/doc/guix.texi:31168
  47542. #, no-wrap
  47543. msgid "{Data Type} gmnisrv-configuration"
  47544. msgstr ""
  47545. #. type: deftp
  47546. #: guix-git/doc/guix.texi:31170
  47547. msgid "Data type representing the configuration of gmnisrv."
  47548. msgstr ""
  47549. #. type: item
  47550. #: guix-git/doc/guix.texi:31172
  47551. #, no-wrap
  47552. msgid "@code{package} (default: @var{gmnisrv})"
  47553. msgstr ""
  47554. #. type: table
  47555. #: guix-git/doc/guix.texi:31174
  47556. msgid "Package object of the gmnisrv server."
  47557. msgstr ""
  47558. #. type: item
  47559. #: guix-git/doc/guix.texi:31175
  47560. #, no-wrap
  47561. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  47562. msgstr ""
  47563. #. type: table
  47564. #: guix-git/doc/guix.texi:31181
  47565. msgid "File-like object of the gmnisrv configuration file to use. The default configuration listens on port 1965 and serves files from @file{/srv/gemini}. Certificates are stored in @file{/var/lib/gemini/certs}. For more information, run @command{man gmnisrv} and @command{man gmnisrv.ini}."
  47566. msgstr ""
  47567. #. type: subsubheading
  47568. #: guix-git/doc/guix.texi:31185
  47569. #, no-wrap
  47570. msgid "Agate"
  47571. msgstr ""
  47572. #. type: cindex
  47573. #: guix-git/doc/guix.texi:31187
  47574. #, no-wrap
  47575. msgid "agate"
  47576. msgstr ""
  47577. #. type: Plain text
  47578. #: guix-git/doc/guix.texi:31192
  47579. msgid "The @uref{gemini://qwertqwefsday.eu/agate.gmi, Agate} (@uref{https://github.com/mbrubeck/agate, GitHub page over HTTPS}) program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server written in Rust."
  47580. msgstr ""
  47581. #. type: defvar
  47582. #: guix-git/doc/guix.texi:31193
  47583. #, fuzzy, no-wrap
  47584. #| msgid "guix-publish-service-type"
  47585. msgid "agate-service-type"
  47586. msgstr "guix-publish-service-type"
  47587. #. type: defvar
  47588. #: guix-git/doc/guix.texi:31196
  47589. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  47590. msgstr ""
  47591. #. type: lisp
  47592. #: guix-git/doc/guix.texi:31203
  47593. #, no-wrap
  47594. msgid ""
  47595. "(service agate-service-type\n"
  47596. "\t (agate-configuration\n"
  47597. "\t (content \"/srv/gemini\")\n"
  47598. "\t (cert \"/srv/cert.pem\")\n"
  47599. "\t (key \"/srv/key.rsa\")))\n"
  47600. msgstr ""
  47601. #. type: defvar
  47602. #: guix-git/doc/guix.texi:31208
  47603. msgid "The example above represents the minimal tweaking necessary to get Agate up and running. Specifying the path to the certificate and key is always necessary, as the Gemini protocol requires TLS by default."
  47604. msgstr ""
  47605. #. type: defvar
  47606. #: guix-git/doc/guix.texi:31211
  47607. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  47608. msgstr ""
  47609. #. type: example
  47610. #: guix-git/doc/guix.texi:31215
  47611. #, no-wrap
  47612. msgid ""
  47613. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  47614. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  47615. msgstr ""
  47616. #. type: defvar
  47617. #: guix-git/doc/guix.texi:31220
  47618. msgid "Of course, you'll have to replace @i{example.com} with your own domain name, and then point the Agate configuration towards the path of the generated key and certificate."
  47619. msgstr ""
  47620. #. type: deftp
  47621. #: guix-git/doc/guix.texi:31223
  47622. #, no-wrap
  47623. msgid "{Data Type} agate-configuration"
  47624. msgstr ""
  47625. #. type: deftp
  47626. #: guix-git/doc/guix.texi:31225
  47627. msgid "Data type representing the configuration of Agate."
  47628. msgstr ""
  47629. #. type: item
  47630. #: guix-git/doc/guix.texi:31227
  47631. #, no-wrap
  47632. msgid "@code{package} (default: @code{agate})"
  47633. msgstr ""
  47634. #. type: table
  47635. #: guix-git/doc/guix.texi:31229
  47636. msgid "The package object of the Agate server."
  47637. msgstr ""
  47638. #. type: item
  47639. #: guix-git/doc/guix.texi:31230
  47640. #, no-wrap
  47641. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  47642. msgstr ""
  47643. #. type: table
  47644. #: guix-git/doc/guix.texi:31232
  47645. msgid "The directory from which Agate will serve files."
  47646. msgstr ""
  47647. #. type: item
  47648. #: guix-git/doc/guix.texi:31233
  47649. #, no-wrap
  47650. msgid "@code{cert} (default: @code{#f})"
  47651. msgstr ""
  47652. #. type: table
  47653. #: guix-git/doc/guix.texi:31236
  47654. msgid "The path to the TLS certificate PEM file to be used for encrypted connections. Must be filled in with a value from the user."
  47655. msgstr ""
  47656. #. type: item
  47657. #: guix-git/doc/guix.texi:31237 guix-git/doc/guix.texi:31673
  47658. #, no-wrap
  47659. msgid "@code{key} (default: @code{#f})"
  47660. msgstr "@code{key} (default: @code{#f})"
  47661. #. type: table
  47662. #: guix-git/doc/guix.texi:31240
  47663. msgid "The path to the PKCS8 private key file to be used for encrypted connections. Must be filled in with a value from the user."
  47664. msgstr ""
  47665. #. type: item
  47666. #: guix-git/doc/guix.texi:31241
  47667. #, no-wrap
  47668. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  47669. msgstr ""
  47670. #. type: table
  47671. #: guix-git/doc/guix.texi:31243
  47672. msgid "A list of the addresses to listen on."
  47673. msgstr ""
  47674. #. type: table
  47675. #: guix-git/doc/guix.texi:31246
  47676. msgid "The domain name of this Gemini server. Optional."
  47677. msgstr ""
  47678. #. type: item
  47679. #: guix-git/doc/guix.texi:31247
  47680. #, no-wrap
  47681. msgid "@code{lang} (default: @code{#f})"
  47682. msgstr ""
  47683. #. type: table
  47684. #: guix-git/doc/guix.texi:31249
  47685. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  47686. msgstr ""
  47687. #. type: item
  47688. #: guix-git/doc/guix.texi:31250
  47689. #, no-wrap
  47690. msgid "@code{silent?} (default: @code{#f})"
  47691. msgstr ""
  47692. #. type: table
  47693. #: guix-git/doc/guix.texi:31252
  47694. msgid "Set to @code{#t} to disable logging output."
  47695. msgstr ""
  47696. #. type: item
  47697. #: guix-git/doc/guix.texi:31253
  47698. #, no-wrap
  47699. msgid "@code{serve-secret?} (default: @code{#f})"
  47700. msgstr ""
  47701. #. type: table
  47702. #: guix-git/doc/guix.texi:31256
  47703. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  47704. msgstr ""
  47705. #. type: item
  47706. #: guix-git/doc/guix.texi:31257
  47707. #, no-wrap
  47708. msgid "@code{log-ip?} (default: @code{#t})"
  47709. msgstr ""
  47710. #. type: table
  47711. #: guix-git/doc/guix.texi:31259
  47712. msgid "Whether or not to output IP addresses when logging."
  47713. msgstr ""
  47714. #. type: item
  47715. #: guix-git/doc/guix.texi:31260
  47716. #, no-wrap
  47717. msgid "@code{user} (default: @code{\"agate\"})"
  47718. msgstr ""
  47719. #. type: table
  47720. #: guix-git/doc/guix.texi:31262
  47721. msgid "Owner of the @code{agate} process."
  47722. msgstr ""
  47723. #. type: item
  47724. #: guix-git/doc/guix.texi:31263
  47725. #, no-wrap
  47726. msgid "@code{group} (default: @code{\"agate\"})"
  47727. msgstr ""
  47728. #. type: table
  47729. #: guix-git/doc/guix.texi:31265
  47730. msgid "Owner's group of the @code{agate} process."
  47731. msgstr ""
  47732. #. type: item
  47733. #: guix-git/doc/guix.texi:31266
  47734. #, no-wrap
  47735. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  47736. msgstr ""
  47737. #. type: table
  47738. #: guix-git/doc/guix.texi:31268
  47739. msgid "The file which should store the logging output of Agate."
  47740. msgstr ""
  47741. #. type: cindex
  47742. #: guix-git/doc/guix.texi:31275
  47743. #, no-wrap
  47744. msgid "Web"
  47745. msgstr ""
  47746. #. type: cindex
  47747. #: guix-git/doc/guix.texi:31276
  47748. #, no-wrap
  47749. msgid "HTTP, HTTPS"
  47750. msgstr ""
  47751. #. type: cindex
  47752. #: guix-git/doc/guix.texi:31277
  47753. #, no-wrap
  47754. msgid "Let's Encrypt"
  47755. msgstr ""
  47756. #. type: cindex
  47757. #: guix-git/doc/guix.texi:31278
  47758. #, no-wrap
  47759. msgid "TLS certificates"
  47760. msgstr ""
  47761. #. type: Plain text
  47762. #: guix-git/doc/guix.texi:31285
  47763. msgid "The @code{(gnu services certbot)} module provides a service to automatically obtain a valid TLS certificate from the Let's Encrypt certificate authority. These certificates can then be used to serve content securely over HTTPS or other TLS-based protocols, with the knowledge that the client will be able to verify the server's authenticity."
  47764. msgstr ""
  47765. #. type: Plain text
  47766. #: guix-git/doc/guix.texi:31297
  47767. msgid "@url{https://letsencrypt.org/, Let's Encrypt} provides the @code{certbot} tool to automate the certification process. This tool first securely generates a key on the server. It then makes a request to the Let's Encrypt certificate authority (CA) to sign the key. The CA checks that the request originates from the host in question by using a challenge-response protocol, requiring the server to provide its response over HTTP@. If that protocol completes successfully, the CA signs the key, resulting in a certificate. That certificate is valid for a limited period of time, and therefore to continue to provide TLS services, the server needs to periodically ask the CA to renew its signature."
  47768. msgstr ""
  47769. #. type: Plain text
  47770. #: guix-git/doc/guix.texi:31304
  47771. msgid "The certbot service automates this process: the initial key generation, the initial certification request to the Let's Encrypt service, the web server challenge/response integration, writing the certificate to disk, the automated periodic renewals, and the deployment tasks associated with the renewal (e.g.@: reloading services, copying keys with different permissions)."
  47772. msgstr ""
  47773. #. type: Plain text
  47774. #: guix-git/doc/guix.texi:31310
  47775. msgid "Certbot is run twice a day, at a random minute within the hour. It won't do anything until your certificates are due for renewal or revoked, but running it regularly would give your service a chance of staying online in case a Let's Encrypt-initiated revocation happened for some reason."
  47776. msgstr ""
  47777. #. type: Plain text
  47778. #: guix-git/doc/guix.texi:31314
  47779. msgid "By using this service, you agree to the ACME Subscriber Agreement, which can be found there: @url{https://acme-v01.api.letsencrypt.org/directory}."
  47780. msgstr ""
  47781. #. type: defvar
  47782. #: guix-git/doc/guix.texi:31315
  47783. #, fuzzy, no-wrap
  47784. #| msgid "guix-publish-service-type"
  47785. msgid "certbot-service-type"
  47786. msgstr "guix-publish-service-type"
  47787. #. type: defvar
  47788. #: guix-git/doc/guix.texi:31318
  47789. msgid "A service type for the @code{certbot} Let's Encrypt client. Its value must be a @code{certbot-configuration} record as in this example:"
  47790. msgstr ""
  47791. #. type: lisp
  47792. #: guix-git/doc/guix.texi:31325
  47793. #, no-wrap
  47794. msgid ""
  47795. "(define %nginx-deploy-hook\n"
  47796. " (program-file\n"
  47797. " \"nginx-deploy-hook\"\n"
  47798. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  47799. " (kill pid SIGHUP))))\n"
  47800. "\n"
  47801. msgstr ""
  47802. #. type: lisp
  47803. #: guix-git/doc/guix.texi:31336
  47804. #, no-wrap
  47805. msgid ""
  47806. "(service certbot-service-type\n"
  47807. " (certbot-configuration\n"
  47808. " (email \"foo@@example.net\")\n"
  47809. " (certificates\n"
  47810. " (list\n"
  47811. " (certificate-configuration\n"
  47812. " (domains '(\"example.net\" \"www.example.net\"))\n"
  47813. " (deploy-hook %nginx-deploy-hook))\n"
  47814. " (certificate-configuration\n"
  47815. " (domains '(\"bar.example.net\")))))))\n"
  47816. msgstr ""
  47817. #. type: defvar
  47818. #: guix-git/doc/guix.texi:31339
  47819. msgid "See below for details about @code{certbot-configuration}."
  47820. msgstr ""
  47821. #. type: deftp
  47822. #: guix-git/doc/guix.texi:31341
  47823. #, no-wrap
  47824. msgid "{Data Type} certbot-configuration"
  47825. msgstr ""
  47826. #. type: deftp
  47827. #: guix-git/doc/guix.texi:31344
  47828. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  47829. msgstr ""
  47830. #. type: item
  47831. #: guix-git/doc/guix.texi:31346
  47832. #, no-wrap
  47833. msgid "@code{package} (default: @code{certbot})"
  47834. msgstr ""
  47835. #. type: table
  47836. #: guix-git/doc/guix.texi:31348
  47837. msgid "The certbot package to use."
  47838. msgstr ""
  47839. #. type: item
  47840. #: guix-git/doc/guix.texi:31349
  47841. #, no-wrap
  47842. msgid "@code{webroot} (default: @code{/var/www})"
  47843. msgstr ""
  47844. #. type: table
  47845. #: guix-git/doc/guix.texi:31352
  47846. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  47847. msgstr ""
  47848. #. type: item
  47849. #: guix-git/doc/guix.texi:31353
  47850. #, fuzzy, no-wrap
  47851. #| msgid "@code{features} (default: @code{'()})"
  47852. msgid "@code{certificates} (default: @code{'()})"
  47853. msgstr "@code{features} (padrão: @code{'()})"
  47854. #. type: table
  47855. #: guix-git/doc/guix.texi:31357
  47856. msgid "A list of @code{certificates-configuration}s for which to generate certificates and request signatures. Each certificate has a @code{name} and several @code{domains}."
  47857. msgstr ""
  47858. #. type: item
  47859. #: guix-git/doc/guix.texi:31358
  47860. #, no-wrap
  47861. msgid "@code{email} (default: @code{#f})"
  47862. msgstr ""
  47863. #. type: table
  47864. #: guix-git/doc/guix.texi:31362
  47865. msgid "Optional email address used for registration and recovery contact. Setting this is encouraged as it allows you to receive important notifications about the account and issued certificates."
  47866. msgstr ""
  47867. #. type: item
  47868. #: guix-git/doc/guix.texi:31363 guix-git/doc/guix.texi:33276
  47869. #, no-wrap
  47870. msgid "@code{server} (default: @code{#f})"
  47871. msgstr ""
  47872. #. type: table
  47873. #: guix-git/doc/guix.texi:31366
  47874. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  47875. msgstr ""
  47876. #. type: item
  47877. #: guix-git/doc/guix.texi:31367
  47878. #, no-wrap
  47879. msgid "@code{rsa-key-size} (default: @code{2048})"
  47880. msgstr ""
  47881. #. type: table
  47882. #: guix-git/doc/guix.texi:31369
  47883. msgid "Size of the RSA key."
  47884. msgstr ""
  47885. #. type: item
  47886. #: guix-git/doc/guix.texi:31370
  47887. #, no-wrap
  47888. msgid "@code{default-location} (default: @i{see below})"
  47889. msgstr ""
  47890. #. type: table
  47891. #: guix-git/doc/guix.texi:31379
  47892. msgid "The default @code{nginx-location-configuration}. Because @code{certbot} needs to be able to serve challenges and responses, it needs to be able to run a web server. It does so by extending the @code{nginx} web service with an @code{nginx-server-configuration} listening on the @var{domains} on port 80, and which has a @code{nginx-location-configuration} for the @code{/.well-known/} URI path subspace used by Let's Encrypt. @xref{Web Services}, for more on these nginx configuration data types."
  47893. msgstr ""
  47894. #. type: table
  47895. #: guix-git/doc/guix.texi:31383
  47896. msgid "Requests to other URL paths will be matched by the @code{default-location}, which if present is added to all @code{nginx-server-configuration}s."
  47897. msgstr ""
  47898. #. type: table
  47899. #: guix-git/doc/guix.texi:31387
  47900. msgid "By default, the @code{default-location} will issue a redirect from @code{http://@var{domain}/...} to @code{https://@var{domain}/...}, leaving you to define what to serve on your site via @code{https}."
  47901. msgstr ""
  47902. #. type: table
  47903. #: guix-git/doc/guix.texi:31389
  47904. msgid "Pass @code{#f} to not issue a default location."
  47905. msgstr ""
  47906. #. type: deftp
  47907. #: guix-git/doc/guix.texi:31392
  47908. #, no-wrap
  47909. msgid "{Data Type} certificate-configuration"
  47910. msgstr ""
  47911. #. type: deftp
  47912. #: guix-git/doc/guix.texi:31395
  47913. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  47914. msgstr ""
  47915. #. type: item
  47916. #: guix-git/doc/guix.texi:31397
  47917. #, no-wrap
  47918. msgid "@code{name} (default: @i{see below})"
  47919. msgstr ""
  47920. #. type: table
  47921. #: guix-git/doc/guix.texi:31401
  47922. msgid "This name is used by Certbot for housekeeping and in file paths; it doesn't affect the content of the certificate itself. To see certificate names, run @code{certbot certificates}."
  47923. msgstr ""
  47924. #. type: table
  47925. #: guix-git/doc/guix.texi:31403
  47926. msgid "Its default is the first provided domain."
  47927. msgstr ""
  47928. #. type: item
  47929. #: guix-git/doc/guix.texi:31404
  47930. #, fuzzy, no-wrap
  47931. #| msgid "@code{features} (default: @code{'()})"
  47932. msgid "@code{domains} (default: @code{'()})"
  47933. msgstr "@code{features} (padrão: @code{'()})"
  47934. #. type: table
  47935. #: guix-git/doc/guix.texi:31407
  47936. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  47937. msgstr ""
  47938. #. type: item
  47939. #: guix-git/doc/guix.texi:31408
  47940. #, no-wrap
  47941. msgid "@code{challenge} (default: @code{#f})"
  47942. msgstr "@code{challenge} (default: @code{#f})"
  47943. #. type: table
  47944. #: guix-git/doc/guix.texi:31415
  47945. msgid "The challenge type that has to be run by certbot. If @code{#f} is specified, default to the HTTP challenge. If a value is specified, defaults to the manual plugin (see @code{authentication-hook}, @code{cleanup-hook} and the documentation at @url{https://certbot.eff.org/docs/using.html#hooks}), and gives Let's Encrypt permission to log the public IP address of the requesting machine."
  47946. msgstr ""
  47947. #. type: item
  47948. #: guix-git/doc/guix.texi:31416
  47949. #, fuzzy, no-wrap
  47950. #| msgid "@code{chdir} (default: @code{#f})"
  47951. msgid "@code{csr} (default: @code{#f})"
  47952. msgstr "@code{chdir} (default: @code{#f})"
  47953. #. type: table
  47954. #: guix-git/doc/guix.texi:31423
  47955. msgid "File name of Certificate Signing Request (CSR) in DER or PEM format. If @code{#f} is specified, this argument will not be passed to certbot. If a value is specified, certbot will use it to obtain a certificate, instead of using a self-generated CSR. The domain-name(s) mentioned in @code{domains}, must be consistent with the domain-name(s) mentioned in CSR file."
  47956. msgstr ""
  47957. #. type: item
  47958. #: guix-git/doc/guix.texi:31424
  47959. #, no-wrap
  47960. msgid "@code{authentication-hook} (default: @code{#f})"
  47961. msgstr "@code{authentication-hook} (default: @code{#f})"
  47962. #. type: table
  47963. #: guix-git/doc/guix.texi:31430
  47964. msgid "Command to be run in a shell once for each certificate challenge to be answered. For this command, the shell variable @code{$CERTBOT_DOMAIN} will contain the domain being authenticated, @code{$CERTBOT_VALIDATION} contains the validation string and @code{$CERTBOT_TOKEN} contains the file name of the resource requested when performing an HTTP-01 challenge."
  47965. msgstr ""
  47966. #. type: item
  47967. #: guix-git/doc/guix.texi:31431
  47968. #, no-wrap
  47969. msgid "@code{cleanup-hook} (default: @code{#f})"
  47970. msgstr "@code{cleanup-hook} (default: @code{#f})"
  47971. #. type: table
  47972. #: guix-git/doc/guix.texi:31437
  47973. msgid "Command to be run in a shell once for each certificate challenge that have been answered by the @code{auth-hook}. For this command, the shell variables available in the @code{auth-hook} script are still available, and additionally @code{$CERTBOT_AUTH_OUTPUT} will contain the standard output of the @code{auth-hook} script."
  47974. msgstr ""
  47975. #. type: item
  47976. #: guix-git/doc/guix.texi:31438
  47977. #, no-wrap
  47978. msgid "@code{deploy-hook} (default: @code{#f})"
  47979. msgstr ""
  47980. #. type: table
  47981. #: guix-git/doc/guix.texi:31446
  47982. msgid "Command to be run in a shell once for each successfully issued certificate. For this command, the shell variable @code{$RENEWED_LINEAGE} will point to the config live subdirectory (for example, @samp{\"/etc/letsencrypt/live/example.com\"}) containing the new certificates and keys; the shell variable @code{$RENEWED_DOMAINS} will contain a space-delimited list of renewed certificate domains (for example, @samp{\"example.com www.example.com\"}."
  47983. msgstr ""
  47984. #. type: Plain text
  47985. #: guix-git/doc/guix.texi:31453
  47986. msgid "For each @code{certificate-configuration}, the certificate is saved to @code{/etc/letsencrypt/live/@var{name}/fullchain.pem} and the key is saved to @code{/etc/letsencrypt/live/@var{name}/privkey.pem}."
  47987. msgstr ""
  47988. #. type: cindex
  47989. #: guix-git/doc/guix.texi:31455
  47990. #, no-wrap
  47991. msgid "DNS (domain name system)"
  47992. msgstr ""
  47993. #. type: cindex
  47994. #: guix-git/doc/guix.texi:31456
  47995. #, no-wrap
  47996. msgid "domain name system (DNS)"
  47997. msgstr ""
  47998. #. type: Plain text
  47999. #: guix-git/doc/guix.texi:31464
  48000. msgid "The @code{(gnu services dns)} module provides services related to the @dfn{domain name system} (DNS). It provides a server service for hosting an @emph{authoritative} DNS server for multiple zones, slave or master. This service uses @uref{https://www.knot-dns.cz/, Knot DNS}. And also a caching and forwarding DNS server for the LAN, which uses @uref{http://www.thekelleys.org.uk/dnsmasq/doc.html, dnsmasq}."
  48001. msgstr ""
  48002. #. type: subsubheading
  48003. #: guix-git/doc/guix.texi:31465
  48004. #, no-wrap
  48005. msgid "Knot Service"
  48006. msgstr ""
  48007. #. type: Plain text
  48008. #: guix-git/doc/guix.texi:31469
  48009. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  48010. msgstr ""
  48011. #. type: lisp
  48012. #: guix-git/doc/guix.texi:31476
  48013. #, no-wrap
  48014. msgid ""
  48015. "(define-zone-entries example.org.zone\n"
  48016. ";; Name TTL Class Type Data\n"
  48017. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  48018. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  48019. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  48020. "\n"
  48021. msgstr ""
  48022. #. type: lisp
  48023. #: guix-git/doc/guix.texi:31483
  48024. #, no-wrap
  48025. msgid ""
  48026. "(define master-zone\n"
  48027. " (knot-zone-configuration\n"
  48028. " (domain \"example.org\")\n"
  48029. " (zone (zone-file\n"
  48030. " (origin \"example.org\")\n"
  48031. " (entries example.org.zone)))))\n"
  48032. "\n"
  48033. msgstr ""
  48034. #. type: lisp
  48035. #: guix-git/doc/guix.texi:31489
  48036. #, no-wrap
  48037. msgid ""
  48038. "(define slave-zone\n"
  48039. " (knot-zone-configuration\n"
  48040. " (domain \"plop.org\")\n"
  48041. " (dnssec-policy \"default\")\n"
  48042. " (master (list \"plop-master\"))))\n"
  48043. "\n"
  48044. msgstr ""
  48045. #. type: lisp
  48046. #: guix-git/doc/guix.texi:31494
  48047. #, no-wrap
  48048. msgid ""
  48049. "(define plop-master\n"
  48050. " (knot-remote-configuration\n"
  48051. " (id \"plop-master\")\n"
  48052. " (address (list \"208.76.58.171\"))))\n"
  48053. "\n"
  48054. msgstr ""
  48055. #. type: lisp
  48056. #: guix-git/doc/guix.texi:31503
  48057. #, no-wrap
  48058. msgid ""
  48059. "(operating-system\n"
  48060. " ;; ...\n"
  48061. " (services (cons* (service knot-service-type\n"
  48062. " (knot-configuration\n"
  48063. " (remotes (list plop-master))\n"
  48064. " (zones (list master-zone slave-zone))))\n"
  48065. " ;; ...\n"
  48066. " %base-services)))\n"
  48067. msgstr ""
  48068. #. type: defvar
  48069. #: guix-git/doc/guix.texi:31505
  48070. #, fuzzy, no-wrap
  48071. #| msgid "guix-publish-service-type"
  48072. msgid "knot-service-type"
  48073. msgstr "guix-publish-service-type"
  48074. #. type: defvar
  48075. #: guix-git/doc/guix.texi:31507
  48076. msgid "This is the type for the Knot DNS server."
  48077. msgstr ""
  48078. #. type: defvar
  48079. #: guix-git/doc/guix.texi:31515
  48080. msgid "Knot DNS is an authoritative DNS server, meaning that it can serve multiple zones, that is to say domain names you would buy from a registrar. This server is not a resolver, meaning that it can only resolve names for which it is authoritative. This server can be configured to serve zones as a master server or a slave server as a per-zone basis. Slave zones will get their data from masters, and will serve it as an authoritative server. From the point of view of a resolver, there is no difference between master and slave."
  48081. msgstr ""
  48082. #. type: defvar
  48083. #: guix-git/doc/guix.texi:31517
  48084. msgid "The following data types are used to configure the Knot DNS server:"
  48085. msgstr ""
  48086. #. type: deftp
  48087. #: guix-git/doc/guix.texi:31519
  48088. #, no-wrap
  48089. msgid "{Data Type} knot-key-configuration"
  48090. msgstr ""
  48091. #. type: deftp
  48092. #: guix-git/doc/guix.texi:31522
  48093. msgid "Data type representing a key. This type has the following parameters:"
  48094. msgstr ""
  48095. #. type: item
  48096. #: guix-git/doc/guix.texi:31524 guix-git/doc/guix.texi:31544
  48097. #: guix-git/doc/guix.texi:31659 guix-git/doc/guix.texi:31685
  48098. #: guix-git/doc/guix.texi:31720
  48099. #, no-wrap
  48100. msgid "@code{id} (default: @code{\"\"})"
  48101. msgstr ""
  48102. #. type: table
  48103. #: guix-git/doc/guix.texi:31527 guix-git/doc/guix.texi:31547
  48104. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  48105. msgstr ""
  48106. #. type: item
  48107. #: guix-git/doc/guix.texi:31528
  48108. #, no-wrap
  48109. msgid "@code{algorithm} (default: @code{#f})"
  48110. msgstr "@code{algorithm} (default: @code{#f})"
  48111. #. type: table
  48112. #: guix-git/doc/guix.texi:31532
  48113. msgid "The algorithm to use. Choose between @code{#f}, @code{'hmac-md5}, @code{'hmac-sha1}, @code{'hmac-sha224}, @code{'hmac-sha256}, @code{'hmac-sha384} and @code{'hmac-sha512}."
  48114. msgstr ""
  48115. #. type: item
  48116. #: guix-git/doc/guix.texi:31533
  48117. #, no-wrap
  48118. msgid "@code{secret} (default: @code{\"\"})"
  48119. msgstr ""
  48120. #. type: table
  48121. #: guix-git/doc/guix.texi:31535
  48122. msgid "The secret key itself."
  48123. msgstr ""
  48124. #. type: deftp
  48125. #: guix-git/doc/guix.texi:31539
  48126. #, no-wrap
  48127. msgid "{Data Type} knot-acl-configuration"
  48128. msgstr ""
  48129. #. type: deftp
  48130. #: guix-git/doc/guix.texi:31542
  48131. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  48132. msgstr ""
  48133. #. type: item
  48134. #: guix-git/doc/guix.texi:31548 guix-git/doc/guix.texi:31663
  48135. #, no-wrap
  48136. msgid "@code{address} (default: @code{'()})"
  48137. msgstr ""
  48138. #. type: table
  48139. #: guix-git/doc/guix.texi:31552
  48140. msgid "An ordered list of IP addresses, network subnets, or network ranges represented with strings. The query must match one of them. Empty value means that address match is not required."
  48141. msgstr ""
  48142. #. type: item
  48143. #: guix-git/doc/guix.texi:31553
  48144. #, no-wrap
  48145. msgid "@code{key} (default: @code{'()})"
  48146. msgstr ""
  48147. #. type: table
  48148. #: guix-git/doc/guix.texi:31557
  48149. msgid "An ordered list of references to keys represented with strings. The string must match a key ID defined in a @code{knot-key-configuration}. No key means that a key is not require to match that ACL."
  48150. msgstr ""
  48151. #. type: item
  48152. #: guix-git/doc/guix.texi:31558
  48153. #, no-wrap
  48154. msgid "@code{action} (default: @code{'()})"
  48155. msgstr ""
  48156. #. type: table
  48157. #: guix-git/doc/guix.texi:31562
  48158. msgid "An ordered list of actions that are permitted or forbidden by this ACL@. Possible values are lists of zero or more elements from @code{'transfer}, @code{'notify} and @code{'update}."
  48159. msgstr ""
  48160. #. type: item
  48161. #: guix-git/doc/guix.texi:31563
  48162. #, no-wrap
  48163. msgid "@code{deny?} (default: @code{#f})"
  48164. msgstr "@code{deny?} (padrão: @code{#f})"
  48165. #. type: table
  48166. #: guix-git/doc/guix.texi:31566
  48167. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  48168. msgstr ""
  48169. #. type: deftp
  48170. #: guix-git/doc/guix.texi:31570
  48171. #, no-wrap
  48172. msgid "{Data Type} zone-entry"
  48173. msgstr ""
  48174. #. type: deftp
  48175. #: guix-git/doc/guix.texi:31573
  48176. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  48177. msgstr ""
  48178. #. type: item
  48179. #: guix-git/doc/guix.texi:31575
  48180. #, no-wrap
  48181. msgid "@code{name} (default: @code{\"@@\"})"
  48182. msgstr ""
  48183. #. type: table
  48184. #: guix-git/doc/guix.texi:31581
  48185. msgid "The name of the record. @code{\"@@\"} refers to the origin of the zone. Names are relative to the origin of the zone. For example, in the @code{example.org} zone, @code{\"ns.example.org\"} actually refers to @code{ns.example.org.example.org}. Names ending with a dot are absolute, which means that @code{\"ns.example.org.\"} refers to @code{ns.example.org}."
  48186. msgstr ""
  48187. #. type: item
  48188. #: guix-git/doc/guix.texi:31582
  48189. #, no-wrap
  48190. msgid "@code{ttl} (default: @code{\"\"})"
  48191. msgstr ""
  48192. #. type: table
  48193. #: guix-git/doc/guix.texi:31584
  48194. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  48195. msgstr ""
  48196. #. type: item
  48197. #: guix-git/doc/guix.texi:31585
  48198. #, no-wrap
  48199. msgid "@code{class} (default: @code{\"IN\"})"
  48200. msgstr ""
  48201. #. type: table
  48202. #: guix-git/doc/guix.texi:31588
  48203. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  48204. msgstr ""
  48205. #. type: item
  48206. #: guix-git/doc/guix.texi:31589
  48207. #, no-wrap
  48208. msgid "@code{type} (default: @code{\"A\"})"
  48209. msgstr ""
  48210. #. type: table
  48211. #: guix-git/doc/guix.texi:31593
  48212. msgid "The type of the record. Common types include A (IPv4 address), AAAA (IPv6 address), NS (Name Server) and MX (Mail eXchange). Many other types are defined."
  48213. msgstr ""
  48214. #. type: item
  48215. #: guix-git/doc/guix.texi:31594
  48216. #, no-wrap
  48217. msgid "@code{data} (default: @code{\"\"})"
  48218. msgstr ""
  48219. #. type: table
  48220. #: guix-git/doc/guix.texi:31598
  48221. msgid "The data contained in the record. For instance an IP address associated with an A record, or a domain name associated with an NS record. Remember that domain names are relative to the origin unless they end with a dot."
  48222. msgstr ""
  48223. #. type: deftp
  48224. #: guix-git/doc/guix.texi:31602
  48225. #, no-wrap
  48226. msgid "{Data Type} zone-file"
  48227. msgstr ""
  48228. #. type: deftp
  48229. #: guix-git/doc/guix.texi:31605
  48230. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  48231. msgstr ""
  48232. #. type: table
  48233. #: guix-git/doc/guix.texi:31614
  48234. msgid "The list of entries. The SOA record is taken care of, so you don't need to put it in the list of entries. This list should probably contain an entry for your primary authoritative DNS server. Other than using a list of entries directly, you can use @code{define-zone-entries} to define a object containing the list of entries more easily, that you can later pass to the @code{entries} field of the @code{zone-file}."
  48235. msgstr ""
  48236. #. type: item
  48237. #: guix-git/doc/guix.texi:31615
  48238. #, no-wrap
  48239. msgid "@code{origin} (default: @code{\"\"})"
  48240. msgstr ""
  48241. #. type: table
  48242. #: guix-git/doc/guix.texi:31617
  48243. msgid "The name of your zone. This parameter cannot be empty."
  48244. msgstr ""
  48245. #. type: item
  48246. #: guix-git/doc/guix.texi:31618
  48247. #, no-wrap
  48248. msgid "@code{ns} (default: @code{\"ns\"})"
  48249. msgstr ""
  48250. #. type: table
  48251. #: guix-git/doc/guix.texi:31623
  48252. msgid "The domain of your primary authoritative DNS server. The name is relative to the origin, unless it ends with a dot. It is mandatory that this primary DNS server corresponds to an NS record in the zone and that it is associated to an IP address in the list of entries."
  48253. msgstr ""
  48254. #. type: item
  48255. #: guix-git/doc/guix.texi:31624
  48256. #, no-wrap
  48257. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  48258. msgstr ""
  48259. #. type: table
  48260. #: guix-git/doc/guix.texi:31627
  48261. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  48262. msgstr ""
  48263. #. type: item
  48264. #: guix-git/doc/guix.texi:31628
  48265. #, no-wrap
  48266. msgid "@code{serial} (default: @code{1})"
  48267. msgstr ""
  48268. #. type: table
  48269. #: guix-git/doc/guix.texi:31632
  48270. msgid "The serial number of the zone. As this is used to keep track of changes by both slaves and resolvers, it is mandatory that it @emph{never} decreases. Always increment it when you make a change in your zone."
  48271. msgstr ""
  48272. #. type: item
  48273. #: guix-git/doc/guix.texi:31633
  48274. #, no-wrap
  48275. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  48276. msgstr ""
  48277. #. type: table
  48278. #: guix-git/doc/guix.texi:31637
  48279. msgid "The frequency at which slaves will do a zone transfer. This value is a number of seconds. It can be computed by multiplications or with @code{(string->duration)}."
  48280. msgstr ""
  48281. #. type: item
  48282. #: guix-git/doc/guix.texi:31638
  48283. #, no-wrap
  48284. msgid "@code{retry} (default: @code{(* 15 60)})"
  48285. msgstr ""
  48286. #. type: table
  48287. #: guix-git/doc/guix.texi:31641
  48288. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  48289. msgstr ""
  48290. #. type: item
  48291. #: guix-git/doc/guix.texi:31642
  48292. #, no-wrap
  48293. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  48294. msgstr ""
  48295. #. type: table
  48296. #: guix-git/doc/guix.texi:31646
  48297. msgid "Default TTL of records. Existing records are considered correct for at most this amount of time. After this period, resolvers will invalidate their cache and check again that it still exists."
  48298. msgstr ""
  48299. #. type: item
  48300. #: guix-git/doc/guix.texi:31647
  48301. #, no-wrap
  48302. msgid "@code{nx} (default: @code{3600})"
  48303. msgstr ""
  48304. #. type: table
  48305. #: guix-git/doc/guix.texi:31650
  48306. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  48307. msgstr ""
  48308. #. type: deftp
  48309. #: guix-git/doc/guix.texi:31654
  48310. #, no-wrap
  48311. msgid "{Data Type} knot-remote-configuration"
  48312. msgstr ""
  48313. #. type: deftp
  48314. #: guix-git/doc/guix.texi:31657
  48315. msgid "Data type representing a remote configuration. This type has the following parameters:"
  48316. msgstr ""
  48317. #. type: table
  48318. #: guix-git/doc/guix.texi:31662
  48319. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  48320. msgstr ""
  48321. #. type: table
  48322. #: guix-git/doc/guix.texi:31667
  48323. msgid "An ordered list of destination IP addresses. Addresses are tried in sequence. An optional port can be given with the @@ separator. For instance: @code{(list \"1.2.3.4\" \"2.3.4.5@@53\")}. Default port is 53."
  48324. msgstr ""
  48325. #. type: item
  48326. #: guix-git/doc/guix.texi:31668
  48327. #, no-wrap
  48328. msgid "@code{via} (default: @code{'()})"
  48329. msgstr ""
  48330. #. type: table
  48331. #: guix-git/doc/guix.texi:31672
  48332. msgid "An ordered list of source IP addresses. An empty list will have Knot choose an appropriate source IP@. An optional port can be given with the @@ separator. The default is to choose at random."
  48333. msgstr ""
  48334. #. type: table
  48335. #: guix-git/doc/guix.texi:31676
  48336. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  48337. msgstr ""
  48338. #. type: deftp
  48339. #: guix-git/doc/guix.texi:31680
  48340. #, no-wrap
  48341. msgid "{Data Type} knot-keystore-configuration"
  48342. msgstr ""
  48343. #. type: deftp
  48344. #: guix-git/doc/guix.texi:31683
  48345. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  48346. msgstr ""
  48347. #. type: table
  48348. #: guix-git/doc/guix.texi:31687
  48349. msgid "The id of the keystore. It must not be empty."
  48350. msgstr ""
  48351. #. type: item
  48352. #: guix-git/doc/guix.texi:31688
  48353. #, no-wrap
  48354. msgid "@code{backend} (default: @code{'pem})"
  48355. msgstr ""
  48356. #. type: table
  48357. #: guix-git/doc/guix.texi:31690
  48358. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  48359. msgstr ""
  48360. #. type: item
  48361. #: guix-git/doc/guix.texi:31691
  48362. #, no-wrap
  48363. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  48364. msgstr ""
  48365. #. type: table
  48366. #: guix-git/doc/guix.texi:31695
  48367. msgid "The configuration string of the backend. An example for the PKCS#11 is: @code{\"pkcs11:token=knot;pin-value=1234 /gnu/store/.../lib/pkcs11/libsofthsm2.so\"}. For the pem backend, the string represents a path in the file system."
  48368. msgstr ""
  48369. #. type: deftp
  48370. #: guix-git/doc/guix.texi:31699
  48371. #, no-wrap
  48372. msgid "{Data Type} knot-policy-configuration"
  48373. msgstr ""
  48374. #. type: deftp
  48375. #: guix-git/doc/guix.texi:31703
  48376. msgid "Data type representing a dnssec policy. Knot DNS is able to automatically sign your zones. It can either generate and manage your keys automatically or use keys that you generate."
  48377. msgstr ""
  48378. #. type: deftp
  48379. #: guix-git/doc/guix.texi:31710
  48380. msgid "Dnssec is usually implemented using two keys: a Key Signing Key (KSK) that is used to sign the second, and a Zone Signing Key (ZSK) that is used to sign the zone. In order to be trusted, the KSK needs to be present in the parent zone (usually a top-level domain). If your registrar supports dnssec, you will have to send them your KSK's hash so they can add a DS record in their zone. This is not automated and need to be done each time you change your KSK."
  48381. msgstr ""
  48382. #. type: deftp
  48383. #: guix-git/doc/guix.texi:31716
  48384. msgid "The policy also defines the lifetime of keys. Usually, ZSK can be changed easily and use weaker cryptographic functions (they use lower parameters) in order to sign records quickly, so they are changed often. The KSK however requires manual interaction with the registrar, so they are changed less often and use stronger parameters because they sign only one record."
  48385. msgstr ""
  48386. #. type: deftp
  48387. #: guix-git/doc/guix.texi:31718
  48388. msgid "This type has the following parameters:"
  48389. msgstr ""
  48390. #. type: table
  48391. #: guix-git/doc/guix.texi:31722
  48392. msgid "The id of the policy. It must not be empty."
  48393. msgstr ""
  48394. #. type: item
  48395. #: guix-git/doc/guix.texi:31723
  48396. #, no-wrap
  48397. msgid "@code{keystore} (default: @code{\"default\"})"
  48398. msgstr ""
  48399. #. type: table
  48400. #: guix-git/doc/guix.texi:31728
  48401. msgid "A reference to a keystore, that is a string containing the identifier of a keystore defined in a @code{knot-keystore-configuration} field. The @code{\"default\"} identifier means the default keystore (a kasp database that was setup by this service)."
  48402. msgstr ""
  48403. #. type: item
  48404. #: guix-git/doc/guix.texi:31729
  48405. #, no-wrap
  48406. msgid "@code{manual?} (default: @code{#f})"
  48407. msgstr "@code{manual?} (default: @code{#f})"
  48408. #. type: table
  48409. #: guix-git/doc/guix.texi:31731
  48410. msgid "Whether the key management is manual or automatic."
  48411. msgstr ""
  48412. #. type: item
  48413. #: guix-git/doc/guix.texi:31732
  48414. #, no-wrap
  48415. msgid "@code{single-type-signing?} (default: @code{#f})"
  48416. msgstr ""
  48417. #. type: table
  48418. #: guix-git/doc/guix.texi:31734
  48419. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  48420. msgstr ""
  48421. #. type: item
  48422. #: guix-git/doc/guix.texi:31735
  48423. #, no-wrap
  48424. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  48425. msgstr ""
  48426. #. type: table
  48427. #: guix-git/doc/guix.texi:31737
  48428. msgid "An algorithm of signing keys and issued signatures."
  48429. msgstr ""
  48430. #. type: item
  48431. #: guix-git/doc/guix.texi:31738
  48432. #, no-wrap
  48433. msgid "@code{ksk-size} (default: @code{256})"
  48434. msgstr ""
  48435. #. type: table
  48436. #: guix-git/doc/guix.texi:31741
  48437. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  48438. msgstr ""
  48439. #. type: item
  48440. #: guix-git/doc/guix.texi:31742
  48441. #, no-wrap
  48442. msgid "@code{zsk-size} (default: @code{256})"
  48443. msgstr ""
  48444. #. type: table
  48445. #: guix-git/doc/guix.texi:31745
  48446. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  48447. msgstr ""
  48448. #. type: item
  48449. #: guix-git/doc/guix.texi:31746
  48450. #, no-wrap
  48451. msgid "@code{dnskey-ttl} (default: @code{'default})"
  48452. msgstr ""
  48453. #. type: table
  48454. #: guix-git/doc/guix.texi:31749
  48455. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  48456. msgstr ""
  48457. #. type: item
  48458. #: guix-git/doc/guix.texi:31750
  48459. #, no-wrap
  48460. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  48461. msgstr ""
  48462. #. type: table
  48463. #: guix-git/doc/guix.texi:31752
  48464. msgid "The period between ZSK publication and the next rollover initiation."
  48465. msgstr ""
  48466. #. type: item
  48467. #: guix-git/doc/guix.texi:31753
  48468. #, no-wrap
  48469. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  48470. msgstr ""
  48471. #. type: table
  48472. #: guix-git/doc/guix.texi:31756
  48473. msgid "An extra delay added for each key rollover step. This value should be high enough to cover propagation of data from the master server to all slaves."
  48474. msgstr ""
  48475. #. type: item
  48476. #: guix-git/doc/guix.texi:31757
  48477. #, no-wrap
  48478. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  48479. msgstr ""
  48480. #. type: table
  48481. #: guix-git/doc/guix.texi:31759
  48482. msgid "A validity period of newly issued signatures."
  48483. msgstr ""
  48484. #. type: item
  48485. #: guix-git/doc/guix.texi:31760
  48486. #, no-wrap
  48487. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  48488. msgstr ""
  48489. #. type: table
  48490. #: guix-git/doc/guix.texi:31762
  48491. msgid "A period how long before a signature expiration the signature will be refreshed."
  48492. msgstr ""
  48493. #. type: item
  48494. #: guix-git/doc/guix.texi:31763
  48495. #, no-wrap
  48496. msgid "@code{nsec3?} (default: @code{#f})"
  48497. msgstr "@code{nsec3?} (padrão: @code{#f})"
  48498. #. type: table
  48499. #: guix-git/doc/guix.texi:31765
  48500. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  48501. msgstr ""
  48502. #. type: item
  48503. #: guix-git/doc/guix.texi:31766
  48504. #, no-wrap
  48505. msgid "@code{nsec3-iterations} (default: @code{5})"
  48506. msgstr ""
  48507. #. type: table
  48508. #: guix-git/doc/guix.texi:31768
  48509. msgid "The number of additional times the hashing is performed."
  48510. msgstr ""
  48511. #. type: item
  48512. #: guix-git/doc/guix.texi:31769
  48513. #, no-wrap
  48514. msgid "@code{nsec3-salt-length} (default: @code{8})"
  48515. msgstr ""
  48516. #. type: table
  48517. #: guix-git/doc/guix.texi:31772
  48518. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  48519. msgstr ""
  48520. #. type: item
  48521. #: guix-git/doc/guix.texi:31773
  48522. #, no-wrap
  48523. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  48524. msgstr ""
  48525. #. type: table
  48526. #: guix-git/doc/guix.texi:31775
  48527. msgid "The validity period of newly issued salt field."
  48528. msgstr ""
  48529. #. type: deftp
  48530. #: guix-git/doc/guix.texi:31779
  48531. #, no-wrap
  48532. msgid "{Data Type} knot-zone-configuration"
  48533. msgstr ""
  48534. #. type: deftp
  48535. #: guix-git/doc/guix.texi:31782
  48536. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  48537. msgstr ""
  48538. #. type: item
  48539. #: guix-git/doc/guix.texi:31784
  48540. #, no-wrap
  48541. msgid "@code{domain} (default: @code{\"\"})"
  48542. msgstr ""
  48543. #. type: table
  48544. #: guix-git/doc/guix.texi:31786
  48545. msgid "The domain served by this configuration. It must not be empty."
  48546. msgstr ""
  48547. #. type: item
  48548. #: guix-git/doc/guix.texi:31787
  48549. #, no-wrap
  48550. msgid "@code{file} (default: @code{\"\"})"
  48551. msgstr ""
  48552. #. type: table
  48553. #: guix-git/doc/guix.texi:31790
  48554. msgid "The file where this zone is saved. This parameter is ignored by master zones. Empty means default location that depends on the domain name."
  48555. msgstr ""
  48556. #. type: item
  48557. #: guix-git/doc/guix.texi:31791
  48558. #, no-wrap
  48559. msgid "@code{zone} (default: @code{(zone-file)})"
  48560. msgstr ""
  48561. #. type: table
  48562. #: guix-git/doc/guix.texi:31794
  48563. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  48564. msgstr ""
  48565. #. type: item
  48566. #: guix-git/doc/guix.texi:31795
  48567. #, no-wrap
  48568. msgid "@code{master} (default: @code{'()})"
  48569. msgstr ""
  48570. #. type: table
  48571. #: guix-git/doc/guix.texi:31798
  48572. msgid "A list of master remotes. When empty, this zone is a master. When set, this zone is a slave. This is a list of remotes identifiers."
  48573. msgstr ""
  48574. #. type: item
  48575. #: guix-git/doc/guix.texi:31799
  48576. #, no-wrap
  48577. msgid "@code{ddns-master} (default: @code{#f})"
  48578. msgstr ""
  48579. #. type: table
  48580. #: guix-git/doc/guix.texi:31802
  48581. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  48582. msgstr ""
  48583. #. type: item
  48584. #: guix-git/doc/guix.texi:31803
  48585. #, no-wrap
  48586. msgid "@code{notify} (default: @code{'()})"
  48587. msgstr ""
  48588. #. type: table
  48589. #: guix-git/doc/guix.texi:31805
  48590. msgid "A list of slave remote identifiers."
  48591. msgstr ""
  48592. #. type: item
  48593. #: guix-git/doc/guix.texi:31806
  48594. #, no-wrap
  48595. msgid "@code{acl} (default: @code{'()})"
  48596. msgstr ""
  48597. #. type: table
  48598. #: guix-git/doc/guix.texi:31808
  48599. msgid "A list of acl identifiers."
  48600. msgstr ""
  48601. #. type: item
  48602. #: guix-git/doc/guix.texi:31809
  48603. #, no-wrap
  48604. msgid "@code{semantic-checks?} (default: @code{#f})"
  48605. msgstr ""
  48606. #. type: table
  48607. #: guix-git/doc/guix.texi:31811
  48608. msgid "When set, this adds more semantic checks to the zone."
  48609. msgstr ""
  48610. #. type: item
  48611. #: guix-git/doc/guix.texi:31812
  48612. #, no-wrap
  48613. msgid "@code{zonefile-sync} (default: @code{0})"
  48614. msgstr ""
  48615. #. type: table
  48616. #: guix-git/doc/guix.texi:31815
  48617. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  48618. msgstr ""
  48619. #. type: item
  48620. #: guix-git/doc/guix.texi:31816
  48621. #, no-wrap
  48622. msgid "@code{zonefile-load} (default: @code{#f})"
  48623. msgstr "@code{zonefile-load} (default: @code{#f})"
  48624. #. type: table
  48625. #: guix-git/doc/guix.texi:31819
  48626. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  48627. msgstr ""
  48628. #. type: item
  48629. #: guix-git/doc/guix.texi:31821
  48630. #, no-wrap
  48631. msgid "@code{#f} for using the default value from Knot,"
  48632. msgstr ""
  48633. #. type: item
  48634. #: guix-git/doc/guix.texi:31822
  48635. #, no-wrap
  48636. msgid "@code{'none} for not using the zone file at all,"
  48637. msgstr ""
  48638. #. type: item
  48639. #: guix-git/doc/guix.texi:31823
  48640. #, no-wrap
  48641. msgid "@code{'difference} for computing the difference between already available"
  48642. msgstr ""
  48643. #. type: itemize
  48644. #: guix-git/doc/guix.texi:31825
  48645. msgid "contents and zone contents and applying it to the current zone contents,"
  48646. msgstr ""
  48647. #. type: item
  48648. #: guix-git/doc/guix.texi:31825
  48649. #, no-wrap
  48650. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  48651. msgstr ""
  48652. #. type: itemize
  48653. #: guix-git/doc/guix.texi:31828
  48654. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  48655. msgstr ""
  48656. #. type: item
  48657. #: guix-git/doc/guix.texi:31828
  48658. #, no-wrap
  48659. msgid "@code{'whole} for loading zone contents from the zone file."
  48660. msgstr ""
  48661. #. type: item
  48662. #: guix-git/doc/guix.texi:31831
  48663. #, no-wrap
  48664. msgid "@code{journal-content} (default: @code{#f})"
  48665. msgstr ""
  48666. #. type: table
  48667. #: guix-git/doc/guix.texi:31836
  48668. msgid "The way the journal is used to store zone and its changes. Possible values are @code{'none} to not use it at all, @code{'changes} to store changes and @code{'all} to store contents. @code{#f} does not set this option, so the default value from Knot is used."
  48669. msgstr ""
  48670. #. type: item
  48671. #: guix-git/doc/guix.texi:31837
  48672. #, no-wrap
  48673. msgid "@code{max-journal-usage} (default: @code{#f})"
  48674. msgstr "@code{max-journal-usage} (default: @code{#f})"
  48675. #. type: table
  48676. #: guix-git/doc/guix.texi:31840
  48677. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  48678. msgstr ""
  48679. #. type: item
  48680. #: guix-git/doc/guix.texi:31841
  48681. #, no-wrap
  48682. msgid "@code{max-journal-depth} (default: @code{#f})"
  48683. msgstr "@code{max-journal-depth} (default: @code{#f})"
  48684. #. type: table
  48685. #: guix-git/doc/guix.texi:31844
  48686. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  48687. msgstr ""
  48688. #. type: item
  48689. #: guix-git/doc/guix.texi:31845
  48690. #, no-wrap
  48691. msgid "@code{max-zone-size} (default: @code{#f})"
  48692. msgstr "@code{max-zone-size} (default: @code{#f})"
  48693. #. type: table
  48694. #: guix-git/doc/guix.texi:31849
  48695. msgid "The maximum size of the zone file. This limit is enforced for incoming transfer and updates. @code{#f} does not set this option, so the default value from Knot is used."
  48696. msgstr ""
  48697. #. type: item
  48698. #: guix-git/doc/guix.texi:31850
  48699. #, no-wrap
  48700. msgid "@code{dnssec-policy} (default: @code{#f})"
  48701. msgstr "@code{dnssec-policy} (default: @code{#f})"
  48702. #. type: table
  48703. #: guix-git/doc/guix.texi:31854
  48704. msgid "A reference to a @code{knot-policy-configuration} record, or the special name @code{\"default\"}. If the value is @code{#f}, there is no dnssec signing on this zone."
  48705. msgstr ""
  48706. #. type: item
  48707. #: guix-git/doc/guix.texi:31855
  48708. #, no-wrap
  48709. msgid "@code{serial-policy} (default: @code{'increment})"
  48710. msgstr ""
  48711. #. type: table
  48712. #: guix-git/doc/guix.texi:31857
  48713. msgid "A policy between @code{'increment} and @code{'unixtime}."
  48714. msgstr ""
  48715. #. type: deftp
  48716. #: guix-git/doc/guix.texi:31861
  48717. #, no-wrap
  48718. msgid "{Data Type} knot-configuration"
  48719. msgstr ""
  48720. #. type: deftp
  48721. #: guix-git/doc/guix.texi:31864
  48722. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  48723. msgstr ""
  48724. #. type: item
  48725. #: guix-git/doc/guix.texi:31866
  48726. #, no-wrap
  48727. msgid "@code{knot} (default: @code{knot})"
  48728. msgstr ""
  48729. #. type: table
  48730. #: guix-git/doc/guix.texi:31868
  48731. msgid "The Knot package."
  48732. msgstr ""
  48733. #. type: item
  48734. #: guix-git/doc/guix.texi:31869
  48735. #, no-wrap
  48736. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  48737. msgstr ""
  48738. #. type: table
  48739. #: guix-git/doc/guix.texi:31871
  48740. msgid "The run directory. This directory will be used for pid file and sockets."
  48741. msgstr ""
  48742. #. type: item
  48743. #: guix-git/doc/guix.texi:31872
  48744. #, no-wrap
  48745. msgid "@code{includes} (default: @code{'()})"
  48746. msgstr ""
  48747. #. type: table
  48748. #: guix-git/doc/guix.texi:31875
  48749. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  48750. msgstr ""
  48751. #. type: cindex
  48752. #: guix-git/doc/guix.texi:31876
  48753. #, no-wrap
  48754. msgid "secrets, Knot service"
  48755. msgstr ""
  48756. #. type: table
  48757. #: guix-git/doc/guix.texi:31882
  48758. msgid "This can be used to manage secrets out-of-band. For example, secret keys may be stored in an out-of-band file not managed by Guix, and thus not visible in @file{/gnu/store}---e.g., you could store secret key configuration in @file{/etc/knot/secrets.conf} and add this file to the @code{includes} list."
  48759. msgstr ""
  48760. #. type: table
  48761. #: guix-git/doc/guix.texi:31887
  48762. msgid "One can generate a secret tsig key (for nsupdate and zone transfers with the keymgr command from the knot package. Note that the package is not automatically installed by the service. The following example shows how to generate a new tsig key:"
  48763. msgstr ""
  48764. #. type: example
  48765. #: guix-git/doc/guix.texi:31891
  48766. #, no-wrap
  48767. msgid ""
  48768. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  48769. "chmod 600 /etc/knot/secrets.conf\n"
  48770. msgstr ""
  48771. #. type: table
  48772. #: guix-git/doc/guix.texi:31897
  48773. msgid "Also note that the generated key will be named @var{mysecret}, so it is the name that needs to be used in the @var{key} field of the @code{knot-acl-configuration} record and in other places that need to refer to that key."
  48774. msgstr ""
  48775. #. type: table
  48776. #: guix-git/doc/guix.texi:31899
  48777. msgid "It can also be used to add configuration not supported by this interface."
  48778. msgstr ""
  48779. #. type: item
  48780. #: guix-git/doc/guix.texi:31900
  48781. #, no-wrap
  48782. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  48783. msgstr ""
  48784. #. type: table
  48785. #: guix-git/doc/guix.texi:31902 guix-git/doc/guix.texi:31905
  48786. msgid "An ip address on which to listen."
  48787. msgstr ""
  48788. #. type: item
  48789. #: guix-git/doc/guix.texi:31903
  48790. #, no-wrap
  48791. msgid "@code{listen-v6} (default: @code{\"::\"})"
  48792. msgstr ""
  48793. #. type: item
  48794. #: guix-git/doc/guix.texi:31906
  48795. #, no-wrap
  48796. msgid "@code{listen-port} (default: @code{53})"
  48797. msgstr ""
  48798. #. type: table
  48799. #: guix-git/doc/guix.texi:31908
  48800. msgid "A port on which to listen."
  48801. msgstr ""
  48802. #. type: item
  48803. #: guix-git/doc/guix.texi:31909
  48804. #, no-wrap
  48805. msgid "@code{keys} (default: @code{'()})"
  48806. msgstr ""
  48807. #. type: table
  48808. #: guix-git/doc/guix.texi:31911
  48809. msgid "The list of knot-key-configuration used by this configuration."
  48810. msgstr ""
  48811. #. type: item
  48812. #: guix-git/doc/guix.texi:31912
  48813. #, no-wrap
  48814. msgid "@code{acls} (default: @code{'()})"
  48815. msgstr ""
  48816. #. type: table
  48817. #: guix-git/doc/guix.texi:31914
  48818. msgid "The list of knot-acl-configuration used by this configuration."
  48819. msgstr ""
  48820. #. type: item
  48821. #: guix-git/doc/guix.texi:31915
  48822. #, no-wrap
  48823. msgid "@code{remotes} (default: @code{'()})"
  48824. msgstr ""
  48825. #. type: table
  48826. #: guix-git/doc/guix.texi:31917
  48827. msgid "The list of knot-remote-configuration used by this configuration."
  48828. msgstr ""
  48829. #. type: item
  48830. #: guix-git/doc/guix.texi:31918
  48831. #, no-wrap
  48832. msgid "@code{zones} (default: @code{'()})"
  48833. msgstr ""
  48834. #. type: table
  48835. #: guix-git/doc/guix.texi:31920
  48836. msgid "The list of knot-zone-configuration used by this configuration."
  48837. msgstr ""
  48838. #. type: subsubheading
  48839. #: guix-git/doc/guix.texi:31924
  48840. #, no-wrap
  48841. msgid "Knot Resolver Service"
  48842. msgstr ""
  48843. #. type: defvar
  48844. #: guix-git/doc/guix.texi:31926
  48845. #, fuzzy, no-wrap
  48846. #| msgid "guix-publish-service-type"
  48847. msgid "knot-resolver-service-type"
  48848. msgstr "guix-publish-service-type"
  48849. #. type: defvar
  48850. #: guix-git/doc/guix.texi:31929
  48851. msgid "This is the type of the knot resolver service, whose value should be a @code{knot-resolver-configuration} object as in this example:"
  48852. msgstr ""
  48853. #. type: lisp
  48854. #: guix-git/doc/guix.texi:31939
  48855. #, no-wrap
  48856. msgid ""
  48857. "(service knot-resolver-service-type\n"
  48858. " (knot-resolver-configuration\n"
  48859. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  48860. "net.listen('192.168.0.1', 5353)\n"
  48861. "user('knot-resolver', 'knot-resolver')\n"
  48862. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  48863. "cache.size = 100 * MB\n"
  48864. "\"))))\n"
  48865. msgstr ""
  48866. #. type: defvar
  48867. #: guix-git/doc/guix.texi:31942
  48868. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.io/en/stable/config-overview.html, manual}."
  48869. msgstr ""
  48870. #. type: deftp
  48871. #: guix-git/doc/guix.texi:31944
  48872. #, no-wrap
  48873. msgid "{Data Type} knot-resolver-configuration"
  48874. msgstr ""
  48875. #. type: deftp
  48876. #: guix-git/doc/guix.texi:31946
  48877. msgid "Data type representing the configuration of knot-resolver."
  48878. msgstr ""
  48879. #. type: item
  48880. #: guix-git/doc/guix.texi:31948
  48881. #, no-wrap
  48882. msgid "@code{package} (default: @var{knot-resolver})"
  48883. msgstr ""
  48884. #. type: table
  48885. #: guix-git/doc/guix.texi:31950
  48886. msgid "Package object of the knot DNS resolver."
  48887. msgstr ""
  48888. #. type: item
  48889. #: guix-git/doc/guix.texi:31951
  48890. #, no-wrap
  48891. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  48892. msgstr ""
  48893. #. type: table
  48894. #: guix-git/doc/guix.texi:31954
  48895. msgid "File-like object of the kresd configuration file to use, by default it will listen on @code{127.0.0.1} and @code{::1}."
  48896. msgstr ""
  48897. #. type: item
  48898. #: guix-git/doc/guix.texi:31955
  48899. #, no-wrap
  48900. msgid "@code{garbage-collection-interval} (default: 1000)"
  48901. msgstr ""
  48902. #. type: table
  48903. #: guix-git/doc/guix.texi:31957
  48904. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  48905. msgstr ""
  48906. #. type: subsubheading
  48907. #: guix-git/doc/guix.texi:31962
  48908. #, no-wrap
  48909. msgid "Dnsmasq Service"
  48910. msgstr ""
  48911. #. type: defvar
  48912. #: guix-git/doc/guix.texi:31964
  48913. #, fuzzy, no-wrap
  48914. #| msgid "guix-publish-service-type"
  48915. msgid "dnsmasq-service-type"
  48916. msgstr "guix-publish-service-type"
  48917. #. type: defvar
  48918. #: guix-git/doc/guix.texi:31967
  48919. msgid "This is the type of the dnsmasq service, whose value should be a @code{dnsmasq-configuration} object as in this example:"
  48920. msgstr ""
  48921. #. type: lisp
  48922. #: guix-git/doc/guix.texi:31973
  48923. #, no-wrap
  48924. msgid ""
  48925. "(service dnsmasq-service-type\n"
  48926. " (dnsmasq-configuration\n"
  48927. " (no-resolv? #t)\n"
  48928. " (servers '(\"192.168.1.1\"))))\n"
  48929. msgstr ""
  48930. #. type: deftp
  48931. #: guix-git/doc/guix.texi:31976
  48932. #, no-wrap
  48933. msgid "{Data Type} dnsmasq-configuration"
  48934. msgstr ""
  48935. #. type: deftp
  48936. #: guix-git/doc/guix.texi:31978
  48937. msgid "Data type representing the configuration of dnsmasq."
  48938. msgstr ""
  48939. #. type: item
  48940. #: guix-git/doc/guix.texi:31980
  48941. #, no-wrap
  48942. msgid "@code{package} (default: @var{dnsmasq})"
  48943. msgstr ""
  48944. #. type: table
  48945. #: guix-git/doc/guix.texi:31982
  48946. msgid "Package object of the dnsmasq server."
  48947. msgstr ""
  48948. #. type: item
  48949. #: guix-git/doc/guix.texi:31983
  48950. #, no-wrap
  48951. msgid "@code{no-hosts?} (default: @code{#f})"
  48952. msgstr "@code{no-hosts?} (padrão: @code{#f})"
  48953. #. type: table
  48954. #: guix-git/doc/guix.texi:31985
  48955. msgid "When true, don't read the hostnames in /etc/hosts."
  48956. msgstr ""
  48957. #. type: item
  48958. #: guix-git/doc/guix.texi:31986
  48959. #, no-wrap
  48960. msgid "@code{port} (default: @code{53})"
  48961. msgstr "@code{porta} (default: @code{53})"
  48962. #. type: table
  48963. #: guix-git/doc/guix.texi:31989
  48964. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  48965. msgstr ""
  48966. #. type: item
  48967. #: guix-git/doc/guix.texi:31990
  48968. #, no-wrap
  48969. msgid "@code{local-service?} (default: @code{#t})"
  48970. msgstr "@code{local-service?} (default: @code{#t})"
  48971. #. type: table
  48972. #: guix-git/doc/guix.texi:31993
  48973. msgid "Accept DNS queries only from hosts whose address is on a local subnet, ie a subnet for which an interface exists on the server."
  48974. msgstr ""
  48975. #. type: item
  48976. #: guix-git/doc/guix.texi:31994
  48977. #, no-wrap
  48978. msgid "@code{listen-addresses} (default: @code{'()})"
  48979. msgstr ""
  48980. #. type: table
  48981. #: guix-git/doc/guix.texi:31996
  48982. msgid "Listen on the given IP addresses."
  48983. msgstr ""
  48984. #. type: item
  48985. #: guix-git/doc/guix.texi:31997
  48986. #, no-wrap
  48987. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  48988. msgstr ""
  48989. #. type: table
  48990. #: guix-git/doc/guix.texi:31999
  48991. msgid "The file to read the IP address of the upstream nameservers from."
  48992. msgstr ""
  48993. #. type: item
  48994. #: guix-git/doc/guix.texi:32000
  48995. #, no-wrap
  48996. msgid "@code{no-resolv?} (default: @code{#f})"
  48997. msgstr "@code{no-resolv?} (padrão: @code{#f})"
  48998. #. type: table
  48999. #: guix-git/doc/guix.texi:32002
  49000. msgid "When true, don't read @var{resolv-file}."
  49001. msgstr ""
  49002. #. type: item
  49003. #: guix-git/doc/guix.texi:32003
  49004. #, fuzzy, no-wrap
  49005. #| msgid "@code{poll-batteries?} (default: @code{#t})"
  49006. msgid "@code{forward-private-reverse-lookup?} (default: @code{#t})"
  49007. msgstr "@code{poll-batteries?} (padrão: @code{#t})"
  49008. #. type: table
  49009. #: guix-git/doc/guix.texi:32006
  49010. msgid "When false, all reverse lookups for private IP ranges are answered with \"no such domain\" rather than being forwarded upstream."
  49011. msgstr ""
  49012. #. type: item
  49013. #: guix-git/doc/guix.texi:32007
  49014. #, fuzzy, no-wrap
  49015. #| msgid "@code{remote?} (default: @code{#f})"
  49016. msgid "@code{query-servers-in-order?} (default: @code{#f})"
  49017. msgstr "@code{remote?} (padrão: @code{#f})"
  49018. #. type: table
  49019. #: guix-git/doc/guix.texi:32010
  49020. msgid "When true, dnsmasq queries the servers in the same order as they appear in @var{servers}."
  49021. msgstr ""
  49022. #. type: item
  49023. #: guix-git/doc/guix.texi:32011
  49024. #, no-wrap
  49025. msgid "@code{servers} (default: @code{'()})"
  49026. msgstr ""
  49027. #. type: table
  49028. #: guix-git/doc/guix.texi:32013
  49029. msgid "Specify IP address of upstream servers directly."
  49030. msgstr ""
  49031. #. type: item
  49032. #: guix-git/doc/guix.texi:32014
  49033. #, fuzzy, no-wrap
  49034. #| msgid "@code{file} (default: @code{#f})"
  49035. msgid "@code{servers-file} (default: @code{#f})"
  49036. msgstr "@code{file} (default: @code{#f})"
  49037. #. type: table
  49038. #: guix-git/doc/guix.texi:32017
  49039. msgid "Specify file containing upstream servers. This file is re-read when dnsmasq receives SIGHUP. Could be either a string or a file-like object."
  49040. msgstr ""
  49041. #. type: item
  49042. #: guix-git/doc/guix.texi:32018
  49043. #, no-wrap
  49044. msgid "@code{addresses} (default: @code{'()})"
  49045. msgstr ""
  49046. #. type: table
  49047. #: guix-git/doc/guix.texi:32022
  49048. msgid "For each entry, specify an IP address to return for any host in the given domains. Queries in the domains are never forwarded and always replied to with the specified IP address."
  49049. msgstr ""
  49050. #. type: table
  49051. #: guix-git/doc/guix.texi:32024
  49052. msgid "This is useful for redirecting hosts locally, for example:"
  49053. msgstr ""
  49054. #. type: lisp
  49055. #: guix-git/doc/guix.texi:32033
  49056. #, no-wrap
  49057. msgid ""
  49058. "(service dnsmasq-service-type\n"
  49059. " (dnsmasq-configuration\n"
  49060. " (addresses\n"
  49061. " '(; Redirect to a local web-server.\n"
  49062. " \"/example.org/127.0.0.1\"\n"
  49063. " ; Redirect subdomain to a specific IP.\n"
  49064. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  49065. msgstr ""
  49066. #. type: table
  49067. #: guix-git/doc/guix.texi:32036
  49068. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  49069. msgstr ""
  49070. #. type: item
  49071. #: guix-git/doc/guix.texi:32037
  49072. #, no-wrap
  49073. msgid "@code{cache-size} (default: @code{150})"
  49074. msgstr "@code{cache-size} (default: @code{150})"
  49075. #. type: table
  49076. #: guix-git/doc/guix.texi:32040
  49077. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  49078. msgstr ""
  49079. #. type: item
  49080. #: guix-git/doc/guix.texi:32041
  49081. #, no-wrap
  49082. msgid "@code{negative-cache?} (default: @code{#t})"
  49083. msgstr "@code{negative-cache?} (padrão: @code{#t})"
  49084. #. type: table
  49085. #: guix-git/doc/guix.texi:32043
  49086. msgid "When false, disable negative caching."
  49087. msgstr ""
  49088. #. type: item
  49089. #: guix-git/doc/guix.texi:32044
  49090. #, fuzzy, no-wrap
  49091. #| msgid "@code{id} (default: @code{#f})"
  49092. msgid "@code{cpe-id} (default: @code{#f})"
  49093. msgstr "@code{id} (default: @code{#f})"
  49094. #. type: table
  49095. #: guix-git/doc/guix.texi:32047
  49096. msgid "If set, add a CPE (Customer-Premises Equipment) identifier to DNS queries which are forwarded upstream."
  49097. msgstr ""
  49098. #. type: item
  49099. #: guix-git/doc/guix.texi:32048
  49100. #, no-wrap
  49101. msgid "@code{tftp-enable?} (default: @code{#f})"
  49102. msgstr ""
  49103. #. type: table
  49104. #: guix-git/doc/guix.texi:32050
  49105. msgid "Whether to enable the built-in TFTP server."
  49106. msgstr ""
  49107. #. type: item
  49108. #: guix-git/doc/guix.texi:32051
  49109. #, no-wrap
  49110. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  49111. msgstr ""
  49112. #. type: table
  49113. #: guix-git/doc/guix.texi:32053
  49114. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  49115. msgstr ""
  49116. #. type: item
  49117. #: guix-git/doc/guix.texi:32054
  49118. #, no-wrap
  49119. msgid "@code{tftp-single-port?} (default: @code{#f})"
  49120. msgstr ""
  49121. #. type: table
  49122. #: guix-git/doc/guix.texi:32056
  49123. msgid "Whether to use only one single port for TFTP."
  49124. msgstr ""
  49125. #. type: item
  49126. #: guix-git/doc/guix.texi:32057
  49127. #, no-wrap
  49128. msgid "@code{tftp-secure?} (default: @code{#f})"
  49129. msgstr ""
  49130. #. type: table
  49131. #: guix-git/doc/guix.texi:32059
  49132. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  49133. msgstr ""
  49134. #. type: table
  49135. #: guix-git/doc/guix.texi:32063
  49136. msgid "If dnsmasq is being run as root, different rules apply: @code{tftp-secure?} has no effect, but only files which have the world-readable bit set are accessible."
  49137. msgstr ""
  49138. #. type: item
  49139. #: guix-git/doc/guix.texi:32064
  49140. #, no-wrap
  49141. msgid "@code{tftp-max} (default: @code{#f})"
  49142. msgstr ""
  49143. #. type: table
  49144. #: guix-git/doc/guix.texi:32066
  49145. msgid "If set, sets the maximal number of concurrent connections allowed."
  49146. msgstr ""
  49147. #. type: item
  49148. #: guix-git/doc/guix.texi:32067
  49149. #, no-wrap
  49150. msgid "@code{tftp-mtu} (default: @code{#f})"
  49151. msgstr ""
  49152. #. type: table
  49153. #: guix-git/doc/guix.texi:32069
  49154. msgid "If set, sets the MTU for TFTP packets to that value."
  49155. msgstr ""
  49156. #. type: item
  49157. #: guix-git/doc/guix.texi:32070
  49158. #, no-wrap
  49159. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  49160. msgstr ""
  49161. #. type: table
  49162. #: guix-git/doc/guix.texi:32072
  49163. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  49164. msgstr ""
  49165. #. type: item
  49166. #: guix-git/doc/guix.texi:32073
  49167. #, no-wrap
  49168. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  49169. msgstr ""
  49170. #. type: table
  49171. #: guix-git/doc/guix.texi:32075
  49172. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  49173. msgstr ""
  49174. #. type: item
  49175. #: guix-git/doc/guix.texi:32076
  49176. #, no-wrap
  49177. msgid "@code{tftp-port-range} (default: @code{#f})"
  49178. msgstr ""
  49179. #. type: table
  49180. #: guix-git/doc/guix.texi:32079
  49181. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  49182. msgstr ""
  49183. #. type: item
  49184. #: guix-git/doc/guix.texi:32080
  49185. #, no-wrap
  49186. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  49187. msgstr ""
  49188. #. type: table
  49189. #: guix-git/doc/guix.texi:32087
  49190. msgid "Look for files to transfer using TFTP relative to the given directory. When this is set, TFTP paths which include @samp{..} are rejected, to stop clients getting outside the specified root. Absolute paths (starting with @samp{/}) are allowed, but they must be within the TFTP-root. If the optional interface argument is given, the directory is only used for TFTP requests via that interface."
  49191. msgstr ""
  49192. #. type: item
  49193. #: guix-git/doc/guix.texi:32088
  49194. #, no-wrap
  49195. msgid "@code{tftp-unique-root} (default: @code{#f})"
  49196. msgstr ""
  49197. #. type: table
  49198. #: guix-git/doc/guix.texi:32093
  49199. msgid "If set, add the IP or hardware address of the TFTP client as a path component on the end of the TFTP-root. Only valid if a TFTP root is set and the directory exists. Defaults to adding IP address (in standard dotted-quad format)."
  49200. msgstr ""
  49201. #. type: table
  49202. #: guix-git/doc/guix.texi:32102
  49203. msgid "For instance, if @option{--tftp-root} is @samp{/tftp} and client @samp{1.2.3.4} requests file @file{myfile} then the effective path will be @file{/tftp/1.2.3.4/myfile} if @file{/tftp/1.2.3.4} exists or @file{/tftp/myfile} otherwise. When @samp{=mac} is specified it will append the MAC address instead, using lowercase zero padded digits separated by dashes, e.g.: @samp{01-02-03-04-aa-bb}. Note that resolving MAC addresses is only possible if the client is in the local network or obtained a DHCP lease from dnsmasq."
  49204. msgstr ""
  49205. #. type: subsubheading
  49206. #: guix-git/doc/guix.texi:32106
  49207. #, no-wrap
  49208. msgid "ddclient Service"
  49209. msgstr ""
  49210. #. type: cindex
  49211. #: guix-git/doc/guix.texi:32108
  49212. #, no-wrap
  49213. msgid "ddclient"
  49214. msgstr ""
  49215. #. type: Plain text
  49216. #: guix-git/doc/guix.texi:32112
  49217. msgid "The ddclient service described below runs the ddclient daemon, which takes care of automatically updating DNS entries for service providers such as @uref{https://dyn.com/dns/, Dyn}."
  49218. msgstr ""
  49219. #. type: Plain text
  49220. #: guix-git/doc/guix.texi:32115
  49221. msgid "The following example show instantiates the service with its default configuration:"
  49222. msgstr ""
  49223. #. type: lisp
  49224. #: guix-git/doc/guix.texi:32118
  49225. #, no-wrap
  49226. msgid "(service ddclient-service-type)\n"
  49227. msgstr ""
  49228. #. type: Plain text
  49229. #: guix-git/doc/guix.texi:32127
  49230. msgid "Note that ddclient needs to access credentials that are stored in a @dfn{secret file}, by default @file{/etc/ddclient/secrets} (see @code{secret-file} below). You are expected to create this file manually, in an ``out-of-band'' fashion (you @emph{could} make this file part of the service configuration, for instance by using @code{plain-file}, but it will be world-readable @i{via} @file{/gnu/store}). See the examples in the @file{share/ddclient} directory of the @code{ddclient} package."
  49231. msgstr ""
  49232. #. type: Plain text
  49233. #: guix-git/doc/guix.texi:32131
  49234. msgid "Available @code{ddclient-configuration} fields are:"
  49235. msgstr ""
  49236. #. type: deftypevr
  49237. #: guix-git/doc/guix.texi:32132
  49238. #, no-wrap
  49239. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  49240. msgstr ""
  49241. #. type: deftypevr
  49242. #: guix-git/doc/guix.texi:32134
  49243. msgid "The ddclient package."
  49244. msgstr ""
  49245. #. type: deftypevr
  49246. #: guix-git/doc/guix.texi:32137
  49247. #, no-wrap
  49248. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  49249. msgstr ""
  49250. #. type: deftypevr
  49251. #: guix-git/doc/guix.texi:32139
  49252. msgid "The period after which ddclient will retry to check IP and domain name."
  49253. msgstr ""
  49254. #. type: deftypevr
  49255. #: guix-git/doc/guix.texi:32141
  49256. msgid "Defaults to @samp{300}."
  49257. msgstr ""
  49258. #. type: deftypevr
  49259. #: guix-git/doc/guix.texi:32144
  49260. #, no-wrap
  49261. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  49262. msgstr ""
  49263. #. type: deftypevr
  49264. #: guix-git/doc/guix.texi:32146
  49265. msgid "Use syslog for the output."
  49266. msgstr ""
  49267. #. type: deftypevr
  49268. #: guix-git/doc/guix.texi:32151
  49269. #, no-wrap
  49270. msgid "{@code{ddclient-configuration} parameter} string mail"
  49271. msgstr ""
  49272. #. type: deftypevr
  49273. #: guix-git/doc/guix.texi:32153
  49274. msgid "Mail to user."
  49275. msgstr ""
  49276. #. type: deftypevr
  49277. #: guix-git/doc/guix.texi:32155 guix-git/doc/guix.texi:32162
  49278. #: guix-git/doc/guix.texi:34394
  49279. msgid "Defaults to @samp{\"root\"}."
  49280. msgstr ""
  49281. #. type: deftypevr
  49282. #: guix-git/doc/guix.texi:32158
  49283. #, no-wrap
  49284. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  49285. msgstr ""
  49286. #. type: deftypevr
  49287. #: guix-git/doc/guix.texi:32160
  49288. msgid "Mail failed update to user."
  49289. msgstr ""
  49290. #. type: deftypevr
  49291. #: guix-git/doc/guix.texi:32165
  49292. #, no-wrap
  49293. msgid "{@code{ddclient-configuration} parameter} string pid"
  49294. msgstr ""
  49295. #. type: deftypevr
  49296. #: guix-git/doc/guix.texi:32167
  49297. msgid "The ddclient PID file."
  49298. msgstr ""
  49299. #. type: deftypevr
  49300. #: guix-git/doc/guix.texi:32169
  49301. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  49302. msgstr ""
  49303. #. type: deftypevr
  49304. #: guix-git/doc/guix.texi:32172
  49305. #, no-wrap
  49306. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  49307. msgstr ""
  49308. #. type: deftypevr
  49309. #: guix-git/doc/guix.texi:32174
  49310. msgid "Enable SSL support."
  49311. msgstr ""
  49312. #. type: deftypevr
  49313. #: guix-git/doc/guix.texi:32179
  49314. #, no-wrap
  49315. msgid "{@code{ddclient-configuration} parameter} string user"
  49316. msgstr ""
  49317. #. type: deftypevr
  49318. #: guix-git/doc/guix.texi:32182
  49319. msgid "Specifies the user name or ID that is used when running ddclient program."
  49320. msgstr ""
  49321. #. type: deftypevr
  49322. #: guix-git/doc/guix.texi:32184 guix-git/doc/guix.texi:32191
  49323. msgid "Defaults to @samp{\"ddclient\"}."
  49324. msgstr ""
  49325. #. type: deftypevr
  49326. #: guix-git/doc/guix.texi:32187
  49327. #, no-wrap
  49328. msgid "{@code{ddclient-configuration} parameter} string group"
  49329. msgstr ""
  49330. #. type: deftypevr
  49331. #: guix-git/doc/guix.texi:32189
  49332. msgid "Group of the user who will run the ddclient program."
  49333. msgstr ""
  49334. #. type: deftypevr
  49335. #: guix-git/doc/guix.texi:32194
  49336. #, no-wrap
  49337. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  49338. msgstr ""
  49339. #. type: deftypevr
  49340. #: guix-git/doc/guix.texi:32198
  49341. msgid "Secret file which will be appended to @file{ddclient.conf} file. This file contains credentials for use by ddclient. You are expected to create it manually."
  49342. msgstr ""
  49343. #. type: deftypevr
  49344. #: guix-git/doc/guix.texi:32200
  49345. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  49346. msgstr ""
  49347. #. type: deftypevr
  49348. #: guix-git/doc/guix.texi:32203
  49349. #, no-wrap
  49350. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  49351. msgstr ""
  49352. #. type: deftypevr
  49353. #: guix-git/doc/guix.texi:32205
  49354. msgid "Extra options will be appended to @file{ddclient.conf} file."
  49355. msgstr ""
  49356. #. type: cindex
  49357. #: guix-git/doc/guix.texi:32215
  49358. #, no-wrap
  49359. msgid "VNC (virtual network computing)"
  49360. msgstr ""
  49361. #. type: cindex
  49362. #: guix-git/doc/guix.texi:32216
  49363. #, no-wrap
  49364. msgid "XDMCP (x display manager control protocol)"
  49365. msgstr ""
  49366. #. type: Plain text
  49367. #: guix-git/doc/guix.texi:32225
  49368. msgid "The @code{(gnu services vnc)} module provides services related to @dfn{Virtual Network Computing} (VNC), which makes it possible to locally use graphical Xorg applications running on a remote machine. Combined with a graphical manager that supports the @dfn{X Display Manager Control Protocol}, such as GDM (@pxref{gdm}) or LightDM (@pxref{lightdm}), it is possible to remote an entire desktop for a multi-user environment."
  49369. msgstr ""
  49370. #. type: subsubheading
  49371. #: guix-git/doc/guix.texi:32226
  49372. #, no-wrap
  49373. msgid "Xvnc"
  49374. msgstr ""
  49375. #. type: Plain text
  49376. #: guix-git/doc/guix.texi:32231
  49377. msgid "Xvnc is a VNC server that spawns its own X window server; which means it can run on headless servers. The Xvnc implementations provided by the @code{tigervnc-server} and @code{turbovnc} aim to be fast and efficient."
  49378. msgstr ""
  49379. #. type: defvar
  49380. #: guix-git/doc/guix.texi:32232
  49381. #, fuzzy, no-wrap
  49382. #| msgid "guix-publish-service-type"
  49383. msgid "xvnc-service-type"
  49384. msgstr "guix-publish-service-type"
  49385. #. type: defvar
  49386. #: guix-git/doc/guix.texi:32238
  49387. msgid "The @code{xvnc-server-type} service can be configured via the @code{xvnc-configuration} record, documented below. A second virtual display could be made available on a remote machine via the following configuration:"
  49388. msgstr ""
  49389. #. type: lisp
  49390. #: guix-git/doc/guix.texi:32243
  49391. #, no-wrap
  49392. msgid ""
  49393. "(service xvnc-service-type\n"
  49394. " (xvnc-configuration (display-number 10)))\n"
  49395. msgstr ""
  49396. #. type: Plain text
  49397. #: guix-git/doc/guix.texi:32248
  49398. msgid "As a demonstration, the @command{xclock} command could then be started on the remote machine on display number 10, and it could be displayed locally via the @command{vncviewer} command:"
  49399. msgstr ""
  49400. #. type: example
  49401. #: guix-git/doc/guix.texi:32254
  49402. #, no-wrap
  49403. msgid ""
  49404. "# Start xclock on the remote machine.\n"
  49405. "ssh -L5910:localhost:5910 @var{your-host} -- guix shell xclock \\\n"
  49406. " -- env DISPLAY=:10 xclock\n"
  49407. "# Access it via VNC.\n"
  49408. "guix shell tigervnc-client -- vncviewer localhost:5910\n"
  49409. msgstr ""
  49410. #. type: Plain text
  49411. #: guix-git/doc/guix.texi:32259
  49412. msgid "The following configuration combines XDMCP and Inetd to allow multiple users to concurrently use the remote system and login graphically via the GDM display manager:"
  49413. msgstr ""
  49414. #. type: lisp
  49415. #: guix-git/doc/guix.texi:32275
  49416. #, no-wrap
  49417. msgid ""
  49418. "(operating-system\n"
  49419. " [...]\n"
  49420. " (services (cons*\n"
  49421. " [...]\n"
  49422. " (service xvnc-service-type (xvnc-configuration\n"
  49423. " (display-number 5)\n"
  49424. " (localhost? #f)\n"
  49425. " (xdmcp? #t)\n"
  49426. " (inetd? #t)))\n"
  49427. " (modify-services %desktop-services\n"
  49428. " (gdm-service-type config => (gdm-configuration\n"
  49429. " (inherit config)\n"
  49430. " (auto-suspend? #f)\n"
  49431. " (xdmcp? #t)))))))\n"
  49432. msgstr ""
  49433. #. type: Plain text
  49434. #: guix-git/doc/guix.texi:32280
  49435. msgid "A remote user could then connect to it by using the @command{vncviewer} command or a compatible VNC client and start a desktop session of their choosing:"
  49436. msgstr ""
  49437. #. type: example
  49438. #: guix-git/doc/guix.texi:32282
  49439. #, no-wrap
  49440. msgid "vncviewer remote-host:5905\n"
  49441. msgstr ""
  49442. #. type: quotation
  49443. #: guix-git/doc/guix.texi:32292
  49444. msgid "Unless your machine is in a controlled environment, for security reasons, the @code{localhost?} configuration of the @code{xvnc-configuration} record should be left to its default @code{#t} value and exposed via a secure means such as an SSH port forward. The XDMCP port, UDP 177 should also be blocked from the outside by a firewall, as it is not a secure protocol and can expose login credentials in clear."
  49445. msgstr ""
  49446. #. type: deftp
  49447. #: guix-git/doc/guix.texi:32297
  49448. #, fuzzy, no-wrap
  49449. msgid "{Data Type} xvnc-configuration"
  49450. msgstr "build-machine {Data Type}"
  49451. #. type: deftp
  49452. #: guix-git/doc/guix.texi:32299
  49453. msgid "Available @code{xvnc-configuration} fields are:"
  49454. msgstr ""
  49455. #. type: item
  49456. #: guix-git/doc/guix.texi:32301
  49457. #, fuzzy, no-wrap
  49458. msgid "@code{xvnc} (default: @code{tigervnc-server}) (type: file-like)"
  49459. msgstr "@code{remote?} (padrão: @code{#f})"
  49460. #. type: table
  49461. #: guix-git/doc/guix.texi:32303
  49462. msgid "The package that provides the Xvnc binary."
  49463. msgstr ""
  49464. #. type: item
  49465. #: guix-git/doc/guix.texi:32304
  49466. #, fuzzy, no-wrap
  49467. #| msgid "@code{debug?} (default: @code{#f})"
  49468. msgid "@code{display-number} (default: @code{0}) (type: number)"
  49469. msgstr "@code{debug?} (default: @code{#f})"
  49470. #. type: table
  49471. #: guix-git/doc/guix.texi:32307
  49472. msgid "The display number used by Xvnc. You should set this to a number not already used a Xorg server."
  49473. msgstr ""
  49474. #. type: item
  49475. #: guix-git/doc/guix.texi:32308
  49476. #, fuzzy, no-wrap
  49477. #| msgid "@code{dbus?} (default: @code{#t})"
  49478. msgid "@code{geometry} (default: @code{\"1024x768\"}) (type: string)"
  49479. msgstr "@code{dbus?} (padrão: @code{#t})"
  49480. #. type: table
  49481. #: guix-git/doc/guix.texi:32310
  49482. #, fuzzy
  49483. #| msgid "The host name of the remote machine."
  49484. msgid "The size of the desktop to be created."
  49485. msgstr "O nome de host da máquina remota."
  49486. #. type: item
  49487. #: guix-git/doc/guix.texi:32311
  49488. #, fuzzy, no-wrap
  49489. #| msgid "@code{debug?} (default: @code{#f})"
  49490. msgid "@code{depth} (default: @code{24}) (type: color-depth)"
  49491. msgstr "@code{debug?} (default: @code{#f})"
  49492. #. type: table
  49493. #: guix-git/doc/guix.texi:32314
  49494. msgid "The pixel depth in bits of the desktop to be created. Accepted values are 16, 24 or 32."
  49495. msgstr ""
  49496. #. type: item
  49497. #: guix-git/doc/guix.texi:32315
  49498. #, fuzzy, no-wrap
  49499. msgid "@code{port} (type: maybe-port)"
  49500. msgstr "@code{remote?} (padrão: @code{#f})"
  49501. #. type: table
  49502. #: guix-git/doc/guix.texi:32318
  49503. msgid "The port on which to listen for connections from viewers. When left unspecified, it defaults to 5900 plus the display number."
  49504. msgstr ""
  49505. #. type: item
  49506. #: guix-git/doc/guix.texi:32319
  49507. #, fuzzy, no-wrap
  49508. #| msgid "@code{debug?} (default: @code{#f})"
  49509. msgid "@code{ipv4?} (default: @code{#t}) (type: boolean)"
  49510. msgstr "@code{debug?} (default: @code{#f})"
  49511. #. type: table
  49512. #: guix-git/doc/guix.texi:32321
  49513. msgid "Use IPv4 for incoming and outgoing connections."
  49514. msgstr ""
  49515. #. type: item
  49516. #: guix-git/doc/guix.texi:32322
  49517. #, fuzzy, no-wrap
  49518. #| msgid "@code{debug?} (default: @code{#f})"
  49519. msgid "@code{ipv6?} (default: @code{#t}) (type: boolean)"
  49520. msgstr "@code{debug?} (default: @code{#f})"
  49521. #. type: table
  49522. #: guix-git/doc/guix.texi:32324
  49523. msgid "Use IPv6 for incoming and outgoing connections."
  49524. msgstr ""
  49525. #. type: item
  49526. #: guix-git/doc/guix.texi:32325
  49527. #, fuzzy, no-wrap
  49528. msgid "@code{password-file} (type: maybe-string)"
  49529. msgstr "@code{remote?} (padrão: @code{#f})"
  49530. #. type: table
  49531. #: guix-git/doc/guix.texi:32328
  49532. msgid "The password file to use, if any. Refer to vncpasswd(1) to learn how to generate such a file."
  49533. msgstr ""
  49534. #. type: table
  49535. #: guix-git/doc/guix.texi:32335
  49536. msgid "Query the XDMCP server for a session. This enables users to log in a desktop session from the login manager screen. For a multiple users scenario, you'll want to enable the @code{inetd?} option as well, so that each connection to the VNC server is handled separately rather than shared."
  49537. msgstr ""
  49538. #. type: item
  49539. #: guix-git/doc/guix.texi:32336
  49540. #, fuzzy, no-wrap
  49541. #| msgid "@code{wait?} (default: @code{#t})"
  49542. msgid "@code{inetd?} (default: @code{#f}) (type: boolean)"
  49543. msgstr "@code{wait?} (padrão: @code{#t})"
  49544. #. type: table
  49545. #: guix-git/doc/guix.texi:32338
  49546. msgid "Use an Inetd-style service, which runs the Xvnc server on demand."
  49547. msgstr ""
  49548. #. type: item
  49549. #: guix-git/doc/guix.texi:32339
  49550. #, fuzzy, no-wrap
  49551. #| msgid "@code{debug?} (default: @code{#f})"
  49552. msgid "@code{frame-rate} (default: @code{60}) (type: number)"
  49553. msgstr "@code{debug?} (default: @code{#f})"
  49554. #. type: table
  49555. #: guix-git/doc/guix.texi:32341
  49556. msgid "The maximum number of updates per second sent to each client."
  49557. msgstr ""
  49558. #. type: item
  49559. #: guix-git/doc/guix.texi:32342
  49560. #, fuzzy, no-wrap
  49561. #| msgid "@code{dbus?} (default: @code{#t})"
  49562. msgid "@code{security-types} (default: @code{'(\"None\")}) (type: security-types)"
  49563. msgstr "@code{dbus?} (padrão: @code{#t})"
  49564. #. type: table
  49565. #: guix-git/doc/guix.texi:32348
  49566. msgid "The allowed security schemes to use for incoming connections. The default is \"None\", which is safe given that Xvnc is configured to authenticate the user via the display manager, and only for local connections. Accepted values are any of the following: (\"None\" \"VncAuth\" \"Plain\" \"TLSNone\" \"TLSVnc\" \"TLSPlain\" \"X509None\" \"X509Vnc\")"
  49567. msgstr ""
  49568. #. type: item
  49569. #: guix-git/doc/guix.texi:32349
  49570. #, fuzzy, no-wrap
  49571. #| msgid "@code{debug?} (default: @code{#f})"
  49572. msgid "@code{localhost?} (default: @code{#t}) (type: boolean)"
  49573. msgstr "@code{debug?} (default: @code{#f})"
  49574. #. type: table
  49575. #: guix-git/doc/guix.texi:32353
  49576. msgid "Only allow connections from the same machine. It is set to #true by default for security, which means SSH or another secure means should be used to expose the remote port."
  49577. msgstr ""
  49578. #. type: item
  49579. #: guix-git/doc/guix.texi:32354
  49580. #, fuzzy, no-wrap
  49581. #| msgid "@code{debug?} (default: @code{#f})"
  49582. msgid "@code{log-level} (default: @code{30}) (type: log-level)"
  49583. msgstr "@code{debug?} (default: @code{#f})"
  49584. #. type: table
  49585. #: guix-git/doc/guix.texi:32357
  49586. msgid "The log level, a number between 0 and 100, 100 meaning most verbose output. The log messages are output to syslog."
  49587. msgstr ""
  49588. #. type: item
  49589. #: guix-git/doc/guix.texi:32358
  49590. #, fuzzy, no-wrap
  49591. #| msgid "@code{dbus?} (default: @code{#t})"
  49592. msgid "@code{extra-options} (default: @code{'()}) (type: strings)"
  49593. msgstr "@code{dbus?} (padrão: @code{#t})"
  49594. #. type: table
  49595. #: guix-git/doc/guix.texi:32361
  49596. msgid "This can be used to provide extra Xvnc options not exposed via this <xvnc-configuration> record."
  49597. msgstr ""
  49598. #. type: cindex
  49599. #: guix-git/doc/guix.texi:32369
  49600. #, no-wrap
  49601. msgid "VPN (virtual private network)"
  49602. msgstr ""
  49603. #. type: cindex
  49604. #: guix-git/doc/guix.texi:32370
  49605. #, no-wrap
  49606. msgid "virtual private network (VPN)"
  49607. msgstr ""
  49608. #. type: Plain text
  49609. #: guix-git/doc/guix.texi:32374
  49610. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  49611. msgstr ""
  49612. #. type: subsubheading
  49613. #: guix-git/doc/guix.texi:32375
  49614. #, no-wrap
  49615. msgid "Bitmask"
  49616. msgstr ""
  49617. #. type: defvar
  49618. #: guix-git/doc/guix.texi:32377
  49619. #, fuzzy, no-wrap
  49620. #| msgid "guix-publish-service-type"
  49621. msgid "bitmask-service-type"
  49622. msgstr "guix-publish-service-type"
  49623. #. type: defvar
  49624. #: guix-git/doc/guix.texi:32382
  49625. msgid "A service type for the @uref{https://bitmask.net, Bitmask} VPN client. It makes the client available in the system and loads its polkit policy. Please note that the client expects an active polkit-agent, which is either run by your desktop-environment or should be run manually."
  49626. msgstr ""
  49627. #. type: subsubheading
  49628. #: guix-git/doc/guix.texi:32384
  49629. #, no-wrap
  49630. msgid "OpenVPN"
  49631. msgstr ""
  49632. #. type: Plain text
  49633. #: guix-git/doc/guix.texi:32390
  49634. msgid "It provides a @emph{client} service for your machine to connect to a VPN, and a @emph{server} service for your machine to host a VPN@. Both @code{openvpn-client-service-type} and @code{openvpn-server-service-type} can be run simultaneously."
  49635. msgstr ""
  49636. #. type: defvar
  49637. #: guix-git/doc/guix.texi:32391
  49638. #, fuzzy, no-wrap
  49639. #| msgid "guix-publish-service-type"
  49640. msgid "openvpn-client-service-type"
  49641. msgstr "guix-publish-service-type"
  49642. #. type: defvar
  49643. #: guix-git/doc/guix.texi:32393
  49644. msgid "Type of the service that runs @command{openvpn}, a VPN daemon, as a client."
  49645. msgstr ""
  49646. #. type: defvar
  49647. #: guix-git/doc/guix.texi:32396
  49648. msgid "The value for this service is a @code{<openvpn-client-configuration>} object."
  49649. msgstr ""
  49650. #. type: defvar
  49651. #: guix-git/doc/guix.texi:32398
  49652. #, fuzzy, no-wrap
  49653. #| msgid "guix-publish-service-type"
  49654. msgid "openvpn-server-service-type"
  49655. msgstr "guix-publish-service-type"
  49656. #. type: defvar
  49657. #: guix-git/doc/guix.texi:32400
  49658. msgid "Type of the service that runs @command{openvpn}, a VPN daemon, as a server."
  49659. msgstr ""
  49660. #. type: defvar
  49661. #: guix-git/doc/guix.texi:32403
  49662. msgid "The value for this service is a @code{<openvpn-server-configuration>} object."
  49663. msgstr ""
  49664. #. type: deftp
  49665. #: guix-git/doc/guix.texi:32407
  49666. #, fuzzy, no-wrap
  49667. msgid "{Data Type} openvpn-client-configuration"
  49668. msgstr "build-machine {Data Type}"
  49669. #. type: deftp
  49670. #: guix-git/doc/guix.texi:32409
  49671. msgid "Available @code{openvpn-client-configuration} fields are:"
  49672. msgstr ""
  49673. #. type: item
  49674. #: guix-git/doc/guix.texi:32411 guix-git/doc/guix.texi:32499
  49675. #, fuzzy, no-wrap
  49676. #| msgid "@code{dbus?} (default: @code{#t})"
  49677. msgid "@code{openvpn} (default: @code{openvpn}) (type: file-like)"
  49678. msgstr "@code{dbus?} (padrão: @code{#t})"
  49679. #. type: table
  49680. #: guix-git/doc/guix.texi:32413 guix-git/doc/guix.texi:32501
  49681. msgid "The OpenVPN package."
  49682. msgstr ""
  49683. #. type: item
  49684. #: guix-git/doc/guix.texi:32414 guix-git/doc/guix.texi:32502
  49685. #, fuzzy, no-wrap
  49686. msgid "@code{pid-file} (default: @code{\"/var/run/openvpn/openvpn.pid\"}) (type: string)"
  49687. msgstr "@code{remote?} (padrão: @code{#f})"
  49688. #. type: table
  49689. #: guix-git/doc/guix.texi:32416 guix-git/doc/guix.texi:32504
  49690. msgid "The OpenVPN pid file."
  49691. msgstr ""
  49692. #. type: item
  49693. #: guix-git/doc/guix.texi:32417 guix-git/doc/guix.texi:32505
  49694. #, fuzzy, no-wrap
  49695. #| msgid "@code{debug?} (default: @code{#f})"
  49696. msgid "@code{proto} (default: @code{udp}) (type: proto)"
  49697. msgstr "@code{debug?} (default: @code{#f})"
  49698. #. type: table
  49699. #: guix-git/doc/guix.texi:32420 guix-git/doc/guix.texi:32508
  49700. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  49701. msgstr ""
  49702. #. type: item
  49703. #: guix-git/doc/guix.texi:32421 guix-git/doc/guix.texi:32509
  49704. #, fuzzy, no-wrap
  49705. #| msgid "@code{debug?} (default: @code{#f})"
  49706. msgid "@code{dev} (default: @code{tun}) (type: dev)"
  49707. msgstr "@code{debug?} (default: @code{#f})"
  49708. #. type: table
  49709. #: guix-git/doc/guix.texi:32423 guix-git/doc/guix.texi:32511
  49710. msgid "The device type used to represent the VPN connection."
  49711. msgstr ""
  49712. #. type: item
  49713. #: guix-git/doc/guix.texi:32424 guix-git/doc/guix.texi:32512
  49714. #, fuzzy, no-wrap
  49715. #| msgid "@code{users} (default: @code{#f})"
  49716. msgid "@code{ca} (default: @code{\"/etc/openvpn/ca.crt\"}) (type: maybe-string)"
  49717. msgstr "@code{users} (default: @code{#f})"
  49718. #. type: table
  49719. #: guix-git/doc/guix.texi:32426 guix-git/doc/guix.texi:32514
  49720. msgid "The certificate authority to check connections against."
  49721. msgstr ""
  49722. #. type: item
  49723. #: guix-git/doc/guix.texi:32427 guix-git/doc/guix.texi:32515
  49724. #, fuzzy, no-wrap
  49725. #| msgid "@code{users} (default: @code{#f})"
  49726. msgid "@code{cert} (default: @code{\"/etc/openvpn/client.crt\"}) (type: maybe-string)"
  49727. msgstr "@code{users} (default: @code{#f})"
  49728. #. type: table
  49729. #: guix-git/doc/guix.texi:32430 guix-git/doc/guix.texi:32518
  49730. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  49731. msgstr ""
  49732. #. type: item
  49733. #: guix-git/doc/guix.texi:32431 guix-git/doc/guix.texi:32519
  49734. #, fuzzy, no-wrap
  49735. #| msgid "@code{users} (default: @code{#f})"
  49736. msgid "@code{key} (default: @code{\"/etc/openvpn/client.key\"}) (type: maybe-string)"
  49737. msgstr "@code{users} (default: @code{#f})"
  49738. #. type: table
  49739. #: guix-git/doc/guix.texi:32434 guix-git/doc/guix.texi:32522
  49740. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  49741. msgstr ""
  49742. #. type: item
  49743. #: guix-git/doc/guix.texi:32435 guix-git/doc/guix.texi:32523
  49744. #, fuzzy, no-wrap
  49745. #| msgid "@code{debug?} (default: @code{#f})"
  49746. msgid "@code{comp-lzo?} (default: @code{#t}) (type: boolean)"
  49747. msgstr "@code{debug?} (default: @code{#f})"
  49748. #. type: table
  49749. #: guix-git/doc/guix.texi:32437 guix-git/doc/guix.texi:32525
  49750. msgid "Whether to use the lzo compression algorithm."
  49751. msgstr ""
  49752. #. type: item
  49753. #: guix-git/doc/guix.texi:32438 guix-git/doc/guix.texi:32526
  49754. #, fuzzy, no-wrap
  49755. #| msgid "@code{debug?} (default: @code{#f})"
  49756. msgid "@code{persist-key?} (default: @code{#t}) (type: boolean)"
  49757. msgstr "@code{debug?} (default: @code{#f})"
  49758. #. type: table
  49759. #: guix-git/doc/guix.texi:32440 guix-git/doc/guix.texi:32528
  49760. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  49761. msgstr ""
  49762. #. type: item
  49763. #: guix-git/doc/guix.texi:32441 guix-git/doc/guix.texi:32529
  49764. #, fuzzy, no-wrap
  49765. #| msgid "@code{debug?} (default: @code{#f})"
  49766. msgid "@code{persist-tun?} (default: @code{#t}) (type: boolean)"
  49767. msgstr "@code{debug?} (default: @code{#f})"
  49768. #. type: table
  49769. #: guix-git/doc/guix.texi:32444 guix-git/doc/guix.texi:32532
  49770. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  49771. msgstr ""
  49772. #. type: item
  49773. #: guix-git/doc/guix.texi:32445 guix-git/doc/guix.texi:32533
  49774. #, fuzzy, no-wrap
  49775. #| msgid "@code{debug?} (default: @code{#f})"
  49776. msgid "@code{fast-io?} (default: @code{#f}) (type: boolean)"
  49777. msgstr "@code{debug?} (default: @code{#f})"
  49778. #. type: table
  49779. #: guix-git/doc/guix.texi:32448 guix-git/doc/guix.texi:32536
  49780. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  49781. msgstr ""
  49782. #. type: item
  49783. #: guix-git/doc/guix.texi:32449 guix-git/doc/guix.texi:32537
  49784. #, fuzzy, no-wrap
  49785. #| msgid "@code{debug?} (default: @code{#f})"
  49786. msgid "@code{verbosity} (default: @code{3}) (type: number)"
  49787. msgstr "@code{debug?} (default: @code{#f})"
  49788. #. type: table
  49789. #: guix-git/doc/guix.texi:32451 guix-git/doc/guix.texi:32539
  49790. msgid "Verbosity level."
  49791. msgstr ""
  49792. #. type: item
  49793. #: guix-git/doc/guix.texi:32452
  49794. #, fuzzy, no-wrap
  49795. #| msgid "@code{dbus?} (default: @code{#t})"
  49796. msgid "@code{tls-auth} (default: @code{#f}) (type: tls-auth-client)"
  49797. msgstr "@code{dbus?} (padrão: @code{#t})"
  49798. #. type: table
  49799. #: guix-git/doc/guix.texi:32455 guix-git/doc/guix.texi:32543
  49800. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  49801. msgstr ""
  49802. #. type: item
  49803. #: guix-git/doc/guix.texi:32456
  49804. #, fuzzy, no-wrap
  49805. msgid "@code{auth-user-pass} (type: maybe-string)"
  49806. msgstr "@code{remote?} (padrão: @code{#f})"
  49807. #. type: table
  49808. #: guix-git/doc/guix.texi:32460
  49809. msgid "Authenticate with server using username/password. The option is a file containing username/password on 2 lines. Do not use a file-like object as it would be added to the store and readable by any user."
  49810. msgstr ""
  49811. #. type: item
  49812. #: guix-git/doc/guix.texi:32461
  49813. #, fuzzy, no-wrap
  49814. #| msgid "@code{dbus?} (default: @code{#t})"
  49815. msgid "@code{verify-key-usage?} (default: @code{#t}) (type: key-usage)"
  49816. msgstr "@code{dbus?} (padrão: @code{#t})"
  49817. #. type: table
  49818. #: guix-git/doc/guix.texi:32463
  49819. msgid "Whether to check the server certificate has server usage extension."
  49820. msgstr ""
  49821. #. type: item
  49822. #: guix-git/doc/guix.texi:32464
  49823. #, fuzzy, no-wrap
  49824. #| msgid "@code{debug?} (default: @code{#f})"
  49825. msgid "@code{bind?} (default: @code{#f}) (type: bind)"
  49826. msgstr "@code{debug?} (default: @code{#f})"
  49827. #. type: table
  49828. #: guix-git/doc/guix.texi:32466
  49829. msgid "Bind to a specific local port number."
  49830. msgstr ""
  49831. #. type: item
  49832. #: guix-git/doc/guix.texi:32467
  49833. #, fuzzy, no-wrap
  49834. #| msgid "@code{debug?} (default: @code{#f})"
  49835. msgid "@code{resolv-retry?} (default: @code{#t}) (type: resolv-retry)"
  49836. msgstr "@code{debug?} (default: @code{#f})"
  49837. #. type: table
  49838. #: guix-git/doc/guix.texi:32469
  49839. msgid "Retry resolving server address."
  49840. msgstr ""
  49841. #. type: item
  49842. #: guix-git/doc/guix.texi:32470
  49843. #, fuzzy, no-wrap
  49844. #| msgid "@code{replacement} (default: @code{#f})"
  49845. msgid "@code{remote} (default: @code{'()}) (type: openvpn-remote-list)"
  49846. msgstr "@code{replacement} (default: @code{#f})"
  49847. #. type: table
  49848. #: guix-git/doc/guix.texi:32472
  49849. msgid "A list of remote servers to connect to."
  49850. msgstr ""
  49851. #. type: deftp
  49852. #: guix-git/doc/guix.texi:32473
  49853. #, fuzzy, no-wrap
  49854. msgid "{Data Type} openvpn-remote-configuration"
  49855. msgstr "build-machine {Data Type}"
  49856. #. type: deftp
  49857. #: guix-git/doc/guix.texi:32475
  49858. msgid "Available @code{openvpn-remote-configuration} fields are:"
  49859. msgstr ""
  49860. #. type: item
  49861. #: guix-git/doc/guix.texi:32477
  49862. #, fuzzy, no-wrap
  49863. msgid "@code{name} (default: @code{\"my-server\"}) (type: string)"
  49864. msgstr "@code{remote?} (padrão: @code{#f})"
  49865. #. type: table
  49866. #: guix-git/doc/guix.texi:32479
  49867. msgid "Server name."
  49868. msgstr ""
  49869. #. type: item
  49870. #: guix-git/doc/guix.texi:32480 guix-git/doc/guix.texi:32544
  49871. #, fuzzy, no-wrap
  49872. #| msgid "@code{debug?} (default: @code{#f})"
  49873. msgid "@code{port} (default: @code{1194}) (type: number)"
  49874. msgstr "@code{debug?} (default: @code{#f})"
  49875. #. type: table
  49876. #: guix-git/doc/guix.texi:32482
  49877. msgid "Port number the server listens to."
  49878. msgstr ""
  49879. #. type: deftp
  49880. #: guix-git/doc/guix.texi:32495
  49881. #, fuzzy, no-wrap
  49882. msgid "{Data Type} openvpn-server-configuration"
  49883. msgstr "build-machine {Data Type}"
  49884. #. type: deftp
  49885. #: guix-git/doc/guix.texi:32497
  49886. msgid "Available @code{openvpn-server-configuration} fields are:"
  49887. msgstr ""
  49888. #. type: item
  49889. #: guix-git/doc/guix.texi:32540
  49890. #, fuzzy, no-wrap
  49891. #| msgid "@code{dbus?} (default: @code{#t})"
  49892. msgid "@code{tls-auth} (default: @code{#f}) (type: tls-auth-server)"
  49893. msgstr "@code{dbus?} (padrão: @code{#t})"
  49894. #. type: table
  49895. #: guix-git/doc/guix.texi:32546
  49896. msgid "Specifies the port number on which the server listens."
  49897. msgstr ""
  49898. #. type: item
  49899. #: guix-git/doc/guix.texi:32547
  49900. #, fuzzy, no-wrap
  49901. #| msgid "@code{replacement} (default: @code{#f})"
  49902. msgid "@code{server} (default: @code{\"10.8.0.0 255.255.255.0\"}) (type: ip-mask)"
  49903. msgstr "@code{replacement} (default: @code{#f})"
  49904. #. type: table
  49905. #: guix-git/doc/guix.texi:32549
  49906. msgid "An ip and mask specifying the subnet inside the virtual network."
  49907. msgstr ""
  49908. #. type: item
  49909. #: guix-git/doc/guix.texi:32550
  49910. #, fuzzy, no-wrap
  49911. #| msgid "@code{dbus?} (default: @code{#t})"
  49912. msgid "@code{server-ipv6} (default: @code{#f}) (type: cidr6)"
  49913. msgstr "@code{dbus?} (padrão: @code{#t})"
  49914. #. type: table
  49915. #: guix-git/doc/guix.texi:32552
  49916. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  49917. msgstr ""
  49918. #. type: item
  49919. #: guix-git/doc/guix.texi:32553
  49920. #, fuzzy, no-wrap
  49921. #| msgid "@code{dbus?} (default: @code{#t})"
  49922. msgid "@code{dh} (default: @code{\"/etc/openvpn/dh2048.pem\"}) (type: string)"
  49923. msgstr "@code{dbus?} (padrão: @code{#t})"
  49924. #. type: table
  49925. #: guix-git/doc/guix.texi:32555
  49926. msgid "The Diffie-Hellman parameters file."
  49927. msgstr ""
  49928. #. type: item
  49929. #: guix-git/doc/guix.texi:32556
  49930. #, fuzzy, no-wrap
  49931. #| msgid "@code{dbus?} (default: @code{#t})"
  49932. msgid "@code{ifconfig-pool-persist} (default: @code{\"/etc/openvpn/ipp.txt\"}) (type: string)"
  49933. msgstr "@code{dbus?} (padrão: @code{#t})"
  49934. #. type: table
  49935. #: guix-git/doc/guix.texi:32558
  49936. msgid "The file that records client IPs."
  49937. msgstr ""
  49938. #. type: item
  49939. #: guix-git/doc/guix.texi:32559
  49940. #, fuzzy, no-wrap
  49941. #| msgid "@code{debug?} (default: @code{#f})"
  49942. msgid "@code{redirect-gateway?} (default: @code{#f}) (type: gateway)"
  49943. msgstr "@code{debug?} (default: @code{#f})"
  49944. #. type: table
  49945. #: guix-git/doc/guix.texi:32561
  49946. msgid "When true, the server will act as a gateway for its clients."
  49947. msgstr ""
  49948. #. type: item
  49949. #: guix-git/doc/guix.texi:32562
  49950. #, fuzzy, no-wrap
  49951. #| msgid "@code{debug?} (default: @code{#f})"
  49952. msgid "@code{client-to-client?} (default: @code{#f}) (type: boolean)"
  49953. msgstr "@code{debug?} (default: @code{#f})"
  49954. #. type: table
  49955. #: guix-git/doc/guix.texi:32564
  49956. msgid "When true, clients are allowed to talk to each other inside the VPN."
  49957. msgstr ""
  49958. #. type: item
  49959. #: guix-git/doc/guix.texi:32565
  49960. #, fuzzy, no-wrap
  49961. #| msgid "@code{replacement} (default: @code{#f})"
  49962. msgid "@code{keepalive} (default: @code{(10 120)}) (type: keepalive)"
  49963. msgstr "@code{replacement} (default: @code{#f})"
  49964. #. type: table
  49965. #: guix-git/doc/guix.texi:32571
  49966. msgid "Causes ping-like messages to be sent back and forth over the link so that each side knows when the other side has gone down. @code{keepalive} requires a pair. The first element is the period of the ping sending, and the second element is the timeout before considering the other side down."
  49967. msgstr ""
  49968. #. type: item
  49969. #: guix-git/doc/guix.texi:32572
  49970. #, fuzzy, no-wrap
  49971. #| msgid "@code{debug?} (default: @code{#f})"
  49972. msgid "@code{max-clients} (default: @code{100}) (type: number)"
  49973. msgstr "@code{debug?} (default: @code{#f})"
  49974. #. type: table
  49975. #: guix-git/doc/guix.texi:32574
  49976. msgid "The maximum number of clients."
  49977. msgstr ""
  49978. #. type: item
  49979. #: guix-git/doc/guix.texi:32575
  49980. #, fuzzy, no-wrap
  49981. #| msgid "@code{dbus?} (default: @code{#t})"
  49982. msgid "@code{status} (default: @code{\"/var/run/openvpn/status\"}) (type: string)"
  49983. msgstr "@code{dbus?} (padrão: @code{#t})"
  49984. #. type: table
  49985. #: guix-git/doc/guix.texi:32578
  49986. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  49987. msgstr ""
  49988. #. type: item
  49989. #: guix-git/doc/guix.texi:32579
  49990. #, fuzzy, no-wrap
  49991. #| msgid "@code{replacement} (default: @code{#f})"
  49992. msgid "@code{client-config-dir} (default: @code{'()}) (type: openvpn-ccd-list)"
  49993. msgstr "@code{replacement} (default: @code{#f})"
  49994. #. type: table
  49995. #: guix-git/doc/guix.texi:32581
  49996. msgid "The list of configuration for some clients."
  49997. msgstr ""
  49998. #. type: subheading
  49999. #: guix-git/doc/guix.texi:32588
  50000. #, no-wrap
  50001. msgid "strongSwan"
  50002. msgstr ""
  50003. #. type: Plain text
  50004. #: guix-git/doc/guix.texi:32592
  50005. msgid "Currently, the strongSwan service only provides legacy-style configuration with @file{ipsec.conf} and @file{ipsec.secrets} files."
  50006. msgstr ""
  50007. #. type: defvar
  50008. #: guix-git/doc/guix.texi:32593
  50009. #, fuzzy, no-wrap
  50010. msgid "strongswan-service-type"
  50011. msgstr "guix-publish-service-type"
  50012. #. type: defvar
  50013. #: guix-git/doc/guix.texi:32597
  50014. msgid "A service type for configuring strongSwan for IPsec @acronym{VPN, Virtual Private Networking}. Its value must be a @code{strongswan-configuration} record as in this example:"
  50015. msgstr ""
  50016. #. type: lisp
  50017. #: guix-git/doc/guix.texi:32603
  50018. #, no-wrap
  50019. msgid ""
  50020. "(service strongswan-service-type\n"
  50021. " (strongswan-configuration\n"
  50022. " (ipsec-conf \"/etc/ipsec.conf\")\n"
  50023. " (ipsec-secrets \"/etc/ipsec.secrets\")))\n"
  50024. msgstr ""
  50025. #. type: deftp
  50026. #: guix-git/doc/guix.texi:32607
  50027. #, fuzzy, no-wrap
  50028. msgid "{Data Type} strongswan-configuration"
  50029. msgstr "build-machine {Data Type}"
  50030. #. type: deftp
  50031. #: guix-git/doc/guix.texi:32609
  50032. #, fuzzy
  50033. msgid "Data type representing the configuration of the StrongSwan service."
  50034. msgstr "Gerencie a configuração do sistema operacional."
  50035. #. type: code{#1}
  50036. #: guix-git/doc/guix.texi:32611
  50037. #, no-wrap
  50038. msgid "strongswan"
  50039. msgstr ""
  50040. #. type: table
  50041. #: guix-git/doc/guix.texi:32613
  50042. msgid "The strongSwan package to use for this service."
  50043. msgstr ""
  50044. #. type: item
  50045. #: guix-git/doc/guix.texi:32614
  50046. #, fuzzy, no-wrap
  50047. #| msgid "@code{nsec3?} (default: @code{#f})"
  50048. msgid "@code{ipsec-conf} (default: @code{#f})"
  50049. msgstr "@code{nsec3?} (padrão: @code{#f})"
  50050. #. type: table
  50051. #: guix-git/doc/guix.texi:32617
  50052. msgid "The file name of your @file{ipsec.conf}. If not @code{#f}, then this and @code{ipsec-secrets} must both be strings."
  50053. msgstr ""
  50054. #. type: item
  50055. #: guix-git/doc/guix.texi:32618
  50056. #, fuzzy, no-wrap
  50057. #| msgid "@code{users} (default: @code{#f})"
  50058. msgid "@code{ipsec-secrets} (default @code{#f})"
  50059. msgstr "@code{users} (default: @code{#f})"
  50060. #. type: table
  50061. #: guix-git/doc/guix.texi:32621
  50062. msgid "The file name of your @file{ipsec.secrets}. If not @code{#f}, then this and @code{ipsec-conf} must both be strings."
  50063. msgstr ""
  50064. #. type: subsubheading
  50065. #: guix-git/doc/guix.texi:32625
  50066. #, no-wrap
  50067. msgid "Wireguard"
  50068. msgstr ""
  50069. #. type: defvar
  50070. #: guix-git/doc/guix.texi:32627
  50071. #, fuzzy, no-wrap
  50072. #| msgid "guix-publish-service-type"
  50073. msgid "wireguard-service-type"
  50074. msgstr "guix-publish-service-type"
  50075. #. type: defvar
  50076. #: guix-git/doc/guix.texi:32630
  50077. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  50078. msgstr ""
  50079. #. type: lisp
  50080. #: guix-git/doc/guix.texi:32641
  50081. #, no-wrap
  50082. msgid ""
  50083. "(service wireguard-service-type\n"
  50084. " (wireguard-configuration\n"
  50085. " (peers\n"
  50086. " (list\n"
  50087. " (wireguard-peer\n"
  50088. " (name \"my-peer\")\n"
  50089. " (endpoint \"my.wireguard.com:51820\")\n"
  50090. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  50091. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  50092. msgstr ""
  50093. #. type: deftp
  50094. #: guix-git/doc/guix.texi:32645
  50095. #, no-wrap
  50096. msgid "{Data Type} wireguard-configuration"
  50097. msgstr ""
  50098. #. type: deftp
  50099. #: guix-git/doc/guix.texi:32647
  50100. msgid "Data type representing the configuration of the Wireguard service."
  50101. msgstr ""
  50102. #. type: code{#1}
  50103. #: guix-git/doc/guix.texi:32649
  50104. #, no-wrap
  50105. msgid "wireguard"
  50106. msgstr ""
  50107. #. type: table
  50108. #: guix-git/doc/guix.texi:32651
  50109. msgid "The wireguard package to use for this service."
  50110. msgstr ""
  50111. #. type: item
  50112. #: guix-git/doc/guix.texi:32652
  50113. #, no-wrap
  50114. msgid "@code{interface} (default: @code{\"wg0\"})"
  50115. msgstr ""
  50116. #. type: table
  50117. #: guix-git/doc/guix.texi:32654
  50118. msgid "The interface name for the VPN."
  50119. msgstr ""
  50120. #. type: item
  50121. #: guix-git/doc/guix.texi:32655
  50122. #, no-wrap
  50123. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  50124. msgstr ""
  50125. #. type: table
  50126. #: guix-git/doc/guix.texi:32657
  50127. msgid "The IP addresses to be assigned to the above interface."
  50128. msgstr ""
  50129. #. type: item
  50130. #: guix-git/doc/guix.texi:32658
  50131. #, fuzzy, no-wrap
  50132. #| msgid "@code{port} (default: @code{8081})"
  50133. msgid "@code{port} (default: @code{51820})"
  50134. msgstr "@code{porta} (default: @code{8081})"
  50135. #. type: table
  50136. #: guix-git/doc/guix.texi:32660
  50137. msgid "The port on which to listen for incoming connections."
  50138. msgstr ""
  50139. #. type: item
  50140. #: guix-git/doc/guix.texi:32661
  50141. #, fuzzy, no-wrap
  50142. #| msgid "@code{id} (default: @code{#f})"
  50143. msgid "@code{dns} (default: @code{#f})"
  50144. msgstr "@code{id} (default: @code{#f})"
  50145. #. type: table
  50146. #: guix-git/doc/guix.texi:32663
  50147. msgid "The DNS server(s) to announce to VPN clients via DHCP."
  50148. msgstr ""
  50149. #. type: item
  50150. #: guix-git/doc/guix.texi:32664
  50151. #, no-wrap
  50152. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  50153. msgstr ""
  50154. #. type: table
  50155. #: guix-git/doc/guix.texi:32667
  50156. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  50157. msgstr ""
  50158. #. type: item
  50159. #: guix-git/doc/guix.texi:32668
  50160. #, no-wrap
  50161. msgid "@code{peers} (default: @code{'()})"
  50162. msgstr ""
  50163. #. type: table
  50164. #: guix-git/doc/guix.texi:32671
  50165. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  50166. msgstr ""
  50167. #. type: item
  50168. #: guix-git/doc/guix.texi:32672
  50169. #, fuzzy, no-wrap
  50170. #| msgid "@code{features} (default: @code{'()})"
  50171. msgid "@code{pre-up} (default: @code{'()})"
  50172. msgstr "@code{features} (padrão: @code{'()})"
  50173. #. type: table
  50174. #: guix-git/doc/guix.texi:32674
  50175. msgid "The script commands to be run before setting up the interface."
  50176. msgstr ""
  50177. #. type: item
  50178. #: guix-git/doc/guix.texi:32675
  50179. #, fuzzy, no-wrap
  50180. #| msgid "@code{features} (default: @code{'()})"
  50181. msgid "@code{post-up} (default: @code{'()})"
  50182. msgstr "@code{features} (padrão: @code{'()})"
  50183. #. type: table
  50184. #: guix-git/doc/guix.texi:32677
  50185. msgid "The script commands to be run after setting up the interface."
  50186. msgstr ""
  50187. #. type: item
  50188. #: guix-git/doc/guix.texi:32678
  50189. #, fuzzy, no-wrap
  50190. #| msgid "@code{features} (default: @code{'()})"
  50191. msgid "@code{pre-down} (default: @code{'()})"
  50192. msgstr "@code{features} (padrão: @code{'()})"
  50193. #. type: table
  50194. #: guix-git/doc/guix.texi:32680
  50195. msgid "The script commands to be run before tearing down the interface."
  50196. msgstr ""
  50197. #. type: item
  50198. #: guix-git/doc/guix.texi:32681
  50199. #, fuzzy, no-wrap
  50200. #| msgid "@code{features} (default: @code{'()})"
  50201. msgid "@code{post-down} (default: @code{'()})"
  50202. msgstr "@code{features} (padrão: @code{'()})"
  50203. #. type: table
  50204. #: guix-git/doc/guix.texi:32683
  50205. msgid "The script commands to be run after tearing down the interface."
  50206. msgstr ""
  50207. #. type: item
  50208. #: guix-git/doc/guix.texi:32684
  50209. #, fuzzy, no-wrap
  50210. #| msgid "@code{cache} (default: @code{#f})"
  50211. msgid "@code{table} (default: @code{\"auto\"})"
  50212. msgstr "@code{cache} (default: @code{#f})"
  50213. #. type: table
  50214. #: guix-git/doc/guix.texi:32689
  50215. msgid "The routing table to which routes are added, as a string. There are two special values: @code{\"off\"} that disables the creation of routes altogether, and @code{\"auto\"} (the default) that adds routes to the default table and enables special handling of default routes."
  50216. msgstr ""
  50217. #. type: deftp
  50218. #: guix-git/doc/guix.texi:32693
  50219. #, no-wrap
  50220. msgid "{Data Type} wireguard-peer"
  50221. msgstr ""
  50222. #. type: deftp
  50223. #: guix-git/doc/guix.texi:32695
  50224. msgid "Data type representing a Wireguard peer attached to a given interface."
  50225. msgstr ""
  50226. #. type: table
  50227. #: guix-git/doc/guix.texi:32699
  50228. msgid "The peer name."
  50229. msgstr ""
  50230. #. type: item
  50231. #: guix-git/doc/guix.texi:32700
  50232. #, no-wrap
  50233. msgid "@code{endpoint} (default: @code{#f})"
  50234. msgstr ""
  50235. #. type: table
  50236. #: guix-git/doc/guix.texi:32703
  50237. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  50238. msgstr ""
  50239. #. type: itemx
  50240. #: guix-git/doc/guix.texi:32704 guix-git/doc/guix.texi:33255
  50241. #: guix-git/doc/guix.texi:33292 guix-git/doc/guix.texi:39261
  50242. #, no-wrap
  50243. msgid "public-key"
  50244. msgstr ""
  50245. #. type: table
  50246. #: guix-git/doc/guix.texi:32706
  50247. msgid "The peer public-key represented as a base64 string."
  50248. msgstr ""
  50249. #. type: item
  50250. #: guix-git/doc/guix.texi:32707
  50251. #, fuzzy, no-wrap
  50252. #| msgid "@code{shared?} (default: @code{#t})"
  50253. msgid "@code{preshared-key} (default: @code{#f})"
  50254. msgstr "@code{shared?} (padrão: @code{#t})"
  50255. #. type: table
  50256. #: guix-git/doc/guix.texi:32710
  50257. msgid "An optional pre-shared key file for this peer. The given file will not be autogenerated."
  50258. msgstr ""
  50259. #. type: code{#1}
  50260. #: guix-git/doc/guix.texi:32711
  50261. #, no-wrap
  50262. msgid "allowed-ips"
  50263. msgstr ""
  50264. #. type: table
  50265. #: guix-git/doc/guix.texi:32714
  50266. msgid "A list of IP addresses from which incoming traffic for this peer is allowed and to which incoming traffic for this peer is directed."
  50267. msgstr ""
  50268. #. type: item
  50269. #: guix-git/doc/guix.texi:32715
  50270. #, fuzzy, no-wrap
  50271. #| msgid "@code{key} (default: @code{#f})"
  50272. msgid "@code{keep-alive} (default: @code{#f})"
  50273. msgstr "@code{key} (default: @code{#f})"
  50274. #. type: table
  50275. #: guix-git/doc/guix.texi:32720
  50276. msgid "An optional time interval in seconds. A packet will be sent to the server endpoint once per time interval. This helps receiving incoming connections from this peer when you are behind a NAT or a firewall."
  50277. msgstr ""
  50278. #. type: cindex
  50279. #: guix-git/doc/guix.texi:32726
  50280. #, no-wrap
  50281. msgid "NFS"
  50282. msgstr "NFS"
  50283. #. type: Plain text
  50284. #: guix-git/doc/guix.texi:32731
  50285. msgid "The @code{(gnu services nfs)} module provides the following services, which are most commonly used in relation to mounting or exporting directory trees as @dfn{network file systems} (NFS)."
  50286. msgstr ""
  50287. #. type: Plain text
  50288. #: guix-git/doc/guix.texi:32735
  50289. msgid "While it is possible to use the individual components that together make up a Network File System service, we recommended to configure an NFS server with the @code{nfs-service-type}."
  50290. msgstr ""
  50291. #. type: subsubheading
  50292. #: guix-git/doc/guix.texi:32736
  50293. #, no-wrap
  50294. msgid "NFS Service"
  50295. msgstr ""
  50296. #. type: cindex
  50297. #: guix-git/doc/guix.texi:32737
  50298. #, no-wrap
  50299. msgid "NFS, server"
  50300. msgstr ""
  50301. #. type: Plain text
  50302. #: guix-git/doc/guix.texi:32742
  50303. msgid "The NFS service takes care of setting up all NFS component services, kernel configuration file systems, and installs configuration files in the locations that NFS expects."
  50304. msgstr ""
  50305. #. type: defvar
  50306. #: guix-git/doc/guix.texi:32743
  50307. #, fuzzy, no-wrap
  50308. #| msgid "guix-publish-service-type"
  50309. msgid "nfs-service-type"
  50310. msgstr "guix-publish-service-type"
  50311. #. type: defvar
  50312. #: guix-git/doc/guix.texi:32745
  50313. msgid "A service type for a complete NFS server."
  50314. msgstr ""
  50315. #. type: deftp
  50316. #: guix-git/doc/guix.texi:32747
  50317. #, no-wrap
  50318. msgid "{Data Type} nfs-configuration"
  50319. msgstr ""
  50320. #. type: deftp
  50321. #: guix-git/doc/guix.texi:32750
  50322. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  50323. msgstr ""
  50324. #. type: deftp
  50325. #: guix-git/doc/guix.texi:32752
  50326. msgid "It has the following parameters:"
  50327. msgstr ""
  50328. #. type: item
  50329. #: guix-git/doc/guix.texi:32753 guix-git/doc/guix.texi:32878
  50330. #: guix-git/doc/guix.texi:32903
  50331. #, no-wrap
  50332. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  50333. msgstr ""
  50334. #. type: table
  50335. #: guix-git/doc/guix.texi:32755
  50336. msgid "The nfs-utils package to use."
  50337. msgstr ""
  50338. #. type: item
  50339. #: guix-git/doc/guix.texi:32756
  50340. #, no-wrap
  50341. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  50342. msgstr ""
  50343. #. type: table
  50344. #: guix-git/doc/guix.texi:32759
  50345. msgid "If a list of string values is provided, the @command{rpc.nfsd} daemon will be limited to supporting the given versions of the NFS protocol."
  50346. msgstr ""
  50347. #. type: item
  50348. #: guix-git/doc/guix.texi:32760
  50349. #, no-wrap
  50350. msgid "@code{exports} (default: @code{'()})"
  50351. msgstr ""
  50352. #. type: table
  50353. #: guix-git/doc/guix.texi:32765
  50354. msgid "This is a list of directories the NFS server should export. Each entry is a list consisting of two elements: a directory name and a string containing all options. This is an example in which the directory @file{/export} is served to all NFS clients as a read-only share:"
  50355. msgstr ""
  50356. #. type: lisp
  50357. #: guix-git/doc/guix.texi:32771
  50358. #, no-wrap
  50359. msgid ""
  50360. "(nfs-configuration\n"
  50361. " (exports\n"
  50362. " '((\"/export\"\n"
  50363. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  50364. msgstr ""
  50365. #. type: item
  50366. #: guix-git/doc/guix.texi:32773
  50367. #, no-wrap
  50368. msgid "@code{rpcmountd-port} (default: @code{#f})"
  50369. msgstr ""
  50370. #. type: table
  50371. #: guix-git/doc/guix.texi:32775
  50372. msgid "The network port that the @command{rpc.mountd} daemon should use."
  50373. msgstr ""
  50374. #. type: item
  50375. #: guix-git/doc/guix.texi:32776
  50376. #, no-wrap
  50377. msgid "@code{rpcstatd-port} (default: @code{#f})"
  50378. msgstr ""
  50379. #. type: table
  50380. #: guix-git/doc/guix.texi:32778
  50381. msgid "The network port that the @command{rpc.statd} daemon should use."
  50382. msgstr ""
  50383. #. type: item
  50384. #: guix-git/doc/guix.texi:32779 guix-git/doc/guix.texi:32827
  50385. #, no-wrap
  50386. msgid "@code{rpcbind} (default: @code{rpcbind})"
  50387. msgstr ""
  50388. #. type: table
  50389. #: guix-git/doc/guix.texi:32781 guix-git/doc/guix.texi:32829
  50390. msgid "The rpcbind package to use."
  50391. msgstr ""
  50392. #. type: item
  50393. #: guix-git/doc/guix.texi:32782
  50394. #, no-wrap
  50395. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  50396. msgstr ""
  50397. #. type: table
  50398. #: guix-git/doc/guix.texi:32784
  50399. msgid "The local NFSv4 domain name."
  50400. msgstr ""
  50401. #. type: item
  50402. #: guix-git/doc/guix.texi:32785
  50403. #, no-wrap
  50404. msgid "@code{nfsd-port} (default: @code{2049})"
  50405. msgstr ""
  50406. #. type: table
  50407. #: guix-git/doc/guix.texi:32787
  50408. msgid "The network port that the @command{nfsd} daemon should use."
  50409. msgstr ""
  50410. #. type: item
  50411. #: guix-git/doc/guix.texi:32788
  50412. #, no-wrap
  50413. msgid "@code{nfsd-threads} (default: @code{8})"
  50414. msgstr ""
  50415. #. type: table
  50416. #: guix-git/doc/guix.texi:32790
  50417. msgid "The number of threads used by the @command{nfsd} daemon."
  50418. msgstr ""
  50419. #. type: item
  50420. #: guix-git/doc/guix.texi:32791
  50421. #, no-wrap
  50422. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  50423. msgstr ""
  50424. #. type: table
  50425. #: guix-git/doc/guix.texi:32793
  50426. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  50427. msgstr ""
  50428. #. type: item
  50429. #: guix-git/doc/guix.texi:32794
  50430. #, no-wrap
  50431. msgid "@code{nfsd-udp?} (default: @code{#f})"
  50432. msgstr ""
  50433. #. type: table
  50434. #: guix-git/doc/guix.texi:32796
  50435. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  50436. msgstr ""
  50437. #. type: item
  50438. #: guix-git/doc/guix.texi:32797 guix-git/doc/guix.texi:32881
  50439. #: guix-git/doc/guix.texi:32906
  50440. #, no-wrap
  50441. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  50442. msgstr ""
  50443. #. type: table
  50444. #: guix-git/doc/guix.texi:32799 guix-git/doc/guix.texi:32883
  50445. #: guix-git/doc/guix.texi:32908
  50446. msgid "The directory where the pipefs file system is mounted."
  50447. msgstr ""
  50448. #. type: item
  50449. #: guix-git/doc/guix.texi:32800
  50450. #, no-wrap
  50451. msgid "@code{debug} (default: @code{'()\"})"
  50452. msgstr ""
  50453. #. type: table
  50454. #: guix-git/doc/guix.texi:32804
  50455. msgid "A list of subsystems for which debugging output should be enabled. This is a list of symbols. Any of these symbols are valid: @code{nfsd}, @code{nfs}, @code{rpc}, @code{idmap}, @code{statd}, or @code{mountd}."
  50456. msgstr ""
  50457. #. type: Plain text
  50458. #: guix-git/doc/guix.texi:32809
  50459. msgid "If you don't need a complete NFS service or prefer to build it yourself you can use the individual component services that are documented below."
  50460. msgstr ""
  50461. #. type: subsubheading
  50462. #: guix-git/doc/guix.texi:32810
  50463. #, no-wrap
  50464. msgid "RPC Bind Service"
  50465. msgstr ""
  50466. #. type: cindex
  50467. #: guix-git/doc/guix.texi:32811
  50468. #, no-wrap
  50469. msgid "rpcbind"
  50470. msgstr ""
  50471. #. type: Plain text
  50472. #: guix-git/doc/guix.texi:32817
  50473. msgid "The RPC Bind service provides a facility to map program numbers into universal addresses. Many NFS related services use this facility. Hence it is automatically started when a dependent service starts."
  50474. msgstr ""
  50475. #. type: defvar
  50476. #: guix-git/doc/guix.texi:32818
  50477. #, fuzzy, no-wrap
  50478. #| msgid "guix-publish-service-type"
  50479. msgid "rpcbind-service-type"
  50480. msgstr "guix-publish-service-type"
  50481. #. type: defvar
  50482. #: guix-git/doc/guix.texi:32820
  50483. msgid "A service type for the RPC portmapper daemon."
  50484. msgstr ""
  50485. #. type: deftp
  50486. #: guix-git/doc/guix.texi:32823
  50487. #, no-wrap
  50488. msgid "{Data Type} rpcbind-configuration"
  50489. msgstr ""
  50490. #. type: deftp
  50491. #: guix-git/doc/guix.texi:32826
  50492. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  50493. msgstr ""
  50494. #. type: item
  50495. #: guix-git/doc/guix.texi:32830
  50496. #, no-wrap
  50497. msgid "@code{warm-start?} (default: @code{#t})"
  50498. msgstr ""
  50499. #. type: table
  50500. #: guix-git/doc/guix.texi:32834
  50501. msgid "If this parameter is @code{#t}, then the daemon will read a state file on startup thus reloading state information saved by a previous instance."
  50502. msgstr ""
  50503. #. type: subsubheading
  50504. #: guix-git/doc/guix.texi:32838
  50505. #, no-wrap
  50506. msgid "Pipefs Pseudo File System"
  50507. msgstr ""
  50508. #. type: cindex
  50509. #: guix-git/doc/guix.texi:32839
  50510. #, no-wrap
  50511. msgid "pipefs"
  50512. msgstr ""
  50513. #. type: cindex
  50514. #: guix-git/doc/guix.texi:32840
  50515. #, no-wrap
  50516. msgid "rpc_pipefs"
  50517. msgstr ""
  50518. #. type: Plain text
  50519. #: guix-git/doc/guix.texi:32844
  50520. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  50521. msgstr ""
  50522. #. type: defvar
  50523. #: guix-git/doc/guix.texi:32845
  50524. #, fuzzy, no-wrap
  50525. #| msgid "guix-publish-service-type"
  50526. msgid "pipefs-service-type"
  50527. msgstr "guix-publish-service-type"
  50528. #. type: defvar
  50529. #: guix-git/doc/guix.texi:32847
  50530. msgid "A service type for the pipefs pseudo file system."
  50531. msgstr ""
  50532. #. type: deftp
  50533. #: guix-git/doc/guix.texi:32849
  50534. #, no-wrap
  50535. msgid "{Data Type} pipefs-configuration"
  50536. msgstr ""
  50537. #. type: deftp
  50538. #: guix-git/doc/guix.texi:32852
  50539. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  50540. msgstr ""
  50541. #. type: item
  50542. #: guix-git/doc/guix.texi:32853
  50543. #, no-wrap
  50544. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  50545. msgstr ""
  50546. #. type: table
  50547. #: guix-git/doc/guix.texi:32855
  50548. msgid "The directory to which the file system is to be attached."
  50549. msgstr ""
  50550. #. type: subsubheading
  50551. #: guix-git/doc/guix.texi:32859
  50552. #, no-wrap
  50553. msgid "GSS Daemon Service"
  50554. msgstr ""
  50555. #. type: cindex
  50556. #: guix-git/doc/guix.texi:32860
  50557. #, no-wrap
  50558. msgid "GSSD"
  50559. msgstr ""
  50560. #. type: cindex
  50561. #: guix-git/doc/guix.texi:32861
  50562. #, no-wrap
  50563. msgid "GSS"
  50564. msgstr ""
  50565. #. type: cindex
  50566. #: guix-git/doc/guix.texi:32862
  50567. #, no-wrap
  50568. msgid "global security system"
  50569. msgstr ""
  50570. #. type: Plain text
  50571. #: guix-git/doc/guix.texi:32869
  50572. msgid "The @dfn{global security system} (GSS) daemon provides strong security for RPC based protocols. Before exchanging RPC requests an RPC client must establish a security context. Typically this is done using the Kerberos command @command{kinit} or automatically at login time using PAM services (@pxref{Kerberos Services})."
  50573. msgstr ""
  50574. #. type: defvar
  50575. #: guix-git/doc/guix.texi:32870
  50576. #, fuzzy, no-wrap
  50577. #| msgid "guix-publish-service-type"
  50578. msgid "gss-service-type"
  50579. msgstr "guix-publish-service-type"
  50580. #. type: defvar
  50581. #: guix-git/doc/guix.texi:32872
  50582. msgid "A service type for the Global Security System (GSS) daemon."
  50583. msgstr ""
  50584. #. type: deftp
  50585. #: guix-git/doc/guix.texi:32874
  50586. #, no-wrap
  50587. msgid "{Data Type} gss-configuration"
  50588. msgstr ""
  50589. #. type: deftp
  50590. #: guix-git/doc/guix.texi:32877
  50591. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  50592. msgstr ""
  50593. #. type: table
  50594. #: guix-git/doc/guix.texi:32880
  50595. msgid "The package in which the @command{rpc.gssd} command is to be found."
  50596. msgstr ""
  50597. #. type: subsubheading
  50598. #: guix-git/doc/guix.texi:32888
  50599. #, no-wrap
  50600. msgid "IDMAP Daemon Service"
  50601. msgstr ""
  50602. #. type: cindex
  50603. #: guix-git/doc/guix.texi:32889
  50604. #, no-wrap
  50605. msgid "idmapd"
  50606. msgstr ""
  50607. #. type: cindex
  50608. #: guix-git/doc/guix.texi:32890
  50609. #, no-wrap
  50610. msgid "name mapper"
  50611. msgstr ""
  50612. #. type: Plain text
  50613. #: guix-git/doc/guix.texi:32894
  50614. msgid "The idmap daemon service provides mapping between user IDs and user names. Typically it is required in order to access file systems mounted via NFSv4."
  50615. msgstr ""
  50616. #. type: defvar
  50617. #: guix-git/doc/guix.texi:32895
  50618. #, fuzzy, no-wrap
  50619. #| msgid "guix-publish-service-type"
  50620. msgid "idmap-service-type"
  50621. msgstr "guix-publish-service-type"
  50622. #. type: defvar
  50623. #: guix-git/doc/guix.texi:32897
  50624. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  50625. msgstr ""
  50626. #. type: deftp
  50627. #: guix-git/doc/guix.texi:32899
  50628. #, no-wrap
  50629. msgid "{Data Type} idmap-configuration"
  50630. msgstr ""
  50631. #. type: deftp
  50632. #: guix-git/doc/guix.texi:32902
  50633. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  50634. msgstr ""
  50635. #. type: table
  50636. #: guix-git/doc/guix.texi:32905
  50637. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  50638. msgstr ""
  50639. #. type: item
  50640. #: guix-git/doc/guix.texi:32909 guix-git/doc/guix.texi:33052
  50641. #, no-wrap
  50642. msgid "@code{domain} (default: @code{#f})"
  50643. msgstr "@code{domain} (default: @code{#f})"
  50644. #. type: table
  50645. #: guix-git/doc/guix.texi:32913
  50646. msgid "The local NFSv4 domain name. This must be a string or @code{#f}. If it is @code{#f} then the daemon will use the host's fully qualified domain name."
  50647. msgstr ""
  50648. #. type: item
  50649. #: guix-git/doc/guix.texi:32914
  50650. #, no-wrap
  50651. msgid "@code{verbosity} (default: @code{0})"
  50652. msgstr ""
  50653. #. type: table
  50654. #: guix-git/doc/guix.texi:32916
  50655. msgid "The verbosity level of the daemon."
  50656. msgstr ""
  50657. #. type: subsubheading
  50658. #: guix-git/doc/guix.texi:32923 guix-git/doc/guix.texi:32929
  50659. #, no-wrap
  50660. msgid "Samba"
  50661. msgstr ""
  50662. #. type: cindex
  50663. #: guix-git/doc/guix.texi:32924
  50664. #, no-wrap
  50665. msgid "SMB"
  50666. msgstr ""
  50667. #. type: Plain text
  50668. #: guix-git/doc/guix.texi:32928
  50669. msgid "The @code{(gnu services samba)} module provides service definitions for Samba as well as additional helper services. Currently it provides the following services."
  50670. msgstr ""
  50671. #. type: Plain text
  50672. #: guix-git/doc/guix.texi:32936
  50673. msgid "@uref{https://www.samba.org, Samba} provides network shares for folders and printers using the SMB/CIFS protocol commonly used on Windows. It can also act as an Active Directory Domain Controller (AD DC) for other hosts in an heterougenious network with different types of Computer systems."
  50674. msgstr ""
  50675. #. type: defvar
  50676. #: guix-git/doc/guix.texi:32937
  50677. #, fuzzy, no-wrap
  50678. #| msgid "guix-publish-service-type"
  50679. msgid "samba-service-type"
  50680. msgstr "guix-publish-service-type"
  50681. #. type: defvar
  50682. #: guix-git/doc/guix.texi:32942
  50683. msgid "The service type to enable the samba services @code{samba}, @code{nmbd}, @code{smbd} and @code{winbindd}. By default this service type does not run any of the Samba daemons; they must be enabled individually."
  50684. msgstr ""
  50685. #. type: defvar
  50686. #: guix-git/doc/guix.texi:32946
  50687. msgid "Below is a basic example that configures a simple, anonymous (unauthenticated) Samba file share exposing the @file{/public} directory."
  50688. msgstr ""
  50689. #. type: quotation
  50690. #: guix-git/doc/guix.texi:32951
  50691. msgid "The @file{/public} directory and its contents must be world readable/writable, so you'll want to run @samp{chmod -R 777 /public} on it."
  50692. msgstr ""
  50693. #. type: quotation
  50694. #: guix-git/doc/guix.texi:32953
  50695. #, fuzzy, no-wrap
  50696. #| msgid "isolation"
  50697. msgid "Caution"
  50698. msgstr "isolação"
  50699. #. type: quotation
  50700. #: guix-git/doc/guix.texi:32957
  50701. msgid "Such a Samba configuration should only be used in controlled environments, and you should not share any private files using it, as anyone connecting to your network would be able to access them."
  50702. msgstr ""
  50703. #. type: lisp
  50704. #: guix-git/doc/guix.texi:32966
  50705. #, no-wrap
  50706. msgid ""
  50707. "(service samba-service-type (samba-configuration\n"
  50708. " (enable-smbd? #t)\n"
  50709. " (config-file (plain-file \"smb.conf\" \"\\\n"
  50710. "[global]\n"
  50711. "map to guest = Bad User\n"
  50712. "logging = syslog@@1\n"
  50713. "\n"
  50714. msgstr ""
  50715. #. type: lisp
  50716. #: guix-git/doc/guix.texi:32973
  50717. #, no-wrap
  50718. msgid ""
  50719. "[public]\n"
  50720. "browsable = yes\n"
  50721. "path = /public\n"
  50722. "read only = no\n"
  50723. "guest ok = yes\n"
  50724. "guest only = yes\\n\"))))\n"
  50725. msgstr ""
  50726. #. type: deftp
  50727. #: guix-git/doc/guix.texi:32977
  50728. #, fuzzy, no-wrap
  50729. msgid "{Data Type} samba-service-configuration"
  50730. msgstr "build-machine {Data Type}"
  50731. #. type: deftp
  50732. #: guix-git/doc/guix.texi:32979
  50733. #, fuzzy
  50734. msgid "Configuration record for the Samba suite."
  50735. msgstr "Gerencie a configuração do sistema operacional."
  50736. #. type: item
  50737. #: guix-git/doc/guix.texi:32981
  50738. #, fuzzy, no-wrap
  50739. msgid "@code{package} (default: @code{samba})"
  50740. msgstr "@code{cache} (default: @code{#f})"
  50741. #. type: table
  50742. #: guix-git/doc/guix.texi:32983
  50743. #, fuzzy
  50744. msgid "The samba package to use."
  50745. msgstr "O pacote GPM a ser usado."
  50746. #. type: table
  50747. #: guix-git/doc/guix.texi:32987
  50748. msgid "The config file to use. To learn about its syntax, run @samp{man smb.conf}."
  50749. msgstr ""
  50750. #. type: item
  50751. #: guix-git/doc/guix.texi:32988
  50752. #, fuzzy, no-wrap
  50753. #| msgid "@code{manual?} (default: @code{#f})"
  50754. msgid "@code{enable-samba?} (default: @code{#f})"
  50755. msgstr "@code{manual?} (default: @code{#f})"
  50756. #. type: table
  50757. #: guix-git/doc/guix.texi:32990
  50758. msgid "Enable the @code{samba} daemon."
  50759. msgstr ""
  50760. #. type: item
  50761. #: guix-git/doc/guix.texi:32991
  50762. #, fuzzy, no-wrap
  50763. #| msgid "@code{manual?} (default: @code{#f})"
  50764. msgid "@code{enable-smbd?} (default: @code{#f})"
  50765. msgstr "@code{manual?} (default: @code{#f})"
  50766. #. type: table
  50767. #: guix-git/doc/guix.texi:32993
  50768. msgid "Enable the @code{smbd} daemon."
  50769. msgstr ""
  50770. #. type: item
  50771. #: guix-git/doc/guix.texi:32994
  50772. #, fuzzy, no-wrap
  50773. #| msgid "@code{manual?} (default: @code{#f})"
  50774. msgid "@code{enable-nmbd?} (default: @code{#f})"
  50775. msgstr "@code{manual?} (default: @code{#f})"
  50776. #. type: table
  50777. #: guix-git/doc/guix.texi:32996
  50778. msgid "Enable the @code{nmbd} daemon."
  50779. msgstr ""
  50780. #. type: item
  50781. #: guix-git/doc/guix.texi:32997
  50782. #, fuzzy, no-wrap
  50783. #| msgid "@code{manual?} (default: @code{#f})"
  50784. msgid "@code{enable-winbindd?} (default: @code{#f})"
  50785. msgstr "@code{manual?} (default: @code{#f})"
  50786. #. type: table
  50787. #: guix-git/doc/guix.texi:32999
  50788. msgid "Enable the @code{winbindd} daemon."
  50789. msgstr ""
  50790. #. type: cindex
  50791. #: guix-git/doc/guix.texi:33003
  50792. #, fuzzy, no-wrap
  50793. #| msgid "Web Services"
  50794. msgid "wsdd, Web service discovery daemon"
  50795. msgstr "Serviços Web"
  50796. #. type: subsubheading
  50797. #: guix-git/doc/guix.texi:33004
  50798. #, no-wrap
  50799. msgid "Web Service Discovery Daemon"
  50800. msgstr "Daemon de Descoberta de Serviço da Web"
  50801. #. type: Plain text
  50802. #: guix-git/doc/guix.texi:33012
  50803. msgid "The @acronym{WSDD, Web Service Discovery daemon} implements the @uref{http://docs.oasis-open.org/ws-dd/discovery/1.1/os/wsdd-discovery-1.1-spec-os.html, Web Services Dynamic Discovery} protocol that enables host discovery over Multicast DNS, similar to what Avahi does. It is a drop-in replacement for SMB hosts that have had SMBv1 disabled for security reasons."
  50804. msgstr ""
  50805. #. type: defvar
  50806. #: guix-git/doc/guix.texi:33013
  50807. #, fuzzy, no-wrap
  50808. #| msgid "guix-publish-service-type"
  50809. msgid "wsdd-service-type"
  50810. msgstr "guix-publish-service-type"
  50811. #. type: defvar
  50812. #: guix-git/doc/guix.texi:33017
  50813. msgid "Service type for the WSD host daemon. The value for this service type is a @code{wsdd-configuration} record. The details for the @code{wsdd-configuration} record type are given below."
  50814. msgstr ""
  50815. #. type: deftp
  50816. #: guix-git/doc/guix.texi:33019
  50817. #, fuzzy, no-wrap
  50818. msgid "{Data Type} wsdd-configuration"
  50819. msgstr "build-machine {Data Type}"
  50820. #. type: deftp
  50821. #: guix-git/doc/guix.texi:33021
  50822. #, fuzzy
  50823. msgid "This data type represents the configuration for the wsdd service."
  50824. msgstr "Gerencie a configuração do sistema operacional."
  50825. #. type: item
  50826. #: guix-git/doc/guix.texi:33024
  50827. #, fuzzy, no-wrap
  50828. msgid "@code{package} (default: @code{wsdd})"
  50829. msgstr "@code{cache} (default: @code{#f})"
  50830. #. type: table
  50831. #: guix-git/doc/guix.texi:33026
  50832. #, fuzzy
  50833. #| msgid "The GPM package to use."
  50834. msgid "The wsdd package to use."
  50835. msgstr "O pacote GPM a ser usado."
  50836. #. type: item
  50837. #: guix-git/doc/guix.texi:33027
  50838. #, fuzzy, no-wrap
  50839. #| msgid "@code{ipv4?} (default: @code{#t})"
  50840. msgid "@code{ipv4only?} (default: @code{#f})"
  50841. msgstr "@code{ipv4?} (default: @code{#t})"
  50842. #. type: table
  50843. #: guix-git/doc/guix.texi:33029
  50844. msgid "Only listen to IPv4 addresses."
  50845. msgstr ""
  50846. #. type: item
  50847. #: guix-git/doc/guix.texi:33030
  50848. #, fuzzy, no-wrap
  50849. #| msgid "@code{ipv6?} (default: @code{#t})"
  50850. msgid "@code{ipv6only} (default: @code{#f})"
  50851. msgstr "@code{ipv6?} (default: @code{#t})"
  50852. #. type: table
  50853. #: guix-git/doc/guix.texi:33033
  50854. msgid "Only listen to IPv6 addresses. Please note: Activating both options is not possible, since there would be no IP versions to listen to."
  50855. msgstr ""
  50856. #. type: table
  50857. #: guix-git/doc/guix.texi:33038
  50858. msgid "Chroot into a separate directory to prevent access to other directories. This is to increase security in case there is a vulnerability in @command{wsdd}."
  50859. msgstr ""
  50860. #. type: item
  50861. #: guix-git/doc/guix.texi:33039
  50862. #, fuzzy, no-wrap
  50863. #| msgid "@code{host} (default: @code{#f})"
  50864. msgid "@code{hop-limit} (default: @code{1})"
  50865. msgstr "@code{host} (default: @code{#f})"
  50866. #. type: table
  50867. #: guix-git/doc/guix.texi:33042
  50868. msgid "Limit to the level of hops for multicast packets. The default is @var{1} which should prevent packets from leaving the local network."
  50869. msgstr ""
  50870. #. type: item
  50871. #: guix-git/doc/guix.texi:33043
  50872. #, fuzzy, no-wrap
  50873. #| msgid "@code{features} (default: @code{'()})"
  50874. msgid "@code{interface} (default: @code{'()})"
  50875. msgstr "@code{features} (padrão: @code{'()})"
  50876. #. type: table
  50877. #: guix-git/doc/guix.texi:33047
  50878. msgid "Limit to the given list of interfaces to listen to. By default wsdd will listen to all interfaces. Except the loopback interface is never used."
  50879. msgstr ""
  50880. #. type: item
  50881. #: guix-git/doc/guix.texi:33048
  50882. #, fuzzy, no-wrap
  50883. #| msgid "@code{device} (default: @code{#f})"
  50884. msgid "@code{uuid-device} (default: @code{#f})"
  50885. msgstr "@code{device} (default: @code{#f})"
  50886. #. type: table
  50887. #: guix-git/doc/guix.texi:33051
  50888. msgid "The WSD protocol requires a device to have a UUID. Set this to manually assign the service a UUID."
  50889. msgstr ""
  50890. #. type: table
  50891. #: guix-git/doc/guix.texi:33054
  50892. msgid "Notify this host is a member of an Active Directory."
  50893. msgstr ""
  50894. #. type: table
  50895. #: guix-git/doc/guix.texi:33059
  50896. msgid "Manually set the hostname rather than letting @command{wsdd} inherit this host's hostname. Only the host name part of a possible FQDN will be used in the default case."
  50897. msgstr ""
  50898. #. type: item
  50899. #: guix-git/doc/guix.texi:33060
  50900. #, fuzzy, no-wrap
  50901. #| msgid "@code{users} (default: @code{#f})"
  50902. msgid "@code{preserve-case?} (default: @code{#f})"
  50903. msgstr "@code{users} (default: @code{#f})"
  50904. #. type: table
  50905. #: guix-git/doc/guix.texi:33064
  50906. msgid "By default @command{wsdd} will convert the hostname in workgroup to all uppercase. The opposite is true for hostnames in domains. Setting this parameter will preserve case."
  50907. msgstr ""
  50908. #. type: item
  50909. #: guix-git/doc/guix.texi:33065
  50910. #, fuzzy, no-wrap
  50911. #| msgid "@code{group} (default: @var{git})"
  50912. msgid "@code{workgroup} (default: @var{\"WORKGROUP\"})"
  50913. msgstr "@code{group} (default: @var{git})"
  50914. #. type: table
  50915. #: guix-git/doc/guix.texi:33068
  50916. msgid "Change the name of the workgroup. By default @command{wsdd} reports this host being member of a workgroup."
  50917. msgstr ""
  50918. #. type: Plain text
  50919. #: guix-git/doc/guix.texi:33079
  50920. msgid "@uref{https://guix.gnu.org/cuirass/, Cuirass} is a continuous integration tool for Guix. It can be used both for development and for providing substitutes to others (@pxref{Substitutes})."
  50921. msgstr ""
  50922. #. type: Plain text
  50923. #: guix-git/doc/guix.texi:33081
  50924. msgid "The @code{(gnu services cuirass)} module provides the following service."
  50925. msgstr ""
  50926. #. type: defvr
  50927. #: guix-git/doc/guix.texi:33082
  50928. #, no-wrap
  50929. msgid "{Scheme Procedure} cuirass-service-type"
  50930. msgstr ""
  50931. #. type: defvr
  50932. #: guix-git/doc/guix.texi:33085
  50933. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  50934. msgstr ""
  50935. #. type: Plain text
  50936. #: guix-git/doc/guix.texi:33090
  50937. msgid "To add build jobs, you have to set the @code{specifications} field of the configuration. For instance, the following example will build all the packages provided by the @code{my-channel} channel."
  50938. msgstr ""
  50939. #. type: lisp
  50940. #: guix-git/doc/guix.texi:33101
  50941. #, no-wrap
  50942. msgid ""
  50943. "(define %cuirass-specs\n"
  50944. " #~(list (specification\n"
  50945. " (name \"my-channel\")\n"
  50946. " (build '(channels my-channel))\n"
  50947. " (channels\n"
  50948. " (cons (channel\n"
  50949. " (name 'my-channel)\n"
  50950. " (url \"https://my-channel.git\"))\n"
  50951. " %default-channels)))))\n"
  50952. "\n"
  50953. msgstr ""
  50954. #. type: lisp
  50955. #: guix-git/doc/guix.texi:33105 guix-git/doc/guix.texi:33119
  50956. #, no-wrap
  50957. msgid ""
  50958. "(service cuirass-service-type\n"
  50959. " (cuirass-configuration\n"
  50960. " (specifications %cuirass-specs)))\n"
  50961. msgstr ""
  50962. #. type: Plain text
  50963. #: guix-git/doc/guix.texi:33109
  50964. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  50965. msgstr ""
  50966. #. type: lisp
  50967. #: guix-git/doc/guix.texi:33115
  50968. #, no-wrap
  50969. msgid ""
  50970. "(define %cuirass-specs\n"
  50971. " #~(list (specification\n"
  50972. " (name \"my-linux\")\n"
  50973. " (build '(packages \"linux-libre\")))))\n"
  50974. "\n"
  50975. msgstr ""
  50976. #. type: Plain text
  50977. #: guix-git/doc/guix.texi:33124
  50978. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  50979. msgstr ""
  50980. #. type: Plain text
  50981. #: guix-git/doc/guix.texi:33128
  50982. msgid "While information related to build jobs is located directly in the specifications, global settings for the @command{cuirass} process are accessible in other @code{cuirass-configuration} fields."
  50983. msgstr ""
  50984. #. type: deftp
  50985. #: guix-git/doc/guix.texi:33129
  50986. #, no-wrap
  50987. msgid "{Data Type} cuirass-configuration"
  50988. msgstr ""
  50989. #. type: deftp
  50990. #: guix-git/doc/guix.texi:33131
  50991. msgid "Data type representing the configuration of Cuirass."
  50992. msgstr ""
  50993. #. type: item
  50994. #: guix-git/doc/guix.texi:33133 guix-git/doc/guix.texi:33270
  50995. #, no-wrap
  50996. msgid "@code{cuirass} (default: @code{cuirass})"
  50997. msgstr ""
  50998. #. type: table
  50999. #: guix-git/doc/guix.texi:33135 guix-git/doc/guix.texi:33272
  51000. msgid "The Cuirass package to use."
  51001. msgstr ""
  51002. #. type: item
  51003. #: guix-git/doc/guix.texi:33136
  51004. #, no-wrap
  51005. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  51006. msgstr ""
  51007. #. type: table
  51008. #: guix-git/doc/guix.texi:33138 guix-git/doc/guix.texi:33242
  51009. #: guix-git/doc/guix.texi:33285
  51010. msgid "Location of the log file."
  51011. msgstr ""
  51012. #. type: item
  51013. #: guix-git/doc/guix.texi:33139
  51014. #, no-wrap
  51015. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  51016. msgstr ""
  51017. #. type: table
  51018. #: guix-git/doc/guix.texi:33141
  51019. msgid "Location of the log file used by the web interface."
  51020. msgstr ""
  51021. #. type: item
  51022. #: guix-git/doc/guix.texi:33142
  51023. #, no-wrap
  51024. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  51025. msgstr ""
  51026. #. type: table
  51027. #: guix-git/doc/guix.texi:33144
  51028. msgid "Location of the repository cache."
  51029. msgstr ""
  51030. #. type: item
  51031. #: guix-git/doc/guix.texi:33145
  51032. #, no-wrap
  51033. msgid "@code{user} (default: @code{\"cuirass\"})"
  51034. msgstr ""
  51035. #. type: table
  51036. #: guix-git/doc/guix.texi:33147
  51037. msgid "Owner of the @code{cuirass} process."
  51038. msgstr ""
  51039. #. type: item
  51040. #: guix-git/doc/guix.texi:33148
  51041. #, no-wrap
  51042. msgid "@code{group} (default: @code{\"cuirass\"})"
  51043. msgstr ""
  51044. #. type: table
  51045. #: guix-git/doc/guix.texi:33150
  51046. msgid "Owner's group of the @code{cuirass} process."
  51047. msgstr ""
  51048. #. type: item
  51049. #: guix-git/doc/guix.texi:33151
  51050. #, no-wrap
  51051. msgid "@code{interval} (default: @code{60})"
  51052. msgstr ""
  51053. #. type: table
  51054. #: guix-git/doc/guix.texi:33154
  51055. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  51056. msgstr ""
  51057. #. type: item
  51058. #: guix-git/doc/guix.texi:33155
  51059. #, fuzzy, no-wrap
  51060. msgid "@code{parameters} (default: @code{#f})"
  51061. msgstr "@code{term} (default: @code{#f})"
  51062. #. type: table
  51063. #: guix-git/doc/guix.texi:33158
  51064. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  51065. msgstr ""
  51066. #. type: item
  51067. #: guix-git/doc/guix.texi:33159
  51068. #, fuzzy, no-wrap
  51069. msgid "@code{remote-server} (default: @code{#f})"
  51070. msgstr "@code{remote?} (padrão: @code{#f})"
  51071. #. type: table
  51072. #: guix-git/doc/guix.texi:33162
  51073. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  51074. msgstr ""
  51075. #. type: item
  51076. #: guix-git/doc/guix.texi:33163
  51077. #, no-wrap
  51078. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  51079. msgstr ""
  51080. #. type: table
  51081. #: guix-git/doc/guix.texi:33168
  51082. msgid "Use @var{database} as the database containing the jobs and the past build results. Since Cuirass uses PostgreSQL as a database engine, @var{database} must be a string such as @code{\"dbname=cuirass host=localhost\"}."
  51083. msgstr ""
  51084. #. type: item
  51085. #: guix-git/doc/guix.texi:33169
  51086. #, no-wrap
  51087. msgid "@code{port} (default: @code{8081})"
  51088. msgstr "@code{porta} (default: @code{8081})"
  51089. #. type: table
  51090. #: guix-git/doc/guix.texi:33171
  51091. msgid "Port number used by the HTTP server."
  51092. msgstr ""
  51093. #. type: table
  51094. #: guix-git/doc/guix.texi:33175
  51095. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  51096. msgstr ""
  51097. #. type: item
  51098. #: guix-git/doc/guix.texi:33176
  51099. #, no-wrap
  51100. msgid "@code{specifications} (default: @code{#~'()})"
  51101. msgstr ""
  51102. #. type: table
  51103. #: guix-git/doc/guix.texi:33180
  51104. msgid "A gexp (@pxref{G-Expressions}) that evaluates to a list of specifications records. The specification record is described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  51105. msgstr ""
  51106. #. type: item
  51107. #: guix-git/doc/guix.texi:33181
  51108. #, no-wrap
  51109. msgid "@code{use-substitutes?} (default: @code{#f})"
  51110. msgstr ""
  51111. #. type: table
  51112. #: guix-git/doc/guix.texi:33184
  51113. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  51114. msgstr ""
  51115. #. type: item
  51116. #: guix-git/doc/guix.texi:33185 guix-git/doc/guix.texi:41460
  51117. #, no-wrap
  51118. msgid "@code{one-shot?} (default: @code{#f})"
  51119. msgstr ""
  51120. #. type: table
  51121. #: guix-git/doc/guix.texi:33187
  51122. msgid "Only evaluate specifications and build derivations once."
  51123. msgstr ""
  51124. #. type: item
  51125. #: guix-git/doc/guix.texi:33188
  51126. #, no-wrap
  51127. msgid "@code{fallback?} (default: @code{#f})"
  51128. msgstr "@code{fallback?} (padrão: @code{#f})"
  51129. #. type: table
  51130. #: guix-git/doc/guix.texi:33191
  51131. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  51132. msgstr ""
  51133. #. type: table
  51134. #: guix-git/doc/guix.texi:33194
  51135. msgid "Extra options to pass when running the Cuirass processes."
  51136. msgstr ""
  51137. #. type: cindex
  51138. #: guix-git/doc/guix.texi:33198
  51139. #, fuzzy, no-wrap
  51140. msgid "remote build"
  51141. msgstr "compilações reproduzíveis"
  51142. #. type: subsubheading
  51143. #: guix-git/doc/guix.texi:33199
  51144. #, no-wrap
  51145. msgid "Cuirass remote building"
  51146. msgstr ""
  51147. #. type: Plain text
  51148. #: guix-git/doc/guix.texi:33202
  51149. msgid "Cuirass supports two mechanisms to build derivations."
  51150. msgstr ""
  51151. #. type: item
  51152. #: guix-git/doc/guix.texi:33204
  51153. #, fuzzy, no-wrap
  51154. msgid "Using the local Guix daemon."
  51155. msgstr "Executando o daemon de compilação."
  51156. #. type: itemize
  51157. #: guix-git/doc/guix.texi:33208
  51158. msgid "This is the default build mechanism. Once the build jobs are evaluated, they are sent to the local Guix daemon. Cuirass then listens to the Guix daemon output to detect the various build events."
  51159. msgstr ""
  51160. #. type: item
  51161. #: guix-git/doc/guix.texi:33209
  51162. #, fuzzy, no-wrap
  51163. msgid "Using the remote build mechanism."
  51164. msgstr "Preparando o ambiente de compilação isolado."
  51165. #. type: itemize
  51166. #: guix-git/doc/guix.texi:33213
  51167. msgid "The build jobs are not submitted to the local Guix daemon. Instead, a remote server dispatches build requests to the connect remote workers, according to the build priorities."
  51168. msgstr ""
  51169. #. type: Plain text
  51170. #: guix-git/doc/guix.texi:33220
  51171. msgid "To enable this build mode a @code{cuirass-remote-server-configuration} record must be passed as @code{remote-server} argument of the @code{cuirass-configuration} record. The @code{cuirass-remote-server-configuration} record is described below."
  51172. msgstr ""
  51173. #. type: Plain text
  51174. #: guix-git/doc/guix.texi:33225
  51175. msgid "This build mode scales way better than the default build mode. This is the build mode that is used on the GNU Guix build farm at @url{https://ci.guix.gnu.org}. It should be preferred when using Cuirass to build large amount of packages."
  51176. msgstr ""
  51177. #. type: deftp
  51178. #: guix-git/doc/guix.texi:33226
  51179. #, no-wrap
  51180. msgid "{Data Type} cuirass-remote-server-configuration"
  51181. msgstr ""
  51182. #. type: deftp
  51183. #: guix-git/doc/guix.texi:33228
  51184. msgid "Data type representing the configuration of the Cuirass remote-server."
  51185. msgstr ""
  51186. #. type: item
  51187. #: guix-git/doc/guix.texi:33230
  51188. #, fuzzy, no-wrap
  51189. msgid "@code{backend-port} (default: @code{5555})"
  51190. msgstr "@code{porta} (default: @code{53})"
  51191. #. type: table
  51192. #: guix-git/doc/guix.texi:33233
  51193. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  51194. msgstr ""
  51195. #. type: item
  51196. #: guix-git/doc/guix.texi:33234
  51197. #, fuzzy, no-wrap
  51198. msgid "@code{log-port} (default: @code{5556})"
  51199. msgstr "@code{porta} (default: @code{53})"
  51200. #. type: table
  51201. #: guix-git/doc/guix.texi:33236
  51202. msgid "The TCP port of the log server. It defaults to @code{5556}."
  51203. msgstr ""
  51204. #. type: item
  51205. #: guix-git/doc/guix.texi:33237
  51206. #, fuzzy, no-wrap
  51207. msgid "@code{publish-port} (default: @code{5557})"
  51208. msgstr "@code{publish?} (padrão: @code{#t})"
  51209. #. type: table
  51210. #: guix-git/doc/guix.texi:33239
  51211. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  51212. msgstr ""
  51213. #. type: item
  51214. #: guix-git/doc/guix.texi:33240
  51215. #, fuzzy, no-wrap
  51216. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  51217. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  51218. #. type: item
  51219. #: guix-git/doc/guix.texi:33243
  51220. #, fuzzy, no-wrap
  51221. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  51222. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  51223. #. type: table
  51224. #: guix-git/doc/guix.texi:33245
  51225. msgid "Use @var{cache} directory to cache build log files."
  51226. msgstr ""
  51227. #. type: item
  51228. #: guix-git/doc/guix.texi:33246
  51229. #, fuzzy, no-wrap
  51230. msgid "@code{trigger-url} (default: @code{#f})"
  51231. msgstr "@code{term} (default: @code{#f})"
  51232. #. type: table
  51233. #: guix-git/doc/guix.texi:33249
  51234. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  51235. msgstr ""
  51236. #. type: table
  51237. #: guix-git/doc/guix.texi:33254
  51238. msgid "If set to false, do not start a publish server and ignore the @code{publish-port} argument. This can be useful if there is already a standalone publish server standing next to the remote server."
  51239. msgstr ""
  51240. #. type: code{#1}
  51241. #: guix-git/doc/guix.texi:33256 guix-git/doc/guix.texi:33293
  51242. #, no-wrap
  51243. msgid "private-key"
  51244. msgstr ""
  51245. #. type: Plain text
  51246. #: guix-git/doc/guix.texi:33265
  51247. msgid "At least one remote worker must also be started on any machine of the local network to actually perform the builds and report their status."
  51248. msgstr ""
  51249. #. type: deftp
  51250. #: guix-git/doc/guix.texi:33266
  51251. #, no-wrap
  51252. msgid "{Data Type} cuirass-remote-worker-configuration"
  51253. msgstr ""
  51254. #. type: deftp
  51255. #: guix-git/doc/guix.texi:33268
  51256. msgid "Data type representing the configuration of the Cuirass remote-worker."
  51257. msgstr ""
  51258. #. type: item
  51259. #: guix-git/doc/guix.texi:33273
  51260. #, fuzzy, no-wrap
  51261. msgid "@code{workers} (default: @code{1})"
  51262. msgstr "@code{workers} (default: @code{#f})"
  51263. #. type: table
  51264. #: guix-git/doc/guix.texi:33275
  51265. msgid "Start @var{workers} parallel workers."
  51266. msgstr ""
  51267. #. type: table
  51268. #: guix-git/doc/guix.texi:33279
  51269. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  51270. msgstr ""
  51271. #. type: item
  51272. #: guix-git/doc/guix.texi:33280
  51273. #, no-wrap
  51274. msgid "@code{systems} (default: @code{(list (%current-system))})"
  51275. msgstr ""
  51276. #. type: table
  51277. #: guix-git/doc/guix.texi:33282
  51278. msgid "Only request builds for the given @var{systems}."
  51279. msgstr ""
  51280. #. type: item
  51281. #: guix-git/doc/guix.texi:33283
  51282. #, fuzzy, no-wrap
  51283. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  51284. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  51285. #. type: item
  51286. #: guix-git/doc/guix.texi:33286
  51287. #, fuzzy, no-wrap
  51288. msgid "@code{publish-port} (default: @code{5558})"
  51289. msgstr "@code{publish?} (padrão: @code{#t})"
  51290. #. type: table
  51291. #: guix-git/doc/guix.texi:33288
  51292. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  51293. msgstr ""
  51294. #. type: subsubheading
  51295. #: guix-git/doc/guix.texi:33300
  51296. #, no-wrap
  51297. msgid "Laminar"
  51298. msgstr ""
  51299. #. type: Plain text
  51300. #: guix-git/doc/guix.texi:33305
  51301. msgid "@uref{https://laminar.ohwg.net/, Laminar} is a lightweight and modular Continuous Integration service. It doesn't have a configuration web UI instead uses version-controllable configuration files and scripts."
  51302. msgstr ""
  51303. #. type: Plain text
  51304. #: guix-git/doc/guix.texi:33308
  51305. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  51306. msgstr ""
  51307. #. type: defvr
  51308. #: guix-git/doc/guix.texi:33309
  51309. #, no-wrap
  51310. msgid "{Scheme Procedure} laminar-service-type"
  51311. msgstr ""
  51312. #. type: defvr
  51313. #: guix-git/doc/guix.texi:33312
  51314. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  51315. msgstr ""
  51316. #. type: defvr
  51317. #: guix-git/doc/guix.texi:33316
  51318. msgid "All configuration values have defaults, a minimal configuration to get Laminar running is shown below. By default, the web interface is available on port 8080."
  51319. msgstr ""
  51320. #. type: lisp
  51321. #: guix-git/doc/guix.texi:33319
  51322. #, no-wrap
  51323. msgid "(service laminar-service-type)\n"
  51324. msgstr ""
  51325. #. type: deftp
  51326. #: guix-git/doc/guix.texi:33322
  51327. #, fuzzy, no-wrap
  51328. msgid "{Data Type} laminar-configuration"
  51329. msgstr "build-machine {Data Type}"
  51330. #. type: deftp
  51331. #: guix-git/doc/guix.texi:33324
  51332. #, fuzzy
  51333. msgid "Data type representing the configuration of Laminar."
  51334. msgstr "Gerencie a configuração do sistema operacional."
  51335. #. type: item
  51336. #: guix-git/doc/guix.texi:33326
  51337. #, fuzzy, no-wrap
  51338. msgid "@code{laminar} (default: @code{laminar})"
  51339. msgstr "@code{tmpdir} (default: @code{#f})"
  51340. #. type: table
  51341. #: guix-git/doc/guix.texi:33328
  51342. #, fuzzy
  51343. msgid "The Laminar package to use."
  51344. msgstr "O pacote GPM a ser usado."
  51345. #. type: item
  51346. #: guix-git/doc/guix.texi:33329
  51347. #, fuzzy, no-wrap
  51348. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  51349. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  51350. #. type: table
  51351. #: guix-git/doc/guix.texi:33331
  51352. msgid "The directory for job configurations and run directories."
  51353. msgstr ""
  51354. #. type: item
  51355. #: guix-git/doc/guix.texi:33332
  51356. #, fuzzy, no-wrap
  51357. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  51358. msgstr "@code{porta} (default: @code{\"6600\"})"
  51359. #. type: table
  51360. #: guix-git/doc/guix.texi:33335
  51361. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  51362. msgstr ""
  51363. #. type: item
  51364. #: guix-git/doc/guix.texi:33336
  51365. #, fuzzy, no-wrap
  51366. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  51367. msgstr "@code{tor} (default: @code{tor})"
  51368. #. type: table
  51369. #: guix-git/doc/guix.texi:33339
  51370. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  51371. msgstr ""
  51372. #. type: item
  51373. #: guix-git/doc/guix.texi:33340
  51374. #, fuzzy, no-wrap
  51375. msgid "@code{title} (default: @code{\"Laminar\"})"
  51376. msgstr "@code{ttl} (default: @code{#f})"
  51377. #. type: table
  51378. #: guix-git/doc/guix.texi:33342
  51379. msgid "The page title to show in the web frontend."
  51380. msgstr ""
  51381. #. type: item
  51382. #: guix-git/doc/guix.texi:33343
  51383. #, fuzzy, no-wrap
  51384. msgid "@code{keep-rundirs} (default: @code{0})"
  51385. msgstr "@code{workers} (default: @code{#f})"
  51386. #. type: table
  51387. #: guix-git/doc/guix.texi:33347
  51388. msgid "Set to an integer defining how many rundirs to keep per job. The lowest-numbered ones will be deleted. The default is 0, meaning all run dirs will be immediately deleted."
  51389. msgstr ""
  51390. #. type: item
  51391. #: guix-git/doc/guix.texi:33348
  51392. #, fuzzy, no-wrap
  51393. msgid "@code{archive-url} (default: @code{#f})"
  51394. msgstr "@code{term} (default: @code{#f})"
  51395. #. type: table
  51396. #: guix-git/doc/guix.texi:33351
  51397. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  51398. msgstr ""
  51399. #. type: item
  51400. #: guix-git/doc/guix.texi:33352
  51401. #, fuzzy, no-wrap
  51402. msgid "@code{base-url} (default: @code{#f})"
  51403. msgstr "@code{users} (default: @code{#f})"
  51404. #. type: table
  51405. #: guix-git/doc/guix.texi:33354
  51406. msgid "Base URL to use for links to laminar itself."
  51407. msgstr ""
  51408. #. type: cindex
  51409. #: guix-git/doc/guix.texi:33361
  51410. #, no-wrap
  51411. msgid "tlp"
  51412. msgstr ""
  51413. #. type: cindex
  51414. #: guix-git/doc/guix.texi:33362
  51415. #, no-wrap
  51416. msgid "power management with TLP"
  51417. msgstr ""
  51418. #. type: subsubheading
  51419. #: guix-git/doc/guix.texi:33363
  51420. #, no-wrap
  51421. msgid "TLP daemon"
  51422. msgstr ""
  51423. #. type: Plain text
  51424. #: guix-git/doc/guix.texi:33367
  51425. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  51426. msgstr ""
  51427. #. type: Plain text
  51428. #: guix-git/doc/guix.texi:33373
  51429. msgid "TLP enables various powersaving modes in userspace and kernel. Contrary to @code{upower-service}, it is not a passive, monitoring tool, as it will apply custom settings each time a new power source is detected. More information can be found at @uref{https://linrunner.de/en/tlp/tlp.html, TLP home page}."
  51430. msgstr ""
  51431. #. type: defvar
  51432. #: guix-git/doc/guix.texi:33374
  51433. #, fuzzy, no-wrap
  51434. #| msgid "guix-publish-service-type"
  51435. msgid "tlp-service-type"
  51436. msgstr "guix-publish-service-type"
  51437. #. type: defvar
  51438. #: guix-git/doc/guix.texi:33378
  51439. msgid "The service type for the TLP tool. The default settings are optimised for battery life on most systems, but you can tweak them to your heart's content by adding a valid @code{tlp-configuration}:"
  51440. msgstr ""
  51441. #. type: lisp
  51442. #: guix-git/doc/guix.texi:33383
  51443. #, no-wrap
  51444. msgid ""
  51445. "(service tlp-service-type\n"
  51446. " (tlp-configuration\n"
  51447. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  51448. " (sched-powersave-on-bat? #t)))\n"
  51449. msgstr ""
  51450. #. type: Plain text
  51451. #: guix-git/doc/guix.texi:33391
  51452. msgid "Each parameter definition is preceded by its type; for example, @samp{boolean foo} indicates that the @code{foo} parameter should be specified as a boolean. Types starting with @code{maybe-} denote parameters that won't show up in TLP config file when their value is left unset, or is explicitly set to the @code{%unset-value} value."
  51453. msgstr ""
  51454. #. type: Plain text
  51455. #: guix-git/doc/guix.texi:33401
  51456. msgid "Available @code{tlp-configuration} fields are:"
  51457. msgstr ""
  51458. #. type: deftypevr
  51459. #: guix-git/doc/guix.texi:33402
  51460. #, no-wrap
  51461. msgid "{@code{tlp-configuration} parameter} package tlp"
  51462. msgstr ""
  51463. #. type: deftypevr
  51464. #: guix-git/doc/guix.texi:33404
  51465. msgid "The TLP package."
  51466. msgstr ""
  51467. #. type: deftypevr
  51468. #: guix-git/doc/guix.texi:33407
  51469. #, no-wrap
  51470. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  51471. msgstr ""
  51472. #. type: deftypevr
  51473. #: guix-git/doc/guix.texi:33409
  51474. msgid "Set to true if you wish to enable TLP."
  51475. msgstr ""
  51476. #. type: deftypevr
  51477. #: guix-git/doc/guix.texi:33414
  51478. #, no-wrap
  51479. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  51480. msgstr ""
  51481. #. type: deftypevr
  51482. #: guix-git/doc/guix.texi:33417
  51483. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  51484. msgstr ""
  51485. #. type: deftypevr
  51486. #: guix-git/doc/guix.texi:33419
  51487. msgid "Defaults to @samp{\"AC\"}."
  51488. msgstr ""
  51489. #. type: deftypevr
  51490. #: guix-git/doc/guix.texi:33422
  51491. #, no-wrap
  51492. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  51493. msgstr ""
  51494. #. type: deftypevr
  51495. #: guix-git/doc/guix.texi:33425
  51496. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  51497. msgstr ""
  51498. #. type: deftypevr
  51499. #: guix-git/doc/guix.texi:33430
  51500. #, no-wrap
  51501. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  51502. msgstr ""
  51503. #. type: deftypevr
  51504. #: guix-git/doc/guix.texi:33432
  51505. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  51506. msgstr ""
  51507. #. type: deftypevr
  51508. #: guix-git/doc/guix.texi:33434
  51509. msgid "Defaults to @samp{2}."
  51510. msgstr ""
  51511. #. type: deftypevr
  51512. #: guix-git/doc/guix.texi:33437
  51513. #, no-wrap
  51514. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  51515. msgstr ""
  51516. #. type: deftypevr
  51517. #: guix-git/doc/guix.texi:33439
  51518. msgid "Dirty pages flushing periodicity, expressed in seconds."
  51519. msgstr ""
  51520. #. type: deftypevr
  51521. #: guix-git/doc/guix.texi:33441 guix-git/doc/guix.texi:33664
  51522. #: guix-git/doc/guix.texi:36235 guix-git/doc/guix.texi:36243
  51523. msgid "Defaults to @samp{15}."
  51524. msgstr ""
  51525. #. type: deftypevr
  51526. #: guix-git/doc/guix.texi:33444
  51527. #, no-wrap
  51528. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  51529. msgstr ""
  51530. #. type: deftypevr
  51531. #: guix-git/doc/guix.texi:33446
  51532. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  51533. msgstr ""
  51534. #. type: deftypevr
  51535. #: guix-git/doc/guix.texi:33448
  51536. msgid "Defaults to @samp{60}."
  51537. msgstr ""
  51538. #. type: deftypevr
  51539. #: guix-git/doc/guix.texi:33451
  51540. #, no-wrap
  51541. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  51542. msgstr ""
  51543. #. type: deftypevr
  51544. #: guix-git/doc/guix.texi:33455
  51545. msgid "CPU frequency scaling governor on AC mode. With intel_pstate driver, alternatives are powersave and performance. With acpi-cpufreq driver, alternatives are ondemand, powersave, performance and conservative."
  51546. msgstr ""
  51547. #. type: deftypevr
  51548. #: guix-git/doc/guix.texi:33460
  51549. #, no-wrap
  51550. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  51551. msgstr ""
  51552. #. type: deftypevr
  51553. #: guix-git/doc/guix.texi:33462
  51554. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  51555. msgstr ""
  51556. #. type: deftypevr
  51557. #: guix-git/doc/guix.texi:33467
  51558. #, no-wrap
  51559. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  51560. msgstr ""
  51561. #. type: deftypevr
  51562. #: guix-git/doc/guix.texi:33469
  51563. msgid "Set the min available frequency for the scaling governor on AC."
  51564. msgstr ""
  51565. #. type: deftypevr
  51566. #: guix-git/doc/guix.texi:33474
  51567. #, no-wrap
  51568. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  51569. msgstr ""
  51570. #. type: deftypevr
  51571. #: guix-git/doc/guix.texi:33476
  51572. msgid "Set the max available frequency for the scaling governor on AC."
  51573. msgstr ""
  51574. #. type: deftypevr
  51575. #: guix-git/doc/guix.texi:33481
  51576. #, no-wrap
  51577. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  51578. msgstr ""
  51579. #. type: deftypevr
  51580. #: guix-git/doc/guix.texi:33483
  51581. msgid "Set the min available frequency for the scaling governor on BAT."
  51582. msgstr ""
  51583. #. type: deftypevr
  51584. #: guix-git/doc/guix.texi:33488
  51585. #, no-wrap
  51586. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  51587. msgstr ""
  51588. #. type: deftypevr
  51589. #: guix-git/doc/guix.texi:33490
  51590. msgid "Set the max available frequency for the scaling governor on BAT."
  51591. msgstr ""
  51592. #. type: deftypevr
  51593. #: guix-git/doc/guix.texi:33495
  51594. #, no-wrap
  51595. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  51596. msgstr ""
  51597. #. type: deftypevr
  51598. #: guix-git/doc/guix.texi:33498
  51599. msgid "Limit the min P-state to control the power dissipation of the CPU, in AC mode. Values are stated as a percentage of the available performance."
  51600. msgstr ""
  51601. #. type: deftypevr
  51602. #: guix-git/doc/guix.texi:33503
  51603. #, no-wrap
  51604. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  51605. msgstr ""
  51606. #. type: deftypevr
  51607. #: guix-git/doc/guix.texi:33506
  51608. msgid "Limit the max P-state to control the power dissipation of the CPU, in AC mode. Values are stated as a percentage of the available performance."
  51609. msgstr ""
  51610. #. type: deftypevr
  51611. #: guix-git/doc/guix.texi:33511
  51612. #, no-wrap
  51613. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  51614. msgstr ""
  51615. #. type: deftypevr
  51616. #: guix-git/doc/guix.texi:33513
  51617. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  51618. msgstr ""
  51619. #. type: deftypevr
  51620. #: guix-git/doc/guix.texi:33518
  51621. #, no-wrap
  51622. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  51623. msgstr ""
  51624. #. type: deftypevr
  51625. #: guix-git/doc/guix.texi:33520
  51626. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  51627. msgstr ""
  51628. #. type: deftypevr
  51629. #: guix-git/doc/guix.texi:33525
  51630. #, no-wrap
  51631. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  51632. msgstr ""
  51633. #. type: deftypevr
  51634. #: guix-git/doc/guix.texi:33527
  51635. msgid "Enable CPU turbo boost feature on AC mode."
  51636. msgstr ""
  51637. #. type: deftypevr
  51638. #: guix-git/doc/guix.texi:33532
  51639. #, no-wrap
  51640. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  51641. msgstr ""
  51642. #. type: deftypevr
  51643. #: guix-git/doc/guix.texi:33534
  51644. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  51645. msgstr ""
  51646. #. type: deftypevr
  51647. #: guix-git/doc/guix.texi:33539
  51648. #, no-wrap
  51649. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  51650. msgstr ""
  51651. #. type: deftypevr
  51652. #: guix-git/doc/guix.texi:33542
  51653. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  51654. msgstr ""
  51655. #. type: deftypevr
  51656. #: guix-git/doc/guix.texi:33547
  51657. #, no-wrap
  51658. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  51659. msgstr ""
  51660. #. type: deftypevr
  51661. #: guix-git/doc/guix.texi:33549
  51662. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  51663. msgstr ""
  51664. #. type: deftypevr
  51665. #: guix-git/doc/guix.texi:33554
  51666. #, no-wrap
  51667. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  51668. msgstr ""
  51669. #. type: deftypevr
  51670. #: guix-git/doc/guix.texi:33556
  51671. msgid "Enable Linux kernel NMI watchdog."
  51672. msgstr ""
  51673. #. type: deftypevr
  51674. #: guix-git/doc/guix.texi:33561
  51675. #, no-wrap
  51676. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  51677. msgstr ""
  51678. #. type: deftypevr
  51679. #: guix-git/doc/guix.texi:33564
  51680. msgid "For Linux kernels with PHC patch applied, change CPU voltages. An example value would be @samp{\"F:V F:V F:V F:V\"}."
  51681. msgstr ""
  51682. #. type: deftypevr
  51683. #: guix-git/doc/guix.texi:33569
  51684. #, no-wrap
  51685. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  51686. msgstr ""
  51687. #. type: deftypevr
  51688. #: guix-git/doc/guix.texi:33572
  51689. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  51690. msgstr ""
  51691. #. type: deftypevr
  51692. #: guix-git/doc/guix.texi:33574 guix-git/doc/guix.texi:33672
  51693. #: guix-git/doc/guix.texi:33730
  51694. msgid "Defaults to @samp{\"performance\"}."
  51695. msgstr ""
  51696. #. type: deftypevr
  51697. #: guix-git/doc/guix.texi:33577
  51698. #, no-wrap
  51699. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  51700. msgstr ""
  51701. #. type: deftypevr
  51702. #: guix-git/doc/guix.texi:33579
  51703. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  51704. msgstr ""
  51705. #. type: deftypevr
  51706. #: guix-git/doc/guix.texi:33581 guix-git/doc/guix.texi:33679
  51707. msgid "Defaults to @samp{\"powersave\"}."
  51708. msgstr ""
  51709. #. type: deftypevr
  51710. #: guix-git/doc/guix.texi:33584
  51711. #, no-wrap
  51712. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  51713. msgstr ""
  51714. #. type: deftypevr
  51715. #: guix-git/doc/guix.texi:33586
  51716. msgid "Hard disk devices."
  51717. msgstr ""
  51718. #. type: deftypevr
  51719. #: guix-git/doc/guix.texi:33589
  51720. #, no-wrap
  51721. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  51722. msgstr ""
  51723. #. type: deftypevr
  51724. #: guix-git/doc/guix.texi:33591
  51725. msgid "Hard disk advanced power management level."
  51726. msgstr ""
  51727. #. type: deftypevr
  51728. #: guix-git/doc/guix.texi:33594
  51729. #, no-wrap
  51730. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  51731. msgstr ""
  51732. #. type: deftypevr
  51733. #: guix-git/doc/guix.texi:33596
  51734. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  51735. msgstr ""
  51736. #. type: deftypevr
  51737. #: guix-git/doc/guix.texi:33599
  51738. #, no-wrap
  51739. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  51740. msgstr ""
  51741. #. type: deftypevr
  51742. #: guix-git/doc/guix.texi:33602
  51743. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  51744. msgstr ""
  51745. #. type: deftypevr
  51746. #: guix-git/doc/guix.texi:33607
  51747. #, no-wrap
  51748. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  51749. msgstr ""
  51750. #. type: deftypevr
  51751. #: guix-git/doc/guix.texi:33609
  51752. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  51753. msgstr ""
  51754. #. type: deftypevr
  51755. #: guix-git/doc/guix.texi:33614
  51756. #, no-wrap
  51757. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  51758. msgstr ""
  51759. #. type: deftypevr
  51760. #: guix-git/doc/guix.texi:33618
  51761. msgid "Select IO scheduler for disk devices. One value has to be specified for each declared hard disk. Example alternatives are cfq, deadline and noop."
  51762. msgstr ""
  51763. #. type: deftypevr
  51764. #: guix-git/doc/guix.texi:33623
  51765. #, no-wrap
  51766. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  51767. msgstr ""
  51768. #. type: deftypevr
  51769. #: guix-git/doc/guix.texi:33626
  51770. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  51771. msgstr ""
  51772. #. type: deftypevr
  51773. #: guix-git/doc/guix.texi:33628
  51774. msgid "Defaults to @samp{\"max_performance\"}."
  51775. msgstr ""
  51776. #. type: deftypevr
  51777. #: guix-git/doc/guix.texi:33631
  51778. #, no-wrap
  51779. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  51780. msgstr ""
  51781. #. type: deftypevr
  51782. #: guix-git/doc/guix.texi:33633
  51783. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  51784. msgstr ""
  51785. #. type: deftypevr
  51786. #: guix-git/doc/guix.texi:33635
  51787. msgid "Defaults to @samp{\"min_power\"}."
  51788. msgstr ""
  51789. #. type: deftypevr
  51790. #: guix-git/doc/guix.texi:33638
  51791. #, no-wrap
  51792. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  51793. msgstr ""
  51794. #. type: deftypevr
  51795. #: guix-git/doc/guix.texi:33640
  51796. msgid "Exclude specified SATA host devices for link power management."
  51797. msgstr ""
  51798. #. type: deftypevr
  51799. #: guix-git/doc/guix.texi:33645
  51800. #, no-wrap
  51801. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  51802. msgstr ""
  51803. #. type: deftypevr
  51804. #: guix-git/doc/guix.texi:33648
  51805. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  51806. msgstr ""
  51807. #. type: deftypevr
  51808. #: guix-git/doc/guix.texi:33653
  51809. #, no-wrap
  51810. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  51811. msgstr ""
  51812. #. type: deftypevr
  51813. #: guix-git/doc/guix.texi:33655
  51814. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  51815. msgstr ""
  51816. #. type: deftypevr
  51817. #: guix-git/doc/guix.texi:33660
  51818. #, no-wrap
  51819. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  51820. msgstr ""
  51821. #. type: deftypevr
  51822. #: guix-git/doc/guix.texi:33662
  51823. msgid "Seconds of inactivity before disk is suspended."
  51824. msgstr ""
  51825. #. type: deftypevr
  51826. #: guix-git/doc/guix.texi:33667
  51827. #, no-wrap
  51828. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  51829. msgstr ""
  51830. #. type: deftypevr
  51831. #: guix-git/doc/guix.texi:33670
  51832. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  51833. msgstr ""
  51834. #. type: deftypevr
  51835. #: guix-git/doc/guix.texi:33675
  51836. #, no-wrap
  51837. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  51838. msgstr ""
  51839. #. type: deftypevr
  51840. #: guix-git/doc/guix.texi:33677
  51841. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  51842. msgstr ""
  51843. #. type: deftypevr
  51844. #: guix-git/doc/guix.texi:33682
  51845. #, no-wrap
  51846. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer start-charge-thresh-bat0"
  51847. msgstr ""
  51848. #. type: deftypevr
  51849. #: guix-git/doc/guix.texi:33684
  51850. msgid "Percentage when battery 0 should begin charging. Only supported on some laptops."
  51851. msgstr ""
  51852. #. type: deftypevr
  51853. #: guix-git/doc/guix.texi:33689
  51854. #, no-wrap
  51855. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer stop-charge-thresh-bat0"
  51856. msgstr ""
  51857. #. type: deftypevr
  51858. #: guix-git/doc/guix.texi:33691
  51859. msgid "Percentage when battery 0 should stop charging. Only supported on some laptops."
  51860. msgstr ""
  51861. #. type: deftypevr
  51862. #: guix-git/doc/guix.texi:33696
  51863. #, no-wrap
  51864. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer start-charge-thresh-bat1"
  51865. msgstr ""
  51866. #. type: deftypevr
  51867. #: guix-git/doc/guix.texi:33698
  51868. msgid "Percentage when battery 1 should begin charging. Only supported on some laptops."
  51869. msgstr ""
  51870. #. type: deftypevr
  51871. #: guix-git/doc/guix.texi:33703
  51872. #, no-wrap
  51873. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer stop-charge-thresh-bat1"
  51874. msgstr ""
  51875. #. type: deftypevr
  51876. #: guix-git/doc/guix.texi:33705
  51877. msgid "Percentage when battery 1 should stop charging. Only supported on some laptops."
  51878. msgstr ""
  51879. #. type: deftypevr
  51880. #: guix-git/doc/guix.texi:33710
  51881. #, no-wrap
  51882. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  51883. msgstr ""
  51884. #. type: deftypevr
  51885. #: guix-git/doc/guix.texi:33713
  51886. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  51887. msgstr ""
  51888. #. type: deftypevr
  51889. #: guix-git/doc/guix.texi:33715
  51890. msgid "Defaults to @samp{\"high\"}."
  51891. msgstr ""
  51892. #. type: deftypevr
  51893. #: guix-git/doc/guix.texi:33718
  51894. #, no-wrap
  51895. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  51896. msgstr ""
  51897. #. type: deftypevr
  51898. #: guix-git/doc/guix.texi:33720
  51899. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  51900. msgstr ""
  51901. #. type: deftypevr
  51902. #: guix-git/doc/guix.texi:33722
  51903. msgid "Defaults to @samp{\"low\"}."
  51904. msgstr ""
  51905. #. type: deftypevr
  51906. #: guix-git/doc/guix.texi:33725
  51907. #, no-wrap
  51908. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  51909. msgstr ""
  51910. #. type: deftypevr
  51911. #: guix-git/doc/guix.texi:33728
  51912. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  51913. msgstr ""
  51914. #. type: deftypevr
  51915. #: guix-git/doc/guix.texi:33733
  51916. #, no-wrap
  51917. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  51918. msgstr ""
  51919. #. type: deftypevr
  51920. #: guix-git/doc/guix.texi:33735
  51921. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  51922. msgstr ""
  51923. #. type: deftypevr
  51924. #: guix-git/doc/guix.texi:33737
  51925. msgid "Defaults to @samp{\"battery\"}."
  51926. msgstr ""
  51927. #. type: deftypevr
  51928. #: guix-git/doc/guix.texi:33740
  51929. #, no-wrap
  51930. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  51931. msgstr ""
  51932. #. type: deftypevr
  51933. #: guix-git/doc/guix.texi:33742
  51934. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  51935. msgstr ""
  51936. #. type: deftypevr
  51937. #: guix-git/doc/guix.texi:33744 guix-git/doc/guix.texi:33751
  51938. #: guix-git/doc/guix.texi:33825
  51939. msgid "Defaults to @samp{\"auto\"}."
  51940. msgstr ""
  51941. #. type: deftypevr
  51942. #: guix-git/doc/guix.texi:33747
  51943. #, no-wrap
  51944. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  51945. msgstr ""
  51946. #. type: deftypevr
  51947. #: guix-git/doc/guix.texi:33749
  51948. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  51949. msgstr ""
  51950. #. type: deftypevr
  51951. #: guix-git/doc/guix.texi:33754
  51952. #, no-wrap
  51953. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  51954. msgstr ""
  51955. #. type: deftypevr
  51956. #: guix-git/doc/guix.texi:33756
  51957. msgid "Wifi power saving mode."
  51958. msgstr ""
  51959. #. type: deftypevr
  51960. #: guix-git/doc/guix.texi:33761
  51961. #, no-wrap
  51962. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  51963. msgstr ""
  51964. #. type: deftypevr
  51965. #: guix-git/doc/guix.texi:33763
  51966. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  51967. msgstr ""
  51968. #. type: deftypevr
  51969. #: guix-git/doc/guix.texi:33768
  51970. #, no-wrap
  51971. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  51972. msgstr ""
  51973. #. type: deftypevr
  51974. #: guix-git/doc/guix.texi:33770
  51975. msgid "Disable wake on LAN."
  51976. msgstr ""
  51977. #. type: deftypevr
  51978. #: guix-git/doc/guix.texi:33775
  51979. #, no-wrap
  51980. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  51981. msgstr ""
  51982. #. type: deftypevr
  51983. #: guix-git/doc/guix.texi:33778
  51984. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  51985. msgstr ""
  51986. #. type: deftypevr
  51987. #: guix-git/doc/guix.texi:33783
  51988. #, no-wrap
  51989. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  51990. msgstr ""
  51991. #. type: deftypevr
  51992. #: guix-git/doc/guix.texi:33785
  51993. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  51994. msgstr ""
  51995. #. type: deftypevr
  51996. #: guix-git/doc/guix.texi:33790
  51997. #, no-wrap
  51998. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  51999. msgstr ""
  52000. #. type: deftypevr
  52001. #: guix-git/doc/guix.texi:33792
  52002. msgid "Disable controller in powersaving mode on Intel HDA devices."
  52003. msgstr ""
  52004. #. type: deftypevr
  52005. #: guix-git/doc/guix.texi:33797
  52006. #, no-wrap
  52007. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  52008. msgstr ""
  52009. #. type: deftypevr
  52010. #: guix-git/doc/guix.texi:33801
  52011. msgid "Enable optical drive in UltraBay/MediaBay on BAT mode. Drive can be powered on again by releasing (and reinserting) the eject lever or by pressing the disc eject button on newer models."
  52012. msgstr ""
  52013. #. type: deftypevr
  52014. #: guix-git/doc/guix.texi:33806
  52015. #, no-wrap
  52016. msgid "{@code{tlp-configuration} parameter} string bay-device"
  52017. msgstr ""
  52018. #. type: deftypevr
  52019. #: guix-git/doc/guix.texi:33808
  52020. msgid "Name of the optical drive device to power off."
  52021. msgstr ""
  52022. #. type: deftypevr
  52023. #: guix-git/doc/guix.texi:33810
  52024. msgid "Defaults to @samp{\"sr0\"}."
  52025. msgstr ""
  52026. #. type: deftypevr
  52027. #: guix-git/doc/guix.texi:33813
  52028. #, no-wrap
  52029. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  52030. msgstr ""
  52031. #. type: deftypevr
  52032. #: guix-git/doc/guix.texi:33816
  52033. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  52034. msgstr ""
  52035. #. type: deftypevr
  52036. #: guix-git/doc/guix.texi:33818
  52037. msgid "Defaults to @samp{\"on\"}."
  52038. msgstr ""
  52039. #. type: deftypevr
  52040. #: guix-git/doc/guix.texi:33821
  52041. #, no-wrap
  52042. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  52043. msgstr ""
  52044. #. type: deftypevr
  52045. #: guix-git/doc/guix.texi:33823
  52046. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  52047. msgstr ""
  52048. #. type: deftypevr
  52049. #: guix-git/doc/guix.texi:33828
  52050. #, no-wrap
  52051. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  52052. msgstr ""
  52053. #. type: deftypevr
  52054. #: guix-git/doc/guix.texi:33831
  52055. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  52056. msgstr ""
  52057. #. type: deftypevr
  52058. #: guix-git/doc/guix.texi:33836
  52059. #, no-wrap
  52060. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  52061. msgstr ""
  52062. #. type: deftypevr
  52063. #: guix-git/doc/guix.texi:33838
  52064. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  52065. msgstr ""
  52066. #. type: deftypevr
  52067. #: guix-git/doc/guix.texi:33843
  52068. #, no-wrap
  52069. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  52070. msgstr ""
  52071. #. type: deftypevr
  52072. #: guix-git/doc/guix.texi:33846
  52073. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  52074. msgstr ""
  52075. #. type: deftypevr
  52076. #: guix-git/doc/guix.texi:33849
  52077. #, no-wrap
  52078. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  52079. msgstr ""
  52080. #. type: deftypevr
  52081. #: guix-git/doc/guix.texi:33851
  52082. msgid "Enable USB autosuspend feature."
  52083. msgstr ""
  52084. #. type: deftypevr
  52085. #: guix-git/doc/guix.texi:33856
  52086. #, no-wrap
  52087. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  52088. msgstr ""
  52089. #. type: deftypevr
  52090. #: guix-git/doc/guix.texi:33858
  52091. msgid "Exclude specified devices from USB autosuspend."
  52092. msgstr ""
  52093. #. type: deftypevr
  52094. #: guix-git/doc/guix.texi:33863
  52095. #, no-wrap
  52096. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  52097. msgstr ""
  52098. #. type: deftypevr
  52099. #: guix-git/doc/guix.texi:33865
  52100. msgid "Exclude WWAN devices from USB autosuspend."
  52101. msgstr ""
  52102. #. type: deftypevr
  52103. #: guix-git/doc/guix.texi:33870
  52104. #, no-wrap
  52105. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  52106. msgstr ""
  52107. #. type: deftypevr
  52108. #: guix-git/doc/guix.texi:33873
  52109. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  52110. msgstr ""
  52111. #. type: deftypevr
  52112. #: guix-git/doc/guix.texi:33878
  52113. #, no-wrap
  52114. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  52115. msgstr ""
  52116. #. type: deftypevr
  52117. #: guix-git/doc/guix.texi:33880
  52118. msgid "Enable USB autosuspend before shutdown."
  52119. msgstr ""
  52120. #. type: deftypevr
  52121. #: guix-git/doc/guix.texi:33885
  52122. #, no-wrap
  52123. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  52124. msgstr ""
  52125. #. type: deftypevr
  52126. #: guix-git/doc/guix.texi:33888
  52127. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  52128. msgstr ""
  52129. #. type: cindex
  52130. #: guix-git/doc/guix.texi:33893
  52131. #, no-wrap
  52132. msgid "thermald"
  52133. msgstr ""
  52134. #. type: cindex
  52135. #: guix-git/doc/guix.texi:33894
  52136. #, no-wrap
  52137. msgid "CPU frequency scaling with thermald"
  52138. msgstr ""
  52139. #. type: subsubheading
  52140. #: guix-git/doc/guix.texi:33895
  52141. #, no-wrap
  52142. msgid "Thermald daemon"
  52143. msgstr ""
  52144. #. type: Plain text
  52145. #: guix-git/doc/guix.texi:33899
  52146. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  52147. msgstr ""
  52148. #. type: defvar
  52149. #: guix-git/doc/guix.texi:33900
  52150. #, fuzzy, no-wrap
  52151. #| msgid "guix-publish-service-type"
  52152. msgid "thermald-service-type"
  52153. msgstr "guix-publish-service-type"
  52154. #. type: defvar
  52155. #: guix-git/doc/guix.texi:33905
  52156. msgid "This is the service type for @uref{https://01.org/linux-thermal-daemon/, thermald}, the Linux Thermal Daemon, which is responsible for controlling the thermal state of processors and preventing overheating."
  52157. msgstr ""
  52158. #. type: deftp
  52159. #: guix-git/doc/guix.texi:33907
  52160. #, no-wrap
  52161. msgid "{Data Type} thermald-configuration"
  52162. msgstr ""
  52163. #. type: deftp
  52164. #: guix-git/doc/guix.texi:33909
  52165. msgid "Data type representing the configuration of @code{thermald-service-type}."
  52166. msgstr ""
  52167. #. type: item
  52168. #: guix-git/doc/guix.texi:33911
  52169. #, fuzzy, no-wrap
  52170. #| msgid "@code{deny?} (default: @code{#f})"
  52171. msgid "@code{adaptive?} (default: @code{#f})"
  52172. msgstr "@code{deny?} (padrão: @code{#f})"
  52173. #. type: table
  52174. #: guix-git/doc/guix.texi:33914
  52175. msgid "Use @acronym{DPTF, Dynamic Power and Thermal Framework} adaptive tables when present."
  52176. msgstr ""
  52177. #. type: item
  52178. #: guix-git/doc/guix.texi:33915
  52179. #, no-wrap
  52180. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  52181. msgstr ""
  52182. #. type: table
  52183. #: guix-git/doc/guix.texi:33917
  52184. msgid "Ignore cpuid check for supported CPU models."
  52185. msgstr ""
  52186. #. type: item
  52187. #: guix-git/doc/guix.texi:33918
  52188. #, no-wrap
  52189. msgid "@code{thermald} (default: @var{thermald})"
  52190. msgstr ""
  52191. #. type: table
  52192. #: guix-git/doc/guix.texi:33920
  52193. msgid "Package object of thermald."
  52194. msgstr ""
  52195. #. type: Plain text
  52196. #: guix-git/doc/guix.texi:33929
  52197. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  52198. msgstr ""
  52199. #. type: cindex
  52200. #: guix-git/doc/guix.texi:33930
  52201. #, no-wrap
  52202. msgid "mpd"
  52203. msgstr ""
  52204. #. type: subsubheading
  52205. #: guix-git/doc/guix.texi:33931
  52206. #, no-wrap
  52207. msgid "Music Player Daemon"
  52208. msgstr ""
  52209. #. type: Plain text
  52210. #: guix-git/doc/guix.texi:33936
  52211. msgid "The Music Player Daemon (MPD) is a service that can play music while being controlled from the local machine or over the network by a variety of clients."
  52212. msgstr ""
  52213. #. type: Plain text
  52214. #: guix-git/doc/guix.texi:33939
  52215. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  52216. msgstr ""
  52217. #. type: lisp
  52218. #: guix-git/doc/guix.texi:33945
  52219. #, no-wrap
  52220. msgid ""
  52221. "(service mpd-service-type\n"
  52222. " (mpd-configuration\n"
  52223. " (user \"bob\")\n"
  52224. " (port \"6666\")))\n"
  52225. msgstr ""
  52226. #. type: defvar
  52227. #: guix-git/doc/guix.texi:33947
  52228. #, fuzzy, no-wrap
  52229. #| msgid "guix-publish-service-type"
  52230. msgid "mpd-service-type"
  52231. msgstr "guix-publish-service-type"
  52232. #. type: defvar
  52233. #: guix-git/doc/guix.texi:33949
  52234. msgid "The service type for @command{mpd}"
  52235. msgstr ""
  52236. #. type: deftp
  52237. #: guix-git/doc/guix.texi:33951
  52238. #, no-wrap
  52239. msgid "{Data Type} mpd-configuration"
  52240. msgstr ""
  52241. #. type: deftp
  52242. #: guix-git/doc/guix.texi:33953
  52243. msgid "Data type representing the configuration of @command{mpd}."
  52244. msgstr ""
  52245. #. type: item
  52246. #: guix-git/doc/guix.texi:33955
  52247. #, fuzzy, no-wrap
  52248. #| msgid "@code{dbus?} (default: @code{#t})"
  52249. msgid "@code{package} (default: @code{mpd}) (type: file-like)"
  52250. msgstr "@code{dbus?} (padrão: @code{#t})"
  52251. #. type: table
  52252. #: guix-git/doc/guix.texi:33957
  52253. #, fuzzy
  52254. #| msgid "The GPM package to use."
  52255. msgid "The MPD package."
  52256. msgstr "O pacote GPM a ser usado."
  52257. #. type: item
  52258. #: guix-git/doc/guix.texi:33958
  52259. #, fuzzy, no-wrap
  52260. #| msgid "@code{dbus?} (default: @code{#t})"
  52261. msgid "@code{user} (default: @code{%mpd-user}) (type: user-account)"
  52262. msgstr "@code{dbus?} (padrão: @code{#t})"
  52263. #. type: table
  52264. #: guix-git/doc/guix.texi:33960
  52265. msgid "The user to run mpd as."
  52266. msgstr ""
  52267. #. type: table
  52268. #: guix-git/doc/guix.texi:33963
  52269. msgid "The default @code{%mpd-user} is a system user with the name ``mpd'', who is a part of the group @var{group} (see below)."
  52270. msgstr ""
  52271. #. type: item
  52272. #: guix-git/doc/guix.texi:33963
  52273. #, fuzzy, no-wrap
  52274. #| msgid "@code{dbus?} (default: @code{#t})"
  52275. msgid "@code{group} (default: @code{%mpd-group}) (type: user-group)"
  52276. msgstr "@code{dbus?} (padrão: @code{#t})"
  52277. #. type: table
  52278. #: guix-git/doc/guix.texi:33965
  52279. msgid "The group to run mpd as."
  52280. msgstr ""
  52281. #. type: table
  52282. #: guix-git/doc/guix.texi:33967
  52283. msgid "The default @code{%mpd-group} is a system group with name ``mpd''."
  52284. msgstr ""
  52285. #. type: item
  52286. #: guix-git/doc/guix.texi:33967 guix-git/doc/guix.texi:34198
  52287. #, fuzzy, no-wrap
  52288. #| msgid "@code{features} (default: @code{'()})"
  52289. msgid "@code{shepherd-requirement} (default: @code{'()}) (type: list-of-symbol)"
  52290. msgstr "@code{features} (padrão: @code{'()})"
  52291. #. type: table
  52292. #: guix-git/doc/guix.texi:33970
  52293. msgid "A list of symbols naming Shepherd services that this service will depend on."
  52294. msgstr ""
  52295. #. type: item
  52296. #: guix-git/doc/guix.texi:33971
  52297. #, fuzzy, no-wrap
  52298. #| msgid "@code{replacement} (default: @code{#f})"
  52299. msgid "@code{environment-variables} (default: @code{'(\"PULSE_CLIENTCONFIG=/etc/pulse/client.conf\" \"PULSE_CONFIG=/etc/pulse/daemon.conf\")}) (type: list-of-strings)"
  52300. msgstr "@code{replacement} (default: @code{#f})"
  52301. #. type: table
  52302. #: guix-git/doc/guix.texi:33973
  52303. #, fuzzy
  52304. #| msgid "Preparing the isolated build environment."
  52305. msgid "A list of strings specifying environment variables."
  52306. msgstr "Declarando o Ambiente Doméstico"
  52307. #. type: item
  52308. #: guix-git/doc/guix.texi:33974
  52309. #, fuzzy, no-wrap
  52310. msgid "@code{log-file} (default: @code{\"/var/log/mpd/log\"}) (type: maybe-string)"
  52311. msgstr "@code{remote?} (padrão: @code{#f})"
  52312. #. type: table
  52313. #: guix-git/doc/guix.texi:33978
  52314. msgid "The location of the log file. Set to @code{syslog} to use the local syslog daemon or @code{%unset-value} to omit this directive from the configuration file."
  52315. msgstr ""
  52316. #. type: item
  52317. #: guix-git/doc/guix.texi:33979
  52318. #, fuzzy, no-wrap
  52319. msgid "@code{log-level} (type: maybe-string)"
  52320. msgstr "@code{remote?} (padrão: @code{#f})"
  52321. #. type: table
  52322. #: guix-git/doc/guix.texi:33983
  52323. msgid "Supress any messages below this threshold. Available values: @code{notice}, @code{info}, @code{verbose}, @code{warning} and @code{error}."
  52324. msgstr ""
  52325. #. type: item
  52326. #: guix-git/doc/guix.texi:33984
  52327. #, fuzzy, no-wrap
  52328. msgid "@code{music-directory} (type: maybe-string)"
  52329. msgstr "@code{remote?} (padrão: @code{#f})"
  52330. #. type: table
  52331. #: guix-git/doc/guix.texi:33986
  52332. msgid "The directory to scan for music files."
  52333. msgstr ""
  52334. #. type: item
  52335. #: guix-git/doc/guix.texi:33987
  52336. #, fuzzy, no-wrap
  52337. msgid "@code{playlist-directory} (type: maybe-string)"
  52338. msgstr "@code{remote?} (padrão: @code{#f})"
  52339. #. type: table
  52340. #: guix-git/doc/guix.texi:33989
  52341. msgid "The directory to store playlists."
  52342. msgstr ""
  52343. #. type: item
  52344. #: guix-git/doc/guix.texi:33990
  52345. #, fuzzy, no-wrap
  52346. msgid "@code{db-file} (type: maybe-string)"
  52347. msgstr "@code{remote?} (padrão: @code{#f})"
  52348. #. type: table
  52349. #: guix-git/doc/guix.texi:33992
  52350. msgid "The location of the music database."
  52351. msgstr ""
  52352. #. type: item
  52353. #: guix-git/doc/guix.texi:33993
  52354. #, fuzzy, no-wrap
  52355. msgid "@code{state-file} (type: maybe-string)"
  52356. msgstr "@code{remote?} (padrão: @code{#f})"
  52357. #. type: table
  52358. #: guix-git/doc/guix.texi:33995
  52359. msgid "The location of the file that stores current MPD's state."
  52360. msgstr ""
  52361. #. type: item
  52362. #: guix-git/doc/guix.texi:33996
  52363. #, fuzzy, no-wrap
  52364. msgid "@code{sticker-file} (type: maybe-string)"
  52365. msgstr "@code{remote?} (padrão: @code{#f})"
  52366. #. type: table
  52367. #: guix-git/doc/guix.texi:33998
  52368. msgid "The location of the sticker database."
  52369. msgstr ""
  52370. #. type: item
  52371. #: guix-git/doc/guix.texi:33999
  52372. #, fuzzy, no-wrap
  52373. #| msgid "@code{debug?} (default: @code{#f})"
  52374. msgid "@code{default-port} (default: @code{6600}) (type: maybe-integer)"
  52375. msgstr "@code{debug?} (default: @code{#f})"
  52376. #. type: table
  52377. #: guix-git/doc/guix.texi:34001
  52378. msgid "The default port to run mpd on."
  52379. msgstr ""
  52380. #. type: item
  52381. #: guix-git/doc/guix.texi:34002
  52382. #, fuzzy, no-wrap
  52383. msgid "@code{endpoints} (type: maybe-list-of-strings)"
  52384. msgstr "@code{remote?} (padrão: @code{#f})"
  52385. #. type: table
  52386. #: guix-git/doc/guix.texi:34008
  52387. msgid "The addresses that mpd will bind to. A port different from @var{default-port} may be specified, e.g. @code{localhost:6602} and IPv6 addresses must be enclosed in square brackets when a different port is used. To use a Unix domain socket, an absolute path or a path starting with @code{~} can be specified here."
  52388. msgstr ""
  52389. #. type: item
  52390. #: guix-git/doc/guix.texi:34009
  52391. #, fuzzy, no-wrap
  52392. msgid "@code{database} (type: maybe-mpd-plugin)"
  52393. msgstr "@code{remote?} (padrão: @code{#f})"
  52394. #. type: table
  52395. #: guix-git/doc/guix.texi:34011
  52396. #, fuzzy
  52397. msgid "MPD database plugin configuration."
  52398. msgstr "build-machine {Data Type}"
  52399. #. type: item
  52400. #: guix-git/doc/guix.texi:34012
  52401. #, fuzzy, no-wrap
  52402. #| msgid "@code{replacement} (default: @code{#f})"
  52403. msgid "@code{partitions} (default: @code{'()}) (type: list-of-mpd-partition)"
  52404. msgstr "@code{replacement} (default: @code{#f})"
  52405. #. type: table
  52406. #: guix-git/doc/guix.texi:34014
  52407. #, fuzzy
  52408. #| msgid "Derivations"
  52409. msgid "List of MPD \"partitions\"."
  52410. msgstr "Derivações"
  52411. #. type: item
  52412. #: guix-git/doc/guix.texi:34015
  52413. #, fuzzy, no-wrap
  52414. #| msgid "@code{replacement} (default: @code{#f})"
  52415. msgid "@code{neighbors} (default: @code{'()}) (type: list-of-mpd-plugin)"
  52416. msgstr "@code{replacement} (default: @code{#f})"
  52417. #. type: table
  52418. #: guix-git/doc/guix.texi:34017
  52419. msgid "List of MPD neighbor plugin configurations."
  52420. msgstr ""
  52421. #. type: item
  52422. #: guix-git/doc/guix.texi:34018
  52423. #, fuzzy, no-wrap
  52424. #| msgid "@code{replacement} (default: @code{#f})"
  52425. msgid "@code{inputs} (default: @code{'()}) (type: list-of-mpd-plugin)"
  52426. msgstr "@code{replacement} (default: @code{#f})"
  52427. #. type: table
  52428. #: guix-git/doc/guix.texi:34020
  52429. msgid "List of MPD input plugin configurations."
  52430. msgstr ""
  52431. #. type: item
  52432. #: guix-git/doc/guix.texi:34021
  52433. #, fuzzy, no-wrap
  52434. #| msgid "@code{replacement} (default: @code{#f})"
  52435. msgid "@code{archive-plugins} (default: @code{'()}) (type: list-of-mpd-plugin)"
  52436. msgstr "@code{replacement} (default: @code{#f})"
  52437. #. type: table
  52438. #: guix-git/doc/guix.texi:34023
  52439. msgid "List of MPD archive plugin configurations."
  52440. msgstr ""
  52441. #. type: item
  52442. #: guix-git/doc/guix.texi:34024
  52443. #, fuzzy, no-wrap
  52444. msgid "@code{input-cache-size} (type: maybe-string)"
  52445. msgstr "@code{remote?} (padrão: @code{#f})"
  52446. #. type: table
  52447. #: guix-git/doc/guix.texi:34026
  52448. msgid "MPD input cache size."
  52449. msgstr ""
  52450. #. type: item
  52451. #: guix-git/doc/guix.texi:34027
  52452. #, fuzzy, no-wrap
  52453. #| msgid "@code{dbus?} (default: @code{#t})"
  52454. msgid "@code{decoders} (default: @code{'()}) (type: list-of-mpd-plugin)"
  52455. msgstr "@code{dbus?} (padrão: @code{#t})"
  52456. #. type: table
  52457. #: guix-git/doc/guix.texi:34029
  52458. msgid "List of MPD decoder plugin configurations."
  52459. msgstr ""
  52460. #. type: item
  52461. #: guix-git/doc/guix.texi:34030
  52462. #, fuzzy, no-wrap
  52463. msgid "@code{resampler} (type: maybe-mpd-plugin)"
  52464. msgstr "@code{remote?} (padrão: @code{#f})"
  52465. #. type: table
  52466. #: guix-git/doc/guix.texi:34032
  52467. #, fuzzy
  52468. #| msgid "git configuration"
  52469. msgid "MPD resampler plugin configuration."
  52470. msgstr "Configuração do git"
  52471. #. type: item
  52472. #: guix-git/doc/guix.texi:34033
  52473. #, fuzzy, no-wrap
  52474. #| msgid "@code{dbus?} (default: @code{#t})"
  52475. msgid "@code{filters} (default: @code{'()}) (type: list-of-mpd-plugin)"
  52476. msgstr "@code{dbus?} (padrão: @code{#t})"
  52477. #. type: table
  52478. #: guix-git/doc/guix.texi:34035
  52479. msgid "List of MPD filter plugin configurations."
  52480. msgstr ""
  52481. #. type: item
  52482. #: guix-git/doc/guix.texi:34036
  52483. #, fuzzy, no-wrap
  52484. msgid "@code{outputs} (type: list-of-mpd-plugin-or-output)"
  52485. msgstr "build-machine {Data Type}"
  52486. #. type: table
  52487. #: guix-git/doc/guix.texi:34039
  52488. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  52489. msgstr ""
  52490. #. type: item
  52491. #: guix-git/doc/guix.texi:34040
  52492. #, fuzzy, no-wrap
  52493. #| msgid "@code{replacement} (default: @code{#f})"
  52494. msgid "@code{playlist-plugins} (default: @code{'()}) (type: list-of-mpd-plugin)"
  52495. msgstr "@code{replacement} (default: @code{#f})"
  52496. #. type: table
  52497. #: guix-git/doc/guix.texi:34042
  52498. msgid "List of MPD playlist plugin configurations."
  52499. msgstr ""
  52500. #. type: item
  52501. #: guix-git/doc/guix.texi:34043 guix-git/doc/guix.texi:34063
  52502. #: guix-git/doc/guix.texi:34079 guix-git/doc/guix.texi:34133
  52503. #, fuzzy, no-wrap
  52504. #| msgid "@code{dbus?} (default: @code{#t})"
  52505. msgid "@code{extra-options} (default: @code{'()}) (type: alist)"
  52506. msgstr "@code{dbus?} (padrão: @code{#t})"
  52507. #. type: table
  52508. #: guix-git/doc/guix.texi:34046
  52509. msgid "An association list of option symbols/strings to string values to be appended to the configuration."
  52510. msgstr ""
  52511. #. type: deftp
  52512. #: guix-git/doc/guix.texi:34050
  52513. #, fuzzy, no-wrap
  52514. msgid "{Data Type} mpd-plugin"
  52515. msgstr "build-machine {Data Type}"
  52516. #. type: deftp
  52517. #: guix-git/doc/guix.texi:34052
  52518. #, fuzzy
  52519. msgid "Data type representing a @command{mpd} plugin."
  52520. msgstr "Gerencie a configuração do sistema operacional."
  52521. #. type: item
  52522. #: guix-git/doc/guix.texi:34054
  52523. #, fuzzy, no-wrap
  52524. msgid "@code{plugin} (type: maybe-string)"
  52525. msgstr "@code{remote?} (padrão: @code{#f})"
  52526. #. type: table
  52527. #: guix-git/doc/guix.texi:34056
  52528. msgid "Plugin name."
  52529. msgstr ""
  52530. #. type: item
  52531. #: guix-git/doc/guix.texi:34057
  52532. #, fuzzy, no-wrap
  52533. msgid "@code{name} (type: maybe-string)"
  52534. msgstr "@code{remote?} (padrão: @code{#f})"
  52535. #. type: table
  52536. #: guix-git/doc/guix.texi:34059
  52537. msgid "Name."
  52538. msgstr ""
  52539. #. type: item
  52540. #: guix-git/doc/guix.texi:34060
  52541. #, fuzzy, no-wrap
  52542. msgid "@code{enabled?} (type: maybe-boolean)"
  52543. msgstr "@code{chdir} (default: @code{#f})"
  52544. #. type: table
  52545. #: guix-git/doc/guix.texi:34062
  52546. msgid "Whether the plugin is enabled/disabled."
  52547. msgstr ""
  52548. #. type: table
  52549. #: guix-git/doc/guix.texi:34068
  52550. msgid "An association list of option symbols/strings to string values to be appended to the plugin configuration. See @uref{https://mpd.readthedocs.io/en/latest/plugins.html,MPD plugin reference} for available options."
  52551. msgstr ""
  52552. #. type: deftp
  52553. #: guix-git/doc/guix.texi:34072
  52554. #, fuzzy, no-wrap
  52555. msgid "{Data Type} mpd-partition"
  52556. msgstr "build-machine {Data Type}"
  52557. #. type: deftp
  52558. #: guix-git/doc/guix.texi:34074
  52559. #, fuzzy
  52560. msgid "Data type representing a @command{mpd} partition."
  52561. msgstr "Gerencie a configuração do sistema operacional."
  52562. #. type: table
  52563. #: guix-git/doc/guix.texi:34078
  52564. #, fuzzy
  52565. #| msgid "Derivations"
  52566. msgid "Partition name."
  52567. msgstr "Derivações"
  52568. #. type: table
  52569. #: guix-git/doc/guix.texi:34084
  52570. msgid "An association list of option symbols/strings to string values to be appended to the partition configuration. See @uref{https://mpd.readthedocs.io/en/latest/user.html#configuring-partitions,Configuring Partitions} for available options."
  52571. msgstr ""
  52572. #. type: deftp
  52573. #: guix-git/doc/guix.texi:34088
  52574. #, no-wrap
  52575. msgid "{Data Type} mpd-output"
  52576. msgstr ""
  52577. #. type: deftp
  52578. #: guix-git/doc/guix.texi:34090
  52579. #, fuzzy
  52580. msgid "Data type representing a @command{mpd} audio output."
  52581. msgstr "Gerencie a configuração do sistema operacional."
  52582. #. type: item
  52583. #: guix-git/doc/guix.texi:34092
  52584. #, fuzzy, no-wrap
  52585. msgid "@code{name} (default: @code{\"MPD\"}) (type: string)"
  52586. msgstr "@code{remote?} (padrão: @code{#f})"
  52587. #. type: table
  52588. #: guix-git/doc/guix.texi:34094
  52589. msgid "The name of the audio output."
  52590. msgstr ""
  52591. #. type: item
  52592. #: guix-git/doc/guix.texi:34095
  52593. #, fuzzy, no-wrap
  52594. #| msgid "@code{dbus?} (default: @code{#t})"
  52595. msgid "@code{type} (default: @code{\"pulse\"}) (type: string)"
  52596. msgstr "@code{dbus?} (padrão: @code{#t})"
  52597. #. type: table
  52598. #: guix-git/doc/guix.texi:34097
  52599. msgid "The type of audio output."
  52600. msgstr ""
  52601. #. type: item
  52602. #: guix-git/doc/guix.texi:34098 guix-git/doc/guix.texi:38901
  52603. #, fuzzy, no-wrap
  52604. #| msgid "@code{wait?} (default: @code{#t})"
  52605. msgid "@code{enabled?} (default: @code{#t}) (type: boolean)"
  52606. msgstr "@code{wait?} (padrão: @code{#t})"
  52607. #. type: table
  52608. #: guix-git/doc/guix.texi:34103
  52609. msgid "Specifies whether this audio output is enabled when MPD is started. By default, all audio outputs are enabled. This is just the default setting when there is no state file; with a state file, the previous state is restored."
  52610. msgstr ""
  52611. #. type: item
  52612. #: guix-git/doc/guix.texi:34104
  52613. #, fuzzy, no-wrap
  52614. msgid "@code{format} (type: maybe-string)"
  52615. msgstr "@code{remote?} (padrão: @code{#f})"
  52616. #. type: table
  52617. #: guix-git/doc/guix.texi:34108
  52618. msgid "Force a specific audio format on output. See @uref{https://mpd.readthedocs.io/en/latest/user.html#audio-output-format,Global Audio Format} for a more detailed description."
  52619. msgstr ""
  52620. #. type: item
  52621. #: guix-git/doc/guix.texi:34109
  52622. #, fuzzy, no-wrap
  52623. #| msgid "@code{debug?} (default: @code{#f})"
  52624. msgid "@code{tags?} (default: @code{#t}) (type: boolean)"
  52625. msgstr "@code{debug?} (default: @code{#f})"
  52626. #. type: table
  52627. #: guix-git/doc/guix.texi:34113
  52628. msgid "If set to @code{#f}, then MPD will not send tags to this output. This is only useful for output plugins that can receive tags, for example the @code{httpd} output plugin."
  52629. msgstr ""
  52630. #. type: item
  52631. #: guix-git/doc/guix.texi:34114
  52632. #, fuzzy, no-wrap
  52633. #| msgid "@code{debug?} (default: @code{#f})"
  52634. msgid "@code{always-on?} (default: @code{#f}) (type: boolean)"
  52635. msgstr "@code{debug?} (default: @code{#f})"
  52636. #. type: table
  52637. #: guix-git/doc/guix.texi:34118
  52638. msgid "If set to @code{#t}, then MPD attempts to keep this audio output always open. This may be useful for streaming servers, when you don?t want to disconnect all listeners even when playback is accidentally stopped."
  52639. msgstr ""
  52640. #. type: item
  52641. #: guix-git/doc/guix.texi:34119
  52642. #, fuzzy, no-wrap
  52643. #| msgid "@code{dbus?} (default: @code{#t})"
  52644. msgid "@code{mixer-type} (default: @code{\"none\"}) (type: string)"
  52645. msgstr "@code{dbus?} (padrão: @code{#t})"
  52646. #. type: table
  52647. #: guix-git/doc/guix.texi:34125
  52648. msgid "This field accepts a string that specifies which mixer should be used for this audio output: the @code{hardware} mixer, the @code{software} mixer, the @code{null} mixer (allows setting the volume, but with no effect; this can be used as a trick to implement an external mixer External Mixer) or no mixer (@code{none})."
  52649. msgstr ""
  52650. #. type: item
  52651. #: guix-git/doc/guix.texi:34126
  52652. #, fuzzy, no-wrap
  52653. msgid "@code{replay-gain-handler} (type: maybe-string)"
  52654. msgstr "@code{remote?} (padrão: @code{#f})"
  52655. #. type: table
  52656. #: guix-git/doc/guix.texi:34132
  52657. msgid "This field accepts a string that specifies how @uref{https://mpd.readthedocs.io/en/latest/user.html#replay-gain,Replay Gain} is to be applied. @code{software} uses an internal software volume control, @code{mixer} uses the configured (hardware) mixer control and @code{none} disables replay gain on this audio output."
  52658. msgstr ""
  52659. #. type: table
  52660. #: guix-git/doc/guix.texi:34136
  52661. msgid "An association list of option symbols/strings to string values to be appended to the audio output configuration."
  52662. msgstr ""
  52663. #. type: Plain text
  52664. #: guix-git/doc/guix.texi:34142
  52665. msgid "The following example shows a configuration of @command{mpd} that configures some of its plugins and provides a HTTP audio streaming output."
  52666. msgstr ""
  52667. #. type: lisp
  52668. #: guix-git/doc/guix.texi:34166
  52669. #, no-wrap
  52670. msgid ""
  52671. "(service mpd-service-type\n"
  52672. " (mpd-configuration\n"
  52673. " (outputs\n"
  52674. " (list (mpd-output\n"
  52675. " (name \"streaming\")\n"
  52676. " (type \"httpd\")\n"
  52677. " (mixer-type 'null)\n"
  52678. " (extra-options\n"
  52679. " `((encoder . \"vorbis\")\n"
  52680. " (port . \"8080\"))))))\n"
  52681. " (decoders\n"
  52682. " (list (mpd-plugin\n"
  52683. " (plugin \"mikmod\")\n"
  52684. " (enabled? #f))\n"
  52685. " (mpd-plugin\n"
  52686. " (plugin \"openmpt\")\n"
  52687. " (enabled? #t)\n"
  52688. " (extra-options `((repeat-count . -1)\n"
  52689. " (interpolation-filter . 1))))))\n"
  52690. " (resampler (mpd-plugin\n"
  52691. " (plugin \"libsamplerate\")\n"
  52692. " (extra-options `((type . 0)))))))\n"
  52693. msgstr ""
  52694. #. type: subsubheading
  52695. #: guix-git/doc/guix.texi:34168
  52696. #, no-wrap
  52697. msgid "myMPD"
  52698. msgstr ""
  52699. #. type: cindex
  52700. #: guix-git/doc/guix.texi:34170
  52701. #, fuzzy, no-wrap
  52702. #| msgid "user interfaces"
  52703. msgid "MPD, web interface"
  52704. msgstr "interfaces de usuário"
  52705. #. type: cindex
  52706. #: guix-git/doc/guix.texi:34171
  52707. #, fuzzy, no-wrap
  52708. #| msgid "Mail Services"
  52709. msgid "myMPD service"
  52710. msgstr "Serviços de correio"
  52711. #. type: Plain text
  52712. #: guix-git/doc/guix.texi:34175
  52713. msgid "@uref{https://jcorporation.github.io/myMPD/, myMPD} is a web server frontend for MPD that provides a mobile friendly web client for MPD."
  52714. msgstr ""
  52715. #. type: Plain text
  52716. #: guix-git/doc/guix.texi:34178
  52717. msgid "The following example shows a myMPD instance listening on port 80, with album cover caching disabled."
  52718. msgstr ""
  52719. #. type: lisp
  52720. #: guix-git/doc/guix.texi:34184
  52721. #, no-wrap
  52722. msgid ""
  52723. "(service mympd-service-type\n"
  52724. " (mympd-configuration\n"
  52725. " (port 80)\n"
  52726. " (covercache-ttl 0)))\n"
  52727. msgstr ""
  52728. #. type: defvar
  52729. #: guix-git/doc/guix.texi:34186
  52730. #, fuzzy, no-wrap
  52731. #| msgid "guix-publish-service-type"
  52732. msgid "mympd-service-type"
  52733. msgstr "guix-publish-service-type"
  52734. #. type: defvar
  52735. #: guix-git/doc/guix.texi:34188
  52736. msgid "The service type for @command{mympd}."
  52737. msgstr ""
  52738. #. type: deftp
  52739. #: guix-git/doc/guix.texi:34191
  52740. #, fuzzy, no-wrap
  52741. msgid "{Data Type} mympd-configuration"
  52742. msgstr "build-machine {Data Type}"
  52743. #. type: deftp
  52744. #: guix-git/doc/guix.texi:34193
  52745. #, fuzzy
  52746. msgid "Available @code{mympd-configuration} fields are:"
  52747. msgstr "build-machine {Data Type}"
  52748. #. type: item
  52749. #: guix-git/doc/guix.texi:34195
  52750. #, fuzzy, no-wrap
  52751. #| msgid "@code{dbus?} (default: @code{#t})"
  52752. msgid "@code{package} (default: @code{mympd}) (type: file-like)"
  52753. msgstr "@code{dbus?} (padrão: @code{#t})"
  52754. #. type: table
  52755. #: guix-git/doc/guix.texi:34197
  52756. msgid "The package object of the myMPD server."
  52757. msgstr ""
  52758. #. type: table
  52759. #: guix-git/doc/guix.texi:34201
  52760. msgid "This is a list of symbols naming Shepherd services that this service will depend on."
  52761. msgstr ""
  52762. #. type: item
  52763. #: guix-git/doc/guix.texi:34202
  52764. #, fuzzy, no-wrap
  52765. #| msgid "@code{dbus?} (default: @code{#t})"
  52766. msgid "@code{user} (default: @code{%mympd-user}) (type: user-account)"
  52767. msgstr "@code{dbus?} (padrão: @code{#t})"
  52768. #. type: table
  52769. #: guix-git/doc/guix.texi:34204
  52770. msgid "Owner of the @command{mympd} process."
  52771. msgstr ""
  52772. #. type: table
  52773. #: guix-git/doc/guix.texi:34207
  52774. msgid "The default @code{%mympd-user} is a system user with the name ``mympd'', who is a part of the group @var{group} (see below)."
  52775. msgstr ""
  52776. #. type: item
  52777. #: guix-git/doc/guix.texi:34207
  52778. #, fuzzy, no-wrap
  52779. #| msgid "@code{dbus?} (default: @code{#t})"
  52780. msgid "@code{group} (default: @code{%mympd-group}) (type: user-group)"
  52781. msgstr "@code{dbus?} (padrão: @code{#t})"
  52782. #. type: table
  52783. #: guix-git/doc/guix.texi:34209
  52784. msgid "Owner group of the @command{mympd} process."
  52785. msgstr ""
  52786. #. type: table
  52787. #: guix-git/doc/guix.texi:34211
  52788. msgid "The default @code{%mympd-group} is a system group with name ``mympd''."
  52789. msgstr ""
  52790. #. type: item
  52791. #: guix-git/doc/guix.texi:34211
  52792. #, fuzzy, no-wrap
  52793. msgid "@code{work-directory} (default: @code{\"/var/lib/mympd\"}) (type: string)"
  52794. msgstr "@code{remote?} (padrão: @code{#f})"
  52795. #. type: table
  52796. #: guix-git/doc/guix.texi:34213
  52797. msgid "Where myMPD will store its data."
  52798. msgstr ""
  52799. #. type: item
  52800. #: guix-git/doc/guix.texi:34214
  52801. #, fuzzy, no-wrap
  52802. msgid "@code{cache-directory} (default: @code{\"/var/cache/mympd\"}) (type: string)"
  52803. msgstr "@code{remote?} (padrão: @code{#f})"
  52804. #. type: table
  52805. #: guix-git/doc/guix.texi:34216
  52806. msgid "Where myMPD will store its cache."
  52807. msgstr ""
  52808. #. type: item
  52809. #: guix-git/doc/guix.texi:34217
  52810. #, fuzzy, no-wrap
  52811. msgid "@code{acl} (type: maybe-mympd-ip-acl)"
  52812. msgstr "@code{remote?} (padrão: @code{#f})"
  52813. #. type: table
  52814. #: guix-git/doc/guix.texi:34219
  52815. msgid "ACL to access the myMPD webserver."
  52816. msgstr ""
  52817. #. type: item
  52818. #: guix-git/doc/guix.texi:34220
  52819. #, fuzzy, no-wrap
  52820. #| msgid "@code{debug?} (default: @code{#f})"
  52821. msgid "@code{covercache-ttl} (default: @code{31}) (type: maybe-integer)"
  52822. msgstr "@code{debug?} (default: @code{#f})"
  52823. #. type: table
  52824. #: guix-git/doc/guix.texi:34222
  52825. msgid "How long to keep cached covers, @code{0} disables cover caching."
  52826. msgstr ""
  52827. #. type: item
  52828. #: guix-git/doc/guix.texi:34223
  52829. #, fuzzy, no-wrap
  52830. #| msgid "@code{debug?} (default: @code{#f})"
  52831. msgid "@code{http?} (default: @code{#t}) (type: boolean)"
  52832. msgstr "@code{debug?} (default: @code{#f})"
  52833. #. type: table
  52834. #: guix-git/doc/guix.texi:34225
  52835. msgid "HTTP support."
  52836. msgstr ""
  52837. #. type: item
  52838. #: guix-git/doc/guix.texi:34226
  52839. #, fuzzy, no-wrap
  52840. msgid "@code{host} (default: @code{\"[::]\"}) (type: string)"
  52841. msgstr "@code{remote?} (padrão: @code{#f})"
  52842. #. type: table
  52843. #: guix-git/doc/guix.texi:34228
  52844. msgid "Host name to listen on."
  52845. msgstr ""
  52846. #. type: item
  52847. #: guix-git/doc/guix.texi:34229
  52848. #, fuzzy, no-wrap
  52849. #| msgid "@code{debug?} (default: @code{#f})"
  52850. msgid "@code{port} (default: @code{80}) (type: maybe-port)"
  52851. msgstr "@code{debug?} (default: @code{#f})"
  52852. #. type: table
  52853. #: guix-git/doc/guix.texi:34231
  52854. msgid "HTTP port to listen on."
  52855. msgstr ""
  52856. #. type: item
  52857. #: guix-git/doc/guix.texi:34232
  52858. #, fuzzy, no-wrap
  52859. #| msgid "@code{debug?} (default: @code{#f})"
  52860. msgid "@code{log-level} (default: @code{5}) (type: integer)"
  52861. msgstr "@code{debug?} (default: @code{#f})"
  52862. #. type: table
  52863. #: guix-git/doc/guix.texi:34235
  52864. msgid "How much detail to include in logs, possible values: @code{0} to @code{7}."
  52865. msgstr ""
  52866. #. type: item
  52867. #: guix-git/doc/guix.texi:34236
  52868. #, fuzzy, no-wrap
  52869. msgid "@code{log-to} (default: @code{\"/var/log/mympd/log\"}) (type: string-or-symbol)"
  52870. msgstr "@code{remote?} (padrão: @code{#f})"
  52871. #. type: table
  52872. #: guix-git/doc/guix.texi:34241
  52873. msgid "Where to send logs. By default, the service logs to @file{/var/log/mympd.log}. The alternative is @code{'syslog}, which sends output to the running syslog service under the @samp{daemon} facility."
  52874. msgstr ""
  52875. #. type: item
  52876. #: guix-git/doc/guix.texi:34242
  52877. #, fuzzy, no-wrap
  52878. #| msgid "@code{dbus?} (default: @code{#t})"
  52879. msgid "@code{lualibs} (default: @code{\"all\"}) (type: maybe-string)"
  52880. msgstr "@code{dbus?} (padrão: @code{#t})"
  52881. #. type: table
  52882. #: guix-git/doc/guix.texi:34245
  52883. msgid "See @uref{https://jcorporation.github.io/myMPD/scripting/#lua-standard-libraries}."
  52884. msgstr ""
  52885. #. type: item
  52886. #: guix-git/doc/guix.texi:34246
  52887. #, fuzzy, no-wrap
  52888. msgid "@code{uri} (type: maybe-string)"
  52889. msgstr "@code{remote?} (padrão: @code{#f})"
  52890. #. type: table
  52891. #: guix-git/doc/guix.texi:34249
  52892. msgid "Override URI to myMPD. See @uref{https://github.com/jcorporation/myMPD/issues/950}."
  52893. msgstr ""
  52894. #. type: item
  52895. #: guix-git/doc/guix.texi:34250
  52896. #, fuzzy, no-wrap
  52897. #| msgid "@code{replacement} (default: @code{#f})"
  52898. msgid "@code{script-acl} (default: @code{(mympd-ip-acl (allow '(\"127.0.0.1\")))}) (type: maybe-mympd-ip-acl)"
  52899. msgstr "@code{replacement} (default: @code{#f})"
  52900. #. type: table
  52901. #: guix-git/doc/guix.texi:34252
  52902. msgid "ACL to access the myMPD script backend."
  52903. msgstr ""
  52904. #. type: item
  52905. #: guix-git/doc/guix.texi:34253
  52906. #, fuzzy, no-wrap
  52907. #| msgid "@code{debug?} (default: @code{#f})"
  52908. msgid "@code{ssl?} (default: @code{#f}) (type: boolean)"
  52909. msgstr "@code{debug?} (default: @code{#f})"
  52910. #. type: table
  52911. #: guix-git/doc/guix.texi:34255
  52912. msgid "SSL/TLS support."
  52913. msgstr ""
  52914. #. type: item
  52915. #: guix-git/doc/guix.texi:34256
  52916. #, fuzzy, no-wrap
  52917. #| msgid "@code{debug?} (default: @code{#f})"
  52918. msgid "@code{ssl-port} (default: @code{443}) (type: maybe-port)"
  52919. msgstr "@code{debug?} (default: @code{#f})"
  52920. #. type: table
  52921. #: guix-git/doc/guix.texi:34258
  52922. msgid "Port to listen for HTTPS."
  52923. msgstr ""
  52924. #. type: item
  52925. #: guix-git/doc/guix.texi:34259
  52926. #, fuzzy, no-wrap
  52927. msgid "@code{ssl-cert} (type: maybe-string)"
  52928. msgstr "@code{remote?} (padrão: @code{#f})"
  52929. #. type: table
  52930. #: guix-git/doc/guix.texi:34261
  52931. msgid "Path to PEM encoded X.509 SSL/TLS certificate (public key)."
  52932. msgstr ""
  52933. #. type: item
  52934. #: guix-git/doc/guix.texi:34262
  52935. #, fuzzy, no-wrap
  52936. msgid "@code{ssl-key} (type: maybe-string)"
  52937. msgstr "@code{remote?} (padrão: @code{#f})"
  52938. #. type: table
  52939. #: guix-git/doc/guix.texi:34264
  52940. msgid "Path to PEM encoded SSL/TLS private key."
  52941. msgstr ""
  52942. #. type: item
  52943. #: guix-git/doc/guix.texi:34265
  52944. #, fuzzy, no-wrap
  52945. msgid "@code{pin-hash} (type: maybe-string)"
  52946. msgstr "@code{remote?} (padrão: @code{#f})"
  52947. #. type: table
  52948. #: guix-git/doc/guix.texi:34268
  52949. msgid "SHA-256 hashed pin used by myMPD to control settings access by prompting a pin from the user."
  52950. msgstr ""
  52951. #. type: item
  52952. #: guix-git/doc/guix.texi:34269
  52953. #, fuzzy, no-wrap
  52954. msgid "@code{save-caches?} (type: maybe-boolean)"
  52955. msgstr "@code{chdir} (default: @code{#f})"
  52956. #. type: table
  52957. #: guix-git/doc/guix.texi:34271
  52958. msgid "Whether to preserve caches between service restarts."
  52959. msgstr ""
  52960. #. type: deftp
  52961. #: guix-git/doc/guix.texi:34277
  52962. #, fuzzy, no-wrap
  52963. msgid "{Data Type} mympd-ip-acl"
  52964. msgstr "build-machine {Data Type}"
  52965. #. type: deftp
  52966. #: guix-git/doc/guix.texi:34279
  52967. #, fuzzy
  52968. msgid "Available @code{mympd-ip-acl} fields are:"
  52969. msgstr "build-machine {Data Type}"
  52970. #. type: item
  52971. #: guix-git/doc/guix.texi:34281
  52972. #, fuzzy, no-wrap
  52973. #| msgid "@code{dbus?} (default: @code{#t})"
  52974. msgid "@code{allow} (default: @code{'()}) (type: list-of-strings)"
  52975. msgstr "@code{dbus?} (padrão: @code{#t})"
  52976. #. type: table
  52977. #: guix-git/doc/guix.texi:34283
  52978. msgid "Allowed IP addresses."
  52979. msgstr ""
  52980. #. type: item
  52981. #: guix-git/doc/guix.texi:34284
  52982. #, fuzzy, no-wrap
  52983. #| msgid "@code{replacement} (default: @code{#f})"
  52984. msgid "@code{deny} (default: @code{'()}) (type: list-of-strings)"
  52985. msgstr "@code{replacement} (default: @code{#f})"
  52986. #. type: table
  52987. #: guix-git/doc/guix.texi:34286
  52988. msgid "Disallowed IP addresses."
  52989. msgstr ""
  52990. #. type: Plain text
  52991. #: guix-git/doc/guix.texi:34297
  52992. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  52993. msgstr ""
  52994. #. type: subsubheading
  52995. #: guix-git/doc/guix.texi:34298
  52996. #, no-wrap
  52997. msgid "Libvirt daemon"
  52998. msgstr ""
  52999. #. type: Plain text
  53000. #: guix-git/doc/guix.texi:34303
  53001. msgid "@code{libvirtd} is the server side daemon component of the libvirt virtualization management system. This daemon runs on host servers and performs required management tasks for virtualized guests."
  53002. msgstr ""
  53003. #. type: defvar
  53004. #: guix-git/doc/guix.texi:34304
  53005. #, fuzzy, no-wrap
  53006. #| msgid "guix-publish-service-type"
  53007. msgid "libvirt-service-type"
  53008. msgstr "guix-publish-service-type"
  53009. #. type: defvar
  53010. #: guix-git/doc/guix.texi:34307
  53011. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  53012. msgstr ""
  53013. #. type: lisp
  53014. #: guix-git/doc/guix.texi:34313
  53015. #, no-wrap
  53016. msgid ""
  53017. "(service libvirt-service-type\n"
  53018. " (libvirt-configuration\n"
  53019. " (unix-sock-group \"libvirt\")\n"
  53020. " (tls-port \"16555\")))\n"
  53021. msgstr ""
  53022. #. type: Plain text
  53023. #: guix-git/doc/guix.texi:34318
  53024. msgid "Available @code{libvirt-configuration} fields are:"
  53025. msgstr ""
  53026. #. type: deftypevr
  53027. #: guix-git/doc/guix.texi:34319
  53028. #, no-wrap
  53029. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  53030. msgstr ""
  53031. #. type: deftypevar
  53032. #: guix-git/doc/guix.texi:34321 guix-git/doc/guix.texi:34884
  53033. msgid "Libvirt package."
  53034. msgstr ""
  53035. #. type: deftypevr
  53036. #: guix-git/doc/guix.texi:34324
  53037. #, no-wrap
  53038. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  53039. msgstr ""
  53040. #. type: deftypevr
  53041. #: guix-git/doc/guix.texi:34327
  53042. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  53043. msgstr ""
  53044. #. type: deftypevr
  53045. #: guix-git/doc/guix.texi:34330
  53046. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  53047. msgstr ""
  53048. #. type: deftypevr
  53049. #: guix-git/doc/guix.texi:34335
  53050. #, no-wrap
  53051. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  53052. msgstr ""
  53053. #. type: deftypevr
  53054. #: guix-git/doc/guix.texi:34338
  53055. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  53056. msgstr ""
  53057. #. type: deftypevr
  53058. #: guix-git/doc/guix.texi:34342
  53059. msgid "Using the TCP socket requires SASL authentication by default. Only SASL mechanisms which support data encryption are allowed. This is DIGEST_MD5 and GSSAPI (Kerberos5)."
  53060. msgstr ""
  53061. #. type: deftypevr
  53062. #: guix-git/doc/guix.texi:34347
  53063. #, no-wrap
  53064. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  53065. msgstr ""
  53066. #. type: deftypevr
  53067. #: guix-git/doc/guix.texi:34350
  53068. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  53069. msgstr ""
  53070. #. type: deftypevr
  53071. #: guix-git/doc/guix.texi:34352
  53072. msgid "Defaults to @samp{\"16514\"}."
  53073. msgstr ""
  53074. #. type: deftypevr
  53075. #: guix-git/doc/guix.texi:34355
  53076. #, no-wrap
  53077. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  53078. msgstr ""
  53079. #. type: deftypevr
  53080. #: guix-git/doc/guix.texi:34358
  53081. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  53082. msgstr ""
  53083. #. type: deftypevr
  53084. #: guix-git/doc/guix.texi:34360
  53085. msgid "Defaults to @samp{\"16509\"}."
  53086. msgstr ""
  53087. #. type: deftypevr
  53088. #: guix-git/doc/guix.texi:34363
  53089. #, no-wrap
  53090. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  53091. msgstr ""
  53092. #. type: deftypevr
  53093. #: guix-git/doc/guix.texi:34365
  53094. msgid "IP address or hostname used for client connections."
  53095. msgstr ""
  53096. #. type: deftypevr
  53097. #: guix-git/doc/guix.texi:34370
  53098. #, no-wrap
  53099. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  53100. msgstr ""
  53101. #. type: deftypevr
  53102. #: guix-git/doc/guix.texi:34372
  53103. msgid "Flag toggling mDNS advertisement of the libvirt service."
  53104. msgstr ""
  53105. #. type: deftypevr
  53106. #: guix-git/doc/guix.texi:34375
  53107. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  53108. msgstr ""
  53109. #. type: deftypevr
  53110. #: guix-git/doc/guix.texi:34380
  53111. #, no-wrap
  53112. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  53113. msgstr ""
  53114. #. type: deftypevr
  53115. #: guix-git/doc/guix.texi:34383
  53116. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  53117. msgstr ""
  53118. #. type: deftypevr
  53119. #: guix-git/doc/guix.texi:34385
  53120. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  53121. msgstr ""
  53122. #. type: deftypevr
  53123. #: guix-git/doc/guix.texi:34388
  53124. #, no-wrap
  53125. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  53126. msgstr ""
  53127. #. type: deftypevr
  53128. #: guix-git/doc/guix.texi:34392
  53129. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  53130. msgstr ""
  53131. #. type: deftypevr
  53132. #: guix-git/doc/guix.texi:34397
  53133. #, no-wrap
  53134. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  53135. msgstr ""
  53136. #. type: deftypevr
  53137. #: guix-git/doc/guix.texi:34400
  53138. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  53139. msgstr ""
  53140. #. type: deftypevr
  53141. #: guix-git/doc/guix.texi:34402 guix-git/doc/guix.texi:34420
  53142. msgid "Defaults to @samp{\"0777\"}."
  53143. msgstr ""
  53144. #. type: deftypevr
  53145. #: guix-git/doc/guix.texi:34405
  53146. #, no-wrap
  53147. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  53148. msgstr ""
  53149. #. type: deftypevr
  53150. #: guix-git/doc/guix.texi:34409
  53151. msgid "UNIX socket permissions for the R/W socket. Default allows only root. If PolicyKit is enabled on the socket, the default will change to allow everyone (eg, 0777)"
  53152. msgstr ""
  53153. #. type: deftypevr
  53154. #: guix-git/doc/guix.texi:34411
  53155. msgid "Defaults to @samp{\"0770\"}."
  53156. msgstr ""
  53157. #. type: deftypevr
  53158. #: guix-git/doc/guix.texi:34414
  53159. #, no-wrap
  53160. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  53161. msgstr ""
  53162. #. type: deftypevr
  53163. #: guix-git/doc/guix.texi:34418
  53164. msgid "UNIX socket permissions for the admin socket. Default allows only owner (root), do not change it unless you are sure to whom you are exposing the access to."
  53165. msgstr ""
  53166. #. type: deftypevr
  53167. #: guix-git/doc/guix.texi:34423
  53168. #, no-wrap
  53169. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  53170. msgstr ""
  53171. #. type: deftypevr
  53172. #: guix-git/doc/guix.texi:34425
  53173. msgid "The directory in which sockets will be found/created."
  53174. msgstr ""
  53175. #. type: deftypevr
  53176. #: guix-git/doc/guix.texi:34427
  53177. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  53178. msgstr ""
  53179. #. type: deftypevr
  53180. #: guix-git/doc/guix.texi:34430
  53181. #, no-wrap
  53182. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  53183. msgstr ""
  53184. #. type: deftypevr
  53185. #: guix-git/doc/guix.texi:34433
  53186. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  53187. msgstr ""
  53188. #. type: deftypevr
  53189. #: guix-git/doc/guix.texi:34435 guix-git/doc/guix.texi:34444
  53190. msgid "Defaults to @samp{\"polkit\"}."
  53191. msgstr ""
  53192. #. type: deftypevr
  53193. #: guix-git/doc/guix.texi:34438
  53194. #, no-wrap
  53195. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  53196. msgstr ""
  53197. #. type: deftypevr
  53198. #: guix-git/doc/guix.texi:34442
  53199. msgid "Authentication scheme for UNIX read-write sockets. By default socket permissions only allow root. If PolicyKit support was compiled into libvirt, the default will be to use 'polkit' auth."
  53200. msgstr ""
  53201. #. type: deftypevr
  53202. #: guix-git/doc/guix.texi:34447
  53203. #, no-wrap
  53204. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  53205. msgstr ""
  53206. #. type: deftypevr
  53207. #: guix-git/doc/guix.texi:34451
  53208. msgid "Authentication scheme for TCP sockets. If you don't enable SASL, then all TCP traffic is cleartext. Don't do this outside of a dev/test scenario."
  53209. msgstr ""
  53210. #. type: deftypevr
  53211. #: guix-git/doc/guix.texi:34453
  53212. msgid "Defaults to @samp{\"sasl\"}."
  53213. msgstr ""
  53214. #. type: deftypevr
  53215. #: guix-git/doc/guix.texi:34456
  53216. #, no-wrap
  53217. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  53218. msgstr ""
  53219. #. type: deftypevr
  53220. #: guix-git/doc/guix.texi:34460
  53221. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  53222. msgstr ""
  53223. #. type: deftypevr
  53224. #: guix-git/doc/guix.texi:34463
  53225. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  53226. msgstr ""
  53227. #. type: deftypevr
  53228. #: guix-git/doc/guix.texi:34465
  53229. msgid "Defaults to @samp{\"none\"}."
  53230. msgstr ""
  53231. #. type: deftypevr
  53232. #: guix-git/doc/guix.texi:34468
  53233. #, no-wrap
  53234. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  53235. msgstr ""
  53236. #. type: deftypevr
  53237. #: guix-git/doc/guix.texi:34470
  53238. msgid "API access control scheme."
  53239. msgstr ""
  53240. #. type: deftypevr
  53241. #: guix-git/doc/guix.texi:34473
  53242. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  53243. msgstr ""
  53244. #. type: deftypevr
  53245. #: guix-git/doc/guix.texi:34478
  53246. #, no-wrap
  53247. msgid "{@code{libvirt-configuration} parameter} string key-file"
  53248. msgstr ""
  53249. #. type: deftypevr
  53250. #: guix-git/doc/guix.texi:34481
  53251. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  53252. msgstr ""
  53253. #. type: deftypevr
  53254. #: guix-git/doc/guix.texi:34486
  53255. #, no-wrap
  53256. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  53257. msgstr ""
  53258. #. type: deftypevr
  53259. #: guix-git/doc/guix.texi:34489
  53260. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  53261. msgstr ""
  53262. #. type: deftypevr
  53263. #: guix-git/doc/guix.texi:34494
  53264. #, no-wrap
  53265. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  53266. msgstr ""
  53267. #. type: deftypevr
  53268. #: guix-git/doc/guix.texi:34497
  53269. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  53270. msgstr ""
  53271. #. type: deftypevr
  53272. #: guix-git/doc/guix.texi:34502
  53273. #, no-wrap
  53274. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  53275. msgstr ""
  53276. #. type: deftypevr
  53277. #: guix-git/doc/guix.texi:34505
  53278. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  53279. msgstr ""
  53280. #. type: deftypevr
  53281. #: guix-git/doc/guix.texi:34510
  53282. #, no-wrap
  53283. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  53284. msgstr ""
  53285. #. type: deftypevr
  53286. #: guix-git/doc/guix.texi:34512
  53287. msgid "Disable verification of our own server certificates."
  53288. msgstr ""
  53289. #. type: deftypevr
  53290. #: guix-git/doc/guix.texi:34515
  53291. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  53292. msgstr ""
  53293. #. type: deftypevr
  53294. #: guix-git/doc/guix.texi:34520
  53295. #, no-wrap
  53296. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  53297. msgstr ""
  53298. #. type: deftypevr
  53299. #: guix-git/doc/guix.texi:34522
  53300. msgid "Disable verification of client certificates."
  53301. msgstr ""
  53302. #. type: deftypevr
  53303. #: guix-git/doc/guix.texi:34526
  53304. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  53305. msgstr ""
  53306. #. type: deftypevr
  53307. #: guix-git/doc/guix.texi:34531
  53308. #, no-wrap
  53309. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  53310. msgstr ""
  53311. #. type: deftypevr
  53312. #: guix-git/doc/guix.texi:34533
  53313. msgid "Whitelist of allowed x509 Distinguished Name."
  53314. msgstr ""
  53315. #. type: deftypevr
  53316. #: guix-git/doc/guix.texi:34538
  53317. #, no-wrap
  53318. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  53319. msgstr ""
  53320. #. type: deftypevr
  53321. #: guix-git/doc/guix.texi:34541
  53322. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  53323. msgstr ""
  53324. #. type: deftypevr
  53325. #: guix-git/doc/guix.texi:34546
  53326. #, no-wrap
  53327. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  53328. msgstr ""
  53329. #. type: deftypevr
  53330. #: guix-git/doc/guix.texi:34550
  53331. msgid "Override the compile time default TLS priority string. The default is usually @samp{\"NORMAL\"} unless overridden at build time. Only set this is it is desired for libvirt to deviate from the global default settings."
  53332. msgstr ""
  53333. #. type: deftypevr
  53334. #: guix-git/doc/guix.texi:34552
  53335. msgid "Defaults to @samp{\"NORMAL\"}."
  53336. msgstr ""
  53337. #. type: deftypevr
  53338. #: guix-git/doc/guix.texi:34555
  53339. #, no-wrap
  53340. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  53341. msgstr ""
  53342. #. type: deftypevr
  53343. #: guix-git/doc/guix.texi:34558 guix-git/doc/guix.texi:34986
  53344. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  53345. msgstr ""
  53346. #. type: deftypevr
  53347. #: guix-git/doc/guix.texi:34560
  53348. msgid "Defaults to @samp{5000}."
  53349. msgstr ""
  53350. #. type: deftypevr
  53351. #: guix-git/doc/guix.texi:34563
  53352. #, no-wrap
  53353. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  53354. msgstr ""
  53355. #. type: deftypevr
  53356. #: guix-git/doc/guix.texi:34567
  53357. msgid "Maximum length of queue of connections waiting to be accepted by the daemon. Note, that some protocols supporting retransmission may obey this so that a later reattempt at connection succeeds."
  53358. msgstr ""
  53359. #. type: deftypevr
  53360. #: guix-git/doc/guix.texi:34572
  53361. #, no-wrap
  53362. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  53363. msgstr ""
  53364. #. type: deftypevr
  53365. #: guix-git/doc/guix.texi:34575
  53366. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  53367. msgstr ""
  53368. #. type: deftypevr
  53369. #: guix-git/doc/guix.texi:34577 guix-git/doc/guix.texi:34595
  53370. #: guix-git/doc/guix.texi:34611
  53371. msgid "Defaults to @samp{20}."
  53372. msgstr ""
  53373. #. type: deftypevr
  53374. #: guix-git/doc/guix.texi:34580
  53375. #, no-wrap
  53376. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  53377. msgstr ""
  53378. #. type: deftypevr
  53379. #: guix-git/doc/guix.texi:34582
  53380. msgid "Number of workers to start up initially."
  53381. msgstr ""
  53382. #. type: deftypevr
  53383. #: guix-git/doc/guix.texi:34587
  53384. #, no-wrap
  53385. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  53386. msgstr ""
  53387. #. type: deftypevr
  53388. #: guix-git/doc/guix.texi:34589
  53389. msgid "Maximum number of worker threads."
  53390. msgstr ""
  53391. #. type: deftypevr
  53392. #: guix-git/doc/guix.texi:34593
  53393. msgid "If the number of active clients exceeds @code{min-workers}, then more threads are spawned, up to max_workers limit. Typically you'd want max_workers to equal maximum number of clients allowed."
  53394. msgstr ""
  53395. #. type: deftypevr
  53396. #: guix-git/doc/guix.texi:34598
  53397. #, no-wrap
  53398. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  53399. msgstr ""
  53400. #. type: deftypevr
  53401. #: guix-git/doc/guix.texi:34602
  53402. msgid "Number of priority workers. If all workers from above pool are stuck, some calls marked as high priority (notably domainDestroy) can be executed in this pool."
  53403. msgstr ""
  53404. #. type: deftypevr
  53405. #: guix-git/doc/guix.texi:34607
  53406. #, no-wrap
  53407. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  53408. msgstr ""
  53409. #. type: deftypevr
  53410. #: guix-git/doc/guix.texi:34609
  53411. msgid "Total global limit on concurrent RPC calls."
  53412. msgstr ""
  53413. #. type: deftypevr
  53414. #: guix-git/doc/guix.texi:34614
  53415. #, no-wrap
  53416. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  53417. msgstr ""
  53418. #. type: deftypevr
  53419. #: guix-git/doc/guix.texi:34618
  53420. msgid "Limit on concurrent requests from a single client connection. To avoid one client monopolizing the server this should be a small fraction of the global max_requests and max_workers parameter."
  53421. msgstr ""
  53422. #. type: deftypevr
  53423. #: guix-git/doc/guix.texi:34623
  53424. #, no-wrap
  53425. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  53426. msgstr ""
  53427. #. type: deftypevr
  53428. #: guix-git/doc/guix.texi:34625
  53429. msgid "Same as @code{min-workers} but for the admin interface."
  53430. msgstr ""
  53431. #. type: deftypevr
  53432. #: guix-git/doc/guix.texi:34630
  53433. #, no-wrap
  53434. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  53435. msgstr ""
  53436. #. type: deftypevr
  53437. #: guix-git/doc/guix.texi:34632
  53438. msgid "Same as @code{max-workers} but for the admin interface."
  53439. msgstr ""
  53440. #. type: deftypevr
  53441. #: guix-git/doc/guix.texi:34637
  53442. #, no-wrap
  53443. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  53444. msgstr ""
  53445. #. type: deftypevr
  53446. #: guix-git/doc/guix.texi:34639
  53447. msgid "Same as @code{max-clients} but for the admin interface."
  53448. msgstr ""
  53449. #. type: deftypevr
  53450. #: guix-git/doc/guix.texi:34644
  53451. #, no-wrap
  53452. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  53453. msgstr ""
  53454. #. type: deftypevr
  53455. #: guix-git/doc/guix.texi:34646
  53456. msgid "Same as @code{max-queued-clients} but for the admin interface."
  53457. msgstr ""
  53458. #. type: deftypevr
  53459. #: guix-git/doc/guix.texi:34651
  53460. #, no-wrap
  53461. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  53462. msgstr ""
  53463. #. type: deftypevr
  53464. #: guix-git/doc/guix.texi:34653
  53465. msgid "Same as @code{max-client-requests} but for the admin interface."
  53466. msgstr ""
  53467. #. type: deftypevr
  53468. #: guix-git/doc/guix.texi:34658
  53469. #, no-wrap
  53470. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  53471. msgstr ""
  53472. #. type: deftypevr
  53473. #: guix-git/doc/guix.texi:34660 guix-git/doc/guix.texi:34888
  53474. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  53475. msgstr ""
  53476. #. type: deftypevr
  53477. #: guix-git/doc/guix.texi:34662 guix-git/doc/guix.texi:34890
  53478. msgid "Defaults to @samp{3}."
  53479. msgstr ""
  53480. #. type: deftypevr
  53481. #: guix-git/doc/guix.texi:34665
  53482. #, no-wrap
  53483. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  53484. msgstr ""
  53485. #. type: deftypevr
  53486. #: guix-git/doc/guix.texi:34667 guix-git/doc/guix.texi:34895
  53487. msgid "Logging filters."
  53488. msgstr ""
  53489. #. type: deftypevr
  53490. #: guix-git/doc/guix.texi:34670
  53491. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  53492. msgstr ""
  53493. #. type: itemize
  53494. #: guix-git/doc/guix.texi:34674 guix-git/doc/guix.texi:34902
  53495. msgid "x:name"
  53496. msgstr ""
  53497. #. type: itemize
  53498. #: guix-git/doc/guix.texi:34677 guix-git/doc/guix.texi:34905
  53499. msgid "x:+name"
  53500. msgstr ""
  53501. #. type: deftypevr
  53502. #: guix-git/doc/guix.texi:34688
  53503. msgid "where @code{name} is a string which is matched against the category given in the @code{VIR_LOG_INIT()} at the top of each libvirt source file, e.g., @samp{\"remote\"}, @samp{\"qemu\"}, or @samp{\"util.json\"} (the name in the filter can be a substring of the full category name, in order to match multiple similar categories), the optional @samp{\"+\"} prefix tells libvirt to log stack trace for each message matching name, and @code{x} is the minimal level where matching messages should be logged:"
  53504. msgstr ""
  53505. #. type: itemize
  53506. #: guix-git/doc/guix.texi:34692 guix-git/doc/guix.texi:34737
  53507. #: guix-git/doc/guix.texi:34919 guix-git/doc/guix.texi:34964
  53508. msgid "1: DEBUG"
  53509. msgstr ""
  53510. #. type: itemize
  53511. #: guix-git/doc/guix.texi:34695 guix-git/doc/guix.texi:34740
  53512. #: guix-git/doc/guix.texi:34922 guix-git/doc/guix.texi:34967
  53513. msgid "2: INFO"
  53514. msgstr ""
  53515. #. type: itemize
  53516. #: guix-git/doc/guix.texi:34698 guix-git/doc/guix.texi:34743
  53517. #: guix-git/doc/guix.texi:34925 guix-git/doc/guix.texi:34970
  53518. msgid "3: WARNING"
  53519. msgstr ""
  53520. #. type: itemize
  53521. #: guix-git/doc/guix.texi:34701 guix-git/doc/guix.texi:34746
  53522. #: guix-git/doc/guix.texi:34928 guix-git/doc/guix.texi:34973
  53523. msgid "4: ERROR"
  53524. msgstr ""
  53525. #. type: deftypevr
  53526. #: guix-git/doc/guix.texi:34706 guix-git/doc/guix.texi:34933
  53527. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  53528. msgstr ""
  53529. #. type: deftypevr
  53530. #: guix-git/doc/guix.texi:34708 guix-git/doc/guix.texi:34935
  53531. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  53532. msgstr ""
  53533. #. type: deftypevr
  53534. #: guix-git/doc/guix.texi:34711
  53535. #, no-wrap
  53536. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  53537. msgstr ""
  53538. #. type: deftypevr
  53539. #: guix-git/doc/guix.texi:34713 guix-git/doc/guix.texi:34940
  53540. msgid "Logging outputs."
  53541. msgstr ""
  53542. #. type: deftypevr
  53543. #: guix-git/doc/guix.texi:34716
  53544. msgid "An output is one of the places to save logging information. The format for an output can be:"
  53545. msgstr ""
  53546. #. type: item
  53547. #: guix-git/doc/guix.texi:34718 guix-git/doc/guix.texi:34945
  53548. #, no-wrap
  53549. msgid "x:stderr"
  53550. msgstr ""
  53551. #. type: table
  53552. #: guix-git/doc/guix.texi:34720 guix-git/doc/guix.texi:34947
  53553. msgid "output goes to stderr"
  53554. msgstr ""
  53555. #. type: item
  53556. #: guix-git/doc/guix.texi:34721 guix-git/doc/guix.texi:34948
  53557. #, no-wrap
  53558. msgid "x:syslog:name"
  53559. msgstr ""
  53560. #. type: table
  53561. #: guix-git/doc/guix.texi:34723 guix-git/doc/guix.texi:34950
  53562. msgid "use syslog for the output and use the given name as the ident"
  53563. msgstr ""
  53564. #. type: item
  53565. #: guix-git/doc/guix.texi:34724 guix-git/doc/guix.texi:34951
  53566. #, no-wrap
  53567. msgid "x:file:file_path"
  53568. msgstr ""
  53569. #. type: table
  53570. #: guix-git/doc/guix.texi:34726 guix-git/doc/guix.texi:34953
  53571. msgid "output to a file, with the given filepath"
  53572. msgstr "saída para um arquivo, com o caminho de arquivo dado"
  53573. #. type: item
  53574. #: guix-git/doc/guix.texi:34727 guix-git/doc/guix.texi:34954
  53575. #, no-wrap
  53576. msgid "x:journald"
  53577. msgstr ""
  53578. #. type: table
  53579. #: guix-git/doc/guix.texi:34729 guix-git/doc/guix.texi:34956
  53580. msgid "output to journald logging system"
  53581. msgstr ""
  53582. #. type: deftypevr
  53583. #: guix-git/doc/guix.texi:34733 guix-git/doc/guix.texi:34960
  53584. msgid "In all case the x prefix is the minimal level, acting as a filter"
  53585. msgstr ""
  53586. #. type: deftypevr
  53587. #: guix-git/doc/guix.texi:34751 guix-git/doc/guix.texi:34978
  53588. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  53589. msgstr ""
  53590. #. type: deftypevr
  53591. #: guix-git/doc/guix.texi:34753 guix-git/doc/guix.texi:34980
  53592. msgid "Defaults to @samp{\"3:stderr\"}."
  53593. msgstr ""
  53594. #. type: deftypevr
  53595. #: guix-git/doc/guix.texi:34756
  53596. #, no-wrap
  53597. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  53598. msgstr ""
  53599. #. type: deftypevr
  53600. #: guix-git/doc/guix.texi:34758
  53601. msgid "Allows usage of the auditing subsystem to be altered"
  53602. msgstr ""
  53603. #. type: itemize
  53604. #: guix-git/doc/guix.texi:34762
  53605. msgid "0: disable all auditing"
  53606. msgstr ""
  53607. #. type: itemize
  53608. #: guix-git/doc/guix.texi:34765
  53609. msgid "1: enable auditing, only if enabled on host"
  53610. msgstr ""
  53611. #. type: itemize
  53612. #: guix-git/doc/guix.texi:34768
  53613. msgid "2: enable auditing, and exit if disabled on host."
  53614. msgstr ""
  53615. #. type: deftypevr
  53616. #: guix-git/doc/guix.texi:34775
  53617. #, no-wrap
  53618. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  53619. msgstr ""
  53620. #. type: deftypevr
  53621. #: guix-git/doc/guix.texi:34777
  53622. msgid "Send audit messages via libvirt logging infrastructure."
  53623. msgstr ""
  53624. #. type: deftypevr
  53625. #: guix-git/doc/guix.texi:34782
  53626. #, no-wrap
  53627. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  53628. msgstr ""
  53629. #. type: deftypevr
  53630. #: guix-git/doc/guix.texi:34784
  53631. msgid "Host UUID@. UUID must not have all digits be the same."
  53632. msgstr ""
  53633. #. type: deftypevr
  53634. #: guix-git/doc/guix.texi:34789
  53635. #, no-wrap
  53636. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  53637. msgstr ""
  53638. #. type: deftypevr
  53639. #: guix-git/doc/guix.texi:34791
  53640. msgid "Source to read host UUID."
  53641. msgstr ""
  53642. #. type: itemize
  53643. #: guix-git/doc/guix.texi:34795
  53644. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  53645. msgstr ""
  53646. #. type: itemize
  53647. #: guix-git/doc/guix.texi:34798
  53648. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  53649. msgstr ""
  53650. #. type: deftypevr
  53651. #: guix-git/doc/guix.texi:34803
  53652. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  53653. msgstr ""
  53654. #. type: deftypevr
  53655. #: guix-git/doc/guix.texi:34805
  53656. msgid "Defaults to @samp{\"smbios\"}."
  53657. msgstr ""
  53658. #. type: deftypevr
  53659. #: guix-git/doc/guix.texi:34808
  53660. #, no-wrap
  53661. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  53662. msgstr ""
  53663. #. type: deftypevr
  53664. #: guix-git/doc/guix.texi:34813
  53665. msgid "A keepalive message is sent to a client after @code{keepalive_interval} seconds of inactivity to check if the client is still responding. If set to -1, libvirtd will never send keepalive requests; however clients can still send them and the daemon will send responses."
  53666. msgstr ""
  53667. #. type: deftypevr
  53668. #: guix-git/doc/guix.texi:34818
  53669. #, no-wrap
  53670. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  53671. msgstr ""
  53672. #. type: deftypevr
  53673. #: guix-git/doc/guix.texi:34822
  53674. msgid "Maximum number of keepalive messages that are allowed to be sent to the client without getting any response before the connection is considered broken."
  53675. msgstr ""
  53676. #. type: deftypevr
  53677. #: guix-git/doc/guix.texi:34829
  53678. msgid "In other words, the connection is automatically closed approximately after @code{keepalive_interval * (keepalive_count + 1)} seconds since the last message received from the client. When @code{keepalive-count} is set to 0, connections will be automatically closed after @code{keepalive-interval} seconds of inactivity without sending any keepalive messages."
  53679. msgstr ""
  53680. #. type: deftypevr
  53681. #: guix-git/doc/guix.texi:34834
  53682. #, no-wrap
  53683. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  53684. msgstr ""
  53685. #. type: deftypevr
  53686. #: guix-git/doc/guix.texi:34836 guix-git/doc/guix.texi:34843
  53687. msgid "Same as above but for admin interface."
  53688. msgstr ""
  53689. #. type: deftypevr
  53690. #: guix-git/doc/guix.texi:34841
  53691. #, no-wrap
  53692. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  53693. msgstr ""
  53694. #. type: deftypevr
  53695. #: guix-git/doc/guix.texi:34848
  53696. #, no-wrap
  53697. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  53698. msgstr ""
  53699. #. type: deftypevr
  53700. #: guix-git/doc/guix.texi:34850
  53701. msgid "Timeout for Open vSwitch calls."
  53702. msgstr ""
  53703. #. type: deftypevr
  53704. #: guix-git/doc/guix.texi:34854
  53705. msgid "The @code{ovs-vsctl} utility is used for the configuration and its timeout option is set by default to 5 seconds to avoid potential infinite waits blocking libvirt."
  53706. msgstr ""
  53707. #. type: subsubheading
  53708. #: guix-git/doc/guix.texi:34861
  53709. #, no-wrap
  53710. msgid "Virtlog daemon"
  53711. msgstr ""
  53712. #. type: Plain text
  53713. #: guix-git/doc/guix.texi:34864
  53714. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  53715. msgstr ""
  53716. #. type: Plain text
  53717. #: guix-git/doc/guix.texi:34870
  53718. msgid "This daemon is not used directly by libvirt client applications, rather it is called on their behalf by @code{libvirtd}. By maintaining the logs in a standalone daemon, the main @code{libvirtd} daemon can be restarted without risk of losing logs. The @code{virtlogd} daemon has the ability to re-exec() itself upon receiving @code{SIGUSR1}, to allow live upgrades without downtime."
  53719. msgstr ""
  53720. #. type: defvar
  53721. #: guix-git/doc/guix.texi:34871
  53722. #, fuzzy, no-wrap
  53723. #| msgid "guix-publish-service-type"
  53724. msgid "virtlog-service-type"
  53725. msgstr "guix-publish-service-type"
  53726. #. type: defvar
  53727. #: guix-git/doc/guix.texi:34874
  53728. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  53729. msgstr ""
  53730. #. type: lisp
  53731. #: guix-git/doc/guix.texi:34879
  53732. #, no-wrap
  53733. msgid ""
  53734. "(service virtlog-service-type\n"
  53735. " (virtlog-configuration\n"
  53736. " (max-clients 1000)))\n"
  53737. msgstr ""
  53738. #. type: deftypevar
  53739. #: guix-git/doc/guix.texi:34882
  53740. #, no-wrap
  53741. msgid "{@code{libvirt} parameter} package libvirt"
  53742. msgstr ""
  53743. #. type: deftypevr
  53744. #: guix-git/doc/guix.texi:34886
  53745. #, no-wrap
  53746. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  53747. msgstr ""
  53748. #. type: deftypevr
  53749. #: guix-git/doc/guix.texi:34893
  53750. #, no-wrap
  53751. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  53752. msgstr ""
  53753. #. type: deftypevr
  53754. #: guix-git/doc/guix.texi:34898
  53755. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  53756. msgstr ""
  53757. #. type: deftypevr
  53758. #: guix-git/doc/guix.texi:34915
  53759. msgid "where @code{name} is a string which is matched against the category given in the @code{VIR_LOG_INIT()} at the top of each libvirt source file, e.g., \"remote\", \"qemu\", or \"util.json\" (the name in the filter can be a substring of the full category name, in order to match multiple similar categories), the optional \"+\" prefix tells libvirt to log stack trace for each message matching name, and @code{x} is the minimal level where matching messages should be logged:"
  53760. msgstr ""
  53761. #. type: deftypevr
  53762. #: guix-git/doc/guix.texi:34938
  53763. #, no-wrap
  53764. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  53765. msgstr ""
  53766. #. type: deftypevr
  53767. #: guix-git/doc/guix.texi:34943
  53768. msgid "An output is one of the places to save logging information The format for an output can be:"
  53769. msgstr ""
  53770. #. type: deftypevr
  53771. #: guix-git/doc/guix.texi:34983
  53772. #, no-wrap
  53773. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  53774. msgstr ""
  53775. #. type: deftypevr
  53776. #: guix-git/doc/guix.texi:34988
  53777. msgid "Defaults to @samp{1024}."
  53778. msgstr ""
  53779. #. type: deftypevr
  53780. #: guix-git/doc/guix.texi:34991
  53781. #, no-wrap
  53782. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  53783. msgstr ""
  53784. #. type: deftypevr
  53785. #: guix-git/doc/guix.texi:34993
  53786. msgid "Maximum file size before rolling over."
  53787. msgstr ""
  53788. #. type: deftypevr
  53789. #: guix-git/doc/guix.texi:34995
  53790. msgid "Defaults to @samp{2MB}"
  53791. msgstr ""
  53792. #. type: deftypevr
  53793. #: guix-git/doc/guix.texi:34998
  53794. #, no-wrap
  53795. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  53796. msgstr ""
  53797. #. type: deftypevr
  53798. #: guix-git/doc/guix.texi:35000
  53799. msgid "Maximum number of backup files to keep."
  53800. msgstr ""
  53801. #. type: deftypevr
  53802. #: guix-git/doc/guix.texi:35002
  53803. msgid "Defaults to @samp{3}"
  53804. msgstr ""
  53805. #. type: anchor{#1}
  53806. #: guix-git/doc/guix.texi:35006
  53807. msgid "transparent-emulation-qemu"
  53808. msgstr ""
  53809. #. type: subsubheading
  53810. #: guix-git/doc/guix.texi:35006
  53811. #, no-wrap
  53812. msgid "Transparent Emulation with QEMU"
  53813. msgstr ""
  53814. #. type: cindex
  53815. #: guix-git/doc/guix.texi:35008 guix-git/doc/guix.texi:35088
  53816. #, no-wrap
  53817. msgid "emulation"
  53818. msgstr ""
  53819. #. type: code{#1}
  53820. #: guix-git/doc/guix.texi:35009
  53821. #, no-wrap
  53822. msgid "binfmt_misc"
  53823. msgstr ""
  53824. #. type: Plain text
  53825. #: guix-git/doc/guix.texi:35017
  53826. msgid "@code{qemu-binfmt-service-type} provides support for transparent emulation of program binaries built for different architectures---e.g., it allows you to transparently execute an ARMv7 program on an x86_64 machine. It achieves this by combining the @uref{https://www.qemu.org, QEMU} emulator and the @code{binfmt_misc} feature of the kernel Linux. This feature only allows you to emulate GNU/Linux on a different architecture, but see below for GNU/Hurd support."
  53827. msgstr ""
  53828. #. type: defvar
  53829. #: guix-git/doc/guix.texi:35018
  53830. #, fuzzy, no-wrap
  53831. #| msgid "guix-publish-service-type"
  53832. msgid "qemu-binfmt-service-type"
  53833. msgstr "guix-publish-service-type"
  53834. #. type: defvar
  53835. #: guix-git/doc/guix.texi:35023
  53836. msgid "This is the type of the QEMU/binfmt service for transparent emulation. Its value must be a @code{qemu-binfmt-configuration} object, which specifies the QEMU package to use as well as the architecture we want to emulated:"
  53837. msgstr ""
  53838. #. type: lisp
  53839. #: guix-git/doc/guix.texi:35028
  53840. #, no-wrap
  53841. msgid ""
  53842. "(service qemu-binfmt-service-type\n"
  53843. " (qemu-binfmt-configuration\n"
  53844. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  53845. msgstr ""
  53846. #. type: defvar
  53847. #: guix-git/doc/guix.texi:35034
  53848. msgid "In this example, we enable transparent emulation for the ARM and aarch64 platforms. Running @code{herd stop qemu-binfmt} turns it off, and running @code{herd start qemu-binfmt} turns it back on (@pxref{Invoking herd, the @command{herd} command,, shepherd, The GNU Shepherd Manual})."
  53849. msgstr ""
  53850. #. type: deftp
  53851. #: guix-git/doc/guix.texi:35036
  53852. #, no-wrap
  53853. msgid "{Data Type} qemu-binfmt-configuration"
  53854. msgstr ""
  53855. #. type: deftp
  53856. #: guix-git/doc/guix.texi:35038
  53857. msgid "This is the configuration for the @code{qemu-binfmt} service."
  53858. msgstr ""
  53859. #. type: item
  53860. #: guix-git/doc/guix.texi:35040
  53861. #, no-wrap
  53862. msgid "@code{platforms} (default: @code{'()})"
  53863. msgstr ""
  53864. #. type: table
  53865. #: guix-git/doc/guix.texi:35043
  53866. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  53867. msgstr ""
  53868. #. type: table
  53869. #: guix-git/doc/guix.texi:35046
  53870. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  53871. msgstr ""
  53872. #. type: lisp
  53873. #: guix-git/doc/guix.texi:35051
  53874. #, no-wrap
  53875. msgid ""
  53876. "(service qemu-binfmt-service-type\n"
  53877. " (qemu-binfmt-configuration\n"
  53878. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  53879. msgstr ""
  53880. #. type: table
  53881. #: guix-git/doc/guix.texi:35054
  53882. msgid "You can run:"
  53883. msgstr ""
  53884. #. type: example
  53885. #: guix-git/doc/guix.texi:35057
  53886. #, no-wrap
  53887. msgid "guix build -s armhf-linux inkscape\n"
  53888. msgstr ""
  53889. #. type: table
  53890. #: guix-git/doc/guix.texi:35064
  53891. msgid "and it will build Inkscape for ARMv7 @emph{as if it were a native build}, transparently using QEMU to emulate the ARMv7 CPU@. Pretty handy if you'd like to test a package build for an architecture you don't have access to!"
  53892. msgstr ""
  53893. #. type: item
  53894. #: guix-git/doc/guix.texi:35065
  53895. #, no-wrap
  53896. msgid "@code{qemu} (default: @code{qemu})"
  53897. msgstr ""
  53898. #. type: table
  53899. #: guix-git/doc/guix.texi:35067 guix-git/doc/guix.texi:35125
  53900. #: guix-git/doc/guix.texi:35207
  53901. msgid "The QEMU package to use."
  53902. msgstr ""
  53903. #. type: defun
  53904. #: guix-git/doc/guix.texi:35070
  53905. #, no-wrap
  53906. msgid "lookup-qemu-platforms platforms@dots{}"
  53907. msgstr ""
  53908. #. type: defun
  53909. #: guix-git/doc/guix.texi:35075
  53910. msgid "Return the list of QEMU platform objects corresponding to @var{platforms}@dots{}. @var{platforms} must be a list of strings corresponding to platform names, such as @code{\"arm\"}, @code{\"sparc\"}, @code{\"mips64el\"}, and so on."
  53911. msgstr ""
  53912. #. type: defun
  53913. #: guix-git/doc/guix.texi:35077
  53914. #, no-wrap
  53915. msgid "qemu-platform? obj"
  53916. msgstr ""
  53917. #. type: defun
  53918. #: guix-git/doc/guix.texi:35079
  53919. msgid "Return true if @var{obj} is a platform object."
  53920. msgstr ""
  53921. #. type: defun
  53922. #: guix-git/doc/guix.texi:35081
  53923. #, no-wrap
  53924. msgid "qemu-platform-name platform"
  53925. msgstr ""
  53926. #. type: defun
  53927. #: guix-git/doc/guix.texi:35083
  53928. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  53929. msgstr ""
  53930. #. type: subsubheading
  53931. #: guix-git/doc/guix.texi:35086
  53932. #, no-wrap
  53933. msgid "QEMU Guest Agent"
  53934. msgstr ""
  53935. #. type: Plain text
  53936. #: guix-git/doc/guix.texi:35094
  53937. msgid "The QEMU guest agent provides control over the emulated system to the host. The @code{qemu-guest-agent} service runs the agent on Guix guests. To control the agent from the host, open a socket by invoking QEMU with the following arguments:"
  53938. msgstr ""
  53939. #. type: example
  53940. #: guix-git/doc/guix.texi:35101
  53941. #, no-wrap
  53942. msgid ""
  53943. "qemu-system-x86_64 \\\n"
  53944. "\t-chardev socket,path=/tmp/qga.sock,server=on,wait=off,id=qga0 \\\n"
  53945. "\t-device virtio-serial \\\n"
  53946. "\t-device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 \\\n"
  53947. "\t...\n"
  53948. msgstr ""
  53949. #. type: Plain text
  53950. #: guix-git/doc/guix.texi:35105
  53951. msgid "This creates a socket at @file{/tmp/qga.sock} on the host. Once the guest agent is running, you can issue commands with @code{socat}:"
  53952. msgstr ""
  53953. #. type: example
  53954. #: guix-git/doc/guix.texi:35110
  53955. #, no-wrap
  53956. msgid ""
  53957. "$ guix shell socat -- socat unix-connect:/tmp/qga.sock stdio\n"
  53958. "@{\"execute\": \"guest-get-host-name\"@}\n"
  53959. "@{\"return\": @{\"host-name\": \"guix\"@}@}\n"
  53960. msgstr ""
  53961. #. type: Plain text
  53962. #: guix-git/doc/guix.texi:35114
  53963. msgid "See @url{https://wiki.qemu.org/Features/GuestAgent,QEMU guest agent documentation} for more options and commands."
  53964. msgstr ""
  53965. #. type: defvar
  53966. #: guix-git/doc/guix.texi:35115
  53967. #, fuzzy, no-wrap
  53968. msgid "qemu-guest-agent-service-type"
  53969. msgstr "guix-publish-service-type"
  53970. #. type: defvar
  53971. #: guix-git/doc/guix.texi:35117
  53972. msgid "Service type for the QEMU guest agent service."
  53973. msgstr "Tipo de serviço para o serviço de agente convidado QEMU."
  53974. #. type: deftp
  53975. #: guix-git/doc/guix.texi:35119
  53976. #, fuzzy, no-wrap
  53977. msgid "{Data Type} qemu-guest-agent-configuration"
  53978. msgstr "build-machine {Data Type}"
  53979. #. type: deftp
  53980. #: guix-git/doc/guix.texi:35121
  53981. #, fuzzy
  53982. msgid "Configuration for the @code{qemu-guest-agent} service."
  53983. msgstr "Gerencie a configuração do sistema operacional."
  53984. #. type: item
  53985. #: guix-git/doc/guix.texi:35123 guix-git/doc/guix.texi:35205
  53986. #, no-wrap
  53987. msgid "@code{qemu} (default: @code{qemu-minimal})"
  53988. msgstr ""
  53989. #. type: item
  53990. #: guix-git/doc/guix.texi:35126
  53991. #, fuzzy, no-wrap
  53992. #| msgid "@code{device} (default: @code{#f})"
  53993. msgid "@code{device} (default: @code{\"\"})"
  53994. msgstr "@code{device} (default: @code{#f})"
  53995. #. type: table
  53996. #: guix-git/doc/guix.texi:35129
  53997. msgid "File name of the device or socket the agent uses to communicate with the host. If empty, QEMU uses a default file name."
  53998. msgstr ""
  53999. #. type: subsubheading
  54000. #: guix-git/doc/guix.texi:35133
  54001. #, no-wrap
  54002. msgid "The Hurd in a Virtual Machine"
  54003. msgstr ""
  54004. #. type: cindex
  54005. #: guix-git/doc/guix.texi:35136
  54006. #, no-wrap
  54007. msgid "the Hurd"
  54008. msgstr ""
  54009. #. type: cindex
  54010. #: guix-git/doc/guix.texi:35137
  54011. #, no-wrap
  54012. msgid "childhurd"
  54013. msgstr ""
  54014. #. type: Plain text
  54015. #: guix-git/doc/guix.texi:35145
  54016. msgid "Service @code{hurd-vm} provides support for running GNU/Hurd in a virtual machine (VM), a so-called @dfn{childhurd}. This service is meant to be used on GNU/Linux and the given GNU/Hurd operating system configuration is cross-compiled. The virtual machine is a Shepherd service that can be referred to by the names @code{hurd-vm} and @code{childhurd} and be controlled with commands such as:"
  54017. msgstr ""
  54018. #. type: example
  54019. #: guix-git/doc/guix.texi:35149
  54020. #, no-wrap
  54021. msgid ""
  54022. "herd start hurd-vm\n"
  54023. "herd stop childhurd\n"
  54024. msgstr ""
  54025. #. type: Plain text
  54026. #: guix-git/doc/guix.texi:35153
  54027. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  54028. msgstr ""
  54029. #. type: example
  54030. #: guix-git/doc/guix.texi:35156
  54031. #, no-wrap
  54032. msgid "guix shell tigervnc-client -- vncviewer localhost:5900\n"
  54033. msgstr ""
  54034. #. type: Plain text
  54035. #: guix-git/doc/guix.texi:35162
  54036. msgid "The default configuration (see @code{hurd-vm-configuration} below) spawns a secure shell (SSH) server in your GNU/Hurd system, which QEMU (the virtual machine emulator) redirects to port 10222 on the host. Thus, you can connect over SSH to the childhurd with:"
  54037. msgstr ""
  54038. #. type: example
  54039. #: guix-git/doc/guix.texi:35165
  54040. #, no-wrap
  54041. msgid "ssh root@@localhost -p 10022\n"
  54042. msgstr ""
  54043. #. type: Plain text
  54044. #: guix-git/doc/guix.texi:35174
  54045. msgid "The childhurd is volatile and stateless: it starts with a fresh root file system every time you restart it. By default though, all the files under @file{/etc/childhurd} on the host are copied as is to the root file system of the childhurd when it boots. This allows you to initialize ``secrets'' inside the VM: SSH host keys, authorized substitute keys, and so on---see the explanation of @code{secret-root} below."
  54046. msgstr ""
  54047. #. type: defvar
  54048. #: guix-git/doc/guix.texi:35175
  54049. #, fuzzy, no-wrap
  54050. #| msgid "guix-publish-service-type"
  54051. msgid "hurd-vm-service-type"
  54052. msgstr "guix-publish-service-type"
  54053. #. type: defvar
  54054. #: guix-git/doc/guix.texi:35181
  54055. msgid "This is the type of the Hurd in a Virtual Machine service. Its value must be a @code{hurd-vm-configuration} object, which specifies the operating system (@pxref{operating-system Reference}) and the disk size for the Hurd Virtual Machine, the QEMU package to use as well as the options for running it."
  54056. msgstr ""
  54057. #. type: lisp
  54058. #: guix-git/doc/guix.texi:35189
  54059. #, no-wrap
  54060. msgid ""
  54061. "(service hurd-vm-service-type\n"
  54062. " (hurd-vm-configuration\n"
  54063. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  54064. " (memory-size 1024))) ;1024MiB\n"
  54065. msgstr ""
  54066. #. type: defvar
  54067. #: guix-git/doc/guix.texi:35193
  54068. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  54069. msgstr ""
  54070. #. type: deftp
  54071. #: guix-git/doc/guix.texi:35195
  54072. #, no-wrap
  54073. msgid "{Data Type} hurd-vm-configuration"
  54074. msgstr ""
  54075. #. type: deftp
  54076. #: guix-git/doc/guix.texi:35198
  54077. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  54078. msgstr ""
  54079. #. type: item
  54080. #: guix-git/doc/guix.texi:35200
  54081. #, no-wrap
  54082. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  54083. msgstr ""
  54084. #. type: table
  54085. #: guix-git/doc/guix.texi:35204
  54086. msgid "The operating system to instantiate. This default is bare-bones with a permissive OpenSSH secure shell daemon listening on port 2222 (@pxref{Networking Services, @code{openssh-service-type}})."
  54087. msgstr ""
  54088. #. type: item
  54089. #: guix-git/doc/guix.texi:35208
  54090. #, no-wrap
  54091. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  54092. msgstr ""
  54093. #. type: table
  54094. #: guix-git/doc/guix.texi:35211
  54095. msgid "The procedure used to build the disk-image built from this configuration."
  54096. msgstr ""
  54097. #. type: item
  54098. #: guix-git/doc/guix.texi:35212
  54099. #, no-wrap
  54100. msgid "@code{disk-size} (default: @code{'guess})"
  54101. msgstr ""
  54102. #. type: table
  54103. #: guix-git/doc/guix.texi:35214
  54104. msgid "The size of the disk image."
  54105. msgstr ""
  54106. #. type: item
  54107. #: guix-git/doc/guix.texi:35215
  54108. #, no-wrap
  54109. msgid "@code{memory-size} (default: @code{512})"
  54110. msgstr ""
  54111. #. type: table
  54112. #: guix-git/doc/guix.texi:35217
  54113. msgid "The memory size of the Virtual Machine in mebibytes."
  54114. msgstr ""
  54115. #. type: item
  54116. #: guix-git/doc/guix.texi:35218
  54117. #, no-wrap
  54118. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  54119. msgstr ""
  54120. #. type: table
  54121. #: guix-git/doc/guix.texi:35220
  54122. msgid "The extra options for running QEMU."
  54123. msgstr ""
  54124. #. type: table
  54125. #: guix-git/doc/guix.texi:35225
  54126. msgid "If set, a non-zero positive integer used to parameterize Childhurd instances. It is appended to the service's name, e.g. @code{childhurd1}."
  54127. msgstr ""
  54128. #. type: item
  54129. #: guix-git/doc/guix.texi:35226
  54130. #, no-wrap
  54131. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  54132. msgstr ""
  54133. #. type: table
  54134. #: guix-git/doc/guix.texi:35228
  54135. msgid "The procedure used to produce the list of QEMU networking options."
  54136. msgstr ""
  54137. #. type: table
  54138. #: guix-git/doc/guix.texi:35230
  54139. msgid "By default, it produces"
  54140. msgstr ""
  54141. #. type: lisp
  54142. #: guix-git/doc/guix.texi:35238
  54143. #, no-wrap
  54144. msgid ""
  54145. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  54146. " \"--netdev\" (string-append\n"
  54147. " \"user,id=net0,\"\n"
  54148. " \"hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004,\"\n"
  54149. " \"hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222,\"\n"
  54150. " \"hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\"))\n"
  54151. msgstr ""
  54152. #. type: table
  54153. #: guix-git/doc/guix.texi:35241
  54154. msgid "with forwarded ports:"
  54155. msgstr ""
  54156. #. type: example
  54157. #: guix-git/doc/guix.texi:35246
  54158. #, no-wrap
  54159. msgid ""
  54160. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  54161. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  54162. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  54163. msgstr ""
  54164. #. type: item
  54165. #: guix-git/doc/guix.texi:35248
  54166. #, no-wrap
  54167. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  54168. msgstr ""
  54169. #. type: table
  54170. #: guix-git/doc/guix.texi:35253
  54171. msgid "The root directory with out-of-band secrets to be installed into the childhurd once it runs. Childhurds are volatile which means that on every startup, secrets such as the SSH host keys and Guix signing key are recreated."
  54172. msgstr ""
  54173. #. type: table
  54174. #: guix-git/doc/guix.texi:35257
  54175. msgid "If the @file{/etc/childhurd} directory does not exist, the @code{secret-service} running in the Childhurd will be sent an empty list of secrets."
  54176. msgstr ""
  54177. #. type: table
  54178. #: guix-git/doc/guix.texi:35260
  54179. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  54180. msgstr ""
  54181. #. type: example
  54182. #: guix-git/doc/guix.texi:35269
  54183. #, no-wrap
  54184. msgid ""
  54185. "/etc/childhurd/etc/guix/acl\n"
  54186. "/etc/childhurd/etc/guix/signing-key.pub\n"
  54187. "/etc/childhurd/etc/guix/signing-key.sec\n"
  54188. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  54189. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  54190. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  54191. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  54192. msgstr ""
  54193. #. type: table
  54194. #: guix-git/doc/guix.texi:35273
  54195. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  54196. msgstr ""
  54197. #. type: cindex
  54198. #: guix-git/doc/guix.texi:35274
  54199. #, no-wrap
  54200. msgid "childhurd, offloading"
  54201. msgstr ""
  54202. #. type: cindex
  54203. #: guix-git/doc/guix.texi:35275
  54204. #, no-wrap
  54205. msgid "Hurd, offloading"
  54206. msgstr ""
  54207. #. type: table
  54208. #: guix-git/doc/guix.texi:35279
  54209. msgid "Having these files in place means that only a couple of things are missing to allow the host to offload @code{i586-gnu} builds to the childhurd:"
  54210. msgstr ""
  54211. #. type: enumerate
  54212. #: guix-git/doc/guix.texi:35284
  54213. msgid "Authorizing the childhurd's key on the host so that the host accepts build results coming from the childhurd, which can be done like so:"
  54214. msgstr ""
  54215. #. type: example
  54216. #: guix-git/doc/guix.texi:35288
  54217. #, no-wrap
  54218. msgid ""
  54219. "guix archive --authorize < \\\n"
  54220. " /etc/childhurd/etc/guix/signing-key.pub\n"
  54221. msgstr ""
  54222. #. type: enumerate
  54223. #: guix-git/doc/guix.texi:35293
  54224. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  54225. msgstr ""
  54226. #. type: table
  54227. #: guix-git/doc/guix.texi:35297
  54228. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  54229. msgstr ""
  54230. #. type: Plain text
  54231. #: guix-git/doc/guix.texi:35304
  54232. msgid "Note that by default the VM image is volatile, i.e., once stopped the contents are lost. If you want a stateful image instead, override the configuration's @code{image} and @code{options} without the @code{--snapshot} flag using something along these lines:"
  54233. msgstr ""
  54234. #. type: lisp
  54235. #: guix-git/doc/guix.texi:35310
  54236. #, no-wrap
  54237. msgid ""
  54238. "(service hurd-vm-service-type\n"
  54239. " (hurd-vm-configuration\n"
  54240. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  54241. " (options '())))\n"
  54242. msgstr ""
  54243. #. type: subsubheading
  54244. #: guix-git/doc/guix.texi:35312
  54245. #, no-wrap
  54246. msgid "Ganeti"
  54247. msgstr ""
  54248. #. type: cindex
  54249. #: guix-git/doc/guix.texi:35314
  54250. #, no-wrap
  54251. msgid "ganeti"
  54252. msgstr ""
  54253. #. type: quotation
  54254. #: guix-git/doc/guix.texi:35321
  54255. msgid "This service is considered experimental. Configuration options may be changed in a backwards-incompatible manner, and not all features have been thorougly tested. Users of this service are encouraged to share their experience at @email{guix-devel@@gnu.org}."
  54256. msgstr ""
  54257. #. type: Plain text
  54258. #: guix-git/doc/guix.texi:35331
  54259. msgid "Ganeti is a virtual machine management system. It is designed to keep virtual machines running on a cluster of servers even in the event of hardware failures, and to make maintenance and recovery tasks easy. It consists of multiple services which are described later in this section. In addition to the Ganeti service, you will need the OpenSSH service (@pxref{Networking Services, @code{openssh-service-type}}), and update the @file{/etc/hosts} file (@pxref{Service Reference, @code{hosts-service-type}}) with the cluster name and address (or use a DNS server)."
  54260. msgstr ""
  54261. #. type: Plain text
  54262. #: guix-git/doc/guix.texi:35336
  54263. msgid "All nodes participating in a Ganeti cluster should have the same Ganeti and @file{/etc/hosts} configuration. Here is an example configuration for a Ganeti cluster node that supports multiple storage backends, and installs the @code{debootstrap} and @code{guix} @dfn{OS providers}:"
  54264. msgstr ""
  54265. #. type: lisp
  54266. #: guix-git/doc/guix.texi:35343
  54267. #, no-wrap
  54268. msgid ""
  54269. "(use-package-modules virtualization)\n"
  54270. "(use-service-modules base ganeti networking ssh)\n"
  54271. "(operating-system\n"
  54272. " ;; @dots{}\n"
  54273. " (host-name \"node1\")\n"
  54274. "\n"
  54275. msgstr ""
  54276. #. type: lisp
  54277. #: guix-git/doc/guix.texi:35364
  54278. #, no-wrap
  54279. msgid ""
  54280. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  54281. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  54282. " (packages (append (map specification->package\n"
  54283. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  54284. " ;; Add the debootstrap and guix OS providers.\n"
  54285. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  54286. " %base-packages))\n"
  54287. " (services\n"
  54288. " (append (list (service static-networking-service-type\n"
  54289. " (list (static-networking\n"
  54290. " (addresses\n"
  54291. " (list (network-address\n"
  54292. " (device \"eth0\")\n"
  54293. " (value \"192.168.1.201/24\"))))\n"
  54294. " (routes\n"
  54295. " (list (network-route\n"
  54296. " (destination \"default\")\n"
  54297. " (gateway \"192.168.1.254\"))))\n"
  54298. " (name-servers '(\"192.168.1.252\"\n"
  54299. " \"192.168.1.253\")))))\n"
  54300. "\n"
  54301. msgstr ""
  54302. #. type: lisp
  54303. #: guix-git/doc/guix.texi:35369
  54304. #, no-wrap
  54305. msgid ""
  54306. " ;; Ganeti uses SSH to communicate between nodes.\n"
  54307. " (service openssh-service-type\n"
  54308. " (openssh-configuration\n"
  54309. " (permit-root-login 'prohibit-password)))\n"
  54310. "\n"
  54311. msgstr ""
  54312. #. type: lisp
  54313. #: guix-git/doc/guix.texi:35377
  54314. #, no-wrap
  54315. msgid ""
  54316. " (simple-service 'ganeti-hosts-entries hosts-service-type\n"
  54317. " (list\n"
  54318. " (host \"192.168.1.200\" \"ganeti.example.com\")\n"
  54319. " (host \"192.168.1.201\" \"node1.example.com\"\n"
  54320. " '(\"node1\"))\n"
  54321. " (host \"192.168.1.202\" \"node2.example.com\"\n"
  54322. " '(\"node2\"))))\n"
  54323. "\n"
  54324. msgstr ""
  54325. #. type: lisp
  54326. #: guix-git/doc/guix.texi:35387
  54327. #, no-wrap
  54328. msgid ""
  54329. " (service ganeti-service-type\n"
  54330. " (ganeti-configuration\n"
  54331. " ;; This list specifies allowed file system paths\n"
  54332. " ;; for storing virtual machine images.\n"
  54333. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  54334. " ;; This variable configures a single \"variant\" for\n"
  54335. " ;; both Debootstrap and Guix that works with KVM.\n"
  54336. " (os %default-ganeti-os))))\n"
  54337. " %base-services)))\n"
  54338. msgstr ""
  54339. #. type: Plain text
  54340. #: guix-git/doc/guix.texi:35395
  54341. msgid "Users are advised to read the @url{https://docs.ganeti.org/docs/ganeti/3.0/html/admin.html,Ganeti administrators guide} to learn about the various cluster options and day-to-day operations. There is also a @url{https://guix.gnu.org/blog/2020/running-a-ganeti-cluster-on-guix/,blog post} describing how to configure and initialize a small cluster."
  54342. msgstr ""
  54343. #. type: defvar
  54344. #: guix-git/doc/guix.texi:35396
  54345. #, fuzzy, no-wrap
  54346. #| msgid "guix-publish-service-type"
  54347. msgid "ganeti-service-type"
  54348. msgstr "guix-publish-service-type"
  54349. #. type: defvar
  54350. #: guix-git/doc/guix.texi:35399
  54351. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  54352. msgstr ""
  54353. #. type: defvar
  54354. #: guix-git/doc/guix.texi:35404
  54355. msgid "Its value is a @code{ganeti-configuration} object that defines the package to use for CLI operations, as well as configuration for the various daemons. Allowed file storage paths and available guest operating systems are also configured through this data type."
  54356. msgstr ""
  54357. #. type: deftp
  54358. #: guix-git/doc/guix.texi:35406
  54359. #, no-wrap
  54360. msgid "{Data Type} ganeti-configuration"
  54361. msgstr ""
  54362. #. type: deftp
  54363. #: guix-git/doc/guix.texi:35408
  54364. msgid "The @code{ganeti} service takes the following configuration options:"
  54365. msgstr ""
  54366. #. type: item
  54367. #: guix-git/doc/guix.texi:35410 guix-git/doc/guix.texi:35660
  54368. #: guix-git/doc/guix.texi:35710 guix-git/doc/guix.texi:35740
  54369. #: guix-git/doc/guix.texi:35767 guix-git/doc/guix.texi:35799
  54370. #: guix-git/doc/guix.texi:35852 guix-git/doc/guix.texi:35872
  54371. #: guix-git/doc/guix.texi:35898 guix-git/doc/guix.texi:35931
  54372. #: guix-git/doc/guix.texi:35971
  54373. #, no-wrap
  54374. msgid "@code{ganeti} (default: @code{ganeti})"
  54375. msgstr ""
  54376. #. type: table
  54377. #: guix-git/doc/guix.texi:35415
  54378. msgid "The @code{ganeti} package to use. It will be installed to the system profile and make @command{gnt-cluster}, @command{gnt-instance}, etc available. Note that the value specified here does not affect the other services as each refer to a specific @code{ganeti} package (see below)."
  54379. msgstr ""
  54380. #. type: item
  54381. #: guix-git/doc/guix.texi:35416
  54382. #, no-wrap
  54383. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  54384. msgstr ""
  54385. #. type: itemx
  54386. #: guix-git/doc/guix.texi:35417
  54387. #, no-wrap
  54388. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  54389. msgstr ""
  54390. #. type: itemx
  54391. #: guix-git/doc/guix.texi:35418
  54392. #, no-wrap
  54393. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  54394. msgstr ""
  54395. #. type: itemx
  54396. #: guix-git/doc/guix.texi:35419
  54397. #, no-wrap
  54398. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  54399. msgstr ""
  54400. #. type: itemx
  54401. #: guix-git/doc/guix.texi:35420
  54402. #, no-wrap
  54403. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  54404. msgstr ""
  54405. #. type: itemx
  54406. #: guix-git/doc/guix.texi:35421
  54407. #, no-wrap
  54408. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  54409. msgstr ""
  54410. #. type: itemx
  54411. #: guix-git/doc/guix.texi:35422
  54412. #, no-wrap
  54413. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  54414. msgstr ""
  54415. #. type: itemx
  54416. #: guix-git/doc/guix.texi:35423
  54417. #, no-wrap
  54418. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  54419. msgstr ""
  54420. #. type: itemx
  54421. #: guix-git/doc/guix.texi:35424
  54422. #, no-wrap
  54423. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  54424. msgstr ""
  54425. #. type: itemx
  54426. #: guix-git/doc/guix.texi:35425
  54427. #, no-wrap
  54428. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  54429. msgstr ""
  54430. #. type: table
  54431. #: guix-git/doc/guix.texi:35430
  54432. msgid "These options control the various daemons and cron jobs that are distributed with Ganeti. The possible values for these are described in detail below. To override a setting, you must use the configuration type for that service:"
  54433. msgstr ""
  54434. #. type: lisp
  54435. #: guix-git/doc/guix.texi:35440
  54436. #, no-wrap
  54437. msgid ""
  54438. "(service ganeti-service-type\n"
  54439. " (ganeti-configuration\n"
  54440. " (rapi-configuration\n"
  54441. " (ganeti-rapi-configuration\n"
  54442. " (interface \"eth1\"))))\n"
  54443. " (watcher-configuration\n"
  54444. " (ganeti-watcher-configuration\n"
  54445. " (rapi-ip \"10.0.0.1\"))))\n"
  54446. msgstr ""
  54447. #. type: item
  54448. #: guix-git/doc/guix.texi:35442
  54449. #, no-wrap
  54450. msgid "@code{file-storage-paths} (default: @code{'()})"
  54451. msgstr ""
  54452. #. type: table
  54453. #: guix-git/doc/guix.texi:35444
  54454. msgid "List of allowed directories for file storage backend."
  54455. msgstr ""
  54456. #. type: item
  54457. #: guix-git/doc/guix.texi:35445
  54458. #, fuzzy, no-wrap
  54459. #| msgid "@code{host} (default: @code{#f})"
  54460. msgid "@code{hooks} (default: @code{#f})"
  54461. msgstr "@code{host} (default: @code{#f})"
  54462. #. type: table
  54463. #: guix-git/doc/guix.texi:35448
  54464. msgid "When set, this should be a file-like object containing a directory with @url{https://docs.ganeti.org/docs/ganeti/3.0/html/hooks.html,cluster execution hooks}."
  54465. msgstr ""
  54466. #. type: item
  54467. #: guix-git/doc/guix.texi:35449
  54468. #, no-wrap
  54469. msgid "@code{os} (default: @code{%default-ganeti-os})"
  54470. msgstr ""
  54471. #. type: table
  54472. #: guix-git/doc/guix.texi:35451
  54473. msgid "List of @code{<ganeti-os>} records."
  54474. msgstr ""
  54475. #. type: deftp
  54476. #: guix-git/doc/guix.texi:35455
  54477. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  54478. msgstr ""
  54479. #. type: lisp
  54480. #: guix-git/doc/guix.texi:35466
  54481. #, no-wrap
  54482. msgid ""
  54483. "(service ganeti-noded-service-type)\n"
  54484. "(service ganeti-confd-service-type)\n"
  54485. "(service ganeti-wconfd-service-type)\n"
  54486. "(service ganeti-luxid-service-type)\n"
  54487. "(service ganeti-kvmd-service-type)\n"
  54488. "(service ganeti-mond-service-type)\n"
  54489. "(service ganeti-metad-service-type)\n"
  54490. "(service ganeti-watcher-service-type)\n"
  54491. "(service ganeti-cleaner-service-type)\n"
  54492. msgstr ""
  54493. #. type: deftp
  54494. #: guix-git/doc/guix.texi:35470
  54495. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  54496. msgstr ""
  54497. #. type: deftp
  54498. #: guix-git/doc/guix.texi:35473
  54499. #, no-wrap
  54500. msgid "{Data Type} ganeti-os"
  54501. msgstr ""
  54502. #. type: deftp
  54503. #: guix-git/doc/guix.texi:35476
  54504. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  54505. msgstr ""
  54506. #. type: table
  54507. #: guix-git/doc/guix.texi:35482
  54508. msgid "The name for this OS provider. It is only used to specify where the configuration ends up. Setting it to ``debootstrap'' will create @file{/etc/ganeti/instance-debootstrap}."
  54509. msgstr ""
  54510. #. type: item
  54511. #: guix-git/doc/guix.texi:35483
  54512. #, fuzzy, no-wrap
  54513. #| msgid "@code{extend} (default: @code{#f})"
  54514. msgid "@code{extension} (default: @code{#f})"
  54515. msgstr "@code{extend} (default: @code{#f})"
  54516. #. type: table
  54517. #: guix-git/doc/guix.texi:35486
  54518. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}. It will be appended to the variant file name if set."
  54519. msgstr ""
  54520. #. type: item
  54521. #: guix-git/doc/guix.texi:35487
  54522. #, no-wrap
  54523. msgid "@code{variants} (default: @code{'()})"
  54524. msgstr ""
  54525. #. type: table
  54526. #: guix-git/doc/guix.texi:35491
  54527. msgid "This must be either a list of @code{ganeti-os-variant} objects for this OS, or a ``file-like'' object (@pxref{G-Expressions, file-like objects}) representing the variants directory."
  54528. msgstr ""
  54529. #. type: table
  54530. #: guix-git/doc/guix.texi:35495
  54531. msgid "To use the Guix OS provider with variant definitions residing in a local directory instead of declaring individual variants (see @var{guix-variants} below), you can do:"
  54532. msgstr ""
  54533. #. type: lisp
  54534. #: guix-git/doc/guix.texi:35501
  54535. #, no-wrap
  54536. msgid ""
  54537. "(ganeti-os\n"
  54538. " (name \"guix\")\n"
  54539. " (variants (local-file \"ganeti-guix-variants\"\n"
  54540. " #:recursive? #true)))\n"
  54541. msgstr ""
  54542. #. type: table
  54543. #: guix-git/doc/guix.texi:35507
  54544. msgid "Note that you will need to maintain the @file{variants.list} file (see @code{@url{https://docs.ganeti.org/docs/ganeti/3.0/man/ganeti-os-interface.html, ganeti-os-interface(7)}}) manually in this case."
  54545. msgstr ""
  54546. #. type: deftp
  54547. #: guix-git/doc/guix.texi:35511
  54548. #, no-wrap
  54549. msgid "{Data Type} ganeti-os-variant"
  54550. msgstr ""
  54551. #. type: deftp
  54552. #: guix-git/doc/guix.texi:35514
  54553. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  54554. msgstr ""
  54555. #. type: table
  54556. #: guix-git/doc/guix.texi:35518
  54557. msgid "The name of this variant."
  54558. msgstr ""
  54559. #. type: code{#1}
  54560. #: guix-git/doc/guix.texi:35519
  54561. #, no-wrap
  54562. msgid "configuration"
  54563. msgstr ""
  54564. #. type: table
  54565. #: guix-git/doc/guix.texi:35521
  54566. msgid "A configuration file for this variant."
  54567. msgstr ""
  54568. #. type: defvar
  54569. #: guix-git/doc/guix.texi:35524
  54570. #, no-wrap
  54571. msgid "%default-debootstrap-hooks"
  54572. msgstr ""
  54573. #. type: defvar
  54574. #: guix-git/doc/guix.texi:35526
  54575. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  54576. msgstr ""
  54577. #. type: defvar
  54578. #: guix-git/doc/guix.texi:35528
  54579. #, no-wrap
  54580. msgid "%default-debootstrap-extra-pkgs"
  54581. msgstr ""
  54582. #. type: defvar
  54583. #: guix-git/doc/guix.texi:35530
  54584. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  54585. msgstr ""
  54586. #. type: deftp
  54587. #: guix-git/doc/guix.texi:35532
  54588. #, no-wrap
  54589. msgid "{Data Type} debootstrap-configuration"
  54590. msgstr ""
  54591. #. type: deftp
  54592. #: guix-git/doc/guix.texi:35535
  54593. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  54594. msgstr ""
  54595. #. type: item
  54596. #: guix-git/doc/guix.texi:35537
  54597. #, no-wrap
  54598. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  54599. msgstr ""
  54600. #. type: table
  54601. #: guix-git/doc/guix.texi:35541
  54602. msgid "When not @code{#f}, this must be a G-expression that specifies a directory with scripts that will run when the OS is installed. It can also be a list of @code{(name . file-like)} pairs. For example:"
  54603. msgstr ""
  54604. #. type: lisp
  54605. #: guix-git/doc/guix.texi:35544
  54606. #, no-wrap
  54607. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  54608. msgstr ""
  54609. #. type: table
  54610. #: guix-git/doc/guix.texi:35549
  54611. msgid "That will create a directory with one executable named @code{99-hello-world} and run it every time this variant is installed. If set to @code{#f}, hooks in @file{/etc/ganeti/instance-debootstrap/hooks} will be used, if any."
  54612. msgstr ""
  54613. #. type: item
  54614. #: guix-git/doc/guix.texi:35549
  54615. #, no-wrap
  54616. msgid "@code{proxy} (default: @code{#f})"
  54617. msgstr ""
  54618. #. type: table
  54619. #: guix-git/doc/guix.texi:35551
  54620. msgid "Optional HTTP proxy to use."
  54621. msgstr ""
  54622. #. type: item
  54623. #: guix-git/doc/guix.texi:35551 guix-git/doc/guix.texi:37803
  54624. #, no-wrap
  54625. msgid "@code{mirror} (default: @code{#f})"
  54626. msgstr ""
  54627. #. type: table
  54628. #: guix-git/doc/guix.texi:35554
  54629. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  54630. msgstr ""
  54631. #. type: item
  54632. #: guix-git/doc/guix.texi:35554
  54633. #, no-wrap
  54634. msgid "@code{arch} (default: @code{#f})"
  54635. msgstr ""
  54636. #. type: table
  54637. #: guix-git/doc/guix.texi:35557
  54638. msgid "The dpkg architecture. Set to @code{armhf} to debootstrap an ARMv7 instance on an AArch64 host. Default is to use the current system architecture."
  54639. msgstr ""
  54640. #. type: item
  54641. #: guix-git/doc/guix.texi:35557
  54642. #, no-wrap
  54643. msgid "@code{suite} (default: @code{\"stable\"})"
  54644. msgstr ""
  54645. #. type: table
  54646. #: guix-git/doc/guix.texi:35560
  54647. msgid "When set, this must be a Debian distribution ``suite'' such as @code{buster} or @code{focal}. If set to @code{#f}, the default for the OS provider is used."
  54648. msgstr ""
  54649. #. type: item
  54650. #: guix-git/doc/guix.texi:35560
  54651. #, no-wrap
  54652. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  54653. msgstr ""
  54654. #. type: table
  54655. #: guix-git/doc/guix.texi:35563
  54656. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  54657. msgstr ""
  54658. #. type: item
  54659. #: guix-git/doc/guix.texi:35563
  54660. #, no-wrap
  54661. msgid "@code{components} (default: @code{#f})"
  54662. msgstr ""
  54663. #. type: table
  54664. #: guix-git/doc/guix.texi:35566
  54665. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  54666. msgstr ""
  54667. #. type: item
  54668. #: guix-git/doc/guix.texi:35566
  54669. #, no-wrap
  54670. msgid "@code{generate-cache?} (default: @code{#t})"
  54671. msgstr ""
  54672. #. type: table
  54673. #: guix-git/doc/guix.texi:35568
  54674. msgid "Whether to automatically cache the generated debootstrap archive."
  54675. msgstr ""
  54676. #. type: item
  54677. #: guix-git/doc/guix.texi:35568
  54678. #, no-wrap
  54679. msgid "@code{clean-cache} (default: @code{14})"
  54680. msgstr ""
  54681. #. type: table
  54682. #: guix-git/doc/guix.texi:35571
  54683. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  54684. msgstr ""
  54685. #. type: item
  54686. #: guix-git/doc/guix.texi:35571
  54687. #, no-wrap
  54688. msgid "@code{partition-style} (default: @code{'msdos})"
  54689. msgstr ""
  54690. #. type: table
  54691. #: guix-git/doc/guix.texi:35574
  54692. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  54693. msgstr ""
  54694. #. type: item
  54695. #: guix-git/doc/guix.texi:35574
  54696. #, no-wrap
  54697. msgid "@code{partition-alignment} (default: @code{2048})"
  54698. msgstr ""
  54699. #. type: table
  54700. #: guix-git/doc/guix.texi:35576
  54701. msgid "Alignment of the partition in sectors."
  54702. msgstr ""
  54703. #. type: defun
  54704. #: guix-git/doc/guix.texi:35579
  54705. #, fuzzy, no-wrap
  54706. #| msgid "Instantiating a system configuration."
  54707. msgid "debootstrap-variant name configuration"
  54708. msgstr "Inicializando uma configuração de sistema."
  54709. #. type: defun
  54710. #: guix-git/doc/guix.texi:35582
  54711. msgid "This is a helper procedure that creates a @code{ganeti-os-variant} record. It takes two parameters: a name and a @code{debootstrap-configuration} object."
  54712. msgstr ""
  54713. #. type: defun
  54714. #: guix-git/doc/guix.texi:35584
  54715. #, no-wrap
  54716. msgid "debootstrap-os variants@dots{}"
  54717. msgstr ""
  54718. #. type: defun
  54719. #: guix-git/doc/guix.texi:35587
  54720. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  54721. msgstr ""
  54722. #. type: defun
  54723. #: guix-git/doc/guix.texi:35589
  54724. #, fuzzy, no-wrap
  54725. #| msgid "git configuration"
  54726. msgid "guix-variant name configuration"
  54727. msgstr "Configuração do git"
  54728. #. type: defun
  54729. #: guix-git/doc/guix.texi:35594
  54730. msgid "This is a helper procedure that creates a @code{ganeti-os-variant} record for use with the Guix OS provider. It takes a name and a G-expression that returns a ``file-like'' (@pxref{G-Expressions, file-like objects}) object containing a Guix System configuration."
  54731. msgstr ""
  54732. #. type: defun
  54733. #: guix-git/doc/guix.texi:35596
  54734. #, no-wrap
  54735. msgid "guix-os variants@dots{}"
  54736. msgstr ""
  54737. #. type: defun
  54738. #: guix-git/doc/guix.texi:35599
  54739. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  54740. msgstr ""
  54741. #. type: defvar
  54742. #: guix-git/doc/guix.texi:35601
  54743. #, no-wrap
  54744. msgid "%default-debootstrap-variants"
  54745. msgstr ""
  54746. #. type: defvar
  54747. #: guix-git/doc/guix.texi:35605
  54748. msgid "This is a convenience variable to make the debootstrap provider work ``out of the box'' without users having to declare variants manually. It contains a single debootstrap variant with the default configuration:"
  54749. msgstr ""
  54750. #. type: lisp
  54751. #: guix-git/doc/guix.texi:35610
  54752. #, no-wrap
  54753. msgid ""
  54754. "(list (debootstrap-variant\n"
  54755. " \"default\"\n"
  54756. " (debootstrap-configuration)))\n"
  54757. msgstr ""
  54758. #. type: defvar
  54759. #: guix-git/doc/guix.texi:35613
  54760. #, no-wrap
  54761. msgid "%default-guix-variants"
  54762. msgstr ""
  54763. #. type: defvar
  54764. #: guix-git/doc/guix.texi:35617
  54765. msgid "This is a convenience variable to make the Guix OS provider work without additional configuration. It creates a virtual machine that has an SSH server, a serial console, and authorizes the Ganeti hosts SSH keys."
  54766. msgstr ""
  54767. #. type: lisp
  54768. #: guix-git/doc/guix.texi:35623
  54769. #, no-wrap
  54770. msgid ""
  54771. "(list (guix-variant\n"
  54772. " \"default\"\n"
  54773. " (file-append ganeti-instance-guix\n"
  54774. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  54775. msgstr ""
  54776. #. type: Plain text
  54777. #: guix-git/doc/guix.texi:35629
  54778. msgid "Users can implement support for OS providers unbeknownst to Guix by extending the @code{ganeti-os} and @code{ganeti-os-variant} records appropriately. For example:"
  54779. msgstr ""
  54780. #. type: lisp
  54781. #: guix-git/doc/guix.texi:35638
  54782. #, no-wrap
  54783. msgid ""
  54784. "(ganeti-os\n"
  54785. " (name \"custom\")\n"
  54786. " (extension \".conf\")\n"
  54787. " (variants\n"
  54788. " (list (ganeti-os-variant\n"
  54789. " (name \"foo\")\n"
  54790. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  54791. msgstr ""
  54792. #. type: Plain text
  54793. #: guix-git/doc/guix.texi:35643
  54794. msgid "That creates @file{/etc/ganeti/instance-custom/variants/foo.conf} which points to a file in the store with contents @code{this is fine}. It also creates @file{/etc/ganeti/instance-custom/variants/variants.list} with contents @code{foo}."
  54795. msgstr ""
  54796. #. type: Plain text
  54797. #: guix-git/doc/guix.texi:35646
  54798. msgid "Obviously this may not work for all OS providers out there. If you find the interface limiting, please reach out to @email{guix-devel@@gnu.org}."
  54799. msgstr ""
  54800. #. type: Plain text
  54801. #: guix-git/doc/guix.texi:35649
  54802. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  54803. msgstr ""
  54804. #. type: defvar
  54805. #: guix-git/doc/guix.texi:35650
  54806. #, fuzzy, no-wrap
  54807. #| msgid "guix-publish-service-type"
  54808. msgid "ganeti-noded-service-type"
  54809. msgstr "guix-publish-service-type"
  54810. #. type: defvar
  54811. #: guix-git/doc/guix.texi:35654
  54812. msgid "@command{ganeti-noded} is the daemon responsible for node-specific functions within the Ganeti system. The value of this service must be a @code{ganeti-noded-configuration} object."
  54813. msgstr ""
  54814. #. type: deftp
  54815. #: guix-git/doc/guix.texi:35656
  54816. #, no-wrap
  54817. msgid "{Data Type} ganeti-noded-configuration"
  54818. msgstr ""
  54819. #. type: deftp
  54820. #: guix-git/doc/guix.texi:35658
  54821. msgid "This is the configuration for the @code{ganeti-noded} service."
  54822. msgstr ""
  54823. #. type: table
  54824. #: guix-git/doc/guix.texi:35662 guix-git/doc/guix.texi:35712
  54825. #: guix-git/doc/guix.texi:35742 guix-git/doc/guix.texi:35769
  54826. #: guix-git/doc/guix.texi:35801 guix-git/doc/guix.texi:35854
  54827. #: guix-git/doc/guix.texi:35874 guix-git/doc/guix.texi:35900
  54828. #: guix-git/doc/guix.texi:35933
  54829. msgid "The @code{ganeti} package to use for this service."
  54830. msgstr ""
  54831. #. type: item
  54832. #: guix-git/doc/guix.texi:35663
  54833. #, no-wrap
  54834. msgid "@code{port} (default: @code{1811})"
  54835. msgstr ""
  54836. #. type: table
  54837. #: guix-git/doc/guix.texi:35665
  54838. msgid "The TCP port on which the node daemon listens for network requests."
  54839. msgstr ""
  54840. #. type: item
  54841. #: guix-git/doc/guix.texi:35666 guix-git/doc/guix.texi:35716
  54842. #: guix-git/doc/guix.texi:35808 guix-git/doc/guix.texi:35878
  54843. #, no-wrap
  54844. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  54845. msgstr ""
  54846. #. type: table
  54847. #: guix-git/doc/guix.texi:35669
  54848. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  54849. msgstr ""
  54850. #. type: table
  54851. #: guix-git/doc/guix.texi:35673
  54852. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  54853. msgstr ""
  54854. #. type: item
  54855. #: guix-git/doc/guix.texi:35674 guix-git/doc/guix.texi:35816
  54856. #, no-wrap
  54857. msgid "@code{max-clients} (default: @code{20})"
  54858. msgstr ""
  54859. #. type: table
  54860. #: guix-git/doc/guix.texi:35678
  54861. msgid "This sets a limit on the maximum number of simultaneous client connections that the daemon will handle. Connections above this count are accepted, but no responses will be sent until enough connections have closed."
  54862. msgstr ""
  54863. #. type: item
  54864. #: guix-git/doc/guix.texi:35679 guix-git/doc/guix.texi:35821
  54865. #, no-wrap
  54866. msgid "@code{ssl?} (default: @code{#t})"
  54867. msgstr ""
  54868. #. type: table
  54869. #: guix-git/doc/guix.texi:35683
  54870. msgid "Whether to use SSL/TLS to encrypt network communications. The certificate is automatically provisioned by the cluster and can be rotated with @command{gnt-cluster renew-crypto}."
  54871. msgstr ""
  54872. #. type: item
  54873. #: guix-git/doc/guix.texi:35684 guix-git/doc/guix.texi:35824
  54874. #, no-wrap
  54875. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  54876. msgstr ""
  54877. #. type: table
  54878. #: guix-git/doc/guix.texi:35686 guix-git/doc/guix.texi:35826
  54879. msgid "This can be used to provide a specific encryption key for TLS communications."
  54880. msgstr ""
  54881. #. type: item
  54882. #: guix-git/doc/guix.texi:35687 guix-git/doc/guix.texi:35827
  54883. #, no-wrap
  54884. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  54885. msgstr ""
  54886. #. type: table
  54887. #: guix-git/doc/guix.texi:35689 guix-git/doc/guix.texi:35829
  54888. msgid "This can be used to provide a specific certificate for TLS communications."
  54889. msgstr ""
  54890. #. type: table
  54891. #: guix-git/doc/guix.texi:35693 guix-git/doc/guix.texi:35833
  54892. msgid "When true, the daemon performs additional logging for debugging purposes. Note that this will leak encryption details to the log files, use with caution."
  54893. msgstr ""
  54894. #. type: defvar
  54895. #: guix-git/doc/guix.texi:35697
  54896. #, fuzzy, no-wrap
  54897. #| msgid "guix-publish-service-type"
  54898. msgid "ganeti-confd-service-type"
  54899. msgstr "guix-publish-service-type"
  54900. #. type: defvar
  54901. #: guix-git/doc/guix.texi:35703
  54902. msgid "@command{ganeti-confd} answers queries related to the configuration of a Ganeti cluster. The purpose of this daemon is to have a highly available and fast way to query cluster configuration values. It is automatically active on all @dfn{master candidates}. The value of this service must be a @code{ganeti-confd-configuration} object."
  54903. msgstr ""
  54904. #. type: deftp
  54905. #: guix-git/doc/guix.texi:35706
  54906. #, no-wrap
  54907. msgid "{Data Type} ganeti-confd-configuration"
  54908. msgstr ""
  54909. #. type: deftp
  54910. #: guix-git/doc/guix.texi:35708
  54911. msgid "This is the configuration for the @code{ganeti-confd} service."
  54912. msgstr ""
  54913. #. type: item
  54914. #: guix-git/doc/guix.texi:35713
  54915. #, no-wrap
  54916. msgid "@code{port} (default: @code{1814})"
  54917. msgstr ""
  54918. #. type: table
  54919. #: guix-git/doc/guix.texi:35715
  54920. msgid "The UDP port on which to listen for network requests."
  54921. msgstr ""
  54922. #. type: table
  54923. #: guix-git/doc/guix.texi:35718
  54924. msgid "Network address that the daemon will bind to."
  54925. msgstr ""
  54926. #. type: table
  54927. #: guix-git/doc/guix.texi:35721 guix-git/doc/guix.texi:35750
  54928. #: guix-git/doc/guix.texi:35777 guix-git/doc/guix.texi:35857
  54929. #: guix-git/doc/guix.texi:35884 guix-git/doc/guix.texi:35910
  54930. msgid "When true, the daemon performs additional logging for debugging purposes."
  54931. msgstr ""
  54932. #. type: defvar
  54933. #: guix-git/doc/guix.texi:35725
  54934. #, fuzzy, no-wrap
  54935. #| msgid "guix-publish-service-type"
  54936. msgid "ganeti-wconfd-service-type"
  54937. msgstr "guix-publish-service-type"
  54938. #. type: defvar
  54939. #: guix-git/doc/guix.texi:35731
  54940. msgid "@command{ganeti-wconfd} is the daemon that has authoritative knowledge about the cluster configuration and is the only entity that can accept changes to it. All jobs that need to modify the configuration will do so by sending appropriate requests to this daemon. It only runs on the @dfn{master node} and will automatically disable itself on other nodes."
  54941. msgstr ""
  54942. #. type: defvar
  54943. #: guix-git/doc/guix.texi:35734
  54944. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  54945. msgstr ""
  54946. #. type: deftp
  54947. #: guix-git/doc/guix.texi:35736
  54948. #, no-wrap
  54949. msgid "{Data Type} ganeti-wconfd-configuration"
  54950. msgstr ""
  54951. #. type: deftp
  54952. #: guix-git/doc/guix.texi:35738
  54953. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  54954. msgstr ""
  54955. #. type: item
  54956. #: guix-git/doc/guix.texi:35743 guix-git/doc/guix.texi:35770
  54957. #, no-wrap
  54958. msgid "@code{no-voting?} (default: @code{#f})"
  54959. msgstr ""
  54960. #. type: table
  54961. #: guix-git/doc/guix.texi:35747
  54962. msgid "The daemon will refuse to start if the majority of cluster nodes does not agree that it is running on the master node. Set to @code{#t} to start even if a quorum can not be reached (dangerous, use with caution)."
  54963. msgstr ""
  54964. #. type: defvar
  54965. #: guix-git/doc/guix.texi:35754
  54966. #, fuzzy, no-wrap
  54967. #| msgid "guix-publish-service-type"
  54968. msgid "ganeti-luxid-service-type"
  54969. msgstr "guix-publish-service-type"
  54970. #. type: defvar
  54971. #: guix-git/doc/guix.texi:35759
  54972. msgid "@command{ganeti-luxid} is a daemon used to answer queries related to the configuration and the current live state of a Ganeti cluster. Additionally, it is the authoritative daemon for the Ganeti job queue. Jobs can be submitted via this daemon and it schedules and starts them."
  54973. msgstr ""
  54974. #. type: defvar
  54975. #: guix-git/doc/guix.texi:35761
  54976. msgid "It takes a @code{ganeti-luxid-configuration} object."
  54977. msgstr ""
  54978. #. type: deftp
  54979. #: guix-git/doc/guix.texi:35763
  54980. #, no-wrap
  54981. msgid "{Data Type} ganeti-luxid-configuration"
  54982. msgstr ""
  54983. #. type: deftp
  54984. #: guix-git/doc/guix.texi:35765
  54985. #, fuzzy
  54986. msgid "This is the configuration for the @code{ganeti-luxid} service."
  54987. msgstr "Gerencie a configuração do sistema operacional."
  54988. #. type: table
  54989. #: guix-git/doc/guix.texi:35774
  54990. msgid "The daemon will refuse to start if it cannot verify that the majority of cluster nodes believes that it is running on the master node. Set to @code{#t} to ignore such checks and start anyway (this can be dangerous)."
  54991. msgstr ""
  54992. #. type: defvar
  54993. #: guix-git/doc/guix.texi:35781
  54994. #, fuzzy, no-wrap
  54995. #| msgid "guix-publish-service-type"
  54996. msgid "ganeti-rapi-service-type"
  54997. msgstr "guix-publish-service-type"
  54998. #. type: defvar
  54999. #: guix-git/doc/guix.texi:35785
  55000. msgid "@command{ganeti-rapi} provides a remote API for Ganeti clusters. It runs on the master node and can be used to perform cluster actions programmatically via a JSON-based RPC protocol."
  55001. msgstr ""
  55002. #. type: defvar
  55003. #: guix-git/doc/guix.texi:35791
  55004. msgid "Most query operations are allowed without authentication (unless @var{require-authentication?} is set), whereas write operations require explicit authorization via the @file{/var/lib/ganeti/rapi/users} file. See the @url{https://docs.ganeti.org/docs/ganeti/3.0/html/rapi.html, Ganeti Remote API documentation} for more information."
  55005. msgstr ""
  55006. #. type: defvar
  55007. #: guix-git/doc/guix.texi:35793
  55008. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  55009. msgstr ""
  55010. #. type: deftp
  55011. #: guix-git/doc/guix.texi:35795
  55012. #, no-wrap
  55013. msgid "{Data Type} ganeti-rapi-configuration"
  55014. msgstr ""
  55015. #. type: deftp
  55016. #: guix-git/doc/guix.texi:35797
  55017. msgid "This is the configuration for the @code{ganeti-rapi} service."
  55018. msgstr ""
  55019. #. type: item
  55020. #: guix-git/doc/guix.texi:35802
  55021. #, no-wrap
  55022. msgid "@code{require-authentication?} (default: @code{#f})"
  55023. msgstr ""
  55024. #. type: table
  55025. #: guix-git/doc/guix.texi:35804
  55026. msgid "Whether to require authentication even for read-only operations."
  55027. msgstr ""
  55028. #. type: item
  55029. #: guix-git/doc/guix.texi:35805
  55030. #, no-wrap
  55031. msgid "@code{port} (default: @code{5080})"
  55032. msgstr ""
  55033. #. type: table
  55034. #: guix-git/doc/guix.texi:35807
  55035. msgid "The TCP port on which to listen to API requests."
  55036. msgstr ""
  55037. #. type: table
  55038. #: guix-git/doc/guix.texi:35811
  55039. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  55040. msgstr ""
  55041. #. type: table
  55042. #: guix-git/doc/guix.texi:35815
  55043. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  55044. msgstr ""
  55045. #. type: table
  55046. #: guix-git/doc/guix.texi:35820
  55047. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  55048. msgstr ""
  55049. #. type: table
  55050. #: guix-git/doc/guix.texi:35823
  55051. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  55052. msgstr ""
  55053. #. type: defvar
  55054. #: guix-git/doc/guix.texi:35837
  55055. #, fuzzy, no-wrap
  55056. #| msgid "guix-publish-service-type"
  55057. msgid "ganeti-kvmd-service-type"
  55058. msgstr "guix-publish-service-type"
  55059. #. type: defvar
  55060. #: guix-git/doc/guix.texi:35845
  55061. msgid "@command{ganeti-kvmd} is responsible for determining whether a given KVM instance was shut down by an administrator or a user. Normally Ganeti will restart an instance that was not stopped through Ganeti itself. If the cluster option @code{user_shutdown} is true, this daemon monitors the @code{QMP} socket provided by QEMU and listens for shutdown events, and marks the instance as @dfn{USER_down} instead of @dfn{ERROR_down} when it shuts down gracefully by itself."
  55062. msgstr ""
  55063. #. type: defvar
  55064. #: guix-git/doc/guix.texi:35847
  55065. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  55066. msgstr ""
  55067. #. type: deftp
  55068. #: guix-git/doc/guix.texi:35849
  55069. #, no-wrap
  55070. msgid "{Data Type} ganeti-kvmd-configuration"
  55071. msgstr ""
  55072. #. type: defvar
  55073. #: guix-git/doc/guix.texi:35861
  55074. #, fuzzy, no-wrap
  55075. #| msgid "guix-publish-service-type"
  55076. msgid "ganeti-mond-service-type"
  55077. msgstr "guix-publish-service-type"
  55078. #. type: defvar
  55079. #: guix-git/doc/guix.texi:35865
  55080. msgid "@command{ganeti-mond} is an optional daemon that provides Ganeti monitoring functionality. It is responsible for running data collectors and publish the collected information through a HTTP interface."
  55081. msgstr ""
  55082. #. type: defvar
  55083. #: guix-git/doc/guix.texi:35867
  55084. msgid "It takes a @code{ganeti-mond-configuration} object."
  55085. msgstr ""
  55086. #. type: deftp
  55087. #: guix-git/doc/guix.texi:35869
  55088. #, no-wrap
  55089. msgid "{Data Type} ganeti-mond-configuration"
  55090. msgstr ""
  55091. #. type: item
  55092. #: guix-git/doc/guix.texi:35875
  55093. #, no-wrap
  55094. msgid "@code{port} (default: @code{1815})"
  55095. msgstr ""
  55096. #. type: table
  55097. #: guix-git/doc/guix.texi:35877 guix-git/doc/guix.texi:35903
  55098. msgid "The port on which the daemon will listen."
  55099. msgstr ""
  55100. #. type: table
  55101. #: guix-git/doc/guix.texi:35881
  55102. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  55103. msgstr ""
  55104. #. type: defvar
  55105. #: guix-git/doc/guix.texi:35888
  55106. #, fuzzy, no-wrap
  55107. #| msgid "guix-publish-service-type"
  55108. msgid "ganeti-metad-service-type"
  55109. msgstr "guix-publish-service-type"
  55110. #. type: defvar
  55111. #: guix-git/doc/guix.texi:35891
  55112. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  55113. msgstr ""
  55114. #. type: defvar
  55115. #: guix-git/doc/guix.texi:35893
  55116. msgid "It takes a @code{ganeti-metad-configuration} object."
  55117. msgstr ""
  55118. #. type: deftp
  55119. #: guix-git/doc/guix.texi:35895
  55120. #, no-wrap
  55121. msgid "{Data Type} ganeti-metad-configuration"
  55122. msgstr ""
  55123. #. type: table
  55124. #: guix-git/doc/guix.texi:35907
  55125. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  55126. msgstr ""
  55127. #. type: defvar
  55128. #: guix-git/doc/guix.texi:35914
  55129. #, fuzzy, no-wrap
  55130. #| msgid "guix-publish-service-type"
  55131. msgid "ganeti-watcher-service-type"
  55132. msgstr "guix-publish-service-type"
  55133. #. type: defvar
  55134. #: guix-git/doc/guix.texi:35922
  55135. msgid "@command{ganeti-watcher} is a script designed to run periodically and ensure the health of a cluster. It will automatically restart instances that have stopped without Ganeti's consent, and repairs DRBD links in case a node has rebooted. It also archives old cluster jobs and restarts Ganeti daemons that are not running. If the cluster parameter @code{ensure_node_health} is set, the watcher will also shutdown instances and DRBD devices if the node it is running on is declared offline by known master candidates."
  55136. msgstr ""
  55137. #. type: defvar
  55138. #: guix-git/doc/guix.texi:35924
  55139. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  55140. msgstr ""
  55141. #. type: defvar
  55142. #: guix-git/doc/guix.texi:35926
  55143. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  55144. msgstr ""
  55145. #. type: deftp
  55146. #: guix-git/doc/guix.texi:35928
  55147. #, no-wrap
  55148. msgid "{Data Type} ganeti-watcher-configuration"
  55149. msgstr ""
  55150. #. type: item
  55151. #: guix-git/doc/guix.texi:35934
  55152. #, no-wrap
  55153. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  55154. msgstr ""
  55155. #. type: table
  55156. #: guix-git/doc/guix.texi:35936
  55157. msgid "How often to run the script. The default is every five minutes."
  55158. msgstr ""
  55159. #. type: item
  55160. #: guix-git/doc/guix.texi:35937
  55161. #, no-wrap
  55162. msgid "@code{rapi-ip} (default: @code{#f})"
  55163. msgstr ""
  55164. #. type: table
  55165. #: guix-git/doc/guix.texi:35940
  55166. msgid "This option needs to be specified only if the RAPI daemon is configured to use a particular interface or address. By default the cluster address is used."
  55167. msgstr ""
  55168. #. type: item
  55169. #: guix-git/doc/guix.texi:35941
  55170. #, no-wrap
  55171. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  55172. msgstr ""
  55173. #. type: table
  55174. #: guix-git/doc/guix.texi:35944
  55175. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  55176. msgstr ""
  55177. #. type: item
  55178. #: guix-git/doc/guix.texi:35945
  55179. #, no-wrap
  55180. msgid "@code{verify-disks?} (default: @code{#t})"
  55181. msgstr ""
  55182. #. type: table
  55183. #: guix-git/doc/guix.texi:35949
  55184. msgid "If this is @code{#f}, the watcher will not try to repair broken DRBD links automatically. Administrators will need to use @command{gnt-cluster verify-disks} manually instead."
  55185. msgstr ""
  55186. #. type: table
  55187. #: guix-git/doc/guix.texi:35952
  55188. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  55189. msgstr ""
  55190. #. type: defvar
  55191. #: guix-git/doc/guix.texi:35956
  55192. #, fuzzy, no-wrap
  55193. #| msgid "guix-publish-service-type"
  55194. msgid "ganeti-cleaner-service-type"
  55195. msgstr "guix-publish-service-type"
  55196. #. type: defvar
  55197. #: guix-git/doc/guix.texi:35964
  55198. msgid "@command{ganeti-cleaner} is a script designed to run periodically and remove old files from the cluster. This service type controls two @dfn{cron jobs}: one intended for the master node that permanently purges old cluster jobs, and one intended for every node that removes expired X509 certificates, keys, and outdated @command{ganeti-watcher} information. Like all Ganeti services, it is safe to include even on non-master nodes as it will disable itself as necessary."
  55199. msgstr ""
  55200. #. type: defvar
  55201. #: guix-git/doc/guix.texi:35966
  55202. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  55203. msgstr ""
  55204. #. type: deftp
  55205. #: guix-git/doc/guix.texi:35968
  55206. #, no-wrap
  55207. msgid "{Data Type} ganeti-cleaner-configuration"
  55208. msgstr ""
  55209. #. type: table
  55210. #: guix-git/doc/guix.texi:35973
  55211. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  55212. msgstr ""
  55213. #. type: item
  55214. #: guix-git/doc/guix.texi:35974
  55215. #, no-wrap
  55216. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  55217. msgstr ""
  55218. #. type: table
  55219. #: guix-git/doc/guix.texi:35977
  55220. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  55221. msgstr ""
  55222. #. type: item
  55223. #: guix-git/doc/guix.texi:35978
  55224. #, no-wrap
  55225. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  55226. msgstr ""
  55227. #. type: table
  55228. #: guix-git/doc/guix.texi:35981
  55229. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  55230. msgstr ""
  55231. #. type: Plain text
  55232. #: guix-git/doc/guix.texi:35995
  55233. msgid "The @code{(gnu services version-control)} module provides a service to allow remote access to local Git repositories. There are three options: the @code{git-daemon-service-type}, which provides access to repositories via the @code{git://} unsecured TCP-based protocol, extending the @code{nginx} web server to proxy some requests to @code{git-http-backend}, or providing a web interface with @code{cgit-service-type}."
  55234. msgstr ""
  55235. #. type: defvar
  55236. #: guix-git/doc/guix.texi:35996
  55237. #, fuzzy, no-wrap
  55238. #| msgid "guix-publish-service-type"
  55239. msgid "git-daemon-service-type"
  55240. msgstr "guix-publish-service-type"
  55241. #. type: defvar
  55242. #: guix-git/doc/guix.texi:35999
  55243. msgid "Type for a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  55244. msgstr ""
  55245. #. type: defvar
  55246. #: guix-git/doc/guix.texi:36004
  55247. msgid "The value for this service type is a @code{<git-daemon-configuration>} record, by default it allows read-only access to exported@footnote{By creating the magic file @file{git-daemon-export-ok} in the repository directory.} repositories under @file{/srv/git}."
  55248. msgstr ""
  55249. #. type: deftp
  55250. #: guix-git/doc/guix.texi:36006
  55251. #, no-wrap
  55252. msgid "{Data Type} git-daemon-configuration"
  55253. msgstr ""
  55254. #. type: deftp
  55255. #: guix-git/doc/guix.texi:36008
  55256. #, fuzzy
  55257. msgid "Data type representing the configuration for @code{git-daemon-service-type}."
  55258. msgstr "Gerencie a configuração do sistema operacional."
  55259. #. type: item
  55260. #: guix-git/doc/guix.texi:36010
  55261. #, no-wrap
  55262. msgid "@code{package} (default: @code{git})"
  55263. msgstr ""
  55264. #. type: table
  55265. #: guix-git/doc/guix.texi:36012 guix-git/doc/guix.texi:36072
  55266. msgid "Package object of the Git distributed version control system."
  55267. msgstr ""
  55268. #. type: item
  55269. #: guix-git/doc/guix.texi:36013 guix-git/doc/guix.texi:36076
  55270. #, no-wrap
  55271. msgid "@code{export-all?} (default: @code{#f})"
  55272. msgstr ""
  55273. #. type: table
  55274. #: guix-git/doc/guix.texi:36016
  55275. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  55276. msgstr ""
  55277. #. type: item
  55278. #: guix-git/doc/guix.texi:36017
  55279. #, no-wrap
  55280. msgid "@code{base-path} (default: @file{/srv/git})"
  55281. msgstr ""
  55282. #. type: table
  55283. #: guix-git/doc/guix.texi:36023
  55284. msgid "Whether to remap all the path requests as relative to the given path. If you run @command{git daemon} with @code{(base-path \"/srv/git\")} on @samp{example.com}, then if you later try to pull @indicateurl{git://example.com/hello.git}, git daemon will interpret the path as @file{/srv/git/hello.git}."
  55285. msgstr ""
  55286. #. type: item
  55287. #: guix-git/doc/guix.texi:36024
  55288. #, no-wrap
  55289. msgid "@code{user-path} (default: @code{#f})"
  55290. msgstr ""
  55291. #. type: table
  55292. #: guix-git/doc/guix.texi:36032
  55293. msgid "Whether to allow @code{~user} notation to be used in requests. When specified with empty string, requests to @indicateurl{git://host/~alice/foo} is taken as a request to access @code{foo} repository in the home directory of user @code{alice}. If @code{(user-path \"@var{path}\")} is specified, the same request is taken as a request to access @file{@var{path}/foo} repository in the home directory of user @code{alice}."
  55294. msgstr ""
  55295. #. type: item
  55296. #: guix-git/doc/guix.texi:36033
  55297. #, no-wrap
  55298. msgid "@code{listen} (default: @code{'()})"
  55299. msgstr ""
  55300. #. type: table
  55301. #: guix-git/doc/guix.texi:36036
  55302. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  55303. msgstr ""
  55304. #. type: item
  55305. #: guix-git/doc/guix.texi:36037
  55306. #, no-wrap
  55307. msgid "@code{port} (default: @code{#f})"
  55308. msgstr ""
  55309. #. type: table
  55310. #: guix-git/doc/guix.texi:36039
  55311. msgid "Whether to listen on an alternative port, which defaults to 9418."
  55312. msgstr ""
  55313. #. type: item
  55314. #: guix-git/doc/guix.texi:36040
  55315. #, no-wrap
  55316. msgid "@code{whitelist} (default: @code{'()})"
  55317. msgstr ""
  55318. #. type: table
  55319. #: guix-git/doc/guix.texi:36042
  55320. msgid "If not empty, only allow access to this list of directories."
  55321. msgstr ""
  55322. #. type: table
  55323. #: guix-git/doc/guix.texi:36046
  55324. msgid "Extra options that will be passed to @command{git daemon}.@footnote{Run @command{man git-daemon} for more information.}"
  55325. msgstr ""
  55326. #. type: Plain text
  55327. #: guix-git/doc/guix.texi:36060
  55328. msgid "The @code{git://} protocol lacks authentication. When you pull from a repository fetched via @code{git://}, you don't know whether the data you receive was modified or is even coming from the specified host, and your connection is subject to eavesdropping. It's better to use an authenticated and encrypted transport, such as @code{https}. Although Git allows you to serve repositories using unsophisticated file-based web servers, there is a faster protocol implemented by the @code{git-http-backend} program. This program is the back-end of a proper Git web service. It is designed to sit behind a FastCGI proxy. @xref{Web Services}, for more on running the necessary @code{fcgiwrap} daemon."
  55329. msgstr ""
  55330. #. type: Plain text
  55331. #: guix-git/doc/guix.texi:36063
  55332. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  55333. msgstr ""
  55334. #. type: deftp
  55335. #: guix-git/doc/guix.texi:36064
  55336. #, no-wrap
  55337. msgid "{Data Type} git-http-configuration"
  55338. msgstr ""
  55339. #. type: deftp
  55340. #: guix-git/doc/guix.texi:36068
  55341. msgid "Data type representing the configuration for a future @code{git-http-service-type}; can currently be used to configure Nginx through @code{git-http-nginx-location-configuration}."
  55342. msgstr ""
  55343. #. type: item
  55344. #: guix-git/doc/guix.texi:36070
  55345. #, no-wrap
  55346. msgid "@code{package} (default: @var{git})"
  55347. msgstr ""
  55348. #. type: item
  55349. #: guix-git/doc/guix.texi:36073
  55350. #, no-wrap
  55351. msgid "@code{git-root} (default: @file{/srv/git})"
  55352. msgstr ""
  55353. #. type: table
  55354. #: guix-git/doc/guix.texi:36075
  55355. msgid "Directory containing the Git repositories to expose to the world."
  55356. msgstr ""
  55357. #. type: table
  55358. #: guix-git/doc/guix.texi:36079
  55359. msgid "Whether to expose access for all Git repositories in @var{git-root}, even if they do not have the @file{git-daemon-export-ok} file."
  55360. msgstr ""
  55361. #. type: item
  55362. #: guix-git/doc/guix.texi:36080
  55363. #, no-wrap
  55364. msgid "@code{uri-path} (default: @samp{/git/})"
  55365. msgstr ""
  55366. #. type: table
  55367. #: guix-git/doc/guix.texi:36085
  55368. msgid "Path prefix for Git access. With the default @samp{/git/} prefix, this will map @indicateurl{http://@var{server}/git/@var{repo}.git} to @file{/srv/git/@var{repo}.git}. Requests whose URI paths do not begin with this prefix are not passed on to this Git instance."
  55369. msgstr ""
  55370. #. type: item
  55371. #: guix-git/doc/guix.texi:36086
  55372. #, no-wrap
  55373. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  55374. msgstr ""
  55375. #. type: table
  55376. #: guix-git/doc/guix.texi:36089
  55377. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  55378. msgstr ""
  55379. #. type: Plain text
  55380. #: guix-git/doc/guix.texi:36096
  55381. msgid "There is no @code{git-http-service-type}, currently; instead you can create an @code{nginx-location-configuration} from a @code{git-http-configuration} and then add that location to a web server."
  55382. msgstr ""
  55383. #. type: defun
  55384. #: guix-git/doc/guix.texi:36097
  55385. #, fuzzy, no-wrap
  55386. #| msgid "nginx-location-configuration body"
  55387. msgid "git-http-nginx-location-configuration @"
  55388. msgstr "nginx-location-configuration body"
  55389. #. type: defun
  55390. #: guix-git/doc/guix.texi:36102
  55391. msgid "[config=(git-http-configuration)] Compute an @code{nginx-location-configuration} that corresponds to the given Git http configuration. An example nginx service definition to serve the default @file{/srv/git} over HTTPS might be:"
  55392. msgstr ""
  55393. #. type: lisp
  55394. #: guix-git/doc/guix.texi:36119
  55395. #, no-wrap
  55396. msgid ""
  55397. "(service nginx-service-type\n"
  55398. " (nginx-configuration\n"
  55399. " (server-blocks\n"
  55400. " (list\n"
  55401. " (nginx-server-configuration\n"
  55402. " (listen '(\"443 ssl\"))\n"
  55403. " (server-name \"git.my-host.org\")\n"
  55404. " (ssl-certificate\n"
  55405. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  55406. " (ssl-certificate-key\n"
  55407. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  55408. " (locations\n"
  55409. " (list\n"
  55410. " (git-http-nginx-location-configuration\n"
  55411. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  55412. msgstr ""
  55413. #. type: defun
  55414. #: guix-git/doc/guix.texi:36126
  55415. msgid "This example assumes that you are using Let's Encrypt to get your TLS certificate. @xref{Certificate Services}. The default @code{certbot} service will redirect all HTTP traffic on @code{git.my-host.org} to HTTPS@. You will also need to add an @code{fcgiwrap} proxy to your system services. @xref{Web Services}."
  55416. msgstr ""
  55417. #. type: subsubheading
  55418. #: guix-git/doc/guix.texi:36128
  55419. #, no-wrap
  55420. msgid "Cgit Service"
  55421. msgstr ""
  55422. #. type: cindex
  55423. #: guix-git/doc/guix.texi:36130
  55424. #, no-wrap
  55425. msgid "Cgit service"
  55426. msgstr ""
  55427. #. type: cindex
  55428. #: guix-git/doc/guix.texi:36131
  55429. #, no-wrap
  55430. msgid "Git, web interface"
  55431. msgstr ""
  55432. #. type: Plain text
  55433. #: guix-git/doc/guix.texi:36134
  55434. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  55435. msgstr ""
  55436. #. type: Plain text
  55437. #: guix-git/doc/guix.texi:36137
  55438. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  55439. msgstr ""
  55440. #. type: lisp
  55441. #: guix-git/doc/guix.texi:36140
  55442. #, no-wrap
  55443. msgid "(service cgit-service-type)\n"
  55444. msgstr ""
  55445. #. type: Plain text
  55446. #: guix-git/doc/guix.texi:36144
  55447. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  55448. msgstr ""
  55449. #. type: Plain text
  55450. #: guix-git/doc/guix.texi:36148
  55451. msgid "Available @code{cgit-configuration} fields are:"
  55452. msgstr ""
  55453. #. type: deftypevr
  55454. #: guix-git/doc/guix.texi:36149
  55455. #, no-wrap
  55456. msgid "{@code{cgit-configuration} parameter} package package"
  55457. msgstr ""
  55458. #. type: deftypevr
  55459. #: guix-git/doc/guix.texi:36151
  55460. msgid "The CGIT package."
  55461. msgstr ""
  55462. #. type: deftypevr
  55463. #: guix-git/doc/guix.texi:36154
  55464. #, no-wrap
  55465. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  55466. msgstr ""
  55467. #. type: deftypevr
  55468. #: guix-git/doc/guix.texi:36156
  55469. msgid "NGINX configuration."
  55470. msgstr ""
  55471. #. type: deftypevr
  55472. #: guix-git/doc/guix.texi:36159
  55473. #, no-wrap
  55474. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  55475. msgstr ""
  55476. #. type: deftypevr
  55477. #: guix-git/doc/guix.texi:36162
  55478. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  55479. msgstr ""
  55480. #. type: deftypevr
  55481. #: guix-git/doc/guix.texi:36167
  55482. #, no-wrap
  55483. msgid "{@code{cgit-configuration} parameter} string agefile"
  55484. msgstr ""
  55485. #. type: deftypevr
  55486. #: guix-git/doc/guix.texi:36170
  55487. msgid "Specifies a path, relative to each repository path, which can be used to specify the date and time of the youngest commit in the repository."
  55488. msgstr ""
  55489. #. type: deftypevr
  55490. #: guix-git/doc/guix.texi:36175
  55491. #, no-wrap
  55492. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  55493. msgstr ""
  55494. #. type: deftypevr
  55495. #: guix-git/doc/guix.texi:36178
  55496. msgid "Specifies a command that will be invoked for authenticating repository access."
  55497. msgstr ""
  55498. #. type: deftypevr
  55499. #: guix-git/doc/guix.texi:36183
  55500. #, no-wrap
  55501. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  55502. msgstr ""
  55503. #. type: deftypevr
  55504. #: guix-git/doc/guix.texi:36186
  55505. msgid "Flag which, when set to @samp{age}, enables date ordering in the branch ref list, and when set @samp{name} enables ordering by branch name."
  55506. msgstr ""
  55507. #. type: deftypevr
  55508. #: guix-git/doc/guix.texi:36188
  55509. msgid "Defaults to @samp{\"name\"}."
  55510. msgstr ""
  55511. #. type: deftypevr
  55512. #: guix-git/doc/guix.texi:36191
  55513. #, no-wrap
  55514. msgid "{@code{cgit-configuration} parameter} string cache-root"
  55515. msgstr ""
  55516. #. type: deftypevr
  55517. #: guix-git/doc/guix.texi:36193
  55518. msgid "Path used to store the cgit cache entries."
  55519. msgstr ""
  55520. #. type: deftypevr
  55521. #: guix-git/doc/guix.texi:36195
  55522. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  55523. msgstr ""
  55524. #. type: deftypevr
  55525. #: guix-git/doc/guix.texi:36198
  55526. #, no-wrap
  55527. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  55528. msgstr ""
  55529. #. type: deftypevr
  55530. #: guix-git/doc/guix.texi:36201
  55531. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  55532. msgstr ""
  55533. #. type: deftypevr
  55534. #: guix-git/doc/guix.texi:36203 guix-git/doc/guix.texi:36646
  55535. msgid "Defaults to @samp{-1}."
  55536. msgstr ""
  55537. #. type: deftypevr
  55538. #: guix-git/doc/guix.texi:36206
  55539. #, no-wrap
  55540. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  55541. msgstr ""
  55542. #. type: deftypevr
  55543. #: guix-git/doc/guix.texi:36209
  55544. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  55545. msgstr ""
  55546. #. type: deftypevr
  55547. #: guix-git/doc/guix.texi:36214
  55548. #, no-wrap
  55549. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  55550. msgstr ""
  55551. #. type: deftypevr
  55552. #: guix-git/doc/guix.texi:36217
  55553. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  55554. msgstr ""
  55555. #. type: deftypevr
  55556. #: guix-git/doc/guix.texi:36222
  55557. #, no-wrap
  55558. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  55559. msgstr ""
  55560. #. type: deftypevr
  55561. #: guix-git/doc/guix.texi:36225
  55562. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  55563. msgstr ""
  55564. #. type: deftypevr
  55565. #: guix-git/doc/guix.texi:36230
  55566. #, no-wrap
  55567. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  55568. msgstr ""
  55569. #. type: deftypevr
  55570. #: guix-git/doc/guix.texi:36233
  55571. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  55572. msgstr ""
  55573. #. type: deftypevr
  55574. #: guix-git/doc/guix.texi:36238
  55575. #, no-wrap
  55576. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  55577. msgstr ""
  55578. #. type: deftypevr
  55579. #: guix-git/doc/guix.texi:36241
  55580. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  55581. msgstr ""
  55582. #. type: deftypevr
  55583. #: guix-git/doc/guix.texi:36246
  55584. #, no-wrap
  55585. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  55586. msgstr ""
  55587. #. type: deftypevr
  55588. #: guix-git/doc/guix.texi:36249
  55589. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  55590. msgstr ""
  55591. #. type: deftypevr
  55592. #: guix-git/doc/guix.texi:36254
  55593. #, no-wrap
  55594. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  55595. msgstr ""
  55596. #. type: deftypevr
  55597. #: guix-git/doc/guix.texi:36257
  55598. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  55599. msgstr ""
  55600. #. type: deftypevr
  55601. #: guix-git/doc/guix.texi:36262
  55602. #, no-wrap
  55603. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  55604. msgstr ""
  55605. #. type: deftypevr
  55606. #: guix-git/doc/guix.texi:36264
  55607. msgid "Sort items in the repo list case sensitively."
  55608. msgstr ""
  55609. #. type: deftypevr
  55610. #: guix-git/doc/guix.texi:36269
  55611. #, no-wrap
  55612. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  55613. msgstr ""
  55614. #. type: deftypevr
  55615. #: guix-git/doc/guix.texi:36272
  55616. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  55617. msgstr ""
  55618. #. type: deftypevr
  55619. #: guix-git/doc/guix.texi:36277
  55620. #, no-wrap
  55621. msgid "{@code{cgit-configuration} parameter} list clone-url"
  55622. msgstr ""
  55623. #. type: deftypevr
  55624. #: guix-git/doc/guix.texi:36279
  55625. msgid "List of @code{clone-url} templates."
  55626. msgstr ""
  55627. #. type: deftypevr
  55628. #: guix-git/doc/guix.texi:36284
  55629. #, no-wrap
  55630. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  55631. msgstr ""
  55632. #. type: deftypevr
  55633. #: guix-git/doc/guix.texi:36286
  55634. msgid "Command which will be invoked to format commit messages."
  55635. msgstr ""
  55636. #. type: deftypevr
  55637. #: guix-git/doc/guix.texi:36291
  55638. #, no-wrap
  55639. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  55640. msgstr ""
  55641. #. type: deftypevr
  55642. #: guix-git/doc/guix.texi:36295 guix-git/doc/guix.texi:36853
  55643. msgid "Flag which, when set to @samp{date}, enables strict date ordering in the commit log, and when set to @samp{topo} enables strict topological ordering."
  55644. msgstr ""
  55645. #. type: deftypevr
  55646. #: guix-git/doc/guix.texi:36297
  55647. msgid "Defaults to @samp{\"git log\"}."
  55648. msgstr ""
  55649. #. type: deftypevr
  55650. #: guix-git/doc/guix.texi:36300
  55651. #, no-wrap
  55652. msgid "{@code{cgit-configuration} parameter} file-object css"
  55653. msgstr ""
  55654. #. type: deftypevr
  55655. #: guix-git/doc/guix.texi:36302
  55656. msgid "URL which specifies the css document to include in all cgit pages."
  55657. msgstr ""
  55658. #. type: deftypevr
  55659. #: guix-git/doc/guix.texi:36304
  55660. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  55661. msgstr ""
  55662. #. type: deftypevr
  55663. #: guix-git/doc/guix.texi:36307
  55664. #, no-wrap
  55665. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  55666. msgstr ""
  55667. #. type: deftypevr
  55668. #: guix-git/doc/guix.texi:36311
  55669. msgid "Specifies a command which will be invoked to format names and email address of committers, authors, and taggers, as represented in various places throughout the cgit interface."
  55670. msgstr ""
  55671. #. type: deftypevr
  55672. #: guix-git/doc/guix.texi:36316
  55673. #, no-wrap
  55674. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  55675. msgstr ""
  55676. #. type: deftypevr
  55677. #: guix-git/doc/guix.texi:36319
  55678. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  55679. msgstr ""
  55680. #. type: deftypevr
  55681. #: guix-git/doc/guix.texi:36324
  55682. #, no-wrap
  55683. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  55684. msgstr ""
  55685. #. type: deftypevr
  55686. #: guix-git/doc/guix.texi:36328
  55687. msgid "Flag which, when set to @samp{#t}, will make cgit print an ASCII-art commit history graph to the left of the commit messages in the repository log page."
  55688. msgstr ""
  55689. #. type: deftypevr
  55690. #: guix-git/doc/guix.texi:36333
  55691. #, no-wrap
  55692. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  55693. msgstr ""
  55694. #. type: deftypevr
  55695. #: guix-git/doc/guix.texi:36336
  55696. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  55697. msgstr ""
  55698. #. type: deftypevr
  55699. #: guix-git/doc/guix.texi:36341
  55700. #, no-wrap
  55701. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  55702. msgstr ""
  55703. #. type: deftypevr
  55704. #: guix-git/doc/guix.texi:36344
  55705. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  55706. msgstr ""
  55707. #. type: deftypevr
  55708. #: guix-git/doc/guix.texi:36349
  55709. #, no-wrap
  55710. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  55711. msgstr ""
  55712. #. type: deftypevr
  55713. #: guix-git/doc/guix.texi:36352
  55714. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  55715. msgstr ""
  55716. #. type: deftypevr
  55717. #: guix-git/doc/guix.texi:36357
  55718. #, no-wrap
  55719. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  55720. msgstr ""
  55721. #. type: deftypevr
  55722. #: guix-git/doc/guix.texi:36360
  55723. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  55724. msgstr ""
  55725. #. type: deftypevr
  55726. #: guix-git/doc/guix.texi:36365
  55727. #, no-wrap
  55728. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  55729. msgstr ""
  55730. #. type: deftypevr
  55731. #: guix-git/doc/guix.texi:36368
  55732. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  55733. msgstr ""
  55734. #. type: deftypevr
  55735. #: guix-git/doc/guix.texi:36373
  55736. #, no-wrap
  55737. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  55738. msgstr ""
  55739. #. type: deftypevr
  55740. #: guix-git/doc/guix.texi:36376
  55741. msgid "Flag which, when set to @samp{#t}, will make cgit print the number of modified files for each commit on the repository log page."
  55742. msgstr ""
  55743. #. type: deftypevr
  55744. #: guix-git/doc/guix.texi:36381
  55745. #, no-wrap
  55746. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  55747. msgstr ""
  55748. #. type: deftypevr
  55749. #: guix-git/doc/guix.texi:36384
  55750. msgid "Flag which, when set to @samp{#t}, will make cgit print the number of added and removed lines for each commit on the repository log page."
  55751. msgstr ""
  55752. #. type: deftypevr
  55753. #: guix-git/doc/guix.texi:36389
  55754. #, no-wrap
  55755. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  55756. msgstr ""
  55757. #. type: deftypevr
  55758. #: guix-git/doc/guix.texi:36392 guix-git/doc/guix.texi:36916
  55759. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  55760. msgstr ""
  55761. #. type: deftypevr
  55762. #: guix-git/doc/guix.texi:36397
  55763. #, no-wrap
  55764. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  55765. msgstr ""
  55766. #. type: deftypevr
  55767. #: guix-git/doc/guix.texi:36401
  55768. msgid "Flag which, when set to @code{1}, will make cgit use the subject of the parent commit as link text when generating links to parent commits in commit view."
  55769. msgstr ""
  55770. #. type: deftypevr
  55771. #: guix-git/doc/guix.texi:36406
  55772. #, no-wrap
  55773. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  55774. msgstr ""
  55775. #. type: deftypevr
  55776. #: guix-git/doc/guix.texi:36410
  55777. msgid "Flag which, when set to @samp{#t}, will make cgit use the subject of the parent commit as link text when generating links to parent commits in commit view."
  55778. msgstr ""
  55779. #. type: deftypevr
  55780. #: guix-git/doc/guix.texi:36415
  55781. #, no-wrap
  55782. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  55783. msgstr ""
  55784. #. type: deftypevr
  55785. #: guix-git/doc/guix.texi:36418
  55786. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  55787. msgstr ""
  55788. #. type: deftypevr
  55789. #: guix-git/doc/guix.texi:36423
  55790. #, no-wrap
  55791. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  55792. msgstr ""
  55793. #. type: deftypevr
  55794. #: guix-git/doc/guix.texi:36426
  55795. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  55796. msgstr ""
  55797. #. type: deftypevr
  55798. #: guix-git/doc/guix.texi:36431
  55799. #, no-wrap
  55800. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  55801. msgstr ""
  55802. #. type: deftypevr
  55803. #: guix-git/doc/guix.texi:36433
  55804. msgid "URL used as link to a shortcut icon for cgit."
  55805. msgstr ""
  55806. #. type: deftypevr
  55807. #: guix-git/doc/guix.texi:36435
  55808. msgid "Defaults to @samp{\"/favicon.ico\"}."
  55809. msgstr ""
  55810. #. type: deftypevr
  55811. #: guix-git/doc/guix.texi:36438
  55812. #, no-wrap
  55813. msgid "{@code{cgit-configuration} parameter} string footer"
  55814. msgstr ""
  55815. #. type: deftypevr
  55816. #: guix-git/doc/guix.texi:36442
  55817. msgid "The content of the file specified with this option will be included verbatim at the bottom of all pages (i.e.@: it replaces the standard \"generated by...\"@: message)."
  55818. msgstr ""
  55819. #. type: deftypevr
  55820. #: guix-git/doc/guix.texi:36447
  55821. #, no-wrap
  55822. msgid "{@code{cgit-configuration} parameter} string head-include"
  55823. msgstr ""
  55824. #. type: deftypevr
  55825. #: guix-git/doc/guix.texi:36450
  55826. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  55827. msgstr ""
  55828. #. type: deftypevr
  55829. #: guix-git/doc/guix.texi:36455
  55830. #, no-wrap
  55831. msgid "{@code{cgit-configuration} parameter} string header"
  55832. msgstr ""
  55833. #. type: deftypevr
  55834. #: guix-git/doc/guix.texi:36458
  55835. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  55836. msgstr ""
  55837. #. type: deftypevr
  55838. #: guix-git/doc/guix.texi:36463
  55839. #, no-wrap
  55840. msgid "{@code{cgit-configuration} parameter} file-object include"
  55841. msgstr ""
  55842. #. type: deftypevr
  55843. #: guix-git/doc/guix.texi:36466
  55844. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  55845. msgstr ""
  55846. #. type: deftypevr
  55847. #: guix-git/doc/guix.texi:36471
  55848. #, no-wrap
  55849. msgid "{@code{cgit-configuration} parameter} string index-header"
  55850. msgstr ""
  55851. #. type: deftypevr
  55852. #: guix-git/doc/guix.texi:36474
  55853. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  55854. msgstr ""
  55855. #. type: deftypevr
  55856. #: guix-git/doc/guix.texi:36479
  55857. #, no-wrap
  55858. msgid "{@code{cgit-configuration} parameter} string index-info"
  55859. msgstr ""
  55860. #. type: deftypevr
  55861. #: guix-git/doc/guix.texi:36482
  55862. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  55863. msgstr ""
  55864. #. type: deftypevr
  55865. #: guix-git/doc/guix.texi:36487
  55866. #, no-wrap
  55867. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  55868. msgstr ""
  55869. #. type: deftypevr
  55870. #: guix-git/doc/guix.texi:36490
  55871. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  55872. msgstr ""
  55873. #. type: deftypevr
  55874. #: guix-git/doc/guix.texi:36495
  55875. #, no-wrap
  55876. msgid "{@code{cgit-configuration} parameter} file-object logo"
  55877. msgstr ""
  55878. #. type: deftypevr
  55879. #: guix-git/doc/guix.texi:36498
  55880. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  55881. msgstr ""
  55882. #. type: deftypevr
  55883. #: guix-git/doc/guix.texi:36500
  55884. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  55885. msgstr ""
  55886. #. type: deftypevr
  55887. #: guix-git/doc/guix.texi:36503
  55888. #, no-wrap
  55889. msgid "{@code{cgit-configuration} parameter} string logo-link"
  55890. msgstr ""
  55891. #. type: deftypevr
  55892. #: guix-git/doc/guix.texi:36505 guix-git/doc/guix.texi:36962
  55893. msgid "URL loaded when clicking on the cgit logo image."
  55894. msgstr ""
  55895. #. type: deftypevr
  55896. #: guix-git/doc/guix.texi:36510
  55897. #, no-wrap
  55898. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  55899. msgstr ""
  55900. #. type: deftypevr
  55901. #: guix-git/doc/guix.texi:36513
  55902. msgid "Command which will be invoked to format the Owner column of the main page."
  55903. msgstr ""
  55904. #. type: deftypevr
  55905. #: guix-git/doc/guix.texi:36518
  55906. #, no-wrap
  55907. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  55908. msgstr ""
  55909. #. type: deftypevr
  55910. #: guix-git/doc/guix.texi:36520
  55911. msgid "Number of items to display in atom feeds view."
  55912. msgstr ""
  55913. #. type: deftypevr
  55914. #: guix-git/doc/guix.texi:36525
  55915. #, no-wrap
  55916. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  55917. msgstr ""
  55918. #. type: deftypevr
  55919. #: guix-git/doc/guix.texi:36527
  55920. msgid "Number of entries to list per page in \"log\" view."
  55921. msgstr ""
  55922. #. type: deftypevr
  55923. #: guix-git/doc/guix.texi:36532
  55924. #, no-wrap
  55925. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  55926. msgstr ""
  55927. #. type: deftypevr
  55928. #: guix-git/doc/guix.texi:36534
  55929. msgid "Number of commit message characters to display in \"log\" view."
  55930. msgstr ""
  55931. #. type: deftypevr
  55932. #: guix-git/doc/guix.texi:36536 guix-git/doc/guix.texi:36552
  55933. msgid "Defaults to @samp{80}."
  55934. msgstr ""
  55935. #. type: deftypevr
  55936. #: guix-git/doc/guix.texi:36539
  55937. #, no-wrap
  55938. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  55939. msgstr ""
  55940. #. type: deftypevr
  55941. #: guix-git/doc/guix.texi:36542
  55942. msgid "Specifies the number of entries to list per page on the repository index page."
  55943. msgstr ""
  55944. #. type: deftypevr
  55945. #: guix-git/doc/guix.texi:36547
  55946. #, no-wrap
  55947. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  55948. msgstr ""
  55949. #. type: deftypevr
  55950. #: guix-git/doc/guix.texi:36550
  55951. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  55952. msgstr ""
  55953. #. type: deftypevr
  55954. #: guix-git/doc/guix.texi:36555
  55955. #, no-wrap
  55956. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  55957. msgstr ""
  55958. #. type: deftypevr
  55959. #: guix-git/doc/guix.texi:36557
  55960. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  55961. msgstr ""
  55962. #. type: deftypevr
  55963. #: guix-git/doc/guix.texi:36562
  55964. #, no-wrap
  55965. msgid "{@code{cgit-configuration} parameter} string max-stats"
  55966. msgstr ""
  55967. #. type: deftypevr
  55968. #: guix-git/doc/guix.texi:36565
  55969. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  55970. msgstr ""
  55971. #. type: deftypevr
  55972. #: guix-git/doc/guix.texi:36570
  55973. #, no-wrap
  55974. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  55975. msgstr ""
  55976. #. type: deftypevr
  55977. #: guix-git/doc/guix.texi:36572
  55978. msgid "Mimetype for the specified filename extension."
  55979. msgstr ""
  55980. #. type: deftypevr
  55981. #: guix-git/doc/guix.texi:36576
  55982. msgid "Defaults to @samp{'((gif \"image/gif\") (html \"text/html\") (jpg \"image/jpeg\") (jpeg \"image/jpeg\") (pdf \"application/pdf\") (png \"image/png\") (svg \"image/svg+xml\"))}."
  55983. msgstr ""
  55984. #. type: deftypevr
  55985. #: guix-git/doc/guix.texi:36579
  55986. #, no-wrap
  55987. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  55988. msgstr ""
  55989. #. type: deftypevr
  55990. #: guix-git/doc/guix.texi:36581
  55991. msgid "Specifies the file to use for automatic mimetype lookup."
  55992. msgstr ""
  55993. #. type: deftypevr
  55994. #: guix-git/doc/guix.texi:36586
  55995. #, no-wrap
  55996. msgid "{@code{cgit-configuration} parameter} string module-link"
  55997. msgstr ""
  55998. #. type: deftypevr
  55999. #: guix-git/doc/guix.texi:36589
  56000. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  56001. msgstr ""
  56002. #. type: deftypevr
  56003. #: guix-git/doc/guix.texi:36594
  56004. #, no-wrap
  56005. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  56006. msgstr ""
  56007. #. type: deftypevr
  56008. #: guix-git/doc/guix.texi:36596
  56009. msgid "If set to the value @samp{#t} caching will be disabled."
  56010. msgstr ""
  56011. #. type: deftypevr
  56012. #: guix-git/doc/guix.texi:36601
  56013. #, no-wrap
  56014. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  56015. msgstr ""
  56016. #. type: deftypevr
  56017. #: guix-git/doc/guix.texi:36604
  56018. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  56019. msgstr ""
  56020. #. type: deftypevr
  56021. #: guix-git/doc/guix.texi:36609
  56022. #, no-wrap
  56023. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  56024. msgstr ""
  56025. #. type: deftypevr
  56026. #: guix-git/doc/guix.texi:36612
  56027. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  56028. msgstr ""
  56029. #. type: deftypevr
  56030. #: guix-git/doc/guix.texi:36617
  56031. #, no-wrap
  56032. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  56033. msgstr ""
  56034. #. type: deftypevr
  56035. #: guix-git/doc/guix.texi:36621
  56036. msgid "A list of subdirectories inside of @code{repository-directory}, relative to it, that should loaded as Git repositories. An empty list means that all subdirectories will be loaded."
  56037. msgstr ""
  56038. #. type: deftypevr
  56039. #: guix-git/doc/guix.texi:36626
  56040. #, no-wrap
  56041. msgid "{@code{cgit-configuration} parameter} file-object readme"
  56042. msgstr ""
  56043. #. type: deftypevr
  56044. #: guix-git/doc/guix.texi:36628
  56045. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  56046. msgstr ""
  56047. #. type: deftypevr
  56048. #: guix-git/doc/guix.texi:36633
  56049. #, no-wrap
  56050. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  56051. msgstr ""
  56052. #. type: deftypevr
  56053. #: guix-git/doc/guix.texi:36637
  56054. msgid "If set to @code{#t} and @code{repository-directory} is enabled, if any repositories are found with a suffix of @code{.git}, this suffix will be removed for the URL and name."
  56055. msgstr ""
  56056. #. type: deftypevr
  56057. #: guix-git/doc/guix.texi:36642
  56058. #, no-wrap
  56059. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  56060. msgstr ""
  56061. #. type: deftypevr
  56062. #: guix-git/doc/guix.texi:36644
  56063. msgid "Maximum number of files to consider when detecting renames."
  56064. msgstr ""
  56065. #. type: deftypevr
  56066. #: guix-git/doc/guix.texi:36649
  56067. #, no-wrap
  56068. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  56069. msgstr ""
  56070. #. type: deftypevr
  56071. #: guix-git/doc/guix.texi:36651
  56072. msgid "The way in which repositories in each section are sorted."
  56073. msgstr ""
  56074. #. type: deftypevr
  56075. #: guix-git/doc/guix.texi:36656
  56076. #, no-wrap
  56077. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  56078. msgstr ""
  56079. #. type: deftypevr
  56080. #: guix-git/doc/guix.texi:36658
  56081. msgid "Text used as content for the @code{robots} meta-tag."
  56082. msgstr ""
  56083. #. type: deftypevr
  56084. #: guix-git/doc/guix.texi:36660
  56085. msgid "Defaults to @samp{'(\"noindex\" \"nofollow\")}."
  56086. msgstr ""
  56087. #. type: deftypevr
  56088. #: guix-git/doc/guix.texi:36663
  56089. #, no-wrap
  56090. msgid "{@code{cgit-configuration} parameter} string root-desc"
  56091. msgstr ""
  56092. #. type: deftypevr
  56093. #: guix-git/doc/guix.texi:36665
  56094. msgid "Text printed below the heading on the repository index page."
  56095. msgstr ""
  56096. #. type: deftypevr
  56097. #: guix-git/doc/guix.texi:36667
  56098. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  56099. msgstr ""
  56100. #. type: deftypevr
  56101. #: guix-git/doc/guix.texi:36670
  56102. #, no-wrap
  56103. msgid "{@code{cgit-configuration} parameter} string root-readme"
  56104. msgstr ""
  56105. #. type: deftypevr
  56106. #: guix-git/doc/guix.texi:36673
  56107. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  56108. msgstr ""
  56109. #. type: deftypevr
  56110. #: guix-git/doc/guix.texi:36678
  56111. #, no-wrap
  56112. msgid "{@code{cgit-configuration} parameter} string root-title"
  56113. msgstr ""
  56114. #. type: deftypevr
  56115. #: guix-git/doc/guix.texi:36680
  56116. msgid "Text printed as heading on the repository index page."
  56117. msgstr ""
  56118. #. type: deftypevr
  56119. #: guix-git/doc/guix.texi:36685
  56120. #, no-wrap
  56121. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  56122. msgstr ""
  56123. #. type: deftypevr
  56124. #: guix-git/doc/guix.texi:36691
  56125. msgid "If set to @samp{#t} and repository-directory is enabled, repository-directory will recurse into directories whose name starts with a period. Otherwise, repository-directory will stay away from such directories, considered as ``hidden''. Note that this does not apply to the @file{.git} directory in non-bare repos."
  56126. msgstr ""
  56127. #. type: deftypevr
  56128. #: guix-git/doc/guix.texi:36696
  56129. #, no-wrap
  56130. msgid "{@code{cgit-configuration} parameter} list snapshots"
  56131. msgstr ""
  56132. #. type: deftypevr
  56133. #: guix-git/doc/guix.texi:36699
  56134. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  56135. msgstr ""
  56136. #. type: deftypevr
  56137. #: guix-git/doc/guix.texi:36704
  56138. #, no-wrap
  56139. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  56140. msgstr ""
  56141. #. type: deftypevr
  56142. #: guix-git/doc/guix.texi:36707
  56143. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  56144. msgstr ""
  56145. #. type: deftypevr
  56146. #: guix-git/doc/guix.texi:36709
  56147. msgid "Defaults to @samp{\"/srv/git\"}."
  56148. msgstr ""
  56149. #. type: deftypevr
  56150. #: guix-git/doc/guix.texi:36712
  56151. #, no-wrap
  56152. msgid "{@code{cgit-configuration} parameter} string section"
  56153. msgstr ""
  56154. #. type: deftypevr
  56155. #: guix-git/doc/guix.texi:36715 guix-git/doc/guix.texi:37031
  56156. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  56157. msgstr ""
  56158. #. type: deftypevr
  56159. #: guix-git/doc/guix.texi:36720
  56160. #, no-wrap
  56161. msgid "{@code{cgit-configuration} parameter} string section-sort"
  56162. msgstr ""
  56163. #. type: deftypevr
  56164. #: guix-git/doc/guix.texi:36723
  56165. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  56166. msgstr ""
  56167. #. type: deftypevr
  56168. #: guix-git/doc/guix.texi:36728
  56169. #, no-wrap
  56170. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  56171. msgstr ""
  56172. #. type: deftypevr
  56173. #: guix-git/doc/guix.texi:36731
  56174. msgid "A number which, if defined prior to repository-directory, specifies how many path elements from each repo path to use as a default section name."
  56175. msgstr ""
  56176. #. type: deftypevr
  56177. #: guix-git/doc/guix.texi:36736
  56178. #, no-wrap
  56179. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  56180. msgstr ""
  56181. #. type: deftypevr
  56182. #: guix-git/doc/guix.texi:36739
  56183. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  56184. msgstr ""
  56185. #. type: deftypevr
  56186. #: guix-git/doc/guix.texi:36744
  56187. #, no-wrap
  56188. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  56189. msgstr ""
  56190. #. type: deftypevr
  56191. #: guix-git/doc/guix.texi:36747
  56192. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  56193. msgstr ""
  56194. #. type: deftypevr
  56195. #: guix-git/doc/guix.texi:36752
  56196. #, no-wrap
  56197. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  56198. msgstr ""
  56199. #. type: deftypevr
  56200. #: guix-git/doc/guix.texi:36755
  56201. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  56202. msgstr ""
  56203. #. type: deftypevr
  56204. #: guix-git/doc/guix.texi:36760
  56205. #, no-wrap
  56206. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  56207. msgstr ""
  56208. #. type: deftypevr
  56209. #: guix-git/doc/guix.texi:36763
  56210. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  56211. msgstr ""
  56212. #. type: deftypevr
  56213. #: guix-git/doc/guix.texi:36768
  56214. #, no-wrap
  56215. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  56216. msgstr ""
  56217. #. type: deftypevr
  56218. #: guix-git/doc/guix.texi:36771
  56219. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  56220. msgstr ""
  56221. #. type: deftypevr
  56222. #: guix-git/doc/guix.texi:36776
  56223. #, no-wrap
  56224. msgid "{@code{cgit-configuration} parameter} string strict-export"
  56225. msgstr ""
  56226. #. type: deftypevr
  56227. #: guix-git/doc/guix.texi:36779
  56228. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  56229. msgstr ""
  56230. #. type: deftypevr
  56231. #: guix-git/doc/guix.texi:36784
  56232. #, no-wrap
  56233. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  56234. msgstr ""
  56235. #. type: deftypevr
  56236. #: guix-git/doc/guix.texi:36786
  56237. msgid "URL which, if specified, will be used as root for all cgit links."
  56238. msgstr ""
  56239. #. type: deftypevr
  56240. #: guix-git/doc/guix.texi:36788
  56241. msgid "Defaults to @samp{\"/\"}."
  56242. msgstr ""
  56243. #. type: deftypevr
  56244. #: guix-git/doc/guix.texi:36791
  56245. #, no-wrap
  56246. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  56247. msgstr ""
  56248. #. type: deftypevr
  56249. #: guix-git/doc/guix.texi:36793
  56250. msgid "A list of @dfn{cgit-repo} records to use with config."
  56251. msgstr ""
  56252. #. type: deftypevr
  56253. #: guix-git/doc/guix.texi:36797
  56254. msgid "Available @code{repository-cgit-configuration} fields are:"
  56255. msgstr ""
  56256. #. type: deftypevr
  56257. #: guix-git/doc/guix.texi:36798
  56258. #, no-wrap
  56259. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  56260. msgstr ""
  56261. #. type: deftypevr
  56262. #: guix-git/doc/guix.texi:36801
  56263. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  56264. msgstr ""
  56265. #. type: deftypevr
  56266. #: guix-git/doc/guix.texi:36806
  56267. #, no-wrap
  56268. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  56269. msgstr ""
  56270. #. type: deftypevr
  56271. #: guix-git/doc/guix.texi:36808
  56272. msgid "Override the default @code{source-filter}."
  56273. msgstr ""
  56274. #. type: deftypevr
  56275. #: guix-git/doc/guix.texi:36813
  56276. #, no-wrap
  56277. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  56278. msgstr ""
  56279. #. type: deftypevr
  56280. #: guix-git/doc/guix.texi:36815
  56281. msgid "The relative URL used to access the repository."
  56282. msgstr ""
  56283. #. type: deftypevr
  56284. #: guix-git/doc/guix.texi:36820
  56285. #, no-wrap
  56286. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  56287. msgstr ""
  56288. #. type: deftypevr
  56289. #: guix-git/doc/guix.texi:36822
  56290. msgid "Override the default @code{about-filter}."
  56291. msgstr ""
  56292. #. type: deftypevr
  56293. #: guix-git/doc/guix.texi:36827
  56294. #, no-wrap
  56295. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  56296. msgstr ""
  56297. #. type: deftypevr
  56298. #: guix-git/doc/guix.texi:36830
  56299. msgid "Flag which, when set to @samp{age}, enables date ordering in the branch ref list, and when set to @samp{name} enables ordering by branch name."
  56300. msgstr ""
  56301. #. type: deftypevr
  56302. #: guix-git/doc/guix.texi:36835
  56303. #, no-wrap
  56304. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  56305. msgstr ""
  56306. #. type: deftypevr
  56307. #: guix-git/doc/guix.texi:36837
  56308. msgid "A list of URLs which can be used to clone repo."
  56309. msgstr ""
  56310. #. type: deftypevr
  56311. #: guix-git/doc/guix.texi:36842
  56312. #, no-wrap
  56313. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  56314. msgstr ""
  56315. #. type: deftypevr
  56316. #: guix-git/doc/guix.texi:36844
  56317. msgid "Override the default @code{commit-filter}."
  56318. msgstr ""
  56319. #. type: deftypevr
  56320. #: guix-git/doc/guix.texi:36849
  56321. #, no-wrap
  56322. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  56323. msgstr ""
  56324. #. type: deftypevr
  56325. #: guix-git/doc/guix.texi:36858
  56326. #, no-wrap
  56327. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  56328. msgstr ""
  56329. #. type: deftypevr
  56330. #: guix-git/doc/guix.texi:36863
  56331. msgid "The name of the default branch for this repository. If no such branch exists in the repository, the first branch name (when sorted) is used as default instead. By default branch pointed to by HEAD, or ``master'' if there is no suitable HEAD."
  56332. msgstr ""
  56333. #. type: deftypevr
  56334. #: guix-git/doc/guix.texi:36868
  56335. #, no-wrap
  56336. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  56337. msgstr ""
  56338. #. type: deftypevr
  56339. #: guix-git/doc/guix.texi:36870
  56340. msgid "The value to show as repository description."
  56341. msgstr ""
  56342. #. type: deftypevr
  56343. #: guix-git/doc/guix.texi:36875
  56344. #, no-wrap
  56345. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  56346. msgstr ""
  56347. #. type: deftypevr
  56348. #: guix-git/doc/guix.texi:36877
  56349. msgid "The value to show as repository homepage."
  56350. msgstr ""
  56351. #. type: deftypevr
  56352. #: guix-git/doc/guix.texi:36882
  56353. #, no-wrap
  56354. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  56355. msgstr ""
  56356. #. type: deftypevr
  56357. #: guix-git/doc/guix.texi:36884
  56358. msgid "Override the default @code{email-filter}."
  56359. msgstr ""
  56360. #. type: deftypevr
  56361. #: guix-git/doc/guix.texi:36889
  56362. #, no-wrap
  56363. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  56364. msgstr ""
  56365. #. type: deftypevr
  56366. #: guix-git/doc/guix.texi:36892
  56367. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  56368. msgstr ""
  56369. #. type: deftypevr
  56370. #: guix-git/doc/guix.texi:36897
  56371. #, no-wrap
  56372. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  56373. msgstr ""
  56374. #. type: deftypevr
  56375. #: guix-git/doc/guix.texi:36900
  56376. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  56377. msgstr ""
  56378. #. type: deftypevr
  56379. #: guix-git/doc/guix.texi:36905
  56380. #, no-wrap
  56381. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  56382. msgstr ""
  56383. #. type: deftypevr
  56384. #: guix-git/doc/guix.texi:36908
  56385. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  56386. msgstr ""
  56387. #. type: deftypevr
  56388. #: guix-git/doc/guix.texi:36913
  56389. #, no-wrap
  56390. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  56391. msgstr ""
  56392. #. type: deftypevr
  56393. #: guix-git/doc/guix.texi:36921
  56394. #, no-wrap
  56395. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  56396. msgstr ""
  56397. #. type: deftypevr
  56398. #: guix-git/doc/guix.texi:36924
  56399. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  56400. msgstr ""
  56401. #. type: deftypevr
  56402. #: guix-git/doc/guix.texi:36929
  56403. #, no-wrap
  56404. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  56405. msgstr ""
  56406. #. type: deftypevr
  56407. #: guix-git/doc/guix.texi:36932
  56408. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  56409. msgstr ""
  56410. #. type: deftypevr
  56411. #: guix-git/doc/guix.texi:36937
  56412. #, no-wrap
  56413. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  56414. msgstr ""
  56415. #. type: deftypevr
  56416. #: guix-git/doc/guix.texi:36940
  56417. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  56418. msgstr ""
  56419. #. type: deftypevr
  56420. #: guix-git/doc/guix.texi:36945
  56421. #, no-wrap
  56422. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  56423. msgstr ""
  56424. #. type: deftypevr
  56425. #: guix-git/doc/guix.texi:36947
  56426. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  56427. msgstr ""
  56428. #. type: deftypevr
  56429. #: guix-git/doc/guix.texi:36952
  56430. #, no-wrap
  56431. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  56432. msgstr ""
  56433. #. type: deftypevr
  56434. #: guix-git/doc/guix.texi:36955
  56435. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  56436. msgstr ""
  56437. #. type: deftypevr
  56438. #: guix-git/doc/guix.texi:36960
  56439. #, no-wrap
  56440. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  56441. msgstr ""
  56442. #. type: deftypevr
  56443. #: guix-git/doc/guix.texi:36967
  56444. #, no-wrap
  56445. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  56446. msgstr ""
  56447. #. type: deftypevr
  56448. #: guix-git/doc/guix.texi:36969
  56449. msgid "Override the default @code{owner-filter}."
  56450. msgstr ""
  56451. #. type: deftypevr
  56452. #: guix-git/doc/guix.texi:36974
  56453. #, no-wrap
  56454. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  56455. msgstr ""
  56456. #. type: deftypevr
  56457. #: guix-git/doc/guix.texi:36978
  56458. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing. The arguments for the formatstring are the path and SHA1 of the submodule commit."
  56459. msgstr ""
  56460. #. type: deftypevr
  56461. #: guix-git/doc/guix.texi:36983
  56462. #, no-wrap
  56463. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  56464. msgstr ""
  56465. #. type: deftypevr
  56466. #: guix-git/doc/guix.texi:36987
  56467. msgid "Text which will be used as the formatstring for a hyperlink when a submodule with the specified subdirectory path is printed in a directory listing."
  56468. msgstr ""
  56469. #. type: deftypevr
  56470. #: guix-git/doc/guix.texi:36992
  56471. #, no-wrap
  56472. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  56473. msgstr ""
  56474. #. type: deftypevr
  56475. #: guix-git/doc/guix.texi:36994
  56476. msgid "Override the default maximum statistics period."
  56477. msgstr ""
  56478. #. type: deftypevr
  56479. #: guix-git/doc/guix.texi:36999
  56480. #, no-wrap
  56481. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  56482. msgstr ""
  56483. #. type: deftypevr
  56484. #: guix-git/doc/guix.texi:37001
  56485. msgid "The value to show as repository name."
  56486. msgstr ""
  56487. #. type: deftypevr
  56488. #: guix-git/doc/guix.texi:37006
  56489. #, no-wrap
  56490. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  56491. msgstr ""
  56492. #. type: deftypevr
  56493. #: guix-git/doc/guix.texi:37008
  56494. msgid "A value used to identify the owner of the repository."
  56495. msgstr ""
  56496. #. type: deftypevr
  56497. #: guix-git/doc/guix.texi:37013
  56498. #, no-wrap
  56499. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  56500. msgstr ""
  56501. #. type: deftypevr
  56502. #: guix-git/doc/guix.texi:37015
  56503. msgid "An absolute path to the repository directory."
  56504. msgstr ""
  56505. #. type: deftypevr
  56506. #: guix-git/doc/guix.texi:37020
  56507. #, no-wrap
  56508. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  56509. msgstr ""
  56510. #. type: deftypevr
  56511. #: guix-git/doc/guix.texi:37023
  56512. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  56513. msgstr ""
  56514. #. type: deftypevr
  56515. #: guix-git/doc/guix.texi:37028
  56516. #, no-wrap
  56517. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  56518. msgstr ""
  56519. #. type: deftypevr
  56520. #: guix-git/doc/guix.texi:37036
  56521. #, no-wrap
  56522. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  56523. msgstr ""
  56524. #. type: deftypevr
  56525. #: guix-git/doc/guix.texi:37038 guix-git/doc/guix.texi:37047
  56526. msgid "Extra options will be appended to cgitrc file."
  56527. msgstr ""
  56528. #. type: deftypevr
  56529. #: guix-git/doc/guix.texi:37045
  56530. #, no-wrap
  56531. msgid "{@code{cgit-configuration} parameter} list extra-options"
  56532. msgstr ""
  56533. #. type: Plain text
  56534. #: guix-git/doc/guix.texi:37059
  56535. msgid "However, it could be that you just want to get a @code{cgitrc} up and running. In that case, you can pass an @code{opaque-cgit-configuration} as a record to @code{cgit-service-type}. As its name indicates, an opaque configuration does not have easy reflective capabilities."
  56536. msgstr ""
  56537. #. type: Plain text
  56538. #: guix-git/doc/guix.texi:37061
  56539. msgid "Available @code{opaque-cgit-configuration} fields are:"
  56540. msgstr ""
  56541. #. type: deftypevr
  56542. #: guix-git/doc/guix.texi:37062
  56543. #, no-wrap
  56544. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  56545. msgstr ""
  56546. #. type: deftypevr
  56547. #: guix-git/doc/guix.texi:37064
  56548. msgid "The cgit package."
  56549. msgstr ""
  56550. #. type: deftypevr
  56551. #: guix-git/doc/guix.texi:37066
  56552. #, no-wrap
  56553. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  56554. msgstr ""
  56555. #. type: deftypevr
  56556. #: guix-git/doc/guix.texi:37068
  56557. msgid "The contents of the @code{cgitrc}, as a string."
  56558. msgstr ""
  56559. #. type: Plain text
  56560. #: guix-git/doc/guix.texi:37072
  56561. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  56562. msgstr ""
  56563. #. type: lisp
  56564. #: guix-git/doc/guix.texi:37077
  56565. #, no-wrap
  56566. msgid ""
  56567. "(service cgit-service-type\n"
  56568. " (opaque-cgit-configuration\n"
  56569. " (cgitrc \"\")))\n"
  56570. msgstr ""
  56571. #. type: subsubheading
  56572. #: guix-git/doc/guix.texi:37079
  56573. #, no-wrap
  56574. msgid "Gitolite Service"
  56575. msgstr ""
  56576. #. type: cindex
  56577. #: guix-git/doc/guix.texi:37081
  56578. #, no-wrap
  56579. msgid "Gitolite service"
  56580. msgstr ""
  56581. #. type: cindex
  56582. #: guix-git/doc/guix.texi:37082
  56583. #, no-wrap
  56584. msgid "Git, hosting"
  56585. msgstr ""
  56586. #. type: Plain text
  56587. #: guix-git/doc/guix.texi:37085
  56588. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  56589. msgstr ""
  56590. #. type: Plain text
  56591. #: guix-git/doc/guix.texi:37088
  56592. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  56593. msgstr ""
  56594. #. type: Plain text
  56595. #: guix-git/doc/guix.texi:37091
  56596. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  56597. msgstr ""
  56598. #. type: lisp
  56599. #: guix-git/doc/guix.texi:37098
  56600. #, no-wrap
  56601. msgid ""
  56602. "(service gitolite-service-type\n"
  56603. " (gitolite-configuration\n"
  56604. " (admin-pubkey (plain-file\n"
  56605. " \"yourname.pub\"\n"
  56606. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  56607. msgstr ""
  56608. #. type: Plain text
  56609. #: guix-git/doc/guix.texi:37103
  56610. msgid "Gitolite is configured through a special admin repository which you can clone, for example, if you setup Gitolite on @code{example.com}, you would run the following command to clone the admin repository."
  56611. msgstr ""
  56612. #. type: example
  56613. #: guix-git/doc/guix.texi:37106
  56614. #, no-wrap
  56615. msgid "git clone git@@example.com:gitolite-admin\n"
  56616. msgstr ""
  56617. #. type: Plain text
  56618. #: guix-git/doc/guix.texi:37112
  56619. msgid "When the Gitolite service is activated, the provided @code{admin-pubkey} will be inserted in to the @file{keydir} directory in the gitolite-admin repository. If this results in a change in the repository, it will be committed using the message ``gitolite setup by GNU Guix''."
  56620. msgstr ""
  56621. #. type: deftp
  56622. #: guix-git/doc/guix.texi:37113
  56623. #, no-wrap
  56624. msgid "{Data Type} gitolite-configuration"
  56625. msgstr ""
  56626. #. type: deftp
  56627. #: guix-git/doc/guix.texi:37115
  56628. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  56629. msgstr ""
  56630. #. type: item
  56631. #: guix-git/doc/guix.texi:37117
  56632. #, no-wrap
  56633. msgid "@code{package} (default: @var{gitolite})"
  56634. msgstr ""
  56635. #. type: table
  56636. #: guix-git/doc/guix.texi:37123
  56637. msgid "Gitolite package to use. There are optional Gitolite dependencies that are not included in the default package, such as Redis and git-annex. These features can be made available by using the @code{make-gitolite} procedure in the @code{(gnu packages version-control}) module to produce a variant of Gitolite with the desired additional dependencies."
  56638. msgstr ""
  56639. #. type: table
  56640. #: guix-git/doc/guix.texi:37126
  56641. msgid "The following code returns a package in which the Redis and git-annex programs can be invoked by Gitolite's scripts:"
  56642. msgstr ""
  56643. #. type: example
  56644. #: guix-git/doc/guix.texi:37132
  56645. #, no-wrap
  56646. msgid ""
  56647. "(use-modules (gnu packages databases)\n"
  56648. " (gnu packages haskell-apps)\n"
  56649. " (gnu packages version-control))\n"
  56650. "(make-gitolite (list redis git-annex))\n"
  56651. msgstr ""
  56652. #. type: item
  56653. #: guix-git/doc/guix.texi:37134
  56654. #, no-wrap
  56655. msgid "@code{user} (default: @var{git})"
  56656. msgstr "@code{user} (default: @var{git})"
  56657. #. type: table
  56658. #: guix-git/doc/guix.texi:37137
  56659. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  56660. msgstr ""
  56661. #. type: item
  56662. #: guix-git/doc/guix.texi:37138
  56663. #, no-wrap
  56664. msgid "@code{group} (default: @var{git})"
  56665. msgstr "@code{group} (default: @var{git})"
  56666. #. type: table
  56667. #: guix-git/doc/guix.texi:37140
  56668. msgid "Group to use for Gitolite."
  56669. msgstr ""
  56670. #. type: item
  56671. #: guix-git/doc/guix.texi:37141
  56672. #, no-wrap
  56673. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  56674. msgstr ""
  56675. #. type: table
  56676. #: guix-git/doc/guix.texi:37143
  56677. msgid "Directory in which to store the Gitolite configuration and repositories."
  56678. msgstr ""
  56679. #. type: item
  56680. #: guix-git/doc/guix.texi:37144
  56681. #, no-wrap
  56682. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  56683. msgstr "@code{rc-file} (padrão: @var{(gitolite-rc-file)})"
  56684. #. type: table
  56685. #: guix-git/doc/guix.texi:37147
  56686. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  56687. msgstr ""
  56688. #. type: item
  56689. #: guix-git/doc/guix.texi:37148
  56690. #, no-wrap
  56691. msgid "@code{admin-pubkey} (default: @var{#f})"
  56692. msgstr "@code{admin-pubkey} (default: @var{#f})"
  56693. #. type: table
  56694. #: guix-git/doc/guix.texi:37152
  56695. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}) used to setup Gitolite. This will be inserted in to the @file{keydir} directory within the gitolite-admin repository."
  56696. msgstr ""
  56697. #. type: table
  56698. #: guix-git/doc/guix.texi:37154
  56699. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  56700. msgstr ""
  56701. #. type: lisp
  56702. #: guix-git/doc/guix.texi:37157
  56703. #, no-wrap
  56704. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  56705. msgstr ""
  56706. #. type: deftp
  56707. #: guix-git/doc/guix.texi:37162
  56708. #, no-wrap
  56709. msgid "{Data Type} gitolite-rc-file"
  56710. msgstr ""
  56711. #. type: deftp
  56712. #: guix-git/doc/guix.texi:37164
  56713. msgid "Data type representing the Gitolite RC file."
  56714. msgstr ""
  56715. #. type: item
  56716. #: guix-git/doc/guix.texi:37166
  56717. #, no-wrap
  56718. msgid "@code{umask} (default: @code{#o0077})"
  56719. msgstr "@code{umask} (default: @code{#o0077})"
  56720. #. type: table
  56721. #: guix-git/doc/guix.texi:37169
  56722. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  56723. msgstr ""
  56724. #. type: table
  56725. #: guix-git/doc/guix.texi:37173
  56726. msgid "A value like @code{#o0027} will give read access to the group used by Gitolite (by default: @code{git}). This is necessary when using Gitolite with software like cgit or gitweb."
  56727. msgstr ""
  56728. #. type: item
  56729. #: guix-git/doc/guix.texi:37174
  56730. #, fuzzy, no-wrap
  56731. #| msgid "@code{hangup?} (default: @code{#f})"
  56732. msgid "@code{local-code} (default: @code{\"$rc@{GL_ADMIN_BASE@}/local\"})"
  56733. msgstr "@code{hangup?} (padrão: @code{#f})"
  56734. #. type: table
  56735. #: guix-git/doc/guix.texi:37177
  56736. msgid "Allows you to add your own non-core programs, or even override the shipped ones with your own."
  56737. msgstr ""
  56738. #. type: table
  56739. #: guix-git/doc/guix.texi:37182
  56740. msgid "Please supply the FULL path to this variable. By default, directory called \"local\" in your gitolite clone is used, providing the benefits of versioning them as well as making changes to them without having to log on to the server."
  56741. msgstr ""
  56742. #. type: item
  56743. #: guix-git/doc/guix.texi:37183
  56744. #, fuzzy, no-wrap
  56745. #| msgid "@code{users} (default: @code{#f})"
  56746. msgid "@code{unsafe-pattern} (default: @code{#f})"
  56747. msgstr "@code{users} (default: @code{#f})"
  56748. #. type: table
  56749. #: guix-git/doc/guix.texi:37188
  56750. msgid "An optional Perl regular expression for catching unsafe configurations in the configuration file. See @uref{https://gitolite.com/gitolite/git-config.html#compensating-for-unsafe_patt, Gitolite's documentation} for more information."
  56751. msgstr ""
  56752. #. type: table
  56753. #: guix-git/doc/guix.texi:37195
  56754. msgid "When the value is not @code{#f}, it should be a string containing a Perl regular expression, such as @samp{\"[`~#\\$\\&()|;<>]\"}, which is the default value used by gitolite. It rejects any special character in configuration that might be interpreted by a shell, which is useful when sharing the administration burden with other people that do not otherwise have shell access on the server."
  56755. msgstr ""
  56756. #. type: item
  56757. #: guix-git/doc/guix.texi:37196
  56758. #, no-wrap
  56759. msgid "@code{git-config-keys} (default: @code{\"\"})"
  56760. msgstr ""
  56761. #. type: table
  56762. #: guix-git/doc/guix.texi:37199
  56763. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  56764. msgstr ""
  56765. #. type: item
  56766. #: guix-git/doc/guix.texi:37200
  56767. #, no-wrap
  56768. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  56769. msgstr ""
  56770. #. type: table
  56771. #: guix-git/doc/guix.texi:37202
  56772. msgid "Set the role names allowed to be used by users running the perms command."
  56773. msgstr ""
  56774. #. type: item
  56775. #: guix-git/doc/guix.texi:37203
  56776. #, no-wrap
  56777. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  56778. msgstr ""
  56779. #. type: table
  56780. #: guix-git/doc/guix.texi:37205
  56781. msgid "This setting controls the commands and features to enable within Gitolite."
  56782. msgstr ""
  56783. #. type: subsubheading
  56784. #: guix-git/doc/guix.texi:37210
  56785. #, fuzzy, no-wrap
  56786. #| msgid "Game Services"
  56787. msgid "Gitile Service"
  56788. msgstr "Serviços de jogos"
  56789. #. type: cindex
  56790. #: guix-git/doc/guix.texi:37212
  56791. #, no-wrap
  56792. msgid "Gitile service"
  56793. msgstr "Serviço Gitile"
  56794. #. type: cindex
  56795. #: guix-git/doc/guix.texi:37213
  56796. #, no-wrap
  56797. msgid "Git, forge"
  56798. msgstr ""
  56799. #. type: Plain text
  56800. #: guix-git/doc/guix.texi:37216
  56801. msgid "@uref{https://git.lepiller.eu/gitile, Gitile} is a Git forge for viewing public git repository contents from a web browser."
  56802. msgstr ""
  56803. #. type: Plain text
  56804. #: guix-git/doc/guix.texi:37222
  56805. msgid "Gitile works best in collaboration with Gitolite, and will serve the public repositories from Gitolite by default. The service should listen only on a local port, and a webserver should be configured to serve static resources. The gitile service provides an easy way to extend the Nginx service for that purpose (@pxref{NGINX})."
  56806. msgstr ""
  56807. #. type: Plain text
  56808. #: guix-git/doc/guix.texi:37226
  56809. msgid "The following example will configure Gitile to serve repositories from a custom location, with some default messages for the home page and the footers."
  56810. msgstr ""
  56811. #. type: lisp
  56812. #: guix-git/doc/guix.texi:37249
  56813. #, no-wrap
  56814. msgid ""
  56815. "(service gitile-service-type\n"
  56816. " (gitile-configuration\n"
  56817. " (repositories \"/srv/git\")\n"
  56818. " (base-git-url \"https://myweb.site/git\")\n"
  56819. " (index-title \"My git repositories\")\n"
  56820. " (intro '((p \"This is all my public work!\")))\n"
  56821. " (footer '((p \"This is the end\")))\n"
  56822. " (nginx-server-block\n"
  56823. " (nginx-server-configuration\n"
  56824. " (ssl-certificate\n"
  56825. " \"/etc/letsencrypt/live/myweb.site/fullchain.pem\")\n"
  56826. " (ssl-certificate-key\n"
  56827. " \"/etc/letsencrypt/live/myweb.site/privkey.pem\")\n"
  56828. " (listen '(\"443 ssl http2\" \"[::]:443 ssl http2\"))\n"
  56829. " (locations\n"
  56830. " (list\n"
  56831. " ;; Allow for https anonymous fetch on /git/ urls.\n"
  56832. " (git-http-nginx-location-configuration\n"
  56833. " (git-http-configuration\n"
  56834. " (uri-path \"/git/\")\n"
  56835. " (git-root \"/var/lib/gitolite/repositories\")))))))))\n"
  56836. msgstr ""
  56837. #. type: Plain text
  56838. #: guix-git/doc/guix.texi:37258
  56839. msgid "In addition to the configuration record, you should configure your git repositories to contain some optional information. First, your public repositories need to contain the @file{git-daemon-export-ok} magic file that allows Git to export the repository. Gitile uses the presence of this file to detect public repositories it should make accessible. To do so with Gitolite for instance, modify your @file{conf/gitolite.conf} to include this in the repositories you want to make public:"
  56840. msgstr ""
  56841. #. type: example
  56842. #: guix-git/doc/guix.texi:37262
  56843. #, no-wrap
  56844. msgid ""
  56845. "repo foo\n"
  56846. " R = daemon\n"
  56847. msgstr ""
  56848. #. type: Plain text
  56849. #: guix-git/doc/guix.texi:37268
  56850. msgid "In addition, Gitile can read the repository configuration to display more information on the repository. Gitile uses the gitweb namespace for its configuration. As an example, you can use the following in your @file{conf/gitolite.conf}:"
  56851. msgstr ""
  56852. #. type: example
  56853. #: guix-git/doc/guix.texi:37275
  56854. #, no-wrap
  56855. msgid ""
  56856. "repo foo\n"
  56857. " R = daemon\n"
  56858. " desc = A long description, optionally with <i>HTML</i>, shown on the index page\n"
  56859. " config gitweb.name = The Foo Project\n"
  56860. " config gitweb.synopsis = A short description, shown on the main page of the project\n"
  56861. msgstr ""
  56862. #. type: Plain text
  56863. #: guix-git/doc/guix.texi:37281
  56864. msgid "Do not forget to commit and push these changes once you are satisfied. You may need to change your gitolite configuration to allow the previous configuration options to be set. One way to do that is to add the following service definition:"
  56865. msgstr ""
  56866. #. type: lisp
  56867. #: guix-git/doc/guix.texi:37293
  56868. #, no-wrap
  56869. msgid ""
  56870. "(service gitolite-service-type\n"
  56871. " (gitolite-configuration\n"
  56872. " (admin-pubkey (local-file \"key.pub\"))\n"
  56873. " (rc-file\n"
  56874. " (gitolite-rc-file\n"
  56875. " (umask #o0027)\n"
  56876. " ;; Allow to set any configuration key\n"
  56877. " (git-config-keys \".*\")\n"
  56878. " ;; Allow any text as a valid configuration value\n"
  56879. " (unsafe-patt \"^$\")))))\n"
  56880. msgstr ""
  56881. #. type: deftp
  56882. #: guix-git/doc/guix.texi:37295
  56883. #, fuzzy, no-wrap
  56884. msgid "{Data Type} gitile-configuration"
  56885. msgstr "build-machine {Data Type}"
  56886. #. type: deftp
  56887. #: guix-git/doc/guix.texi:37297
  56888. #, fuzzy
  56889. msgid "Data type representing the configuration for @code{gitile-service-type}."
  56890. msgstr "Gerencie a configuração do sistema operacional."
  56891. #. type: item
  56892. #: guix-git/doc/guix.texi:37299
  56893. #, fuzzy, no-wrap
  56894. #| msgid "@code{user} (default: @var{git})"
  56895. msgid "@code{package} (default: @var{gitile})"
  56896. msgstr "@code{user} (default: @var{git})"
  56897. #. type: table
  56898. #: guix-git/doc/guix.texi:37301
  56899. #, fuzzy
  56900. #| msgid "The GPM package to use."
  56901. msgid "Gitile package to use."
  56902. msgstr "O pacote GPM a ser usado."
  56903. #. type: table
  56904. #: guix-git/doc/guix.texi:37304
  56905. msgid "The host on which gitile is listening."
  56906. msgstr ""
  56907. #. type: item
  56908. #: guix-git/doc/guix.texi:37305
  56909. #, fuzzy, no-wrap
  56910. #| msgid "@code{port} (default: @code{8081})"
  56911. msgid "@code{port} (default: @code{8080})"
  56912. msgstr "@code{porta} (default: @code{8081})"
  56913. #. type: table
  56914. #: guix-git/doc/guix.texi:37307
  56915. msgid "The port on which gitile is listening."
  56916. msgstr ""
  56917. #. type: item
  56918. #: guix-git/doc/guix.texi:37308
  56919. #, fuzzy, no-wrap
  56920. msgid "@code{database} (default: @code{\"/var/lib/gitile/gitile-db.sql\"})"
  56921. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  56922. #. type: table
  56923. #: guix-git/doc/guix.texi:37310
  56924. #, fuzzy
  56925. #| msgid "The license of this manual."
  56926. msgid "The location of the database."
  56927. msgstr "A licença deste manual."
  56928. #. type: item
  56929. #: guix-git/doc/guix.texi:37311
  56930. #, fuzzy, no-wrap
  56931. msgid "@code{repositories} (default: @code{\"/var/lib/gitolite/repositories\"})"
  56932. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  56933. #. type: table
  56934. #: guix-git/doc/guix.texi:37315
  56935. msgid "The location of the repositories. Note that only public repositories will be shown by Gitile. To make a repository public, add an empty @file{git-daemon-export-ok} file at the root of that repository."
  56936. msgstr ""
  56937. #. type: code{#1}
  56938. #: guix-git/doc/guix.texi:37316
  56939. #, no-wrap
  56940. msgid "base-git-url"
  56941. msgstr ""
  56942. #. type: table
  56943. #: guix-git/doc/guix.texi:37318
  56944. msgid "The base git url that will be used to show clone commands."
  56945. msgstr ""
  56946. #. type: item
  56947. #: guix-git/doc/guix.texi:37319
  56948. #, fuzzy, no-wrap
  56949. msgid "@code{index-title} (default: @code{\"Index\"})"
  56950. msgstr "@code{ttl} (default: @code{#f})"
  56951. #. type: table
  56952. #: guix-git/doc/guix.texi:37321
  56953. msgid "The page title for the index page that lists all the available repositories."
  56954. msgstr ""
  56955. #. type: item
  56956. #: guix-git/doc/guix.texi:37322
  56957. #, fuzzy, no-wrap
  56958. #| msgid "@code{features} (default: @code{'()})"
  56959. msgid "@code{intro} (default: @code{'()})"
  56960. msgstr "@code{features} (padrão: @code{'()})"
  56961. #. type: table
  56962. #: guix-git/doc/guix.texi:37325
  56963. msgid "The intro content, as a list of sxml expressions. This is shown above the list of repositories, on the index page."
  56964. msgstr ""
  56965. #. type: item
  56966. #: guix-git/doc/guix.texi:37326
  56967. #, fuzzy, no-wrap
  56968. #| msgid "@code{features} (default: @code{'()})"
  56969. msgid "@code{footer} (default: @code{'()})"
  56970. msgstr "@code{features} (padrão: @code{'()})"
  56971. #. type: table
  56972. #: guix-git/doc/guix.texi:37329
  56973. msgid "The footer content, as a list of sxml expressions. This is shown on every page served by Gitile."
  56974. msgstr ""
  56975. #. type: code{#1}
  56976. #: guix-git/doc/guix.texi:37330
  56977. #, no-wrap
  56978. msgid "nginx-server-block"
  56979. msgstr ""
  56980. #. type: table
  56981. #: guix-git/doc/guix.texi:37333
  56982. msgid "An nginx server block that will be extended and used as a reverse proxy by Gitile to serve its pages, and as a normal web server to serve its assets."
  56983. msgstr ""
  56984. #. type: table
  56985. #: guix-git/doc/guix.texi:37337
  56986. msgid "You can use this block to add more custom URLs to your domain, such as a @code{/git/} URL for anonymous clones, or serving any other files you would like to serve."
  56987. msgstr ""
  56988. #. type: subsubheading
  56989. #: guix-git/doc/guix.texi:37344
  56990. #, fuzzy, no-wrap
  56991. #| msgid "Sound Services"
  56992. msgid "Joycond service"
  56993. msgstr "Serviços de som"
  56994. #. type: cindex
  56995. #: guix-git/doc/guix.texi:37345
  56996. #, no-wrap
  56997. msgid "joycond"
  56998. msgstr ""
  56999. #. type: Plain text
  57000. #: guix-git/doc/guix.texi:37349
  57001. msgid "The joycond service allows the pairing of Nintendo joycon game controllers over Bluetooth. (@pxref{Desktop Services} for setting up Bluetooth.)"
  57002. msgstr ""
  57003. #. type: deftp
  57004. #: guix-git/doc/guix.texi:37350
  57005. #, fuzzy, no-wrap
  57006. msgid "{Data Type} joycond-configuration"
  57007. msgstr "build-machine {Data Type}"
  57008. #. type: deftp
  57009. #: guix-git/doc/guix.texi:37352
  57010. #, fuzzy
  57011. msgid "Data type representing the configuration of @command{joycond}."
  57012. msgstr "Gerencie a configuração do sistema operacional."
  57013. #. type: item
  57014. #: guix-git/doc/guix.texi:37354
  57015. #, fuzzy, no-wrap
  57016. msgid "@code{package} (default: @code{joycond})"
  57017. msgstr "@code{cache} (default: @code{#f})"
  57018. #. type: table
  57019. #: guix-git/doc/guix.texi:37356
  57020. #, fuzzy
  57021. #| msgid "The GPM package to use."
  57022. msgid "The joycond package to use."
  57023. msgstr "O pacote GPM a ser usado."
  57024. #. type: defvar
  57025. #: guix-git/doc/guix.texi:37359
  57026. #, fuzzy, no-wrap
  57027. #| msgid "guix-publish-service-type"
  57028. msgid "joycond-service-type"
  57029. msgstr "guix-publish-service-type"
  57030. #. type: defvar
  57031. #: guix-git/doc/guix.texi:37361
  57032. #, fuzzy
  57033. #| msgid "Service type for the QEMU guest agent service."
  57034. msgid "Service type for the joycond service."
  57035. msgstr "Tipo de serviço para o serviço de agente convidado QEMU."
  57036. #. type: subsubheading
  57037. #: guix-git/doc/guix.texi:37363
  57038. #, no-wrap
  57039. msgid "The Battle for Wesnoth Service"
  57040. msgstr ""
  57041. #. type: cindex
  57042. #: guix-git/doc/guix.texi:37364
  57043. #, no-wrap
  57044. msgid "wesnothd"
  57045. msgstr ""
  57046. #. type: Plain text
  57047. #: guix-git/doc/guix.texi:37368
  57048. msgid "@uref{https://wesnoth.org, The Battle for Wesnoth} is a fantasy, turn based tactical strategy game, with several single player campaigns, and multiplayer games (both networked and local)."
  57049. msgstr ""
  57050. #. type: defvar
  57051. #: guix-git/doc/guix.texi:37369
  57052. #, fuzzy, no-wrap
  57053. #| msgid "guix-publish-service-type"
  57054. msgid "wesnothd-service-type"
  57055. msgstr "guix-publish-service-type"
  57056. #. type: defvar
  57057. #: guix-git/doc/guix.texi:37373
  57058. msgid "Service type for the wesnothd service. Its value must be a @code{wesnothd-configuration} object. To run wesnothd in the default configuration, instantiate it as:"
  57059. msgstr ""
  57060. #. type: lisp
  57061. #: guix-git/doc/guix.texi:37376
  57062. #, no-wrap
  57063. msgid "(service wesnothd-service-type)\n"
  57064. msgstr ""
  57065. #. type: deftp
  57066. #: guix-git/doc/guix.texi:37379
  57067. #, no-wrap
  57068. msgid "{Data Type} wesnothd-configuration"
  57069. msgstr ""
  57070. #. type: deftp
  57071. #: guix-git/doc/guix.texi:37381
  57072. msgid "Data type representing the configuration of @command{wesnothd}."
  57073. msgstr ""
  57074. #. type: item
  57075. #: guix-git/doc/guix.texi:37383
  57076. #, no-wrap
  57077. msgid "@code{package} (default: @code{wesnoth-server})"
  57078. msgstr ""
  57079. #. type: table
  57080. #: guix-git/doc/guix.texi:37385
  57081. msgid "The wesnoth server package to use."
  57082. msgstr ""
  57083. #. type: item
  57084. #: guix-git/doc/guix.texi:37386
  57085. #, no-wrap
  57086. msgid "@code{port} (default: @code{15000})"
  57087. msgstr "@code{porta} (default: @code{15000})"
  57088. #. type: table
  57089. #: guix-git/doc/guix.texi:37388 guix-git/doc/guix.texi:37799
  57090. msgid "The port to bind the server to."
  57091. msgstr ""
  57092. #. type: cindex
  57093. #: guix-git/doc/guix.texi:37394
  57094. #, no-wrap
  57095. msgid "pam-mount"
  57096. msgstr ""
  57097. #. type: Plain text
  57098. #: guix-git/doc/guix.texi:37399
  57099. msgid "The @code{(gnu services pam-mount)} module provides a service allowing users to mount volumes when they log in. It should be able to mount any volume format supported by the system."
  57100. msgstr ""
  57101. #. type: defvar
  57102. #: guix-git/doc/guix.texi:37400
  57103. #, fuzzy, no-wrap
  57104. #| msgid "guix-publish-service-type"
  57105. msgid "pam-mount-service-type"
  57106. msgstr "guix-publish-service-type"
  57107. #. type: defvar
  57108. #: guix-git/doc/guix.texi:37402
  57109. msgid "Service type for PAM Mount support."
  57110. msgstr ""
  57111. #. type: deftp
  57112. #: guix-git/doc/guix.texi:37404
  57113. #, no-wrap
  57114. msgid "{Data Type} pam-mount-configuration"
  57115. msgstr ""
  57116. #. type: deftp
  57117. #: guix-git/doc/guix.texi:37406
  57118. msgid "Data type representing the configuration of PAM Mount."
  57119. msgstr ""
  57120. #. type: code{#1}
  57121. #: guix-git/doc/guix.texi:37410
  57122. #, no-wrap
  57123. msgid "rules"
  57124. msgstr ""
  57125. #. type: table
  57126. #: guix-git/doc/guix.texi:37413
  57127. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  57128. msgstr ""
  57129. #. type: table
  57130. #: guix-git/doc/guix.texi:37417
  57131. msgid "The configuration rules are SXML elements (@pxref{SXML,,, guile, GNU Guile Reference Manual}), and the default ones don't mount anything for anyone at login:"
  57132. msgstr ""
  57133. #. type: lisp
  57134. #: guix-git/doc/guix.texi:37432
  57135. #, no-wrap
  57136. msgid ""
  57137. "`((debug (@@ (enable \"0\")))\n"
  57138. " (mntoptions (@@ (allow ,(string-join\n"
  57139. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  57140. " \"encryption\" \"fsck\" \"nonempty\"\n"
  57141. " \"allow_root\" \"allow_other\")\n"
  57142. " \",\"))))\n"
  57143. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  57144. " (logout (@@ (wait \"0\")\n"
  57145. " (hup \"0\")\n"
  57146. " (term \"no\")\n"
  57147. " (kill \"no\")))\n"
  57148. " (mkmountpoint (@@ (enable \"1\")\n"
  57149. " (remove \"true\"))))\n"
  57150. msgstr ""
  57151. #. type: table
  57152. #: guix-git/doc/guix.texi:37438
  57153. msgid "Some @code{volume} elements must be added to automatically mount volumes at login. Here's an example allowing the user @code{alice} to mount her encrypted @env{HOME} directory and allowing the user @code{bob} to mount the partition where he stores his data:"
  57154. msgstr ""
  57155. #. type: lisp
  57156. #: guix-git/doc/guix.texi:37463
  57157. #, no-wrap
  57158. msgid ""
  57159. "(define pam-mount-rules\n"
  57160. "`((debug (@@ (enable \"0\")))\n"
  57161. " (volume (@@ (user \"alice\")\n"
  57162. " (fstype \"crypt\")\n"
  57163. " (path \"/dev/sda2\")\n"
  57164. " (mountpoint \"/home/alice\")))\n"
  57165. " (volume (@@ (user \"bob\")\n"
  57166. " (fstype \"auto\")\n"
  57167. " (path \"/dev/sdb3\")\n"
  57168. " (mountpoint \"/home/bob/data\")\n"
  57169. " (options \"defaults,autodefrag,compress\")))\n"
  57170. " (mntoptions (@@ (allow ,(string-join\n"
  57171. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  57172. " \"encryption\" \"fsck\" \"nonempty\"\n"
  57173. " \"allow_root\" \"allow_other\")\n"
  57174. " \",\"))))\n"
  57175. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  57176. " (logout (@@ (wait \"0\")\n"
  57177. " (hup \"0\")\n"
  57178. " (term \"no\")\n"
  57179. " (kill \"no\")))\n"
  57180. " (mkmountpoint (@@ (enable \"1\")\n"
  57181. " (remove \"true\")))))\n"
  57182. "\n"
  57183. msgstr ""
  57184. #. type: lisp
  57185. #: guix-git/doc/guix.texi:37467
  57186. #, no-wrap
  57187. msgid ""
  57188. "(service pam-mount-service-type\n"
  57189. " (pam-mount-configuration\n"
  57190. " (rules pam-mount-rules)))\n"
  57191. msgstr ""
  57192. #. type: table
  57193. #: guix-git/doc/guix.texi:37471
  57194. msgid "The complete list of possible options can be found in the man page for @uref{http://pam-mount.sourceforge.net/pam_mount.conf.5.html, pam_mount.conf}."
  57195. msgstr ""
  57196. #. type: subsubheading
  57197. #: guix-git/doc/guix.texi:37478
  57198. #, no-wrap
  57199. msgid "Guix Build Coordinator"
  57200. msgstr ""
  57201. #. type: Plain text
  57202. #: guix-git/doc/guix.texi:37484
  57203. msgid "The @uref{https://git.cbaines.net/guix/build-coordinator/,Guix Build Coordinator} aids in distributing derivation builds among machines running an @dfn{agent}. The build daemon is still used to build the derivations, but the Guix Build Coordinator manages allocating builds and working with the results."
  57204. msgstr ""
  57205. #. type: Plain text
  57206. #: guix-git/doc/guix.texi:37490
  57207. msgid "The Guix Build Coordinator consists of one @dfn{coordinator}, and one or more connected @dfn{agent} processes. The coordinator process handles clients submitting builds, and allocating builds to agents. The agent processes talk to a build daemon to actually perform the builds, then send the results back to the coordinator."
  57208. msgstr ""
  57209. #. type: Plain text
  57210. #: guix-git/doc/guix.texi:37494
  57211. msgid "There is a script to run the coordinator component of the Guix Build Coordinator, but the Guix service uses a custom Guile script instead, to provide better integration with G-expressions used in the configuration."
  57212. msgstr ""
  57213. #. type: defvar
  57214. #: guix-git/doc/guix.texi:37495
  57215. #, fuzzy, no-wrap
  57216. #| msgid "guix-publish-service-type"
  57217. msgid "guix-build-coordinator-service-type"
  57218. msgstr "guix-publish-service-type"
  57219. #. type: defvar
  57220. #: guix-git/doc/guix.texi:37498
  57221. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  57222. msgstr ""
  57223. #. type: deftp
  57224. #: guix-git/doc/guix.texi:37500
  57225. #, no-wrap
  57226. msgid "{Data Type} guix-build-coordinator-configuration"
  57227. msgstr ""
  57228. #. type: deftp
  57229. #: guix-git/doc/guix.texi:37502
  57230. msgid "Data type representing the configuration of the Guix Build Coordinator."
  57231. msgstr ""
  57232. #. type: item
  57233. #: guix-git/doc/guix.texi:37504 guix-git/doc/guix.texi:37688
  57234. #, no-wrap
  57235. msgid "@code{package} (default: @code{guix-build-coordinator})"
  57236. msgstr ""
  57237. #. type: table
  57238. #: guix-git/doc/guix.texi:37506 guix-git/doc/guix.texi:37558
  57239. #: guix-git/doc/guix.texi:37690
  57240. msgid "The Guix Build Coordinator package to use."
  57241. msgstr ""
  57242. #. type: item
  57243. #: guix-git/doc/guix.texi:37507
  57244. #, no-wrap
  57245. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  57246. msgstr ""
  57247. #. type: table
  57248. #: guix-git/doc/guix.texi:37509 guix-git/doc/guix.texi:37561
  57249. #: guix-git/doc/guix.texi:37693 guix-git/doc/guix.texi:37745
  57250. #: guix-git/doc/guix.texi:37793
  57251. msgid "The system user to run the service as."
  57252. msgstr ""
  57253. #. type: item
  57254. #: guix-git/doc/guix.texi:37510
  57255. #, no-wrap
  57256. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  57257. msgstr ""
  57258. #. type: table
  57259. #: guix-git/doc/guix.texi:37512 guix-git/doc/guix.texi:37748
  57260. #: guix-git/doc/guix.texi:37796
  57261. msgid "The system group to run the service as."
  57262. msgstr ""
  57263. #. type: item
  57264. #: guix-git/doc/guix.texi:37513
  57265. #, no-wrap
  57266. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  57267. msgstr ""
  57268. #. type: table
  57269. #: guix-git/doc/guix.texi:37515
  57270. msgid "The URI to use for the database."
  57271. msgstr ""
  57272. #. type: item
  57273. #: guix-git/doc/guix.texi:37516
  57274. #, no-wrap
  57275. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  57276. msgstr ""
  57277. #. type: table
  57278. #: guix-git/doc/guix.texi:37518
  57279. msgid "The URI describing how to listen to requests from agent processes."
  57280. msgstr ""
  57281. #. type: item
  57282. #: guix-git/doc/guix.texi:37519
  57283. #, no-wrap
  57284. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  57285. msgstr ""
  57286. #. type: table
  57287. #: guix-git/doc/guix.texi:37523
  57288. msgid "The URI describing how to listen to requests from clients. The client API allows submitting builds and currently isn't authenticated, so take care when configuring this value."
  57289. msgstr ""
  57290. #. type: item
  57291. #: guix-git/doc/guix.texi:37524
  57292. #, no-wrap
  57293. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  57294. msgstr ""
  57295. #. type: table
  57296. #: guix-git/doc/guix.texi:37528
  57297. msgid "A G-expression for the allocation strategy to be used. This is a procedure that takes the datastore as an argument and populates the allocation plan in the database."
  57298. msgstr ""
  57299. #. type: item
  57300. #: guix-git/doc/guix.texi:37529
  57301. #, no-wrap
  57302. msgid "@code{hooks} (default: @var{'()})"
  57303. msgstr ""
  57304. #. type: table
  57305. #: guix-git/doc/guix.texi:37532
  57306. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  57307. msgstr ""
  57308. #. type: item
  57309. #: guix-git/doc/guix.texi:37533
  57310. #, fuzzy, no-wrap
  57311. #| msgid "@code{parallel-builds} (default: @code{1})"
  57312. msgid "@code{parallel-hooks} (default: @var{'()})"
  57313. msgstr "@code{parallel-builds} (padrão: @code{1})"
  57314. #. type: table
  57315. #: guix-git/doc/guix.texi:37537
  57316. msgid "Hooks can be configured to run in parallel. This parameter is an association list of hooks to do in parallel, where the key is the symbol for the hook and the value is the number of threads to run."
  57317. msgstr ""
  57318. #. type: item
  57319. #: guix-git/doc/guix.texi:37538
  57320. #, no-wrap
  57321. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  57322. msgstr ""
  57323. #. type: table
  57324. #: guix-git/doc/guix.texi:37540
  57325. msgid "The Guile package with which to run the Guix Build Coordinator."
  57326. msgstr ""
  57327. #. type: item
  57328. #: guix-git/doc/guix.texi:37541
  57329. #, fuzzy, no-wrap
  57330. #| msgid "@code{replacement} (default: @code{#f})"
  57331. msgid "@code{extra-environment-variables} (default: @var{'()})"
  57332. msgstr "@code{replacement} (default: @code{#f})"
  57333. #. type: table
  57334. #: guix-git/doc/guix.texi:37543 guix-git/doc/guix.texi:37878
  57335. msgid "Extra environment variables to set via the shepherd service."
  57336. msgstr ""
  57337. #. type: defvar
  57338. #: guix-git/doc/guix.texi:37547
  57339. #, fuzzy, no-wrap
  57340. #| msgid "guix-publish-service-type"
  57341. msgid "guix-build-coordinator-agent-service-type"
  57342. msgstr "guix-publish-service-type"
  57343. #. type: defvar
  57344. #: guix-git/doc/guix.texi:37550
  57345. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  57346. msgstr ""
  57347. #. type: deftp
  57348. #: guix-git/doc/guix.texi:37552
  57349. #, no-wrap
  57350. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  57351. msgstr ""
  57352. #. type: deftp
  57353. #: guix-git/doc/guix.texi:37554
  57354. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  57355. msgstr ""
  57356. #. type: item
  57357. #: guix-git/doc/guix.texi:37556
  57358. #, fuzzy, no-wrap
  57359. msgid "@code{package} (default: @code{guix-build-coordinator/agent-only})"
  57360. msgstr "@code{cache} (default: @code{#f})"
  57361. #. type: item
  57362. #: guix-git/doc/guix.texi:37559
  57363. #, no-wrap
  57364. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  57365. msgstr ""
  57366. #. type: item
  57367. #: guix-git/doc/guix.texi:37562
  57368. #, no-wrap
  57369. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  57370. msgstr ""
  57371. #. type: table
  57372. #: guix-git/doc/guix.texi:37564 guix-git/doc/guix.texi:37696
  57373. msgid "The URI to use when connecting to the coordinator."
  57374. msgstr ""
  57375. #. type: code{#1}
  57376. #: guix-git/doc/guix.texi:37565
  57377. #, no-wrap
  57378. msgid "authentication"
  57379. msgstr ""
  57380. #. type: table
  57381. #: guix-git/doc/guix.texi:37568
  57382. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  57383. msgstr ""
  57384. #. type: item
  57385. #: guix-git/doc/guix.texi:37569 guix-git/doc/guix.texi:37697
  57386. #, no-wrap
  57387. msgid "@code{systems} (default: @code{#f})"
  57388. msgstr ""
  57389. #. type: table
  57390. #: guix-git/doc/guix.texi:37572
  57391. msgid "The systems for which this agent should fetch builds. The agent process will use the current system it's running on as the default."
  57392. msgstr ""
  57393. #. type: item
  57394. #: guix-git/doc/guix.texi:37573
  57395. #, no-wrap
  57396. msgid "@code{max-parallel-builds} (default: @code{1})"
  57397. msgstr ""
  57398. #. type: table
  57399. #: guix-git/doc/guix.texi:37575
  57400. msgid "The number of builds to perform in parallel."
  57401. msgstr ""
  57402. #. type: item
  57403. #: guix-git/doc/guix.texi:37576
  57404. #, fuzzy, no-wrap
  57405. #| msgid "@code{parallel-builds} (default: @code{1})"
  57406. msgid "@code{max-parallel-uploads} (default: @code{1})"
  57407. msgstr "@code{parallel-builds} (padrão: @code{1})"
  57408. #. type: table
  57409. #: guix-git/doc/guix.texi:37578
  57410. #, fuzzy
  57411. #| msgid "The number of builds that may run in parallel on the machine."
  57412. msgid "The number of uploads to perform in parallel."
  57413. msgstr "O número de compilações que podem ser executadas paralelamente na máquina."
  57414. #. type: item
  57415. #: guix-git/doc/guix.texi:37579
  57416. #, fuzzy, no-wrap
  57417. #| msgid "@code{parallel-builds} (default: @code{1})"
  57418. msgid "@code{max-allocated-builds} (default: @code{#f})"
  57419. msgstr "@code{parallel-builds} (padrão: @code{1})"
  57420. #. type: table
  57421. #: guix-git/doc/guix.texi:37581
  57422. #, fuzzy
  57423. #| msgid "The number of builds that may run in parallel on the machine."
  57424. msgid "The maximum number of builds this agent can be allocated."
  57425. msgstr "O número de compilações que podem ser executadas paralelamente na máquina."
  57426. #. type: item
  57427. #: guix-git/doc/guix.texi:37582
  57428. #, fuzzy, no-wrap
  57429. #| msgid "@code{max-journal-usage} (default: @code{#f})"
  57430. msgid "@code{max-1min-load-average} (default: @code{#f})"
  57431. msgstr "@code{max-journal-usage} (default: @code{#f})"
  57432. #. type: table
  57433. #: guix-git/doc/guix.texi:37586
  57434. msgid "Load average value to look at when considering starting new builds, if the 1 minute load average exceeds this value, the agent will wait before starting new builds."
  57435. msgstr ""
  57436. #. type: table
  57437. #: guix-git/doc/guix.texi:37590
  57438. msgid "This will be unspecified if the value is @code{#f}, and the agent will use the number of cores reported by the system as the max 1 minute load average."
  57439. msgstr ""
  57440. #. type: item
  57441. #: guix-git/doc/guix.texi:37591
  57442. #, no-wrap
  57443. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  57444. msgstr ""
  57445. #. type: table
  57446. #: guix-git/doc/guix.texi:37594
  57447. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  57448. msgstr ""
  57449. #. type: item
  57450. #: guix-git/doc/guix.texi:37595
  57451. #, no-wrap
  57452. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  57453. msgstr ""
  57454. #. type: table
  57455. #: guix-git/doc/guix.texi:37598
  57456. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  57457. msgstr ""
  57458. #. type: deftp
  57459. #: guix-git/doc/guix.texi:37602
  57460. #, no-wrap
  57461. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  57462. msgstr ""
  57463. #. type: deftp
  57464. #: guix-git/doc/guix.texi:37605
  57465. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  57466. msgstr ""
  57467. #. type: table
  57468. #: guix-git/doc/guix.texi:37611 guix-git/doc/guix.texi:37627
  57469. msgid "The UUID of the agent. This should be generated by the coordinator process, stored in the coordinator database, and used by the intended agent."
  57470. msgstr ""
  57471. #. type: table
  57472. #: guix-git/doc/guix.texi:37614
  57473. msgid "The password to use when connecting to the coordinator."
  57474. msgstr ""
  57475. #. type: deftp
  57476. #: guix-git/doc/guix.texi:37618
  57477. #, no-wrap
  57478. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  57479. msgstr ""
  57480. #. type: deftp
  57481. #: guix-git/doc/guix.texi:37621
  57482. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  57483. msgstr ""
  57484. #. type: code{#1}
  57485. #: guix-git/doc/guix.texi:37628
  57486. #, no-wrap
  57487. msgid "password-file"
  57488. msgstr ""
  57489. #. type: table
  57490. #: guix-git/doc/guix.texi:37631
  57491. msgid "A file containing the password to use when connecting to the coordinator."
  57492. msgstr ""
  57493. #. type: deftp
  57494. #: guix-git/doc/guix.texi:37635
  57495. #, no-wrap
  57496. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  57497. msgstr ""
  57498. #. type: deftp
  57499. #: guix-git/doc/guix.texi:37638
  57500. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  57501. msgstr ""
  57502. #. type: code{#1}
  57503. #: guix-git/doc/guix.texi:37640 guix-git/doc/guix.texi:37657
  57504. #, no-wrap
  57505. msgid "agent-name"
  57506. msgstr ""
  57507. #. type: table
  57508. #: guix-git/doc/guix.texi:37644 guix-git/doc/guix.texi:37661
  57509. msgid "Name of an agent, this is used to match up to an existing entry in the database if there is one. When no existing entry is found, a new entry is automatically added."
  57510. msgstr ""
  57511. #. type: code{#1}
  57512. #: guix-git/doc/guix.texi:37645
  57513. #, no-wrap
  57514. msgid "token"
  57515. msgstr ""
  57516. #. type: table
  57517. #: guix-git/doc/guix.texi:37648
  57518. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  57519. msgstr ""
  57520. #. type: deftp
  57521. #: guix-git/doc/guix.texi:37652
  57522. #, no-wrap
  57523. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  57524. msgstr ""
  57525. #. type: deftp
  57526. #: guix-git/doc/guix.texi:37655
  57527. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  57528. msgstr ""
  57529. #. type: code{#1}
  57530. #: guix-git/doc/guix.texi:37662
  57531. #, no-wrap
  57532. msgid "token-file"
  57533. msgstr ""
  57534. #. type: table
  57535. #: guix-git/doc/guix.texi:37665
  57536. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  57537. msgstr ""
  57538. #. type: Plain text
  57539. #: guix-git/doc/guix.texi:37675
  57540. msgid "The Guix Build Coordinator package contains a script to query an instance of the Guix Data Service for derivations to build, and then submit builds for those derivations to the coordinator. The service type below assists in running this script. This is an additional tool that may be useful when building derivations contained within an instance of the Guix Data Service."
  57541. msgstr ""
  57542. #. type: defvar
  57543. #: guix-git/doc/guix.texi:37676
  57544. #, fuzzy, no-wrap
  57545. #| msgid "guix-publish-service-type"
  57546. msgid "guix-build-coordinator-queue-builds-service-type"
  57547. msgstr "guix-publish-service-type"
  57548. #. type: defvar
  57549. #: guix-git/doc/guix.texi:37681
  57550. msgid "Service type for the guix-build-coordinator-queue-builds-from-guix-data-service script. Its value must be a @code{guix-build-coordinator-queue-builds-configuration} object."
  57551. msgstr ""
  57552. #. type: deftp
  57553. #: guix-git/doc/guix.texi:37683
  57554. #, no-wrap
  57555. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  57556. msgstr ""
  57557. #. type: deftp
  57558. #: guix-git/doc/guix.texi:37686
  57559. msgid "Data type representing the options to the queue builds from guix data service script."
  57560. msgstr ""
  57561. #. type: item
  57562. #: guix-git/doc/guix.texi:37691
  57563. #, no-wrap
  57564. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  57565. msgstr ""
  57566. #. type: item
  57567. #: guix-git/doc/guix.texi:37694
  57568. #, fuzzy, no-wrap
  57569. #| msgid "@code{tor} (default: @code{tor})"
  57570. msgid "@code{coordinator} (default: @code{\"http://localhost:8746\"})"
  57571. msgstr "@code{tor} (default: @code{tor})"
  57572. #. type: table
  57573. #: guix-git/doc/guix.texi:37699
  57574. msgid "The systems for which to fetch derivations to build."
  57575. msgstr ""
  57576. #. type: item
  57577. #: guix-git/doc/guix.texi:37700
  57578. #, no-wrap
  57579. msgid "@code{systems-and-targets} (default: @code{#f})"
  57580. msgstr ""
  57581. #. type: table
  57582. #: guix-git/doc/guix.texi:37703
  57583. msgid "An association list of system and target pairs for which to fetch derivations to build."
  57584. msgstr ""
  57585. #. type: item
  57586. #: guix-git/doc/guix.texi:37704
  57587. #, no-wrap
  57588. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  57589. msgstr ""
  57590. #. type: table
  57591. #: guix-git/doc/guix.texi:37707
  57592. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  57593. msgstr ""
  57594. #. type: item
  57595. #: guix-git/doc/guix.texi:37708
  57596. #, fuzzy, no-wrap
  57597. #| msgid "@code{device} (default: @code{#f})"
  57598. msgid "@code{guix-data-service-build-server-id} (default: @code{#f})"
  57599. msgstr "@code{device} (default: @code{#f})"
  57600. #. type: table
  57601. #: guix-git/doc/guix.texi:37713
  57602. msgid "The Guix Data Service build server ID corresponding to the builds being submitted. Providing this speeds up the submitting of builds as derivations that have already been submitted can be skipped before asking the coordinator to build them."
  57603. msgstr ""
  57604. #. type: item
  57605. #: guix-git/doc/guix.texi:37714
  57606. #, no-wrap
  57607. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  57608. msgstr ""
  57609. #. type: table
  57610. #: guix-git/doc/guix.texi:37717
  57611. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  57612. msgstr ""
  57613. #. type: subsubheading
  57614. #: guix-git/doc/guix.texi:37721
  57615. #, no-wrap
  57616. msgid "Guix Data Service"
  57617. msgstr ""
  57618. #. type: Plain text
  57619. #: guix-git/doc/guix.texi:37725
  57620. msgid "The @uref{http://data.guix.gnu.org,Guix Data Service} processes, stores and provides data about GNU Guix. This includes information about packages, derivations and lint warnings."
  57621. msgstr ""
  57622. #. type: Plain text
  57623. #: guix-git/doc/guix.texi:37728
  57624. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  57625. msgstr ""
  57626. #. type: defvar
  57627. #: guix-git/doc/guix.texi:37729
  57628. #, fuzzy, no-wrap
  57629. #| msgid "guix-publish-service-type"
  57630. msgid "guix-data-service-type"
  57631. msgstr "guix-publish-service-type"
  57632. #. type: defvar
  57633. #: guix-git/doc/guix.texi:37734
  57634. msgid "Service type for the Guix Data Service. Its value must be a @code{guix-data-service-configuration} object. The service optionally extends the getmail service, as the guix-commits mailing list is used to find out about changes in the Guix git repository."
  57635. msgstr ""
  57636. #. type: deftp
  57637. #: guix-git/doc/guix.texi:37736
  57638. #, no-wrap
  57639. msgid "{Data Type} guix-data-service-configuration"
  57640. msgstr ""
  57641. #. type: deftp
  57642. #: guix-git/doc/guix.texi:37738 guix-git/doc/guix.texi:37786
  57643. msgid "Data type representing the configuration of the Guix Data Service."
  57644. msgstr ""
  57645. #. type: item
  57646. #: guix-git/doc/guix.texi:37740
  57647. #, no-wrap
  57648. msgid "@code{package} (default: @code{guix-data-service})"
  57649. msgstr ""
  57650. #. type: table
  57651. #: guix-git/doc/guix.texi:37742
  57652. msgid "The Guix Data Service package to use."
  57653. msgstr ""
  57654. #. type: item
  57655. #: guix-git/doc/guix.texi:37743
  57656. #, no-wrap
  57657. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  57658. msgstr ""
  57659. #. type: item
  57660. #: guix-git/doc/guix.texi:37746
  57661. #, no-wrap
  57662. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  57663. msgstr ""
  57664. #. type: item
  57665. #: guix-git/doc/guix.texi:37749
  57666. #, no-wrap
  57667. msgid "@code{port} (default: @code{8765})"
  57668. msgstr ""
  57669. #. type: table
  57670. #: guix-git/doc/guix.texi:37751
  57671. msgid "The port to bind the web service to."
  57672. msgstr ""
  57673. #. type: item
  57674. #: guix-git/doc/guix.texi:37752 guix-git/doc/guix.texi:37800
  57675. #, no-wrap
  57676. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  57677. msgstr ""
  57678. #. type: table
  57679. #: guix-git/doc/guix.texi:37754
  57680. msgid "The host to bind the web service to."
  57681. msgstr ""
  57682. #. type: item
  57683. #: guix-git/doc/guix.texi:37755
  57684. #, no-wrap
  57685. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  57686. msgstr ""
  57687. #. type: table
  57688. #: guix-git/doc/guix.texi:37758
  57689. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  57690. msgstr ""
  57691. #. type: item
  57692. #: guix-git/doc/guix.texi:37759
  57693. #, no-wrap
  57694. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  57695. msgstr ""
  57696. #. type: table
  57697. #: guix-git/doc/guix.texi:37763
  57698. msgid "If set, this is the @code{getmail-retriever-configuration} object with which to configure getmail to fetch mail from the guix-commits mailing list."
  57699. msgstr ""
  57700. #. type: item
  57701. #: guix-git/doc/guix.texi:37764
  57702. #, no-wrap
  57703. msgid "@code{extra-options} (default: @var{'()})"
  57704. msgstr ""
  57705. #. type: table
  57706. #: guix-git/doc/guix.texi:37766
  57707. msgid "Extra command line options for @code{guix-data-service}."
  57708. msgstr ""
  57709. #. type: item
  57710. #: guix-git/doc/guix.texi:37767
  57711. #, no-wrap
  57712. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  57713. msgstr ""
  57714. #. type: table
  57715. #: guix-git/doc/guix.texi:37769
  57716. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  57717. msgstr ""
  57718. #. type: subsubheading
  57719. #: guix-git/doc/guix.texi:37773
  57720. #, no-wrap
  57721. msgid "Nar Herder"
  57722. msgstr ""
  57723. #. type: Plain text
  57724. #: guix-git/doc/guix.texi:37776
  57725. msgid "The @uref{https://git.cbaines.net/guix/nar-herder/about/,Nar Herder} is a utility for managing a collection of nars."
  57726. msgstr ""
  57727. #. type: defvar
  57728. #: guix-git/doc/guix.texi:37777
  57729. #, fuzzy, no-wrap
  57730. msgid "nar-herder-type"
  57731. msgstr "guix-publish-service-type"
  57732. #. type: defvar
  57733. #: guix-git/doc/guix.texi:37782
  57734. msgid "Service type for the Guix Data Service. Its value must be a @code{nar-herder-configuration} object. The service optionally extends the getmail service, as the guix-commits mailing list is used to find out about changes in the Guix git repository."
  57735. msgstr ""
  57736. #. type: deftp
  57737. #: guix-git/doc/guix.texi:37784
  57738. #, fuzzy, no-wrap
  57739. msgid "{Data Type} nar-herder-configuration"
  57740. msgstr "build-machine {Data Type}"
  57741. #. type: item
  57742. #: guix-git/doc/guix.texi:37788
  57743. #, fuzzy, no-wrap
  57744. msgid "@code{package} (default: @code{nar-herder})"
  57745. msgstr "@code{cache} (default: @code{#f})"
  57746. #. type: table
  57747. #: guix-git/doc/guix.texi:37790
  57748. #, fuzzy
  57749. msgid "The Nar Herder package to use."
  57750. msgstr "O pacote GPM a ser usado."
  57751. #. type: item
  57752. #: guix-git/doc/guix.texi:37791
  57753. #, fuzzy, no-wrap
  57754. #| msgid "@code{users} (default: @code{#f})"
  57755. msgid "@code{user} (default: @code{\"nar-herder\"})"
  57756. msgstr "@code{users} (default: @code{#f})"
  57757. #. type: item
  57758. #: guix-git/doc/guix.texi:37794
  57759. #, fuzzy, no-wrap
  57760. #| msgid "@code{hangup?} (default: @code{#f})"
  57761. msgid "@code{group} (default: @code{\"nar-herder\"})"
  57762. msgstr "@code{hangup?} (padrão: @code{#f})"
  57763. #. type: item
  57764. #: guix-git/doc/guix.texi:37797
  57765. #, fuzzy, no-wrap
  57766. #| msgid "@code{port} (default: @code{53})"
  57767. msgid "@code{port} (default: @code{8734})"
  57768. msgstr "@code{porta} (default: @code{53})"
  57769. #. type: table
  57770. #: guix-git/doc/guix.texi:37802
  57771. msgid "The host to bind the server to."
  57772. msgstr ""
  57773. #. type: table
  57774. #: guix-git/doc/guix.texi:37807
  57775. msgid "Optional URL of the other Nar Herder instance which should be mirrored. This means that this Nar Herder instance will download it's database, and keep it up to date."
  57776. msgstr ""
  57777. #. type: item
  57778. #: guix-git/doc/guix.texi:37808
  57779. #, fuzzy, no-wrap
  57780. msgid "@code{database} (default: @code{\"/var/lib/nar-herder/nar_herder.db\"})"
  57781. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  57782. #. type: table
  57783. #: guix-git/doc/guix.texi:37813
  57784. msgid "Location for the database. If this Nar Herder instance is mirroring another, the database will be downloaded if it doesn't exist. If this Nar Herder instance isn't mirroring another, an empty database will be created."
  57785. msgstr ""
  57786. #. type: item
  57787. #: guix-git/doc/guix.texi:37814
  57788. #, fuzzy, no-wrap
  57789. msgid "@code{database-dump} (default: @code{\"/var/lib/nar-herder/nar_herder_dump.db\"})"
  57790. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  57791. #. type: table
  57792. #: guix-git/doc/guix.texi:37818
  57793. msgid "Location of the database dump. This is created and regularly updated by taking a copy of the database. This is the version of the database that is available to download."
  57794. msgstr ""
  57795. #. type: item
  57796. #: guix-git/doc/guix.texi:37819
  57797. #, fuzzy, no-wrap
  57798. #| msgid "@code{chdir} (default: @code{#f})"
  57799. msgid "@code{storage} (default: @code{#f})"
  57800. msgstr "@code{chdir} (default: @code{#f})"
  57801. #. type: table
  57802. #: guix-git/doc/guix.texi:37821
  57803. msgid "Optional location in which to store nars."
  57804. msgstr ""
  57805. #. type: item
  57806. #: guix-git/doc/guix.texi:37822
  57807. #, fuzzy, no-wrap
  57808. #| msgid "@code{tor} (default: @code{tor})"
  57809. msgid "@code{storage-limit} (default: @code{\"none\"})"
  57810. msgstr "@code{tor} (default: @code{tor})"
  57811. #. type: table
  57812. #: guix-git/doc/guix.texi:37825
  57813. msgid "Limit in bytes for the nars stored in the storage location. This can also be set to ``none'' so that there is no limit."
  57814. msgstr ""
  57815. #. type: table
  57816. #: guix-git/doc/guix.texi:37828
  57817. msgid "When the storage location exceeds this size, nars are removed according to the nar removal criteria."
  57818. msgstr ""
  57819. #. type: item
  57820. #: guix-git/doc/guix.texi:37829
  57821. #, fuzzy, no-wrap
  57822. #| msgid "@code{features} (default: @code{'()})"
  57823. msgid "@code{storage-nar-removal-criteria} (default: @code{'()})"
  57824. msgstr "@code{features} (padrão: @code{'()})"
  57825. #. type: table
  57826. #: guix-git/doc/guix.texi:37832
  57827. msgid "Criteria used to remove nars from the storage location. These are used in conjunction with the storage limit."
  57828. msgstr ""
  57829. #. type: table
  57830. #: guix-git/doc/guix.texi:37837
  57831. msgid "When the storage location exceeds the storage limit size, nars will be checked against the nar removal criteria and if any of the criteria match, they will be removed. This will continue until the storage location is below the storage limit size."
  57832. msgstr ""
  57833. #. type: table
  57834. #: guix-git/doc/guix.texi:37841
  57835. msgid "Each criteria is specified by a string, then an equals sign, then another string. Currently, only one criteria is supported, checking if a nar is stored on another Nar Herder instance."
  57836. msgstr ""
  57837. #. type: table
  57838. #: guix-git/doc/guix.texi:37849
  57839. msgid "This allows the user's Guix to keep substitute information in cache for @var{ttl}."
  57840. msgstr ""
  57841. #. type: item
  57842. #: guix-git/doc/guix.texi:37856
  57843. #, fuzzy, no-wrap
  57844. #| msgid "@code{log-level} (default: @code{'info})"
  57845. msgid "@code{log-level} (default: @code{'DEBUG})"
  57846. msgstr "@code{log-level} (default: @code{'info})"
  57847. #. type: table
  57848. #: guix-git/doc/guix.texi:37859
  57849. msgid "Log level to use, specify a log level like @code{'INFO} to stop logging individual requests."
  57850. msgstr ""
  57851. #. type: item
  57852. #: guix-git/doc/guix.texi:37860
  57853. #, fuzzy, no-wrap
  57854. #| msgid "@code{compression-level} (default: @code{3})"
  57855. msgid "@code{cached-compressions} (default: @code{'()})"
  57856. msgstr "@code{compression-level} (padrão: @code{3})"
  57857. #. type: table
  57858. #: guix-git/doc/guix.texi:37864
  57859. msgid "Activate generating cached nars with different compression details from the stored nars. This is a list of nar-herder-cached-compression-configuration records."
  57860. msgstr ""
  57861. #. type: item
  57862. #: guix-git/doc/guix.texi:37865
  57863. #, fuzzy, no-wrap
  57864. #| msgid "@code{users} (default: @code{#f})"
  57865. msgid "@code{min-uses} (default: @code{3})"
  57866. msgstr "@code{users} (default: @code{#f})"
  57867. #. type: table
  57868. #: guix-git/doc/guix.texi:37868
  57869. msgid "When cached-compressions are enabled, generate cached nars when at least this number of requests are made for a nar."
  57870. msgstr ""
  57871. #. type: item
  57872. #: guix-git/doc/guix.texi:37869
  57873. #, fuzzy, no-wrap
  57874. msgid "@code{workers} (default: @code{2})"
  57875. msgstr "@code{workers} (default: @code{#f})"
  57876. #. type: table
  57877. #: guix-git/doc/guix.texi:37871
  57878. msgid "Number of cached nars to generate at a time."
  57879. msgstr ""
  57880. #. type: item
  57881. #: guix-git/doc/guix.texi:37872
  57882. #, fuzzy, no-wrap
  57883. #| msgid "@code{chdir} (default: @code{#f})"
  57884. msgid "@code{nar-source} (default: @code{#f})"
  57885. msgstr "@code{chdir} (default: @code{#f})"
  57886. #. type: table
  57887. #: guix-git/doc/guix.texi:37875
  57888. msgid "Location to fetch nars from when computing cached compressions. By default, the storage location will be used."
  57889. msgstr ""
  57890. #. type: item
  57891. #: guix-git/doc/guix.texi:37876
  57892. #, fuzzy, no-wrap
  57893. #| msgid "@code{replacement} (default: @code{#f})"
  57894. msgid "@code{extra-environment-variables} (default: @code{'()})"
  57895. msgstr "@code{replacement} (default: @code{#f})"
  57896. #. type: deftp
  57897. #: guix-git/doc/guix.texi:37882
  57898. #, fuzzy, no-wrap
  57899. msgid "{Data Type} nar-herder-cached-compression-configuration"
  57900. msgstr "build-machine {Data Type}"
  57901. #. type: deftp
  57902. #: guix-git/doc/guix.texi:37884
  57903. #, fuzzy
  57904. msgid "Data type representing the cached compression configuration."
  57905. msgstr "Gerencie a configuração do sistema operacional."
  57906. #. type: table
  57907. #: guix-git/doc/guix.texi:37888
  57908. msgid "Type of compression to use, e.g. @code{'zstd}."
  57909. msgstr ""
  57910. #. type: table
  57911. #: guix-git/doc/guix.texi:37891
  57912. #, fuzzy
  57913. #| msgid "The host name of the remote machine."
  57914. msgid "Level of the compression to use."
  57915. msgstr "O nome de host da máquina remota."
  57916. #. type: item
  57917. #: guix-git/doc/guix.texi:37892
  57918. #, fuzzy, no-wrap
  57919. #| msgid "@code{remote?} (default: @code{#f})"
  57920. msgid "@code{directory} (default: @code{#f})"
  57921. msgstr "@code{remote?} (padrão: @code{#f})"
  57922. #. type: table
  57923. #: guix-git/doc/guix.texi:37895
  57924. msgid "Location to store the cached nars. If unspecified, they will be stored in /var/cache/nar-herder/nar/TYPE."
  57925. msgstr ""
  57926. #. type: item
  57927. #: guix-git/doc/guix.texi:37896
  57928. #, fuzzy, no-wrap
  57929. #| msgid "@code{max-zone-size} (default: @code{#f})"
  57930. msgid "@code{directory-max-size} (default: @code{#f})"
  57931. msgstr "@code{max-zone-size} (default: @code{#f})"
  57932. #. type: table
  57933. #: guix-git/doc/guix.texi:37898
  57934. msgid "Maximum size in bytes of the directory."
  57935. msgstr ""
  57936. #. type: cindex
  57937. #: guix-git/doc/guix.texi:37905
  57938. #, no-wrap
  57939. msgid "oom"
  57940. msgstr ""
  57941. #. type: cindex
  57942. #: guix-git/doc/guix.texi:37906
  57943. #, no-wrap
  57944. msgid "out of memory killer"
  57945. msgstr ""
  57946. #. type: cindex
  57947. #: guix-git/doc/guix.texi:37907
  57948. #, no-wrap
  57949. msgid "earlyoom"
  57950. msgstr ""
  57951. #. type: cindex
  57952. #: guix-git/doc/guix.texi:37908
  57953. #, no-wrap
  57954. msgid "early out of memory daemon"
  57955. msgstr ""
  57956. #. type: subsubheading
  57957. #: guix-git/doc/guix.texi:37909
  57958. #, no-wrap
  57959. msgid "Early OOM Service"
  57960. msgstr ""
  57961. #. type: Plain text
  57962. #: guix-git/doc/guix.texi:37916
  57963. msgid "@uref{https://github.com/rfjakob/earlyoom,Early OOM}, also known as Earlyoom, is a minimalist out of memory (OOM) daemon that runs in user space and provides a more responsive and configurable alternative to the in-kernel OOM killer. It is useful to prevent the system from becoming unresponsive when it runs out of memory."
  57964. msgstr ""
  57965. #. type: defvar
  57966. #: guix-git/doc/guix.texi:37917
  57967. #, fuzzy, no-wrap
  57968. #| msgid "guix-publish-service-type"
  57969. msgid "earlyoom-service-type"
  57970. msgstr "guix-publish-service-type"
  57971. #. type: defvar
  57972. #: guix-git/doc/guix.texi:37922
  57973. msgid "The service type for running @command{earlyoom}, the Early OOM daemon. Its value must be a @code{earlyoom-configuration} object, described below. The service can be instantiated in its default configuration with:"
  57974. msgstr ""
  57975. #. type: lisp
  57976. #: guix-git/doc/guix.texi:37925
  57977. #, no-wrap
  57978. msgid "(service earlyoom-service-type)\n"
  57979. msgstr ""
  57980. #. type: deftp
  57981. #: guix-git/doc/guix.texi:37928
  57982. #, no-wrap
  57983. msgid "{Data Type} earlyoom-configuration"
  57984. msgstr ""
  57985. #. type: deftp
  57986. #: guix-git/doc/guix.texi:37930
  57987. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  57988. msgstr ""
  57989. #. type: item
  57990. #: guix-git/doc/guix.texi:37932
  57991. #, no-wrap
  57992. msgid "@code{earlyoom} (default: @var{earlyoom})"
  57993. msgstr ""
  57994. #. type: table
  57995. #: guix-git/doc/guix.texi:37934
  57996. msgid "The Earlyoom package to use."
  57997. msgstr ""
  57998. #. type: item
  57999. #: guix-git/doc/guix.texi:37935
  58000. #, no-wrap
  58001. msgid "@code{minimum-available-memory} (default: @code{10})"
  58002. msgstr ""
  58003. #. type: table
  58004. #: guix-git/doc/guix.texi:37937
  58005. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  58006. msgstr ""
  58007. #. type: item
  58008. #: guix-git/doc/guix.texi:37938
  58009. #, no-wrap
  58010. msgid "@code{minimum-free-swap} (default: @code{10})"
  58011. msgstr ""
  58012. #. type: table
  58013. #: guix-git/doc/guix.texi:37940
  58014. msgid "The threshold for the minimum free swap memory, in percentages."
  58015. msgstr ""
  58016. #. type: item
  58017. #: guix-git/doc/guix.texi:37941
  58018. #, no-wrap
  58019. msgid "@code{prefer-regexp} (default: @code{#f})"
  58020. msgstr ""
  58021. #. type: table
  58022. #: guix-git/doc/guix.texi:37944
  58023. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  58024. msgstr ""
  58025. #. type: item
  58026. #: guix-git/doc/guix.texi:37945
  58027. #, no-wrap
  58028. msgid "@code{avoid-regexp} (default: @code{#f})"
  58029. msgstr ""
  58030. #. type: table
  58031. #: guix-git/doc/guix.texi:37948
  58032. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  58033. msgstr ""
  58034. #. type: item
  58035. #: guix-git/doc/guix.texi:37949
  58036. #, no-wrap
  58037. msgid "@code{memory-report-interval} (default: @code{0})"
  58038. msgstr ""
  58039. #. type: table
  58040. #: guix-git/doc/guix.texi:37952
  58041. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  58042. msgstr ""
  58043. #. type: item
  58044. #: guix-git/doc/guix.texi:37953
  58045. #, no-wrap
  58046. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  58047. msgstr ""
  58048. #. type: table
  58049. #: guix-git/doc/guix.texi:37956
  58050. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  58051. msgstr ""
  58052. #. type: item
  58053. #: guix-git/doc/guix.texi:37957
  58054. #, no-wrap
  58055. msgid "@code{show-debug-messages?} (default: @code{#f})"
  58056. msgstr ""
  58057. #. type: table
  58058. #: guix-git/doc/guix.texi:37960
  58059. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  58060. msgstr ""
  58061. #. type: item
  58062. #: guix-git/doc/guix.texi:37961
  58063. #, no-wrap
  58064. msgid "@code{send-notification-command} (default: @code{#f})"
  58065. msgstr ""
  58066. #. type: table
  58067. #: guix-git/doc/guix.texi:37964
  58068. msgid "This can be used to provide a custom command used for sending notifications."
  58069. msgstr ""
  58070. #. type: subsubheading
  58071. #: guix-git/doc/guix.texi:37967
  58072. #, fuzzy, no-wrap
  58073. #| msgid "Game Services"
  58074. msgid "fstrim Service"
  58075. msgstr "Serviços de jogos"
  58076. #. type: cindex
  58077. #: guix-git/doc/guix.texi:37968
  58078. #, fuzzy, no-wrap
  58079. #| msgid "Gitile service"
  58080. msgid "fstrim service"
  58081. msgstr "Serviço Gitile"
  58082. #. type: cindex
  58083. #: guix-git/doc/guix.texi:37969
  58084. #, no-wrap
  58085. msgid "solid state drives, periodic trim"
  58086. msgstr ""
  58087. #. type: cindex
  58088. #: guix-git/doc/guix.texi:37970
  58089. #, no-wrap
  58090. msgid "solid state drives, trim"
  58091. msgstr ""
  58092. #. type: Plain text
  58093. #: guix-git/doc/guix.texi:37974
  58094. msgid "The command @command{fstrim} can be used to discard (or @dfn{trim}) unused blocks on a mounted file system."
  58095. msgstr ""
  58096. #. type: quotation
  58097. #: guix-git/doc/guix.texi:37983
  58098. msgid "Running @command{fstrim} frequently, or even using @command{mount -o discard}, might negatively affect the lifetime of poor-quality SSD devices. For most desktop and server systems a sufficient trimming frequency is once a week. Note that not all devices support a queued trim, so each trim command incurs a performance penalty on whatever else might be trying to use the disk at the time."
  58099. msgstr ""
  58100. #. type: defvar
  58101. #: guix-git/doc/guix.texi:37985
  58102. #, fuzzy, no-wrap
  58103. #| msgid "guix-publish-service-type"
  58104. msgid "fstrim-service-type"
  58105. msgstr "guix-publish-service-type"
  58106. #. type: defvar
  58107. #: guix-git/doc/guix.texi:37989
  58108. msgid "Type for a service that periodically runs @command{fstrim}, whose value must be an @code{<fstrim-configuration>} object. The service can be instantiated in its default configuration with:"
  58109. msgstr ""
  58110. #. type: lisp
  58111. #: guix-git/doc/guix.texi:37992
  58112. #, fuzzy, no-wrap
  58113. msgid "(service fstrim-service-type)\n"
  58114. msgstr "guix-publish-service-type"
  58115. #. type: deftp
  58116. #: guix-git/doc/guix.texi:37996
  58117. #, fuzzy, no-wrap
  58118. msgid "{Data Type} fstrim-configuration"
  58119. msgstr "build-machine {Data Type}"
  58120. #. type: deftp
  58121. #: guix-git/doc/guix.texi:37998
  58122. #, fuzzy
  58123. msgid "Available @code{fstrim-configuration} fields are:"
  58124. msgstr "build-machine {Data Type}"
  58125. #. type: item
  58126. #: guix-git/doc/guix.texi:38000
  58127. #, fuzzy, no-wrap
  58128. #| msgid "@code{dbus?} (default: @code{#t})"
  58129. msgid "@code{package} (default: @code{util-linux}) (type: file-like)"
  58130. msgstr "@code{dbus?} (padrão: @code{#t})"
  58131. #. type: table
  58132. #: guix-git/doc/guix.texi:38002
  58133. #, fuzzy
  58134. #| msgid "Package management commands."
  58135. msgid "The package providing the @command{fstrim} command."
  58136. msgstr "Comandos de gerenciamento de pacote."
  58137. #. type: item
  58138. #: guix-git/doc/guix.texi:38003
  58139. #, fuzzy, no-wrap
  58140. #| msgid "@code{dbus?} (default: @code{#t})"
  58141. msgid "@code{schedule} (default: @code{\"0 0 * * 0\"}) (type: mcron-time)"
  58142. msgstr "@code{dbus?} (padrão: @code{#t})"
  58143. #. type: table
  58144. #: guix-git/doc/guix.texi:38008
  58145. msgid "Schedule for launching @command{fstrim}. This can be a procedure, a list or a string. For additional information, see @ref{Guile Syntax,,Job specification,mcron,the mcron manual}. By default this is set to run weekly on Sunday at 00:00."
  58146. msgstr ""
  58147. #. type: item
  58148. #: guix-git/doc/guix.texi:38009
  58149. #, fuzzy, no-wrap
  58150. #| msgid "@code{replacement} (default: @code{#f})"
  58151. msgid "@code{listed-in} (default: @code{'(\"/etc/fstab\" \"/proc/self/mountinfo\")}) (type: maybe-list-of-strings)"
  58152. msgstr "@code{replacement} (default: @code{#f})"
  58153. #. type: table
  58154. #: guix-git/doc/guix.texi:38014
  58155. msgid "List of files in fstab or kernel mountinfo format. All missing or empty files are silently ignored. The evaluation of the list @emph{stops} after the first non-empty file. File systems with @code{X-fstrim.notrim} mount option in fstab are skipped."
  58156. msgstr ""
  58157. #. type: item
  58158. #: guix-git/doc/guix.texi:38015
  58159. #, fuzzy, no-wrap
  58160. #| msgid "@code{debug?} (default: @code{#f})"
  58161. msgid "@code{verbose?} (default: @code{#t}) (type: boolean)"
  58162. msgstr "@code{debug?} (default: @code{#f})"
  58163. #. type: table
  58164. #: guix-git/doc/guix.texi:38017
  58165. msgid "Verbose execution."
  58166. msgstr ""
  58167. #. type: item
  58168. #: guix-git/doc/guix.texi:38018
  58169. #, fuzzy, no-wrap
  58170. #| msgid "@code{wait?} (default: @code{#t})"
  58171. msgid "@code{quiet-unsupported?} (default: @code{#t}) (type: boolean)"
  58172. msgstr "@code{wait?} (padrão: @code{#t})"
  58173. #. type: table
  58174. #: guix-git/doc/guix.texi:38020
  58175. msgid "Suppress error messages if trim operation (ioctl) is unsupported."
  58176. msgstr ""
  58177. #. type: item
  58178. #: guix-git/doc/guix.texi:38021
  58179. #, fuzzy, no-wrap
  58180. msgid "@code{extra-arguments} (type: maybe-list-of-strings)"
  58181. msgstr "@code{remote?} (padrão: @code{#f})"
  58182. #. type: table
  58183. #: guix-git/doc/guix.texi:38024
  58184. msgid "Extra options to append to @command{fstrim} (run @samp{man fstrim} for more information)."
  58185. msgstr ""
  58186. #. type: cindex
  58187. #: guix-git/doc/guix.texi:38029
  58188. #, no-wrap
  58189. msgid "modprobe"
  58190. msgstr ""
  58191. #. type: cindex
  58192. #: guix-git/doc/guix.texi:38030
  58193. #, no-wrap
  58194. msgid "kernel module loader"
  58195. msgstr ""
  58196. #. type: subsubheading
  58197. #: guix-git/doc/guix.texi:38031
  58198. #, no-wrap
  58199. msgid "Kernel Module Loader Service"
  58200. msgstr ""
  58201. #. type: Plain text
  58202. #: guix-git/doc/guix.texi:38037
  58203. msgid "The kernel module loader service allows one to load loadable kernel modules at boot. This is especially useful for modules that don't autoload and need to be manually loaded, as is the case with @code{ddcci}."
  58204. msgstr ""
  58205. #. type: defvar
  58206. #: guix-git/doc/guix.texi:38038
  58207. #, fuzzy, no-wrap
  58208. msgid "kernel-module-loader-service-type"
  58209. msgstr "guix-publish-service-type"
  58210. #. type: defvar
  58211. #: guix-git/doc/guix.texi:38044
  58212. msgid "The service type for loading loadable kernel modules at boot with @command{modprobe}. Its value must be a list of strings representing module names. For example loading the drivers provided by @code{ddcci-driver-linux}, in debugging mode by passing some module parameters, can be done as follow:"
  58213. msgstr ""
  58214. #. type: lisp
  58215. #: guix-git/doc/guix.texi:38049
  58216. #, no-wrap
  58217. msgid ""
  58218. "(use-modules (gnu) (gnu services))\n"
  58219. "(use-package-modules linux)\n"
  58220. "(use-service-modules linux)\n"
  58221. "\n"
  58222. msgstr ""
  58223. #. type: lisp
  58224. #: guix-git/doc/guix.texi:38053
  58225. #, no-wrap
  58226. msgid ""
  58227. "(define ddcci-config\n"
  58228. " (plain-file \"ddcci.conf\"\n"
  58229. " \"options ddcci dyndbg delay=120\"))\n"
  58230. "\n"
  58231. msgstr ""
  58232. #. type: lisp
  58233. #: guix-git/doc/guix.texi:38063
  58234. #, no-wrap
  58235. msgid ""
  58236. "(operating-system\n"
  58237. " ...\n"
  58238. " (services (cons* (service kernel-module-loader-service-type\n"
  58239. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  58240. " (simple-service 'ddcci-config etc-service-type\n"
  58241. " (list `(\"modprobe.d/ddcci.conf\"\n"
  58242. " ,ddcci-config)))\n"
  58243. " %base-services))\n"
  58244. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  58245. msgstr ""
  58246. #. type: cindex
  58247. #: guix-git/doc/guix.texi:38066
  58248. #, fuzzy, no-wrap
  58249. #| msgid "daemon"
  58250. msgid "rasdaemon"
  58251. msgstr "daemon"
  58252. #. type: cindex
  58253. #: guix-git/doc/guix.texi:38067
  58254. #, no-wrap
  58255. msgid "Platform Reliability, Availability and Serviceability daemon"
  58256. msgstr ""
  58257. #. type: subsubheading
  58258. #: guix-git/doc/guix.texi:38068
  58259. #, fuzzy, no-wrap
  58260. #| msgid "Base Services"
  58261. msgid "Rasdaemon Service"
  58262. msgstr "Serviços base"
  58263. #. type: Plain text
  58264. #: guix-git/doc/guix.texi:38073
  58265. msgid "The Rasdaemon service provides a daemon which monitors platform @acronym{RAS, Reliability@comma{} Availability@comma{} and Serviceability} reports from Linux kernel trace events, logging them to syslogd."
  58266. msgstr ""
  58267. #. type: Plain text
  58268. #: guix-git/doc/guix.texi:38076
  58269. msgid "Reliability, Availability and Serviceability is a concept used on servers meant to measure their robustness."
  58270. msgstr ""
  58271. #. type: Plain text
  58272. #: guix-git/doc/guix.texi:38079
  58273. msgid "@strong{Relability} is the probability that a system will produce correct outputs:"
  58274. msgstr ""
  58275. #. type: item
  58276. #: guix-git/doc/guix.texi:38081
  58277. #, no-wrap
  58278. msgid "Generally measured as Mean Time Between Failures (MTBF), and"
  58279. msgstr ""
  58280. #. type: item
  58281. #: guix-git/doc/guix.texi:38082
  58282. #, no-wrap
  58283. msgid "Enhanced by features that help to avoid, detect and repair hardware"
  58284. msgstr ""
  58285. #. type: itemize
  58286. #: guix-git/doc/guix.texi:38084
  58287. msgid "faults"
  58288. msgstr ""
  58289. #. type: Plain text
  58290. #: guix-git/doc/guix.texi:38088
  58291. msgid "@strong{Availability} is the probability that a system is operational at a given time:"
  58292. msgstr ""
  58293. #. type: item
  58294. #: guix-git/doc/guix.texi:38090
  58295. #, no-wrap
  58296. msgid "Generally measured as a percentage of downtime per a period of time, and"
  58297. msgstr ""
  58298. #. type: item
  58299. #: guix-git/doc/guix.texi:38091
  58300. #, no-wrap
  58301. msgid "Often uses mechanisms to detect and correct hardware faults in runtime."
  58302. msgstr ""
  58303. #. type: Plain text
  58304. #: guix-git/doc/guix.texi:38096
  58305. msgid "@strong{Serviceability} is the simplicity and speed with which a system can be repaired or maintained:"
  58306. msgstr ""
  58307. #. type: item
  58308. #: guix-git/doc/guix.texi:38098
  58309. #, no-wrap
  58310. msgid "Generally measured on Mean Time Between Repair (MTBR)."
  58311. msgstr ""
  58312. #. type: Plain text
  58313. #: guix-git/doc/guix.texi:38103
  58314. msgid "Among the monitoring measures, the most usual ones include:"
  58315. msgstr ""
  58316. #. type: item
  58317. #: guix-git/doc/guix.texi:38105
  58318. #, no-wrap
  58319. msgid "CPU – detect errors at instruction execution and at L1/L2/L3 caches;"
  58320. msgstr ""
  58321. #. type: item
  58322. #: guix-git/doc/guix.texi:38106
  58323. #, no-wrap
  58324. msgid "Memory – add error correction logic (ECC) to detect and correct errors;"
  58325. msgstr ""
  58326. #. type: item
  58327. #: guix-git/doc/guix.texi:38107
  58328. #, no-wrap
  58329. msgid "I/O – add CRC checksums for transferred data;"
  58330. msgstr ""
  58331. #. type: item
  58332. #: guix-git/doc/guix.texi:38108
  58333. #, no-wrap
  58334. msgid "Storage – RAID, journal file systems, checksums, Self-Monitoring,"
  58335. msgstr ""
  58336. #. type: itemize
  58337. #: guix-git/doc/guix.texi:38110
  58338. msgid "Analysis and Reporting Technology (SMART)."
  58339. msgstr ""
  58340. #. type: Plain text
  58341. #: guix-git/doc/guix.texi:38116
  58342. msgid "By monitoring the number of occurrences of error detections, it is possible to identify if the probability of hardware errors is increasing, and, on such case, do a preventive maintenance to replace a degraded component while those errors are correctable."
  58343. msgstr ""
  58344. #. type: Plain text
  58345. #: guix-git/doc/guix.texi:38120
  58346. msgid "For detailed information about the types of error events gathered and how to make sense of them, see the kernel administrator's guide at @url{https://www.kernel.org/doc/html/latest/admin-guide/ras.html}."
  58347. msgstr ""
  58348. #. type: defvar
  58349. #: guix-git/doc/guix.texi:38121
  58350. #, fuzzy, no-wrap
  58351. #| msgid "guix-publish-service-type"
  58352. msgid "rasdaemon-service-type"
  58353. msgstr "guix-publish-service-type"
  58354. #. type: defvar
  58355. #: guix-git/doc/guix.texi:38124
  58356. msgid "Service type for the @command{rasdaemon} service. It accepts a @code{rasdaemon-configuration} object. Instantiating like"
  58357. msgstr ""
  58358. #. type: lisp
  58359. #: guix-git/doc/guix.texi:38127
  58360. #, no-wrap
  58361. msgid "(service rasdaemon-service-type)\n"
  58362. msgstr ""
  58363. #. type: defvar
  58364. #: guix-git/doc/guix.texi:38131
  58365. msgid "will load with a default configuration, which monitors all events and logs to syslogd."
  58366. msgstr ""
  58367. #. type: deftp
  58368. #: guix-git/doc/guix.texi:38133
  58369. #, fuzzy, no-wrap
  58370. msgid "{Data Type} rasdaemon-configuration"
  58371. msgstr "build-machine {Data Type}"
  58372. #. type: deftp
  58373. #: guix-git/doc/guix.texi:38135
  58374. #, fuzzy
  58375. msgid "The data type representing the configuration of @command{rasdaemon}."
  58376. msgstr "Gerencie a configuração do sistema operacional."
  58377. #. type: item
  58378. #: guix-git/doc/guix.texi:38137
  58379. #, fuzzy, no-wrap
  58380. #| msgid "@code{remote?} (default: @code{#f})"
  58381. msgid "@code{record?} (default: @code{#f})"
  58382. msgstr "@code{remote?} (padrão: @code{#f})"
  58383. #. type: table
  58384. #: guix-git/doc/guix.texi:38142
  58385. msgid "A boolean indicating whether to record the events in an SQLite database. This provides a more structured access to the information contained in the log file. The database location is hard-coded to @file{/var/lib/rasdaemon/ras-mc_event.db}."
  58386. msgstr ""
  58387. #. type: cindex
  58388. #: guix-git/doc/guix.texi:38146
  58389. #, no-wrap
  58390. msgid "zram"
  58391. msgstr ""
  58392. #. type: cindex
  58393. #: guix-git/doc/guix.texi:38147
  58394. #, no-wrap
  58395. msgid "compressed swap"
  58396. msgstr ""
  58397. #. type: cindex
  58398. #: guix-git/doc/guix.texi:38148
  58399. #, no-wrap
  58400. msgid "Compressed RAM-based block devices"
  58401. msgstr ""
  58402. #. type: subsubheading
  58403. #: guix-git/doc/guix.texi:38149
  58404. #, no-wrap
  58405. msgid "Zram Device Service"
  58406. msgstr ""
  58407. #. type: Plain text
  58408. #: guix-git/doc/guix.texi:38155
  58409. msgid "The Zram device service provides a compressed swap device in system memory. The Linux Kernel documentation has more information about @uref{https://www.kernel.org/doc/html/latest/admin-guide/blockdev/zram.html,zram} devices."
  58410. msgstr ""
  58411. #. type: defvar
  58412. #: guix-git/doc/guix.texi:38156
  58413. #, fuzzy, no-wrap
  58414. #| msgid "guix-publish-service-type"
  58415. msgid "zram-device-service-type"
  58416. msgstr "guix-publish-service-type"
  58417. #. type: defvar
  58418. #: guix-git/doc/guix.texi:38160
  58419. msgid "This service creates the zram block device, formats it as swap and enables it as a swap device. The service's value is a @code{zram-device-configuration} record."
  58420. msgstr ""
  58421. #. type: deftp
  58422. #: guix-git/doc/guix.texi:38161
  58423. #, no-wrap
  58424. msgid "{Data Type} zram-device-configuration"
  58425. msgstr ""
  58426. #. type: deftp
  58427. #: guix-git/doc/guix.texi:38164
  58428. msgid "This is the data type representing the configuration for the zram-device service."
  58429. msgstr ""
  58430. #. type: item
  58431. #: guix-git/doc/guix.texi:38166
  58432. #, no-wrap
  58433. msgid "@code{size} (default @code{\"1G\"})"
  58434. msgstr ""
  58435. #. type: table
  58436. #: guix-git/doc/guix.texi:38170
  58437. msgid "This is the amount of space you wish to provide for the zram device. It accepts a string and can be a number of bytes or use a suffix, eg.: @code{\"512M\"} or @code{1024000}."
  58438. msgstr ""
  58439. #. type: item
  58440. #: guix-git/doc/guix.texi:38170
  58441. #, no-wrap
  58442. msgid "@code{compression-algorithm} (default @code{'lzo})"
  58443. msgstr ""
  58444. #. type: table
  58445. #: guix-git/doc/guix.texi:38174
  58446. msgid "This is the compression algorithm you wish to use. It is difficult to list all the possible compression options, but common ones supported by Guix's Linux Libre Kernel include @code{'lzo}, @code{'lz4} and @code{'zstd}."
  58447. msgstr ""
  58448. #. type: item
  58449. #: guix-git/doc/guix.texi:38174
  58450. #, no-wrap
  58451. msgid "@code{memory-limit} (default @code{0})"
  58452. msgstr ""
  58453. #. type: table
  58454. #: guix-git/doc/guix.texi:38181
  58455. msgid "This is the maximum amount of memory which the zram device can use. Setting it to '0' disables the limit. While it is generally expected that compression will be 2:1, it is possible that uncompressable data can be written to swap and this is a method to limit how much memory can be used. It accepts a string and can be a number of bytes or use a suffix, eg.: @code{\"2G\"}."
  58456. msgstr ""
  58457. #. type: item
  58458. #: guix-git/doc/guix.texi:38181
  58459. #, fuzzy, no-wrap
  58460. #| msgid "@code{chroot} (default: @code{#f})"
  58461. msgid "@code{priority} (default @code{#f})"
  58462. msgstr "@code{chroot} (default: @code{#f})"
  58463. #. type: table
  58464. #: guix-git/doc/guix.texi:38186
  58465. msgid "This is the priority of the swap device created from the zram device. @xref{Swap Space} for a description of swap priorities. You might want to set a specific priority for the zram device, otherwise it could end up not being used much for the reasons described there."
  58466. msgstr ""
  58467. #. type: defvar
  58468. #: guix-git/doc/guix.texi:38194
  58469. #, fuzzy, no-wrap
  58470. #| msgid "guix-publish-service-type"
  58471. msgid "hurd-console-service-type"
  58472. msgstr "guix-publish-service-type"
  58473. #. type: defvar
  58474. #: guix-git/doc/guix.texi:38196
  58475. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  58476. msgstr ""
  58477. #. type: defvar
  58478. #: guix-git/doc/guix.texi:38198
  58479. msgid "The service's value is a @code{hurd-console-configuration} record."
  58480. msgstr ""
  58481. #. type: deftp
  58482. #: guix-git/doc/guix.texi:38200
  58483. #, no-wrap
  58484. msgid "{Data Type} hurd-console-configuration"
  58485. msgstr ""
  58486. #. type: deftp
  58487. #: guix-git/doc/guix.texi:38203
  58488. msgid "This is the data type representing the configuration for the hurd-console-service."
  58489. msgstr ""
  58490. #. type: item
  58491. #: guix-git/doc/guix.texi:38205 guix-git/doc/guix.texi:38221
  58492. #, no-wrap
  58493. msgid "@code{hurd} (default: @var{hurd})"
  58494. msgstr ""
  58495. #. type: table
  58496. #: guix-git/doc/guix.texi:38207 guix-git/doc/guix.texi:38223
  58497. msgid "The Hurd package to use."
  58498. msgstr ""
  58499. #. type: defvar
  58500. #: guix-git/doc/guix.texi:38210
  58501. #, fuzzy, no-wrap
  58502. #| msgid "guix-publish-service-type"
  58503. msgid "hurd-getty-service-type"
  58504. msgstr "guix-publish-service-type"
  58505. #. type: defvar
  58506. #: guix-git/doc/guix.texi:38212
  58507. msgid "This service starts a tty using the Hurd @code{getty} program."
  58508. msgstr ""
  58509. #. type: defvar
  58510. #: guix-git/doc/guix.texi:38214
  58511. msgid "The service's value is a @code{hurd-getty-configuration} record."
  58512. msgstr ""
  58513. #. type: deftp
  58514. #: guix-git/doc/guix.texi:38216
  58515. #, no-wrap
  58516. msgid "{Data Type} hurd-getty-configuration"
  58517. msgstr ""
  58518. #. type: deftp
  58519. #: guix-git/doc/guix.texi:38219
  58520. msgid "This is the data type representing the configuration for the hurd-getty-service."
  58521. msgstr ""
  58522. #. type: table
  58523. #: guix-git/doc/guix.texi:38226
  58524. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  58525. msgstr ""
  58526. #. type: item
  58527. #: guix-git/doc/guix.texi:38227
  58528. #, no-wrap
  58529. msgid "@code{baud-rate} (default: @code{38400})"
  58530. msgstr ""
  58531. #. type: table
  58532. #: guix-git/doc/guix.texi:38229
  58533. msgid "An integer specifying the baud rate of the tty."
  58534. msgstr ""
  58535. #. type: cindex
  58536. #: guix-git/doc/guix.texi:38236
  58537. #, no-wrap
  58538. msgid "fingerprint"
  58539. msgstr ""
  58540. #. type: subsubheading
  58541. #: guix-git/doc/guix.texi:38237
  58542. #, no-wrap
  58543. msgid "Fingerprint Service"
  58544. msgstr ""
  58545. #. type: Plain text
  58546. #: guix-git/doc/guix.texi:38241
  58547. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  58548. msgstr ""
  58549. #. type: defvar
  58550. #: guix-git/doc/guix.texi:38242
  58551. #, fuzzy, no-wrap
  58552. #| msgid "guix-publish-service-type"
  58553. msgid "fprintd-service-type"
  58554. msgstr "guix-publish-service-type"
  58555. #. type: defvar
  58556. #: guix-git/doc/guix.texi:38245
  58557. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  58558. msgstr ""
  58559. #. type: lisp
  58560. #: guix-git/doc/guix.texi:38248
  58561. #, no-wrap
  58562. msgid "(service fprintd-service-type)\n"
  58563. msgstr ""
  58564. #. type: cindex
  58565. #: guix-git/doc/guix.texi:38251
  58566. #, no-wrap
  58567. msgid "sysctl"
  58568. msgstr ""
  58569. #. type: subsubheading
  58570. #: guix-git/doc/guix.texi:38252
  58571. #, no-wrap
  58572. msgid "System Control Service"
  58573. msgstr ""
  58574. #. type: Plain text
  58575. #: guix-git/doc/guix.texi:38256
  58576. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  58577. msgstr ""
  58578. #. type: defvar
  58579. #: guix-git/doc/guix.texi:38257
  58580. #, fuzzy, no-wrap
  58581. #| msgid "guix-publish-service-type"
  58582. msgid "sysctl-service-type"
  58583. msgstr "guix-publish-service-type"
  58584. #. type: defvar
  58585. #: guix-git/doc/guix.texi:38261
  58586. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  58587. msgstr ""
  58588. #. type: lisp
  58589. #: guix-git/doc/guix.texi:38266
  58590. #, no-wrap
  58591. msgid ""
  58592. "(service sysctl-service-type\n"
  58593. " (sysctl-configuration\n"
  58594. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  58595. msgstr ""
  58596. #. type: defvar
  58597. #: guix-git/doc/guix.texi:38273
  58598. msgid "Since @code{sysctl-service-type} is used in the default lists of services, @code{%base-services} and @code{%desktop-services}, you can use @code{modify-services} to change its configuration and add the kernel parameters that you want (@pxref{Service Reference, @code{modify-services}})."
  58599. msgstr ""
  58600. #. type: lisp
  58601. #: guix-git/doc/guix.texi:38280
  58602. #, no-wrap
  58603. msgid ""
  58604. "(modify-services %base-services\n"
  58605. " (sysctl-service-type config =>\n"
  58606. " (sysctl-configuration\n"
  58607. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  58608. " %default-sysctl-settings)))))\n"
  58609. msgstr ""
  58610. #. type: deftp
  58611. #: guix-git/doc/guix.texi:38284
  58612. #, no-wrap
  58613. msgid "{Data Type} sysctl-configuration"
  58614. msgstr ""
  58615. #. type: deftp
  58616. #: guix-git/doc/guix.texi:38286
  58617. msgid "The data type representing the configuration of @command{sysctl}."
  58618. msgstr ""
  58619. #. type: item
  58620. #: guix-git/doc/guix.texi:38288
  58621. #, no-wrap
  58622. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  58623. msgstr ""
  58624. #. type: table
  58625. #: guix-git/doc/guix.texi:38290
  58626. msgid "The @command{sysctl} executable to use."
  58627. msgstr ""
  58628. #. type: item
  58629. #: guix-git/doc/guix.texi:38291
  58630. #, fuzzy, no-wrap
  58631. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  58632. msgstr "@code{options} (default: @code{#f})"
  58633. #. type: table
  58634. #: guix-git/doc/guix.texi:38293
  58635. msgid "An association list specifies kernel parameters and their values."
  58636. msgstr ""
  58637. #. type: defvar
  58638. #: guix-git/doc/guix.texi:38296
  58639. #, no-wrap
  58640. msgid "%default-sysctl-settings"
  58641. msgstr ""
  58642. #. type: defvar
  58643. #: guix-git/doc/guix.texi:38299
  58644. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  58645. msgstr ""
  58646. #. type: cindex
  58647. #: guix-git/doc/guix.texi:38301
  58648. #, no-wrap
  58649. msgid "pcscd"
  58650. msgstr ""
  58651. #. type: subsubheading
  58652. #: guix-git/doc/guix.texi:38302
  58653. #, no-wrap
  58654. msgid "PC/SC Smart Card Daemon Service"
  58655. msgstr ""
  58656. #. type: Plain text
  58657. #: guix-git/doc/guix.texi:38309
  58658. msgid "The @code{(gnu services security-token)} module provides the following service to run @command{pcscd}, the PC/SC Smart Card Daemon. @command{pcscd} is the daemon program for pcsc-lite and the MuscleCard framework. It is a resource manager that coordinates communications with smart card readers, smart cards and cryptographic tokens that are connected to the system."
  58659. msgstr ""
  58660. #. type: defvar
  58661. #: guix-git/doc/guix.texi:38310
  58662. #, fuzzy, no-wrap
  58663. #| msgid "guix-publish-service-type"
  58664. msgid "pcscd-service-type"
  58665. msgstr "guix-publish-service-type"
  58666. #. type: defvar
  58667. #: guix-git/doc/guix.texi:38314
  58668. msgid "Service type for the @command{pcscd} service. Its value must be a @code{pcscd-configuration} object. To run pcscd in the default configuration, instantiate it as:"
  58669. msgstr ""
  58670. #. type: lisp
  58671. #: guix-git/doc/guix.texi:38317
  58672. #, no-wrap
  58673. msgid "(service pcscd-service-type)\n"
  58674. msgstr ""
  58675. #. type: deftp
  58676. #: guix-git/doc/guix.texi:38320
  58677. #, no-wrap
  58678. msgid "{Data Type} pcscd-configuration"
  58679. msgstr ""
  58680. #. type: deftp
  58681. #: guix-git/doc/guix.texi:38322
  58682. msgid "The data type representing the configuration of @command{pcscd}."
  58683. msgstr ""
  58684. #. type: item
  58685. #: guix-git/doc/guix.texi:38324
  58686. #, no-wrap
  58687. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  58688. msgstr ""
  58689. #. type: table
  58690. #: guix-git/doc/guix.texi:38326
  58691. msgid "The pcsc-lite package that provides pcscd."
  58692. msgstr ""
  58693. #. type: item
  58694. #: guix-git/doc/guix.texi:38326
  58695. #, no-wrap
  58696. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  58697. msgstr ""
  58698. #. type: table
  58699. #: guix-git/doc/guix.texi:38329
  58700. msgid "List of packages that provide USB drivers to pcscd. Drivers are expected to be under @file{pcsc/drivers} in the store directory of the package."
  58701. msgstr ""
  58702. #. type: cindex
  58703. #: guix-git/doc/guix.texi:38332
  58704. #, no-wrap
  58705. msgid "LIRC"
  58706. msgstr ""
  58707. #. type: subsubheading
  58708. #: guix-git/doc/guix.texi:38333
  58709. #, fuzzy, no-wrap
  58710. #| msgid "VPN Services"
  58711. msgid "LIRC Service"
  58712. msgstr "Serviços VPN"
  58713. #. type: Plain text
  58714. #: guix-git/doc/guix.texi:38336
  58715. msgid "The @code{(gnu services lirc)} module provides the following service."
  58716. msgstr ""
  58717. #. type: defvar
  58718. #: guix-git/doc/guix.texi:38337
  58719. #, fuzzy, no-wrap
  58720. #| msgid "guix-publish-service-type"
  58721. msgid "lirc-service-type"
  58722. msgstr "guix-publish-service-type"
  58723. #. type: defvar
  58724. #: guix-git/doc/guix.texi:38340
  58725. msgid "Type for a service that runs @url{http://www.lirc.org, LIRC}, a daemon that decodes infrared signals from remote controls."
  58726. msgstr ""
  58727. #. type: defvar
  58728. #: guix-git/doc/guix.texi:38342
  58729. msgid "The value for this service is a @code{<lirc-configuration>} object."
  58730. msgstr ""
  58731. #. type: deftp
  58732. #: guix-git/doc/guix.texi:38344
  58733. #, fuzzy, no-wrap
  58734. msgid "{Data Type} lirc-configuration"
  58735. msgstr "build-machine {Data Type}"
  58736. #. type: deftp
  58737. #: guix-git/doc/guix.texi:38346
  58738. #, fuzzy
  58739. msgid "Data type representing the configuration of @command{lircd}."
  58740. msgstr "Gerencie a configuração do sistema operacional."
  58741. #. type: item
  58742. #: guix-git/doc/guix.texi:38348
  58743. #, fuzzy, no-wrap
  58744. #| msgid "@code{dbus?} (default: @code{#t})"
  58745. msgid "@code{lirc} (default: @code{lirc}) (type: file-like)"
  58746. msgstr "@code{dbus?} (padrão: @code{#t})"
  58747. #. type: table
  58748. #: guix-git/doc/guix.texi:38350
  58749. #, fuzzy
  58750. #| msgid "Package management commands."
  58751. msgid "Package object for @command{lirc}."
  58752. msgstr "Comandos de gerenciamento de pacote."
  58753. #. type: item
  58754. #: guix-git/doc/guix.texi:38351
  58755. #, fuzzy, no-wrap
  58756. #| msgid "@code{dbus?} (default: @code{#t})"
  58757. msgid "@code{device} (default: @code{#f}) (type: string)"
  58758. msgstr "@code{dbus?} (padrão: @code{#t})"
  58759. #. type: itemx
  58760. #: guix-git/doc/guix.texi:38352
  58761. #, fuzzy, no-wrap
  58762. #| msgid "@code{dbus?} (default: @code{#t})"
  58763. msgid "@code{driver} (default: @code{#f}) (type: string)"
  58764. msgstr "@code{dbus?} (padrão: @code{#t})"
  58765. #. type: itemx
  58766. #: guix-git/doc/guix.texi:38353
  58767. #, fuzzy, no-wrap
  58768. #| msgid "@code{dbus?} (default: @code{#t})"
  58769. msgid "@code{config-file} (default: @code{#f}) (type: string-or-file-like)"
  58770. msgstr "@code{dbus?} (padrão: @code{#t})"
  58771. #. type: table
  58772. #: guix-git/doc/guix.texi:38355
  58773. msgid "TODO. See @command{lircd} manual for details."
  58774. msgstr ""
  58775. #. type: item
  58776. #: guix-git/doc/guix.texi:38356
  58777. #, fuzzy, no-wrap
  58778. #| msgid "@code{dbus?} (default: @code{#t})"
  58779. msgid "@code{extra-options} (default: @code{'()}) (type: list-of-string)"
  58780. msgstr "@code{dbus?} (padrão: @code{#t})"
  58781. #. type: table
  58782. #: guix-git/doc/guix.texi:38358
  58783. msgid "Additional command-line options to pass to @command{lircd}."
  58784. msgstr ""
  58785. #. type: cindex
  58786. #: guix-git/doc/guix.texi:38365
  58787. #, no-wrap
  58788. msgid "SPICE"
  58789. msgstr ""
  58790. #. type: subsubheading
  58791. #: guix-git/doc/guix.texi:38366
  58792. #, fuzzy, no-wrap
  58793. #| msgid "DNS Services"
  58794. msgid "SPICE Service"
  58795. msgstr "Serviços DNS"
  58796. #. type: Plain text
  58797. #: guix-git/doc/guix.texi:38369
  58798. msgid "The @code{(gnu services spice)} module provides the following service."
  58799. msgstr ""
  58800. #. type: defvar
  58801. #: guix-git/doc/guix.texi:38370
  58802. #, fuzzy, no-wrap
  58803. #| msgid "guix-publish-service-type"
  58804. msgid "spice-vdagent-service-type"
  58805. msgstr "guix-publish-service-type"
  58806. #. type: defvar
  58807. #: guix-git/doc/guix.texi:38374
  58808. msgid "Type of the service that runs @url{https://www.spice-space.org, VDAGENT}, a daemon that enables sharing the clipboard with a vm and setting the guest display resolution when the graphical console window resizes."
  58809. msgstr ""
  58810. #. type: deftp
  58811. #: guix-git/doc/guix.texi:38376
  58812. #, fuzzy, no-wrap
  58813. msgid "{Data Type} spice-vdagent-configuration"
  58814. msgstr "build-machine {Data Type}"
  58815. #. type: deftp
  58816. #: guix-git/doc/guix.texi:38379
  58817. #, fuzzy
  58818. msgid "Data type representing the configuration of @code{spice-vdagent-service-type}."
  58819. msgstr "Gerencie a configuração do sistema operacional."
  58820. #. type: item
  58821. #: guix-git/doc/guix.texi:38381
  58822. #, fuzzy, no-wrap
  58823. msgid "@code{spice-vdagent} (default: @code{spice-vdagent}) (type: file-like)"
  58824. msgstr "@code{remote?} (padrão: @code{#f})"
  58825. #. type: table
  58826. #: guix-git/doc/guix.texi:38383
  58827. msgid "Package object for VDAGENT."
  58828. msgstr ""
  58829. #. type: cindex
  58830. #: guix-git/doc/guix.texi:38387
  58831. #, no-wrap
  58832. msgid "inputattach"
  58833. msgstr ""
  58834. #. type: subsubheading
  58835. #: guix-git/doc/guix.texi:38388
  58836. #, no-wrap
  58837. msgid "inputattach Service"
  58838. msgstr ""
  58839. #. type: cindex
  58840. #: guix-git/doc/guix.texi:38390
  58841. #, no-wrap
  58842. msgid "tablet input, for Xorg"
  58843. msgstr ""
  58844. #. type: cindex
  58845. #: guix-git/doc/guix.texi:38391
  58846. #, no-wrap
  58847. msgid "touchscreen input, for Xorg"
  58848. msgstr ""
  58849. #. type: Plain text
  58850. #: guix-git/doc/guix.texi:38395
  58851. msgid "The @uref{https://linuxwacom.github.io/, inputattach} service allows you to use input devices such as Wacom tablets, touchscreens, or joysticks with the Xorg display server."
  58852. msgstr ""
  58853. #. type: defvar
  58854. #: guix-git/doc/guix.texi:38396
  58855. #, fuzzy, no-wrap
  58856. #| msgid "guix-publish-service-type"
  58857. msgid "inputattach-service-type"
  58858. msgstr "guix-publish-service-type"
  58859. #. type: defvar
  58860. #: guix-git/doc/guix.texi:38399
  58861. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  58862. msgstr ""
  58863. #. type: deftp
  58864. #: guix-git/doc/guix.texi:38401
  58865. #, no-wrap
  58866. msgid "{Data Type} inputattach-configuration"
  58867. msgstr ""
  58868. #. type: item
  58869. #: guix-git/doc/guix.texi:38403
  58870. #, no-wrap
  58871. msgid "@code{device-type} (default: @code{\"wacom\"})"
  58872. msgstr ""
  58873. #. type: table
  58874. #: guix-git/doc/guix.texi:38406
  58875. msgid "The type of device to connect to. Run @command{inputattach --help}, from the @code{inputattach} package, to see the list of supported device types."
  58876. msgstr ""
  58877. #. type: item
  58878. #: guix-git/doc/guix.texi:38407
  58879. #, no-wrap
  58880. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  58881. msgstr "@code{device} (padrão: @code{\"/dev/ttyS0\"})"
  58882. #. type: table
  58883. #: guix-git/doc/guix.texi:38409
  58884. msgid "The device file to connect to the device."
  58885. msgstr ""
  58886. #. type: table
  58887. #: guix-git/doc/guix.texi:38413
  58888. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  58889. msgstr ""
  58890. #. type: item
  58891. #: guix-git/doc/guix.texi:38414
  58892. #, no-wrap
  58893. msgid "@code{log-file} (default: @code{#f})"
  58894. msgstr "@code{log-file} (default: @code{#f})"
  58895. #. type: table
  58896. #: guix-git/doc/guix.texi:38416
  58897. msgid "If true, this must be the name of a file to log messages to."
  58898. msgstr ""
  58899. #. type: subsubheading
  58900. #: guix-git/doc/guix.texi:38419
  58901. #, no-wrap
  58902. msgid "Dictionary Service"
  58903. msgstr ""
  58904. #. type: cindex
  58905. #: guix-git/doc/guix.texi:38420
  58906. #, no-wrap
  58907. msgid "dictionary"
  58908. msgstr "dicionário"
  58909. #. type: Plain text
  58910. #: guix-git/doc/guix.texi:38423
  58911. msgid "The @code{(gnu services dict)} module provides the following service:"
  58912. msgstr ""
  58913. #. type: defvar
  58914. #: guix-git/doc/guix.texi:38424
  58915. #, fuzzy, no-wrap
  58916. #| msgid "guix-publish-service-type"
  58917. msgid "dicod-service-type"
  58918. msgstr "guix-publish-service-type"
  58919. #. type: defvar
  58920. #: guix-git/doc/guix.texi:38427
  58921. msgid "This is the type of the service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  58922. msgstr ""
  58923. #. type: defvar
  58924. #: guix-git/doc/guix.texi:38431
  58925. msgid "You can add @command{open localhost} to your @file{~/.dico} file to make @code{localhost} the default server for @command{dico} client (@pxref{Initialization File,,, dico, GNU Dico Manual})."
  58926. msgstr ""
  58927. #. type: deftp
  58928. #: guix-git/doc/guix.texi:38433
  58929. #, no-wrap
  58930. msgid "{Data Type} dicod-configuration"
  58931. msgstr ""
  58932. #. type: deftp
  58933. #: guix-git/doc/guix.texi:38435
  58934. msgid "Data type representing the configuration of dicod."
  58935. msgstr ""
  58936. #. type: item
  58937. #: guix-git/doc/guix.texi:38437
  58938. #, no-wrap
  58939. msgid "@code{dico} (default: @var{dico})"
  58940. msgstr ""
  58941. #. type: table
  58942. #: guix-git/doc/guix.texi:38439
  58943. msgid "Package object of the GNU Dico dictionary server."
  58944. msgstr ""
  58945. #. type: item
  58946. #: guix-git/doc/guix.texi:38440
  58947. #, no-wrap
  58948. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  58949. msgstr ""
  58950. #. type: table
  58951. #: guix-git/doc/guix.texi:38444
  58952. msgid "This is the list of IP addresses and ports and possibly socket file names to listen to (@pxref{Server Settings, @code{listen} directive,, dico, GNU Dico Manual})."
  58953. msgstr ""
  58954. #. type: item
  58955. #: guix-git/doc/guix.texi:38445
  58956. #, no-wrap
  58957. msgid "@code{handlers} (default: @var{'()})"
  58958. msgstr ""
  58959. #. type: table
  58960. #: guix-git/doc/guix.texi:38447
  58961. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  58962. msgstr ""
  58963. #. type: item
  58964. #: guix-git/doc/guix.texi:38448
  58965. #, no-wrap
  58966. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  58967. msgstr ""
  58968. #. type: table
  58969. #: guix-git/doc/guix.texi:38450
  58970. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  58971. msgstr ""
  58972. #. type: deftp
  58973. #: guix-git/doc/guix.texi:38453
  58974. #, no-wrap
  58975. msgid "{Data Type} dicod-handler"
  58976. msgstr ""
  58977. #. type: deftp
  58978. #: guix-git/doc/guix.texi:38455
  58979. msgid "Data type representing a dictionary handler (module instance)."
  58980. msgstr ""
  58981. #. type: table
  58982. #: guix-git/doc/guix.texi:38459
  58983. msgid "Name of the handler (module instance)."
  58984. msgstr ""
  58985. #. type: item
  58986. #: guix-git/doc/guix.texi:38460
  58987. #, no-wrap
  58988. msgid "@code{module} (default: @var{#f})"
  58989. msgstr ""
  58990. #. type: table
  58991. #: guix-git/doc/guix.texi:38464
  58992. msgid "Name of the dicod module of the handler (instance). If it is @code{#f}, the module has the same name as the handler. (@pxref{Modules,,, dico, GNU Dico Manual})."
  58993. msgstr ""
  58994. #. type: table
  58995. #: guix-git/doc/guix.texi:38467
  58996. msgid "List of strings or gexps representing the arguments for the module handler"
  58997. msgstr ""
  58998. #. type: deftp
  58999. #: guix-git/doc/guix.texi:38470
  59000. #, no-wrap
  59001. msgid "{Data Type} dicod-database"
  59002. msgstr ""
  59003. #. type: deftp
  59004. #: guix-git/doc/guix.texi:38472
  59005. msgid "Data type representing a dictionary database."
  59006. msgstr ""
  59007. #. type: table
  59008. #: guix-git/doc/guix.texi:38476
  59009. msgid "Name of the database, will be used in DICT commands."
  59010. msgstr ""
  59011. #. type: code{#1}
  59012. #: guix-git/doc/guix.texi:38477
  59013. #, no-wrap
  59014. msgid "handler"
  59015. msgstr ""
  59016. #. type: table
  59017. #: guix-git/doc/guix.texi:38480
  59018. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  59019. msgstr ""
  59020. #. type: item
  59021. #: guix-git/doc/guix.texi:38481
  59022. #, no-wrap
  59023. msgid "@code{complex?} (default: @var{#f})"
  59024. msgstr ""
  59025. #. type: table
  59026. #: guix-git/doc/guix.texi:38484
  59027. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  59028. msgstr ""
  59029. #. type: table
  59030. #: guix-git/doc/guix.texi:38488
  59031. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  59032. msgstr ""
  59033. #. type: defvar
  59034. #: guix-git/doc/guix.texi:38491
  59035. #, no-wrap
  59036. msgid "%dicod-database:gcide"
  59037. msgstr ""
  59038. #. type: defvar
  59039. #: guix-git/doc/guix.texi:38494
  59040. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  59041. msgstr ""
  59042. #. type: Plain text
  59043. #: guix-git/doc/guix.texi:38497
  59044. msgid "The following is an example @code{dicod-service-type} configuration."
  59045. msgstr ""
  59046. #. type: lisp
  59047. #: guix-git/doc/guix.texi:38513
  59048. #, no-wrap
  59049. msgid ""
  59050. "(service dicod-service-type\n"
  59051. " (dicod-configuration\n"
  59052. " (handlers (list\n"
  59053. " (dicod-handler\n"
  59054. " (name \"wordnet\")\n"
  59055. " (module \"wordnet\")\n"
  59056. " (options\n"
  59057. " (list #~(string-append \"wnhome=\" #$wordnet))))))\n"
  59058. " (databases (list\n"
  59059. " (dicod-database\n"
  59060. " (name \"wordnet\")\n"
  59061. " (complex? #t)\n"
  59062. " (handler \"wordnet\"))\n"
  59063. " %dicod-database:gcide))))\n"
  59064. msgstr ""
  59065. #. type: cindex
  59066. #: guix-git/doc/guix.texi:38515
  59067. #, no-wrap
  59068. msgid "Docker"
  59069. msgstr ""
  59070. #. type: subsubheading
  59071. #: guix-git/doc/guix.texi:38516
  59072. #, no-wrap
  59073. msgid "Docker Service"
  59074. msgstr ""
  59075. #. type: Plain text
  59076. #: guix-git/doc/guix.texi:38519
  59077. msgid "The @code{(gnu services docker)} module provides the following services."
  59078. msgstr ""
  59079. #. type: defvar
  59080. #: guix-git/doc/guix.texi:38520
  59081. #, fuzzy, no-wrap
  59082. #| msgid "guix-publish-service-type"
  59083. msgid "docker-service-type"
  59084. msgstr "guix-publish-service-type"
  59085. #. type: defvar
  59086. #: guix-git/doc/guix.texi:38525
  59087. msgid "This is the type of the service that runs @url{https://www.docker.com,Docker}, a daemon that can execute application bundles (sometimes referred to as ``containers'') in isolated environments."
  59088. msgstr ""
  59089. #. type: deftp
  59090. #: guix-git/doc/guix.texi:38528
  59091. #, no-wrap
  59092. msgid "{Data Type} docker-configuration"
  59093. msgstr ""
  59094. #. type: deftp
  59095. #: guix-git/doc/guix.texi:38530
  59096. msgid "This is the data type representing the configuration of Docker and Containerd."
  59097. msgstr ""
  59098. #. type: item
  59099. #: guix-git/doc/guix.texi:38533
  59100. #, fuzzy, no-wrap
  59101. #| msgid "@code{tor} (default: @code{tor})"
  59102. msgid "@code{docker} (default: @code{docker})"
  59103. msgstr "@code{tor} (default: @code{tor})"
  59104. #. type: table
  59105. #: guix-git/doc/guix.texi:38535
  59106. msgid "The Docker daemon package to use."
  59107. msgstr ""
  59108. #. type: item
  59109. #: guix-git/doc/guix.texi:38536
  59110. #, fuzzy, no-wrap
  59111. #| msgid "@code{tor} (default: @code{tor})"
  59112. msgid "@code{docker-cli} (default: @code{docker-cli})"
  59113. msgstr "@code{tor} (default: @code{tor})"
  59114. #. type: table
  59115. #: guix-git/doc/guix.texi:38538
  59116. msgid "The Docker client package to use."
  59117. msgstr ""
  59118. #. type: item
  59119. #: guix-git/doc/guix.texi:38539
  59120. #, no-wrap
  59121. msgid "@code{containerd} (default: @var{containerd})"
  59122. msgstr ""
  59123. #. type: table
  59124. #: guix-git/doc/guix.texi:38541
  59125. msgid "The Containerd package to use."
  59126. msgstr ""
  59127. #. type: item
  59128. #: guix-git/doc/guix.texi:38542
  59129. #, no-wrap
  59130. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  59131. msgstr ""
  59132. #. type: table
  59133. #: guix-git/doc/guix.texi:38544
  59134. msgid "The Docker user-land networking proxy package to use."
  59135. msgstr ""
  59136. #. type: item
  59137. #: guix-git/doc/guix.texi:38545
  59138. #, no-wrap
  59139. msgid "@code{enable-proxy?} (default @code{#t})"
  59140. msgstr ""
  59141. #. type: table
  59142. #: guix-git/doc/guix.texi:38547
  59143. msgid "Enable or disable the use of the Docker user-land networking proxy."
  59144. msgstr ""
  59145. #. type: item
  59146. #: guix-git/doc/guix.texi:38548
  59147. #, no-wrap
  59148. msgid "@code{debug?} (default @code{#f})"
  59149. msgstr ""
  59150. #. type: table
  59151. #: guix-git/doc/guix.texi:38550
  59152. msgid "Enable or disable debug output."
  59153. msgstr ""
  59154. #. type: item
  59155. #: guix-git/doc/guix.texi:38551
  59156. #, no-wrap
  59157. msgid "@code{enable-iptables?} (default @code{#t})"
  59158. msgstr ""
  59159. #. type: table
  59160. #: guix-git/doc/guix.texi:38553
  59161. msgid "Enable or disable the addition of iptables rules."
  59162. msgstr ""
  59163. #. type: item
  59164. #: guix-git/doc/guix.texi:38554
  59165. #, fuzzy, no-wrap
  59166. #| msgid "@code{replacement} (default: @code{#f})"
  59167. msgid "@code{environment-variables} (default: @code{'()})"
  59168. msgstr "@code{replacement} (default: @code{#f})"
  59169. #. type: table
  59170. #: guix-git/doc/guix.texi:38556
  59171. msgid "List of environment variables to set for @command{dockerd}."
  59172. msgstr ""
  59173. #. type: table
  59174. #: guix-git/doc/guix.texi:38559
  59175. msgid "This must be a list of strings where each string has the form @samp{@var{key}=@var{value}} as in this example:"
  59176. msgstr ""
  59177. #. type: lisp
  59178. #: guix-git/doc/guix.texi:38563
  59179. #, no-wrap
  59180. msgid ""
  59181. "(list \"LANGUAGE=eo:ca:eu\"\n"
  59182. " \"TMPDIR=/tmp/dockerd\")\n"
  59183. msgstr ""
  59184. #. type: cindex
  59185. #: guix-git/doc/guix.texi:38568
  59186. #, no-wrap
  59187. msgid "Singularity, container service"
  59188. msgstr ""
  59189. #. type: defvar
  59190. #: guix-git/doc/guix.texi:38569
  59191. #, fuzzy, no-wrap
  59192. #| msgid "guix-publish-service-type"
  59193. msgid "singularity-service-type"
  59194. msgstr "guix-publish-service-type"
  59195. #. type: defvar
  59196. #: guix-git/doc/guix.texi:38574
  59197. msgid "This is the type of the service that allows you to run @url{https://www.sylabs.io/singularity/, Singularity}, a Docker-style tool to create and run application bundles (aka. ``containers''). The value for this service is the Singularity package to use."
  59198. msgstr ""
  59199. #. type: defvar
  59200. #: guix-git/doc/guix.texi:38578
  59201. msgid "The service does not install a daemon; instead, it installs helper programs as setuid-root (@pxref{Setuid Programs}) such that unprivileged users can invoke @command{singularity run} and similar commands."
  59202. msgstr ""
  59203. #. type: cindex
  59204. #: guix-git/doc/guix.texi:38580
  59205. #, no-wrap
  59206. msgid "Audit"
  59207. msgstr ""
  59208. #. type: subsubheading
  59209. #: guix-git/doc/guix.texi:38581
  59210. #, no-wrap
  59211. msgid "Auditd Service"
  59212. msgstr ""
  59213. #. type: Plain text
  59214. #: guix-git/doc/guix.texi:38584
  59215. msgid "The @code{(gnu services auditd)} module provides the following service."
  59216. msgstr ""
  59217. #. type: defvar
  59218. #: guix-git/doc/guix.texi:38585
  59219. #, fuzzy, no-wrap
  59220. #| msgid "guix-publish-service-type"
  59221. msgid "auditd-service-type"
  59222. msgstr "guix-publish-service-type"
  59223. #. type: defvar
  59224. #: guix-git/doc/guix.texi:38590
  59225. msgid "This is the type of the service that runs @url{https://people.redhat.com/sgrubb/audit/,auditd}, a daemon that tracks security-relevant information on your system."
  59226. msgstr ""
  59227. #. type: defvar
  59228. #: guix-git/doc/guix.texi:38592
  59229. msgid "Examples of things that can be tracked:"
  59230. msgstr ""
  59231. #. type: enumerate
  59232. #: guix-git/doc/guix.texi:38596
  59233. msgid "File accesses"
  59234. msgstr ""
  59235. #. type: enumerate
  59236. #: guix-git/doc/guix.texi:38598
  59237. msgid "System calls"
  59238. msgstr ""
  59239. #. type: enumerate
  59240. #: guix-git/doc/guix.texi:38600
  59241. msgid "Invoked commands"
  59242. msgstr ""
  59243. #. type: enumerate
  59244. #: guix-git/doc/guix.texi:38602
  59245. msgid "Failed login attempts"
  59246. msgstr ""
  59247. #. type: enumerate
  59248. #: guix-git/doc/guix.texi:38604
  59249. msgid "Firewall filtering"
  59250. msgstr ""
  59251. #. type: enumerate
  59252. #: guix-git/doc/guix.texi:38606
  59253. msgid "Network access"
  59254. msgstr ""
  59255. #. type: defvar
  59256. #: guix-git/doc/guix.texi:38617
  59257. msgid "@command{auditctl} from the @code{audit} package can be used in order to add or remove events to be tracked (until the next reboot). In order to permanently track events, put the command line arguments of auditctl into a file called @code{audit.rules} in the configuration directory (see below). @command{aureport} from the @code{audit} package can be used in order to view a report of all recorded events. The audit daemon by default logs into the file @file{/var/log/audit.log}."
  59258. msgstr ""
  59259. #. type: deftp
  59260. #: guix-git/doc/guix.texi:38620
  59261. #, no-wrap
  59262. msgid "{Data Type} auditd-configuration"
  59263. msgstr ""
  59264. #. type: deftp
  59265. #: guix-git/doc/guix.texi:38622
  59266. msgid "This is the data type representing the configuration of auditd."
  59267. msgstr ""
  59268. #. type: item
  59269. #: guix-git/doc/guix.texi:38625
  59270. #, no-wrap
  59271. msgid "@code{audit} (default: @code{audit})"
  59272. msgstr ""
  59273. #. type: table
  59274. #: guix-git/doc/guix.texi:38627
  59275. msgid "The audit package to use."
  59276. msgstr ""
  59277. #. type: item
  59278. #: guix-git/doc/guix.texi:38628
  59279. #, no-wrap
  59280. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  59281. msgstr ""
  59282. #. type: table
  59283. #: guix-git/doc/guix.texi:38632
  59284. msgid "The directory containing the configuration file for the audit package, which must be named @code{auditd.conf}, and optionally some audit rules to instantiate on startup."
  59285. msgstr ""
  59286. #. type: cindex
  59287. #: guix-git/doc/guix.texi:38636
  59288. #, no-wrap
  59289. msgid "rshiny"
  59290. msgstr ""
  59291. #. type: subsubheading
  59292. #: guix-git/doc/guix.texi:38637
  59293. #, no-wrap
  59294. msgid "R-Shiny service"
  59295. msgstr ""
  59296. #. type: Plain text
  59297. #: guix-git/doc/guix.texi:38640
  59298. msgid "The @code{(gnu services science)} module provides the following service."
  59299. msgstr ""
  59300. #. type: defvar
  59301. #: guix-git/doc/guix.texi:38641
  59302. #, fuzzy, no-wrap
  59303. #| msgid "guix-publish-service-type"
  59304. msgid "rshiny-service-type"
  59305. msgstr "guix-publish-service-type"
  59306. #. type: defvar
  59307. #: guix-git/doc/guix.texi:38646
  59308. msgid "This is a type of service which is used to run a webapp created with @code{r-shiny}. This service sets the @env{R_LIBS_USER} environment variable and runs the provided script to call @code{runApp}."
  59309. msgstr ""
  59310. #. type: deftp
  59311. #: guix-git/doc/guix.texi:38647
  59312. #, no-wrap
  59313. msgid "{Data Type} rshiny-configuration"
  59314. msgstr ""
  59315. #. type: deftp
  59316. #: guix-git/doc/guix.texi:38649
  59317. msgid "This is the data type representing the configuration of rshiny."
  59318. msgstr ""
  59319. #. type: item
  59320. #: guix-git/doc/guix.texi:38652
  59321. #, no-wrap
  59322. msgid "@code{package} (default: @code{r-shiny})"
  59323. msgstr ""
  59324. #. type: table
  59325. #: guix-git/doc/guix.texi:38654
  59326. msgid "The package to use."
  59327. msgstr ""
  59328. #. type: item
  59329. #: guix-git/doc/guix.texi:38655
  59330. #, fuzzy, no-wrap
  59331. #| msgid "@code{uid} (default: @code{#f})"
  59332. msgid "@code{binary} (default @code{\"rshiny\"})"
  59333. msgstr "@code{uid} (default: @code{#f})"
  59334. #. type: table
  59335. #: guix-git/doc/guix.texi:38658
  59336. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  59337. msgstr ""
  59338. #. type: table
  59339. #: guix-git/doc/guix.texi:38660
  59340. msgid "The common way to create this file is as follows:"
  59341. msgstr ""
  59342. #. type: lisp
  59343. #: guix-git/doc/guix.texi:38677
  59344. #, no-wrap
  59345. msgid ""
  59346. "@dots{}\n"
  59347. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  59348. " (targetdir (string-append out \"/share/\" ,name))\n"
  59349. " (app (string-append out \"/bin/\" ,name))\n"
  59350. " (Rbin (search-input-file %build-inputs \"/bin/Rscript\")))\n"
  59351. " ;; @dots{}\n"
  59352. " (mkdir-p (string-append out \"/bin\"))\n"
  59353. " (call-with-output-file app\n"
  59354. " (lambda (port)\n"
  59355. " (format port\n"
  59356. "\"#!~a\n"
  59357. "library(shiny)\n"
  59358. "setwd(\\\"~a\\\")\n"
  59359. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  59360. " Rbin targetdir))))\n"
  59361. msgstr ""
  59362. #. type: cindex
  59363. #: guix-git/doc/guix.texi:38683
  59364. #, no-wrap
  59365. msgid "Nix"
  59366. msgstr ""
  59367. #. type: subsubheading
  59368. #: guix-git/doc/guix.texi:38684
  59369. #, no-wrap
  59370. msgid "Nix service"
  59371. msgstr ""
  59372. #. type: Plain text
  59373. #: guix-git/doc/guix.texi:38687
  59374. msgid "The @code{(gnu services nix)} module provides the following service."
  59375. msgstr ""
  59376. #. type: defvar
  59377. #: guix-git/doc/guix.texi:38688
  59378. #, fuzzy, no-wrap
  59379. #| msgid "guix-publish-service-type"
  59380. msgid "nix-service-type"
  59381. msgstr "guix-publish-service-type"
  59382. #. type: defvar
  59383. #: guix-git/doc/guix.texi:38693
  59384. msgid "This is the type of the service that runs build daemon of the @url{https://nixos.org/nix/, Nix} package manager. Here is an example showing how to use it:"
  59385. msgstr ""
  59386. #. type: lisp
  59387. #: guix-git/doc/guix.texi:38698
  59388. #, no-wrap
  59389. msgid ""
  59390. "(use-modules (gnu))\n"
  59391. "(use-service-modules nix)\n"
  59392. "(use-package-modules package-management)\n"
  59393. "\n"
  59394. msgstr ""
  59395. #. type: lisp
  59396. #: guix-git/doc/guix.texi:38703
  59397. #, no-wrap
  59398. msgid ""
  59399. "(operating-system\n"
  59400. " ;; @dots{}\n"
  59401. " (packages (append (list nix)\n"
  59402. " %base-packages))\n"
  59403. "\n"
  59404. msgstr ""
  59405. #. type: lisp
  59406. #: guix-git/doc/guix.texi:38706
  59407. #, no-wrap
  59408. msgid ""
  59409. " (services (append (list (service nix-service-type))\n"
  59410. " %base-services)))\n"
  59411. msgstr ""
  59412. #. type: defvar
  59413. #: guix-git/doc/guix.texi:38709
  59414. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  59415. msgstr ""
  59416. #. type: item
  59417. #: guix-git/doc/guix.texi:38711
  59418. #, no-wrap
  59419. msgid "Add a Nix channel and update it. See"
  59420. msgstr ""
  59421. #. type: itemize
  59422. #: guix-git/doc/guix.texi:38713
  59423. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  59424. msgstr ""
  59425. #. type: item
  59426. #: guix-git/doc/guix.texi:38714
  59427. #, no-wrap
  59428. msgid "Create a symlink to your profile and activate Nix profile:"
  59429. msgstr ""
  59430. #. type: example
  59431. #: guix-git/doc/guix.texi:38720
  59432. #, no-wrap
  59433. msgid ""
  59434. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  59435. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  59436. msgstr ""
  59437. #. type: deftp
  59438. #: guix-git/doc/guix.texi:38724
  59439. #, no-wrap
  59440. msgid "{Data Type} nix-configuration"
  59441. msgstr ""
  59442. #. type: deftp
  59443. #: guix-git/doc/guix.texi:38726
  59444. msgid "This data type represents the configuration of the Nix daemon."
  59445. msgstr ""
  59446. #. type: item
  59447. #: guix-git/doc/guix.texi:38728
  59448. #, no-wrap
  59449. msgid "@code{nix} (default: @code{nix})"
  59450. msgstr ""
  59451. #. type: table
  59452. #: guix-git/doc/guix.texi:38730
  59453. msgid "The Nix package to use."
  59454. msgstr ""
  59455. #. type: item
  59456. #: guix-git/doc/guix.texi:38731
  59457. #, no-wrap
  59458. msgid "@code{sandbox} (default: @code{#t})"
  59459. msgstr ""
  59460. #. type: table
  59461. #: guix-git/doc/guix.texi:38733
  59462. msgid "Specifies whether builds are sandboxed by default."
  59463. msgstr ""
  59464. #. type: item
  59465. #: guix-git/doc/guix.texi:38734
  59466. #, fuzzy, no-wrap
  59467. #| msgid "@code{device} (default: @code{#f})"
  59468. msgid "@code{build-directory} (default: @code{\"/tmp\"})"
  59469. msgstr "@code{device} (default: @code{#f})"
  59470. #. type: table
  59471. #: guix-git/doc/guix.texi:38738
  59472. msgid "The directory where build directory are stored during builds. This is useful to change if, for example, the default location does not have enough space to hold build trees for big packages."
  59473. msgstr ""
  59474. #. type: table
  59475. #: guix-git/doc/guix.texi:38742
  59476. msgid "This is similar to setting the @env{TMPDIR} environment variable for @command{guix-daemon}. @ref{Build Environment Setup, @env{TMPDIR}}, for more info."
  59477. msgstr ""
  59478. #. type: item
  59479. #: guix-git/doc/guix.texi:38743
  59480. #, no-wrap
  59481. msgid "@code{build-sandbox-items} (default: @code{'()})"
  59482. msgstr ""
  59483. #. type: table
  59484. #: guix-git/doc/guix.texi:38746
  59485. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  59486. msgstr ""
  59487. #. type: table
  59488. #: guix-git/doc/guix.texi:38754
  59489. msgid "Extra command line options for @code{nix-service-type}."
  59490. msgstr ""
  59491. #. type: cindex
  59492. #: guix-git/doc/guix.texi:38757
  59493. #, no-wrap
  59494. msgid "Fail2Ban"
  59495. msgstr ""
  59496. #. type: subsubheading
  59497. #: guix-git/doc/guix.texi:38758
  59498. #, fuzzy, no-wrap
  59499. #| msgid "Mail Services"
  59500. msgid "Fail2Ban service"
  59501. msgstr "Serviços de correio"
  59502. #. type: Plain text
  59503. #: guix-git/doc/guix.texi:38764
  59504. msgid "@uref{http://www.fail2ban.org/, @code{fail2ban}} scans log files (e.g. @code{/var/log/apache/error_log}) and bans IP addresses that show malicious signs -- repeated password failures, attempts to make use of exploits, etc."
  59505. msgstr ""
  59506. #. type: Plain text
  59507. #: guix-git/doc/guix.texi:38767
  59508. msgid "@code{fail2ban-service-type} service type is provided by the @code{(gnu services security)} module."
  59509. msgstr ""
  59510. #. type: Plain text
  59511. #: guix-git/doc/guix.texi:38770
  59512. msgid "This service type runs the @code{fail2ban} daemon. It can be configured in various ways, which are:"
  59513. msgstr ""
  59514. #. type: item
  59515. #: guix-git/doc/guix.texi:38772
  59516. #, fuzzy, no-wrap
  59517. #| msgid "git configuration"
  59518. msgid "Basic configuration"
  59519. msgstr "Configuração do git"
  59520. #. type: table
  59521. #: guix-git/doc/guix.texi:38775
  59522. msgid "The basic parameters of the Fail2Ban service can be configured via its @code{fail2ban} configuration, which is documented below."
  59523. msgstr ""
  59524. #. type: item
  59525. #: guix-git/doc/guix.texi:38776
  59526. #, no-wrap
  59527. msgid "User-specified jail extensions"
  59528. msgstr ""
  59529. #. type: table
  59530. #: guix-git/doc/guix.texi:38779
  59531. msgid "The @code{fail2ban-jail-service} function can be used to add new Fail2Ban jails."
  59532. msgstr ""
  59533. #. type: item
  59534. #: guix-git/doc/guix.texi:38780
  59535. #, no-wrap
  59536. msgid "Shepherd extension mechanism"
  59537. msgstr ""
  59538. #. type: table
  59539. #: guix-git/doc/guix.texi:38783
  59540. msgid "Service developers can extend the @code{fail2ban-service-type} service type itself via the usual service extension mechanism."
  59541. msgstr ""
  59542. #. type: defvar
  59543. #: guix-git/doc/guix.texi:38785
  59544. #, fuzzy, no-wrap
  59545. #| msgid "guix-publish-service-type"
  59546. msgid "fail2ban-service-type"
  59547. msgstr "guix-publish-service-type"
  59548. #. type: defvar
  59549. #: guix-git/doc/guix.texi:38789
  59550. msgid "This is the type of the service that runs @code{fail2ban} daemon. Below is an example of a basic, explicit configuration:"
  59551. msgstr ""
  59552. #. type: lisp
  59553. #: guix-git/doc/guix.texi:38804
  59554. #, no-wrap
  59555. msgid ""
  59556. "(append\n"
  59557. " (list\n"
  59558. " (service fail2ban-service-type\n"
  59559. " (fail2ban-configuration\n"
  59560. " (extra-jails\n"
  59561. " (list\n"
  59562. " (fail2ban-jail-configuration\n"
  59563. " (name \"sshd\")\n"
  59564. " (enabled? #t))))))\n"
  59565. " ;; There is no implicit dependency on an actual SSH\n"
  59566. " ;; service, so you need to provide one.\n"
  59567. " (service openssh-service-type))\n"
  59568. " %base-services)\n"
  59569. msgstr ""
  59570. #. type: defun
  59571. #: guix-git/doc/guix.texi:38807
  59572. #, fuzzy, no-wrap
  59573. #| msgid "guix-publish-service-type"
  59574. msgid "fail2ban-jail-service svc-type jail"
  59575. msgstr "guix-publish-service-type"
  59576. #. type: defun
  59577. #: guix-git/doc/guix.texi:38810
  59578. msgid "Extend @var{svc-type}, a @code{<service-type>} object with @var{jail}, a @code{fail2ban-jail-configuration} object."
  59579. msgstr ""
  59580. #. type: lisp
  59581. #: guix-git/doc/guix.texi:38826
  59582. #, no-wrap
  59583. msgid ""
  59584. "(append\n"
  59585. " (list\n"
  59586. " (service\n"
  59587. " ;; The 'fail2ban-jail-service' procedure can extend any service type\n"
  59588. " ;; with a fail2ban jail. This removes the requirement to explicitly\n"
  59589. " ;; extend services with fail2ban-service-type.\n"
  59590. " (fail2ban-jail-service\n"
  59591. " openssh-service-type\n"
  59592. " (fail2ban-jail-configuration\n"
  59593. " (name \"sshd\")\n"
  59594. " (enabled? #t)))\n"
  59595. " (openssh-configuration ...))))\n"
  59596. msgstr ""
  59597. #. type: Plain text
  59598. #: guix-git/doc/guix.texi:38831
  59599. msgid "Below is the reference for the different @code{jail-service-type} configuration records."
  59600. msgstr ""
  59601. #. type: deftp
  59602. #: guix-git/doc/guix.texi:38836
  59603. #, fuzzy, no-wrap
  59604. msgid "{Data Type} fail2ban-configuration"
  59605. msgstr "build-machine {Data Type}"
  59606. #. type: deftp
  59607. #: guix-git/doc/guix.texi:38838
  59608. msgid "Available @code{fail2ban-configuration} fields are:"
  59609. msgstr ""
  59610. #. type: item
  59611. #: guix-git/doc/guix.texi:38840
  59612. #, fuzzy, no-wrap
  59613. msgid "@code{fail2ban} (default: @code{fail2ban}) (type: package)"
  59614. msgstr "@code{tmpdir} (default: @code{#f})"
  59615. #. type: table
  59616. #: guix-git/doc/guix.texi:38844
  59617. msgid "The @code{fail2ban} package to use. It is used for both binaries and as base default configuration that is to be extended with @code{<fail2ban-jail-configuration>} objects."
  59618. msgstr ""
  59619. #. type: item
  59620. #: guix-git/doc/guix.texi:38845
  59621. #, fuzzy, no-wrap
  59622. msgid "@code{run-directory} (default: @code{\"/var/run/fail2ban\"}) (type: string)"
  59623. msgstr "@code{remote?} (padrão: @code{#f})"
  59624. #. type: table
  59625. #: guix-git/doc/guix.texi:38847
  59626. msgid "The state directory for the @code{fail2ban} daemon."
  59627. msgstr ""
  59628. #. type: item
  59629. #: guix-git/doc/guix.texi:38848
  59630. #, fuzzy, no-wrap
  59631. #| msgid "@code{dbus?} (default: @code{#t})"
  59632. msgid "@code{jails} (default: @code{'()}) (type: list-of-fail2ban-jail-configurations)"
  59633. msgstr "@code{dbus?} (padrão: @code{#t})"
  59634. #. type: table
  59635. #: guix-git/doc/guix.texi:38851
  59636. msgid "Instances of @code{<fail2ban-jail-configuration>} collected from extensions."
  59637. msgstr ""
  59638. #. type: item
  59639. #: guix-git/doc/guix.texi:38852
  59640. #, fuzzy, no-wrap
  59641. #| msgid "@code{dbus?} (default: @code{#t})"
  59642. msgid "@code{extra-jails} (default: @code{'()}) (type: list-of-fail2ban-jail-configurations)"
  59643. msgstr "@code{dbus?} (padrão: @code{#t})"
  59644. #. type: table
  59645. #: guix-git/doc/guix.texi:38854
  59646. msgid "Instances of @code{<fail2ban-jail-configuration>} explicitly provided."
  59647. msgstr ""
  59648. #. type: item
  59649. #: guix-git/doc/guix.texi:38855 guix-git/doc/guix.texi:38984
  59650. #, fuzzy, no-wrap
  59651. #| msgid "@code{debug?} (default: @code{#f})"
  59652. msgid "@code{extra-content} (default: @code{'()}) (type: text-config)"
  59653. msgstr "@code{debug?} (default: @code{#f})"
  59654. #. type: table
  59655. #: guix-git/doc/guix.texi:38858
  59656. msgid "Extra raw content to add to the end of the @file{jail.local} file, provided as a list of file-like objects."
  59657. msgstr ""
  59658. #. type: deftp
  59659. #: guix-git/doc/guix.texi:38863
  59660. #, fuzzy, no-wrap
  59661. msgid "{Data Type} fail2ban-ignore-cache-configuration"
  59662. msgstr "build-machine {Data Type}"
  59663. #. type: deftp
  59664. #: guix-git/doc/guix.texi:38865
  59665. msgid "Available @code{fail2ban-ignore-cache-configuration} fields are:"
  59666. msgstr ""
  59667. #. type: item
  59668. #: guix-git/doc/guix.texi:38867
  59669. #, fuzzy, no-wrap
  59670. msgid "@code{key} (type: string)"
  59671. msgstr "@code{remote?} (padrão: @code{#f})"
  59672. #. type: table
  59673. #: guix-git/doc/guix.texi:38869
  59674. msgid "Cache key."
  59675. msgstr ""
  59676. #. type: item
  59677. #: guix-git/doc/guix.texi:38870
  59678. #, fuzzy, no-wrap
  59679. msgid "@code{max-count} (type: integer)"
  59680. msgstr "@code{remote?} (padrão: @code{#f})"
  59681. #. type: table
  59682. #: guix-git/doc/guix.texi:38872
  59683. msgid "Cache size."
  59684. msgstr ""
  59685. #. type: item
  59686. #: guix-git/doc/guix.texi:38873
  59687. #, fuzzy, no-wrap
  59688. msgid "@code{max-time} (type: integer)"
  59689. msgstr "@code{remote?} (padrão: @code{#f})"
  59690. #. type: table
  59691. #: guix-git/doc/guix.texi:38875
  59692. msgid "Cache time."
  59693. msgstr ""
  59694. #. type: deftp
  59695. #: guix-git/doc/guix.texi:38880
  59696. #, fuzzy, no-wrap
  59697. msgid "{Data Type} fail2ban-jail-action-configuration"
  59698. msgstr "build-machine {Data Type}"
  59699. #. type: deftp
  59700. #: guix-git/doc/guix.texi:38882
  59701. msgid "Available @code{fail2ban-jail-action-configuration} fields are:"
  59702. msgstr ""
  59703. #. type: table
  59704. #: guix-git/doc/guix.texi:38886
  59705. msgid "Action name."
  59706. msgstr ""
  59707. #. type: item
  59708. #: guix-git/doc/guix.texi:38887
  59709. #, fuzzy, no-wrap
  59710. #| msgid "@code{replacement} (default: @code{#f})"
  59711. msgid "@code{arguments} (default: @code{'()}) (type: list-of-arguments)"
  59712. msgstr "@code{replacement} (default: @code{#f})"
  59713. #. type: table
  59714. #: guix-git/doc/guix.texi:38889
  59715. msgid "Action arguments."
  59716. msgstr ""
  59717. #. type: deftp
  59718. #: guix-git/doc/guix.texi:38894
  59719. #, fuzzy, no-wrap
  59720. msgid "{Data Type} fail2ban-jail-configuration"
  59721. msgstr "build-machine {Data Type}"
  59722. #. type: deftp
  59723. #: guix-git/doc/guix.texi:38896
  59724. msgid "Available @code{fail2ban-jail-configuration} fields are:"
  59725. msgstr ""
  59726. #. type: table
  59727. #: guix-git/doc/guix.texi:38900
  59728. msgid "Required name of this jail configuration."
  59729. msgstr ""
  59730. #. type: table
  59731. #: guix-git/doc/guix.texi:38903
  59732. msgid "Whether this jail is enabled."
  59733. msgstr ""
  59734. #. type: item
  59735. #: guix-git/doc/guix.texi:38904
  59736. #, fuzzy, no-wrap
  59737. msgid "@code{backend} (type: maybe-symbol)"
  59738. msgstr "@code{remote?} (padrão: @code{#f})"
  59739. #. type: table
  59740. #: guix-git/doc/guix.texi:38908
  59741. msgid "Backend to use to detect changes in the @code{log-path}. The default is 'auto. To consult the defaults of the jail configuration, refer to the @file{/etc/fail2ban/jail.conf} file of the @code{fail2ban} package."
  59742. msgstr ""
  59743. #. type: item
  59744. #: guix-git/doc/guix.texi:38909
  59745. #, fuzzy, no-wrap
  59746. msgid "@code{max-retry} (type: maybe-integer)"
  59747. msgstr "@code{remote?} (padrão: @code{#f})"
  59748. #. type: table
  59749. #: guix-git/doc/guix.texi:38912
  59750. msgid "The number of failures before a host get banned (e.g. @code{(max-retry 5)})."
  59751. msgstr ""
  59752. #. type: item
  59753. #: guix-git/doc/guix.texi:38913
  59754. #, fuzzy, no-wrap
  59755. msgid "@code{max-matches} (type: maybe-integer)"
  59756. msgstr "@code{remote?} (padrão: @code{#f})"
  59757. #. type: table
  59758. #: guix-git/doc/guix.texi:38916
  59759. msgid "The number of matches stored in ticket (resolvable via tag @code{<matches>}) in action."
  59760. msgstr ""
  59761. #. type: item
  59762. #: guix-git/doc/guix.texi:38917
  59763. #, fuzzy, no-wrap
  59764. msgid "@code{find-time} (type: maybe-string)"
  59765. msgstr "@code{remote?} (padrão: @code{#f})"
  59766. #. type: table
  59767. #: guix-git/doc/guix.texi:38924
  59768. msgid "The time window during which the maximum retry count must be reached for an IP address to be banned. A host is banned if it has generated @code{max-retry} during the last @code{find-time} seconds (e.g. @code{(find-time \"10m\")}). It can be provided in seconds or using Fail2Ban's \"time abbreviation format\", as described in @command{man 5 jail.conf}."
  59769. msgstr ""
  59770. #. type: item
  59771. #: guix-git/doc/guix.texi:38925
  59772. #, fuzzy, no-wrap
  59773. msgid "@code{ban-time} (type: maybe-string)"
  59774. msgstr "@code{remote?} (padrão: @code{#f})"
  59775. #. type: table
  59776. #: guix-git/doc/guix.texi:38928
  59777. msgid "The duration, in seconds or time abbreviated format, that a ban should last. (e.g. @code{(ban-time \"10m\")})."
  59778. msgstr ""
  59779. #. type: item
  59780. #: guix-git/doc/guix.texi:38929
  59781. #, fuzzy, no-wrap
  59782. #| msgid "@code{no-hints?} (default: @code{#f})"
  59783. msgid "@code{ban-time-increment?} (type: maybe-boolean)"
  59784. msgstr "@code{no-hints?} (padrão: @code{#f})"
  59785. #. type: table
  59786. #: guix-git/doc/guix.texi:38932
  59787. msgid "Whether to consider past bans to compute increases to the default ban time of a specific IP address."
  59788. msgstr ""
  59789. #. type: item
  59790. #: guix-git/doc/guix.texi:38933
  59791. #, fuzzy, no-wrap
  59792. msgid "@code{ban-time-factor} (type: maybe-string)"
  59793. msgstr "@code{remote?} (padrão: @code{#f})"
  59794. #. type: table
  59795. #: guix-git/doc/guix.texi:38935
  59796. msgid "The coefficient to use to compute an exponentially growing ban time."
  59797. msgstr ""
  59798. #. type: item
  59799. #: guix-git/doc/guix.texi:38936
  59800. #, fuzzy, no-wrap
  59801. msgid "@code{ban-time-formula} (type: maybe-string)"
  59802. msgstr "@code{remote?} (padrão: @code{#f})"
  59803. #. type: table
  59804. #: guix-git/doc/guix.texi:38938
  59805. msgid "This is the formula used to calculate the next value of a ban time."
  59806. msgstr ""
  59807. #. type: item
  59808. #: guix-git/doc/guix.texi:38939
  59809. #, fuzzy, no-wrap
  59810. msgid "@code{ban-time-multipliers} (type: maybe-string)"
  59811. msgstr "@code{remote?} (padrão: @code{#f})"
  59812. #. type: table
  59813. #: guix-git/doc/guix.texi:38941
  59814. msgid "Used to calculate next value of ban time instead of formula."
  59815. msgstr ""
  59816. #. type: item
  59817. #: guix-git/doc/guix.texi:38942
  59818. #, fuzzy, no-wrap
  59819. msgid "@code{ban-time-max-time} (type: maybe-string)"
  59820. msgstr "@code{remote?} (padrão: @code{#f})"
  59821. #. type: table
  59822. #: guix-git/doc/guix.texi:38944
  59823. msgid "The maximum number of seconds a ban should last."
  59824. msgstr ""
  59825. #. type: item
  59826. #: guix-git/doc/guix.texi:38945
  59827. #, fuzzy, no-wrap
  59828. msgid "@code{ban-time-rnd-time} (type: maybe-string)"
  59829. msgstr "@code{remote?} (padrão: @code{#f})"
  59830. #. type: table
  59831. #: guix-git/doc/guix.texi:38949
  59832. msgid "The maximum number of seconds a randomized ban time should last. This can be useful to stop ``clever'' botnets calculating the exact time an IP address can be unbanned again."
  59833. msgstr ""
  59834. #. type: item
  59835. #: guix-git/doc/guix.texi:38950
  59836. #, fuzzy, no-wrap
  59837. msgid "@code{ban-time-overall-jails?} (type: maybe-boolean)"
  59838. msgstr "@code{chdir} (default: @code{#f})"
  59839. #. type: table
  59840. #: guix-git/doc/guix.texi:38954
  59841. msgid "When true, it specifies the search of an IP address in the database should be made across all jails. Otherwise, only the current jail of the ban IP address is considered."
  59842. msgstr ""
  59843. #. type: item
  59844. #: guix-git/doc/guix.texi:38955
  59845. #, fuzzy, no-wrap
  59846. msgid "@code{ignore-self?} (type: maybe-boolean)"
  59847. msgstr "@code{chdir} (default: @code{#f})"
  59848. #. type: table
  59849. #: guix-git/doc/guix.texi:38957
  59850. msgid "Never ban the local machine's own IP address."
  59851. msgstr ""
  59852. #. type: item
  59853. #: guix-git/doc/guix.texi:38958
  59854. #, fuzzy, no-wrap
  59855. #| msgid "@code{replacement} (default: @code{#f})"
  59856. msgid "@code{ignore-ip} (default: @code{'()}) (type: list-of-strings)"
  59857. msgstr "@code{replacement} (default: @code{#f})"
  59858. #. type: table
  59859. #: guix-git/doc/guix.texi:38962
  59860. msgid "A list of IP addresses, CIDR masks or DNS hosts to ignore. @code{fail2ban} will not ban a host which matches an address in this list."
  59861. msgstr ""
  59862. #. type: item
  59863. #: guix-git/doc/guix.texi:38963
  59864. #, no-wrap
  59865. msgid "@code{ignore-cache} (type: maybe-fail2ban-ignore-cache-configuration)"
  59866. msgstr ""
  59867. #. type: table
  59868. #: guix-git/doc/guix.texi:38965
  59869. msgid "Provide cache parameters for the ignore failure check."
  59870. msgstr ""
  59871. #. type: item
  59872. #: guix-git/doc/guix.texi:38966
  59873. #, fuzzy, no-wrap
  59874. msgid "@code{filter} (type: maybe-fail2ban-jail-filter-configuration)"
  59875. msgstr "@code{chdir} (default: @code{#f})"
  59876. #. type: table
  59877. #: guix-git/doc/guix.texi:38970
  59878. msgid "The filter to use by the jail, specified via a @code{<fail2ban-jail-filter-configuration>} object. By default, jails have names matching their filter name."
  59879. msgstr ""
  59880. #. type: item
  59881. #: guix-git/doc/guix.texi:38971
  59882. #, fuzzy, no-wrap
  59883. msgid "@code{log-time-zone} (type: maybe-string)"
  59884. msgstr "@code{remote?} (padrão: @code{#f})"
  59885. #. type: table
  59886. #: guix-git/doc/guix.texi:38973
  59887. msgid "The default time zone for log lines that do not have one."
  59888. msgstr ""
  59889. #. type: item
  59890. #: guix-git/doc/guix.texi:38974
  59891. #, fuzzy, no-wrap
  59892. #| msgid "@code{no-hints?} (default: @code{#f})"
  59893. msgid "@code{log-encoding} (type: maybe-symbol)"
  59894. msgstr "@code{no-hints?} (padrão: @code{#f})"
  59895. #. type: table
  59896. #: guix-git/doc/guix.texi:38977
  59897. msgid "The encoding of the log files handled by the jail. Possible values are: @code{'ascii}, @code{'utf-8} and @code{'auto}."
  59898. msgstr ""
  59899. #. type: item
  59900. #: guix-git/doc/guix.texi:38978
  59901. #, fuzzy, no-wrap
  59902. #| msgid "@code{dbus?} (default: @code{#t})"
  59903. msgid "@code{log-path} (default: @code{'()}) (type: list-of-strings)"
  59904. msgstr "@code{dbus?} (padrão: @code{#t})"
  59905. #. type: table
  59906. #: guix-git/doc/guix.texi:38980
  59907. #, fuzzy
  59908. #| msgid "The host name of the remote machine."
  59909. msgid "The file names of the log files to be monitored."
  59910. msgstr "O nome de host da máquina remota."
  59911. #. type: item
  59912. #: guix-git/doc/guix.texi:38981
  59913. #, fuzzy, no-wrap
  59914. #| msgid "@code{replacement} (default: @code{#f})"
  59915. msgid "@code{action} (default: @code{'()}) (type: list-of-fail2ban-jail-actions)"
  59916. msgstr "@code{replacement} (default: @code{#f})"
  59917. #. type: table
  59918. #: guix-git/doc/guix.texi:38983
  59919. msgid "A list of @code{<fail2ban-jail-action-configuration>}."
  59920. msgstr ""
  59921. #. type: table
  59922. #: guix-git/doc/guix.texi:38987
  59923. #, fuzzy
  59924. #| msgid "Instantiating a system configuration."
  59925. msgid "Extra content for the jail configuration, provided as a list of file-like objects."
  59926. msgstr "Inicializando uma configuração de sistema."
  59927. #. type: deftp
  59928. #: guix-git/doc/guix.texi:38992
  59929. #, fuzzy, no-wrap
  59930. msgid "{Data Type} fail2ban-jail-filter-configuration"
  59931. msgstr "build-machine {Data Type}"
  59932. #. type: deftp
  59933. #: guix-git/doc/guix.texi:38994
  59934. msgid "Available @code{fail2ban-jail-filter-configuration} fields are:"
  59935. msgstr ""
  59936. #. type: table
  59937. #: guix-git/doc/guix.texi:38998
  59938. #, fuzzy
  59939. #| msgid "user interfaces"
  59940. msgid "Filter to use."
  59941. msgstr "interfaces de usuário"
  59942. #. type: item
  59943. #: guix-git/doc/guix.texi:38999
  59944. #, fuzzy, no-wrap
  59945. msgid "@code{mode} (type: maybe-string)"
  59946. msgstr "@code{remote?} (padrão: @code{#f})"
  59947. #. type: table
  59948. #: guix-git/doc/guix.texi:39001
  59949. msgid "Mode for filter."
  59950. msgstr ""
  59951. #. type: cindex
  59952. #: guix-git/doc/guix.texi:39011
  59953. #, no-wrap
  59954. msgid "setuid programs"
  59955. msgstr ""
  59956. #. type: cindex
  59957. #: guix-git/doc/guix.texi:39012
  59958. #, fuzzy, no-wrap
  59959. #| msgid "Setuid Programs"
  59960. msgid "setgid programs"
  59961. msgstr "Programas setuid"
  59962. #. type: Plain text
  59963. #: guix-git/doc/guix.texi:39022
  59964. msgid "Some programs need to run with elevated privileges, even when they are launched by unprivileged users. A notorious example is the @command{passwd} program, which users can run to change their password, and which needs to access the @file{/etc/passwd} and @file{/etc/shadow} files---something normally restricted to root, for obvious security reasons. To address that, @command{passwd} should be @dfn{setuid-root}, meaning that it always runs with root privileges (@pxref{How Change Persona,,, libc, The GNU C Library Reference Manual}, for more info about the setuid mechanism)."
  59965. msgstr ""
  59966. #. type: Plain text
  59967. #: guix-git/doc/guix.texi:39029
  59968. msgid "The store itself @emph{cannot} contain setuid programs: that would be a security issue since any user on the system can write derivations that populate the store (@pxref{The Store}). Thus, a different mechanism is used: instead of changing the setuid or setgid bits directly on files that are in the store, we let the system administrator @emph{declare} which programs should be entrusted with these additional privileges."
  59969. msgstr ""
  59970. #. type: Plain text
  59971. #: guix-git/doc/guix.texi:39036
  59972. msgid "The @code{setuid-programs} field of an @code{operating-system} declaration contains a list of @code{<setuid-program>} denoting the names of programs to have a setuid or setgid bit set (@pxref{Using the Configuration System}). For instance, the @command{mount.nfs} program, which is part of the nfs-utils package, with a setuid root can be designated like this:"
  59973. msgstr ""
  59974. #. type: lisp
  59975. #: guix-git/doc/guix.texi:39040
  59976. #, no-wrap
  59977. msgid ""
  59978. "(setuid-program\n"
  59979. " (program (file-append nfs-utils \"/sbin/mount.nfs\")))\n"
  59980. msgstr ""
  59981. #. type: Plain text
  59982. #: guix-git/doc/guix.texi:39045
  59983. msgid "And then, to make @command{mount.nfs} setuid on your system, add the previous example to your operating system declaration by appending it to @code{%setuid-programs} like this:"
  59984. msgstr ""
  59985. #. type: lisp
  59986. #: guix-git/doc/guix.texi:39053
  59987. #, no-wrap
  59988. msgid ""
  59989. "(operating-system\n"
  59990. " ;; Some fields omitted...\n"
  59991. " (setuid-programs\n"
  59992. " (append (list (setuid-program\n"
  59993. " (program (file-append nfs-utils \"/sbin/mount.nfs\"))))\n"
  59994. " %setuid-programs)))\n"
  59995. msgstr ""
  59996. #. type: deftp
  59997. #: guix-git/doc/guix.texi:39055
  59998. #, fuzzy, no-wrap
  59999. #| msgid "{Data Type} build-machine"
  60000. msgid "{Data Type} setuid-program"
  60001. msgstr "build-machine {Data Type}"
  60002. #. type: deftp
  60003. #: guix-git/doc/guix.texi:39057
  60004. msgid "This data type represents a program with a setuid or setgid bit set."
  60005. msgstr ""
  60006. #. type: code{#1}
  60007. #: guix-git/doc/guix.texi:39059
  60008. #, no-wrap
  60009. msgid "program"
  60010. msgstr ""
  60011. #. type: table
  60012. #: guix-git/doc/guix.texi:39061
  60013. msgid "A file-like object having its setuid and/or setgid bit set."
  60014. msgstr ""
  60015. #. type: item
  60016. #: guix-git/doc/guix.texi:39062
  60017. #, fuzzy, no-wrap
  60018. #| msgid "@code{shared?} (default: @code{#t})"
  60019. msgid "@code{setuid?} (default: @code{#t})"
  60020. msgstr "@code{shared?} (padrão: @code{#t})"
  60021. #. type: table
  60022. #: guix-git/doc/guix.texi:39064
  60023. msgid "Whether to set user setuid bit."
  60024. msgstr ""
  60025. #. type: item
  60026. #: guix-git/doc/guix.texi:39065
  60027. #, fuzzy, no-wrap
  60028. #| msgid "@code{id} (default: @code{#f})"
  60029. msgid "@code{setgid?} (default: @code{#f})"
  60030. msgstr "@code{id} (default: @code{#f})"
  60031. #. type: table
  60032. #: guix-git/doc/guix.texi:39067
  60033. msgid "Whether to set group setgid bit."
  60034. msgstr ""
  60035. #. type: item
  60036. #: guix-git/doc/guix.texi:39068
  60037. #, fuzzy, no-wrap
  60038. #| msgid "@code{users} (default: @code{#f})"
  60039. msgid "@code{user} (default: @code{0})"
  60040. msgstr "@code{users} (default: @code{#f})"
  60041. #. type: table
  60042. #: guix-git/doc/guix.texi:39071
  60043. msgid "UID (integer) or user name (string) for the user owner of the program, defaults to root."
  60044. msgstr ""
  60045. #. type: item
  60046. #: guix-git/doc/guix.texi:39072
  60047. #, fuzzy, no-wrap
  60048. #| msgid "@code{hangup?} (default: @code{#f})"
  60049. msgid "@code{group} (default: @code{0})"
  60050. msgstr "@code{hangup?} (padrão: @code{#f})"
  60051. #. type: table
  60052. #: guix-git/doc/guix.texi:39075
  60053. msgid "GID (integer) goup name (string) for the group owner of the program, defaults to root."
  60054. msgstr ""
  60055. #. type: Plain text
  60056. #: guix-git/doc/guix.texi:39081
  60057. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  60058. msgstr ""
  60059. #. type: defvar
  60060. #: guix-git/doc/guix.texi:39082
  60061. #, fuzzy, no-wrap
  60062. #| msgid "Setuid Programs"
  60063. msgid "%setuid-programs"
  60064. msgstr "Programas setuid"
  60065. #. type: defvar
  60066. #: guix-git/doc/guix.texi:39085
  60067. msgid "A list of @code{<setuid-program>} denoting common programs that are setuid-root."
  60068. msgstr ""
  60069. #. type: defvar
  60070. #: guix-git/doc/guix.texi:39088
  60071. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  60072. msgstr ""
  60073. #. type: Plain text
  60074. #: guix-git/doc/guix.texi:39094
  60075. msgid "Under the hood, the actual setuid programs are created in the @file{/run/setuid-programs} directory at system activation time. The files in this directory refer to the ``real'' binaries, which are in the store."
  60076. msgstr ""
  60077. #. type: cindex
  60078. #: guix-git/doc/guix.texi:39098
  60079. #, no-wrap
  60080. msgid "HTTPS, certificates"
  60081. msgstr ""
  60082. #. type: cindex
  60083. #: guix-git/doc/guix.texi:39099
  60084. #, no-wrap
  60085. msgid "X.509 certificates"
  60086. msgstr "Certificados X.509"
  60087. #. type: cindex
  60088. #: guix-git/doc/guix.texi:39100
  60089. #, no-wrap
  60090. msgid "TLS"
  60091. msgstr ""
  60092. #. type: Plain text
  60093. #: guix-git/doc/guix.texi:39107
  60094. msgid "Web servers available over HTTPS (that is, HTTP over the transport-layer security mechanism, TLS) send client programs an @dfn{X.509 certificate} that the client can then use to @emph{authenticate} the server. To do that, clients verify that the server's certificate is signed by a so-called @dfn{certificate authority} (CA). But to verify the CA's signature, clients must have first acquired the CA's certificate."
  60095. msgstr ""
  60096. #. type: Plain text
  60097. #: guix-git/doc/guix.texi:39111
  60098. msgid "Web browsers such as GNU@tie{}IceCat include their own set of CA certificates, such that they are able to verify CA signatures out-of-the-box."
  60099. msgstr ""
  60100. #. type: Plain text
  60101. #: guix-git/doc/guix.texi:39115
  60102. msgid "However, most other programs that can talk HTTPS---@command{wget}, @command{git}, @command{w3m}, etc.---need to be told where CA certificates can be found."
  60103. msgstr ""
  60104. #. type: Plain text
  60105. #: guix-git/doc/guix.texi:39123
  60106. msgid "For users of Guix System, this is done by adding a package that provides certificates to the @code{packages} field of the @code{operating-system} declaration (@pxref{operating-system Reference}). Guix includes one such package, @code{nss-certs}, which is a set of CA certificates provided as part of Mozilla's Network Security Services."
  60107. msgstr ""
  60108. #. type: Plain text
  60109. #: guix-git/doc/guix.texi:39128
  60110. msgid "Note that it is @emph{not} part of @code{%base-packages}, so you need to explicitly add it. The @file{/etc/ssl/certs} directory, which is where most applications and libraries look for certificates by default, points to the certificates installed globally."
  60111. msgstr ""
  60112. #. type: Plain text
  60113. #: guix-git/doc/guix.texi:39138
  60114. msgid "Unprivileged users, including users of Guix on a foreign distro, can also install their own certificate package in their profile. A number of environment variables need to be defined so that applications and libraries know where to find them. Namely, the OpenSSL library honors the @env{SSL_CERT_DIR} and @env{SSL_CERT_FILE} variables. Some applications add their own environment variables; for instance, the Git version control system honors the certificate bundle pointed to by the @env{GIT_SSL_CAINFO} environment variable. Thus, you would typically run something like:"
  60115. msgstr ""
  60116. #. type: example
  60117. #: guix-git/doc/guix.texi:39144
  60118. #, no-wrap
  60119. msgid ""
  60120. "guix install nss-certs\n"
  60121. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  60122. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  60123. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  60124. msgstr ""
  60125. #. type: Plain text
  60126. #: guix-git/doc/guix.texi:39149
  60127. msgid "As another example, R requires the @env{CURL_CA_BUNDLE} environment variable to point to a certificate bundle, so you would have to run something like this:"
  60128. msgstr ""
  60129. #. type: example
  60130. #: guix-git/doc/guix.texi:39153
  60131. #, no-wrap
  60132. msgid ""
  60133. "guix install nss-certs\n"
  60134. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  60135. msgstr ""
  60136. #. type: Plain text
  60137. #: guix-git/doc/guix.texi:39157
  60138. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  60139. msgstr ""
  60140. #. type: cindex
  60141. #: guix-git/doc/guix.texi:39162
  60142. #, no-wrap
  60143. msgid "name service switch"
  60144. msgstr ""
  60145. #. type: cindex
  60146. #: guix-git/doc/guix.texi:39163
  60147. #, no-wrap
  60148. msgid "NSS"
  60149. msgstr ""
  60150. #. type: Plain text
  60151. #: guix-git/doc/guix.texi:39172
  60152. msgid "The @code{(gnu system nss)} module provides bindings to the configuration file of the libc @dfn{name service switch} or @dfn{NSS} (@pxref{NSS Configuration File,,, libc, The GNU C Library Reference Manual}). In a nutshell, the NSS is a mechanism that allows libc to be extended with new ``name'' lookup methods for system databases, which includes host names, service names, user accounts, and more (@pxref{Name Service Switch, System Databases and Name Service Switch,, libc, The GNU C Library Reference Manual})."
  60153. msgstr ""
  60154. #. type: Plain text
  60155. #: guix-git/doc/guix.texi:39179
  60156. msgid "The NSS configuration specifies, for each system database, which lookup method is to be used, and how the various methods are chained together---for instance, under which circumstances NSS should try the next method in the list. The NSS configuration is given in the @code{name-service-switch} field of @code{operating-system} declarations (@pxref{operating-system Reference, @code{name-service-switch}})."
  60157. msgstr ""
  60158. #. type: cindex
  60159. #: guix-git/doc/guix.texi:39180
  60160. #, no-wrap
  60161. msgid "nss-mdns"
  60162. msgstr ""
  60163. #. type: cindex
  60164. #: guix-git/doc/guix.texi:39181
  60165. #, no-wrap
  60166. msgid ".local, host name lookup"
  60167. msgstr ""
  60168. #. type: Plain text
  60169. #: guix-git/doc/guix.texi:39186
  60170. msgid "As an example, the declaration below configures the NSS to use the @uref{https://0pointer.de/lennart/projects/nss-mdns/, @code{nss-mdns} back-end}, which supports host name lookups over multicast DNS (mDNS) for host names ending in @code{.local}:"
  60171. msgstr ""
  60172. #. type: lisp
  60173. #: guix-git/doc/guix.texi:39190
  60174. #, no-wrap
  60175. msgid ""
  60176. "(name-service-switch\n"
  60177. " (hosts (list %files ;first, check /etc/hosts\n"
  60178. "\n"
  60179. msgstr ""
  60180. #. type: lisp
  60181. #: guix-git/doc/guix.texi:39195
  60182. #, no-wrap
  60183. msgid ""
  60184. " ;; If the above did not succeed, try\n"
  60185. " ;; with 'mdns_minimal'.\n"
  60186. " (name-service\n"
  60187. " (name \"mdns_minimal\")\n"
  60188. "\n"
  60189. msgstr ""
  60190. #. type: lisp
  60191. #: guix-git/doc/guix.texi:39201
  60192. #, no-wrap
  60193. msgid ""
  60194. " ;; 'mdns_minimal' is authoritative for\n"
  60195. " ;; '.local'. When it returns \"not found\",\n"
  60196. " ;; no need to try the next methods.\n"
  60197. " (reaction (lookup-specification\n"
  60198. " (not-found => return))))\n"
  60199. "\n"
  60200. msgstr ""
  60201. #. type: lisp
  60202. #: guix-git/doc/guix.texi:39205
  60203. #, no-wrap
  60204. msgid ""
  60205. " ;; Then fall back to DNS.\n"
  60206. " (name-service\n"
  60207. " (name \"dns\"))\n"
  60208. "\n"
  60209. msgstr ""
  60210. #. type: lisp
  60211. #: guix-git/doc/guix.texi:39209
  60212. #, no-wrap
  60213. msgid ""
  60214. " ;; Finally, try with the \"full\" 'mdns'.\n"
  60215. " (name-service\n"
  60216. " (name \"mdns\")))))\n"
  60217. msgstr ""
  60218. #. type: Plain text
  60219. #: guix-git/doc/guix.texi:39214
  60220. msgid "Do not worry: the @code{%mdns-host-lookup-nss} variable (see below) contains this configuration, so you will not have to type it if all you want is to have @code{.local} host lookup working."
  60221. msgstr ""
  60222. #. type: Plain text
  60223. #: guix-git/doc/guix.texi:39222
  60224. msgid "Note that, in this case, in addition to setting the @code{name-service-switch} of the @code{operating-system} declaration, you also need to use @code{avahi-service-type} (@pxref{Networking Services, @code{avahi-service-type}}), or @code{%desktop-services}, which includes it (@pxref{Desktop Services}). Doing this makes @code{nss-mdns} accessible to the name service cache daemon (@pxref{Base Services, @code{nscd-service}})."
  60225. msgstr ""
  60226. #. type: Plain text
  60227. #: guix-git/doc/guix.texi:39225
  60228. msgid "For convenience, the following variables provide typical NSS configurations."
  60229. msgstr ""
  60230. #. type: defvar
  60231. #: guix-git/doc/guix.texi:39226
  60232. #, no-wrap
  60233. msgid "%default-nss"
  60234. msgstr ""
  60235. #. type: defvar
  60236. #: guix-git/doc/guix.texi:39229
  60237. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  60238. msgstr ""
  60239. #. type: defvar
  60240. #: guix-git/doc/guix.texi:39231
  60241. #, no-wrap
  60242. msgid "%mdns-host-lookup-nss"
  60243. msgstr ""
  60244. #. type: defvar
  60245. #: guix-git/doc/guix.texi:39234
  60246. msgid "This is the name service switch configuration with support for host name lookup over multicast DNS (mDNS) for host names ending in @code{.local}."
  60247. msgstr ""
  60248. #. type: Plain text
  60249. #: guix-git/doc/guix.texi:39244
  60250. msgid "The reference for name service switch configuration is given below. It is a direct mapping of the configuration file format of the C library , so please refer to the C library manual for more information (@pxref{NSS Configuration File,,, libc, The GNU C Library Reference Manual}). Compared to the configuration file format of libc NSS, it has the advantage not only of adding this warm parenthetic feel that we like, but also static checks: you will know about syntax errors and typos as soon as you run @command{guix system}."
  60251. msgstr ""
  60252. #. type: deftp
  60253. #: guix-git/doc/guix.texi:39245
  60254. #, no-wrap
  60255. msgid "{Data Type} name-service-switch"
  60256. msgstr ""
  60257. #. type: deftp
  60258. #: guix-git/doc/guix.texi:39250
  60259. msgid "This is the data type representation the configuration of libc's name service switch (NSS). Each field below represents one of the supported system databases."
  60260. msgstr ""
  60261. #. type: item
  60262. #: guix-git/doc/guix.texi:39252
  60263. #, no-wrap
  60264. msgid "aliases"
  60265. msgstr ""
  60266. #. type: itemx
  60267. #: guix-git/doc/guix.texi:39253
  60268. #, no-wrap
  60269. msgid "ethers"
  60270. msgstr ""
  60271. #. type: itemx
  60272. #: guix-git/doc/guix.texi:39255
  60273. #, no-wrap
  60274. msgid "gshadow"
  60275. msgstr ""
  60276. #. type: itemx
  60277. #: guix-git/doc/guix.texi:39256
  60278. #, no-wrap
  60279. msgid "hosts"
  60280. msgstr ""
  60281. #. type: itemx
  60282. #: guix-git/doc/guix.texi:39257
  60283. #, no-wrap
  60284. msgid "initgroups"
  60285. msgstr ""
  60286. #. type: itemx
  60287. #: guix-git/doc/guix.texi:39258
  60288. #, no-wrap
  60289. msgid "netgroup"
  60290. msgstr ""
  60291. #. type: itemx
  60292. #: guix-git/doc/guix.texi:39259
  60293. #, no-wrap
  60294. msgid "networks"
  60295. msgstr ""
  60296. #. type: itemx
  60297. #: guix-git/doc/guix.texi:39262
  60298. #, no-wrap
  60299. msgid "rpc"
  60300. msgstr ""
  60301. #. type: itemx
  60302. #: guix-git/doc/guix.texi:39264
  60303. #, no-wrap
  60304. msgid "shadow"
  60305. msgstr ""
  60306. #. type: table
  60307. #: guix-git/doc/guix.texi:39267
  60308. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  60309. msgstr ""
  60310. #. type: deftp
  60311. #: guix-git/doc/guix.texi:39270
  60312. #, no-wrap
  60313. msgid "{Data Type} name-service"
  60314. msgstr ""
  60315. #. type: deftp
  60316. #: guix-git/doc/guix.texi:39274
  60317. msgid "This is the data type representing an actual name service and the associated lookup action."
  60318. msgstr ""
  60319. #. type: table
  60320. #: guix-git/doc/guix.texi:39279
  60321. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  60322. msgstr ""
  60323. #. type: table
  60324. #: guix-git/doc/guix.texi:39284
  60325. msgid "Note that name services listed here must be visible to nscd. This is achieved by passing the @code{#:name-services} argument to @code{nscd-service} the list of packages providing the needed name services (@pxref{Base Services, @code{nscd-service}})."
  60326. msgstr ""
  60327. #. type: item
  60328. #: guix-git/doc/guix.texi:39285
  60329. #, no-wrap
  60330. msgid "reaction"
  60331. msgstr ""
  60332. #. type: table
  60333. #: guix-git/doc/guix.texi:39289
  60334. msgid "An action specified using the @code{lookup-specification} macro (@pxref{Actions in the NSS configuration,,, libc, The GNU C Library Reference Manual}). For example:"
  60335. msgstr ""
  60336. #. type: lisp
  60337. #: guix-git/doc/guix.texi:39293
  60338. #, no-wrap
  60339. msgid ""
  60340. "(lookup-specification (unavailable => continue)\n"
  60341. " (success => return))\n"
  60342. msgstr ""
  60343. #. type: Plain text
  60344. #: guix-git/doc/guix.texi:39307
  60345. msgid "For bootstrapping purposes, the Linux-Libre kernel is passed an @dfn{initial RAM disk}, or @dfn{initrd}. An initrd contains a temporary root file system as well as an initialization script. The latter is responsible for mounting the real root file system, and for loading any kernel modules that may be needed to achieve that."
  60346. msgstr ""
  60347. #. type: Plain text
  60348. #: guix-git/doc/guix.texi:39316
  60349. msgid "The @code{initrd-modules} field of an @code{operating-system} declaration allows you to specify Linux-libre kernel modules that must be available in the initrd. In particular, this is where you would list modules needed to actually drive the hard disk where your root partition is---although the default value of @code{initrd-modules} should cover most use cases. For example, assuming you need the @code{megaraid_sas} module in addition to the default modules to be able to access your root file system, you would write:"
  60350. msgstr ""
  60351. #. type: lisp
  60352. #: guix-git/doc/guix.texi:39321
  60353. #, no-wrap
  60354. msgid ""
  60355. "(operating-system\n"
  60356. " ;; @dots{}\n"
  60357. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  60358. msgstr ""
  60359. #. type: defvar
  60360. #: guix-git/doc/guix.texi:39323
  60361. #, no-wrap
  60362. msgid "%base-initrd-modules"
  60363. msgstr ""
  60364. #. type: defvar
  60365. #: guix-git/doc/guix.texi:39325
  60366. msgid "This is the list of kernel modules included in the initrd by default."
  60367. msgstr ""
  60368. #. type: Plain text
  60369. #: guix-git/doc/guix.texi:39333
  60370. msgid "Furthermore, if you need lower-level customization, the @code{initrd} field of an @code{operating-system} declaration allows you to specify which initrd you would like to use. The @code{(gnu system linux-initrd)} module provides three ways to build an initrd: the high-level @code{base-initrd} procedure and the low-level @code{raw-initrd} and @code{expression->initrd} procedures."
  60371. msgstr ""
  60372. #. type: Plain text
  60373. #: guix-git/doc/guix.texi:39338
  60374. msgid "The @code{base-initrd} procedure is intended to cover most common uses. For example, if you want to add a bunch of kernel modules to be loaded at boot time, you can define the @code{initrd} field of the operating system declaration like this:"
  60375. msgstr ""
  60376. #. type: lisp
  60377. #: guix-git/doc/guix.texi:39346
  60378. #, no-wrap
  60379. msgid ""
  60380. "(initrd (lambda (file-systems . rest)\n"
  60381. " ;; Create a standard initrd but set up networking\n"
  60382. " ;; with the parameters QEMU expects by default.\n"
  60383. " (apply base-initrd file-systems\n"
  60384. " #:qemu-networking? #t\n"
  60385. " rest)))\n"
  60386. msgstr ""
  60387. #. type: Plain text
  60388. #: guix-git/doc/guix.texi:39351
  60389. msgid "The @code{base-initrd} procedure also handles common use cases that involves using the system as a QEMU guest, or as a ``live'' system with volatile root file system."
  60390. msgstr ""
  60391. #. type: Plain text
  60392. #: guix-git/doc/guix.texi:39358
  60393. msgid "The @code{base-initrd} procedure is built from @code{raw-initrd} procedure. Unlike @code{base-initrd}, @code{raw-initrd} doesn't do anything high-level, such as trying to guess which kernel modules and packages should be included to the initrd. An example use of @code{raw-initrd} is when a user has a custom Linux kernel configuration and default kernel modules included by @code{base-initrd} are not available."
  60394. msgstr ""
  60395. #. type: Plain text
  60396. #: guix-git/doc/guix.texi:39363
  60397. msgid "The initial RAM disk produced by @code{base-initrd} or @code{raw-initrd} honors several options passed on the Linux kernel command line (that is, arguments passed @i{via} the @code{linux} command of GRUB, or the @code{-append} option of QEMU), notably:"
  60398. msgstr ""
  60399. #. type: item
  60400. #: guix-git/doc/guix.texi:39365
  60401. #, fuzzy, no-wrap
  60402. #| msgid "--load=@var{file}"
  60403. msgid "gnu.load=@var{boot}"
  60404. msgstr "--load=@var{arquivo}"
  60405. #. type: table
  60406. #: guix-git/doc/guix.texi:39368
  60407. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  60408. msgstr ""
  60409. #. type: table
  60410. #: guix-git/doc/guix.texi:39372
  60411. msgid "Guix uses this option to yield control to a boot program that runs the service activation programs and then spawns the GNU@tie{}Shepherd, the initialization system."
  60412. msgstr ""
  60413. #. type: item
  60414. #: guix-git/doc/guix.texi:39373
  60415. #, fuzzy, no-wrap
  60416. #| msgid "--root=@var{file}"
  60417. msgid "root=@var{root}"
  60418. msgstr "--root=@var{arquivo}"
  60419. #. type: table
  60420. #: guix-git/doc/guix.texi:39378
  60421. msgid "Mount @var{root} as the root file system. @var{root} can be a device name like @code{/dev/sda1}, a file system label, or a file system UUID. When unspecified, the device name from the root file system of the operating system declaration is used."
  60422. msgstr ""
  60423. #. type: item
  60424. #: guix-git/doc/guix.texi:39379
  60425. #, fuzzy, no-wrap
  60426. #| msgid "-t @var{type}"
  60427. msgid "rootfstype=@var{type}"
  60428. msgstr "-t @var{tipo}"
  60429. #. type: table
  60430. #: guix-git/doc/guix.texi:39383
  60431. msgid "Set the type of the root file system. It overrides the @code{type} field of the root file system specified via the @code{operating-system} declaration, if any."
  60432. msgstr ""
  60433. #. type: item
  60434. #: guix-git/doc/guix.texi:39384
  60435. #, fuzzy, no-wrap
  60436. #| msgid "guix package @var{options}\n"
  60437. msgid "rootflags=@var{options}"
  60438. msgstr "guix package @var{opções}\n"
  60439. #. type: table
  60440. #: guix-git/doc/guix.texi:39388
  60441. msgid "Set the mount @emph{options} of the root file system. It overrides the @code{options} field of the root file system specified via the @code{operating-system} declaration, if any."
  60442. msgstr ""
  60443. #. type: item
  60444. #: guix-git/doc/guix.texi:39389
  60445. #, no-wrap
  60446. msgid "fsck.mode=@var{mode}"
  60447. msgstr ""
  60448. #. type: table
  60449. #: guix-git/doc/guix.texi:39395
  60450. msgid "Whether to check the @var{root} file system for errors before mounting it. @var{mode} is one of @code{skip} (never check), @code{force} (always check), or @code{auto} to respect the root @code{<file-system>} object's @code{check?} setting (@pxref{File Systems}) and run a full scan only if the file system was not cleanly shut down."
  60451. msgstr ""
  60452. #. type: table
  60453. #: guix-git/doc/guix.texi:39398
  60454. msgid "@code{auto} is the default if this option is not present or if @var{mode} is not one of the above."
  60455. msgstr ""
  60456. #. type: item
  60457. #: guix-git/doc/guix.texi:39399
  60458. #, no-wrap
  60459. msgid "fsck.repair=@var{level}"
  60460. msgstr ""
  60461. #. type: table
  60462. #: guix-git/doc/guix.texi:39404
  60463. msgid "The level of repairs to perform automatically if errors are found in the @var{root} file system. @var{level} is one of @code{no} (do not write to @var{root} at all if possible), @code{yes} (repair as much as possible), or @code{preen} to repair problems considered safe to repair automatically."
  60464. msgstr ""
  60465. #. type: table
  60466. #: guix-git/doc/guix.texi:39407
  60467. msgid "@code{preen} is the default if this option is not present or if @var{level} is not one of the above."
  60468. msgstr ""
  60469. #. type: item
  60470. #: guix-git/doc/guix.texi:39408
  60471. #, fuzzy, no-wrap
  60472. #| msgid "-s @var{system}"
  60473. msgid "gnu.system=@var{system}"
  60474. msgstr "-s @var{sistema}"
  60475. #. type: table
  60476. #: guix-git/doc/guix.texi:39411
  60477. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  60478. msgstr ""
  60479. #. type: item
  60480. #: guix-git/doc/guix.texi:39412
  60481. #, no-wrap
  60482. msgid "modprobe.blacklist=@var{modules}@dots{}"
  60483. msgstr ""
  60484. #. type: cindex
  60485. #: guix-git/doc/guix.texi:39413
  60486. #, no-wrap
  60487. msgid "module, black-listing"
  60488. msgstr ""
  60489. #. type: cindex
  60490. #: guix-git/doc/guix.texi:39414
  60491. #, no-wrap
  60492. msgid "black list, of kernel modules"
  60493. msgstr ""
  60494. #. type: table
  60495. #: guix-git/doc/guix.texi:39419
  60496. msgid "Instruct the initial RAM disk as well as the @command{modprobe} command (from the kmod package) to refuse to load @var{modules}. @var{modules} must be a comma-separated list of module names---e.g., @code{usbkbd,9pnet}."
  60497. msgstr ""
  60498. #. type: item
  60499. #: guix-git/doc/guix.texi:39420
  60500. #, no-wrap
  60501. msgid "gnu.repl"
  60502. msgstr ""
  60503. #. type: table
  60504. #: guix-git/doc/guix.texi:39426
  60505. msgid "Start a read-eval-print loop (REPL) from the initial RAM disk before it tries to load kernel modules and to mount the root file system. Our marketing team calls it @dfn{boot-to-Guile}. The Schemer in you will love it. @xref{Using Guile Interactively,,, guile, GNU Guile Reference Manual}, for more information on Guile's REPL."
  60506. msgstr ""
  60507. #. type: Plain text
  60508. #: guix-git/doc/guix.texi:39432
  60509. msgid "Now that you know all the features that initial RAM disks produced by @code{base-initrd} and @code{raw-initrd} provide, here is how to use it and customize it further."
  60510. msgstr ""
  60511. #. type: defun
  60512. #: guix-git/doc/guix.texi:39435
  60513. #, fuzzy, no-wrap
  60514. #| msgid "--list-transitive"
  60515. msgid "raw-initrd file-systems @"
  60516. msgstr "--list-transitive"
  60517. #. type: defun
  60518. #: guix-git/doc/guix.texi:39451
  60519. msgid "[#:linux-modules '()] [#:pre-mount #t] [#:mapped-devices '()] @ [#:keyboard-layout #f] [#:helper-packages '()] @ [#:qemu-networking? #f] [#:volatile-root? #f] Return a derivation that builds a raw initrd. @var{file-systems} is a list of file systems to be mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via @option{root}. @var{linux-modules} is a list of kernel modules to be loaded at boot time. @var{mapped-devices} is a list of device mappings to realize before @var{file-systems} are mounted (@pxref{Mapped Devices}). @var{pre-mount} is a G-expression to evaluate before realizing @var{mapped-devices}. @var{helper-packages} is a list of packages to be copied in the initrd. It may include @code{e2fsck/static} or other packages needed by the initrd to check the root file system."
  60520. msgstr ""
  60521. #. type: defun
  60522. #: guix-git/doc/guix.texi:39457 guix-git/doc/guix.texi:39481
  60523. msgid "When true, @var{keyboard-layout} is a @code{<keyboard-layout>} record denoting the desired console keyboard layout. This is done before @var{mapped-devices} are set up and before @var{file-systems} are mounted such that, should the user need to enter a passphrase or use the REPL, this happens using the intended keyboard layout."
  60524. msgstr ""
  60525. #. type: defun
  60526. #: guix-git/doc/guix.texi:39461
  60527. msgid "When @var{qemu-networking?} is true, set up networking with the standard QEMU parameters. When @var{virtio?} is true, load additional modules so that the initrd can be used as a QEMU guest with para-virtualized I/O drivers."
  60528. msgstr ""
  60529. #. type: defun
  60530. #: guix-git/doc/guix.texi:39464
  60531. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  60532. msgstr ""
  60533. #. type: defun
  60534. #: guix-git/doc/guix.texi:39466
  60535. #, fuzzy, no-wrap
  60536. #| msgid "--list-transitive"
  60537. msgid "base-initrd file-systems @"
  60538. msgstr "--list-transitive"
  60539. #. type: defun
  60540. #: guix-git/doc/guix.texi:39475
  60541. msgid "[#:mapped-devices '()] [#:keyboard-layout #f] @ [#:qemu-networking? #f] [#:volatile-root? #f] @ [#:linux-modules '()] Return as a file-like object a generic initrd, with kernel modules taken from @var{linux}. @var{file-systems} is a list of file-systems to be mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via @option{root}. @var{mapped-devices} is a list of device mappings to realize before @var{file-systems} are mounted."
  60542. msgstr ""
  60543. #. type: defun
  60544. #: guix-git/doc/guix.texi:39483
  60545. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  60546. msgstr ""
  60547. #. type: defun
  60548. #: guix-git/doc/guix.texi:39488
  60549. msgid "The initrd is automatically populated with all the kernel modules necessary for @var{file-systems} and for the given options. Additional kernel modules can be listed in @var{linux-modules}. They will be added to the initrd, and loaded at boot time in the order in which they appear."
  60550. msgstr ""
  60551. #. type: Plain text
  60552. #: guix-git/doc/guix.texi:39495
  60553. msgid "Needless to say, the initrds we produce and use embed a statically-linked Guile, and the initialization program is a Guile program. That gives a lot of flexibility. The @code{expression->initrd} procedure builds such an initrd, given the program to run in that initrd."
  60554. msgstr ""
  60555. #. type: defun
  60556. #: guix-git/doc/guix.texi:39496
  60557. #, no-wrap
  60558. msgid "expression->initrd exp @"
  60559. msgstr ""
  60560. #. type: defun
  60561. #: guix-git/doc/guix.texi:39502
  60562. msgid "[#:guile %guile-static-stripped] [#:name \"guile-initrd\"] Return as a file-like object a Linux initrd (a gzipped cpio archive) containing @var{guile} and that evaluates @var{exp}, a G-expression, upon booting. All the derivations referenced by @var{exp} are automatically copied to the initrd."
  60563. msgstr ""
  60564. #. type: cindex
  60565. #: guix-git/doc/guix.texi:39508
  60566. #, no-wrap
  60567. msgid "boot loader"
  60568. msgstr ""
  60569. #. type: Plain text
  60570. #: guix-git/doc/guix.texi:39515
  60571. msgid "The operating system supports multiple bootloaders. The bootloader is configured using @code{bootloader-configuration} declaration. All the fields of this structure are bootloader agnostic except for one field, @code{bootloader} that indicates the bootloader to be configured and installed."
  60572. msgstr ""
  60573. #. type: Plain text
  60574. #: guix-git/doc/guix.texi:39520
  60575. msgid "Some of the bootloaders do not honor every field of @code{bootloader-configuration}. For instance, the extlinux bootloader does not support themes and thus ignores the @code{theme} field."
  60576. msgstr ""
  60577. #. type: deftp
  60578. #: guix-git/doc/guix.texi:39521
  60579. #, no-wrap
  60580. msgid "{Data Type} bootloader-configuration"
  60581. msgstr ""
  60582. #. type: deftp
  60583. #: guix-git/doc/guix.texi:39523
  60584. msgid "The type of a bootloader configuration declaration."
  60585. msgstr ""
  60586. #. type: cindex
  60587. #: guix-git/doc/guix.texi:39527
  60588. #, no-wrap
  60589. msgid "EFI, bootloader"
  60590. msgstr ""
  60591. #. type: cindex
  60592. #: guix-git/doc/guix.texi:39528
  60593. #, no-wrap
  60594. msgid "UEFI, bootloader"
  60595. msgstr ""
  60596. #. type: cindex
  60597. #: guix-git/doc/guix.texi:39529
  60598. #, no-wrap
  60599. msgid "BIOS, bootloader"
  60600. msgstr ""
  60601. #. type: table
  60602. #: guix-git/doc/guix.texi:39535
  60603. msgid "The bootloader to use, as a @code{bootloader} object. For now @code{grub-bootloader}, @code{grub-efi-bootloader}, @code{grub-efi-removable-bootloader}, @code{grub-efi-netboot-bootloader}, @code{grub-efi-netboot-removable-bootloader}, @code{extlinux-bootloader} and @code{u-boot-bootloader} are supported."
  60604. msgstr ""
  60605. #. type: cindex
  60606. #: guix-git/doc/guix.texi:39536
  60607. #, no-wrap
  60608. msgid "ARM, bootloaders"
  60609. msgstr ""
  60610. #. type: cindex
  60611. #: guix-git/doc/guix.texi:39537
  60612. #, no-wrap
  60613. msgid "AArch64, bootloaders"
  60614. msgstr ""
  60615. #. type: table
  60616. #: guix-git/doc/guix.texi:39542
  60617. msgid "Available bootloaders are described in @code{(gnu bootloader @dots{})} modules. In particular, @code{(gnu bootloader u-boot)} contains definitions of bootloaders for a wide range of ARM and AArch64 systems, using the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot bootloader}."
  60618. msgstr ""
  60619. #. type: table
  60620. #: guix-git/doc/guix.texi:39546
  60621. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  60622. msgstr ""
  60623. #. type: table
  60624. #: guix-git/doc/guix.texi:39552
  60625. msgid "@code{grub-efi-bootloader} allows to boot on modern systems using the @dfn{Unified Extensible Firmware Interface} (UEFI). This is what you should use if the installation image contains a @file{/sys/firmware/efi} directory when you boot it on your system."
  60626. msgstr ""
  60627. #. type: vindex
  60628. #: guix-git/doc/guix.texi:39553
  60629. #, no-wrap
  60630. msgid "grub-efi-removable-bootloader"
  60631. msgstr ""
  60632. #. type: table
  60633. #: guix-git/doc/guix.texi:39560
  60634. msgid "@code{grub-efi-removable-bootloader} allows you to boot your system from removable media by writing the GRUB file to the UEFI-specification location of @file{/EFI/BOOT/BOOTX64.efi} of the boot directory, usually @file{/boot/efi}. This is also useful for some UEFI firmwares that ``forget'' their configuration from their non-volatile storage. Like @code{grub-efi-bootloader}, this can only be used if the @file{/sys/firmware/efi} directory is available."
  60635. msgstr ""
  60636. #. type: quotation
  60637. #: guix-git/doc/guix.texi:39565 guix-git/doc/guix.texi:39639
  60638. msgid "This @emph{will} overwrite the GRUB file from any other operating systems that also place their GRUB file in the UEFI-specification location; making them unbootable."
  60639. msgstr ""
  60640. #. type: vindex
  60641. #: guix-git/doc/guix.texi:39567
  60642. #, no-wrap
  60643. msgid "grub-efi-netboot-bootloader"
  60644. msgstr ""
  60645. #. type: table
  60646. #: guix-git/doc/guix.texi:39571
  60647. msgid "@code{grub-efi-netboot-bootloader} allows you to boot your system over network through TFTP@. In combination with an NFS root file system this allows you to build a diskless Guix system."
  60648. msgstr ""
  60649. #. type: table
  60650. #: guix-git/doc/guix.texi:39578
  60651. msgid "The installation of the @code{grub-efi-netboot-bootloader} generates the content of the TFTP root directory at @code{targets} (@pxref{Bootloader Configuration, @code{targets}}) below the sub-directory @file{efi/Guix}, to be served by a TFTP server. You may want to mount your TFTP server directories onto the @code{targets} to move the required files to the TFTP server automatically during installation."
  60652. msgstr ""
  60653. #. type: table
  60654. #: guix-git/doc/guix.texi:39587
  60655. msgid "If you plan to use an NFS root file system as well (actually if you mount the store from an NFS share), then the TFTP server needs to serve the file @file{/boot/grub/grub.cfg} and other files from the store (like GRUBs background image, the kernel (@pxref{operating-system Reference, @code{kernel}}) and the initrd (@pxref{operating-system Reference, @code{initrd}})), too. All these files from the store will be accessed by GRUB through TFTP with their normal store path, for example as @file{tftp://tftp-server/gnu/store/…-initrd/initrd.cpio.gz}."
  60656. msgstr ""
  60657. #. type: table
  60658. #: guix-git/doc/guix.texi:39596
  60659. msgid "Two symlinks are created to make this possible. For each target in the @code{targets} field, the first symlink is @samp{target}@file{/efi/Guix/boot/grub/grub.cfg} pointing to @file{../../../boot/grub/grub.cfg}, where @samp{target} may be @file{/boot}. In this case the link is not leaving the served TFTP root directory, but otherwise it does. The second link is @samp{target}@file{/gnu/store} and points to @file{../gnu/store}. This link is leaving the served TFTP root directory."
  60660. msgstr ""
  60661. #. type: table
  60662. #: guix-git/doc/guix.texi:39602
  60663. msgid "The assumption behind all this is that you have an NFS server exporting the root file system for your Guix system, and additionally a TFTP server exporting your @code{targets} directories—usually a single @file{/boot}—from that same root file system for your Guix system. In this constellation the symlinks will work."
  60664. msgstr ""
  60665. #. type: table
  60666. #: guix-git/doc/guix.texi:39607
  60667. msgid "For other constellations you will have to program your own bootloader installer, which then takes care to make necessary files from the store accessible through TFTP, for example by copying them into the TFTP root directory for your @code{targets}."
  60668. msgstr ""
  60669. #. type: table
  60670. #: guix-git/doc/guix.texi:39613
  60671. msgid "It is important to note that symlinks pointing outside the TFTP root directory may need to be allowed in the configuration of your TFTP server. Further the store link exposes the whole store through TFTP@. Both points need to be considered carefully for security aspects. It is advised to disable any TFTP write access!"
  60672. msgstr ""
  60673. #. type: table
  60674. #: guix-git/doc/guix.texi:39616
  60675. msgid "Please note, that this bootloader will not modify the ‘UEFI Boot Manager’ of the system."
  60676. msgstr ""
  60677. #. type: table
  60678. #: guix-git/doc/guix.texi:39621
  60679. msgid "Beside the @code{grub-efi-netboot-bootloader}, the already mentioned TFTP and NFS servers, you also need a properly configured DHCP server to make the booting over netboot possible. For all this we can currently only recommend you to look for instructions about @acronym{PXE, Preboot eXecution Environment}."
  60680. msgstr ""
  60681. #. type: table
  60682. #: guix-git/doc/guix.texi:39628
  60683. msgid "If a local EFI System Partition (ESP) or a similar partition with a FAT file system is mounted in @code{targets}, then symlinks cannot be created. In this case everything will be prepared for booting from local storage, matching the behavior of @code{grub-efi-bootloader}, with the difference that all GRUB binaries are copied to @code{targets}, necessary for booting over the network."
  60684. msgstr ""
  60685. #. type: vindex
  60686. #: guix-git/doc/guix.texi:39629
  60687. #, no-wrap
  60688. msgid "grub-efi-netboot-removable-bootloader"
  60689. msgstr ""
  60690. #. type: table
  60691. #: guix-git/doc/guix.texi:39634
  60692. msgid "@code{grub-efi-netboot-removable-bootloader} is identical to @code{grub-efi-netboot-bootloader} with the exception that the sub-directory @file{efi/boot} will be used instead of @file{efi/Guix} to comply with the UEFI specification for removable media."
  60693. msgstr ""
  60694. #. type: table
  60695. #: guix-git/doc/guix.texi:39644
  60696. msgid "This is a list of strings denoting the targets onto which to install the bootloader."
  60697. msgstr ""
  60698. #. type: table
  60699. #: guix-git/doc/guix.texi:39655
  60700. msgid "The interpretation of targets depends on the bootloader in question. For @code{grub-bootloader}, for example, they should be device names understood by the bootloader @command{installer} command, such as @code{/dev/sda} or @code{(hd0)} (@pxref{Invoking grub-install,,, grub, GNU GRUB Manual}). For @code{grub-efi-bootloader} and @code{grub-efi-removable-bootloader} they should be mount points of the EFI file system, usually @file{/boot/efi}. For @code{grub-efi-netboot-bootloader}, @code{targets} should be the mount points corresponding to TFTP root directories served by your TFTP server."
  60701. msgstr ""
  60702. #. type: item
  60703. #: guix-git/doc/guix.texi:39656
  60704. #, fuzzy, no-wrap
  60705. msgid "@code{menu-entries} (default: @code{'()})"
  60706. msgstr "@code{remote?} (padrão: @code{#f})"
  60707. #. type: table
  60708. #: guix-git/doc/guix.texi:39660
  60709. msgid "A possibly empty list of @code{menu-entry} objects (see below), denoting entries to appear in the bootloader menu, in addition to the current system entry and the entry pointing to previous system generations."
  60710. msgstr ""
  60711. #. type: item
  60712. #: guix-git/doc/guix.texi:39661
  60713. #, no-wrap
  60714. msgid "@code{default-entry} (default: @code{0})"
  60715. msgstr ""
  60716. #. type: table
  60717. #: guix-git/doc/guix.texi:39664
  60718. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  60719. msgstr ""
  60720. #. type: item
  60721. #: guix-git/doc/guix.texi:39665
  60722. #, no-wrap
  60723. msgid "@code{timeout} (default: @code{5})"
  60724. msgstr ""
  60725. #. type: table
  60726. #: guix-git/doc/guix.texi:39668
  60727. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  60728. msgstr ""
  60729. #. type: cindex
  60730. #: guix-git/doc/guix.texi:39669
  60731. #, no-wrap
  60732. msgid "keyboard layout, for the bootloader"
  60733. msgstr "disposição do teclado, para o gerenciador de boot"
  60734. #. type: table
  60735. #: guix-git/doc/guix.texi:39673
  60736. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  60737. msgstr ""
  60738. #. type: table
  60739. #: guix-git/doc/guix.texi:39676
  60740. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  60741. msgstr ""
  60742. #. type: quotation
  60743. #: guix-git/doc/guix.texi:39680
  60744. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  60745. msgstr ""
  60746. #. type: item
  60747. #: guix-git/doc/guix.texi:39682
  60748. #, no-wrap
  60749. msgid "@code{theme} (default: @var{#f})"
  60750. msgstr ""
  60751. #. type: table
  60752. #: guix-git/doc/guix.texi:39686
  60753. msgid "The bootloader theme object describing the theme to use. If no theme is provided, some bootloaders might use a default theme, that's true for GRUB."
  60754. msgstr ""
  60755. #. type: item
  60756. #: guix-git/doc/guix.texi:39687
  60757. #, no-wrap
  60758. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  60759. msgstr ""
  60760. #. type: table
  60761. #: guix-git/doc/guix.texi:39694
  60762. msgid "The output terminals used for the bootloader boot menu, as a list of symbols. GRUB accepts the values: @code{console}, @code{serial}, @code{serial_@{0-3@}}, @code{gfxterm}, @code{vga_text}, @code{mda_text}, @code{morse}, and @code{pkmodem}. This field corresponds to the GRUB variable @code{GRUB_TERMINAL_OUTPUT} (@pxref{Simple configuration,,, grub,GNU GRUB manual})."
  60763. msgstr ""
  60764. #. type: item
  60765. #: guix-git/doc/guix.texi:39695
  60766. #, no-wrap
  60767. msgid "@code{terminal-inputs} (default: @code{'()})"
  60768. msgstr ""
  60769. #. type: table
  60770. #: guix-git/doc/guix.texi:39703
  60771. msgid "The input terminals used for the bootloader boot menu, as a list of symbols. For GRUB, the default is the native platform terminal as determined at run-time. GRUB accepts the values: @code{console}, @code{serial}, @code{serial_@{0-3@}}, @code{at_keyboard}, and @code{usb_keyboard}. This field corresponds to the GRUB variable @code{GRUB_TERMINAL_INPUT} (@pxref{Simple configuration,,, grub,GNU GRUB manual})."
  60772. msgstr ""
  60773. #. type: item
  60774. #: guix-git/doc/guix.texi:39704
  60775. #, no-wrap
  60776. msgid "@code{serial-unit} (default: @code{#f})"
  60777. msgstr ""
  60778. #. type: table
  60779. #: guix-git/doc/guix.texi:39708
  60780. msgid "The serial unit used by the bootloader, as an integer from 0 to 3. For GRUB, it is chosen at run-time; currently GRUB chooses 0, which corresponds to COM1 (@pxref{Serial terminal,,, grub,GNU GRUB manual})."
  60781. msgstr ""
  60782. #. type: item
  60783. #: guix-git/doc/guix.texi:39709
  60784. #, no-wrap
  60785. msgid "@code{serial-speed} (default: @code{#f})"
  60786. msgstr ""
  60787. #. type: table
  60788. #: guix-git/doc/guix.texi:39713
  60789. msgid "The speed of the serial interface, as an integer. For GRUB, the default value is chosen at run-time; currently GRUB chooses 9600@tie{}bps (@pxref{Serial terminal,,, grub,GNU GRUB manual})."
  60790. msgstr ""
  60791. #. type: item
  60792. #: guix-git/doc/guix.texi:39714
  60793. #, fuzzy, no-wrap
  60794. #| msgid "@code{device} (default: @code{#f})"
  60795. msgid "@code{device-tree-support?} (default: @code{#t})"
  60796. msgstr "@code{device} (default: @code{#f})"
  60797. #. type: table
  60798. #: guix-git/doc/guix.texi:39717
  60799. msgid "Whether to support Linux @uref{https://en.wikipedia.org/wiki/Devicetree, device tree} files loading."
  60800. msgstr ""
  60801. #. type: table
  60802. #: guix-git/doc/guix.texi:39722
  60803. msgid "This option in enabled by default. In some cases involving the @code{u-boot} bootloader, where the device tree has already been loaded in RAM, it can be handy to disable the option by setting it to @code{#f}."
  60804. msgstr ""
  60805. #. type: cindex
  60806. #: guix-git/doc/guix.texi:39726
  60807. #, no-wrap
  60808. msgid "dual boot"
  60809. msgstr ""
  60810. #. type: cindex
  60811. #: guix-git/doc/guix.texi:39727
  60812. #, no-wrap
  60813. msgid "boot menu"
  60814. msgstr ""
  60815. #. type: Plain text
  60816. #: guix-git/doc/guix.texi:39733
  60817. msgid "Should you want to list additional boot menu entries @i{via} the @code{menu-entries} field above, you will need to create them with the @code{menu-entry} form. For example, imagine you want to be able to boot another distro (hard to imagine!), you can define a menu entry along these lines:"
  60818. msgstr ""
  60819. #. type: lisp
  60820. #: guix-git/doc/guix.texi:39740
  60821. #, no-wrap
  60822. msgid ""
  60823. "(menu-entry\n"
  60824. " (label \"The Other Distro\")\n"
  60825. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  60826. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  60827. " (initrd \"/boot/old/initrd\"))\n"
  60828. msgstr ""
  60829. #. type: Plain text
  60830. #: guix-git/doc/guix.texi:39743
  60831. msgid "Details below."
  60832. msgstr ""
  60833. #. type: deftp
  60834. #: guix-git/doc/guix.texi:39744
  60835. #, no-wrap
  60836. msgid "{Data Type} menu-entry"
  60837. msgstr ""
  60838. #. type: deftp
  60839. #: guix-git/doc/guix.texi:39746
  60840. msgid "The type of an entry in the bootloader menu."
  60841. msgstr ""
  60842. #. type: table
  60843. #: guix-git/doc/guix.texi:39751
  60844. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  60845. msgstr ""
  60846. #. type: item
  60847. #: guix-git/doc/guix.texi:39752
  60848. #, no-wrap
  60849. msgid "@code{linux} (default: @code{#f})"
  60850. msgstr ""
  60851. #. type: table
  60852. #: guix-git/doc/guix.texi:39754
  60853. msgid "The Linux kernel image to boot, for example:"
  60854. msgstr ""
  60855. #. type: lisp
  60856. #: guix-git/doc/guix.texi:39757
  60857. #, no-wrap
  60858. msgid "(file-append linux-libre \"/bzImage\")\n"
  60859. msgstr ""
  60860. #. type: table
  60861. #: guix-git/doc/guix.texi:39762
  60862. msgid "For GRUB, it is also possible to specify a device explicitly in the file path using GRUB's device naming convention (@pxref{Naming convention,,, grub, GNU GRUB manual}), for example:"
  60863. msgstr ""
  60864. #. type: example
  60865. #: guix-git/doc/guix.texi:39765
  60866. #, no-wrap
  60867. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  60868. msgstr ""
  60869. #. type: table
  60870. #: guix-git/doc/guix.texi:39769
  60871. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  60872. msgstr ""
  60873. #. type: item
  60874. #: guix-git/doc/guix.texi:39770
  60875. #, fuzzy, no-wrap
  60876. #| msgid "@code{features} (default: @code{'()})"
  60877. msgid "@code{linux-arguments} (default: @code{'()})"
  60878. msgstr "@code{features} (padrão: @code{'()})"
  60879. #. type: table
  60880. #: guix-git/doc/guix.texi:39773
  60881. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{'(\"console=ttyS0\")}."
  60882. msgstr ""
  60883. #. type: item
  60884. #: guix-git/doc/guix.texi:39774
  60885. #, no-wrap
  60886. msgid "@code{initrd} (default: @code{#f})"
  60887. msgstr ""
  60888. #. type: table
  60889. #: guix-git/doc/guix.texi:39777
  60890. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  60891. msgstr ""
  60892. #. type: table
  60893. #: guix-git/doc/guix.texi:39781
  60894. msgid "The device where the kernel and initrd are to be found---i.e., for GRUB, @dfn{root} for this menu entry (@pxref{root,,, grub, GNU GRUB manual})."
  60895. msgstr ""
  60896. #. type: table
  60897. #: guix-git/doc/guix.texi:39787
  60898. msgid "This may be a file system label (a string), a file system UUID (a bytevector, @pxref{File Systems}), or @code{#f}, in which case the bootloader will search the device containing the file specified by the @code{linux} field (@pxref{search,,, grub, GNU GRUB manual}). It must @emph{not} be an OS device name such as @file{/dev/sda1}."
  60899. msgstr ""
  60900. #. type: item
  60901. #: guix-git/doc/guix.texi:39788
  60902. #, no-wrap
  60903. msgid "@code{multiboot-kernel} (default: @code{#f})"
  60904. msgstr ""
  60905. #. type: table
  60906. #: guix-git/doc/guix.texi:39792
  60907. msgid "The kernel to boot in Multiboot-mode (@pxref{multiboot,,, grub, GNU GRUB manual}). When this field is set, a Multiboot menu-entry is generated. For example:"
  60908. msgstr ""
  60909. #. type: lisp
  60910. #: guix-git/doc/guix.texi:39795
  60911. #, no-wrap
  60912. msgid "(file-append mach \"/boot/gnumach\")\n"
  60913. msgstr ""
  60914. #. type: item
  60915. #: guix-git/doc/guix.texi:39797
  60916. #, fuzzy, no-wrap
  60917. #| msgid "@code{features} (default: @code{'()})"
  60918. msgid "@code{multiboot-arguments} (default: @code{'()})"
  60919. msgstr "@code{features} (padrão: @code{'()})"
  60920. #. type: table
  60921. #: guix-git/doc/guix.texi:39799
  60922. msgid "The list of extra command-line arguments for the multiboot-kernel."
  60923. msgstr ""
  60924. #. type: item
  60925. #: guix-git/doc/guix.texi:39800
  60926. #, fuzzy, no-wrap
  60927. #| msgid "@code{features} (default: @code{'()})"
  60928. msgid "@code{multiboot-modules} (default: @code{'()})"
  60929. msgstr "@code{features} (padrão: @code{'()})"
  60930. #. type: table
  60931. #: guix-git/doc/guix.texi:39802
  60932. msgid "The list of commands for loading Multiboot modules. For example:"
  60933. msgstr ""
  60934. #. type: lisp
  60935. #: guix-git/doc/guix.texi:39808
  60936. #, no-wrap
  60937. msgid ""
  60938. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  60939. " @dots{})\n"
  60940. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  60941. " @dots{}))\n"
  60942. msgstr ""
  60943. #. type: item
  60944. #: guix-git/doc/guix.texi:39810
  60945. #, fuzzy, no-wrap
  60946. #| msgid "@code{node} (default: @code{#f})"
  60947. msgid "@code{chain-loader} (default: @code{#f})"
  60948. msgstr "@code{node} (default: @code{#f})"
  60949. #. type: table
  60950. #: guix-git/doc/guix.texi:39815
  60951. msgid "A string that can be accepted by @code{grub}'s @code{chainloader} directive. This has no effect if either @code{linux} or @code{multiboot-kernel} fields are specified. The following is an example of chainloading a different GNU/Linux system."
  60952. msgstr ""
  60953. #. type: lisp
  60954. #: guix-git/doc/guix.texi:39826
  60955. #, no-wrap
  60956. msgid ""
  60957. "(bootloader\n"
  60958. " (bootloader-configuration\n"
  60959. " ;; @dots{}\n"
  60960. " (menu-entries\n"
  60961. " (list\n"
  60962. " (menu-entry\n"
  60963. " (label \"GNU/Linux\")\n"
  60964. " (device (uuid \"1C31-A17C\" 'fat))\n"
  60965. " (chain-loader \"/EFI/GNULinux/grubx64.efi\"))))))\n"
  60966. msgstr ""
  60967. #. type: cindex
  60968. #: guix-git/doc/guix.texi:39831 guix-git/doc/guix.texi:39891
  60969. #, no-wrap
  60970. msgid "HDPI"
  60971. msgstr ""
  60972. #. type: cindex
  60973. #: guix-git/doc/guix.texi:39832 guix-git/doc/guix.texi:39892
  60974. #, no-wrap
  60975. msgid "HiDPI"
  60976. msgstr ""
  60977. #. type: cindex
  60978. #: guix-git/doc/guix.texi:39833 guix-git/doc/guix.texi:39893
  60979. #, no-wrap
  60980. msgid "resolution"
  60981. msgstr ""
  60982. #. type: Plain text
  60983. #: guix-git/doc/guix.texi:39837
  60984. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  60985. msgstr ""
  60986. #. type: deftp
  60987. #: guix-git/doc/guix.texi:39838
  60988. #, no-wrap
  60989. msgid "{Data Type} grub-theme"
  60990. msgstr ""
  60991. #. type: deftp
  60992. #: guix-git/doc/guix.texi:39840
  60993. msgid "Data type representing the configuration of the GRUB theme."
  60994. msgstr ""
  60995. #. type: item
  60996. #: guix-git/doc/guix.texi:39842
  60997. #, no-wrap
  60998. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  60999. msgstr ""
  61000. #. type: table
  61001. #: guix-git/doc/guix.texi:39845
  61002. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  61003. msgstr ""
  61004. #. type: defun
  61005. #: guix-git/doc/guix.texi:39848
  61006. #, no-wrap
  61007. msgid "grub-theme"
  61008. msgstr ""
  61009. #. type: defun
  61010. #: guix-git/doc/guix.texi:39852
  61011. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  61012. msgstr ""
  61013. #. type: defun
  61014. #: guix-git/doc/guix.texi:39855
  61015. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  61016. msgstr ""
  61017. #. type: Plain text
  61018. #: guix-git/doc/guix.texi:39859
  61019. msgid "For example, to override the default resolution, you may use something like"
  61020. msgstr ""
  61021. #. type: lisp
  61022. #: guix-git/doc/guix.texi:39867
  61023. #, no-wrap
  61024. msgid ""
  61025. "(bootloader\n"
  61026. " (bootloader-configuration\n"
  61027. " ;; @dots{}\n"
  61028. " (theme (grub-theme\n"
  61029. " (inherit (grub-theme))\n"
  61030. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  61031. msgstr ""
  61032. #. type: section
  61033. #: guix-git/doc/guix.texi:39870
  61034. #, fuzzy, no-wrap
  61035. #| msgid "Invoking @command{guix size}"
  61036. msgid "Invoking @command{guix system}"
  61037. msgstr "Invocando @command{guix size}"
  61038. #. type: command{#1}
  61039. #: guix-git/doc/guix.texi:39872
  61040. #, fuzzy, no-wrap
  61041. #| msgid "guix system vm"
  61042. msgid "guix system"
  61043. msgstr "guix system vm"
  61044. #. type: Plain text
  61045. #: guix-git/doc/guix.texi:39876
  61046. msgid "Once you have written an operating system declaration as seen in the previous section, it can be @dfn{instantiated} using the @command{guix system} command. The synopsis is:"
  61047. msgstr ""
  61048. #. type: example
  61049. #: guix-git/doc/guix.texi:39879
  61050. #, no-wrap
  61051. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  61052. msgstr ""
  61053. #. type: Plain text
  61054. #: guix-git/doc/guix.texi:39885
  61055. msgid "@var{file} must be the name of a file containing an @code{operating-system} declaration. @var{action} specifies how the operating system is instantiated. Currently the following values are supported:"
  61056. msgstr ""
  61057. #. type: item
  61058. #: guix-git/doc/guix.texi:39887 guix-git/doc/guix.texi:43755
  61059. #, no-wrap
  61060. msgid "search"
  61061. msgstr "pesquisa"
  61062. #. type: table
  61063. #: guix-git/doc/guix.texi:39890
  61064. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  61065. msgstr ""
  61066. #. type: example
  61067. #: guix-git/doc/guix.texi:39912
  61068. #, no-wrap
  61069. msgid ""
  61070. "$ guix system search console\n"
  61071. "name: console-fonts\n"
  61072. "location: gnu/services/base.scm:806:2\n"
  61073. "extends: shepherd-root\n"
  61074. "description: Install the given fonts on the specified ttys (fonts are per\n"
  61075. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  61076. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  61077. "+ package or any valid argument to `setfont', as in this example:\n"
  61078. "+\n"
  61079. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  61080. "+ (\"tty2\" . (file-append\n"
  61081. "+ font-tamzen\n"
  61082. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  61083. "+ (\"tty3\" . (file-append\n"
  61084. "+ font-terminus\n"
  61085. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  61086. "relevance: 9\n"
  61087. "\n"
  61088. msgstr ""
  61089. #. type: example
  61090. #: guix-git/doc/guix.texi:39918
  61091. #, no-wrap
  61092. msgid ""
  61093. "name: mingetty\n"
  61094. "location: gnu/services/base.scm:1190:2\n"
  61095. "extends: shepherd-root\n"
  61096. "description: Provide console login using the `mingetty' program.\n"
  61097. "relevance: 2\n"
  61098. "\n"
  61099. msgstr ""
  61100. #. type: example
  61101. #: guix-git/doc/guix.texi:39925
  61102. #, no-wrap
  61103. msgid ""
  61104. "name: login\n"
  61105. "location: gnu/services/base.scm:860:2\n"
  61106. "extends: pam\n"
  61107. "description: Provide a console log-in service as specified by its\n"
  61108. "+ configuration value, a `login-configuration' object.\n"
  61109. "relevance: 2\n"
  61110. "\n"
  61111. msgstr ""
  61112. #. type: example
  61113. #: guix-git/doc/guix.texi:39927 guix-git/doc/guix.texi:43791
  61114. #, no-wrap
  61115. msgid "@dots{}\n"
  61116. msgstr ""
  61117. #. type: table
  61118. #: guix-git/doc/guix.texi:39932
  61119. msgid "As for @command{guix package --search}, the result is written in @code{recutils} format, which makes it easy to filter the output (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})."
  61120. msgstr ""
  61121. #. type: cindex
  61122. #: guix-git/doc/guix.texi:39933 guix-git/doc/guix.texi:43840
  61123. #, no-wrap
  61124. msgid "service type definition, editing"
  61125. msgstr ""
  61126. #. type: cindex
  61127. #: guix-git/doc/guix.texi:39934 guix-git/doc/guix.texi:43841
  61128. #, fuzzy, no-wrap
  61129. #| msgid "Adding new service definitions."
  61130. msgid "editing, service type definition"
  61131. msgstr "Adicionando novas definições de serviço."
  61132. #. type: item
  61133. #: guix-git/doc/guix.texi:39935 guix-git/doc/guix.texi:43842
  61134. #, no-wrap
  61135. msgid "edit"
  61136. msgstr ""
  61137. #. type: table
  61138. #: guix-git/doc/guix.texi:39937
  61139. msgid "Edit or view the definition of the given service types."
  61140. msgstr ""
  61141. #. type: table
  61142. #: guix-git/doc/guix.texi:39941
  61143. msgid "For example, the command below opens your editor, as specified by the @env{EDITOR} environment variable, on the definition of the @code{openssh} service type:"
  61144. msgstr ""
  61145. #. type: example
  61146. #: guix-git/doc/guix.texi:39944
  61147. #, fuzzy, no-wrap
  61148. #| msgid "guix system vm"
  61149. msgid "guix system edit openssh\n"
  61150. msgstr "guix system vm"
  61151. #. type: item
  61152. #: guix-git/doc/guix.texi:39946 guix-git/doc/guix.texi:43853
  61153. #, no-wrap
  61154. msgid "reconfigure"
  61155. msgstr ""
  61156. #. type: table
  61157. #: guix-git/doc/guix.texi:39951
  61158. msgid "Build the operating system described in @var{file}, activate it, and switch to it@footnote{This action (and the related actions @code{switch-generation} and @code{roll-back}) are usable only on systems already running Guix System.}."
  61159. msgstr ""
  61160. #. type: quotation
  61161. #: guix-git/doc/guix.texi:39959
  61162. msgid "It is highly recommended to run @command{guix pull} once before you run @command{guix system reconfigure} for the first time (@pxref{Invoking guix pull}). Failing to do that you would see an older version of Guix once @command{reconfigure} has completed."
  61163. msgstr ""
  61164. #. type: table
  61165. #: guix-git/doc/guix.texi:39967
  61166. msgid "This effects all the configuration specified in @var{file}: user accounts, system services, global package list, setuid programs, etc. The command starts system services specified in @var{file} that are not currently running; if a service is currently running this command will arrange for it to be upgraded the next time it is stopped (e.g.@: by @code{herd stop X} or @code{herd restart X})."
  61167. msgstr ""
  61168. #. type: table
  61169. #: guix-git/doc/guix.texi:39973
  61170. msgid "This command creates a new generation whose number is one greater than the current generation (as reported by @command{guix system list-generations}). If that generation already exists, it will be overwritten. This behavior mirrors that of @command{guix package} (@pxref{Invoking guix package})."
  61171. msgstr ""
  61172. #. type: table
  61173. #: guix-git/doc/guix.texi:39978
  61174. msgid "It also adds a bootloader menu entry for the new OS configuration, ---unless @option{--no-bootloader} is passed. For GRUB, it moves entries for older configurations to a submenu, allowing you to choose an older system generation at boot time should you need it."
  61175. msgstr ""
  61176. #. type: cindex
  61177. #: guix-git/doc/guix.texi:39979 guix-git/doc/guix.texi:40324
  61178. #: guix-git/doc/guix.texi:41347
  61179. #, no-wrap
  61180. msgid "provenance tracking, of the operating system"
  61181. msgstr ""
  61182. #. type: table
  61183. #: guix-git/doc/guix.texi:39984
  61184. msgid "Upon completion, the new system is deployed under @file{/run/current-system}. This directory contains @dfn{provenance meta-data}: the list of channels in use (@pxref{Channels}) and @var{file} itself, when available. You can view it by running:"
  61185. msgstr ""
  61186. #. type: example
  61187. #: guix-git/doc/guix.texi:39987
  61188. #, no-wrap
  61189. msgid "guix system describe\n"
  61190. msgstr ""
  61191. #. type: table
  61192. #: guix-git/doc/guix.texi:39993
  61193. msgid "This information is useful should you later want to inspect how this particular generation was built. In fact, assuming @var{file} is self-contained, you can later rebuild generation @var{n} of your operating system with:"
  61194. msgstr ""
  61195. #. type: example
  61196. #: guix-git/doc/guix.texi:39999
  61197. #, no-wrap
  61198. msgid ""
  61199. "guix time-machine \\\n"
  61200. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  61201. " system reconfigure \\\n"
  61202. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  61203. msgstr ""
  61204. #. type: table
  61205. #: guix-git/doc/guix.texi:40005
  61206. msgid "You can think of it as some sort of built-in version control! Your system is not just a binary artifact: @emph{it carries its own source}. @xref{Service Reference, @code{provenance-service-type}}, for more information on provenance tracking."
  61207. msgstr ""
  61208. #. type: table
  61209. #: guix-git/doc/guix.texi:40011
  61210. msgid "By default, @command{reconfigure} @emph{prevents you from downgrading your system}, which could (re)introduce security vulnerabilities and also cause problems with ``stateful'' services such as database management systems. You can override that behavior by passing @option{--allow-downgrades}."
  61211. msgstr ""
  61212. #. type: item
  61213. #: guix-git/doc/guix.texi:40012 guix-git/doc/guix.texi:43912
  61214. #, no-wrap
  61215. msgid "switch-generation"
  61216. msgstr ""
  61217. #. type: table
  61218. #: guix-git/doc/guix.texi:40021
  61219. msgid "Switch to an existing system generation. This action atomically switches the system profile to the specified system generation. It also rearranges the system's existing bootloader menu entries. It makes the menu entry for the specified system generation the default, and it moves the entries for the other generations to a submenu, if supported by the bootloader being used. The next time the system boots, it will use the specified system generation."
  61220. msgstr ""
  61221. #. type: table
  61222. #: guix-git/doc/guix.texi:40025
  61223. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  61224. msgstr ""
  61225. #. type: table
  61226. #: guix-git/doc/guix.texi:40029
  61227. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  61228. msgstr ""
  61229. #. type: example
  61230. #: guix-git/doc/guix.texi:40032
  61231. #, no-wrap
  61232. msgid "guix system switch-generation 7\n"
  61233. msgstr ""
  61234. #. type: table
  61235. #: guix-git/doc/guix.texi:40040 guix-git/doc/guix.texi:43931
  61236. msgid "The target generation can also be specified relative to the current generation with the form @code{+N} or @code{-N}, where @code{+3} means ``3 generations ahead of the current generation,'' and @code{-1} means ``1 generation prior to the current generation.'' When specifying a negative value such as @code{-1}, you must precede it with @code{--} to prevent it from being parsed as an option. For example:"
  61237. msgstr ""
  61238. #. type: example
  61239. #: guix-git/doc/guix.texi:40043
  61240. #, no-wrap
  61241. msgid "guix system switch-generation -- -1\n"
  61242. msgstr ""
  61243. #. type: table
  61244. #: guix-git/doc/guix.texi:40051
  61245. msgid "Currently, the effect of invoking this action is @emph{only} to switch the system profile to an existing generation and rearrange the bootloader menu entries. To actually start using the target system generation, you must reboot after running this action. In the future, it will be updated to do the same things as @command{reconfigure}, like activating and deactivating services."
  61246. msgstr ""
  61247. #. type: table
  61248. #: guix-git/doc/guix.texi:40053 guix-git/doc/guix.texi:43937
  61249. msgid "This action will fail if the specified generation does not exist."
  61250. msgstr ""
  61251. #. type: item
  61252. #: guix-git/doc/guix.texi:40054 guix-git/doc/guix.texi:43938
  61253. #, no-wrap
  61254. msgid "roll-back"
  61255. msgstr ""
  61256. #. type: table
  61257. #: guix-git/doc/guix.texi:40060
  61258. msgid "Switch to the preceding system generation. The next time the system boots, it will use the preceding system generation. This is the inverse of @command{reconfigure}, and it is exactly the same as invoking @command{switch-generation} with an argument of @code{-1}."
  61259. msgstr ""
  61260. #. type: table
  61261. #: guix-git/doc/guix.texi:40064
  61262. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  61263. msgstr ""
  61264. #. type: item
  61265. #: guix-git/doc/guix.texi:40065 guix-git/doc/guix.texi:43944
  61266. #, no-wrap
  61267. msgid "delete-generations"
  61268. msgstr ""
  61269. #. type: cindex
  61270. #: guix-git/doc/guix.texi:40066
  61271. #, no-wrap
  61272. msgid "deleting system generations"
  61273. msgstr ""
  61274. #. type: cindex
  61275. #: guix-git/doc/guix.texi:40067 guix-git/doc/guix.texi:43946
  61276. #, no-wrap
  61277. msgid "saving space"
  61278. msgstr ""
  61279. #. type: table
  61280. #: guix-git/doc/guix.texi:40071
  61281. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  61282. msgstr ""
  61283. #. type: table
  61284. #: guix-git/doc/guix.texi:40075
  61285. msgid "This works in the same way as @samp{guix package --delete-generations} (@pxref{Invoking guix package, @option{--delete-generations}}). With no arguments, all system generations but the current one are deleted:"
  61286. msgstr ""
  61287. #. type: example
  61288. #: guix-git/doc/guix.texi:40078
  61289. #, no-wrap
  61290. msgid "guix system delete-generations\n"
  61291. msgstr ""
  61292. #. type: table
  61293. #: guix-git/doc/guix.texi:40082
  61294. msgid "You can also select the generations you want to delete. The example below deletes all the system generations that are more than two months old:"
  61295. msgstr ""
  61296. #. type: example
  61297. #: guix-git/doc/guix.texi:40085
  61298. #, no-wrap
  61299. msgid "guix system delete-generations 2m\n"
  61300. msgstr ""
  61301. #. type: table
  61302. #: guix-git/doc/guix.texi:40090
  61303. msgid "Running this command automatically reinstalls the bootloader with an updated list of menu entries---e.g., the ``old generations'' sub-menu in GRUB no longer lists the generations that have been deleted."
  61304. msgstr ""
  61305. #. type: table
  61306. #: guix-git/doc/guix.texi:40095
  61307. msgid "Build the derivation of the operating system, which includes all the configuration files and programs needed to boot and run the system. This action does not actually install anything."
  61308. msgstr ""
  61309. #. type: item
  61310. #: guix-git/doc/guix.texi:40096
  61311. #, no-wrap
  61312. msgid "init"
  61313. msgstr ""
  61314. #. type: table
  61315. #: guix-git/doc/guix.texi:40100
  61316. msgid "Populate the given directory with all the files necessary to run the operating system specified in @var{file}. This is useful for first-time installations of Guix System. For instance:"
  61317. msgstr ""
  61318. #. type: example
  61319. #: guix-git/doc/guix.texi:40103
  61320. #, no-wrap
  61321. msgid "guix system init my-os-config.scm /mnt\n"
  61322. msgstr ""
  61323. #. type: table
  61324. #: guix-git/doc/guix.texi:40110
  61325. msgid "copies to @file{/mnt} all the store items required by the configuration specified in @file{my-os-config.scm}. This includes configuration files, packages, and so on. It also creates other essential files needed for the system to operate correctly---e.g., the @file{/etc}, @file{/var}, and @file{/run} directories, and the @file{/bin/sh} file."
  61326. msgstr ""
  61327. #. type: table
  61328. #: guix-git/doc/guix.texi:40114
  61329. msgid "This command also installs bootloader on the targets specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  61330. msgstr ""
  61331. #. type: item
  61332. #: guix-git/doc/guix.texi:40115
  61333. #, no-wrap
  61334. msgid "vm"
  61335. msgstr ""
  61336. #. type: cindex
  61337. #: guix-git/doc/guix.texi:40116 guix-git/doc/guix.texi:40760
  61338. #, no-wrap
  61339. msgid "virtual machine"
  61340. msgstr ""
  61341. #. type: cindex
  61342. #: guix-git/doc/guix.texi:40117
  61343. #, no-wrap
  61344. msgid "VM"
  61345. msgstr ""
  61346. #. type: anchor{#1}
  61347. #: guix-git/doc/guix.texi:40121
  61348. msgid "guix system vm"
  61349. msgstr "guix system vm"
  61350. #. type: table
  61351. #: guix-git/doc/guix.texi:40121
  61352. msgid "Build a virtual machine (VM) that contains the operating system declared in @var{file}, and return a script to run that VM."
  61353. msgstr ""
  61354. #. type: quotation
  61355. #: guix-git/doc/guix.texi:40129
  61356. msgid "The @code{vm} action and others below can use KVM support in the Linux-libre kernel. Specifically, if the machine has hardware virtualization support, the corresponding KVM kernel module should be loaded, and the @file{/dev/kvm} device node must exist and be readable and writable by the user and by the build users of the daemon (@pxref{Build Environment Setup})."
  61357. msgstr ""
  61358. #. type: table
  61359. #: guix-git/doc/guix.texi:40134
  61360. msgid "Arguments given to the script are passed to QEMU as in the example below, which enables networking and requests 1@tie{}GiB of RAM for the emulated machine:"
  61361. msgstr ""
  61362. #. type: example
  61363. #: guix-git/doc/guix.texi:40137
  61364. #, no-wrap
  61365. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  61366. msgstr ""
  61367. #. type: table
  61368. #: guix-git/doc/guix.texi:40140
  61369. msgid "It's possible to combine the two steps into one:"
  61370. msgstr ""
  61371. #. type: example
  61372. #: guix-git/doc/guix.texi:40143
  61373. #, no-wrap
  61374. msgid "$ $(guix system vm my-config.scm) -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  61375. msgstr ""
  61376. #. type: table
  61377. #: guix-git/doc/guix.texi:40146
  61378. msgid "The VM shares its store with the host system."
  61379. msgstr ""
  61380. #. type: table
  61381. #: guix-git/doc/guix.texi:40151
  61382. msgid "By default, the root file system of the VM is mounted volatile; the @option{--persistent} option can be provided to make it persistent instead. In that case, the VM disk-image file will be copied from the store to the @env{TMPDIR} directory to make it writable."
  61383. msgstr ""
  61384. #. type: table
  61385. #: guix-git/doc/guix.texi:40156
  61386. msgid "Additional file systems can be shared between the host and the VM using the @option{--share} and @option{--expose} command-line options: the former specifies a directory to be shared with write access, while the latter provides read-only access to the shared directory."
  61387. msgstr ""
  61388. #. type: table
  61389. #: guix-git/doc/guix.texi:40160
  61390. msgid "The example below creates a VM in which the user's home directory is accessible read-only, and where the @file{/exchange} directory is a read-write mapping of @file{$HOME/tmp} on the host:"
  61391. msgstr ""
  61392. #. type: example
  61393. #: guix-git/doc/guix.texi:40164
  61394. #, no-wrap
  61395. msgid ""
  61396. "guix system vm my-config.scm \\\n"
  61397. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  61398. msgstr ""
  61399. #. type: table
  61400. #: guix-git/doc/guix.texi:40169
  61401. msgid "On GNU/Linux, the default is to boot directly to the kernel; this has the advantage of requiring only a very tiny root disk image since the store of the host can then be mounted."
  61402. msgstr ""
  61403. #. type: table
  61404. #: guix-git/doc/guix.texi:40174
  61405. msgid "The @option{--full-boot} option forces a complete boot sequence, starting with the bootloader. This requires more disk space since a root image containing at least the kernel, initrd, and bootloader data files must be created."
  61406. msgstr ""
  61407. #. type: table
  61408. #: guix-git/doc/guix.texi:40177
  61409. msgid "The @option{--image-size} option can be used to specify the size of the image."
  61410. msgstr ""
  61411. #. type: table
  61412. #: guix-git/doc/guix.texi:40184
  61413. msgid "The @option{--no-graphic} option will instruct @command{guix system} to spawn a headless VM that will use the invoking tty for IO. Among other things, this enables copy-pasting, and scrollback. Use the @kbd{ctrl-a} prefix to issue QEMU commands; e.g. @kbd{ctrl-a h} prints a help, @kbd{ctrl-a x} quits the VM, and @kbd{ctrl-a c} switches between the QEMU monitor and the VM."
  61414. msgstr ""
  61415. #. type: cindex
  61416. #: guix-git/doc/guix.texi:40185
  61417. #, no-wrap
  61418. msgid "System images, creation in various formats"
  61419. msgstr ""
  61420. #. type: cindex
  61421. #: guix-git/doc/guix.texi:40186
  61422. #, no-wrap
  61423. msgid "Creating system images in various formats"
  61424. msgstr ""
  61425. #. type: item
  61426. #: guix-git/doc/guix.texi:40187
  61427. #, no-wrap
  61428. msgid "image"
  61429. msgstr "imagem"
  61430. #. type: cindex
  61431. #: guix-git/doc/guix.texi:40188
  61432. #, no-wrap
  61433. msgid "image, creating disk images"
  61434. msgstr ""
  61435. #. type: table
  61436. #: guix-git/doc/guix.texi:40200
  61437. msgid "The @code{image} command can produce various image types. The image type can be selected using the @option{--image-type} option. It defaults to @code{efi-raw}. When its value is @code{iso9660}, the @option{--label} option can be used to specify a volume ID with @code{image}. By default, the root file system of a disk image is mounted non-volatile; the @option{--volatile} option can be provided to make it volatile instead. When using @code{image}, the bootloader installed on the generated image is taken from the provided @code{operating-system} definition. The following example demonstrates how to generate an image that uses the @code{grub-efi-bootloader} bootloader and boot it with QEMU:"
  61438. msgstr ""
  61439. #. type: example
  61440. #: guix-git/doc/guix.texi:40208
  61441. #, no-wrap
  61442. msgid ""
  61443. "image=$(guix system image --image-type=qcow2 \\\n"
  61444. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  61445. "cp $image /tmp/my-image.qcow2\n"
  61446. "chmod +w /tmp/my-image.qcow2\n"
  61447. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  61448. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  61449. msgstr ""
  61450. #. type: table
  61451. #: guix-git/doc/guix.texi:40214
  61452. msgid "When using the @code{efi-raw} image type, a raw disk image is produced; it can be copied as is to a USB stick, for instance. Assuming @code{/dev/sdc} is the device corresponding to a USB stick, one can copy the image to it using the following command:"
  61453. msgstr ""
  61454. #. type: example
  61455. #: guix-git/doc/guix.texi:40217
  61456. #, no-wrap
  61457. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  61458. msgstr ""
  61459. #. type: table
  61460. #: guix-git/doc/guix.texi:40221
  61461. msgid "The @code{--list-image-types} command lists all the available image types."
  61462. msgstr ""
  61463. #. type: cindex
  61464. #: guix-git/doc/guix.texi:40222
  61465. #, no-wrap
  61466. msgid "creating virtual machine images"
  61467. msgstr ""
  61468. #. type: table
  61469. #: guix-git/doc/guix.texi:40231
  61470. msgid "When using the @code{qcow2} image type, the returned image is in qcow2 format, which the QEMU emulator can efficiently use. @xref{Running Guix in a VM}, for more information on how to run the image in a virtual machine. The @code{grub-bootloader} bootloader is always used independently of what is declared in the @code{operating-system} file passed as argument. This is to make it easier to work with QEMU, which uses the SeaBIOS BIOS by default, expecting a bootloader to be installed in the Master Boot Record (MBR)."
  61471. msgstr ""
  61472. #. type: cindex
  61473. #: guix-git/doc/guix.texi:40232
  61474. #, no-wrap
  61475. msgid "docker-image, creating docker images"
  61476. msgstr ""
  61477. #. type: table
  61478. #: guix-git/doc/guix.texi:40238
  61479. msgid "When using the @code{docker} image type, a Docker image is produced. Guix builds the image from scratch, not from a pre-existing Docker base image. As a result, it contains @emph{exactly} what you define in the operating system configuration file. You can then load the image and launch a Docker container using commands like the following:"
  61480. msgstr ""
  61481. #. type: example
  61482. #: guix-git/doc/guix.texi:40243
  61483. #, no-wrap
  61484. msgid ""
  61485. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  61486. "container_id=\"$(docker create $image_id)\"\n"
  61487. "docker start $container_id\n"
  61488. msgstr ""
  61489. #. type: table
  61490. #: guix-git/doc/guix.texi:40250
  61491. msgid "This command starts a new Docker container from the specified image. It will boot the Guix system in the usual manner, which means it will start any services you have defined in the operating system configuration. You can get an interactive shell running in the container using @command{docker exec}:"
  61492. msgstr ""
  61493. #. type: example
  61494. #: guix-git/doc/guix.texi:40253
  61495. #, no-wrap
  61496. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  61497. msgstr ""
  61498. #. type: table
  61499. #: guix-git/doc/guix.texi:40260
  61500. msgid "Depending on what you run in the Docker container, it may be necessary to give the container additional permissions. For example, if you intend to build software using Guix inside of the Docker container, you may need to pass the @option{--privileged} option to @code{docker create}."
  61501. msgstr ""
  61502. #. type: table
  61503. #: guix-git/doc/guix.texi:40264
  61504. msgid "Last, the @option{--network} option applies to @command{guix system docker-image}: it produces an image where network is supposedly shared with the host, and thus without services like nscd or NetworkManager."
  61505. msgstr ""
  61506. #. type: table
  61507. #: guix-git/doc/guix.texi:40272
  61508. msgid "Return a script to run the operating system declared in @var{file} within a container. Containers are a set of lightweight isolation mechanisms provided by the kernel Linux-libre. Containers are substantially less resource-demanding than full virtual machines since the kernel, shared objects, and other resources can be shared with the host system; this also means they provide thinner isolation."
  61509. msgstr ""
  61510. #. type: table
  61511. #: guix-git/doc/guix.texi:40276
  61512. msgid "Currently, the script must be run as root in order to support more than a single user and group. The container shares its store with the host system."
  61513. msgstr ""
  61514. #. type: table
  61515. #: guix-git/doc/guix.texi:40280
  61516. msgid "As with the @code{vm} action (@pxref{guix system vm}), additional file systems to be shared between the host and container can be specified using the @option{--share} and @option{--expose} options:"
  61517. msgstr ""
  61518. #. type: example
  61519. #: guix-git/doc/guix.texi:40284
  61520. #, no-wrap
  61521. msgid ""
  61522. "guix system container my-config.scm \\\n"
  61523. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  61524. msgstr ""
  61525. #. type: table
  61526. #: guix-git/doc/guix.texi:40289
  61527. msgid "The @option{--share} and @option{--expose} options can also be passed to the generated script to bind-mount additional directories into the container."
  61528. msgstr ""
  61529. #. type: quotation
  61530. #: guix-git/doc/guix.texi:40292
  61531. msgid "This option requires Linux-libre 3.19 or newer."
  61532. msgstr ""
  61533. #. type: Plain text
  61534. #: guix-git/doc/guix.texi:40299 guix-git/doc/guix.texi:44055
  61535. msgid "@var{options} can contain any of the common build options (@pxref{Common Build Options}). In addition, @var{options} can contain one of the following:"
  61536. msgstr ""
  61537. #. type: table
  61538. #: guix-git/doc/guix.texi:40308
  61539. msgid "Consider the operating-system @var{expr} evaluates to. This is an alternative to specifying a file which evaluates to an operating system. This is used to generate the Guix system installer @pxref{Building the Installation Image})."
  61540. msgstr ""
  61541. #. type: table
  61542. #: guix-git/doc/guix.texi:40313
  61543. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  61544. msgstr ""
  61545. #. type: table
  61546. #: guix-git/doc/guix.texi:40323
  61547. msgid "Return the derivation file name of the given operating system without building anything."
  61548. msgstr ""
  61549. #. type: table
  61550. #: guix-git/doc/guix.texi:40332
  61551. msgid "As discussed above, @command{guix system init} and @command{guix system reconfigure} always save provenance information @i{via} a dedicated service (@pxref{Service Reference, @code{provenance-service-type}}). However, other commands don't do that by default. If you wish to, say, create a virtual machine image that contains provenance information, you can run:"
  61552. msgstr ""
  61553. #. type: example
  61554. #: guix-git/doc/guix.texi:40335
  61555. #, no-wrap
  61556. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  61557. msgstr ""
  61558. #. type: table
  61559. #: guix-git/doc/guix.texi:40342
  61560. msgid "That way, the resulting image will effectively ``embed its own source'' in the form of meta-data in @file{/run/current-system}. With that information, one can rebuild the image to make sure it really contains what it pretends to contain; or they could use that to derive a variant of the image."
  61561. msgstr ""
  61562. #. type: item
  61563. #: guix-git/doc/guix.texi:40343
  61564. #, no-wrap
  61565. msgid "--image-type=@var{type}"
  61566. msgstr ""
  61567. #. type: table
  61568. #: guix-git/doc/guix.texi:40346
  61569. msgid "For the @code{image} action, create an image with given @var{type}."
  61570. msgstr ""
  61571. #. type: table
  61572. #: guix-git/doc/guix.texi:40349
  61573. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  61574. msgstr ""
  61575. #. type: cindex
  61576. #: guix-git/doc/guix.texi:40350
  61577. #, no-wrap
  61578. msgid "ISO-9660 format"
  61579. msgstr ""
  61580. #. type: cindex
  61581. #: guix-git/doc/guix.texi:40351
  61582. #, no-wrap
  61583. msgid "CD image format"
  61584. msgstr ""
  61585. #. type: cindex
  61586. #: guix-git/doc/guix.texi:40352
  61587. #, no-wrap
  61588. msgid "DVD image format"
  61589. msgstr ""
  61590. #. type: table
  61591. #: guix-git/doc/guix.texi:40355
  61592. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  61593. msgstr ""
  61594. #. type: item
  61595. #: guix-git/doc/guix.texi:40356
  61596. #, no-wrap
  61597. msgid "--image-size=@var{size}"
  61598. msgstr ""
  61599. #. type: table
  61600. #: guix-git/doc/guix.texi:40361
  61601. msgid "For the @code{image} action, create an image of the given @var{size}. @var{size} may be a number of bytes, or it may include a unit as a suffix (@pxref{Block size, size specifications,, coreutils, GNU Coreutils})."
  61602. msgstr ""
  61603. #. type: table
  61604. #: guix-git/doc/guix.texi:40365
  61605. msgid "When this option is omitted, @command{guix system} computes an estimate of the image size as a function of the size of the system declared in @var{file}."
  61606. msgstr ""
  61607. #. type: table
  61608. #: guix-git/doc/guix.texi:40370
  61609. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  61610. msgstr ""
  61611. #. type: item
  61612. #: guix-git/doc/guix.texi:40376
  61613. #, no-wrap
  61614. msgid "--skip-checks"
  61615. msgstr ""
  61616. #. type: table
  61617. #: guix-git/doc/guix.texi:40378
  61618. msgid "Skip pre-installation safety checks."
  61619. msgstr ""
  61620. #. type: table
  61621. #: guix-git/doc/guix.texi:40385
  61622. msgid "By default, @command{guix system init} and @command{guix system reconfigure} perform safety checks: they make sure the file systems that appear in the @code{operating-system} declaration actually exist (@pxref{File Systems}), and that any Linux kernel modules that may be needed at boot time are listed in @code{initrd-modules} (@pxref{Initial RAM Disk}). Passing this option skips these tests altogether."
  61623. msgstr ""
  61624. #. type: table
  61625. #: guix-git/doc/guix.texi:40388
  61626. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  61627. msgstr ""
  61628. #. type: table
  61629. #: guix-git/doc/guix.texi:40396
  61630. msgid "By default, @command{reconfigure} prevents you from downgrading your system. It achieves that by comparing the provenance info of your system (shown by @command{guix system describe}) with that of your @command{guix} command (shown by @command{guix describe}). If the commits for @command{guix} are not descendants of those used for your system, @command{guix system reconfigure} errors out. Passing @option{--allow-downgrades} allows you to bypass these checks."
  61631. msgstr ""
  61632. #. type: cindex
  61633. #: guix-git/doc/guix.texi:40402
  61634. #, no-wrap
  61635. msgid "on-error"
  61636. msgstr ""
  61637. #. type: cindex
  61638. #: guix-git/doc/guix.texi:40403
  61639. #, no-wrap
  61640. msgid "on-error strategy"
  61641. msgstr ""
  61642. #. type: cindex
  61643. #: guix-git/doc/guix.texi:40404
  61644. #, no-wrap
  61645. msgid "error strategy"
  61646. msgstr ""
  61647. #. type: item
  61648. #: guix-git/doc/guix.texi:40405
  61649. #, no-wrap
  61650. msgid "--on-error=@var{strategy}"
  61651. msgstr ""
  61652. #. type: table
  61653. #: guix-git/doc/guix.texi:40408
  61654. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  61655. msgstr ""
  61656. #. type: item
  61657. #: guix-git/doc/guix.texi:40410
  61658. #, no-wrap
  61659. msgid "nothing-special"
  61660. msgstr ""
  61661. #. type: table
  61662. #: guix-git/doc/guix.texi:40412
  61663. msgid "Report the error concisely and exit. This is the default strategy."
  61664. msgstr ""
  61665. #. type: item
  61666. #: guix-git/doc/guix.texi:40413
  61667. #, no-wrap
  61668. msgid "backtrace"
  61669. msgstr ""
  61670. #. type: table
  61671. #: guix-git/doc/guix.texi:40415
  61672. msgid "Likewise, but also display a backtrace."
  61673. msgstr ""
  61674. #. type: item
  61675. #: guix-git/doc/guix.texi:40416
  61676. #, no-wrap
  61677. msgid "debug"
  61678. msgstr "depuração"
  61679. #. type: table
  61680. #: guix-git/doc/guix.texi:40422
  61681. msgid "Report the error and enter Guile's debugger. From there, you can run commands such as @code{,bt} to get a backtrace, @code{,locals} to display local variable values, and more generally inspect the state of the program. @xref{Debug Commands,,, guile, GNU Guile Reference Manual}, for a list of available debugging commands."
  61682. msgstr ""
  61683. #. type: Plain text
  61684. #: guix-git/doc/guix.texi:40429
  61685. msgid "Once you have built, configured, re-configured, and re-re-configured your Guix installation, you may find it useful to list the operating system generations available on disk---and that you can choose from the bootloader boot menu:"
  61686. msgstr ""
  61687. #. type: item
  61688. #: guix-git/doc/guix.texi:40432 guix-git/doc/guix.texi:43971
  61689. #, no-wrap
  61690. msgid "describe"
  61691. msgstr ""
  61692. #. type: table
  61693. #: guix-git/doc/guix.texi:40435
  61694. msgid "Describe the running system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  61695. msgstr ""
  61696. #. type: table
  61697. #: guix-git/doc/guix.texi:40442
  61698. msgid "The @code{--list-installed} flag is available, with the same syntax that is used in @command{guix package --list-installed} (@pxref{Invoking guix package}). When the flag is used, the description will include a list of packages that are currently installed in the system profile, with optional filtering based on a regular expression."
  61699. msgstr ""
  61700. #. type: quotation
  61701. #: guix-git/doc/guix.texi:40449
  61702. msgid "The @emph{running} system generation---referred to by @file{/run/current-system}---is not necessarily the @emph{current} system generation---referred to by @file{/var/guix/profiles/system}: it differs when, for instance, you chose from the bootloader menu to boot an older generation."
  61703. msgstr ""
  61704. #. type: quotation
  61705. #: guix-git/doc/guix.texi:40453
  61706. msgid "It can also differ from the @emph{booted} system generation---referred to by @file{/run/booted-system}---for instance because you reconfigured the system in the meantime."
  61707. msgstr ""
  61708. #. type: item
  61709. #: guix-git/doc/guix.texi:40455 guix-git/doc/guix.texi:43986
  61710. #, no-wrap
  61711. msgid "list-generations"
  61712. msgstr ""
  61713. #. type: table
  61714. #: guix-git/doc/guix.texi:40460
  61715. msgid "List a summary of each generation of the operating system available on disk, in a human-readable way. This is similar to the @option{--list-generations} option of @command{guix package} (@pxref{Invoking guix package})."
  61716. msgstr ""
  61717. #. type: table
  61718. #: guix-git/doc/guix.texi:40465 guix-git/doc/guix.texi:43996
  61719. msgid "Optionally, one can specify a pattern, with the same syntax that is used in @command{guix package --list-generations}, to restrict the list of generations displayed. For instance, the following command displays generations that are up to 10 days old:"
  61720. msgstr ""
  61721. #. type: example
  61722. #: guix-git/doc/guix.texi:40468
  61723. #, no-wrap
  61724. msgid "$ guix system list-generations 10d\n"
  61725. msgstr "$ guix system list-generations 10d\n"
  61726. #. type: table
  61727. #: guix-git/doc/guix.texi:40474
  61728. msgid "The @code{--list-installed} flag may also be specified, with the same syntax that is used in @command{guix package --list-installed}. This may be helpful if trying to determine when a package was added to the system."
  61729. msgstr ""
  61730. #. type: Plain text
  61731. #: guix-git/doc/guix.texi:40480
  61732. msgid "The @command{guix system} command has even more to offer! The following sub-commands allow you to visualize how your system services relate to each other:"
  61733. msgstr ""
  61734. #. type: anchor{#1}
  61735. #: guix-git/doc/guix.texi:40482
  61736. msgid "system-extension-graph"
  61737. msgstr "system-extension-graph"
  61738. #. type: item
  61739. #: guix-git/doc/guix.texi:40484 guix-git/doc/guix.texi:44026
  61740. #, no-wrap
  61741. msgid "extension-graph"
  61742. msgstr "extension-graph"
  61743. #. type: table
  61744. #: guix-git/doc/guix.texi:40491
  61745. msgid "Emit to standard output the @dfn{service extension graph} of the operating system defined in @var{file} (@pxref{Service Composition}, for more information on service extensions). By default the output is in Dot/Graphviz format, but you can choose a different format with @option{--graph-backend}, as with @command{guix graph} (@pxref{Invoking guix graph, @option{--backend}}):"
  61746. msgstr ""
  61747. #. type: table
  61748. #: guix-git/doc/guix.texi:40493 guix-git/doc/guix.texi:44035
  61749. msgid "The command:"
  61750. msgstr "O comando:"
  61751. #. type: example
  61752. #: guix-git/doc/guix.texi:40496
  61753. #, no-wrap
  61754. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  61755. msgstr ""
  61756. #. type: table
  61757. #: guix-git/doc/guix.texi:40499 guix-git/doc/guix.texi:44041
  61758. msgid "shows the extension relations among services."
  61759. msgstr ""
  61760. #. type: quotation
  61761. #: guix-git/doc/guix.texi:40502
  61762. msgid "The @command{dot} program is provided by the @code{graphviz} package."
  61763. msgstr ""
  61764. #. type: anchor{#1}
  61765. #: guix-git/doc/guix.texi:40505
  61766. msgid "system-shepherd-graph"
  61767. msgstr "system-shepherd-graph"
  61768. #. type: item
  61769. #: guix-git/doc/guix.texi:40505 guix-git/doc/guix.texi:44043
  61770. #, no-wrap
  61771. msgid "shepherd-graph"
  61772. msgstr "shepherd-graph"
  61773. #. type: table
  61774. #: guix-git/doc/guix.texi:40510
  61775. msgid "Emit to standard output the @dfn{dependency graph} of shepherd services of the operating system defined in @var{file}. @xref{Shepherd Services}, for more information and for an example graph."
  61776. msgstr ""
  61777. #. type: table
  61778. #: guix-git/doc/guix.texi:40513 guix-git/doc/guix.texi:44050
  61779. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  61780. msgstr ""
  61781. #. type: section
  61782. #: guix-git/doc/guix.texi:40517
  61783. #, fuzzy, no-wrap
  61784. #| msgid "Invoking @command{guix repl}"
  61785. msgid "Invoking @command{guix deploy}"
  61786. msgstr "Invocando @command{guix repl}"
  61787. #. type: command{#1}
  61788. #: guix-git/doc/guix.texi:40519
  61789. #, fuzzy, no-wrap
  61790. #| msgid "# guix install hello\n"
  61791. msgid "guix deploy"
  61792. msgstr "# guix install hello\n"
  61793. #. type: Plain text
  61794. #: guix-git/doc/guix.texi:40526
  61795. msgid "We've already seen @code{operating-system} declarations used to manage a machine's configuration locally. Suppose you need to configure multiple machines, though---perhaps you're managing a service on the web that's comprised of several servers. @command{guix deploy} enables you to use those same @code{operating-system} declarations to manage multiple remote hosts at once as a logical ``deployment''."
  61796. msgstr ""
  61797. #. type: quotation
  61798. #: guix-git/doc/guix.texi:40531 guix-git/doc/guix.texi:42077
  61799. msgid "The functionality described in this section is still under development and is subject to change. Get in touch with us on @email{guix-devel@@gnu.org}!"
  61800. msgstr ""
  61801. #. type: example
  61802. #: guix-git/doc/guix.texi:40535
  61803. #, no-wrap
  61804. msgid "guix deploy @var{file}\n"
  61805. msgstr ""
  61806. #. type: Plain text
  61807. #: guix-git/doc/guix.texi:40539
  61808. msgid "Such an invocation will deploy the machines that the code within @var{file} evaluates to. As an example, @var{file} might contain a definition like this:"
  61809. msgstr ""
  61810. #. type: lisp
  61811. #: guix-git/doc/guix.texi:40546
  61812. #, no-wrap
  61813. msgid ""
  61814. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  61815. ";; no X11 display server, to a machine with an SSH daemon\n"
  61816. ";; listening on localhost:2222. A configuration such as this\n"
  61817. ";; may be appropriate for virtual machine with ports\n"
  61818. ";; forwarded to the host's loopback interface.\n"
  61819. "\n"
  61820. msgstr ""
  61821. #. type: lisp
  61822. #: guix-git/doc/guix.texi:40549
  61823. #, no-wrap
  61824. msgid ""
  61825. "(use-service-modules networking ssh)\n"
  61826. "(use-package-modules bootloaders)\n"
  61827. "\n"
  61828. msgstr ""
  61829. #. type: lisp
  61830. #: guix-git/doc/guix.texi:40570
  61831. #, no-wrap
  61832. msgid ""
  61833. "(define %system\n"
  61834. " (operating-system\n"
  61835. " (host-name \"gnu-deployed\")\n"
  61836. " (timezone \"Etc/UTC\")\n"
  61837. " (bootloader (bootloader-configuration\n"
  61838. " (bootloader grub-bootloader)\n"
  61839. " (targets '(\"/dev/vda\"))\n"
  61840. " (terminal-outputs '(console))))\n"
  61841. " (file-systems (cons (file-system\n"
  61842. " (mount-point \"/\")\n"
  61843. " (device \"/dev/vda1\")\n"
  61844. " (type \"ext4\"))\n"
  61845. " %base-file-systems))\n"
  61846. " (services\n"
  61847. " (append (list (service dhcp-client-service-type)\n"
  61848. " (service openssh-service-type\n"
  61849. " (openssh-configuration\n"
  61850. " (permit-root-login #t)\n"
  61851. " (allow-empty-passwords? #t))))\n"
  61852. " %base-services))))\n"
  61853. "\n"
  61854. msgstr ""
  61855. #. type: lisp
  61856. #: guix-git/doc/guix.texi:40580
  61857. #, no-wrap
  61858. msgid ""
  61859. "(list (machine\n"
  61860. " (operating-system %system)\n"
  61861. " (environment managed-host-environment-type)\n"
  61862. " (configuration (machine-ssh-configuration\n"
  61863. " (host-name \"localhost\")\n"
  61864. " (system \"x86_64-linux\")\n"
  61865. " (user \"alice\")\n"
  61866. " (identity \"./id_rsa\")\n"
  61867. " (port 2222)))))\n"
  61868. msgstr ""
  61869. #. type: Plain text
  61870. #: guix-git/doc/guix.texi:40593
  61871. msgid "The file should evaluate to a list of @var{machine} objects. This example, upon being deployed, will create a new generation on the remote system realizing the @code{operating-system} declaration @code{%system}. @code{environment} and @code{configuration} specify how the machine should be provisioned---that is, how the computing resources should be created and managed. The above example does not create any resources, as a @code{'managed-host} is a machine that is already running the Guix system and available over the network. This is a particularly simple case; a more complex deployment may involve, for example, starting virtual machines through a Virtual Private Server (VPS) provider. In such a case, a different @var{environment} type would be used."
  61872. msgstr ""
  61873. #. type: Plain text
  61874. #: guix-git/doc/guix.texi:40598
  61875. msgid "Do note that you first need to generate a key pair on the coordinator machine to allow the daemon to export signed archives of files from the store (@pxref{Invoking guix archive}), though this step is automatic on Guix System:"
  61876. msgstr ""
  61877. #. type: Plain text
  61878. #: guix-git/doc/guix.texi:40606
  61879. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  61880. msgstr ""
  61881. #. type: example
  61882. #: guix-git/doc/guix.texi:40609
  61883. #, no-wrap
  61884. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  61885. msgstr ""
  61886. #. type: Plain text
  61887. #: guix-git/doc/guix.texi:40620
  61888. msgid "@code{user}, in this example, specifies the name of the user account to log in as to perform the deployment. Its default value is @code{root}, but root login over SSH may be forbidden in some cases. To work around this, @command{guix deploy} can log in as an unprivileged user and employ @code{sudo} to escalate privileges. This will only work if @code{sudo} is currently installed on the remote and can be invoked non-interactively as @code{user}. That is, the line in @code{sudoers} granting @code{user} the ability to use @code{sudo} must contain the @code{NOPASSWD} tag. This can be accomplished with the following operating system configuration snippet:"
  61889. msgstr ""
  61890. #. type: lisp
  61891. #: guix-git/doc/guix.texi:40624
  61892. #, no-wrap
  61893. msgid ""
  61894. "(use-modules ...\n"
  61895. " (gnu system)) ;for %sudoers-specification\n"
  61896. "\n"
  61897. msgstr ""
  61898. #. type: lisp
  61899. #: guix-git/doc/guix.texi:40626
  61900. #, no-wrap
  61901. msgid ""
  61902. "(define %user \"username\")\n"
  61903. "\n"
  61904. msgstr ""
  61905. #. type: lisp
  61906. #: guix-git/doc/guix.texi:40634
  61907. #, no-wrap
  61908. msgid ""
  61909. "(operating-system\n"
  61910. " ...\n"
  61911. " (sudoers-file\n"
  61912. " (plain-file \"sudoers\"\n"
  61913. " (string-append (plain-file-content %sudoers-specification)\n"
  61914. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  61915. " %user)))))\n"
  61916. "\n"
  61917. msgstr ""
  61918. #. type: Plain text
  61919. #: guix-git/doc/guix.texi:40639
  61920. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  61921. msgstr ""
  61922. #. type: Plain text
  61923. #: guix-git/doc/guix.texi:40644
  61924. msgid "Once you've deployed a system on a set of machines, you may find it useful to run a command on all of them. The @option{--execute} or @option{-x} option lets you do that; the example below runs @command{uname -a} on all the machines listed in the deployment file:"
  61925. msgstr ""
  61926. #. type: example
  61927. #: guix-git/doc/guix.texi:40647
  61928. #, no-wrap
  61929. msgid "guix deploy @var{file} -x -- uname -a\n"
  61930. msgstr ""
  61931. #. type: Plain text
  61932. #: guix-git/doc/guix.texi:40651
  61933. msgid "One thing you may often need to do after deployment is restart specific services on all the machines, which you can do like so:"
  61934. msgstr ""
  61935. #. type: example
  61936. #: guix-git/doc/guix.texi:40654
  61937. #, no-wrap
  61938. msgid "guix deploy @var{file} -x -- herd restart @var{service}\n"
  61939. msgstr ""
  61940. #. type: Plain text
  61941. #: guix-git/doc/guix.texi:40658
  61942. msgid "The @command{guix deploy -x} command returns zero if and only if the command succeeded on all the machines."
  61943. msgstr ""
  61944. #. type: Plain text
  61945. #: guix-git/doc/guix.texi:40663
  61946. msgid "Below are the data types you need to know about when writing a deployment file."
  61947. msgstr ""
  61948. #. type: deftp
  61949. #: guix-git/doc/guix.texi:40664
  61950. #, no-wrap
  61951. msgid "{Data Type} machine"
  61952. msgstr ""
  61953. #. type: deftp
  61954. #: guix-git/doc/guix.texi:40667
  61955. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  61956. msgstr ""
  61957. #. type: table
  61958. #: guix-git/doc/guix.texi:40671
  61959. msgid "The object of the operating system configuration to deploy."
  61960. msgstr ""
  61961. #. type: code{#1}
  61962. #: guix-git/doc/guix.texi:40672
  61963. #, no-wrap
  61964. msgid "environment"
  61965. msgstr ""
  61966. #. type: table
  61967. #: guix-git/doc/guix.texi:40674
  61968. msgid "An @code{environment-type} describing how the machine should be provisioned."
  61969. msgstr ""
  61970. #. type: item
  61971. #: guix-git/doc/guix.texi:40675
  61972. #, no-wrap
  61973. msgid "@code{configuration} (default: @code{#f})"
  61974. msgstr ""
  61975. #. type: table
  61976. #: guix-git/doc/guix.texi:40680
  61977. msgid "An object describing the configuration for the machine's @code{environment}. If the @code{environment} has a default configuration, @code{#f} may be used. If @code{#f} is used for an environment with no default configuration, however, an error will be thrown."
  61978. msgstr ""
  61979. #. type: deftp
  61980. #: guix-git/doc/guix.texi:40683
  61981. #, no-wrap
  61982. msgid "{Data Type} machine-ssh-configuration"
  61983. msgstr ""
  61984. #. type: deftp
  61985. #: guix-git/doc/guix.texi:40686
  61986. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  61987. msgstr ""
  61988. #. type: item
  61989. #: guix-git/doc/guix.texi:40689
  61990. #, no-wrap
  61991. msgid "@code{build-locally?} (default: @code{#t})"
  61992. msgstr ""
  61993. #. type: table
  61994. #: guix-git/doc/guix.texi:40691
  61995. msgid "If false, system derivations will be built on the machine being deployed to."
  61996. msgstr ""
  61997. #. type: code{#1}
  61998. #: guix-git/doc/guix.texi:40691 guix-git/doc/guix.texi:44173
  61999. #, no-wrap
  62000. msgid "system"
  62001. msgstr "system"
  62002. #. type: table
  62003. #: guix-git/doc/guix.texi:40694
  62004. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  62005. msgstr ""
  62006. #. type: item
  62007. #: guix-git/doc/guix.texi:40694
  62008. #, no-wrap
  62009. msgid "@code{authorize?} (default: @code{#t})"
  62010. msgstr ""
  62011. #. type: table
  62012. #: guix-git/doc/guix.texi:40697
  62013. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  62014. msgstr ""
  62015. #. type: item
  62016. #: guix-git/doc/guix.texi:40699
  62017. #, no-wrap
  62018. msgid "@code{identity} (default: @code{#f})"
  62019. msgstr ""
  62020. #. type: table
  62021. #: guix-git/doc/guix.texi:40702
  62022. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  62023. msgstr ""
  62024. #. type: item
  62025. #: guix-git/doc/guix.texi:40703
  62026. #, no-wrap
  62027. msgid "@code{host-key} (default: @code{#f})"
  62028. msgstr ""
  62029. #. type: table
  62030. #: guix-git/doc/guix.texi:40705
  62031. msgid "This should be the SSH host key of the machine, which looks like this:"
  62032. msgstr ""
  62033. #. type: example
  62034. #: guix-git/doc/guix.texi:40708
  62035. #, no-wrap
  62036. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  62037. msgstr ""
  62038. #. type: table
  62039. #: guix-git/doc/guix.texi:40713
  62040. msgid "When @code{host-key} is @code{#f}, the server is authenticated against the @file{~/.ssh/known_hosts} file, just like the OpenSSH @command{ssh} client does."
  62041. msgstr ""
  62042. #. type: item
  62043. #: guix-git/doc/guix.texi:40714
  62044. #, no-wrap
  62045. msgid "@code{allow-downgrades?} (default: @code{#f})"
  62046. msgstr ""
  62047. #. type: table
  62048. #: guix-git/doc/guix.texi:40716
  62049. msgid "Whether to allow potential downgrades."
  62050. msgstr ""
  62051. #. type: table
  62052. #: guix-git/doc/guix.texi:40724
  62053. msgid "Like @command{guix system reconfigure}, @command{guix deploy} compares the channel commits currently deployed on the remote host (as returned by @command{guix system describe}) to those currently in use (as returned by @command{guix describe}) to determine whether commits currently in use are descendants of those deployed. When this is not the case and @code{allow-downgrades?} is false, it raises an error. This ensures you do not accidentally downgrade remote machines."
  62054. msgstr ""
  62055. #. type: item
  62056. #: guix-git/doc/guix.texi:40725
  62057. #, fuzzy, no-wrap
  62058. #| msgid "@code{check?} (default: @code{#t})"
  62059. msgid "@code{safety-checks?} (default: @code{#t})"
  62060. msgstr "@code{check?} (padrão: @code{#t})"
  62061. #. type: table
  62062. #: guix-git/doc/guix.texi:40731
  62063. msgid "Whether to perform ``safety checks'' before deployment. This includes verifying that devices and file systems referred to in the operating system configuration actually exist on the target machine, and making sure that Linux modules required to access storage devices at boot time are listed in the @code{initrd-modules} field of the operating system."
  62064. msgstr ""
  62065. #. type: table
  62066. #: guix-git/doc/guix.texi:40734
  62067. msgid "These safety checks ensure that you do not inadvertently deploy a system that would fail to boot. Be careful before turning them off!"
  62068. msgstr ""
  62069. #. type: deftp
  62070. #: guix-git/doc/guix.texi:40737
  62071. #, no-wrap
  62072. msgid "{Data Type} digital-ocean-configuration"
  62073. msgstr ""
  62074. #. type: deftp
  62075. #: guix-git/doc/guix.texi:40740
  62076. msgid "This is the data type describing the Droplet that should be created for a machine with an @code{environment} of @code{digital-ocean-environment-type}."
  62077. msgstr ""
  62078. #. type: code{#1}
  62079. #: guix-git/doc/guix.texi:40742
  62080. #, no-wrap
  62081. msgid "ssh-key"
  62082. msgstr ""
  62083. #. type: table
  62084. #: guix-git/doc/guix.texi:40745
  62085. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  62086. msgstr ""
  62087. #. type: code{#1}
  62088. #: guix-git/doc/guix.texi:40745
  62089. #, no-wrap
  62090. msgid "tags"
  62091. msgstr ""
  62092. #. type: table
  62093. #: guix-git/doc/guix.texi:40748
  62094. msgid "A list of string ``tags'' that uniquely identify the machine. Must be given such that no two machines in the deployment have the same set of tags."
  62095. msgstr ""
  62096. #. type: code{#1}
  62097. #: guix-git/doc/guix.texi:40748
  62098. #, no-wrap
  62099. msgid "region"
  62100. msgstr ""
  62101. #. type: table
  62102. #: guix-git/doc/guix.texi:40750
  62103. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  62104. msgstr ""
  62105. #. type: table
  62106. #: guix-git/doc/guix.texi:40752
  62107. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  62108. msgstr ""
  62109. #. type: code{#1}
  62110. #: guix-git/doc/guix.texi:40752
  62111. #, no-wrap
  62112. msgid "enable-ipv6?"
  62113. msgstr ""
  62114. #. type: table
  62115. #: guix-git/doc/guix.texi:40754
  62116. msgid "Whether or not the droplet should be created with IPv6 networking."
  62117. msgstr ""
  62118. #. type: section
  62119. #: guix-git/doc/guix.texi:40758
  62120. #, no-wrap
  62121. msgid "Running Guix in a Virtual Machine"
  62122. msgstr "Usando o Guix em uma Máquina Virtual"
  62123. #. type: Plain text
  62124. #: guix-git/doc/guix.texi:40766
  62125. msgid "To run Guix in a virtual machine (VM), one can use the pre-built Guix VM image distributed at @url{@value{BASE-URL}/guix-system-vm-image-@value{VERSION}.x86_64-linux.qcow2}. This image is a compressed image in QCOW format. You can pass it to an emulator such as @uref{https://qemu.org/, QEMU} (see below for details)."
  62126. msgstr ""
  62127. #. type: Plain text
  62128. #: guix-git/doc/guix.texi:40773
  62129. msgid "This image boots the Xfce graphical environment and it contains some commonly used tools. You can install more software in the image by running @command{guix package} in a terminal (@pxref{Invoking guix package}). You can also reconfigure the system based on its initial configuration file available as @file{/run/current-system/configuration.scm} (@pxref{Using the Configuration System})."
  62130. msgstr ""
  62131. #. type: Plain text
  62132. #: guix-git/doc/guix.texi:40776
  62133. msgid "Instead of using this pre-built image, one can also build their own image using @command{guix system image} (@pxref{Invoking guix system})."
  62134. msgstr ""
  62135. #. type: cindex
  62136. #: guix-git/doc/guix.texi:40777
  62137. #, no-wrap
  62138. msgid "QEMU"
  62139. msgstr ""
  62140. #. type: Plain text
  62141. #: guix-git/doc/guix.texi:40784
  62142. msgid "If you built your own image, you must copy it out of the store (@pxref{The Store}) and give yourself permission to write to the copy before you can use it. When invoking QEMU, you must choose a system emulator that is suitable for your hardware platform. Here is a minimal QEMU invocation that will boot the result of @command{guix system image -t qcow2} on x86_64 hardware:"
  62143. msgstr ""
  62144. #. type: example
  62145. #: guix-git/doc/guix.texi:40791
  62146. #, no-wrap
  62147. msgid ""
  62148. "$ qemu-system-x86_64 \\\n"
  62149. " -nic user,model=virtio-net-pci \\\n"
  62150. " -enable-kvm -m 2048 \\\n"
  62151. " -device virtio-blk,drive=myhd \\\n"
  62152. " -drive if=none,file=guix-system-vm-image-@value{VERSION}.x86_64-linux.qcow2,id=myhd\n"
  62153. msgstr ""
  62154. #. type: Plain text
  62155. #: guix-git/doc/guix.texi:40794
  62156. msgid "Here is what each of these options means:"
  62157. msgstr ""
  62158. #. type: item
  62159. #: guix-git/doc/guix.texi:40796
  62160. #, no-wrap
  62161. msgid "qemu-system-x86_64"
  62162. msgstr ""
  62163. #. type: table
  62164. #: guix-git/doc/guix.texi:40799
  62165. msgid "This specifies the hardware platform to emulate. This should match the host."
  62166. msgstr ""
  62167. #. type: item
  62168. #: guix-git/doc/guix.texi:40800
  62169. #, no-wrap
  62170. msgid "-nic user,model=virtio-net-pci"
  62171. msgstr ""
  62172. #. type: table
  62173. #: guix-git/doc/guix.texi:40808
  62174. msgid "Enable the unprivileged user-mode network stack. The guest OS can access the host but not vice versa. This is the simplest way to get the guest OS online. @code{model} specifies which network device to emulate: @code{virtio-net-pci} is a special device made for virtualized operating systems and recommended for most uses. Assuming your hardware platform is x86_64, you can get a list of available NIC models by running @command{qemu-system-x86_64 -nic model=help}."
  62175. msgstr ""
  62176. #. type: item
  62177. #: guix-git/doc/guix.texi:40809
  62178. #, no-wrap
  62179. msgid "-enable-kvm"
  62180. msgstr ""
  62181. #. type: table
  62182. #: guix-git/doc/guix.texi:40813
  62183. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  62184. msgstr ""
  62185. #. type: item
  62186. #: guix-git/doc/guix.texi:40815
  62187. #, no-wrap
  62188. msgid "-m 2048"
  62189. msgstr ""
  62190. #. type: table
  62191. #: guix-git/doc/guix.texi:40818
  62192. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  62193. msgstr ""
  62194. #. type: item
  62195. #: guix-git/doc/guix.texi:40819
  62196. #, no-wrap
  62197. msgid "-device virtio-blk,drive=myhd"
  62198. msgstr ""
  62199. #. type: table
  62200. #: guix-git/doc/guix.texi:40824
  62201. msgid "Create a @code{virtio-blk} drive called ``myhd''. @code{virtio-blk} is a ``paravirtualization'' mechanism for block devices that allows QEMU to achieve better performance than if it were emulating a complete disk drive. See the QEMU and KVM documentation for more info."
  62202. msgstr ""
  62203. #. type: item
  62204. #: guix-git/doc/guix.texi:40825
  62205. #, no-wrap
  62206. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  62207. msgstr ""
  62208. #. type: table
  62209. #: guix-git/doc/guix.texi:40829
  62210. msgid "Use our QCOW image, the @file{guix-system-vm-image-@value{VERSION}.x86_64-linux.qcow2} file, as the backing store of the ``myhd'' drive."
  62211. msgstr ""
  62212. #. type: Plain text
  62213. #: guix-git/doc/guix.texi:40839
  62214. msgid "The default @command{run-vm.sh} script that is returned by an invocation of @command{guix system vm} does not add a @command{-nic user} flag by default. To get network access from within the vm add the @code{(dhcp-client-service)} to your system definition and start the VM using @command{$(guix system vm config.scm) -nic user}. An important caveat of using @command{-nic user} for networking is that @command{ping} will not work, because it uses the ICMP protocol. You'll have to use a different command to check for network connectivity, for example @command{guix download}."
  62215. msgstr ""
  62216. #. type: subsection
  62217. #: guix-git/doc/guix.texi:40840
  62218. #, no-wrap
  62219. msgid "Connecting Through SSH"
  62220. msgstr ""
  62221. #. type: Plain text
  62222. #: guix-git/doc/guix.texi:40848
  62223. msgid "To enable SSH inside a VM you need to add an SSH server like @code{openssh-service-type} to your VM (@pxref{Networking Services, @code{openssh-service-type}}). In addition you need to forward the SSH port, 22 by default, to the host. You can do this with"
  62224. msgstr ""
  62225. #. type: example
  62226. #: guix-git/doc/guix.texi:40851
  62227. #, no-wrap
  62228. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  62229. msgstr ""
  62230. #. type: Plain text
  62231. #: guix-git/doc/guix.texi:40854
  62232. msgid "To connect to the VM you can run"
  62233. msgstr ""
  62234. #. type: example
  62235. #: guix-git/doc/guix.texi:40857
  62236. #, no-wrap
  62237. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  62238. msgstr ""
  62239. #. type: Plain text
  62240. #: guix-git/doc/guix.texi:40864
  62241. msgid "The @command{-p} tells @command{ssh} the port you want to connect to. @command{-o UserKnownHostsFile=/dev/null} prevents @command{ssh} from complaining every time you modify your @command{config.scm} file and the @command{-o StrictHostKeyChecking=no} prevents you from having to allow a connection to an unknown host every time you connect."
  62242. msgstr ""
  62243. #. type: quotation
  62244. #: guix-git/doc/guix.texi:40870
  62245. msgid "If you find the above @samp{hostfwd} example not to be working (e.g., your SSH client hangs attempting to connect to the mapped port of your VM), make sure that your Guix System VM has networking support, such as by using the @code{dhcp-client-service-type} service type."
  62246. msgstr ""
  62247. #. type: subsection
  62248. #: guix-git/doc/guix.texi:40872
  62249. #, no-wrap
  62250. msgid "Using @command{virt-viewer} with Spice"
  62251. msgstr ""
  62252. #. type: Plain text
  62253. #: guix-git/doc/guix.texi:40878
  62254. msgid "As an alternative to the default @command{qemu} graphical client you can use the @command{remote-viewer} from the @command{virt-viewer} package. To connect pass the @command{-spice port=5930,disable-ticketing} flag to @command{qemu}. See previous section for further information on how to do this."
  62255. msgstr ""
  62256. #. type: Plain text
  62257. #: guix-git/doc/guix.texi:40881
  62258. msgid "Spice also allows you to do some nice stuff like share your clipboard with your VM@. To enable that you'll also have to pass the following flags to @command{qemu}:"
  62259. msgstr ""
  62260. #. type: example
  62261. #: guix-git/doc/guix.texi:40887
  62262. #, no-wrap
  62263. msgid ""
  62264. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  62265. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  62266. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\\\n"
  62267. "name=com.redhat.spice.0\n"
  62268. msgstr ""
  62269. #. type: Plain text
  62270. #: guix-git/doc/guix.texi:40891
  62271. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  62272. msgstr ""
  62273. #. type: Plain text
  62274. #: guix-git/doc/guix.texi:40898
  62275. msgid "The previous sections show the available services and how one can combine them in an @code{operating-system} declaration. But how do we define them in the first place? And what is a service anyway?"
  62276. msgstr ""
  62277. #. type: cindex
  62278. #: guix-git/doc/guix.texi:40911
  62279. #, no-wrap
  62280. msgid "daemons"
  62281. msgstr ""
  62282. #. type: Plain text
  62283. #: guix-git/doc/guix.texi:40924
  62284. msgid "Here we define a @dfn{service} as, broadly, something that extends the functionality of the operating system. Often a service is a process---a @dfn{daemon}---started when the system boots: a secure shell server, a Web server, the Guix build daemon, etc. Sometimes a service is a daemon whose execution can be triggered by another daemon---e.g., an FTP server started by @command{inetd} or a D-Bus service activated by @command{dbus-daemon}. Occasionally, a service does not map to a daemon. For instance, the ``account'' service collects user accounts and makes sure they exist when the system runs; the ``udev'' service collects device management rules and makes them available to the eudev daemon; the @file{/etc} service populates the @file{/etc} directory of the system."
  62285. msgstr ""
  62286. #. type: cindex
  62287. #: guix-git/doc/guix.texi:40925
  62288. #, no-wrap
  62289. msgid "service extensions"
  62290. msgstr ""
  62291. #. type: Plain text
  62292. #: guix-git/doc/guix.texi:40937
  62293. msgid "Guix system services are connected by @dfn{extensions}. For instance, the secure shell service @emph{extends} the Shepherd---the initialization system, running as PID@tie{}1---by giving it the command lines to start and stop the secure shell daemon (@pxref{Networking Services, @code{openssh-service-type}}); the UPower service extends the D-Bus service by passing it its @file{.service} specification, and extends the udev service by passing it device management rules (@pxref{Desktop Services, @code{upower-service}}); the Guix daemon service extends the Shepherd by passing it the command lines to start and stop the daemon, and extends the account service by passing it a list of required build user accounts (@pxref{Base Services})."
  62294. msgstr ""
  62295. #. type: Plain text
  62296. #: guix-git/doc/guix.texi:40941
  62297. msgid "All in all, services and their ``extends'' relations form a directed acyclic graph (DAG). If we represent services as boxes and extensions as arrows, a typical system might provide something like this:"
  62298. msgstr ""
  62299. #. type: Plain text
  62300. #: guix-git/doc/guix.texi:40943
  62301. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  62302. msgstr ""
  62303. #. type: cindex
  62304. #: guix-git/doc/guix.texi:40944
  62305. #, no-wrap
  62306. msgid "system service"
  62307. msgstr ""
  62308. #. type: Plain text
  62309. #: guix-git/doc/guix.texi:40952
  62310. msgid "At the bottom, we see the @dfn{system service}, which produces the directory containing everything to run and boot the system, as returned by the @command{guix system build} command. @xref{Service Reference}, to learn about the other service types shown here. @xref{system-extension-graph, the @command{guix system extension-graph} command}, for information on how to generate this representation for a particular operating system definition."
  62311. msgstr ""
  62312. #. type: cindex
  62313. #: guix-git/doc/guix.texi:40953
  62314. #, no-wrap
  62315. msgid "service types"
  62316. msgstr ""
  62317. #. type: Plain text
  62318. #: guix-git/doc/guix.texi:40959
  62319. msgid "Technically, developers can define @dfn{service types} to express these relations. There can be any number of services of a given type on the system---for instance, a system running two instances of the GNU secure shell server (lsh) has two instances of @code{lsh-service-type}, with different parameters."
  62320. msgstr ""
  62321. #. type: Plain text
  62322. #: guix-git/doc/guix.texi:40962
  62323. msgid "The following section describes the programming interface for service types and services."
  62324. msgstr ""
  62325. #. type: Plain text
  62326. #: guix-git/doc/guix.texi:40969
  62327. msgid "A @dfn{service type} is a node in the DAG described above. Let us start with a simple example, the service type for the Guix build daemon (@pxref{Invoking guix-daemon}):"
  62328. msgstr ""
  62329. #. type: lisp
  62330. #: guix-git/doc/guix.texi:40979
  62331. #, no-wrap
  62332. msgid ""
  62333. "(define guix-service-type\n"
  62334. " (service-type\n"
  62335. " (name 'guix)\n"
  62336. " (extensions\n"
  62337. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  62338. " (service-extension account-service-type guix-accounts)\n"
  62339. " (service-extension activation-service-type guix-activation)))\n"
  62340. " (default-value (guix-configuration))))\n"
  62341. msgstr ""
  62342. #. type: Plain text
  62343. #: guix-git/doc/guix.texi:40983
  62344. msgid "It defines three things:"
  62345. msgstr ""
  62346. #. type: enumerate
  62347. #: guix-git/doc/guix.texi:40987
  62348. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  62349. msgstr ""
  62350. #. type: enumerate
  62351. #: guix-git/doc/guix.texi:40992
  62352. msgid "A list of @dfn{service extensions}, where each extension designates the target service type and a procedure that, given the parameters of the service, returns a list of objects to extend the service of that type."
  62353. msgstr ""
  62354. #. type: enumerate
  62355. #: guix-git/doc/guix.texi:40995
  62356. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  62357. msgstr ""
  62358. #. type: enumerate
  62359. #: guix-git/doc/guix.texi:40998
  62360. msgid "Optionally, a default value for instances of this type."
  62361. msgstr ""
  62362. #. type: Plain text
  62363. #: guix-git/doc/guix.texi:41001
  62364. msgid "In this example, @code{guix-service-type} extends three services:"
  62365. msgstr ""
  62366. #. type: defvar
  62367. #: guix-git/doc/guix.texi:41003 guix-git/doc/guix.texi:41622
  62368. #, no-wrap
  62369. msgid "shepherd-root-service-type"
  62370. msgstr ""
  62371. #. type: table
  62372. #: guix-git/doc/guix.texi:41008
  62373. msgid "The @code{guix-shepherd-service} procedure defines how the Shepherd service is extended. Namely, it returns a @code{<shepherd-service>} object that defines how @command{guix-daemon} is started and stopped (@pxref{Shepherd Services})."
  62374. msgstr ""
  62375. #. type: item
  62376. #: guix-git/doc/guix.texi:41009
  62377. #, no-wrap
  62378. msgid "account-service-type"
  62379. msgstr ""
  62380. #. type: table
  62381. #: guix-git/doc/guix.texi:41014
  62382. msgid "This extension for this service is computed by @code{guix-accounts}, which returns a list of @code{user-group} and @code{user-account} objects representing the build user accounts (@pxref{Invoking guix-daemon})."
  62383. msgstr ""
  62384. #. type: item
  62385. #: guix-git/doc/guix.texi:41015
  62386. #, no-wrap
  62387. msgid "activation-service-type"
  62388. msgstr ""
  62389. #. type: table
  62390. #: guix-git/doc/guix.texi:41019
  62391. msgid "Here @code{guix-activation} is a procedure that returns a gexp, which is a code snippet to run at ``activation time''---e.g., when the service is booted."
  62392. msgstr ""
  62393. #. type: Plain text
  62394. #: guix-git/doc/guix.texi:41022
  62395. msgid "A service of this type is instantiated like this:"
  62396. msgstr ""
  62397. #. type: lisp
  62398. #: guix-git/doc/guix.texi:41028
  62399. #, no-wrap
  62400. msgid ""
  62401. "(service guix-service-type\n"
  62402. " (guix-configuration\n"
  62403. " (build-accounts 5)\n"
  62404. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  62405. msgstr ""
  62406. #. type: Plain text
  62407. #: guix-git/doc/guix.texi:41036
  62408. msgid "The second argument to the @code{service} form is a value representing the parameters of this specific service instance. @xref{guix-configuration-type, @code{guix-configuration}}, for information about the @code{guix-configuration} data type. When the value is omitted, the default value specified by @code{guix-service-type} is used:"
  62409. msgstr ""
  62410. #. type: lisp
  62411. #: guix-git/doc/guix.texi:41039
  62412. #, no-wrap
  62413. msgid "(service guix-service-type)\n"
  62414. msgstr ""
  62415. #. type: Plain text
  62416. #: guix-git/doc/guix.texi:41043
  62417. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  62418. msgstr ""
  62419. #. type: Plain text
  62420. #: guix-git/doc/guix.texi:41047
  62421. msgid "The service type for an @emph{extensible} service looks like this:"
  62422. msgstr ""
  62423. #. type: lisp
  62424. #: guix-git/doc/guix.texi:41054
  62425. #, no-wrap
  62426. msgid ""
  62427. "(define udev-service-type\n"
  62428. " (service-type (name 'udev)\n"
  62429. " (extensions\n"
  62430. " (list (service-extension shepherd-root-service-type\n"
  62431. " udev-shepherd-service)))\n"
  62432. "\n"
  62433. msgstr ""
  62434. #. type: lisp
  62435. #: guix-git/doc/guix.texi:41061
  62436. #, no-wrap
  62437. msgid ""
  62438. " (compose concatenate) ;concatenate the list of rules\n"
  62439. " (extend (lambda (config rules)\n"
  62440. " (udev-configuration\n"
  62441. " (inherit config)\n"
  62442. " (rules (append (udev-configuration-rules config)\n"
  62443. " rules)))))))\n"
  62444. msgstr ""
  62445. #. type: Plain text
  62446. #: guix-git/doc/guix.texi:41067
  62447. msgid "This is the service type for the @uref{https://wiki.gentoo.org/wiki/Project:Eudev, eudev device management daemon}. Compared to the previous example, in addition to an extension of @code{shepherd-root-service-type}, we see two new fields:"
  62448. msgstr ""
  62449. #. type: item
  62450. #: guix-git/doc/guix.texi:41069
  62451. #, no-wrap
  62452. msgid "compose"
  62453. msgstr ""
  62454. #. type: table
  62455. #: guix-git/doc/guix.texi:41072
  62456. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  62457. msgstr ""
  62458. #. type: table
  62459. #: guix-git/doc/guix.texi:41075
  62460. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  62461. msgstr ""
  62462. #. type: item
  62463. #: guix-git/doc/guix.texi:41076
  62464. #, no-wrap
  62465. msgid "extend"
  62466. msgstr ""
  62467. #. type: table
  62468. #: guix-git/doc/guix.texi:41079
  62469. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  62470. msgstr ""
  62471. #. type: table
  62472. #: guix-git/doc/guix.texi:41084
  62473. msgid "Udev extensions are composed into a list of rules, but the udev service value is itself a @code{<udev-configuration>} record. So here, we extend that record by appending the list of rules it contains to the list of contributed rules."
  62474. msgstr ""
  62475. #. type: table
  62476. #: guix-git/doc/guix.texi:41090
  62477. msgid "This is a string giving an overview of the service type. The string can contain Texinfo markup (@pxref{Overview,,, texinfo, GNU Texinfo}). The @command{guix system search} command searches these strings and displays them (@pxref{Invoking guix system})."
  62478. msgstr ""
  62479. #. type: Plain text
  62480. #: guix-git/doc/guix.texi:41095
  62481. msgid "There can be only one instance of an extensible service type such as @code{udev-service-type}. If there were more, the @code{service-extension} specifications would be ambiguous."
  62482. msgstr ""
  62483. #. type: Plain text
  62484. #: guix-git/doc/guix.texi:41098
  62485. msgid "Still here? The next section provides a reference of the programming interface for services."
  62486. msgstr ""
  62487. #. type: Plain text
  62488. #: guix-git/doc/guix.texi:41106
  62489. msgid "We have seen an overview of service types (@pxref{Service Types and Services}). This section provides a reference on how to manipulate services and service types. This interface is provided by the @code{(gnu services)} module."
  62490. msgstr ""
  62491. #. type: defun
  62492. #: guix-git/doc/guix.texi:41107
  62493. #, fuzzy, no-wrap
  62494. #| msgid "guix-publish-service-type"
  62495. msgid "service type [value]"
  62496. msgstr "guix-publish-service-type"
  62497. #. type: defun
  62498. #: guix-git/doc/guix.texi:41111
  62499. msgid "Return a new service of @var{type}, a @code{<service-type>} object (see below). @var{value} can be any object; it represents the parameters of this particular service instance."
  62500. msgstr ""
  62501. #. type: defun
  62502. #: guix-git/doc/guix.texi:41115
  62503. msgid "When @var{value} is omitted, the default value specified by @var{type} is used; if @var{type} does not specify a default value, an error is raised."
  62504. msgstr ""
  62505. #. type: defun
  62506. #: guix-git/doc/guix.texi:41117
  62507. msgid "For instance, this:"
  62508. msgstr ""
  62509. #. type: lisp
  62510. #: guix-git/doc/guix.texi:41120
  62511. #, no-wrap
  62512. msgid "(service openssh-service-type)\n"
  62513. msgstr ""
  62514. #. type: defun
  62515. #: guix-git/doc/guix.texi:41124
  62516. msgid "is equivalent to this:"
  62517. msgstr ""
  62518. #. type: lisp
  62519. #: guix-git/doc/guix.texi:41128
  62520. #, no-wrap
  62521. msgid ""
  62522. "(service openssh-service-type\n"
  62523. " (openssh-configuration))\n"
  62524. msgstr ""
  62525. #. type: defun
  62526. #: guix-git/doc/guix.texi:41132
  62527. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  62528. msgstr ""
  62529. #. type: defun
  62530. #: guix-git/doc/guix.texi:41134
  62531. #, fuzzy, no-wrap
  62532. #| msgid "Services"
  62533. msgid "service? obj"
  62534. msgstr "Serviços"
  62535. #. type: defun
  62536. #: guix-git/doc/guix.texi:41136
  62537. msgid "Return true if @var{obj} is a service."
  62538. msgstr ""
  62539. #. type: defun
  62540. #: guix-git/doc/guix.texi:41138
  62541. #, fuzzy, no-wrap
  62542. #| msgid "Service Types and Services"
  62543. msgid "service-kind service"
  62544. msgstr "Tipos de Service e Serviços"
  62545. #. type: defun
  62546. #: guix-git/doc/guix.texi:41140
  62547. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  62548. msgstr ""
  62549. #. type: defun
  62550. #: guix-git/doc/guix.texi:41142
  62551. #, fuzzy, no-wrap
  62552. #| msgid "guix-publish-service-type"
  62553. msgid "service-value service"
  62554. msgstr "guix-publish-service-type"
  62555. #. type: defun
  62556. #: guix-git/doc/guix.texi:41145
  62557. msgid "Return the value associated with @var{service}. It represents its parameters."
  62558. msgstr ""
  62559. #. type: Plain text
  62560. #: guix-git/doc/guix.texi:41148
  62561. msgid "Here is an example of how a service is created and manipulated:"
  62562. msgstr ""
  62563. #. type: lisp
  62564. #: guix-git/doc/guix.texi:41157
  62565. #, no-wrap
  62566. msgid ""
  62567. "(define s\n"
  62568. " (service nginx-service-type\n"
  62569. " (nginx-configuration\n"
  62570. " (nginx nginx)\n"
  62571. " (log-directory log-directory)\n"
  62572. " (run-directory run-directory)\n"
  62573. " (file config-file))))\n"
  62574. "\n"
  62575. msgstr ""
  62576. #. type: lisp
  62577. #: guix-git/doc/guix.texi:41160
  62578. #, no-wrap
  62579. msgid ""
  62580. "(service? s)\n"
  62581. "@result{} #t\n"
  62582. "\n"
  62583. msgstr ""
  62584. #. type: lisp
  62585. #: guix-git/doc/guix.texi:41163
  62586. #, no-wrap
  62587. msgid ""
  62588. "(eq? (service-kind s) nginx-service-type)\n"
  62589. "@result{} #t\n"
  62590. msgstr ""
  62591. #. type: Plain text
  62592. #: guix-git/doc/guix.texi:41173
  62593. msgid "The @code{modify-services} form provides a handy way to change the parameters of some of the services of a list such as @code{%base-services} (@pxref{Base Services, @code{%base-services}}). It evaluates to a list of services. Of course, you could always use standard list combinators such as @code{map} and @code{fold} to do that (@pxref{SRFI-1, List Library,, guile, GNU Guile Reference Manual}); @code{modify-services} simply provides a more concise form for this common pattern."
  62594. msgstr ""
  62595. #. type: defspec
  62596. #: guix-git/doc/guix.texi:41174
  62597. #, no-wrap
  62598. msgid "modify-services services @"
  62599. msgstr ""
  62600. #. type: defspec
  62601. #: guix-git/doc/guix.texi:41176
  62602. msgid "(type variable => body) @dots{}"
  62603. msgstr ""
  62604. #. type: defspec
  62605. #: guix-git/doc/guix.texi:41179
  62606. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  62607. msgstr ""
  62608. #. type: example
  62609. #: guix-git/doc/guix.texi:41182
  62610. #, no-wrap
  62611. msgid "(@var{type} @var{variable} => @var{body})\n"
  62612. msgstr ""
  62613. #. type: defspec
  62614. #: guix-git/doc/guix.texi:41189
  62615. msgid "where @var{type} is a service type---e.g., @code{guix-service-type}---and @var{variable} is an identifier that is bound within the @var{body} to the service parameters---e.g., a @code{guix-configuration} instance---of the original service of that @var{type}."
  62616. msgstr ""
  62617. #. type: defspec
  62618. #: guix-git/doc/guix.texi:41196
  62619. msgid "The @var{body} should evaluate to the new service parameters, which will be used to configure the new service. This new service will replace the original in the resulting list. Because a service's service parameters are created using @code{define-record-type*}, you can write a succinct @var{body} that evaluates to the new service parameters by using the @code{inherit} feature that @code{define-record-type*} provides."
  62620. msgstr ""
  62621. #. type: defspec
  62622. #: guix-git/doc/guix.texi:41198
  62623. #, fuzzy
  62624. #| msgid "Packages are currently available on the following platforms:"
  62625. msgid "Clauses can also have the following form:"
  62626. msgstr "Os pacotes estão atualmente disponíveis nas seguintes plataformas:"
  62627. #. type: lisp
  62628. #: guix-git/doc/guix.texi:41201
  62629. #, fuzzy, no-wrap
  62630. #| msgid "-t @var{type}"
  62631. msgid "(delete @var{type})\n"
  62632. msgstr "(delete @var{type})\n"
  62633. #. type: defspec
  62634. #: guix-git/doc/guix.texi:41205
  62635. msgid "Such a clause removes all services of the given @var{type} from @var{services}."
  62636. msgstr ""
  62637. #. type: defspec
  62638. #: guix-git/doc/guix.texi:41207
  62639. msgid "@xref{Using the Configuration System}, for example usage."
  62640. msgstr ""
  62641. #. type: Plain text
  62642. #: guix-git/doc/guix.texi:41214
  62643. msgid "Next comes the programming interface for service types. This is something you want to know when writing new service definitions, but not necessarily when simply looking for ways to customize your @code{operating-system} declaration."
  62644. msgstr ""
  62645. #. type: deftp
  62646. #: guix-git/doc/guix.texi:41215
  62647. #, no-wrap
  62648. msgid "{Data Type} service-type"
  62649. msgstr ""
  62650. #. type: cindex
  62651. #: guix-git/doc/guix.texi:41216
  62652. #, no-wrap
  62653. msgid "service type"
  62654. msgstr ""
  62655. #. type: deftp
  62656. #: guix-git/doc/guix.texi:41219
  62657. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  62658. msgstr ""
  62659. #. type: table
  62660. #: guix-git/doc/guix.texi:41223
  62661. msgid "This is a symbol, used only to simplify inspection and debugging."
  62662. msgstr ""
  62663. #. type: code{#1}
  62664. #: guix-git/doc/guix.texi:41224
  62665. #, no-wrap
  62666. msgid "extensions"
  62667. msgstr ""
  62668. #. type: table
  62669. #: guix-git/doc/guix.texi:41226
  62670. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  62671. msgstr ""
  62672. #. type: item
  62673. #: guix-git/doc/guix.texi:41227
  62674. #, no-wrap
  62675. msgid "@code{compose} (default: @code{#f})"
  62676. msgstr "@code{compose} (default: @code{#f})"
  62677. #. type: table
  62678. #: guix-git/doc/guix.texi:41231
  62679. msgid "If this is @code{#f}, then the service type denotes services that cannot be extended---i.e., services that do not receive ``values'' from other services."
  62680. msgstr ""
  62681. #. type: table
  62682. #: guix-git/doc/guix.texi:41235
  62683. msgid "Otherwise, it must be a one-argument procedure. The procedure is called by @code{fold-services} and is passed a list of values collected from extensions. It may return any single value."
  62684. msgstr ""
  62685. #. type: item
  62686. #: guix-git/doc/guix.texi:41236
  62687. #, no-wrap
  62688. msgid "@code{extend} (default: @code{#f})"
  62689. msgstr "@code{extend} (default: @code{#f})"
  62690. #. type: table
  62691. #: guix-git/doc/guix.texi:41238
  62692. msgid "If this is @code{#f}, services of this type cannot be extended."
  62693. msgstr ""
  62694. #. type: table
  62695. #: guix-git/doc/guix.texi:41244
  62696. msgid "Otherwise, it must be a two-argument procedure: @code{fold-services} calls it, passing it the initial value of the service as the first argument and the result of applying @code{compose} to the extension values as the second argument. It must return a value that is a valid parameter value for the service instance."
  62697. msgstr ""
  62698. #. type: table
  62699. #: guix-git/doc/guix.texi:41250
  62700. msgid "This is a string, possibly using Texinfo markup, describing in a couple of sentences what the service is about. This string allows users to find about the service through @command{guix system search} (@pxref{Invoking guix system})."
  62701. msgstr ""
  62702. #. type: item
  62703. #: guix-git/doc/guix.texi:41251
  62704. #, no-wrap
  62705. msgid "@code{default-value} (default: @code{&no-default-value})"
  62706. msgstr ""
  62707. #. type: table
  62708. #: guix-git/doc/guix.texi:41254
  62709. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  62710. msgstr ""
  62711. #. type: lisp
  62712. #: guix-git/doc/guix.texi:41257
  62713. #, no-wrap
  62714. msgid "(service @var{type})\n"
  62715. msgstr ""
  62716. #. type: table
  62717. #: guix-git/doc/guix.texi:41261
  62718. msgid "The returned service in this case has the default value specified by @var{type}."
  62719. msgstr ""
  62720. #. type: deftp
  62721. #: guix-git/doc/guix.texi:41264
  62722. msgid "@xref{Service Types and Services}, for examples."
  62723. msgstr ""
  62724. #. type: defun
  62725. #: guix-git/doc/guix.texi:41266
  62726. #, no-wrap
  62727. msgid "service-extension target-type compute"
  62728. msgstr ""
  62729. #. type: defun
  62730. #: guix-git/doc/guix.texi:41271
  62731. msgid "Return a new extension for services of type @var{target-type}. @var{compute} must be a one-argument procedure: @code{fold-services} calls it, passing it the value associated with the service that provides the extension; it must return a valid value for the target service."
  62732. msgstr ""
  62733. #. type: defun
  62734. #: guix-git/doc/guix.texi:41273
  62735. #, no-wrap
  62736. msgid "service-extension? obj"
  62737. msgstr ""
  62738. #. type: defun
  62739. #: guix-git/doc/guix.texi:41275
  62740. msgid "Return true if @var{obj} is a service extension."
  62741. msgstr ""
  62742. #. type: Plain text
  62743. #: guix-git/doc/guix.texi:41281
  62744. msgid "Occasionally, you might want to simply extend an existing service. This involves creating a new service type and specifying the extension of interest, which can be verbose; the @code{simple-service} procedure provides a shorthand for this."
  62745. msgstr ""
  62746. #. type: defun
  62747. #: guix-git/doc/guix.texi:41282
  62748. #, no-wrap
  62749. msgid "simple-service name target value"
  62750. msgstr ""
  62751. #. type: defun
  62752. #: guix-git/doc/guix.texi:41286
  62753. msgid "Return a service that extends @var{target} with @var{value}. This works by creating a singleton service type @var{name}, of which the returned service is an instance."
  62754. msgstr ""
  62755. #. type: defun
  62756. #: guix-git/doc/guix.texi:41289
  62757. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  62758. msgstr ""
  62759. #. type: lisp
  62760. #: guix-git/doc/guix.texi:41293
  62761. #, no-wrap
  62762. msgid ""
  62763. "(simple-service 'my-mcron-job mcron-service-type\n"
  62764. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  62765. msgstr ""
  62766. #. type: Plain text
  62767. #: guix-git/doc/guix.texi:41303
  62768. msgid "At the core of the service abstraction lies the @code{fold-services} procedure, which is responsible for ``compiling'' a list of services down to a single directory that contains everything needed to boot and run the system---the directory shown by the @command{guix system build} command (@pxref{Invoking guix system}). In essence, it propagates service extensions down the service graph, updating each node parameters on the way, until it reaches the root node."
  62769. msgstr ""
  62770. #. type: defun
  62771. #: guix-git/doc/guix.texi:41304
  62772. #, no-wrap
  62773. msgid "fold-services services [#:target-type system-service-type]"
  62774. msgstr ""
  62775. #. type: defun
  62776. #: guix-git/doc/guix.texi:41307
  62777. msgid "Fold @var{services} by propagating their extensions down to the root of type @var{target-type}; return the root service adjusted accordingly."
  62778. msgstr ""
  62779. #. type: Plain text
  62780. #: guix-git/doc/guix.texi:41311
  62781. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  62782. msgstr ""
  62783. #. type: defvar
  62784. #: guix-git/doc/guix.texi:41312
  62785. #, fuzzy, no-wrap
  62786. #| msgid "guix-publish-service-type"
  62787. msgid "system-service-type"
  62788. msgstr "guix-publish-service-type"
  62789. #. type: defvar
  62790. #: guix-git/doc/guix.texi:41315
  62791. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  62792. msgstr ""
  62793. #. type: defvar
  62794. #: guix-git/doc/guix.texi:41317
  62795. #, fuzzy, no-wrap
  62796. #| msgid "guix-publish-service-type"
  62797. msgid "boot-service-type"
  62798. msgstr "guix-publish-service-type"
  62799. #. type: defvar
  62800. #: guix-git/doc/guix.texi:41320
  62801. msgid "The type of the ``boot service'', which produces the @dfn{boot script}. The boot script is what the initial RAM disk runs when booting."
  62802. msgstr ""
  62803. #. type: defvar
  62804. #: guix-git/doc/guix.texi:41322
  62805. #, fuzzy, no-wrap
  62806. #| msgid "guix-publish-service-type"
  62807. msgid "etc-service-type"
  62808. msgstr "guix-publish-service-type"
  62809. #. type: defvar
  62810. #: guix-git/doc/guix.texi:41326
  62811. msgid "The type of the @file{/etc} service. This service is used to create files under @file{/etc} and can be extended by passing it name/file tuples such as:"
  62812. msgstr ""
  62813. #. type: lisp
  62814. #: guix-git/doc/guix.texi:41329
  62815. #, no-wrap
  62816. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  62817. msgstr ""
  62818. #. type: defvar
  62819. #: guix-git/doc/guix.texi:41333
  62820. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  62821. msgstr ""
  62822. #. type: defvar
  62823. #: guix-git/doc/guix.texi:41335
  62824. #, fuzzy, no-wrap
  62825. #| msgid "guix-publish-service-type"
  62826. msgid "setuid-program-service-type"
  62827. msgstr "guix-publish-service-type"
  62828. #. type: defvar
  62829. #: guix-git/doc/guix.texi:41339
  62830. msgid "Type for the ``setuid-program service''. This service collects lists of executable file names, passed as gexps, and adds them to the set of setuid and setgid programs on the system (@pxref{Setuid Programs})."
  62831. msgstr ""
  62832. #. type: defvar
  62833. #: guix-git/doc/guix.texi:41341
  62834. #, fuzzy, no-wrap
  62835. #| msgid "guix-publish-service-type"
  62836. msgid "profile-service-type"
  62837. msgstr "guix-publish-service-type"
  62838. #. type: defvar
  62839. #: guix-git/doc/guix.texi:41345
  62840. msgid "Type of the service that populates the @dfn{system profile}---i.e., the programs under @file{/run/current-system/profile}. Other services can extend it by passing it lists of packages to add to the system profile."
  62841. msgstr ""
  62842. #. type: defvar
  62843. #: guix-git/doc/guix.texi:41349
  62844. #, no-wrap
  62845. msgid "provenance-service-type"
  62846. msgstr ""
  62847. #. type: defvar
  62848. #: guix-git/doc/guix.texi:41353
  62849. msgid "This is the type of the service that records @dfn{provenance meta-data} in the system itself. It creates several files under @file{/run/current-system}:"
  62850. msgstr ""
  62851. #. type: item
  62852. #: guix-git/doc/guix.texi:41355
  62853. #, no-wrap
  62854. msgid "channels.scm"
  62855. msgstr ""
  62856. #. type: table
  62857. #: guix-git/doc/guix.texi:41360
  62858. msgid "This is a ``channel file'' that can be passed to @command{guix pull -C} or @command{guix time-machine -C}, and which describes the channels used to build the system, if that information was available (@pxref{Channels})."
  62859. msgstr ""
  62860. #. type: item
  62861. #: guix-git/doc/guix.texi:41361
  62862. #, no-wrap
  62863. msgid "configuration.scm"
  62864. msgstr ""
  62865. #. type: table
  62866. #: guix-git/doc/guix.texi:41366
  62867. msgid "This is the file that was passed as the value for this @code{provenance-service-type} service. By default, @command{guix system reconfigure} automatically passes the OS configuration file it received on the command line."
  62868. msgstr ""
  62869. #. type: item
  62870. #: guix-git/doc/guix.texi:41367
  62871. #, no-wrap
  62872. msgid "provenance"
  62873. msgstr ""
  62874. #. type: table
  62875. #: guix-git/doc/guix.texi:41370
  62876. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  62877. msgstr ""
  62878. #. type: defvar
  62879. #: guix-git/doc/guix.texi:41374
  62880. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  62881. msgstr ""
  62882. #. type: quotation
  62883. #: guix-git/doc/guix.texi:41375
  62884. #, no-wrap
  62885. msgid "Caveats"
  62886. msgstr ""
  62887. #. type: quotation
  62888. #: guix-git/doc/guix.texi:41382
  62889. msgid "This information is necessary to rebuild your operating system, but it is not always sufficient. In particular, @file{configuration.scm} itself is insufficient if it is not self-contained---if it refers to external Guile modules or to extra files. If you want @file{configuration.scm} to be self-contained, we recommend that modules or files it refers to be part of a channel."
  62890. msgstr ""
  62891. #. type: quotation
  62892. #: guix-git/doc/guix.texi:41390
  62893. msgid "Besides, provenance meta-data is ``silent'' in the sense that it does not change the bits contained in your system, @emph{except for the meta-data bits themselves}. Two different OS configurations or sets of channels can lead to the same system, bit-for-bit; when @code{provenance-service-type} is used, these two systems will have different meta-data and thus different store file names, which makes comparison less trivial."
  62894. msgstr ""
  62895. #. type: defvar
  62896. #: guix-git/doc/guix.texi:41395
  62897. msgid "This service is automatically added to your operating system configuration when you use @command{guix system reconfigure}, @command{guix system init}, or @command{guix deploy}."
  62898. msgstr ""
  62899. #. type: defvar
  62900. #: guix-git/doc/guix.texi:41397
  62901. #, fuzzy, no-wrap
  62902. msgid "linux-loadable-module-service-type"
  62903. msgstr "guix-publish-service-type"
  62904. #. type: defvar
  62905. #: guix-git/doc/guix.texi:41401
  62906. msgid "Type of the service that collects lists of packages containing kernel-loadable modules, and adds them to the set of kernel-loadable modules."
  62907. msgstr ""
  62908. #. type: defvar
  62909. #: guix-git/doc/guix.texi:41404
  62910. msgid "This service type is intended to be extended by other service types, such as below:"
  62911. msgstr ""
  62912. #. type: lisp
  62913. #: guix-git/doc/guix.texi:41410
  62914. #, no-wrap
  62915. msgid ""
  62916. "(simple-service 'installing-module\n"
  62917. " linux-loadable-module-service-type\n"
  62918. " (list module-to-install-1\n"
  62919. " module-to-install-2))\n"
  62920. msgstr ""
  62921. #. type: defvar
  62922. #: guix-git/doc/guix.texi:41414
  62923. msgid "This does not actually load modules at bootup, only adds it to the kernel profile so that it @emph{can} be loaded by other means."
  62924. msgstr ""
  62925. #. type: cindex
  62926. #: guix-git/doc/guix.texi:41419
  62927. #, no-wrap
  62928. msgid "shepherd services"
  62929. msgstr ""
  62930. #. type: cindex
  62931. #: guix-git/doc/guix.texi:41420
  62932. #, no-wrap
  62933. msgid "PID 1"
  62934. msgstr ""
  62935. #. type: cindex
  62936. #: guix-git/doc/guix.texi:41421
  62937. #, no-wrap
  62938. msgid "init system"
  62939. msgstr ""
  62940. #. type: Plain text
  62941. #: guix-git/doc/guix.texi:41427
  62942. msgid "The @code{(gnu services shepherd)} module provides a way to define services managed by the GNU@tie{}Shepherd, which is the initialization system---the first process that is started when the system boots, also known as PID@tie{}1 (@pxref{Introduction,,, shepherd, The GNU Shepherd Manual})."
  62943. msgstr ""
  62944. #. type: Plain text
  62945. #: guix-git/doc/guix.texi:41433
  62946. msgid "Services in the Shepherd can depend on each other. For instance, the SSH daemon may need to be started after the syslog daemon has been started, which in turn can only happen once all the file systems have been mounted. The simple operating system defined earlier (@pxref{Using the Configuration System}) results in a service graph like this:"
  62947. msgstr ""
  62948. #. type: Plain text
  62949. #: guix-git/doc/guix.texi:41435
  62950. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  62951. msgstr ""
  62952. #. type: Plain text
  62953. #: guix-git/doc/guix.texi:41439
  62954. msgid "You can actually generate such a graph for any operating system definition using the @command{guix system shepherd-graph} command (@pxref{system-shepherd-graph, @command{guix system shepherd-graph}})."
  62955. msgstr ""
  62956. #. type: Plain text
  62957. #: guix-git/doc/guix.texi:41443
  62958. msgid "The @code{%shepherd-root-service} is a service object representing PID@tie{}1, of type @code{shepherd-root-service-type}; it can be extended by passing it lists of @code{<shepherd-service>} objects."
  62959. msgstr ""
  62960. #. type: deftp
  62961. #: guix-git/doc/guix.texi:41444
  62962. #, no-wrap
  62963. msgid "{Data Type} shepherd-service"
  62964. msgstr ""
  62965. #. type: deftp
  62966. #: guix-git/doc/guix.texi:41446
  62967. msgid "The data type representing a service managed by the Shepherd."
  62968. msgstr ""
  62969. #. type: code{#1}
  62970. #: guix-git/doc/guix.texi:41448
  62971. #, no-wrap
  62972. msgid "provision"
  62973. msgstr ""
  62974. #. type: table
  62975. #: guix-git/doc/guix.texi:41450
  62976. msgid "This is a list of symbols denoting what the service provides."
  62977. msgstr ""
  62978. #. type: table
  62979. #: guix-git/doc/guix.texi:41455
  62980. msgid "These are the names that may be passed to @command{herd start}, @command{herd status}, and similar commands (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual}). @xref{Defining Services,,, shepherd, The GNU Shepherd Manual}, for details."
  62981. msgstr ""
  62982. #. type: item
  62983. #: guix-git/doc/guix.texi:41456
  62984. #, no-wrap
  62985. msgid "@code{requirement} (default: @code{'()})"
  62986. msgstr ""
  62987. #. type: table
  62988. #: guix-git/doc/guix.texi:41458
  62989. msgid "List of symbols denoting the Shepherd services this one depends on."
  62990. msgstr ""
  62991. #. type: cindex
  62992. #: guix-git/doc/guix.texi:41459
  62993. #, no-wrap
  62994. msgid "one-shot services, for the Shepherd"
  62995. msgstr ""
  62996. #. type: table
  62997. #: guix-git/doc/guix.texi:41464
  62998. msgid "Whether this service is @dfn{one-shot}. One-shot services stop immediately after their @code{start} action has completed. @xref{Slots of services,,, shepherd, The GNU Shepherd Manual}, for more info."
  62999. msgstr ""
  63000. #. type: item
  63001. #: guix-git/doc/guix.texi:41465
  63002. #, no-wrap
  63003. msgid "@code{respawn?} (default: @code{#t})"
  63004. msgstr "@code{respawn?} (padrão: @code{#t})"
  63005. #. type: table
  63006. #: guix-git/doc/guix.texi:41468
  63007. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  63008. msgstr ""
  63009. #. type: code{#1}
  63010. #: guix-git/doc/guix.texi:41469
  63011. #, no-wrap
  63012. msgid "start"
  63013. msgstr "iniciar"
  63014. #. type: itemx
  63015. #: guix-git/doc/guix.texi:41470
  63016. #, no-wrap
  63017. msgid "@code{stop} (default: @code{#~(const #f)})"
  63018. msgstr ""
  63019. #. type: table
  63020. #: guix-git/doc/guix.texi:41476
  63021. msgid "The @code{start} and @code{stop} fields refer to the Shepherd's facilities to start and stop processes (@pxref{Service De- and Constructors,,, shepherd, The GNU Shepherd Manual}). They are given as G-expressions that get expanded in the Shepherd configuration file (@pxref{G-Expressions})."
  63022. msgstr ""
  63023. #. type: item
  63024. #: guix-git/doc/guix.texi:41477
  63025. #, no-wrap
  63026. msgid "@code{actions} (default: @code{'()})"
  63027. msgstr ""
  63028. #. type: cindex
  63029. #: guix-git/doc/guix.texi:41478
  63030. #, no-wrap
  63031. msgid "actions, of Shepherd services"
  63032. msgstr ""
  63033. #. type: table
  63034. #: guix-git/doc/guix.texi:41483
  63035. msgid "This is a list of @code{shepherd-action} objects (see below) defining @dfn{actions} supported by the service, in addition to the standard @code{start} and @code{stop} actions. Actions listed here become available as @command{herd} sub-commands:"
  63036. msgstr ""
  63037. #. type: example
  63038. #: guix-git/doc/guix.texi:41486
  63039. #, no-wrap
  63040. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  63041. msgstr ""
  63042. #. type: item
  63043. #: guix-git/doc/guix.texi:41488
  63044. #, no-wrap
  63045. msgid "@code{auto-start?} (default: @code{#t})"
  63046. msgstr ""
  63047. #. type: table
  63048. #: guix-git/doc/guix.texi:41491
  63049. msgid "Whether this service should be started automatically by the Shepherd. If it is @code{#f} the service has to be started manually with @code{herd start}."
  63050. msgstr ""
  63051. #. type: table
  63052. #: guix-git/doc/guix.texi:41494
  63053. msgid "A documentation string, as shown when running:"
  63054. msgstr ""
  63055. #. type: example
  63056. #: guix-git/doc/guix.texi:41497
  63057. #, no-wrap
  63058. msgid "herd doc @var{service-name}\n"
  63059. msgstr ""
  63060. #. type: table
  63061. #: guix-git/doc/guix.texi:41501
  63062. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  63063. msgstr ""
  63064. #. type: table
  63065. #: guix-git/doc/guix.texi:41505
  63066. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  63067. msgstr ""
  63068. #. type: Plain text
  63069. #: guix-git/doc/guix.texi:41513
  63070. msgid "The example below defines a Shepherd service that spawns @command{syslogd}, the system logger from the GNU Networking Utilities (@pxref{syslogd invocation, @command{syslogd},, inetutils, GNU Inetutils}):"
  63071. msgstr ""
  63072. #. type: example
  63073. #: guix-git/doc/guix.texi:41525
  63074. #, no-wrap
  63075. msgid ""
  63076. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  63077. " (shepherd-service\n"
  63078. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  63079. " (provision '(syslogd))\n"
  63080. " (requirement '(user-processes))\n"
  63081. " (start #~(make-forkexec-constructor\n"
  63082. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  63083. " \"--rcfile\" #$config)\n"
  63084. " #:pid-file \"/var/run/syslog.pid\"))\n"
  63085. " (stop #~(make-kill-destructor))))\n"
  63086. msgstr ""
  63087. #. type: Plain text
  63088. #: guix-git/doc/guix.texi:41540
  63089. msgid "Key elements in this example are the @code{start} and @code{stop} fields: they are @dfn{staged} code snippets that use the @code{make-forkexec-constructor} procedure provided by the Shepherd and its dual, @code{make-kill-destructor} (@pxref{Service De- and Constructors,,, shepherd, The GNU Shepherd Manual}). The @code{start} field will have @command{shepherd} spawn @command{syslogd} with the given option; note that we pass @code{config} after @option{--rcfile}, which is a configuration file declared above (contents of this file are omitted). Likewise, the @code{stop} field tells how this service is to be stopped; in this case, it is stopped by making the @code{kill} system call on its PID@. Code staging is achieved using G-expressions: @code{#~} stages code, while @code{#$} ``escapes'' back to host code (@pxref{G-Expressions})."
  63090. msgstr ""
  63091. #. type: deftp
  63092. #: guix-git/doc/guix.texi:41541
  63093. #, no-wrap
  63094. msgid "{Data Type} shepherd-action"
  63095. msgstr ""
  63096. #. type: deftp
  63097. #: guix-git/doc/guix.texi:41544
  63098. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  63099. msgstr ""
  63100. #. type: table
  63101. #: guix-git/doc/guix.texi:41548
  63102. msgid "Symbol naming the action."
  63103. msgstr ""
  63104. #. type: table
  63105. #: guix-git/doc/guix.texi:41551
  63106. msgid "This is a documentation string for the action. It can be viewed by running:"
  63107. msgstr ""
  63108. #. type: example
  63109. #: guix-git/doc/guix.texi:41554
  63110. #, no-wrap
  63111. msgid "herd doc @var{service} action @var{action}\n"
  63112. msgstr ""
  63113. #. type: item
  63114. #: guix-git/doc/guix.texi:41556
  63115. #, no-wrap
  63116. msgid "procedure"
  63117. msgstr ""
  63118. #. type: table
  63119. #: guix-git/doc/guix.texi:41560
  63120. msgid "This should be a gexp that evaluates to a procedure of at least one argument, which is the ``running value'' of the service (@pxref{Slots of services,,, shepherd, The GNU Shepherd Manual})."
  63121. msgstr ""
  63122. #. type: deftp
  63123. #: guix-git/doc/guix.texi:41564
  63124. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  63125. msgstr ""
  63126. #. type: lisp
  63127. #: guix-git/doc/guix.texi:41573
  63128. #, no-wrap
  63129. msgid ""
  63130. "(shepherd-action\n"
  63131. " (name 'say-hello)\n"
  63132. " (documentation \"Say hi!\")\n"
  63133. " (procedure #~(lambda (running . args)\n"
  63134. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  63135. " args)\n"
  63136. " #t)))\n"
  63137. msgstr ""
  63138. #. type: deftp
  63139. #: guix-git/doc/guix.texi:41576
  63140. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  63141. msgstr ""
  63142. #. type: example
  63143. #: guix-git/doc/guix.texi:41582
  63144. #, no-wrap
  63145. msgid ""
  63146. "# herd say-hello example\n"
  63147. "Hello, friend! arguments: ()\n"
  63148. "# herd say-hello example a b c\n"
  63149. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  63150. msgstr ""
  63151. #. type: deftp
  63152. #: guix-git/doc/guix.texi:41587
  63153. msgid "This, as you can see, is a fairly sophisticated way to say hello. @xref{Defining Services,,, shepherd, The GNU Shepherd Manual}, for more info on actions."
  63154. msgstr ""
  63155. #. type: cindex
  63156. #: guix-git/doc/guix.texi:41589
  63157. #, fuzzy, no-wrap
  63158. msgid "configuration file, of Shepherd services"
  63159. msgstr "Gerencie a configuração do sistema operacional."
  63160. #. type: defun
  63161. #: guix-git/doc/guix.texi:41590
  63162. #, fuzzy, no-wrap
  63163. msgid "shepherd-configuration-action"
  63164. msgstr "build-machine {Data Type}"
  63165. #. type: defun
  63166. #: guix-git/doc/guix.texi:41593
  63167. msgid "Return a @code{configuration} action to display @var{file}, which should be the name of the service's configuration file."
  63168. msgstr ""
  63169. #. type: defun
  63170. #: guix-git/doc/guix.texi:41597
  63171. msgid "It can be useful to equip services with that action. For example, the service for the Tor anonymous router (@pxref{Networking Services, @code{tor-service-type}}) is defined roughly like this:"
  63172. msgstr ""
  63173. #. type: lisp
  63174. #: guix-git/doc/guix.texi:41603
  63175. #, no-wrap
  63176. msgid ""
  63177. "(let ((torrc (plain-file \"torrc\" @dots{})))\n"
  63178. " (shepherd-service\n"
  63179. " (provision '(tor))\n"
  63180. " (requirement '(user-processes loopback syslogd))\n"
  63181. "\n"
  63182. msgstr ""
  63183. #. type: lisp
  63184. #: guix-git/doc/guix.texi:41610
  63185. #, no-wrap
  63186. msgid ""
  63187. " (start #~(make-forkexec-constructor\n"
  63188. " (list #$(file-append tor \"/bin/tor\") \"-f\" #$torrc)\n"
  63189. " #:user \"tor\" #:group \"tor\"))\n"
  63190. " (stop #~(make-kill-destructor))\n"
  63191. " (actions (list (shepherd-configuration-action torrc)))\n"
  63192. " (documentation \"Run the Tor anonymous network overlay.\")))\n"
  63193. msgstr ""
  63194. #. type: defun
  63195. #: guix-git/doc/guix.texi:41614
  63196. msgid "Thanks to this action, administrators can inspect the configuration file passed to @command{tor} with this shell command:"
  63197. msgstr ""
  63198. #. type: example
  63199. #: guix-git/doc/guix.texi:41617
  63200. #, fuzzy, no-wrap
  63201. #| msgid "System Configuration"
  63202. msgid "cat $(herd configuration tor)\n"
  63203. msgstr "Configuração do sistema"
  63204. #. type: defun
  63205. #: guix-git/doc/guix.texi:41620
  63206. msgid "This can come in as a handy debugging tool!"
  63207. msgstr ""
  63208. #. type: defvar
  63209. #: guix-git/doc/guix.texi:41624
  63210. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  63211. msgstr ""
  63212. #. type: defvar
  63213. #: guix-git/doc/guix.texi:41629
  63214. msgid "This is the service type that extensions target when they want to create shepherd services (@pxref{Service Types and Services}, for an example). Each extension must pass a list of @code{<shepherd-service>}. Its value must be a @code{shepherd-configuration}, as described below."
  63215. msgstr ""
  63216. #. type: deftp
  63217. #: guix-git/doc/guix.texi:41631
  63218. #, no-wrap
  63219. msgid "{Data Type} shepherd-configuration"
  63220. msgstr ""
  63221. #. type: deftp
  63222. #: guix-git/doc/guix.texi:41633 guix-git/doc/guix.texi:42869
  63223. msgid "This data type represents the Shepherd's configuration."
  63224. msgstr ""
  63225. #. type: item
  63226. #: guix-git/doc/guix.texi:41635 guix-git/doc/guix.texi:42871
  63227. #, no-wrap
  63228. msgid "shepherd (default: @code{shepherd})"
  63229. msgstr ""
  63230. #. type: table
  63231. #: guix-git/doc/guix.texi:41637 guix-git/doc/guix.texi:42873
  63232. msgid "The Shepherd package to use."
  63233. msgstr ""
  63234. #. type: item
  63235. #: guix-git/doc/guix.texi:41638 guix-git/doc/guix.texi:42877
  63236. #, no-wrap
  63237. msgid "services (default: @code{'()})"
  63238. msgstr ""
  63239. #. type: table
  63240. #: guix-git/doc/guix.texi:41642 guix-git/doc/guix.texi:42881
  63241. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  63242. msgstr ""
  63243. #. type: Plain text
  63244. #: guix-git/doc/guix.texi:41647
  63245. msgid "The following example specifies the Shepherd package for the operating system:"
  63246. msgstr ""
  63247. #. type: lisp
  63248. #: guix-git/doc/guix.texi:41662
  63249. #, no-wrap
  63250. msgid ""
  63251. "(operating-system\n"
  63252. " ;; ...\n"
  63253. " (services (append (list openssh-service-type))\n"
  63254. " ;; ...\n"
  63255. " %desktop-services)\n"
  63256. " ;; ...\n"
  63257. " ;; Use own Shepherd package.\n"
  63258. " (essential-services\n"
  63259. " (modify-services (operating-system-default-essential-services\n"
  63260. " this-operating-system)\n"
  63261. " (shepherd-root-service-type config => (shepherd-configuration\n"
  63262. " (inherit config)\n"
  63263. " (shepherd my-shepherd))))))\n"
  63264. msgstr ""
  63265. #. type: defvar
  63266. #: guix-git/doc/guix.texi:41664
  63267. #, fuzzy, no-wrap
  63268. #| msgid "Shepherd Services"
  63269. msgid "%shepherd-root-service"
  63270. msgstr "Serviços de Shepherd"
  63271. #. type: defvar
  63272. #: guix-git/doc/guix.texi:41666
  63273. msgid "This service represents PID@tie{}1."
  63274. msgstr ""
  63275. #. type: cindex
  63276. #: guix-git/doc/guix.texi:41670
  63277. #, fuzzy, no-wrap
  63278. #| msgid "System Configuration"
  63279. msgid "complex configurations"
  63280. msgstr "Configuração do sistema"
  63281. #. type: Plain text
  63282. #: guix-git/doc/guix.texi:41675
  63283. msgid "Some programs might have rather complex configuration files or formats, and to make it easier to create Scheme bindings for these configuration files, you can use the utilities defined in the @code{(gnu services configuration)} module."
  63284. msgstr ""
  63285. #. type: Plain text
  63286. #: guix-git/doc/guix.texi:41683
  63287. msgid "The main utility is the @code{define-configuration} macro, which you will use to define a Scheme record type (@pxref{Record Overview,,, guile, GNU Guile Reference Manual}). The Scheme record will be serialized to a configuration file by using @dfn{serializers}, which are procedures that take some kind of Scheme value and returns a G-expression (@pxref{G-Expressions}), which should, once serialized to the disk, return a string. More details are listed below."
  63288. msgstr ""
  63289. #. type: defmac
  63290. #: guix-git/doc/guix.texi:41684
  63291. #, no-wrap
  63292. msgid "define-configuration name clause1 clause2 @dots{}"
  63293. msgstr ""
  63294. #. type: defmac
  63295. #: guix-git/doc/guix.texi:41687
  63296. msgid "Create a record type named @code{@var{name}} that contains the fields found in the clauses."
  63297. msgstr ""
  63298. #. type: defmac
  63299. #: guix-git/doc/guix.texi:41689
  63300. #, fuzzy
  63301. #| msgid "Packages are currently available on the following platforms:"
  63302. msgid "A clause can have one of the following forms:"
  63303. msgstr "Os pacotes estão atualmente disponíveis nas seguintes plataformas:"
  63304. #. type: example
  63305. #: guix-git/doc/guix.texi:41694
  63306. #, no-wrap
  63307. msgid ""
  63308. "(@var{field-name}\n"
  63309. " (@var{type} @var{default-value})\n"
  63310. " @var{documentation})\n"
  63311. "\n"
  63312. msgstr ""
  63313. #. type: example
  63314. #: guix-git/doc/guix.texi:41699
  63315. #, no-wrap
  63316. msgid ""
  63317. "(@var{field-name}\n"
  63318. " (@var{type} @var{default-value})\n"
  63319. " @var{documentation}\n"
  63320. " (serializer @var{serializer}))\n"
  63321. "\n"
  63322. msgstr ""
  63323. #. type: example
  63324. #: guix-git/doc/guix.texi:41703
  63325. #, no-wrap
  63326. msgid ""
  63327. "(@var{field-name}\n"
  63328. " (@var{type})\n"
  63329. " @var{documentation})\n"
  63330. "\n"
  63331. msgstr ""
  63332. #. type: example
  63333. #: guix-git/doc/guix.texi:41708
  63334. #, no-wrap
  63335. msgid ""
  63336. "(@var{field-name}\n"
  63337. " (@var{type})\n"
  63338. " @var{documentation}\n"
  63339. " (serializer @var{serializer}))\n"
  63340. "\n"
  63341. msgstr ""
  63342. #. type: example
  63343. #: guix-git/doc/guix.texi:41713
  63344. #, no-wrap
  63345. msgid ""
  63346. "(@var{field-name}\n"
  63347. " (@var{type})\n"
  63348. " @var{documentation}\n"
  63349. " (sanitizer @var{sanitizer})\n"
  63350. "\n"
  63351. msgstr ""
  63352. #. type: example
  63353. #: guix-git/doc/guix.texi:41719
  63354. #, no-wrap
  63355. msgid ""
  63356. "(@var{field-name}\n"
  63357. " (@var{type})\n"
  63358. " @var{documentation}\n"
  63359. " (sanitizer @var{sanitizer})\n"
  63360. " (serializer @var{serializer}))\n"
  63361. msgstr ""
  63362. #. type: defmac
  63363. #: guix-git/doc/guix.texi:41723
  63364. msgid "@var{field-name} is an identifier that denotes the name of the field in the generated record."
  63365. msgstr ""
  63366. #. type: defmac
  63367. #: guix-git/doc/guix.texi:41731
  63368. msgid "@var{type} is the type of the value corresponding to @var{field-name}; since Guile is untyped, a predicate procedure---@code{@var{type}?}---will be called on the value corresponding to the field to ensure that the value is of the correct type. This means that if say, @var{type} is @code{package}, then a procedure named @code{package?} will be applied on the value to make sure that it is indeed a @code{<package>} object."
  63369. msgstr ""
  63370. #. type: defmac
  63371. #: guix-git/doc/guix.texi:41735
  63372. msgid "@var{default-value} is the default value corresponding to the field; if none is specified, the user is forced to provide a value when creating an object of the record type."
  63373. msgstr ""
  63374. #. type: defmac
  63375. #: guix-git/doc/guix.texi:41740
  63376. msgid "@var{documentation} is a string formatted with Texinfo syntax which should provide a description of what setting this field does."
  63377. msgstr ""
  63378. #. type: defmac
  63379. #: guix-git/doc/guix.texi:41745
  63380. msgid "@var{sanitizer} is a procedure which takes one argument, a user-supplied value, and returns a ``sanitized'' value for the field. If no sanitizer is specified, a default sanitizer is used, which raises an error if the value is not of type @var{type}."
  63381. msgstr ""
  63382. #. type: defmac
  63383. #: guix-git/doc/guix.texi:41748
  63384. msgid "An example of a sanitizer for a field that accepts both strings and symbols looks like this:"
  63385. msgstr ""
  63386. #. type: lisp
  63387. #: guix-git/doc/guix.texi:41753
  63388. #, no-wrap
  63389. msgid ""
  63390. "(define (sanitize-foo value)\n"
  63391. " (cond ((string? value) value)\n"
  63392. " ((symbol? value) (symbol->string value))\n"
  63393. " (else (error \"bad value\"))))\n"
  63394. msgstr ""
  63395. #. type: defmac
  63396. #: guix-git/doc/guix.texi:41761
  63397. msgid "@var{serializer} is the name of a procedure which takes two arguments, the first is the name of the field, and the second is the value corresponding to the field. The procedure should return a string or G-expression (@pxref{G-Expressions}) that represents the content that will be serialized to the configuration file. If none is specified, a procedure of the name @code{serialize-@var{type}} will be used."
  63398. msgstr ""
  63399. #. type: defmac
  63400. #: guix-git/doc/guix.texi:41763
  63401. msgid "A simple serializer procedure could look like this:"
  63402. msgstr ""
  63403. #. type: lisp
  63404. #: guix-git/doc/guix.texi:41768
  63405. #, no-wrap
  63406. msgid ""
  63407. "(define (serialize-boolean field-name value)\n"
  63408. " (let ((value (if value \"true\" \"false\")))\n"
  63409. " #~(string-append #$field-name #$value)))\n"
  63410. msgstr ""
  63411. #. type: defmac
  63412. #: guix-git/doc/guix.texi:41779
  63413. msgid "In some cases multiple different configuration records might be defined in the same file, but their serializers for the same type might have to be different, because they have different configuration formats. For example, the @code{serialize-boolean} procedure for the Getmail service would have to be different from the one for the Transmission service. To make it easier to deal with this situation, one can specify a serializer prefix by using the @code{prefix} literal in the @code{define-configuration} form. This means that one doesn't have to manually specify a custom @var{serializer} for every field."
  63414. msgstr ""
  63415. #. type: lisp
  63416. #: guix-git/doc/guix.texi:41783
  63417. #, no-wrap
  63418. msgid ""
  63419. "(define (foo-serialize-string field-name value)\n"
  63420. " @dots{})\n"
  63421. "\n"
  63422. msgstr ""
  63423. #. type: lisp
  63424. #: guix-git/doc/guix.texi:41786
  63425. #, no-wrap
  63426. msgid ""
  63427. "(define (bar-serialize-string field-name value)\n"
  63428. " @dots{})\n"
  63429. "\n"
  63430. msgstr ""
  63431. #. type: lisp
  63432. #: guix-git/doc/guix.texi:41792
  63433. #, no-wrap
  63434. msgid ""
  63435. "(define-configuration foo-configuration\n"
  63436. " (label\n"
  63437. " (string)\n"
  63438. " \"The name of label.\")\n"
  63439. " (prefix foo-))\n"
  63440. "\n"
  63441. msgstr ""
  63442. #. type: lisp
  63443. #: guix-git/doc/guix.texi:41798
  63444. #, no-wrap
  63445. msgid ""
  63446. "(define-configuration bar-configuration\n"
  63447. " (ip-address\n"
  63448. " (string)\n"
  63449. " \"The IPv4 address for this device.\")\n"
  63450. " (prefix bar-))\n"
  63451. msgstr ""
  63452. #. type: defmac
  63453. #: guix-git/doc/guix.texi:41804
  63454. msgid "However, in some cases you might not want to serialize any of the values of the record, to do this, you can use the @code{no-serialization} literal. There is also the @code{define-configuration/no-serialization} macro which is a shorthand of this."
  63455. msgstr ""
  63456. #. type: lisp
  63457. #: guix-git/doc/guix.texi:41812
  63458. #, no-wrap
  63459. msgid ""
  63460. ";; Nothing will be serialized to disk.\n"
  63461. "(define-configuration foo-configuration\n"
  63462. " (field\n"
  63463. " (string \"test\")\n"
  63464. " \"Some documentation.\")\n"
  63465. " (no-serialization))\n"
  63466. "\n"
  63467. msgstr ""
  63468. #. type: lisp
  63469. #: guix-git/doc/guix.texi:41818
  63470. #, no-wrap
  63471. msgid ""
  63472. ";; The same thing as above.\n"
  63473. "(define-configuration/no-serialization bar-configuration\n"
  63474. " (field\n"
  63475. " (string \"test\")\n"
  63476. " \"Some documentation.\"))\n"
  63477. msgstr ""
  63478. #. type: defmac
  63479. #: guix-git/doc/guix.texi:41821
  63480. #, fuzzy, no-wrap
  63481. msgid "define-maybe type"
  63482. msgstr "guix-publish-service-type"
  63483. #. type: defmac
  63484. #: guix-git/doc/guix.texi:41826
  63485. msgid "Sometimes a field should not be serialized if the user doesn’t specify a value. To achieve this, you can use the @code{define-maybe} macro to define a ``maybe type''; if the value of a maybe type is left unset, or is set to the @code{%unset-value} value, then it will not be serialized."
  63486. msgstr ""
  63487. #. type: defmac
  63488. #: guix-git/doc/guix.texi:41833
  63489. msgid "When defining a ``maybe type'', the corresponding serializer for the regular type will be used by default. For example, a field of type @code{maybe-string} will be serialized using the @code{serialize-string} procedure by default, you can of course change this by specifying a custom serializer procedure. Likewise, the type of the value would have to be a string, or left unspecified."
  63490. msgstr ""
  63491. #. type: lisp
  63492. #: guix-git/doc/guix.texi:41836
  63493. #, no-wrap
  63494. msgid ""
  63495. "(define-maybe string)\n"
  63496. "\n"
  63497. msgstr ""
  63498. #. type: lisp
  63499. #: guix-git/doc/guix.texi:41839
  63500. #, no-wrap
  63501. msgid ""
  63502. "(define (serialize-string field-name value)\n"
  63503. " @dots{})\n"
  63504. "\n"
  63505. msgstr ""
  63506. #. type: lisp
  63507. #: guix-git/doc/guix.texi:41846
  63508. #, no-wrap
  63509. msgid ""
  63510. "(define-configuration baz-configuration\n"
  63511. " (name\n"
  63512. " ;; If set to a string, the `serialize-string' procedure will be used\n"
  63513. " ;; to serialize the string. Otherwise this field is not serialized.\n"
  63514. " maybe-string\n"
  63515. " \"The name of this module.\"))\n"
  63516. msgstr ""
  63517. #. type: defmac
  63518. #: guix-git/doc/guix.texi:41850
  63519. msgid "Like with @code{define-configuration}, one can set a prefix for the serializer name by using the @code{prefix} literal."
  63520. msgstr ""
  63521. #. type: lisp
  63522. #: guix-git/doc/guix.texi:41854
  63523. #, no-wrap
  63524. msgid ""
  63525. "(define-maybe integer\n"
  63526. " (prefix baz-))\n"
  63527. "\n"
  63528. msgstr ""
  63529. #. type: lisp
  63530. #: guix-git/doc/guix.texi:41857
  63531. #, no-wrap
  63532. msgid ""
  63533. "(define (baz-serialize-integer field-name value)\n"
  63534. " @dots{})\n"
  63535. msgstr ""
  63536. #. type: defmac
  63537. #: guix-git/doc/guix.texi:41864
  63538. msgid "There is also the @code{no-serialization} literal, which when set means that no serializer will be defined for the ``maybe type'', regardless of whether its value is set or not. @code{define-maybe/no-serialization} is a shorthand for specifying the @code{no-serialization} literal."
  63539. msgstr ""
  63540. #. type: lisp
  63541. #: guix-git/doc/guix.texi:41867
  63542. #, no-wrap
  63543. msgid ""
  63544. "(define-maybe/no-serialization symbol)\n"
  63545. "\n"
  63546. msgstr ""
  63547. #. type: lisp
  63548. #: guix-git/doc/guix.texi:41872
  63549. #, no-wrap
  63550. msgid ""
  63551. "(define-configuration/no-serialization test-configuration\n"
  63552. " (mode\n"
  63553. " maybe-symbol\n"
  63554. " \"Docstring.\"))\n"
  63555. msgstr ""
  63556. #. type: defun
  63557. #: guix-git/doc/guix.texi:41875
  63558. #, fuzzy, no-wrap
  63559. #| msgid "packages->manifest"
  63560. msgid "maybe-value-set? value"
  63561. msgstr "packages->manifest"
  63562. #. type: defun
  63563. #: guix-git/doc/guix.texi:41878
  63564. msgid "Predicate to check whether a user explicitly specified the value of a maybe field."
  63565. msgstr ""
  63566. #. type: defun
  63567. #: guix-git/doc/guix.texi:41880
  63568. #, fuzzy, no-wrap
  63569. #| msgid "@code{dbus?} (default: @code{#t})"
  63570. msgid "serialize-configuration configuration fields"
  63571. msgstr "@code{dbus?} (padrão: @code{#t})"
  63572. #. type: defun
  63573. #: guix-git/doc/guix.texi:41885
  63574. msgid "Return a G-expression that contains the values corresponding to the @var{fields} of @var{configuration}, a record that has been generated by @code{define-configuration}. The G-expression can then be serialized to disk by using something like @code{mixed-text-file}."
  63575. msgstr ""
  63576. #. type: defun
  63577. #: guix-git/doc/guix.texi:41887
  63578. #, no-wrap
  63579. msgid "empty-serializer field-name value"
  63580. msgstr ""
  63581. #. type: defun
  63582. #: guix-git/doc/guix.texi:41890
  63583. msgid "A serializer that just returns an empty string. The @code{serialize-package} procedure is an alias for this."
  63584. msgstr ""
  63585. #. type: Plain text
  63586. #: guix-git/doc/guix.texi:41895
  63587. msgid "Once you have defined a configuration record, you will most likely also want to document it so that other people know to use it. To help with that, there are two procedures, both of which are documented below."
  63588. msgstr ""
  63589. #. type: defun
  63590. #: guix-git/doc/guix.texi:41896
  63591. #, no-wrap
  63592. msgid "generate-documentation documentation documentation-name"
  63593. msgstr ""
  63594. #. type: defun
  63595. #: guix-git/doc/guix.texi:41902
  63596. msgid "Generate a Texinfo fragment from the docstrings in @var{documentation}, a list of @code{(@var{label} @var{fields} @var{sub-documentation} ...)}. @var{label} should be a symbol and should be the name of the configuration record. @var{fields} should be a list of all the fields available for the configuration record."
  63597. msgstr ""
  63598. #. type: defun
  63599. #: guix-git/doc/guix.texi:41907
  63600. msgid "@var{sub-documentation} is a @code{(@var{field-name} @var{configuration-name})} tuple. @var{field-name} is the name of the field which takes another configuration record as its value, and @var{configuration-name} is the name of that configuration record."
  63601. msgstr ""
  63602. #. type: defun
  63603. #: guix-git/doc/guix.texi:41914
  63604. msgid "@var{sub-documentation} is only needed if there are nested configuration records. For example, the @code{getmail-configuration} record (@pxref{Mail Services}) accepts a @code{getmail-configuration-file} record in one of its @code{rcfile} field, therefore documentation for @code{getmail-configuration-file} is nested in @code{getmail-configuration}."
  63605. msgstr ""
  63606. #. type: lisp
  63607. #: guix-git/doc/guix.texi:41921
  63608. #, no-wrap
  63609. msgid ""
  63610. "(generate-documentation\n"
  63611. " `((getmail-configuration ,getmail-configuration-fields\n"
  63612. " (rcfile getmail-configuration-file))\n"
  63613. " @dots{})\n"
  63614. " 'getmail-configuration)\n"
  63615. msgstr ""
  63616. #. type: defun
  63617. #: guix-git/doc/guix.texi:41925
  63618. msgid "@var{documentation-name} should be a symbol and should be the name of the configuration record."
  63619. msgstr ""
  63620. #. type: defun
  63621. #: guix-git/doc/guix.texi:41928
  63622. #, fuzzy, no-wrap
  63623. #| msgid "nginx-location-configuration body"
  63624. msgid "configuration->documentation configuration-symbol"
  63625. msgstr "nginx-location-configuration body"
  63626. #. type: defun
  63627. #: guix-git/doc/guix.texi:41934
  63628. msgid "Take @var{configuration-symbol}, the symbol corresponding to the name used when defining a configuration record with @code{define-configuration}, and print the Texinfo documentation of its fields. This is useful if there aren’t any nested configuration records since it only prints the documentation for the top-level fields."
  63629. msgstr ""
  63630. #. type: Plain text
  63631. #: guix-git/doc/guix.texi:41942
  63632. msgid "As of right now, there is no automated way to generate documentation for configuration records and put them in the manual. Instead, every time you make a change to the docstrings of a configuration record, you have to manually call @code{generate-documentation} or @code{configuration->documentation}, and paste the output into the @file{doc/guix.texi} file."
  63633. msgstr ""
  63634. #. type: Plain text
  63635. #: guix-git/doc/guix.texi:41946
  63636. msgid "Below is an example of a record type created using @code{define-configuration} and friends."
  63637. msgstr ""
  63638. #. type: lisp
  63639. #: guix-git/doc/guix.texi:41953
  63640. #, no-wrap
  63641. msgid ""
  63642. "(use-modules (gnu services)\n"
  63643. " (guix gexp)\n"
  63644. " (gnu services configuration)\n"
  63645. " (srfi srfi-26)\n"
  63646. " (srfi srfi-1))\n"
  63647. "\n"
  63648. msgstr ""
  63649. #. type: lisp
  63650. #: guix-git/doc/guix.texi:41961
  63651. #, no-wrap
  63652. msgid ""
  63653. ";; Turn field names, which are Scheme symbols into strings\n"
  63654. "(define (uglify-field-name field-name)\n"
  63655. " (let ((str (symbol->string field-name)))\n"
  63656. " ;; field? -> is-field\n"
  63657. " (if (string-suffix? \"?\" str)\n"
  63658. " (string-append \"is-\" (string-drop-right str 1))\n"
  63659. " str)))\n"
  63660. "\n"
  63661. msgstr ""
  63662. #. type: lisp
  63663. #: guix-git/doc/guix.texi:41964
  63664. #, no-wrap
  63665. msgid ""
  63666. "(define (serialize-string field-name value)\n"
  63667. " #~(string-append #$(uglify-field-name field-name) \" = \" #$value \"\\n\"))\n"
  63668. "\n"
  63669. msgstr ""
  63670. #. type: lisp
  63671. #: guix-git/doc/guix.texi:41967
  63672. #, no-wrap
  63673. msgid ""
  63674. "(define (serialize-integer field-name value)\n"
  63675. " (serialize-string field-name (number->string value)))\n"
  63676. "\n"
  63677. msgstr ""
  63678. #. type: lisp
  63679. #: guix-git/doc/guix.texi:41970
  63680. #, no-wrap
  63681. msgid ""
  63682. "(define (serialize-boolean field-name value)\n"
  63683. " (serialize-string field-name (if value \"true\" \"false\")))\n"
  63684. "\n"
  63685. msgstr ""
  63686. #. type: lisp
  63687. #: guix-git/doc/guix.texi:41973
  63688. #, no-wrap
  63689. msgid ""
  63690. "(define (serialize-contact-name field-name value)\n"
  63691. " #~(string-append \"\\n[\" #$value \"]\\n\"))\n"
  63692. "\n"
  63693. msgstr ""
  63694. #. type: lisp
  63695. #: guix-git/doc/guix.texi:41976
  63696. #, no-wrap
  63697. msgid ""
  63698. "(define (list-of-contact-configurations? lst)\n"
  63699. " (every contact-configuration? lst))\n"
  63700. "\n"
  63701. msgstr ""
  63702. #. type: lisp
  63703. #: guix-git/doc/guix.texi:41981
  63704. #, no-wrap
  63705. msgid ""
  63706. "(define (serialize-list-of-contact-configurations field-name value)\n"
  63707. " #~(string-append #$@@(map (cut serialize-configuration <>\n"
  63708. " contact-configuration-fields)\n"
  63709. " value)))\n"
  63710. "\n"
  63711. msgstr ""
  63712. #. type: lisp
  63713. #: guix-git/doc/guix.texi:41988
  63714. #, no-wrap
  63715. msgid ""
  63716. "(define (serialize-contacts-list-configuration configuration)\n"
  63717. " (mixed-text-file\n"
  63718. " \"contactrc\"\n"
  63719. " #~(string-append \"[Owner]\\n\"\n"
  63720. " #$(serialize-configuration\n"
  63721. " configuration contacts-list-configuration-fields))))\n"
  63722. "\n"
  63723. msgstr ""
  63724. #. type: lisp
  63725. #: guix-git/doc/guix.texi:41991
  63726. #, no-wrap
  63727. msgid ""
  63728. "(define-maybe integer)\n"
  63729. "(define-maybe string)\n"
  63730. "\n"
  63731. msgstr ""
  63732. #. type: lisp
  63733. #: guix-git/doc/guix.texi:42006
  63734. #, no-wrap
  63735. msgid ""
  63736. "(define-configuration contact-configuration\n"
  63737. " (name\n"
  63738. " (string)\n"
  63739. " \"The name of the contact.\"\n"
  63740. " serialize-contact-name)\n"
  63741. " (phone-number\n"
  63742. " maybe-integer\n"
  63743. " \"The person's phone number.\")\n"
  63744. " (email\n"
  63745. " maybe-string\n"
  63746. " \"The person's email address.\")\n"
  63747. " (married?\n"
  63748. " (boolean)\n"
  63749. " \"Whether the person is married.\"))\n"
  63750. "\n"
  63751. msgstr ""
  63752. #. type: lisp
  63753. #: guix-git/doc/guix.texi:42018
  63754. #, no-wrap
  63755. msgid ""
  63756. "(define-configuration contacts-list-configuration\n"
  63757. " (name\n"
  63758. " (string)\n"
  63759. " \"The name of the owner of this contact list.\")\n"
  63760. " (email\n"
  63761. " (string)\n"
  63762. " \"The owner's email address.\")\n"
  63763. " (contacts\n"
  63764. " (list-of-contact-configurations '())\n"
  63765. " \"A list of @@code@{contact-configuation@} records which contain\n"
  63766. "information about all your contacts.\"))\n"
  63767. msgstr ""
  63768. #. type: Plain text
  63769. #: guix-git/doc/guix.texi:42021
  63770. msgid "A contacts list configuration could then be created like this:"
  63771. msgstr ""
  63772. #. type: lisp
  63773. #: guix-git/doc/guix.texi:42037
  63774. #, no-wrap
  63775. msgid ""
  63776. "(define my-contacts\n"
  63777. " (contacts-list-configuration\n"
  63778. " (name \"Alice\")\n"
  63779. " (email \"alice@@example.org\")\n"
  63780. " (contacts\n"
  63781. " (list (contact-configuration\n"
  63782. " (name \"Bob\")\n"
  63783. " (phone-number 1234)\n"
  63784. " (email \"bob@@gnu.org\")\n"
  63785. " (married? #f))\n"
  63786. " (contact-configuration\n"
  63787. " (name \"Charlie\")\n"
  63788. " (phone-number 0000)\n"
  63789. " (married? #t))))))\n"
  63790. msgstr ""
  63791. #. type: Plain text
  63792. #: guix-git/doc/guix.texi:42041
  63793. msgid "After serializing the configuration to disk, the resulting file would look like this:"
  63794. msgstr ""
  63795. #. type: example
  63796. #: guix-git/doc/guix.texi:42046
  63797. #, no-wrap
  63798. msgid ""
  63799. "[owner]\n"
  63800. "name = Alice\n"
  63801. "email = alice@@example.org\n"
  63802. "\n"
  63803. msgstr ""
  63804. #. type: example
  63805. #: guix-git/doc/guix.texi:42051
  63806. #, no-wrap
  63807. msgid ""
  63808. "[Bob]\n"
  63809. "phone-number = 1234\n"
  63810. "email = bob@@gnu.org\n"
  63811. "is-married = false\n"
  63812. "\n"
  63813. msgstr ""
  63814. #. type: example
  63815. #: guix-git/doc/guix.texi:42055
  63816. #, no-wrap
  63817. msgid ""
  63818. "[Charlie]\n"
  63819. "phone-number = 0\n"
  63820. "is-married = true\n"
  63821. msgstr ""
  63822. #. type: cindex
  63823. #: guix-git/doc/guix.texi:42060
  63824. #, fuzzy, no-wrap
  63825. #| msgid "System Configuration"
  63826. msgid "home configuration"
  63827. msgstr "Configuração do sistema"
  63828. #. type: Plain text
  63829. #: guix-git/doc/guix.texi:42072
  63830. msgid "Guix supports declarative configuration of @dfn{home environments} by utilizing the configuration mechanism described in the previous chapter (@pxref{Defining Services}), but for user's dotfiles and packages. It works both on Guix System and foreign distros and allows users to declare all the packages and services that should be installed and configured for the user. Once a user has written a file containing @code{home-environment} record, such a configuration can be @dfn{instantiated} by an unprivileged user with the @command{guix home} command (@pxref{Invoking guix home})."
  63831. msgstr ""
  63832. #. type: Plain text
  63833. #: guix-git/doc/guix.texi:42089
  63834. msgid "The user's home environment usually consists of three basic parts: software, configuration, and state. Software in mainstream distros are usually installed system-wide, but with GNU Guix most software packages can be installed on a per-user basis without needing root privileges, and are thus considered part of the user’s @dfn{home environment}. Packages on their own are not very useful in many cases, because often they require some additional configuration, usually config files that reside in @env{XDG_CONFIG_HOME} (@file{~/.config} by default) or other directories. Everything else can be considered state, like media files, application databases, and logs."
  63835. msgstr ""
  63836. #. type: Plain text
  63837. #: guix-git/doc/guix.texi:42092
  63838. msgid "Using Guix for managing home environments provides a number of advantages:"
  63839. msgstr ""
  63840. #. type: item
  63841. #: guix-git/doc/guix.texi:42095
  63842. #, no-wrap
  63843. msgid "All software can be configured in one language (Guile Scheme),"
  63844. msgstr ""
  63845. #. type: itemize
  63846. #: guix-git/doc/guix.texi:42098
  63847. msgid "this gives users the ability to share values between configurations of different programs."
  63848. msgstr ""
  63849. #. type: item
  63850. #: guix-git/doc/guix.texi:42099
  63851. #, no-wrap
  63852. msgid "A well-defined home environment is self-contained and can be"
  63853. msgstr ""
  63854. #. type: itemize
  63855. #: guix-git/doc/guix.texi:42102
  63856. msgid "created in a declarative and reproducible way---there is no need to grab external binaries or manually edit some configuration file."
  63857. msgstr ""
  63858. #. type: item
  63859. #: guix-git/doc/guix.texi:42103
  63860. #, no-wrap
  63861. msgid "After every @command{guix home reconfigure} invocation, a new home"
  63862. msgstr ""
  63863. #. type: itemize
  63864. #: guix-git/doc/guix.texi:42107
  63865. msgid "environment generation will be created. This means that users can rollback to a previous home environment generation so they don’t have to worry about breaking their configuration."
  63866. msgstr ""
  63867. #. type: item
  63868. #: guix-git/doc/guix.texi:42108
  63869. #, no-wrap
  63870. msgid "It is possible to manage stateful data with Guix Home, this"
  63871. msgstr ""
  63872. #. type: itemize
  63873. #: guix-git/doc/guix.texi:42113
  63874. msgid "includes the ability to automatically clone Git repositories on the initial setup of the machine, and periodically running commands like @command{rsync} to sync data with another host. This functionality is still in an experimental stage, though."
  63875. msgstr ""
  63876. #. type: Plain text
  63877. #: guix-git/doc/guix.texi:42130
  63878. msgid "The home environment is configured by providing a @code{home-environment} declaration in a file that can be passed to the @command{guix home} command (@pxref{Invoking guix home}). The easiest way to get started is by generating an initial configuration with @command{guix home import}:"
  63879. msgstr ""
  63880. #. type: example
  63881. #: guix-git/doc/guix.texi:42133
  63882. #, no-wrap
  63883. msgid "guix home import ~/src/guix-config\n"
  63884. msgstr ""
  63885. #. type: Plain text
  63886. #: guix-git/doc/guix.texi:42141
  63887. msgid "The @command{guix home import} command reads some of the ``dot files'' such as @file{~/.bashrc} found in your home directory and copies them to the given directory, @file{~/src/guix-config} in this case; it also reads the contents of your profile, @file{~/.guix-profile}, and, based on that, it populates @file{~/src/guix-config/home-configuration.scm} with a Home configuration that resembles your current configuration."
  63888. msgstr ""
  63889. #. type: Plain text
  63890. #: guix-git/doc/guix.texi:42147
  63891. msgid "A simple setup can include Bash and a custom text configuration, like in the example below. Don't be afraid to declare home environment parts, which overlaps with your current dot files: before installing any configuration files, Guix Home will back up existing config files to a separate place in the home directory."
  63892. msgstr ""
  63893. #. type: quotation
  63894. #: guix-git/doc/guix.texi:42153
  63895. msgid "It is highly recommended that you manage your shell or shells with Guix Home, because it will make sure that all the necessary scripts are sourced by the shell configuration file. Otherwise you will need to do it manually. (@pxref{Configuring the Shell})."
  63896. msgstr ""
  63897. #. type: findex
  63898. #: guix-git/doc/guix.texi:42155
  63899. #, fuzzy, no-wrap
  63900. #| msgid "build environment"
  63901. msgid "home-environment"
  63902. msgstr "ambiente de compilação"
  63903. #. type: include
  63904. #: guix-git/doc/guix.texi:42157
  63905. #, fuzzy, no-wrap
  63906. #| msgid "os-config-bare-bones.texi"
  63907. msgid "he-config-bare-bones.scm"
  63908. msgstr "os-config-bare-bones.texi"
  63909. #. type: Plain text
  63910. #: guix-git/doc/guix.texi:42164
  63911. msgid "The @code{packages} field should be self-explanatory, it will install the list of packages into the user's profile. The most important field is @code{services}, it contains a list of @dfn{home services}, which are the basic building blocks of a home environment."
  63912. msgstr ""
  63913. #. type: Plain text
  63914. #: guix-git/doc/guix.texi:42172
  63915. msgid "There is no daemon (at least not necessarily) related to a home service, a home service is just an element that is used to declare part of home environment and extend other parts of it. The extension mechanism discussed in the previous chapter (@pxref{Defining Services}) should not be confused with Shepherd services (@pxref{Shepherd Services}). Using this extension mechanism and some Scheme code that glues things together gives the user the freedom to declare their own, very custom, home environments."
  63916. msgstr ""
  63917. #. type: cindex
  63918. #: guix-git/doc/guix.texi:42173 guix-git/doc/guix.texi:43797
  63919. #, fuzzy, no-wrap
  63920. #| msgid "Invoking @command{guix size}"
  63921. msgid "container, for @command{guix home}"
  63922. msgstr "Invocando @command{guix size}"
  63923. #. type: Plain text
  63924. #: guix-git/doc/guix.texi:42176
  63925. msgid "Once the configuration looks good, you can first test it in a throw-away ``container'':"
  63926. msgstr ""
  63927. #. type: example
  63928. #: guix-git/doc/guix.texi:42179 guix-git/doc/guix.texi:43807
  63929. #, fuzzy, no-wrap
  63930. #| msgid "$ guix system list-generations 10d\n"
  63931. msgid "guix home container config.scm\n"
  63932. msgstr "$ guix system list-generations 10d\n"
  63933. #. type: Plain text
  63934. #: guix-git/doc/guix.texi:42187
  63935. msgid "The command above spawns a shell where your home environment is running. The shell runs in a container, meaning it's isolated from the rest of the system, so it's a good way to try out your configuration---you can see if configuration bits are missing or misbehaving, if daemons get started, and so on. Once you exit that shell, you're back to the prompt of your original shell ``in the real world''."
  63936. msgstr ""
  63937. #. type: Plain text
  63938. #: guix-git/doc/guix.texi:42190
  63939. msgid "Once you have a configuration file that suits your needs, you can reconfigure your home by running:"
  63940. msgstr ""
  63941. #. type: example
  63942. #: guix-git/doc/guix.texi:42193
  63943. #, no-wrap
  63944. msgid "guix home reconfigure config.scm\n"
  63945. msgstr ""
  63946. #. type: Plain text
  63947. #: guix-git/doc/guix.texi:42197
  63948. msgid "This ``builds'' your home environment and creates @file{~/.guix-home} pointing to it. Voilà!"
  63949. msgstr ""
  63950. #. type: quotation
  63951. #: guix-git/doc/guix.texi:42204
  63952. msgid "Make sure the operating system has elogind, systemd, or a similar mechanism to create the XDG run-time directory and has the @env{XDG_RUNTIME_DIR} variable set. Failing that, the @file{on-first-login} script will not execute anything, and processes like user Shepherd and its descendants will not start."
  63953. msgstr ""
  63954. #. type: Plain text
  63955. #: guix-git/doc/guix.texi:42210
  63956. msgid "This section is safe to skip if your shell or shells are managed by Guix Home. Otherwise, read it carefully."
  63957. msgstr ""
  63958. #. type: Plain text
  63959. #: guix-git/doc/guix.texi:42217
  63960. msgid "There are a few scripts that must be evaluated by a login shell to activate the home environment. The shell startup files only read by login shells often have @code{profile} suffix. For more information about login shells see @ref{Invoking Bash,,, bash, The GNU Bash Reference Manual} and see @ref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}."
  63961. msgstr ""
  63962. #. type: Plain text
  63963. #: guix-git/doc/guix.texi:42224
  63964. msgid "The first script that needs to be sourced is @file{setup-environment}, which sets all the necessary environment variables (including variables declared by the user) and the second one is @file{on-first-login}, which starts Shepherd for the current user and performs actions declared by other home services that extends @code{home-run-on-first-login-service-type}."
  63965. msgstr ""
  63966. #. type: Plain text
  63967. #: guix-git/doc/guix.texi:42227
  63968. msgid "Guix Home will always create @file{~/.profile}, which contains the following lines:"
  63969. msgstr ""
  63970. #. type: example
  63971. #: guix-git/doc/guix.texi:42232
  63972. #, no-wrap
  63973. msgid ""
  63974. "HOME_ENVIRONMENT=$HOME/.guix-home\n"
  63975. ". $HOME_ENVIRONMENT/setup-environment\n"
  63976. "$HOME_ENVIRONMENT/on-first-login\n"
  63977. msgstr ""
  63978. #. type: Plain text
  63979. #: guix-git/doc/guix.texi:42242
  63980. msgid "This makes POSIX compliant login shells activate the home environment. However, in most cases this file won't be read by most modern shells, because they are run in non POSIX mode by default and have their own @file{*profile} startup files. For example Bash will prefer @file{~/.bash_profile} in case it exists and only if it doesn't will it fallback to @file{~/.profile}. Zsh (if no additional options are specified) will ignore @file{~/.profile}, even if @file{~/.zprofile} doesn't exist."
  63981. msgstr ""
  63982. #. type: Plain text
  63983. #: guix-git/doc/guix.texi:42247
  63984. msgid "To make your shell respect @file{~/.profile}, add @code{. ~/.profile} or @code{source ~/.profile} to the startup file for the login shell. In case of Bash, it is @file{~/.bash_profile}, and in case of Zsh, it is @file{~/.zprofile}."
  63985. msgstr ""
  63986. #. type: quotation
  63987. #: guix-git/doc/guix.texi:42251
  63988. msgid "This step is only required if your shell is @emph{not} managed by Guix Home. Otherwise, everything will be done automatically."
  63989. msgstr ""
  63990. #. type: cindex
  63991. #: guix-git/doc/guix.texi:42255
  63992. #, fuzzy, no-wrap
  63993. #| msgid "Other services."
  63994. msgid "home services"
  63995. msgstr "Serviços domésticos"
  63996. #. type: Plain text
  63997. #: guix-git/doc/guix.texi:42264
  63998. msgid "A @dfn{home service} is not necessarily something that has a daemon and is managed by Shepherd (@pxref{Jump Start,,, shepherd, The GNU Shepherd Manual}), in most cases it doesn't. It's a simple building block of the home environment, often declaring a set of packages to be installed in the home environment profile, a set of config files to be symlinked into @env{XDG_CONFIG_HOME} (@file{~/.config} by default), and environment variables to be set by a login shell."
  63999. msgstr ""
  64000. #. type: Plain text
  64001. #: guix-git/doc/guix.texi:42272
  64002. msgid "There is a service extension mechanism (@pxref{Service Composition}) which allows home services to extend other home services and utilize capabilities they provide; for example: declare mcron jobs (@pxref{Top,,, mcron, GNU@tie{}Mcron}) by extending @ref{Mcron Home Service}; declare daemons by extending @ref{Shepherd Home Service}; add commands, which will be invoked on by the Bash by extending @ref{Shells Home Services, @code{home-bash-service-type}}."
  64003. msgstr ""
  64004. #. type: Plain text
  64005. #: guix-git/doc/guix.texi:42283
  64006. msgid "A good way to discover available home services is using the @command{guix home search} command (@pxref{Invoking guix home}). After the required home services are found, include its module with the @code{use-modules} form (@pxref{use-modules,, Using Guile Modules, guile, The GNU Guile Reference Manual}), or the @code{#:use-modules} directive (@pxref{define-module,, Creating Guile Modules, guile, The GNU Guile Reference Manual}) and declare a home service using the @code{service} function, or extend a service type by declaring a new service with the @code{simple-service} procedure from @code{(gnu services)}."
  64007. msgstr ""
  64008. #. type: menuentry
  64009. #: guix-git/doc/guix.texi:42299
  64010. #, fuzzy
  64011. #| msgid "Game Services"
  64012. msgid "Mail: Mail Home Services"
  64013. msgstr "Serviços de jogos"
  64014. #. type: menuentry
  64015. #: guix-git/doc/guix.texi:42299
  64016. #, fuzzy
  64017. #| msgid "Messaging services."
  64018. msgid "Services for managing mail."
  64019. msgstr "Serviços de mensageria."
  64020. #. type: Plain text
  64021. #: guix-git/doc/guix.texi:42308
  64022. msgid "There are a few essential home services defined in @code{(gnu services)}, they are mostly for internal use and are required to build a home environment, but some of them will be useful for the end user."
  64023. msgstr ""
  64024. #. type: cindex
  64025. #: guix-git/doc/guix.texi:42309
  64026. #, no-wrap
  64027. msgid "environment variables"
  64028. msgstr ""
  64029. #. type: defvar
  64030. #: guix-git/doc/guix.texi:42311
  64031. #, fuzzy, no-wrap
  64032. msgid "home-environment-variables-service-type"
  64033. msgstr "guix-publish-service-type"
  64034. #. type: defvar
  64035. #: guix-git/doc/guix.texi:42316
  64036. msgid "The service of this type will be instantiated by every home environment automatically by default, there is no need to define it, but someone may want to extend it with a list of pairs to set some environment variables."
  64037. msgstr ""
  64038. #. type: lisp
  64039. #: guix-git/doc/guix.texi:42320
  64040. #, no-wrap
  64041. msgid ""
  64042. "(list (\"ENV_VAR1\" . \"value1\")\n"
  64043. " (\"ENV_VAR2\" . \"value2\"))\n"
  64044. msgstr ""
  64045. #. type: defvar
  64046. #: guix-git/doc/guix.texi:42325
  64047. msgid "The easiest way to extend a service type, without defining a new service type is to use the @code{simple-service} helper from @code{(gnu services)}."
  64048. msgstr ""
  64049. #. type: findex
  64050. #: guix-git/doc/guix.texi:42326
  64051. #, no-wrap
  64052. msgid "literal-string"
  64053. msgstr ""
  64054. #. type: lisp
  64055. #: guix-git/doc/guix.texi:42335
  64056. #, no-wrap
  64057. msgid ""
  64058. "(simple-service 'some-useful-env-vars-service\n"
  64059. "\t\thome-environment-variables-service-type\n"
  64060. "\t\t`((\"LESSHISTFILE\" . \"$XDG_CACHE_HOME/.lesshst\")\n"
  64061. " (\"SHELL\" . ,(file-append zsh \"/bin/zsh\"))\n"
  64062. " (\"USELESS_VAR\" . #f)\n"
  64063. " (\"_JAVA_AWT_WM_NONREPARENTING\" . #t)\n"
  64064. " (\"LITERAL_VALUE\" . ,(literal-string \"$@{abc@}\"))))\n"
  64065. msgstr ""
  64066. #. type: defvar
  64067. #: guix-git/doc/guix.texi:42340
  64068. msgid "If you include such a service in you home environment definition, it will add the following content to the @file{setup-environment} script (which is expected to be sourced by the login shell):"
  64069. msgstr ""
  64070. #. type: example
  64071. #: guix-git/doc/guix.texi:42346
  64072. #, no-wrap
  64073. msgid ""
  64074. "export LESSHISTFILE=\"$XDG_CACHE_HOME/.lesshst\"\n"
  64075. "export SHELL=\"/gnu/store/2hsg15n644f0glrcbkb1kqknmmqdar03-zsh-5.8/bin/zsh\"\n"
  64076. "export _JAVA_AWT_WM_NONREPARENTING\n"
  64077. "export LITERAL_VALUE='$@{abc@}'\n"
  64078. msgstr ""
  64079. #. type: defvar
  64080. #: guix-git/doc/guix.texi:42352
  64081. msgid "Notice that @code{literal-string} above lets us declare that a value is to be interpreted as a @dfn{literal string}, meaning that ``special characters'' such as the dollar sign will not be interpreted by the shell."
  64082. msgstr ""
  64083. #. type: quotation
  64084. #: guix-git/doc/guix.texi:42358
  64085. msgid "Make sure that module @code{(gnu packages shells)} is imported with @code{use-modules} or any other way, this namespace contains the definition of the @code{zsh} package, which is used in the example above."
  64086. msgstr ""
  64087. #. type: defvar
  64088. #: guix-git/doc/guix.texi:42371
  64089. msgid "The association list (@pxref{Association Lists, alists, Association Lists, guile, The GNU Guile Reference manual}) is a data structure containing key-value pairs, for @code{home-environment-variables-service-type} the key is always a string, the value can be a string, string-valued gexp (@pxref{G-Expressions}), file-like object (@pxref{G-Expressions, file-like object}) or boolean. For gexps, the variable will be set to the value of the gexp; for file-like objects, it will be set to the path of the file in the store (@pxref{The Store}); for @code{#t}, it will export the variable without any value; and for @code{#f}, it will omit variable."
  64090. msgstr ""
  64091. #. type: defvar
  64092. #: guix-git/doc/guix.texi:42374
  64093. #, fuzzy, no-wrap
  64094. msgid "home-profile-service-type"
  64095. msgstr "guix-publish-service-type"
  64096. #. type: defvar
  64097. #: guix-git/doc/guix.texi:42380
  64098. msgid "The service of this type will be instantiated by every home environment automatically, there is no need to define it, but you may want to extend it with a list of packages if you want to install additional packages into your profile. Other services, which need to make some programs available to the user will also extend this service type."
  64099. msgstr ""
  64100. #. type: defvar
  64101. #: guix-git/doc/guix.texi:42382
  64102. msgid "The extension value is just a list of packages:"
  64103. msgstr ""
  64104. #. type: lisp
  64105. #: guix-git/doc/guix.texi:42385
  64106. #, no-wrap
  64107. msgid "(list htop vim emacs)\n"
  64108. msgstr ""
  64109. #. type: defvar
  64110. #: guix-git/doc/guix.texi:42395
  64111. msgid "The same approach as @code{simple-service} (@pxref{Service Reference, simple-service}) for @code{home-environment-variables-service-type} can be used here, too. Make sure that modules containing the specified packages are imported with @code{use-modules}. To find a package or information about its module use @command{guix search} (@pxref{Invoking guix package}). Alternatively, @code{specification->package} can be used to get the package record from string without importing related module."
  64112. msgstr ""
  64113. #. type: Plain text
  64114. #: guix-git/doc/guix.texi:42399
  64115. msgid "There are few more essential services, but users are not expected to extend them."
  64116. msgstr ""
  64117. #. type: defvar
  64118. #: guix-git/doc/guix.texi:42400
  64119. #, fuzzy, no-wrap
  64120. #| msgid "guix-publish-service-type"
  64121. msgid "home-service-type"
  64122. msgstr "guix-publish-service-type"
  64123. #. type: defvar
  64124. #: guix-git/doc/guix.texi:42405
  64125. msgid "The root of home services DAG, it generates a folder, which later will be symlinked to @file{~/.guix-home}, it contains configurations, profile with binaries and libraries, and some necessary scripts to glue things together."
  64126. msgstr ""
  64127. #. type: defvar
  64128. #: guix-git/doc/guix.texi:42407
  64129. #, fuzzy, no-wrap
  64130. msgid "home-run-on-first-login-service-type"
  64131. msgstr "guix-publish-service-type"
  64132. #. type: defvar
  64133. #: guix-git/doc/guix.texi:42412
  64134. msgid "The service of this type generates a Guile script, which is expected to be executed by the login shell. It is only executed if the special flag file inside @env{XDG_RUNTIME_DIR} hasn't been created, this prevents redundant executions of the script if multiple login shells are spawned."
  64135. msgstr ""
  64136. #. type: defvar
  64137. #: guix-git/doc/guix.texi:42418
  64138. msgid "It can be extended with a gexp. However, to autostart an application, users @emph{should not} use this service, in most cases it's better to extend @code{home-shepherd-service-type} with a Shepherd service (@pxref{Shepherd Services}), or extend the shell's startup file with the required command using the appropriate service type."
  64139. msgstr ""
  64140. #. type: defvar
  64141. #: guix-git/doc/guix.texi:42420
  64142. #, fuzzy, no-wrap
  64143. msgid "home-files-service-type"
  64144. msgstr "guix-publish-service-type"
  64145. #. type: defvar
  64146. #: guix-git/doc/guix.texi:42427
  64147. msgid "The service of this type allows to specify a list of files, which will go to @file{~/.guix-home/files}, usually this directory contains configuration files (to be more precise it contains symlinks to files in @file{/gnu/store}), which should be placed in @file{$XDG_CONFIG_DIR} or in rare cases in @file{$HOME}. It accepts extension values in the following format:"
  64148. msgstr ""
  64149. #. type: lisp
  64150. #: guix-git/doc/guix.texi:42431
  64151. #, no-wrap
  64152. msgid ""
  64153. "`((\".sway/config\" ,sway-file-like-object)\n"
  64154. " (\".tmux.conf\" ,(local-file \"./tmux.conf\")))\n"
  64155. msgstr ""
  64156. #. type: defvar
  64157. #: guix-git/doc/guix.texi:42444
  64158. msgid "Each nested list contains two values: a subdirectory and file-like object. After building a home environment @file{~/.guix-home/files} will be populated with apropiate content and all nested directories will be created accordingly, however, those files won't go any further until some other service will do it. By default a @code{home-symlink-manager-service-type}, which creates necessary symlinks in home folder to files from @file{~/.guix-home/files} and backs up already existing, but clashing configs and other things, is a part of essential home services (enabled by default), but it's possible to use alternative services to implement more advanced use cases like read-only home. Feel free to experiment and share your results."
  64159. msgstr ""
  64160. #. type: defvar
  64161. #: guix-git/doc/guix.texi:42446
  64162. #, fuzzy, no-wrap
  64163. msgid "home-xdg-configuration-files-service-type"
  64164. msgstr "guix-publish-service-type"
  64165. #. type: defvar
  64166. #: guix-git/doc/guix.texi:42453
  64167. msgid "The service is very similiar to @code{home-files-service-type} (and actually extends it), but used for defining files, which will go to @file{~/.guix-home/files/.config}, which will be symlinked to @file{$XDG_CONFIG_DIR} by @code{home-symlink-manager-service-type} (for example) during activation. It accepts extension values in the following format:"
  64168. msgstr ""
  64169. #. type: lisp
  64170. #: guix-git/doc/guix.texi:42459
  64171. #, no-wrap
  64172. msgid ""
  64173. "`((\"sway/config\" ,sway-file-like-object)\n"
  64174. " ;; -> ~/.guix-home/files/.config/sway/config\n"
  64175. " ;; -> $XDG_CONFIG_DIR/sway/config (by symlink-manager)\n"
  64176. " (\"tmux/tmux.conf\" ,(local-file \"./tmux.conf\")))\n"
  64177. msgstr ""
  64178. #. type: defvar
  64179. #: guix-git/doc/guix.texi:42462
  64180. #, fuzzy, no-wrap
  64181. msgid "home-activation-service-type"
  64182. msgstr "guix-publish-service-type"
  64183. #. type: defvar
  64184. #: guix-git/doc/guix.texi:42466
  64185. msgid "The service of this type generates a guile script, which runs on every @command{guix home reconfigure} invocation or any other action, which leads to the activation of the home environment."
  64186. msgstr ""
  64187. #. type: defvar
  64188. #: guix-git/doc/guix.texi:42468
  64189. #, fuzzy, no-wrap
  64190. msgid "home-symlink-manager-service-type"
  64191. msgstr "guix-publish-service-type"
  64192. #. type: defvar
  64193. #: guix-git/doc/guix.texi:42472
  64194. msgid "The service of this type generates a guile script, which will be executed during activation of home environment, and do a few following steps:"
  64195. msgstr ""
  64196. #. type: enumerate
  64197. #: guix-git/doc/guix.texi:42477
  64198. msgid "Reads the content of @file{files/} directory of current and pending home environments."
  64199. msgstr ""
  64200. #. type: enumerate
  64201. #: guix-git/doc/guix.texi:42482
  64202. msgid "Cleans up all symlinks created by symlink-manager on previous activation. Also, sub-directories, which become empty also will be cleaned up."
  64203. msgstr ""
  64204. #. type: enumerate
  64205. #: guix-git/doc/guix.texi:42495
  64206. msgid "Creates new symlinks the following way: It looks @file{files/} directory (usually defined with @code{home-files-service-type}, @code{home-xdg-configuration-files-service-type} and maybe some others), takes the files from @file{files/.config/} subdirectory and put respective links in @env{XDG_CONFIG_DIR}. For example symlink for @file{files/.config/sway/config} will end up in @file{$XDG_CONFIG_DIR/sway/config}. The rest files in @file{files/} outside of @file{files/.config/} subdirectory will be treated slightly different: symlink will just go to @file{$HOME}. @file{files/.some-program/config} will end up in @file{$HOME/.some-program/config}."
  64207. msgstr ""
  64208. #. type: enumerate
  64209. #: guix-git/doc/guix.texi:42498
  64210. msgid "If some sub-directories are missing, they will be created."
  64211. msgstr ""
  64212. #. type: enumerate
  64213. #: guix-git/doc/guix.texi:42501
  64214. msgid "If there is a clashing files on the way, they will be backed up."
  64215. msgstr ""
  64216. #. type: defvar
  64217. #: guix-git/doc/guix.texi:42506
  64218. msgid "symlink-manager is a part of essential home services and is enabled and used by default."
  64219. msgstr ""
  64220. #. type: node
  64221. #: guix-git/doc/guix.texi:42509
  64222. #, fuzzy, no-wrap
  64223. #| msgid "Shepherd Services"
  64224. msgid "Shells Home Services"
  64225. msgstr "Serviços de Shepherd"
  64226. #. type: subsection
  64227. #: guix-git/doc/guix.texi:42510
  64228. #, no-wrap
  64229. msgid "Shells"
  64230. msgstr ""
  64231. #. type: cindex
  64232. #: guix-git/doc/guix.texi:42512 guix-git/doc/guix.texi:43759
  64233. #, no-wrap
  64234. msgid "shell"
  64235. msgstr ""
  64236. #. type: cindex
  64237. #: guix-git/doc/guix.texi:42513
  64238. #, no-wrap
  64239. msgid "login shell"
  64240. msgstr ""
  64241. #. type: cindex
  64242. #: guix-git/doc/guix.texi:42514
  64243. #, no-wrap
  64244. msgid "interactive shell"
  64245. msgstr ""
  64246. #. type: cindex
  64247. #: guix-git/doc/guix.texi:42515 guix-git/doc/guix.texi:43761
  64248. #, no-wrap
  64249. msgid "bash"
  64250. msgstr ""
  64251. #. type: cindex
  64252. #: guix-git/doc/guix.texi:42516 guix-git/doc/guix.texi:43762
  64253. #, no-wrap
  64254. msgid "zsh"
  64255. msgstr ""
  64256. #. type: Plain text
  64257. #: guix-git/doc/guix.texi:42522
  64258. msgid "Shells play a quite important role in the environment initialization process, you can configure them manually as described in section @ref{Configuring the Shell}, but the recommended way is to use home services listed below. It's both easier and more reliable."
  64259. msgstr ""
  64260. #. type: Plain text
  64261. #: guix-git/doc/guix.texi:42532
  64262. msgid "Each home environment instantiates @code{home-shell-profile-service-type}, which creates a @file{~/.profile} startup file for all POSIX-compatible shells. This file contains all the necessary steps to properly initialize the environment, but many modern shells like Bash or Zsh prefer their own startup files, that's why the respective home services (@code{home-bash-service-type} and @code{home-zsh-service-type}) ensure that @file{~/.profile} is sourced by @file{~/.bash_profile} and @file{~/.zprofile}, respectively."
  64263. msgstr ""
  64264. #. type: subsubheading
  64265. #: guix-git/doc/guix.texi:42533
  64266. #, fuzzy, no-wrap
  64267. #| msgid "Certificate Services"
  64268. msgid "Shell Profile Service"
  64269. msgstr "Serviços de certificado"
  64270. #. type: deftp
  64271. #: guix-git/doc/guix.texi:42535
  64272. #, fuzzy, no-wrap
  64273. msgid "{Data Type} home-shell-profile-configuration"
  64274. msgstr "build-machine {Data Type}"
  64275. #. type: deftp
  64276. #: guix-git/doc/guix.texi:42537
  64277. msgid "Available @code{home-shell-profile-configuration} fields are:"
  64278. msgstr ""
  64279. #. type: item
  64280. #: guix-git/doc/guix.texi:42539
  64281. #, fuzzy, no-wrap
  64282. #| msgid "@code{debug?} (default: @code{#f})"
  64283. msgid "@code{profile} (default: @code{'()}) (type: text-config)"
  64284. msgstr "@code{debug?} (default: @code{#f})"
  64285. #. type: table
  64286. #: guix-git/doc/guix.texi:42549
  64287. msgid "@code{home-shell-profile} is instantiated automatically by @code{home-environment}, DO NOT create this service manually, it can only be extended. @code{profile} is a list of file-like objects, which will go to @file{~/.profile}. By default @file{~/.profile} contains the initialization code which must be evaluated by the login shell to make home-environment's profile available to the user, but other commands can be added to the file if it is really necessary. In most cases shell's configuration files are preferred places for user's customizations. Extend home-shell-profile service only if you really know what you do."
  64288. msgstr ""
  64289. #. type: subsubheading
  64290. #: guix-git/doc/guix.texi:42554
  64291. #, fuzzy, no-wrap
  64292. #| msgid "Base Services"
  64293. msgid "Bash Home Service"
  64294. msgstr "Serviços base"
  64295. #. type: anchor{#1}
  64296. #: guix-git/doc/guix.texi:42557
  64297. #, fuzzy
  64298. #| msgid "System Configuration"
  64299. msgid "home-bash-configuration"
  64300. msgstr "Configuração do sistema"
  64301. #. type: deftp
  64302. #: guix-git/doc/guix.texi:42557
  64303. #, fuzzy, no-wrap
  64304. msgid "{Data Type} home-bash-configuration"
  64305. msgstr "build-machine {Data Type}"
  64306. #. type: deftp
  64307. #: guix-git/doc/guix.texi:42559
  64308. msgid "Available @code{home-bash-configuration} fields are:"
  64309. msgstr ""
  64310. #. type: item
  64311. #: guix-git/doc/guix.texi:42561
  64312. #, fuzzy, no-wrap
  64313. #| msgid "@code{dbus?} (default: @code{#t})"
  64314. msgid "@code{package} (default: @code{bash}) (type: package)"
  64315. msgstr "@code{dbus?} (padrão: @code{#t})"
  64316. #. type: table
  64317. #: guix-git/doc/guix.texi:42563
  64318. #, fuzzy
  64319. #| msgid "The GPM package to use."
  64320. msgid "The Bash package to use."
  64321. msgstr "O pacote GPM a ser usado."
  64322. #. type: item
  64323. #: guix-git/doc/guix.texi:42564
  64324. #, fuzzy, no-wrap
  64325. #| msgid "@code{debug?} (default: @code{#f})"
  64326. msgid "@code{guix-defaults?} (default: @code{#t}) (type: boolean)"
  64327. msgstr "@code{debug?} (default: @code{#f})"
  64328. #. type: table
  64329. #: guix-git/doc/guix.texi:42567
  64330. msgid "Add sane defaults like reading @file{/etc/bashrc} and coloring the output of @command{ls} to the top of the @file{.bashrc} file."
  64331. msgstr ""
  64332. #. type: item
  64333. #: guix-git/doc/guix.texi:42568 guix-git/doc/guix.texi:42639
  64334. #: guix-git/doc/guix.texi:42678
  64335. #, fuzzy, no-wrap
  64336. #| msgid "@code{replacement} (default: @code{#f})"
  64337. msgid "@code{environment-variables} (default: @code{'()}) (type: alist)"
  64338. msgstr "@code{replacement} (default: @code{#f})"
  64339. #. type: table
  64340. #: guix-git/doc/guix.texi:42573
  64341. msgid "Association list of environment variables to set for the Bash session. The rules for the @code{home-environment-variables-service-type} apply here (@pxref{Essential Home Services}). The contents of this field will be added after the contents of the @code{bash-profile} field."
  64342. msgstr ""
  64343. #. type: item
  64344. #: guix-git/doc/guix.texi:42574 guix-git/doc/guix.texi:42644
  64345. #, fuzzy, no-wrap
  64346. #| msgid "@code{replacement} (default: @code{#f})"
  64347. msgid "@code{aliases} (default: @code{'()}) (type: alist)"
  64348. msgstr "@code{replacement} (default: @code{#f})"
  64349. #. type: table
  64350. #: guix-git/doc/guix.texi:42579
  64351. msgid "Association list of aliases to set for the Bash session. The aliases will be defined after the contents of the @code{bashrc} field has been put in the @file{.bashrc} file. The alias will automatically be quoted, so something like this:"
  64352. msgstr ""
  64353. #. type: lisp
  64354. #: guix-git/doc/guix.texi:42582
  64355. #, no-wrap
  64356. msgid "'((\"ls\" . \"ls -alF\"))\n"
  64357. msgstr ""
  64358. #. type: table
  64359. #: guix-git/doc/guix.texi:42585
  64360. msgid "turns into"
  64361. msgstr ""
  64362. #. type: example
  64363. #: guix-git/doc/guix.texi:42588
  64364. #, no-wrap
  64365. msgid "alias ls=\"ls -alF\"\n"
  64366. msgstr ""
  64367. #. type: item
  64368. #: guix-git/doc/guix.texi:42590 guix-git/doc/guix.texi:42648
  64369. #, fuzzy, no-wrap
  64370. #| msgid "@code{dbus?} (default: @code{#t})"
  64371. msgid "@code{bash-profile} (default: @code{'()}) (type: text-config)"
  64372. msgstr "@code{dbus?} (padrão: @code{#t})"
  64373. #. type: table
  64374. #: guix-git/doc/guix.texi:42595
  64375. msgid "List of file-like objects, which will be added to @file{.bash_profile}. Used for executing user's commands at start of login shell (In most cases the shell started on tty just after login). @file{.bash_login} won't be ever read, because @file{.bash_profile} always present."
  64376. msgstr ""
  64377. #. type: item
  64378. #: guix-git/doc/guix.texi:42596 guix-git/doc/guix.texi:42652
  64379. #, fuzzy, no-wrap
  64380. #| msgid "@code{dbus?} (default: @code{#t})"
  64381. msgid "@code{bashrc} (default: @code{'()}) (type: text-config)"
  64382. msgstr "@code{dbus?} (padrão: @code{#t})"
  64383. #. type: table
  64384. #: guix-git/doc/guix.texi:42601
  64385. msgid "List of file-like objects, which will be added to @file{.bashrc}. Used for executing user's commands at start of interactive shell (The shell for interactive usage started by typing @code{bash} or by terminal app or any other program)."
  64386. msgstr ""
  64387. #. type: item
  64388. #: guix-git/doc/guix.texi:42602 guix-git/doc/guix.texi:42656
  64389. #, fuzzy, no-wrap
  64390. #| msgid "@code{dbus?} (default: @code{#t})"
  64391. msgid "@code{bash-logout} (default: @code{'()}) (type: text-config)"
  64392. msgstr "@code{dbus?} (padrão: @code{#t})"
  64393. #. type: table
  64394. #: guix-git/doc/guix.texi:42607
  64395. msgid "List of file-like objects, which will be added to @file{.bash_logout}. Used for executing user's commands at the exit of login shell. It won't be read in some cases (if the shell terminates by exec'ing another process for example)."
  64396. msgstr ""
  64397. #. type: Plain text
  64398. #: guix-git/doc/guix.texi:42617
  64399. msgid "You can extend the Bash service by using the @code{home-bash-extension} configuration record, whose fields must mirror that of @code{home-bash-configuration} (@pxref{home-bash-configuration}). The contents of the extensions will be added to the end of the corresponding Bash configuration files (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}."
  64400. msgstr ""
  64401. #. type: Plain text
  64402. #: guix-git/doc/guix.texi:42621
  64403. msgid "For example, here is how you would define a service that extends the Bash service such that @file{~/.bash_profile} defines an additional environment variable, @env{PS1}:"
  64404. msgstr ""
  64405. #. type: lisp
  64406. #: guix-git/doc/guix.texi:42629
  64407. #, no-wrap
  64408. msgid ""
  64409. "(define bash-fancy-prompt-service\n"
  64410. " (simple-service 'bash-fancy-prompt\n"
  64411. " home-bash-service-type\n"
  64412. " (home-bash-extension\n"
  64413. " (environment-variables\n"
  64414. " '((\"PS1\" . \"\\\\u \\\\wλ \"))))))\n"
  64415. msgstr ""
  64416. #. type: Plain text
  64417. #: guix-git/doc/guix.texi:42634
  64418. msgid "You would then add @code{bash-fancy-prompt-service} to the list in the @code{services} field of your @code{home-environment}. The reference of @code{home-bash-extension} follows."
  64419. msgstr ""
  64420. #. type: deftp
  64421. #: guix-git/doc/guix.texi:42635
  64422. #, fuzzy, no-wrap
  64423. msgid "{Data Type} home-bash-extension"
  64424. msgstr "build-machine {Data Type}"
  64425. #. type: deftp
  64426. #: guix-git/doc/guix.texi:42637
  64427. msgid "Available @code{home-bash-extension} fields are:"
  64428. msgstr ""
  64429. #. type: table
  64430. #: guix-git/doc/guix.texi:42643
  64431. msgid "Additional environment variables to set. These will be combined with the environment variables from other extensions and the base service to form one coherent block of environment variables."
  64432. msgstr ""
  64433. #. type: table
  64434. #: guix-git/doc/guix.texi:42647
  64435. msgid "Additional aliases to set. These will be combined with the aliases from other extensions and the base service."
  64436. msgstr ""
  64437. #. type: table
  64438. #: guix-git/doc/guix.texi:42651
  64439. msgid "Additional text blocks to add to @file{.bash_profile}, which will be combined with text blocks from other extensions and the base service."
  64440. msgstr ""
  64441. #. type: table
  64442. #: guix-git/doc/guix.texi:42655
  64443. msgid "Additional text blocks to add to @file{.bashrc}, which will be combined with text blocks from other extensions and the base service."
  64444. msgstr ""
  64445. #. type: table
  64446. #: guix-git/doc/guix.texi:42659
  64447. msgid "Additional text blocks to add to @file{.bash_logout}, which will be combined with text blocks from other extensions and the base service."
  64448. msgstr ""
  64449. #. type: subsubheading
  64450. #: guix-git/doc/guix.texi:42663
  64451. #, fuzzy, no-wrap
  64452. #| msgid "Game Services"
  64453. msgid "Zsh Home Service"
  64454. msgstr "Serviços de jogos"
  64455. #. type: deftp
  64456. #: guix-git/doc/guix.texi:42665
  64457. #, fuzzy, no-wrap
  64458. msgid "{Data Type} home-zsh-configuration"
  64459. msgstr "build-machine {Data Type}"
  64460. #. type: deftp
  64461. #: guix-git/doc/guix.texi:42667
  64462. msgid "Available @code{home-zsh-configuration} fields are:"
  64463. msgstr ""
  64464. #. type: item
  64465. #: guix-git/doc/guix.texi:42669
  64466. #, fuzzy, no-wrap
  64467. #| msgid "@code{dbus?} (default: @code{#t})"
  64468. msgid "@code{package} (default: @code{zsh}) (type: package)"
  64469. msgstr "@code{dbus?} (padrão: @code{#t})"
  64470. #. type: table
  64471. #: guix-git/doc/guix.texi:42671
  64472. #, fuzzy
  64473. #| msgid "The GPM package to use."
  64474. msgid "The Zsh package to use."
  64475. msgstr "O pacote GPM a ser usado."
  64476. #. type: item
  64477. #: guix-git/doc/guix.texi:42672
  64478. #, fuzzy, no-wrap
  64479. #| msgid "@code{debug?} (default: @code{#f})"
  64480. msgid "@code{xdg-flavor?} (default: @code{#t}) (type: boolean)"
  64481. msgstr "@code{debug?} (default: @code{#f})"
  64482. #. type: table
  64483. #: guix-git/doc/guix.texi:42677
  64484. msgid "Place all the configs to @file{$XDG_CONFIG_HOME/zsh}. Makes @file{~/.zshenv} to set @env{ZDOTDIR} to @file{$XDG_CONFIG_HOME/zsh}. Shell startup process will continue with @file{$XDG_CONFIG_HOME/zsh/.zshenv}."
  64485. msgstr ""
  64486. #. type: table
  64487. #: guix-git/doc/guix.texi:42680
  64488. msgid "Association list of environment variables to set for the Zsh session."
  64489. msgstr ""
  64490. #. type: item
  64491. #: guix-git/doc/guix.texi:42681
  64492. #, fuzzy, no-wrap
  64493. #| msgid "@code{dbus?} (default: @code{#t})"
  64494. msgid "@code{zshenv} (default: @code{'()}) (type: text-config)"
  64495. msgstr "@code{dbus?} (padrão: @code{#t})"
  64496. #. type: table
  64497. #: guix-git/doc/guix.texi:42686
  64498. msgid "List of file-like objects, which will be added to @file{.zshenv}. Used for setting user's shell environment variables. Must not contain commands assuming the presence of tty or producing output. Will be read always. Will be read before any other file in @env{ZDOTDIR}."
  64499. msgstr ""
  64500. #. type: item
  64501. #: guix-git/doc/guix.texi:42687
  64502. #, fuzzy, no-wrap
  64503. #| msgid "@code{debug?} (default: @code{#f})"
  64504. msgid "@code{zprofile} (default: @code{'()}) (type: text-config)"
  64505. msgstr "@code{debug?} (default: @code{#f})"
  64506. #. type: table
  64507. #: guix-git/doc/guix.texi:42692
  64508. msgid "List of file-like objects, which will be added to @file{.zprofile}. Used for executing user's commands at start of login shell (In most cases the shell started on tty just after login). Will be read before @file{.zlogin}."
  64509. msgstr ""
  64510. #. type: item
  64511. #: guix-git/doc/guix.texi:42693
  64512. #, fuzzy, no-wrap
  64513. #| msgid "@code{dbus?} (default: @code{#t})"
  64514. msgid "@code{zshrc} (default: @code{'()}) (type: text-config)"
  64515. msgstr "@code{dbus?} (padrão: @code{#t})"
  64516. #. type: table
  64517. #: guix-git/doc/guix.texi:42698
  64518. msgid "List of file-like objects, which will be added to @file{.zshrc}. Used for executing user's commands at start of interactive shell (The shell for interactive usage started by typing @code{zsh} or by terminal app or any other program)."
  64519. msgstr ""
  64520. #. type: item
  64521. #: guix-git/doc/guix.texi:42699
  64522. #, fuzzy, no-wrap
  64523. #| msgid "@code{wait?} (default: @code{#t})"
  64524. msgid "@code{zlogin} (default: @code{'()}) (type: text-config)"
  64525. msgstr "@code{wait?} (padrão: @code{#t})"
  64526. #. type: table
  64527. #: guix-git/doc/guix.texi:42703
  64528. msgid "List of file-like objects, which will be added to @file{.zlogin}. Used for executing user's commands at the end of starting process of login shell."
  64529. msgstr ""
  64530. #. type: item
  64531. #: guix-git/doc/guix.texi:42704
  64532. #, fuzzy, no-wrap
  64533. #| msgid "@code{dbus?} (default: @code{#t})"
  64534. msgid "@code{zlogout} (default: @code{'()}) (type: text-config)"
  64535. msgstr "@code{dbus?} (padrão: @code{#t})"
  64536. #. type: table
  64537. #: guix-git/doc/guix.texi:42709
  64538. msgid "List of file-like objects, which will be added to @file{.zlogout}. Used for executing user's commands at the exit of login shell. It won't be read in some cases (if the shell terminates by exec'ing another process for example)."
  64539. msgstr ""
  64540. #. type: node
  64541. #: guix-git/doc/guix.texi:42714
  64542. #, fuzzy, no-wrap
  64543. #| msgid "Monitoring Services"
  64544. msgid "Mcron Home Service"
  64545. msgstr "Serviços de monitoramento"
  64546. #. type: subsection
  64547. #: guix-git/doc/guix.texi:42715
  64548. #, fuzzy, no-wrap
  64549. #| msgid "Scheduled Job Execution"
  64550. msgid "Scheduled User's Job Execution"
  64551. msgstr "Execução de trabalho agendado"
  64552. #. type: Plain text
  64553. #: guix-git/doc/guix.texi:42728
  64554. msgid "The @code{(gnu home services mcron)} module provides an interface to GNU@tie{}mcron, a daemon to run jobs at scheduled times (@pxref{Top,,, mcron, GNU@tie{}mcron}). The information about system's mcron is applicable here (@pxref{Scheduled Job Execution}), the only difference for home services is that they have to be declared in a @code{home-environment} record instead of an @code{operating-system} record."
  64555. msgstr ""
  64556. #. type: defvar
  64557. #: guix-git/doc/guix.texi:42729
  64558. #, fuzzy, no-wrap
  64559. #| msgid "guix-publish-service-type"
  64560. msgid "home-mcron-service-type"
  64561. msgstr "guix-publish-service-type"
  64562. #. type: defvar
  64563. #: guix-git/doc/guix.texi:42733
  64564. msgid "This is the type of the @code{mcron} home service, whose value is a @code{home-mcron-configuration} object. It allows to manage scheduled tasks."
  64565. msgstr ""
  64566. #. type: deftp
  64567. #: guix-git/doc/guix.texi:42740
  64568. #, fuzzy, no-wrap
  64569. msgid "{Data Type} home-mcron-configuration"
  64570. msgstr "build-machine {Data Type}"
  64571. #. type: deftp
  64572. #: guix-git/doc/guix.texi:42742
  64573. #, fuzzy
  64574. msgid "Available @code{home-mcron-configuration} fields are:"
  64575. msgstr "build-machine {Data Type}"
  64576. #. type: table
  64577. #: guix-git/doc/guix.texi:42763
  64578. msgid "@code{(ice-9 format)} format string for log messages. The default value produces messages like \"@samp{@var{pid} @var{name}: @var{message}\"} (@pxref{Invoking mcron, Invoking,, mcron,GNU@tie{}mcron}). Each message is also prefixed by a timestamp by GNU Shepherd."
  64579. msgstr ""
  64580. #. type: subsection
  64581. #: guix-git/doc/guix.texi:42768 guix-git/doc/guix.texi:42769
  64582. #, fuzzy, no-wrap
  64583. #| msgid "Power Management Services"
  64584. msgid "Power Management Home Services"
  64585. msgstr "Serviços de gerenciamento de energia"
  64586. #. type: cindex
  64587. #: guix-git/doc/guix.texi:42771
  64588. #, fuzzy, no-wrap
  64589. #| msgid "Power Management Services"
  64590. msgid "power management"
  64591. msgstr "Serviços de gerenciamento de energia"
  64592. #. type: Plain text
  64593. #: guix-git/doc/guix.texi:42774
  64594. msgid "The @code{(gnu home services pm)} module provides home services pertaining to battery power."
  64595. msgstr ""
  64596. #. type: defvar
  64597. #: guix-git/doc/guix.texi:42775
  64598. #, fuzzy, no-wrap
  64599. msgid "home-batsignal-service-type"
  64600. msgstr "guix-publish-service-type"
  64601. #. type: defvar
  64602. #: guix-git/doc/guix.texi:42781
  64603. msgid "Service for @code{batsignal}, a program that monitors battery levels and warns the user through desktop notifications when their battery is getting low. You can also configure a command to be run when the battery level passes a point deemed ``dangerous''. This service is configured with the @code{home-batsignal-configuration} record."
  64604. msgstr ""
  64605. #. type: deftp
  64606. #: guix-git/doc/guix.texi:42783
  64607. #, fuzzy, no-wrap
  64608. msgid "{Data Type} home-batsignal-configuration"
  64609. msgstr "build-machine {Data Type}"
  64610. #. type: deftp
  64611. #: guix-git/doc/guix.texi:42785
  64612. #, fuzzy
  64613. msgid "Data type representing the configuration for batsignal."
  64614. msgstr "Gerencie a configuração do sistema operacional."
  64615. #. type: item
  64616. #: guix-git/doc/guix.texi:42787
  64617. #, fuzzy, no-wrap
  64618. #| msgid "@code{compression-level} (default: @code{3})"
  64619. msgid "@code{warning-level} (default: @code{15})"
  64620. msgstr "@code{compression-level} (padrão: @code{3})"
  64621. #. type: table
  64622. #: guix-git/doc/guix.texi:42789
  64623. msgid "The battery level to send a warning message at."
  64624. msgstr ""
  64625. #. type: item
  64626. #: guix-git/doc/guix.texi:42790
  64627. #, fuzzy, no-wrap
  64628. #| msgid "@code{nice} (default: @code{#f})"
  64629. msgid "@code{warning-message} (default: @code{#f})"
  64630. msgstr "@code{nice} (default: @code{#f})"
  64631. #. type: table
  64632. #: guix-git/doc/guix.texi:42794
  64633. msgid "The message to send as a notification when the battery level reaches the @code{warning-level}. Setting to @code{#f} uses the default message."
  64634. msgstr ""
  64635. #. type: item
  64636. #: guix-git/doc/guix.texi:42795
  64637. #, fuzzy, no-wrap
  64638. #| msgid "@code{compression-level} (default: @code{3})"
  64639. msgid "@code{critical-level} (default: @code{5})"
  64640. msgstr "@code{compression-level} (padrão: @code{3})"
  64641. #. type: table
  64642. #: guix-git/doc/guix.texi:42797
  64643. msgid "The battery level to send a critical message at."
  64644. msgstr ""
  64645. #. type: item
  64646. #: guix-git/doc/guix.texi:42798
  64647. #, fuzzy, no-wrap
  64648. #| msgid "@code{challenge} (default: @code{#f})"
  64649. msgid "@code{critical-message} (default: @code{#f})"
  64650. msgstr "@code{challenge} (default: @code{#f})"
  64651. #. type: table
  64652. #: guix-git/doc/guix.texi:42802
  64653. msgid "The message to send as a notification when the battery level reaches the @code{critical-level}. Setting to @code{#f} uses the default message."
  64654. msgstr ""
  64655. #. type: item
  64656. #: guix-git/doc/guix.texi:42803
  64657. #, fuzzy, no-wrap
  64658. #| msgid "@code{log-level} (default: @code{'info})"
  64659. msgid "@code{danger-level} (default: @code{2})"
  64660. msgstr "@code{log-level} (default: @code{'info})"
  64661. #. type: table
  64662. #: guix-git/doc/guix.texi:42805
  64663. msgid "The battery level to run the @code{danger-command} at."
  64664. msgstr ""
  64665. #. type: item
  64666. #: guix-git/doc/guix.texi:42806
  64667. #, fuzzy, no-wrap
  64668. #| msgid "@code{domain} (default: @code{#f})"
  64669. msgid "@code{danger-command} (default: @code{#f})"
  64670. msgstr "@code{domain} (default: @code{#f})"
  64671. #. type: table
  64672. #: guix-git/doc/guix.texi:42809
  64673. msgid "The command to run when the battery level reaches the @code{danger-level}. Setting to @code{#f} disables running the command entirely."
  64674. msgstr ""
  64675. #. type: item
  64676. #: guix-git/doc/guix.texi:42810
  64677. #, fuzzy, no-wrap
  64678. #| msgid "@code{file} (default: @code{#f})"
  64679. msgid "@code{full-level} (default: @code{#f})"
  64680. msgstr "@code{file} (default: @code{#f})"
  64681. #. type: table
  64682. #: guix-git/doc/guix.texi:42813
  64683. msgid "The battery level to send a full message at. Setting to @code{#f} disables sending the full message entirely."
  64684. msgstr ""
  64685. #. type: item
  64686. #: guix-git/doc/guix.texi:42814
  64687. #, fuzzy, no-wrap
  64688. #| msgid "@code{file} (default: @code{#f})"
  64689. msgid "@code{full-message} (default: @code{#f})"
  64690. msgstr "@code{file} (default: @code{#f})"
  64691. #. type: table
  64692. #: guix-git/doc/guix.texi:42817
  64693. msgid "The message to send as a notification when the battery level reaches the @code{full-level}. Setting to @code{#f} uses the default message."
  64694. msgstr ""
  64695. #. type: item
  64696. #: guix-git/doc/guix.texi:42818
  64697. #, fuzzy, no-wrap
  64698. #| msgid "@code{features} (default: @code{'()})"
  64699. msgid "@code{batteries} (default: @code{'()})"
  64700. msgstr "@code{features} (padrão: @code{'()})"
  64701. #. type: table
  64702. #: guix-git/doc/guix.texi:42821
  64703. msgid "The batteries to monitor. Setting to @code{'()} tries to find batteries automatically."
  64704. msgstr ""
  64705. #. type: item
  64706. #: guix-git/doc/guix.texi:42822
  64707. #, fuzzy, no-wrap
  64708. #| msgid "@code{delay} (default: @code{#f})"
  64709. msgid "@code{poll-delay} (default: @code{60})"
  64710. msgstr "@code{delay} (default: @code{#f})"
  64711. #. type: table
  64712. #: guix-git/doc/guix.texi:42824
  64713. msgid "The time in seconds to wait before checking the batteries again."
  64714. msgstr ""
  64715. #. type: item
  64716. #: guix-git/doc/guix.texi:42825
  64717. #, fuzzy, no-wrap
  64718. #| msgid "@code{nice} (default: @code{#f})"
  64719. msgid "@code{icon} (default: @code{#f})"
  64720. msgstr "@code{nice} (default: @code{#f})"
  64721. #. type: table
  64722. #: guix-git/doc/guix.texi:42828
  64723. msgid "A file-like object to use as the icon for battery notifications. Setting to @code{#f} disables notification icons entirely."
  64724. msgstr ""
  64725. #. type: item
  64726. #: guix-git/doc/guix.texi:42829
  64727. #, fuzzy, no-wrap
  64728. #| msgid "@code{options} (default: @code{#f})"
  64729. msgid "@code{notifications?} (default: @code{#t})"
  64730. msgstr "@code{options} (default: @code{#f})"
  64731. #. type: table
  64732. #: guix-git/doc/guix.texi:42831
  64733. msgid "Whether to send any notifications."
  64734. msgstr ""
  64735. #. type: item
  64736. #: guix-git/doc/guix.texi:42832
  64737. #, fuzzy, no-wrap
  64738. #| msgid "@code{options} (default: @code{#f})"
  64739. msgid "@code{notifications-expire?} (default: @code{#f})"
  64740. msgstr "@code{options} (default: @code{#f})"
  64741. #. type: table
  64742. #: guix-git/doc/guix.texi:42834
  64743. msgid "Whether notifications sent expire after a time."
  64744. msgstr ""
  64745. #. type: item
  64746. #: guix-git/doc/guix.texi:42835
  64747. #, fuzzy, no-wrap
  64748. #| msgid "@code{authentication-hook} (default: @code{#f})"
  64749. msgid "@code{notification-command} (default: @code{#f})"
  64750. msgstr "@code{authentication-hook} (default: @code{#f})"
  64751. #. type: table
  64752. #: guix-git/doc/guix.texi:42838
  64753. msgid "Command to use to send messages. Setting to @code{#f} sends a notification through @code{libnotify}."
  64754. msgstr ""
  64755. #. type: item
  64756. #: guix-git/doc/guix.texi:42839
  64757. #, fuzzy, no-wrap
  64758. #| msgid "@code{ignore-lid?} (default: @code{#f})"
  64759. msgid "@code{ignore-missing?} (default: @code{#f})"
  64760. msgstr "@code{ignore-lid?} (padrão: @code{#f})"
  64761. #. type: table
  64762. #: guix-git/doc/guix.texi:42841
  64763. msgid "Whether to ignore missing battery errors."
  64764. msgstr ""
  64765. #. type: node
  64766. #: guix-git/doc/guix.texi:42844
  64767. #, fuzzy, no-wrap
  64768. #| msgid "Shepherd Services"
  64769. msgid "Shepherd Home Service"
  64770. msgstr "Serviços de Shepherd"
  64771. #. type: subsection
  64772. #: guix-git/doc/guix.texi:42845
  64773. #, fuzzy, no-wrap
  64774. #| msgid "Messaging services."
  64775. msgid "Managing User Daemons"
  64776. msgstr "Serviços de mensageria."
  64777. #. type: cindex
  64778. #: guix-git/doc/guix.texi:42847
  64779. #, fuzzy, no-wrap
  64780. #| msgid "Shepherd Services"
  64781. msgid "shepherd services, for users"
  64782. msgstr "Serviços de Shepherd"
  64783. #. type: Plain text
  64784. #: guix-git/doc/guix.texi:42854
  64785. msgid "The @code{(gnu home services shepherd)} module supports the definitions of per-user Shepherd services (@pxref{Introduction,,, shepherd, The GNU Shepherd Manual}). You extend @code{home-shepherd-service-type} with new services; Guix Home then takes care of starting the @code{shepherd} daemon for you when you log in, which in turns starts the services you asked for."
  64786. msgstr ""
  64787. #. type: defvar
  64788. #: guix-git/doc/guix.texi:42855
  64789. #, fuzzy, no-wrap
  64790. msgid "home-shepherd-service-type"
  64791. msgstr "guix-publish-service-type"
  64792. #. type: defvar
  64793. #: guix-git/doc/guix.texi:42860
  64794. msgid "The service type for the userland Shepherd, which allows one to manage long-running processes or one-shot tasks. User's Shepherd is not an init process (PID 1), but almost all other information described in (@pxref{Shepherd Services}) is applicable here too."
  64795. msgstr ""
  64796. #. type: defvar
  64797. #: guix-git/doc/guix.texi:42865
  64798. msgid "This is the service type that extensions target when they want to create shepherd services (@pxref{Service Types and Services}, for an example). Each extension must pass a list of @code{<shepherd-service>}. Its value must be a @code{home-shepherd-configuration}, as described below."
  64799. msgstr ""
  64800. #. type: deftp
  64801. #: guix-git/doc/guix.texi:42867
  64802. #, fuzzy, no-wrap
  64803. msgid "{Data Type} home-shepherd-configuration"
  64804. msgstr "build-machine {Data Type}"
  64805. #. type: item
  64806. #: guix-git/doc/guix.texi:42874
  64807. #, fuzzy, no-wrap
  64808. #| msgid "@code{shared?} (default: @code{#t})"
  64809. msgid "auto-start? (default: @code{#t})"
  64810. msgstr "@code{shared?} (padrão: @code{#t})"
  64811. #. type: table
  64812. #: guix-git/doc/guix.texi:42876
  64813. msgid "Whether or not to start Shepherd on first login."
  64814. msgstr ""
  64815. #. type: subsection
  64816. #: guix-git/doc/guix.texi:42884 guix-git/doc/guix.texi:42885
  64817. #, no-wrap
  64818. msgid "Secure Shell"
  64819. msgstr ""
  64820. #. type: cindex
  64821. #: guix-git/doc/guix.texi:42887
  64822. #, fuzzy, no-wrap
  64823. #| msgid "git configuration"
  64824. msgid "secure shell client, configuration"
  64825. msgstr "Configuração do git"
  64826. #. type: cindex
  64827. #: guix-git/doc/guix.texi:42888
  64828. #, fuzzy, no-wrap
  64829. #| msgid "git configuration"
  64830. msgid "SSH client, configuration"
  64831. msgstr "Configuração do git"
  64832. #. type: Plain text
  64833. #: guix-git/doc/guix.texi:42896
  64834. msgid "The @uref{https://www.openssh.com, OpenSSH package} includes a client, the @command{ssh} command, that allows you to connect to remote machines using the @acronym{SSH, secure shell} protocol. With the @code{(gnu home services ssh)} module, you can set up OpenSSH so that it works in a predictable fashion, almost independently of state on the local machine. To do that, you instantiate @code{home-openssh-service-type} in your Home configuration, as explained below."
  64835. msgstr ""
  64836. #. type: defvar
  64837. #: guix-git/doc/guix.texi:42897
  64838. #, fuzzy, no-wrap
  64839. msgid "home-openssh-service-type"
  64840. msgstr "guix-publish-service-type"
  64841. #. type: defvar
  64842. #: guix-git/doc/guix.texi:42900
  64843. msgid "This is the type of the service to set up the OpenSSH client. It takes care of several things:"
  64844. msgstr ""
  64845. #. type: itemize
  64846. #: guix-git/doc/guix.texi:42906
  64847. msgid "providing a @file{~/.ssh/config} file based on your configuration so that @command{ssh} knows about hosts you regularly connect to and their associated parameters;"
  64848. msgstr ""
  64849. #. type: itemize
  64850. #: guix-git/doc/guix.texi:42911
  64851. msgid "providing a @file{~/.ssh/authorized_keys}, which lists public keys that the local SSH server, @command{sshd}, may accept to connect to this user account;"
  64852. msgstr ""
  64853. #. type: itemize
  64854. #: guix-git/doc/guix.texi:42915
  64855. msgid "optionally providing a @file{~/.ssh/known_hosts} file so that @file{ssh} can authenticate hosts you connect to."
  64856. msgstr ""
  64857. #. type: Plain text
  64858. #: guix-git/doc/guix.texi:42919 guix-git/doc/guix.texi:43093
  64859. #: guix-git/doc/guix.texi:43675 guix-git/doc/guix.texi:43709
  64860. msgid "Here is an example of a service and its configuration that you could add to the @code{services} field of your @code{home-environment}:"
  64861. msgstr ""
  64862. #. type: lisp
  64863. #: guix-git/doc/guix.texi:42931
  64864. #, no-wrap
  64865. msgid ""
  64866. "(service home-openssh-service-type\n"
  64867. " (home-openssh-configuration\n"
  64868. " (hosts\n"
  64869. " (list (openssh-host (name \"ci.guix.gnu.org\")\n"
  64870. " (user \"charlie\"))\n"
  64871. " (openssh-host (name \"chbouib\")\n"
  64872. " (host-name \"chbouib.example.org\")\n"
  64873. " (user \"supercharlie\")\n"
  64874. " (port 10022))))\n"
  64875. " (authorized-keys (list (local-file \"alice.pub\")))))\n"
  64876. msgstr ""
  64877. #. type: defvar
  64878. #: guix-git/doc/guix.texi:42938
  64879. msgid "The example above lists two hosts and their parameters. For instance, running @command{ssh chbouib} will automatically connect to @code{chbouib.example.org} on port 10022, logging in as user @samp{supercharlie}. Further, it marks the public key in @file{alice.pub} as authorized for incoming connections."
  64880. msgstr ""
  64881. #. type: defvar
  64882. #: guix-git/doc/guix.texi:42941
  64883. msgid "The value associated with a @code{home-openssh-service-type} instance must be a @code{home-openssh-configuration} record, as describe below."
  64884. msgstr ""
  64885. #. type: deftp
  64886. #: guix-git/doc/guix.texi:42943
  64887. #, fuzzy, no-wrap
  64888. msgid "{Data Type} home-openssh-configuration"
  64889. msgstr "build-machine {Data Type}"
  64890. #. type: deftp
  64891. #: guix-git/doc/guix.texi:42947
  64892. msgid "This is the datatype representing the OpenSSH client and server configuration in one's home environment. It contains the following fields:"
  64893. msgstr ""
  64894. #. type: item
  64895. #: guix-git/doc/guix.texi:42949
  64896. #, fuzzy, no-wrap
  64897. #| msgid "@code{features} (default: @code{'()})"
  64898. msgid "@code{hosts} (default: @code{'()})"
  64899. msgstr "@code{features} (padrão: @code{'()})"
  64900. #. type: table
  64901. #: guix-git/doc/guix.texi:42953
  64902. msgid "A list of @code{openssh-host} records specifying host names and associated connection parameters (see below). This host list goes into @file{~/.ssh/config}, which @command{ssh} reads at startup."
  64903. msgstr ""
  64904. #. type: item
  64905. #: guix-git/doc/guix.texi:42954
  64906. #, fuzzy, no-wrap
  64907. #| msgid "@code{no-hosts?} (default: @code{#f})"
  64908. msgid "@code{known-hosts} (default: @code{*unspecified*})"
  64909. msgstr "@code{no-hosts?} (padrão: @code{#f})"
  64910. #. type: table
  64911. #: guix-git/doc/guix.texi:42956
  64912. msgid "This must be either:"
  64913. msgstr ""
  64914. #. type: itemize
  64915. #: guix-git/doc/guix.texi:42962
  64916. msgid "@code{*unspecified*}, in which case @code{home-openssh-service-type} leaves it up to @command{ssh} and to the user to maintain the list of known hosts at @file{~/.ssh/known_hosts}, or"
  64917. msgstr ""
  64918. #. type: itemize
  64919. #: guix-git/doc/guix.texi:42966
  64920. msgid "a list of file-like objects, in which case those are concatenated and emitted as @file{~/.ssh/known_hosts}."
  64921. msgstr ""
  64922. #. type: table
  64923. #: guix-git/doc/guix.texi:42975
  64924. msgid "The @file{~/.ssh/known_hosts} contains a list of host name/host key pairs that allow @command{ssh} to authenticate hosts you connect to and to detect possible impersonation attacks. By default, @command{ssh} updates it in a @dfn{TOFU, trust-on-first-use} fashion, meaning that it records the host's key in that file the first time you connect to it. This behavior is preserved when @code{known-hosts} is set to @code{*unspecified*}."
  64925. msgstr ""
  64926. #. type: table
  64927. #: guix-git/doc/guix.texi:42981
  64928. msgid "If you instead provide a list of host keys upfront in the @code{known-hosts} field, your configuration becomes self-contained and stateless: it can be replicated elsewhere or at another point in time. Preparing this list can be relatively tedious though, which is why @code{*unspecified*} is kept as a default."
  64929. msgstr ""
  64930. #. type: item
  64931. #: guix-git/doc/guix.texi:42982
  64932. #, fuzzy, no-wrap
  64933. #| msgid "@code{uid} (default: @code{#f})"
  64934. msgid "@code{authorized-keys} (default: @code{#false})"
  64935. msgstr "@code{uid} (default: @code{#f})"
  64936. #. type: table
  64937. #: guix-git/doc/guix.texi:42987
  64938. msgid "The default @code{#false} value means: Leave any @file{~/.ssh/authorized_keys} file alone. Otherwise, this must be a list of file-like objects, each of which containing an SSH public key that should be authorized to connect to this machine."
  64939. msgstr ""
  64940. #. type: table
  64941. #: guix-git/doc/guix.texi:42993
  64942. msgid "Concretely, these files are concatenated and made available as @file{~/.ssh/authorized_keys}. If an OpenSSH server, @command{sshd}, is running on this machine, then it @emph{may} take this file into account: this is what @command{sshd} does by default, but be aware that it can also be configured to ignore it."
  64943. msgstr ""
  64944. #. type: deftp
  64945. #: guix-git/doc/guix.texi:42998
  64946. #, fuzzy, no-wrap
  64947. msgid "{Data Type} openssh-host"
  64948. msgstr "build-machine {Data Type}"
  64949. #. type: deftp
  64950. #: guix-git/doc/guix.texi:43000
  64951. msgid "Available @code{openssh-host} fields are:"
  64952. msgstr ""
  64953. #. type: table
  64954. #: guix-git/doc/guix.texi:43004
  64955. #, fuzzy
  64956. #| msgid "Detail of operating-system declarations."
  64957. msgid "Name of this host declaration."
  64958. msgstr "Detalhe das declarações do operating-system."
  64959. #. type: item
  64960. #: guix-git/doc/guix.texi:43005
  64961. #, fuzzy, no-wrap
  64962. msgid "@code{host-name} (type: maybe-string)"
  64963. msgstr "@code{remote?} (padrão: @code{#f})"
  64964. #. type: table
  64965. #: guix-git/doc/guix.texi:43007
  64966. msgid "Host name---e.g., @code{\"foo.example.org\"} or @code{\"192.168.1.2\"}."
  64967. msgstr ""
  64968. #. type: item
  64969. #: guix-git/doc/guix.texi:43008
  64970. #, fuzzy, no-wrap
  64971. msgid "@code{address-family} (type: maybe-address-family)"
  64972. msgstr "@code{remote?} (padrão: @code{#f})"
  64973. #. type: table
  64974. #: guix-git/doc/guix.texi:43012
  64975. msgid "Address family to use when connecting to this host: one of @code{AF_INET} (for IPv4 only), @code{AF_INET6} (for IPv6 only). Additionally, the field can be left unset to allow any address family."
  64976. msgstr ""
  64977. #. type: item
  64978. #: guix-git/doc/guix.texi:43013
  64979. #, fuzzy, no-wrap
  64980. msgid "@code{identity-file} (type: maybe-string)"
  64981. msgstr "@code{remote?} (padrão: @code{#f})"
  64982. #. type: table
  64983. #: guix-git/doc/guix.texi:43015
  64984. msgid "The identity file to use---e.g., @code{\"/home/charlie/.ssh/id_ed25519\"}."
  64985. msgstr ""
  64986. #. type: item
  64987. #: guix-git/doc/guix.texi:43016 guix-git/doc/guix.texi:43056
  64988. #, fuzzy, no-wrap
  64989. #| msgid "@code{no-hints?} (default: @code{#f})"
  64990. msgid "@code{port} (type: maybe-natural-number)"
  64991. msgstr "@code{no-hints?} (padrão: @code{#f})"
  64992. #. type: table
  64993. #: guix-git/doc/guix.texi:43018 guix-git/doc/guix.texi:43058
  64994. msgid "TCP port number to connect to."
  64995. msgstr ""
  64996. #. type: item
  64997. #: guix-git/doc/guix.texi:43019 guix-git/doc/guix.texi:43050
  64998. #: guix-git/doc/guix.texi:43642
  64999. #, fuzzy, no-wrap
  65000. msgid "@code{user} (type: maybe-string)"
  65001. msgstr "@code{remote?} (padrão: @code{#f})"
  65002. #. type: table
  65003. #: guix-git/doc/guix.texi:43021 guix-git/doc/guix.texi:43052
  65004. #, fuzzy
  65005. #| msgid "The host name of the remote machine."
  65006. msgid "User name on the remote host."
  65007. msgstr "O nome de host da máquina remota."
  65008. #. type: item
  65009. #: guix-git/doc/guix.texi:43022
  65010. #, fuzzy, no-wrap
  65011. #| msgid "@code{debug?} (default: @code{#f})"
  65012. msgid "@code{forward-x11?} (default: @code{#f}) (type: boolean)"
  65013. msgstr "@code{debug?} (default: @code{#f})"
  65014. #. type: table
  65015. #: guix-git/doc/guix.texi:43025
  65016. msgid "Whether to forward remote client connections to the local X11 graphical display."
  65017. msgstr ""
  65018. #. type: item
  65019. #: guix-git/doc/guix.texi:43026
  65020. #, fuzzy, no-wrap
  65021. #| msgid "@code{debug?} (default: @code{#f})"
  65022. msgid "@code{forward-x11-trusted?} (default: @code{#f}) (type: boolean)"
  65023. msgstr "@code{debug?} (default: @code{#f})"
  65024. #. type: table
  65025. #: guix-git/doc/guix.texi:43029
  65026. msgid "Whether remote X11 clients have full access to the original X11 graphical display."
  65027. msgstr ""
  65028. #. type: item
  65029. #: guix-git/doc/guix.texi:43030
  65030. #, fuzzy, no-wrap
  65031. #| msgid "@code{debug?} (default: @code{#f})"
  65032. msgid "@code{forward-agent?} (default: @code{#f}) (type: boolean)"
  65033. msgstr "@code{debug?} (default: @code{#f})"
  65034. #. type: table
  65035. #: guix-git/doc/guix.texi:43033
  65036. msgid "Whether the authentication agent (if any) is forwarded to the remote machine."
  65037. msgstr ""
  65038. #. type: item
  65039. #: guix-git/doc/guix.texi:43034
  65040. #, fuzzy, no-wrap
  65041. #| msgid "@code{debug?} (default: @code{#f})"
  65042. msgid "@code{compression?} (default: @code{#f}) (type: boolean)"
  65043. msgstr "@code{debug?} (default: @code{#f})"
  65044. #. type: table
  65045. #: guix-git/doc/guix.texi:43036
  65046. msgid "Whether to compress data in transit."
  65047. msgstr ""
  65048. #. type: item
  65049. #: guix-git/doc/guix.texi:43037
  65050. #, fuzzy, no-wrap
  65051. msgid "@code{proxy} (type: maybe-proxy-command-or-jump-list)"
  65052. msgstr "@code{remote?} (padrão: @code{#f})"
  65053. #. type: table
  65054. #: guix-git/doc/guix.texi:43041
  65055. msgid "The command to use to connect to the server or a list of SSH hosts to jump through before connecting to the server. The field may be set to either a @code{proxy-command} or a list of @code{proxy-jump} records."
  65056. msgstr ""
  65057. #. type: table
  65058. #: guix-git/doc/guix.texi:43045
  65059. msgid "As an example, a @code{proxy-command} to connect via an HTTP proxy at 192.0.2.0 would be constructed with: @code{(proxy-command \"nc -X connect -x 192.0.2.0:8080 %h %p\")}."
  65060. msgstr ""
  65061. #. type: deftp
  65062. #: guix-git/doc/guix.texi:43046
  65063. #, fuzzy, no-wrap
  65064. msgid "{Data Type} proxy-jump"
  65065. msgstr "build-machine {Data Type}"
  65066. #. type: deftp
  65067. #: guix-git/doc/guix.texi:43048
  65068. #, fuzzy
  65069. msgid "Available @code{proxy-jump} fields are:"
  65070. msgstr "build-machine {Data Type}"
  65071. #. type: item
  65072. #: guix-git/doc/guix.texi:43053
  65073. #, fuzzy, no-wrap
  65074. msgid "@code{host-name} (type: string)"
  65075. msgstr "@code{remote?} (padrão: @code{#f})"
  65076. #. type: table
  65077. #: guix-git/doc/guix.texi:43055
  65078. msgid "Host name---e.g., @code{foo.example.org} or @code{192.168.1.2}."
  65079. msgstr ""
  65080. #. type: item
  65081. #: guix-git/doc/guix.texi:43063
  65082. #, fuzzy, no-wrap
  65083. msgid "@code{host-key-algorithms} (type: maybe-string-list)"
  65084. msgstr "@code{options} (default: @code{#f})"
  65085. #. type: table
  65086. #: guix-git/doc/guix.texi:43066
  65087. msgid "The list of accepted host key algorithms---e.g., @code{'(\"ssh-ed25519\")}."
  65088. msgstr ""
  65089. #. type: item
  65090. #: guix-git/doc/guix.texi:43067
  65091. #, fuzzy, no-wrap
  65092. msgid "@code{accepted-key-types} (type: maybe-string-list)"
  65093. msgstr "@code{options} (default: @code{#f})"
  65094. #. type: table
  65095. #: guix-git/doc/guix.texi:43069
  65096. msgid "The list of accepted user public key types."
  65097. msgstr ""
  65098. #. type: item
  65099. #: guix-git/doc/guix.texi:43070 guix-git/doc/guix.texi:43192
  65100. #: guix-git/doc/guix.texi:43272
  65101. #, fuzzy, no-wrap
  65102. #| msgid "@code{dbus?} (default: @code{#t})"
  65103. msgid "@code{extra-content} (default: @code{\"\"}) (type: raw-configuration-string)"
  65104. msgstr "@code{dbus?} (padrão: @code{#t})"
  65105. #. type: table
  65106. #: guix-git/doc/guix.texi:43073
  65107. msgid "Extra content appended as-is to this @code{Host} block in @file{~/.ssh/config}."
  65108. msgstr ""
  65109. #. type: cindex
  65110. #: guix-git/doc/guix.texi:43081
  65111. #, no-wrap
  65112. msgid "ssh-agent"
  65113. msgstr ""
  65114. #. type: Plain text
  65115. #: guix-git/doc/guix.texi:43089
  65116. msgid "The @uref{https://www.openssh.com, OpenSSH package} includes a daemon, the @command{ssh-agent} command, that manages keys to connect to remote machines using the @acronym{SSH, secure shell} protocol. With the @code{(gnu home services ssh-agent)} service, you can configure the OpenSSH ssh-agent to run upon login. @xref{GNU Privacy Guard, @code{home-gpg-agent-service-type}}, for an alternative to OpenSSH's @command{ssh-agent}."
  65117. msgstr ""
  65118. #. type: lisp
  65119. #: guix-git/doc/guix.texi:43098
  65120. #, no-wrap
  65121. msgid ""
  65122. "(service home-ssh-agent-service-type\n"
  65123. " (home-ssh-agent-configuration\n"
  65124. " (extra-options '(\"-t\" \"1h30m\"))))\n"
  65125. msgstr ""
  65126. #. type: defvar
  65127. #: guix-git/doc/guix.texi:43100
  65128. #, fuzzy, no-wrap
  65129. msgid "home-ssh-agent-service-type"
  65130. msgstr "guix-publish-service-type"
  65131. #. type: defvar
  65132. #: guix-git/doc/guix.texi:43103
  65133. msgid "This is the type of the @code{ssh-agent} home service, whose value is a @code{home-ssh-agent-configuration} object."
  65134. msgstr ""
  65135. #. type: deftp
  65136. #: guix-git/doc/guix.texi:43105
  65137. #, fuzzy, no-wrap
  65138. msgid "{Data Type} home-ssh-agent-configuration"
  65139. msgstr "build-machine {Data Type}"
  65140. #. type: deftp
  65141. #: guix-git/doc/guix.texi:43107
  65142. #, fuzzy
  65143. msgid "Available @code{home-ssh-agent-configuration} fields are:"
  65144. msgstr "build-machine {Data Type}"
  65145. #. type: item
  65146. #: guix-git/doc/guix.texi:43109
  65147. #, fuzzy, no-wrap
  65148. #| msgid "@code{dbus?} (default: @code{#t})"
  65149. msgid "@code{openssh} (default: @code{openssh}) (type: file-like)"
  65150. msgstr "@code{dbus?} (padrão: @code{#t})"
  65151. #. type: item
  65152. #: guix-git/doc/guix.texi:43112
  65153. #, fuzzy, no-wrap
  65154. msgid "@code{socket-directory} (default: @code{@env{XDG_RUNTIME_DIR}/ssh-agent\"}) (type: gexp)"
  65155. msgstr "@code{remote?} (padrão: @code{#f})"
  65156. #. type: table
  65157. #: guix-git/doc/guix.texi:43114
  65158. msgid "The directory to write the ssh-agent's @file{socket} file."
  65159. msgstr ""
  65160. #. type: table
  65161. #: guix-git/doc/guix.texi:43118
  65162. msgid "Extra options will be passed to @command{ssh-agent}, please run @command{man ssh-agent} for more information."
  65163. msgstr ""
  65164. #. type: subsection
  65165. #: guix-git/doc/guix.texi:43122 guix-git/doc/guix.texi:43123
  65166. #, no-wrap
  65167. msgid "GNU Privacy Guard"
  65168. msgstr ""
  65169. #. type: cindex
  65170. #: guix-git/doc/guix.texi:43125
  65171. #, fuzzy, no-wrap
  65172. #| msgid "Game Services"
  65173. msgid "GNU Privacy Guard, Home service"
  65174. msgstr "Serviços de jogos"
  65175. #. type: cindex
  65176. #: guix-git/doc/guix.texi:43126
  65177. #, fuzzy, no-wrap
  65178. #| msgid "Game Services"
  65179. msgid "GPG, Home service"
  65180. msgstr "Serviços de jogos"
  65181. #. type: Plain text
  65182. #: guix-git/doc/guix.texi:43130
  65183. msgid "The @code{(gnu home services gnupg)} modules provides services that help you set up the GNU Privacy Guard, also known as GnuPG or GPG, in your home environment."
  65184. msgstr ""
  65185. #. type: cindex
  65186. #: guix-git/doc/guix.texi:43131
  65187. #, fuzzy, no-wrap
  65188. #| msgid "Game Services"
  65189. msgid "gpg-agent, Home service"
  65190. msgstr "Serviços de jogos"
  65191. #. type: cindex
  65192. #: guix-git/doc/guix.texi:43132
  65193. #, no-wrap
  65194. msgid "SSH agent, with gpg-agent"
  65195. msgstr ""
  65196. #. type: Plain text
  65197. #: guix-git/doc/guix.texi:43137
  65198. msgid "The @code{gpg-agent} service configures and sets up GPG's agent, the program that is responsible for managing OpenPGP private keys and, optionally, OpenSSH (secure shell) private keys (@pxref{Invoking GPG-AGENT,,, gnupg, Using the GNU Privacy Guard})."
  65199. msgstr ""
  65200. #. type: Plain text
  65201. #: guix-git/doc/guix.texi:43141
  65202. msgid "As an example, here is how you would configure @code{gpg-agent} with SSH support such that it uses the Emacs-based Pinentry interface when prompting for a passphrase:"
  65203. msgstr ""
  65204. #. type: lisp
  65205. #: guix-git/doc/guix.texi:43148
  65206. #, no-wrap
  65207. msgid ""
  65208. "(service home-gpg-agent-service-type\n"
  65209. " (home-gpg-agent-configuration\n"
  65210. " (pinentry-program\n"
  65211. " (file-append pinentry-emacs \"/bin/pinentry-emacs\"))\n"
  65212. " (ssh-support? #t)))\n"
  65213. msgstr ""
  65214. #. type: Plain text
  65215. #: guix-git/doc/guix.texi:43151 guix-git/doc/guix.texi:43540
  65216. msgid "The service reference is given below."
  65217. msgstr ""
  65218. #. type: defvar
  65219. #: guix-git/doc/guix.texi:43152
  65220. #, fuzzy, no-wrap
  65221. msgid "home-gpg-agent-service-type"
  65222. msgstr "guix-publish-service-type"
  65223. #. type: defvar
  65224. #: guix-git/doc/guix.texi:43156
  65225. msgid "This is the service type for @command{gpg-agent} (@pxref{Invoking GPG-AGENT,,, gnupg, Using the GNU Privacy Guard}). Its value must be a @code{home-gpg-agent-configuration}, as shown below."
  65226. msgstr ""
  65227. #. type: deftp
  65228. #: guix-git/doc/guix.texi:43160
  65229. #, fuzzy, no-wrap
  65230. msgid "{Data Type} home-gpg-agent-configuration"
  65231. msgstr "build-machine {Data Type}"
  65232. #. type: deftp
  65233. #: guix-git/doc/guix.texi:43162
  65234. #, fuzzy
  65235. msgid "Available @code{home-gpg-agent-configuration} fields are:"
  65236. msgstr "build-machine {Data Type}"
  65237. #. type: item
  65238. #: guix-git/doc/guix.texi:43164
  65239. #, fuzzy, no-wrap
  65240. #| msgid "@code{dbus?} (default: @code{#t})"
  65241. msgid "@code{gnupg} (default: @code{gnupg}) (type: file-like)"
  65242. msgstr "@code{dbus?} (padrão: @code{#t})"
  65243. #. type: table
  65244. #: guix-git/doc/guix.texi:43166
  65245. #, fuzzy
  65246. #| msgid "The GPM package to use."
  65247. msgid "The GnuPG package to use."
  65248. msgstr "O pacote GPM a ser usado."
  65249. #. type: item
  65250. #: guix-git/doc/guix.texi:43167
  65251. #, fuzzy, no-wrap
  65252. #| msgid "@code{dbus?} (default: @code{#t})"
  65253. msgid "@code{pinentry-program} (type: file-like)"
  65254. msgstr "@code{dbus?} (padrão: @code{#t})"
  65255. #. type: table
  65256. #: guix-git/doc/guix.texi:43172
  65257. msgid "Pinentry program to use. Pinentry is a small user interface that @command{gpg-agent} delegates to anytime it needs user input for a passphrase or @acronym{PIN,personal identification number} (@pxref{Top,,, pinentry,Using the PIN-Entry})."
  65258. msgstr ""
  65259. #. type: item
  65260. #: guix-git/doc/guix.texi:43173
  65261. #, fuzzy, no-wrap
  65262. #| msgid "@code{debug?} (default: @code{#f})"
  65263. msgid "@code{ssh-support?} (default: @code{#f}) (type: boolean)"
  65264. msgstr "@code{debug?} (default: @code{#f})"
  65265. #. type: table
  65266. #: guix-git/doc/guix.texi:43178
  65267. msgid "Whether to enable @acronym{SSH,secure shell} support. When true, @command{gpg-agent} acts as a drop-in replacement for OpenSSH's @command{ssh-agent} program, taking care of OpenSSH secret keys and directing passphrase requests to the chosen Pinentry program."
  65268. msgstr ""
  65269. #. type: item
  65270. #: guix-git/doc/guix.texi:43179
  65271. #, fuzzy, no-wrap
  65272. #| msgid "@code{debug?} (default: @code{#f})"
  65273. msgid "@code{default-cache-ttl} (default: @code{600}) (type: integer)"
  65274. msgstr "@code{debug?} (default: @code{#f})"
  65275. #. type: table
  65276. #: guix-git/doc/guix.texi:43181
  65277. msgid "Time a cache entry is valid, in seconds."
  65278. msgstr ""
  65279. #. type: item
  65280. #: guix-git/doc/guix.texi:43182
  65281. #, fuzzy, no-wrap
  65282. #| msgid "@code{debug?} (default: @code{#f})"
  65283. msgid "@code{max-cache-ttl} (default: @code{7200}) (type: integer)"
  65284. msgstr "@code{debug?} (default: @code{#f})"
  65285. #. type: table
  65286. #: guix-git/doc/guix.texi:43185
  65287. msgid "Maximum time a cache entry is valid, in seconds. After this time a cache entry will be expired even if it has been accessed recently."
  65288. msgstr ""
  65289. #. type: item
  65290. #: guix-git/doc/guix.texi:43186
  65291. #, fuzzy, no-wrap
  65292. #| msgid "@code{debug?} (default: @code{#f})"
  65293. msgid "@code{default-cache-ttl-ssh} (default: @code{1800}) (type: integer)"
  65294. msgstr "@code{debug?} (default: @code{#f})"
  65295. #. type: table
  65296. #: guix-git/doc/guix.texi:43188
  65297. msgid "Time a cache entry for SSH keys is valid, in seconds."
  65298. msgstr ""
  65299. #. type: item
  65300. #: guix-git/doc/guix.texi:43189
  65301. #, fuzzy, no-wrap
  65302. #| msgid "@code{debug?} (default: @code{#f})"
  65303. msgid "@code{max-cache-ttl-ssh} (default: @code{7200}) (type: integer)"
  65304. msgstr "@code{debug?} (default: @code{#f})"
  65305. #. type: table
  65306. #: guix-git/doc/guix.texi:43191
  65307. msgid "Maximum time a cache entry for SSH keys is valid, in seconds."
  65308. msgstr ""
  65309. #. type: table
  65310. #: guix-git/doc/guix.texi:43194
  65311. msgid "Raw content to add to the end of @file{~/.gnupg/gpg-agent.conf}."
  65312. msgstr ""
  65313. #. type: subsection
  65314. #: guix-git/doc/guix.texi:43203 guix-git/doc/guix.texi:43204
  65315. #, fuzzy, no-wrap
  65316. #| msgid "Desktop Services"
  65317. msgid "Desktop Home Services"
  65318. msgstr "Serviços de desktop"
  65319. #. type: Plain text
  65320. #: guix-git/doc/guix.texi:43209
  65321. msgid "The @code{(gnu home services desktop)} module provides services that you may find useful on ``desktop'' systems running a graphical user environment such as Xorg."
  65322. msgstr ""
  65323. #. type: defvar
  65324. #: guix-git/doc/guix.texi:43210
  65325. #, fuzzy, no-wrap
  65326. msgid "home-redshift-service-type"
  65327. msgstr "guix-publish-service-type"
  65328. #. type: defvar
  65329. #: guix-git/doc/guix.texi:43215
  65330. msgid "This is the service type for @uref{https://github.com/jonls/redshift, Redshift}, a program that adjusts the display color temperature according to the time of day. Its associated value must be a @code{home-redshift-configuration} record, as shown below."
  65331. msgstr ""
  65332. #. type: defvar
  65333. #: guix-git/doc/guix.texi:43218
  65334. msgid "A typical configuration, where we manually specify the latitude and longitude, might look like this:"
  65335. msgstr ""
  65336. #. type: lisp
  65337. #: guix-git/doc/guix.texi:43225
  65338. #, no-wrap
  65339. msgid ""
  65340. "(service home-redshift-service-type\n"
  65341. " (home-redshift-configuration\n"
  65342. " (location-provider 'manual)\n"
  65343. " (latitude 35.81) ;northern hemisphere\n"
  65344. " (longitude -0.80))) ;west of Greenwich\n"
  65345. msgstr ""
  65346. #. type: deftp
  65347. #: guix-git/doc/guix.texi:43228
  65348. #, fuzzy, no-wrap
  65349. msgid "{Data Type} home-redshift-configuration"
  65350. msgstr "build-machine {Data Type}"
  65351. #. type: deftp
  65352. #: guix-git/doc/guix.texi:43230
  65353. msgid "Available @code{home-redshift-configuration} fields are:"
  65354. msgstr ""
  65355. #. type: item
  65356. #: guix-git/doc/guix.texi:43232
  65357. #, fuzzy, no-wrap
  65358. #| msgid "@code{dbus?} (default: @code{#t})"
  65359. msgid "@code{redshift} (default: @code{redshift}) (type: file-like)"
  65360. msgstr "@code{dbus?} (padrão: @code{#t})"
  65361. #. type: table
  65362. #: guix-git/doc/guix.texi:43234
  65363. #, fuzzy
  65364. #| msgid "The GPM package to use."
  65365. msgid "Redshift package to use."
  65366. msgstr "O pacote GPM a ser usado."
  65367. #. type: item
  65368. #: guix-git/doc/guix.texi:43235
  65369. #, fuzzy, no-wrap
  65370. #| msgid "@code{users} (default: @code{#f})"
  65371. msgid "@code{location-provider} (default: @code{geoclue2}) (type: symbol)"
  65372. msgstr "@code{users} (default: @code{#f})"
  65373. #. type: table
  65374. #: guix-git/doc/guix.texi:43241
  65375. msgid "Geolocation provider---@code{'manual} or @code{'geoclue2}. In the former case, you must also specify the @code{latitude} and @code{longitude} fields so Redshift can determine daytime at your place. In the latter case, the Geoclue system service must be running; it will be queried for location information."
  65376. msgstr ""
  65377. #. type: item
  65378. #: guix-git/doc/guix.texi:43242
  65379. #, fuzzy, no-wrap
  65380. #| msgid "@code{users} (default: @code{#f})"
  65381. msgid "@code{adjustment-method} (default: @code{randr}) (type: symbol)"
  65382. msgstr "@code{users} (default: @code{#f})"
  65383. #. type: table
  65384. #: guix-git/doc/guix.texi:43244
  65385. msgid "Color adjustment method."
  65386. msgstr ""
  65387. #. type: item
  65388. #: guix-git/doc/guix.texi:43245
  65389. #, fuzzy, no-wrap
  65390. #| msgid "@code{debug?} (default: @code{#f})"
  65391. msgid "@code{daytime-temperature} (default: @code{6500}) (type: integer)"
  65392. msgstr "@code{debug?} (default: @code{#f})"
  65393. #. type: table
  65394. #: guix-git/doc/guix.texi:43247
  65395. msgid "Daytime color temperature (kelvins)."
  65396. msgstr ""
  65397. #. type: item
  65398. #: guix-git/doc/guix.texi:43248
  65399. #, fuzzy, no-wrap
  65400. #| msgid "@code{debug?} (default: @code{#f})"
  65401. msgid "@code{nighttime-temperature} (default: @code{4500}) (type: integer)"
  65402. msgstr "@code{debug?} (default: @code{#f})"
  65403. #. type: table
  65404. #: guix-git/doc/guix.texi:43250
  65405. msgid "Nighttime color temperature (kelvins)."
  65406. msgstr ""
  65407. #. type: item
  65408. #: guix-git/doc/guix.texi:43251
  65409. #, fuzzy, no-wrap
  65410. msgid "@code{daytime-brightness} (type: maybe-inexact-number)"
  65411. msgstr "@code{remote?} (padrão: @code{#f})"
  65412. #. type: table
  65413. #: guix-git/doc/guix.texi:43253
  65414. msgid "Daytime screen brightness, between 0.1 and 1.0, or left unspecified."
  65415. msgstr ""
  65416. #. type: item
  65417. #: guix-git/doc/guix.texi:43254
  65418. #, fuzzy, no-wrap
  65419. msgid "@code{nighttime-brightness} (type: maybe-inexact-number)"
  65420. msgstr "@code{remote?} (padrão: @code{#f})"
  65421. #. type: table
  65422. #: guix-git/doc/guix.texi:43256
  65423. msgid "Nighttime screen brightness, between 0.1 and 1.0, or left unspecified."
  65424. msgstr ""
  65425. #. type: item
  65426. #: guix-git/doc/guix.texi:43257
  65427. #, fuzzy, no-wrap
  65428. msgid "@code{latitude} (type: maybe-inexact-number)"
  65429. msgstr "@code{chdir} (default: @code{#f})"
  65430. #. type: table
  65431. #: guix-git/doc/guix.texi:43259
  65432. msgid "Latitude, when @code{location-provider} is @code{'manual}."
  65433. msgstr ""
  65434. #. type: item
  65435. #: guix-git/doc/guix.texi:43260
  65436. #, fuzzy, no-wrap
  65437. #| msgid "@code{no-hints?} (default: @code{#f})"
  65438. msgid "@code{longitude} (type: maybe-inexact-number)"
  65439. msgstr "@code{no-hints?} (padrão: @code{#f})"
  65440. #. type: table
  65441. #: guix-git/doc/guix.texi:43262
  65442. msgid "Longitude, when @code{location-provider} is @code{'manual}."
  65443. msgstr ""
  65444. #. type: item
  65445. #: guix-git/doc/guix.texi:43263
  65446. #, fuzzy, no-wrap
  65447. msgid "@code{dawn-time} (type: maybe-string)"
  65448. msgstr "@code{remote?} (padrão: @code{#f})"
  65449. #. type: table
  65450. #: guix-git/doc/guix.texi:43267
  65451. msgid "Custom time for the transition from night to day in the morning---@code{\"HH:MM\"} format. When specified, solar elevation is not used to determine the daytime/nighttime period."
  65452. msgstr ""
  65453. #. type: item
  65454. #: guix-git/doc/guix.texi:43268
  65455. #, fuzzy, no-wrap
  65456. msgid "@code{dusk-time} (type: maybe-string)"
  65457. msgstr "@code{remote?} (padrão: @code{#f})"
  65458. #. type: table
  65459. #: guix-git/doc/guix.texi:43271
  65460. msgid "Likewise, custom time for the transition from day to night in the evening."
  65461. msgstr ""
  65462. #. type: table
  65463. #: guix-git/doc/guix.texi:43276
  65464. msgid "Extra content appended as-is to the Redshift configuration file. Run @command{man redshift} for more information about the configuration file format."
  65465. msgstr ""
  65466. #. type: defvar
  65467. #: guix-git/doc/guix.texi:43281
  65468. #, fuzzy, no-wrap
  65469. #| msgid "guix-publish-service-type"
  65470. msgid "home-dbus-service-type"
  65471. msgstr "guix-publish-service-type"
  65472. #. type: defvar
  65473. #: guix-git/doc/guix.texi:43284
  65474. msgid "This is the service type for running a session-specific D-Bus, for unprivileged applications that require D-Bus to be running."
  65475. msgstr ""
  65476. #. type: deftp
  65477. #: guix-git/doc/guix.texi:43286
  65478. #, fuzzy, no-wrap
  65479. msgid "{Data Type} home-dbus-configuration"
  65480. msgstr "build-machine {Data Type}"
  65481. #. type: deftp
  65482. #: guix-git/doc/guix.texi:43288
  65483. #, fuzzy
  65484. msgid "The configuration record for @code{home-dbus-service-type}."
  65485. msgstr "Gerencie a configuração do sistema operacional."
  65486. #. type: item
  65487. #: guix-git/doc/guix.texi:43290
  65488. #, fuzzy, no-wrap
  65489. #| msgid "@code{dbus?} (default: @code{#t})"
  65490. msgid "@code{dbus} (default: @code{dbus})"
  65491. msgstr "@code{dbus?} (padrão: @code{#t})"
  65492. #. type: table
  65493. #: guix-git/doc/guix.texi:43292
  65494. #, fuzzy
  65495. #| msgid "Package management commands."
  65496. msgid "The package providing the @code{/bin/dbus-daemon} command."
  65497. msgstr "Comandos de gerenciamento de pacote."
  65498. #. type: defvar
  65499. #: guix-git/doc/guix.texi:43295
  65500. #, fuzzy, no-wrap
  65501. msgid "home-unclutter-service-type"
  65502. msgstr "guix-publish-service-type"
  65503. #. type: defvar
  65504. #: guix-git/doc/guix.texi:43301
  65505. msgid "This is the service type for Unclutter, a program that runs on the background of an X11 session and detects when the X pointer hasn't moved for a specified idle timeout, after which it hides the cursor so that you can focus on the text underneath. Its associated value must be a @code{home-unclutter-configuration} record, as shown below."
  65506. msgstr ""
  65507. #. type: defvar
  65508. #: guix-git/doc/guix.texi:43304
  65509. msgid "A typical configuration, where we manually specify the idle timeout (in seconds), might look like this:"
  65510. msgstr ""
  65511. #. type: lisp
  65512. #: guix-git/doc/guix.texi:43309
  65513. #, no-wrap
  65514. msgid ""
  65515. "(service home-unclutter-service-type\n"
  65516. " (home-unclutter-configuration\n"
  65517. " (idle-timeout 2)))\n"
  65518. msgstr ""
  65519. #. type: deftp
  65520. #: guix-git/doc/guix.texi:43312
  65521. #, fuzzy, no-wrap
  65522. msgid "{Data Type} home-unclutter-configuration"
  65523. msgstr "build-machine {Data Type}"
  65524. #. type: deftp
  65525. #: guix-git/doc/guix.texi:43314
  65526. #, fuzzy
  65527. msgid "The configuration record for @code{home-unclutter-service-type}."
  65528. msgstr "Gerencie a configuração do sistema operacional."
  65529. #. type: item
  65530. #: guix-git/doc/guix.texi:43316
  65531. #, fuzzy, no-wrap
  65532. #| msgid "@code{dbus?} (default: @code{#t})"
  65533. msgid "@code{unclutter} (default: @code{unclutter}) (type: file-like)"
  65534. msgstr "@code{dbus?} (padrão: @code{#t})"
  65535. #. type: table
  65536. #: guix-git/doc/guix.texi:43318
  65537. #, fuzzy
  65538. #| msgid "The GPM package to use."
  65539. msgid "Unclutter package to use."
  65540. msgstr "O pacote GPM a ser usado."
  65541. #. type: item
  65542. #: guix-git/doc/guix.texi:43319
  65543. #, fuzzy, no-wrap
  65544. #| msgid "@code{debug?} (default: @code{#f})"
  65545. msgid "@code{idle-timeout} (default: @code{5}) (type: integer)"
  65546. msgstr "@code{debug?} (default: @code{#f})"
  65547. #. type: table
  65548. #: guix-git/doc/guix.texi:43321
  65549. msgid "A timeout in seconds after which to hide cursor."
  65550. msgstr ""
  65551. #. type: defvar
  65552. #: guix-git/doc/guix.texi:43325
  65553. #, fuzzy, no-wrap
  65554. #| msgid "guix-publish-service-type"
  65555. msgid "home-xmodmap-service-type"
  65556. msgstr "guix-publish-service-type"
  65557. #. type: defvar
  65558. #: guix-git/doc/guix.texi:43331
  65559. msgid "This is the service type for the @uref{https://gitlab.freedesktop.org/xorg/app/xmodmap,xmodmap} utility to modify keymaps and pointer button mappings under the Xorg display server. Its associated value must be a @code{home-xmodmap-configuration} record, as shown below."
  65560. msgstr ""
  65561. #. type: defvar
  65562. #: guix-git/doc/guix.texi:43339
  65563. msgid "The @code{key-map} field takes a list of objects, each of which is either a @dfn{statement} (a string) or an @dfn{assignment} (a pair of strings). As an example, the snippet below swaps around the @kbd{Caps_Lock} and the @kbd{Control_L} keys, by first removing the keysyms (on the right-hand side) from the corresponding modifier maps (on the left-hand side), re-assigning them by swapping each other out, and finally adding back the keysyms to the modifier maps."
  65564. msgstr ""
  65565. #. type: lisp
  65566. #: guix-git/doc/guix.texi:43349
  65567. #, no-wrap
  65568. msgid ""
  65569. "(service home-xmodmap-service-type\n"
  65570. " (home-xmodmap-configuration\n"
  65571. " (key-map '((\"remove Lock\" . \"Caps_Lock\")\n"
  65572. " (\"remove Control\" . \"Control_L\")\n"
  65573. " (\"keysym Control_L\" . \"Caps_Lock\")\n"
  65574. " (\"keysym Caps_Lock\" . \"Control_L\")\n"
  65575. " (\"add Lock\" . \"Caps_Lock\")\n"
  65576. " (\"add Control\" . \"Control_L\")))))\n"
  65577. msgstr ""
  65578. #. type: deftp
  65579. #: guix-git/doc/guix.texi:43352
  65580. #, fuzzy, no-wrap
  65581. msgid "{Data Type} home-xmodmap-configuration"
  65582. msgstr "build-machine {Data Type}"
  65583. #. type: deftp
  65584. #: guix-git/doc/guix.texi:43355
  65585. #, fuzzy
  65586. msgid "The configuration record for @code{home-xmodmap-service-type}. Its available fields are:"
  65587. msgstr "Gerencie a configuração do sistema operacional."
  65588. #. type: item
  65589. #: guix-git/doc/guix.texi:43357
  65590. #, fuzzy, no-wrap
  65591. #| msgid "@code{dbus?} (default: @code{#t})"
  65592. msgid "@code{xmodmap} (default: @code{xmodmap}) (type: file-like)"
  65593. msgstr "@code{dbus?} (padrão: @code{#t})"
  65594. #. type: table
  65595. #: guix-git/doc/guix.texi:43359
  65596. #, fuzzy
  65597. #| msgid "The GPM package to use."
  65598. msgid "The @code{xmodmap} package to use."
  65599. msgstr "O pacote GPM a ser usado."
  65600. #. type: item
  65601. #: guix-git/doc/guix.texi:43360
  65602. #, fuzzy, no-wrap
  65603. #| msgid "@code{replacement} (default: @code{#f})"
  65604. msgid "@code{key-map} (default: @code{'()}) (type: list)"
  65605. msgstr "@code{replacement} (default: @code{#f})"
  65606. #. type: table
  65607. #: guix-git/doc/guix.texi:43362
  65608. msgid "The list of expressions to be read by @code{xmodmap} on service startup."
  65609. msgstr ""
  65610. #. type: subsection
  65611. #: guix-git/doc/guix.texi:43366 guix-git/doc/guix.texi:43367
  65612. #, fuzzy, no-wrap
  65613. #| msgid "Game Services"
  65614. msgid "Guix Home Services"
  65615. msgstr "Serviços de jogos"
  65616. #. type: Plain text
  65617. #: guix-git/doc/guix.texi:43371
  65618. msgid "The @code{(gnu home services guix)} module provides services for user-specific Guix configuration."
  65619. msgstr ""
  65620. #. type: defvar
  65621. #: guix-git/doc/guix.texi:43372
  65622. #, fuzzy, no-wrap
  65623. msgid "home-channels-service-type"
  65624. msgstr "guix-publish-service-type"
  65625. #. type: defvar
  65626. #: guix-git/doc/guix.texi:43378
  65627. msgid "This is the service type for managing @file{$XDG_CONFIG_HOME/guix/channels.scm}, the file that controls the channels received on @command{guix pull} (@pxref{Channels}). Its associated value is a list of @code{channel} records, defined in the @code{(guix channels)} module."
  65628. msgstr ""
  65629. #. type: defvar
  65630. #: guix-git/doc/guix.texi:43385
  65631. msgid "Generally, it is better to extend this service than to directly configure it, as its default value is the default guix channel(s) defined by @code{%default-channels}. If you configure this service directly, be sure to include a guix channel. @xref{Specifying Additional Channels} and @ref{Using a Custom Guix Channel} for more details."
  65632. msgstr ""
  65633. #. type: defvar
  65634. #: guix-git/doc/guix.texi:43387
  65635. msgid "A typical extension for adding a channel might look like this:"
  65636. msgstr ""
  65637. #. type: lisp
  65638. #: guix-git/doc/guix.texi:43395
  65639. #, no-wrap
  65640. msgid ""
  65641. "(simple-service 'variant-packages-service\n"
  65642. " home-channels-service-type\n"
  65643. " (list\n"
  65644. " (channel\n"
  65645. " (name 'variant-packages)\n"
  65646. " (url \"https://example.org/variant-packages.git\"))))\n"
  65647. msgstr ""
  65648. #. type: subsection
  65649. #: guix-git/doc/guix.texi:43398 guix-git/doc/guix.texi:43399
  65650. #, fuzzy, no-wrap
  65651. #| msgid "Game Services"
  65652. msgid "Fonts Home Services"
  65653. msgstr "Serviços de jogos"
  65654. #. type: Plain text
  65655. #: guix-git/doc/guix.texi:43405
  65656. msgid "The @code{(gnu home services fontutils)} module provides services for user-specific Fontconfig setup. The @uref{https://www.freedesktop.org/wiki/Software/fontconfig,Fontconfig} library is used by many applications to access fonts on the system."
  65657. msgstr ""
  65658. #. type: defvar
  65659. #: guix-git/doc/guix.texi:43406
  65660. #, fuzzy, no-wrap
  65661. #| msgid "guix-publish-service-type"
  65662. msgid "home-fontconfig-service-type"
  65663. msgstr "guix-publish-service-type"
  65664. #. type: defvar
  65665. #: guix-git/doc/guix.texi:43412
  65666. msgid "This is the service type for generating configurations for Fontconfig. Its associated value is a list of either strings (or gexps) pointing to fonts locations, or SXML (@pxref{SXML,,, guile, GNU Guile Reference Manual}) fragments to be converted into XML and put inside the main @code{fontconfig} node."
  65667. msgstr ""
  65668. #. type: defvar
  65669. #: guix-git/doc/guix.texi:43418
  65670. msgid "Generally, it is better to extend this service than to directly configure it, as its default value is the default Guix Home's profile font installation path (@file{~/.guix-home/profile/share/fonts}). If you configure this service directly, be sure to include the above directory."
  65671. msgstr ""
  65672. #. type: defvar
  65673. #: guix-git/doc/guix.texi:43421
  65674. msgid "A typical extension for adding an additional font directory and setting a font as the default monospace font might look like this:"
  65675. msgstr ""
  65676. #. type: lisp
  65677. #: guix-git/doc/guix.texi:43430
  65678. #, no-wrap
  65679. msgid ""
  65680. "(simple-service 'additional-fonts-service\n"
  65681. " home-fontconfig-service-type\n"
  65682. " (list \"~/.nix-profile/share/fonts\"\n"
  65683. " '(alias\n"
  65684. " (family \"monospace\")\n"
  65685. " (prefer\n"
  65686. " (family \"Liberation Mono\")))))\n"
  65687. msgstr ""
  65688. #. type: subsection
  65689. #: guix-git/doc/guix.texi:43433 guix-git/doc/guix.texi:43434
  65690. #, fuzzy, no-wrap
  65691. #| msgid "Sound Services"
  65692. msgid "Sound Home Services"
  65693. msgstr "Serviços de som"
  65694. #. type: Plain text
  65695. #: guix-git/doc/guix.texi:43438
  65696. msgid "The @code{(gnu home services sound)} module provides services related to sound support."
  65697. msgstr ""
  65698. #. type: cindex
  65699. #: guix-git/doc/guix.texi:43439
  65700. #, fuzzy, no-wrap
  65701. #| msgid "Other services."
  65702. msgid "PulseAudio, home service"
  65703. msgstr "Serviços domésticos"
  65704. #. type: cindex
  65705. #: guix-git/doc/guix.texi:43440
  65706. #, no-wrap
  65707. msgid "RTP, for PulseAudio"
  65708. msgstr ""
  65709. #. type: Plain text
  65710. #: guix-git/doc/guix.texi:43450
  65711. msgid "The following services dynamically reconfigure the @uref{https://pulseaudio.org,PulseAudio sound server}: they let you toggle broadcast of audio output over the network using the @acronym{RTP, real-time transport protocol} and, correspondingly, playback of sound received over RTP. Once @code{home-pulseaudio-rtp-sink-service-type} is among your home services, you can start broadcasting audio output by running this command:"
  65712. msgstr ""
  65713. #. type: example
  65714. #: guix-git/doc/guix.texi:43453 guix-git/doc/guix.texi:43519
  65715. #, no-wrap
  65716. msgid "herd start pulseaudio-rtp-sink\n"
  65717. msgstr ""
  65718. #. type: Plain text
  65719. #: guix-git/doc/guix.texi:43458
  65720. msgid "You can then run a PulseAudio-capable mixer, such as @code{pavucontrol} or @code{pulsemixer} (both from the same-named package) to control which audio stream(s) should be sent to the RTP ``sink''."
  65721. msgstr ""
  65722. #. type: Plain text
  65723. #: guix-git/doc/guix.texi:43465
  65724. msgid "By default, audio is broadcasted to a multicast address: any device on the @acronym{LAN, local area network} receives it and may play it. Using multicast in this way puts a lot of pressure on the network and degrades its performance, so you may instead prefer sending to specifically one device. The first way to do that is by specifying the IP address of the target device when starting the service:"
  65725. msgstr ""
  65726. #. type: example
  65727. #: guix-git/doc/guix.texi:43468
  65728. #, no-wrap
  65729. msgid "herd start pulseaudio-rtp-sink 192.168.1.42\n"
  65730. msgstr ""
  65731. #. type: Plain text
  65732. #: guix-git/doc/guix.texi:43472
  65733. msgid "The other option is to specify this IP address as the one to use by default in your home environment configuration:"
  65734. msgstr ""
  65735. #. type: lisp
  65736. #: guix-git/doc/guix.texi:43476
  65737. #, no-wrap
  65738. msgid ""
  65739. "(service home-pulseaudio-rtp-sink-service-type\n"
  65740. " \"192.168.1.42\")\n"
  65741. msgstr ""
  65742. #. type: Plain text
  65743. #: guix-git/doc/guix.texi:43480
  65744. msgid "On the device where you intend to receive and play the RTP stream, you can use @code{home-pulseaudio-rtp-source-service-type}, like so:"
  65745. msgstr ""
  65746. #. type: lisp
  65747. #: guix-git/doc/guix.texi:43483
  65748. #, fuzzy, no-wrap
  65749. msgid "(service home-pulseaudio-rtp-source-service-type)\n"
  65750. msgstr "guix-publish-service-type"
  65751. #. type: Plain text
  65752. #: guix-git/doc/guix.texi:43486
  65753. msgid "This will then let you start the receiving module for PulseAudio:"
  65754. msgstr ""
  65755. #. type: example
  65756. #: guix-git/doc/guix.texi:43489
  65757. #, no-wrap
  65758. msgid "herd start pulseaudio-rtp-source\n"
  65759. msgstr ""
  65760. #. type: Plain text
  65761. #: guix-git/doc/guix.texi:43494
  65762. msgid "Again, by default it will listen on the multicast address. If, instead, you'd like it to listen for direct incoming connections, you can do that by running:"
  65763. msgstr ""
  65764. #. type: lisp
  65765. #: guix-git/doc/guix.texi:43498
  65766. #, no-wrap
  65767. msgid ""
  65768. "(service home-pulseaudio-rtp-source-service-type\n"
  65769. " \"0.0.0.0\")\n"
  65770. msgstr ""
  65771. #. type: Plain text
  65772. #: guix-git/doc/guix.texi:43501
  65773. msgid "The reference of these services is given below."
  65774. msgstr ""
  65775. #. type: defvar
  65776. #: guix-git/doc/guix.texi:43502
  65777. #, fuzzy, no-wrap
  65778. #| msgid "guix-publish-service-type"
  65779. msgid "home-pulseaudio-rtp-sink-service-type"
  65780. msgstr "guix-publish-service-type"
  65781. #. type: defvarx
  65782. #: guix-git/doc/guix.texi:43503
  65783. #, fuzzy, no-wrap
  65784. #| msgid "guix-publish-service-type"
  65785. msgid "home-pulseaudio-rtp-source-service-type"
  65786. msgstr "guix-publish-service-type"
  65787. #. type: defvar
  65788. #: guix-git/doc/guix.texi:43506
  65789. msgid "This is the type of the service to send, respectively receive, audio streams over @acronym{RTP, real-time transport protocol}."
  65790. msgstr ""
  65791. #. type: defvar
  65792. #: guix-git/doc/guix.texi:43511
  65793. msgid "The value associated with this service is the IP address (a string) where to send, respectively receive, the audio stream. By default, audio is sent/received on multicast address @code{%pulseaudio-rtp-multicast-address}."
  65794. msgstr ""
  65795. #. type: defvar
  65796. #: guix-git/doc/guix.texi:43516
  65797. msgid "This service defines one Shepherd service: @code{pulseaudio-rtp-sink}, respectively @code{pulseaudio-rtp-source}. The service is not started by default, so you have to explicitly start it when you want to turn it on, as in this example:"
  65798. msgstr ""
  65799. #. type: defvar
  65800. #: guix-git/doc/guix.texi:43522
  65801. msgid "Stopping the Shepherd service turns off broadcasting."
  65802. msgstr ""
  65803. #. type: defvar
  65804. #: guix-git/doc/guix.texi:43524
  65805. #, no-wrap
  65806. msgid "%pulseaudio-rtp-multicast-address"
  65807. msgstr ""
  65808. #. type: defvar
  65809. #: guix-git/doc/guix.texi:43526
  65810. msgid "This is the multicast address used by default by the two services above."
  65811. msgstr ""
  65812. #. type: subsection
  65813. #: guix-git/doc/guix.texi:43528 guix-git/doc/guix.texi:43529
  65814. #, fuzzy, no-wrap
  65815. #| msgid "Game Services"
  65816. msgid "Mail Home Services"
  65817. msgstr "Serviços de jogos"
  65818. #. type: Plain text
  65819. #: guix-git/doc/guix.texi:43533
  65820. msgid "The @code{(gnu home services mail)} module provides services that help you set up the tools to work with emails in your home environment."
  65821. msgstr ""
  65822. #. type: cindex
  65823. #: guix-git/doc/guix.texi:43534
  65824. #, no-wrap
  65825. msgid "msmtp"
  65826. msgstr ""
  65827. #. type: Plain text
  65828. #: guix-git/doc/guix.texi:43538
  65829. msgid "@uref{https://marlam.de/msmtp, MSMTP} is a @acronym{SMTP, Simple Mail Transfer Protocol} client. It sends mail to a predefined SMTP server that takes care of proper delivery."
  65830. msgstr ""
  65831. #. type: defvar
  65832. #: guix-git/doc/guix.texi:43541
  65833. #, fuzzy, no-wrap
  65834. #| msgid "guix-publish-service-type"
  65835. msgid "home-msmtp-service-type"
  65836. msgstr "guix-publish-service-type"
  65837. #. type: defvar
  65838. #: guix-git/doc/guix.texi:43545
  65839. msgid "This is the service type for @command{msmtp}. Its value must be a @code{home-msmtp-configuration}, as shown below. It provides the @file{~/.config/msmtp/config} file."
  65840. msgstr ""
  65841. #. type: defvar
  65842. #: guix-git/doc/guix.texi:43548
  65843. msgid "As an example, here is how you would configure @code{msmtp} for a single account:"
  65844. msgstr ""
  65845. #. type: lisp
  65846. #: guix-git/doc/guix.texi:43562
  65847. #, no-wrap
  65848. msgid ""
  65849. "(service home-msmtp-service-type\n"
  65850. " (home-msmtp-configuration\n"
  65851. " (accounts\n"
  65852. " (list\n"
  65853. " (msmtp-account\n"
  65854. " (name \"alice\")\n"
  65855. " (configuration\n"
  65856. " (msmtp-configuration\n"
  65857. " (host \"mail.example.org\")\n"
  65858. " (port 587)\n"
  65859. " (user \"alice\")\n"
  65860. " (password-eval \"pass Mail/alice\"))))))))\n"
  65861. msgstr ""
  65862. #. type: deftp
  65863. #: guix-git/doc/guix.texi:43567
  65864. #, fuzzy, no-wrap
  65865. msgid "{Data Type} home-msmtp-configuration"
  65866. msgstr "build-machine {Data Type}"
  65867. #. type: deftp
  65868. #: guix-git/doc/guix.texi:43569
  65869. #, fuzzy
  65870. msgid "Available @code{home-msmtp-configuration} fields are:"
  65871. msgstr "build-machine {Data Type}"
  65872. #. type: item
  65873. #: guix-git/doc/guix.texi:43571
  65874. #, fuzzy, no-wrap
  65875. msgid "@code{defaults} (type: msmtp-configuration)"
  65876. msgstr "build-machine {Data Type}"
  65877. #. type: table
  65878. #: guix-git/doc/guix.texi:43573
  65879. msgid "The configuration that will be set as default for all accounts."
  65880. msgstr ""
  65881. #. type: item
  65882. #: guix-git/doc/guix.texi:43574
  65883. #, fuzzy, no-wrap
  65884. #| msgid "@code{replacement} (default: @code{#f})"
  65885. msgid "@code{accounts} (default: @code{'()}) (type: list-of-msmtp-accounts)"
  65886. msgstr "@code{replacement} (default: @code{#f})"
  65887. #. type: table
  65888. #: guix-git/doc/guix.texi:43577
  65889. msgid "A list of @code{msmtp-account} records which contain information about all your accounts."
  65890. msgstr ""
  65891. #. type: item
  65892. #: guix-git/doc/guix.texi:43578
  65893. #, fuzzy, no-wrap
  65894. msgid "@code{default-account} (type: maybe-string)"
  65895. msgstr "@code{remote?} (padrão: @code{#f})"
  65896. #. type: table
  65897. #: guix-git/doc/guix.texi:43580
  65898. msgid "Set the default account."
  65899. msgstr ""
  65900. #. type: item
  65901. #: guix-git/doc/guix.texi:43581 guix-git/doc/guix.texi:43652
  65902. #, fuzzy, no-wrap
  65903. #| msgid "@code{dbus?} (default: @code{#t})"
  65904. msgid "@code{extra-content} (default: @code{\"\"}) (type: string)"
  65905. msgstr "@code{dbus?} (padrão: @code{#t})"
  65906. #. type: table
  65907. #: guix-git/doc/guix.texi:43585
  65908. msgid "Extra content appended as-is to the configuration file. Run @command{man msmtp} for more information about the configuration file format."
  65909. msgstr ""
  65910. #. type: deftp
  65911. #: guix-git/doc/guix.texi:43594
  65912. #, fuzzy, no-wrap
  65913. msgid "{Data Type} msmtp-account"
  65914. msgstr "build-machine {Data Type}"
  65915. #. type: deftp
  65916. #: guix-git/doc/guix.texi:43596
  65917. #, fuzzy
  65918. msgid "Available @code{msmtp-account} fields are:"
  65919. msgstr "build-machine {Data Type}"
  65920. #. type: table
  65921. #: guix-git/doc/guix.texi:43600
  65922. #, fuzzy
  65923. #| msgid "The host name of the remote machine."
  65924. msgid "The unique name of the account."
  65925. msgstr "O nome de host da máquina remota."
  65926. #. type: item
  65927. #: guix-git/doc/guix.texi:43601
  65928. #, fuzzy, no-wrap
  65929. #| msgid "@code{dbus?} (default: @code{#t})"
  65930. msgid "@code{configuration} (type: msmtp-configuration)"
  65931. msgstr "@code{dbus?} (padrão: @code{#t})"
  65932. #. type: table
  65933. #: guix-git/doc/guix.texi:43603
  65934. #, fuzzy
  65935. msgid "The configuration for this given account."
  65936. msgstr "Gerencie a configuração do sistema operacional."
  65937. #. type: deftp
  65938. #: guix-git/doc/guix.texi:43612
  65939. #, fuzzy, no-wrap
  65940. msgid "{Data Type} msmtp-configuration"
  65941. msgstr "build-machine {Data Type}"
  65942. #. type: deftp
  65943. #: guix-git/doc/guix.texi:43614
  65944. #, fuzzy
  65945. msgid "Available @code{msmtp-configuration} fields are:"
  65946. msgstr "build-machine {Data Type}"
  65947. #. type: item
  65948. #: guix-git/doc/guix.texi:43616
  65949. #, fuzzy, no-wrap
  65950. msgid "@code{auth?} (type: maybe-boolean)"
  65951. msgstr "@code{chdir} (default: @code{#f})"
  65952. #. type: table
  65953. #: guix-git/doc/guix.texi:43618
  65954. #, fuzzy
  65955. #| msgid "How to enable or disable substitutes."
  65956. msgid "Enable or disable authentication."
  65957. msgstr "Como habilitar ou desabilitar substitutos."
  65958. #. type: item
  65959. #: guix-git/doc/guix.texi:43619
  65960. #, fuzzy, no-wrap
  65961. msgid "@code{tls?} (type: maybe-boolean)"
  65962. msgstr "@code{chdir} (default: @code{#f})"
  65963. #. type: table
  65964. #: guix-git/doc/guix.texi:43621
  65965. msgid "Enable or disable TLS (also known as SSL) for secured connections."
  65966. msgstr ""
  65967. #. type: item
  65968. #: guix-git/doc/guix.texi:43622
  65969. #, fuzzy, no-wrap
  65970. msgid "@code{tls-starttls?} (type: maybe-boolean)"
  65971. msgstr "@code{chdir} (default: @code{#f})"
  65972. #. type: table
  65973. #: guix-git/doc/guix.texi:43625
  65974. msgid "Choose the TLS variant: start TLS from within the session (‘on’, default), or tunnel the session through TLS (‘off’)."
  65975. msgstr ""
  65976. #. type: item
  65977. #: guix-git/doc/guix.texi:43626
  65978. #, fuzzy, no-wrap
  65979. msgid "@code{tls-trust-file} (type: maybe-string)"
  65980. msgstr "@code{remote?} (padrão: @code{#f})"
  65981. #. type: table
  65982. #: guix-git/doc/guix.texi:43629
  65983. msgid "Activate server certificate verification using a list of trusted Certification Authorities (CAs)."
  65984. msgstr ""
  65985. #. type: table
  65986. #: guix-git/doc/guix.texi:43634
  65987. msgid "Enable logging to the specified file. An empty argument disables logging. The file name ‘-’ directs the log information to standard output."
  65988. msgstr ""
  65989. #. type: item
  65990. #: guix-git/doc/guix.texi:43635
  65991. #, fuzzy, no-wrap
  65992. msgid "@code{host} (type: maybe-string)"
  65993. msgstr "@code{remote?} (padrão: @code{#f})"
  65994. #. type: table
  65995. #: guix-git/doc/guix.texi:43637
  65996. msgid "The SMTP server to send the mail to."
  65997. msgstr ""
  65998. #. type: item
  65999. #: guix-git/doc/guix.texi:43638
  66000. #, fuzzy, no-wrap
  66001. msgid "@code{port} (type: maybe-integer)"
  66002. msgstr "@code{remote?} (padrão: @code{#f})"
  66003. #. type: table
  66004. #: guix-git/doc/guix.texi:43641
  66005. msgid "The port that the SMTP server listens on. The default is 25 (\"smtp\"), unless TLS without STARTTLS is used, in which case it is 465 (\"smtps\")."
  66006. msgstr ""
  66007. #. type: table
  66008. #: guix-git/doc/guix.texi:43644
  66009. #, fuzzy
  66010. #| msgid "Substitute Authentication"
  66011. msgid "Set the user name for authentication."
  66012. msgstr "Autenticação de substituto"
  66013. #. type: item
  66014. #: guix-git/doc/guix.texi:43645
  66015. #, fuzzy, no-wrap
  66016. msgid "@code{from} (type: maybe-string)"
  66017. msgstr "@code{remote?} (padrão: @code{#f})"
  66018. #. type: table
  66019. #: guix-git/doc/guix.texi:43647
  66020. msgid "Set the envelope-from address."
  66021. msgstr ""
  66022. #. type: item
  66023. #: guix-git/doc/guix.texi:43648
  66024. #, fuzzy, no-wrap
  66025. msgid "@code{password-eval} (type: maybe-string)"
  66026. msgstr "@code{remote?} (padrão: @code{#f})"
  66027. #. type: table
  66028. #: guix-git/doc/guix.texi:43651
  66029. msgid "Set the password for authentication to the output (stdout) of the command cmd."
  66030. msgstr ""
  66031. #. type: table
  66032. #: guix-git/doc/guix.texi:43656
  66033. msgid "Extra content appended as-is to the configuration block. Run @command{man msmtp} for more information about the configuration file format."
  66034. msgstr ""
  66035. #. type: subsection
  66036. #: guix-git/doc/guix.texi:43663 guix-git/doc/guix.texi:43664
  66037. #, fuzzy, no-wrap
  66038. #| msgid "Messaging Services"
  66039. msgid "Messaging Home Services"
  66040. msgstr "Serviços de mensageria"
  66041. #. type: cindex
  66042. #: guix-git/doc/guix.texi:43666
  66043. #, no-wrap
  66044. msgid "znc"
  66045. msgstr ""
  66046. #. type: Plain text
  66047. #: guix-git/doc/guix.texi:43670
  66048. msgid "The @uref{https://znc.in, ZNC bouncer} can be run as a daemon to manage your IRC presence. With the @code{(gnu home services messaging)} service, you can configure ZNC to run upon login."
  66049. msgstr ""
  66050. #. type: Plain text
  66051. #: guix-git/doc/guix.texi:43672
  66052. msgid "You will have to provide a @file{~/.znc/configs/znc.conf} seperately."
  66053. msgstr ""
  66054. #. type: lisp
  66055. #: guix-git/doc/guix.texi:43678
  66056. #, fuzzy, no-wrap
  66057. msgid "(service home-znc-service-type)\n"
  66058. msgstr "guix-publish-service-type"
  66059. #. type: defvar
  66060. #: guix-git/doc/guix.texi:43680
  66061. #, fuzzy, no-wrap
  66062. #| msgid "guix-publish-service-type"
  66063. msgid "home-znc-service-type"
  66064. msgstr "guix-publish-service-type"
  66065. #. type: defvar
  66066. #: guix-git/doc/guix.texi:43683
  66067. msgid "This is the type of the ZNC home service, whose value is a @code{home-znc-configuration} object."
  66068. msgstr ""
  66069. #. type: deftp
  66070. #: guix-git/doc/guix.texi:43685
  66071. #, fuzzy, no-wrap
  66072. msgid "{Data Type} home-znc-configuration"
  66073. msgstr "build-machine {Data Type}"
  66074. #. type: deftp
  66075. #: guix-git/doc/guix.texi:43687
  66076. #, fuzzy
  66077. msgid "Available @code{home-znc-configuration} fields are:"
  66078. msgstr "build-machine {Data Type}"
  66079. #. type: item
  66080. #: guix-git/doc/guix.texi:43689
  66081. #, fuzzy, no-wrap
  66082. #| msgid "@code{dbus?} (default: @code{#t})"
  66083. msgid "@code{znc} (default: @code{znc}) (type: file-like)"
  66084. msgstr "@code{dbus?} (padrão: @code{#t})"
  66085. #. type: table
  66086. #: guix-git/doc/guix.texi:43691
  66087. #, fuzzy
  66088. #| msgid "The GPM package to use."
  66089. msgid "The ZNC package to use."
  66090. msgstr "O pacote GPM a ser usado."
  66091. #. type: table
  66092. #: guix-git/doc/guix.texi:43695
  66093. msgid "Extra options will be passed to @command{znc}, please run @command{man znc} for more information."
  66094. msgstr ""
  66095. #. type: subsection
  66096. #: guix-git/doc/guix.texi:43699 guix-git/doc/guix.texi:43700
  66097. #, fuzzy, no-wrap
  66098. #| msgid "Game Services"
  66099. msgid "Media Home Services"
  66100. msgstr "Serviços de jogos"
  66101. #. type: cindex
  66102. #: guix-git/doc/guix.texi:43702
  66103. #, no-wrap
  66104. msgid "kodi"
  66105. msgstr ""
  66106. #. type: Plain text
  66107. #: guix-git/doc/guix.texi:43706
  66108. msgid "The @uref{https://kodi.tv, Kodi media center} can be run as a daemon on a media server. With the @code{(gnu home services kodi)} service, you can configure Kodi to run upon login."
  66109. msgstr ""
  66110. #. type: lisp
  66111. #: guix-git/doc/guix.texi:43714
  66112. #, no-wrap
  66113. msgid ""
  66114. "(service home-kodi-service-type\n"
  66115. " (home-kodi-configuration\n"
  66116. " (extra-options '(\"--settings=\"<settings-file>\"))))\n"
  66117. msgstr ""
  66118. #. type: defvar
  66119. #: guix-git/doc/guix.texi:43716
  66120. #, fuzzy, no-wrap
  66121. #| msgid "guix-publish-service-type"
  66122. msgid "home-kodi-service-type"
  66123. msgstr "guix-publish-service-type"
  66124. #. type: defvar
  66125. #: guix-git/doc/guix.texi:43719
  66126. msgid "This is the type of the Kodi home service, whose value is a @code{home-kodi-configuration} object."
  66127. msgstr ""
  66128. #. type: deftp
  66129. #: guix-git/doc/guix.texi:43721
  66130. #, fuzzy, no-wrap
  66131. msgid "{Data Type} home-kodi-configuration"
  66132. msgstr "build-machine {Data Type}"
  66133. #. type: deftp
  66134. #: guix-git/doc/guix.texi:43723
  66135. #, fuzzy
  66136. msgid "Available @code{home-kodi-configuration} fields are:"
  66137. msgstr "build-machine {Data Type}"
  66138. #. type: item
  66139. #: guix-git/doc/guix.texi:43725
  66140. #, fuzzy, no-wrap
  66141. #| msgid "@code{dbus?} (default: @code{#t})"
  66142. msgid "@code{kodi} (default: @code{kodi}) (type: file-like)"
  66143. msgstr "@code{dbus?} (padrão: @code{#t})"
  66144. #. type: table
  66145. #: guix-git/doc/guix.texi:43727
  66146. #, fuzzy
  66147. msgid "The Kodi package to use."
  66148. msgstr "O pacote GPM a ser usado."
  66149. #. type: table
  66150. #: guix-git/doc/guix.texi:43731
  66151. msgid "Extra options will be passed to @command{kodi}, please run @command{man kodi} for more information."
  66152. msgstr ""
  66153. #. type: section
  66154. #: guix-git/doc/guix.texi:43736
  66155. #, fuzzy, no-wrap
  66156. #| msgid "Invoking @command{guix size}"
  66157. msgid "Invoking @command{guix home}"
  66158. msgstr "Invocando @command{guix size}"
  66159. #. type: command{#1}
  66160. #: guix-git/doc/guix.texi:43738
  66161. #, fuzzy, no-wrap
  66162. #| msgid "# guix install hello\n"
  66163. msgid "guix home"
  66164. msgstr "# guix install hello\n"
  66165. #. type: Plain text
  66166. #: guix-git/doc/guix.texi:43743
  66167. msgid "Once you have written a home environment declaration (@pxref{Declaring the Home Environment,,,,}, it can be @dfn{instantiated} using the @command{guix home} command. The synopsis is:"
  66168. msgstr ""
  66169. #. type: example
  66170. #: guix-git/doc/guix.texi:43746
  66171. #, no-wrap
  66172. msgid "guix home @var{options}@dots{} @var{action} @var{file}\n"
  66173. msgstr ""
  66174. #. type: Plain text
  66175. #: guix-git/doc/guix.texi:43753
  66176. msgid "@var{file} must be the name of a file containing a @code{home-environment} declaration. @var{action} specifies how the home environment is instantiated, but there are few auxiliary actions which don't instantiate it. Currently the following values are supported:"
  66177. msgstr ""
  66178. #. type: table
  66179. #: guix-git/doc/guix.texi:43758
  66180. msgid "Display available home service type definitions that match the given regular expressions, sorted by relevance:"
  66181. msgstr ""
  66182. #. type: cindex
  66183. #: guix-git/doc/guix.texi:43760
  66184. #, no-wrap
  66185. msgid "shell-profile"
  66186. msgstr ""
  66187. #. type: example
  66188. #: guix-git/doc/guix.texi:43771
  66189. #, no-wrap
  66190. msgid ""
  66191. "$ guix home search shell\n"
  66192. "name: home-shell-profile\n"
  66193. "location: gnu/home/services/shells.scm:100:2\n"
  66194. "extends: home-files\n"
  66195. "description: Create `~/.profile', which is used for environment initialization of POSIX compliant login shells.\n"
  66196. "+ This service type can be extended with a list of file-like objects.\n"
  66197. "relevance: 6\n"
  66198. "\n"
  66199. msgstr ""
  66200. #. type: example
  66201. #: guix-git/doc/guix.texi:43777
  66202. #, no-wrap
  66203. msgid ""
  66204. "name: home-fish\n"
  66205. "location: gnu/home/services/shells.scm:640:2\n"
  66206. "extends: home-files home-profile\n"
  66207. "description: Install and configure Fish, the friendly interactive shell.\n"
  66208. "relevance: 3\n"
  66209. "\n"
  66210. msgstr ""
  66211. #. type: example
  66212. #: guix-git/doc/guix.texi:43783
  66213. #, no-wrap
  66214. msgid ""
  66215. "name: home-zsh\n"
  66216. "location: gnu/home/services/shells.scm:290:2\n"
  66217. "extends: home-files home-profile\n"
  66218. "description: Install and configure Zsh.\n"
  66219. "relevance: 1\n"
  66220. "\n"
  66221. msgstr ""
  66222. #. type: example
  66223. #: guix-git/doc/guix.texi:43789
  66224. #, no-wrap
  66225. msgid ""
  66226. "name: home-bash\n"
  66227. "location: gnu/home/services/shells.scm:508:2\n"
  66228. "extends: home-files home-profile\n"
  66229. "description: Install and configure GNU Bash.\n"
  66230. "relevance: 1\n"
  66231. "\n"
  66232. msgstr ""
  66233. #. type: table
  66234. #: guix-git/doc/guix.texi:43796
  66235. msgid "As for @command{guix search}, the result is written in @code{recutils} format, which makes it easy to filter the output (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})."
  66236. msgstr ""
  66237. #. type: table
  66238. #: guix-git/doc/guix.texi:43801
  66239. msgid "Spawn a shell in an isolated environment---a @dfn{container}---containing your home as specified by @var{file}."
  66240. msgstr ""
  66241. #. type: table
  66242. #: guix-git/doc/guix.texi:43804
  66243. msgid "For example, this is how you would start an interactive shell in a container with your home:"
  66244. msgstr ""
  66245. #. type: table
  66246. #: guix-git/doc/guix.texi:43812
  66247. msgid "This is a throw-away container where you can lightheartedly fiddle with files; any changes made within the container, any process started---all this disappears as soon as you exit that shell."
  66248. msgstr ""
  66249. #. type: table
  66250. #: guix-git/doc/guix.texi:43814
  66251. msgid "As with @command{guix shell}, several options control that container:"
  66252. msgstr ""
  66253. #. type: table
  66254. #: guix-git/doc/guix.texi:43819
  66255. msgid "Enable networking within the container (it is disabled by default)."
  66256. msgstr ""
  66257. #. type: table
  66258. #: guix-git/doc/guix.texi:43826
  66259. msgid "As with @command{guix shell}, make directory @var{source} of the host system available as @var{target} inside the container---read-only if you pass @option{--expose}, and writable if you pass @option{--share} (@pxref{Invoking guix shell, @option{--expose} and @option{--share}})."
  66260. msgstr ""
  66261. #. type: table
  66262. #: guix-git/doc/guix.texi:43832
  66263. msgid "Additionally, you can run a command in that container, instead of spawning an interactive shell. For instance, here is how you would check which Shepherd services are started in a throw-away home container:"
  66264. msgstr ""
  66265. #. type: example
  66266. #: guix-git/doc/guix.texi:43835
  66267. #, no-wrap
  66268. msgid "guix home container config.scm -- herd status\n"
  66269. msgstr ""
  66270. #. type: table
  66271. #: guix-git/doc/guix.texi:43839
  66272. msgid "The command to run in the container must come after @code{--} (double hyphen)."
  66273. msgstr ""
  66274. #. type: table
  66275. #: guix-git/doc/guix.texi:43844
  66276. msgid "Edit or view the definition of the given Home service types."
  66277. msgstr ""
  66278. #. type: table
  66279. #: guix-git/doc/guix.texi:43848
  66280. msgid "For example, the command below opens your editor, as specified by the @env{EDITOR} environment variable, on the definition of the @code{home-mcron} service type:"
  66281. msgstr ""
  66282. #. type: example
  66283. #: guix-git/doc/guix.texi:43851
  66284. #, fuzzy, no-wrap
  66285. #| msgid "Invoking guix describe"
  66286. msgid "guix home edit home-mcron\n"
  66287. msgstr "guix home describe\n"
  66288. #. type: table
  66289. #: guix-git/doc/guix.texi:43861
  66290. msgid "Build the home environment described in @var{file}, and switch to it. Switching means that the activation script will be evaluated and (in basic scenario) symlinks to configuration files generated from @code{home-environment} declaration will be created in @file{~}. If the file with the same path already exists in home folder it will be moved to @file{~/@var{timestamp}-guix-home-legacy-configs-backup}, where @var{timestamp} is a current UNIX epoch time."
  66291. msgstr ""
  66292. #. type: quotation
  66293. #: guix-git/doc/guix.texi:43866
  66294. msgid "It is highly recommended to run @command{guix pull} once before you run @command{guix home reconfigure} for the first time (@pxref{Invoking guix pull})."
  66295. msgstr ""
  66296. #. type: table
  66297. #: guix-git/doc/guix.texi:43873
  66298. msgid "This effects all the configuration specified in @var{file}. The command starts Shepherd services specified in @var{file} that are not currently running; if a service is currently running, this command will arrange for it to be upgraded the next time it is stopped (e.g.@: by @code{herd stop @var{service}} or @code{herd restart @var{service}})."
  66299. msgstr ""
  66300. #. type: table
  66301. #: guix-git/doc/guix.texi:43879
  66302. msgid "This command creates a new generation whose number is one greater than the current generation (as reported by @command{guix home list-generations}). If that generation already exists, it will be overwritten. This behavior mirrors that of @command{guix package} (@pxref{Invoking guix package})."
  66303. msgstr ""
  66304. #. type: cindex
  66305. #: guix-git/doc/guix.texi:43880
  66306. #, no-wrap
  66307. msgid "provenance tracking, of the home environment"
  66308. msgstr "rastreamento de proveniência, do ambiente doméstico"
  66309. #. type: table
  66310. #: guix-git/doc/guix.texi:43885
  66311. msgid "Upon completion, the new home is deployed under @file{~/.guix-home}. This directory contains @dfn{provenance meta-data}: the list of channels in use (@pxref{Channels}) and @var{file} itself, when available. You can view the provenance information by running:"
  66312. msgstr ""
  66313. #. type: example
  66314. #: guix-git/doc/guix.texi:43888
  66315. #, fuzzy, no-wrap
  66316. #| msgid "Invoking guix describe"
  66317. msgid "guix home describe\n"
  66318. msgstr "guix home describe\n"
  66319. #. type: table
  66320. #: guix-git/doc/guix.texi:43894
  66321. msgid "This information is useful should you later want to inspect how this particular generation was built. In fact, assuming @var{file} is self-contained, you can later rebuild generation @var{n} of your home environment with:"
  66322. msgstr ""
  66323. #. type: example
  66324. #: guix-git/doc/guix.texi:43900
  66325. #, no-wrap
  66326. msgid ""
  66327. "guix time-machine \\\n"
  66328. " -C /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/channels.scm -- \\\n"
  66329. " home reconfigure \\\n"
  66330. " /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/configuration.scm\n"
  66331. "\n"
  66332. msgstr ""
  66333. #. type: table
  66334. #: guix-git/doc/guix.texi:43907
  66335. msgid "You can think of it as some sort of built-in version control! Your home is not just a binary artifact: @emph{it carries its own source}."
  66336. msgstr ""
  66337. #. type: cindex
  66338. #: guix-git/doc/guix.texi:43913
  66339. #, fuzzy, no-wrap
  66340. #| msgid "generations"
  66341. msgid "home generations"
  66342. msgstr "gerações"
  66343. #. type: table
  66344. #: guix-git/doc/guix.texi:43916
  66345. msgid "Switch to an existing home generation. This action atomically switches the home profile to the specified home generation."
  66346. msgstr ""
  66347. #. type: table
  66348. #: guix-git/doc/guix.texi:43920
  66349. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to home generation 7:"
  66350. msgstr ""
  66351. #. type: example
  66352. #: guix-git/doc/guix.texi:43923
  66353. #, fuzzy, no-wrap
  66354. #| msgid "$ guix system list-generations 10d\n"
  66355. msgid "guix home switch-generation 7\n"
  66356. msgstr "$ guix system list-generations 10d\n"
  66357. #. type: example
  66358. #: guix-git/doc/guix.texi:43934
  66359. #, fuzzy, no-wrap
  66360. #| msgid "$ guix system list-generations 10d\n"
  66361. msgid "guix home switch-generation -- -1\n"
  66362. msgstr "$ guix system list-generations 10d\n"
  66363. #. type: table
  66364. #: guix-git/doc/guix.texi:43943
  66365. msgid "Switch to the preceding home generation. This is the inverse of @command{reconfigure}, and it is exactly the same as invoking @command{switch-generation} with an argument of @code{-1}."
  66366. msgstr ""
  66367. #. type: cindex
  66368. #: guix-git/doc/guix.texi:43945
  66369. #, fuzzy, no-wrap
  66370. #| msgid "generations"
  66371. msgid "deleting home generations"
  66372. msgstr "gerações"
  66373. #. type: table
  66374. #: guix-git/doc/guix.texi:43950
  66375. msgid "Delete home generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  66376. msgstr ""
  66377. #. type: table
  66378. #: guix-git/doc/guix.texi:43954
  66379. msgid "This works in the same way as @samp{guix package --delete-generations} (@pxref{Invoking guix package, @option{--delete-generations}}). With no arguments, all home generations but the current one are deleted:"
  66380. msgstr ""
  66381. #. type: example
  66382. #: guix-git/doc/guix.texi:43957
  66383. #, fuzzy, no-wrap
  66384. #| msgid "$ guix system list-generations 10d\n"
  66385. msgid "guix home delete-generations\n"
  66386. msgstr "$ guix system list-generations 10d\n"
  66387. #. type: table
  66388. #: guix-git/doc/guix.texi:43961
  66389. msgid "You can also select the generations you want to delete. The example below deletes all the home generations that are more than two months old:"
  66390. msgstr ""
  66391. #. type: example
  66392. #: guix-git/doc/guix.texi:43964
  66393. #, fuzzy, no-wrap
  66394. #| msgid "$ guix system list-generations 10d\n"
  66395. msgid "guix home delete-generations 2m\n"
  66396. msgstr "$ guix system list-generations 10d\n"
  66397. #. type: table
  66398. #: guix-git/doc/guix.texi:43970
  66399. msgid "Build the derivation of the home environment, which includes all the configuration files and programs needed. This action does not actually install anything."
  66400. msgstr ""
  66401. #. type: table
  66402. #: guix-git/doc/guix.texi:43974
  66403. msgid "Describe the current home generation: its file name, as well as provenance information when available."
  66404. msgstr ""
  66405. #. type: table
  66406. #: guix-git/doc/guix.texi:43981
  66407. msgid "To show installed packages in the current home generation's profile, the @code{--list-installed} flag is provided, with the same syntax that is used in @command{guix package --list-installed} (@pxref{Invoking guix package}). For instance, the following command shows a table of all the packages with ``emacs'' in their name that are installed in the current home generation's profile:"
  66408. msgstr ""
  66409. #. type: example
  66410. #: guix-git/doc/guix.texi:43984
  66411. #, fuzzy, no-wrap
  66412. #| msgid "Invoking guix describe"
  66413. msgid "guix home describe --list-installed=emacs\n"
  66414. msgstr "guix home describe\n"
  66415. #. type: table
  66416. #: guix-git/doc/guix.texi:43991
  66417. msgid "List a summary of each generation of the home environment available on disk, in a human-readable way. This is similar to the @option{--list-generations} option of @command{guix package} (@pxref{Invoking guix package})."
  66418. msgstr ""
  66419. #. type: example
  66420. #: guix-git/doc/guix.texi:43999
  66421. #, fuzzy, no-wrap
  66422. #| msgid "$ guix system list-generations 10d\n"
  66423. msgid "guix home list-generations 10d\n"
  66424. msgstr "$ guix system list-generations 10d\n"
  66425. #. type: table
  66426. #: guix-git/doc/guix.texi:44005
  66427. msgid "The @code{--list-installed} flag may also be specified, with the same syntax that is used in @command{guix home describe}. This may be helpful if trying to determine when a package was added to the home profile."
  66428. msgstr ""
  66429. #. type: item
  66430. #: guix-git/doc/guix.texi:44006
  66431. #, no-wrap
  66432. msgid "import"
  66433. msgstr ""
  66434. #. type: table
  66435. #: guix-git/doc/guix.texi:44013
  66436. msgid "Generate a @dfn{home environment} from the packages in the default profile and configuration files found in the user's home directory. The configuration files will be copied to the specified directory, and a @file{home-configuration.scm} will be populated with the home environment. Note that not every home service that exists is supported (@pxref{Home Services})."
  66437. msgstr ""
  66438. #. type: example
  66439. #: guix-git/doc/guix.texi:44017
  66440. #, no-wrap
  66441. msgid ""
  66442. "$ guix home import ~/guix-config\n"
  66443. "guix home: '/home/alice/guix-config' populated with all the Home configuration files\n"
  66444. msgstr ""
  66445. #. type: Plain text
  66446. #: guix-git/doc/guix.texi:44023
  66447. msgid "And there's more! @command{guix home} also provides the following sub-commands to visualize how the services of your home environment relate to one another:"
  66448. msgstr ""
  66449. #. type: cindex
  66450. #: guix-git/doc/guix.texi:44025
  66451. #, fuzzy, no-wrap
  66452. #| msgid "provenance tracking, of the home environment"
  66453. msgid "service extension graph, of a home environment"
  66454. msgstr "rastreamento de proveniência, do ambiente doméstico"
  66455. #. type: table
  66456. #: guix-git/doc/guix.texi:44033
  66457. msgid "Emit to standard output the @dfn{service extension graph} of the home environment defined in @var{file} (@pxref{Service Composition}, for more information on service extensions). By default the output is in Dot/Graphviz format, but you can choose a different format with @option{--graph-backend}, as with @command{guix graph} (@pxref{Invoking guix graph, @option{--backend}}):"
  66458. msgstr ""
  66459. #. type: example
  66460. #: guix-git/doc/guix.texi:44038
  66461. #, no-wrap
  66462. msgid "guix home extension-graph @var{file} | xdot -\n"
  66463. msgstr ""
  66464. #. type: cindex
  66465. #: guix-git/doc/guix.texi:44042
  66466. #, fuzzy, no-wrap
  66467. #| msgid "provenance tracking, of the home environment"
  66468. msgid "Shepherd dependency graph, for a home environment"
  66469. msgstr "rastreamento de proveniência, do ambiente doméstico"
  66470. #. type: table
  66471. #: guix-git/doc/guix.texi:44047
  66472. msgid "Emit to standard output the @dfn{dependency graph} of shepherd services of the home environment defined in @var{file}. @xref{Shepherd Services}, for more information and for an example graph."
  66473. msgstr ""
  66474. #. type: table
  66475. #: guix-git/doc/guix.texi:44063
  66476. msgid "Consider the home-environment @var{expr} evaluates to. This is an alternative to specifying a file which evaluates to a home environment."
  66477. msgstr ""
  66478. #. type: table
  66479. #: guix-git/doc/guix.texi:44066
  66480. msgid "Instruct @command{guix home reconfigure} to allow system downgrades."
  66481. msgstr ""
  66482. #. type: table
  66483. #: guix-git/doc/guix.texi:44073
  66484. msgid "Just like @command{guix system}, @command{guix home reconfigure}, by default, prevents you from downgrading your home to older or unrelated revisions compared to the channel revisions that were used to deploy it---those shown by @command{guix home describe}. Using @option{--allow-downgrades} allows you to bypass that check, at the risk of downgrading your home---be careful!"
  66485. msgstr ""
  66486. #. type: cindex
  66487. #: guix-git/doc/guix.texi:44079
  66488. #, no-wrap
  66489. msgid "documentation, searching for"
  66490. msgstr ""
  66491. #. type: cindex
  66492. #: guix-git/doc/guix.texi:44080
  66493. #, no-wrap
  66494. msgid "searching for documentation"
  66495. msgstr ""
  66496. #. type: cindex
  66497. #: guix-git/doc/guix.texi:44081
  66498. #, no-wrap
  66499. msgid "Info, documentation format"
  66500. msgstr ""
  66501. #. type: cindex
  66502. #: guix-git/doc/guix.texi:44082
  66503. #, no-wrap
  66504. msgid "man pages"
  66505. msgstr ""
  66506. #. type: cindex
  66507. #: guix-git/doc/guix.texi:44083
  66508. #, no-wrap
  66509. msgid "manual pages"
  66510. msgstr ""
  66511. #. type: Plain text
  66512. #: guix-git/doc/guix.texi:44090
  66513. msgid "In most cases packages installed with Guix come with documentation. There are two main documentation formats: ``Info'', a browsable hypertext format used for GNU software, and ``manual pages'' (or ``man pages''), the linear documentation format traditionally found on Unix. Info manuals are accessed with the @command{info} command or with Emacs, and man pages are accessed using @command{man}."
  66514. msgstr ""
  66515. #. type: Plain text
  66516. #: guix-git/doc/guix.texi:44094
  66517. msgid "You can look for documentation of software installed on your system by keyword. For example, the following command searches for information about ``TLS'' in Info manuals:"
  66518. msgstr ""
  66519. #. type: example
  66520. #: guix-git/doc/guix.texi:44102
  66521. #, no-wrap
  66522. msgid ""
  66523. "$ info -k TLS\n"
  66524. "\"(emacs)Network Security\" -- STARTTLS\n"
  66525. "\"(emacs)Network Security\" -- TLS\n"
  66526. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  66527. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  66528. "@dots{}\n"
  66529. msgstr ""
  66530. #. type: Plain text
  66531. #: guix-git/doc/guix.texi:44108
  66532. msgid "The command below searches for the same keyword in man pages@footnote{The database searched by @command{man -k} is only created in profiles that contain the @code{man-db} package.}:"
  66533. msgstr ""
  66534. #. type: example
  66535. #: guix-git/doc/guix.texi:44114
  66536. #, no-wrap
  66537. msgid ""
  66538. "$ man -k TLS\n"
  66539. "SSL (7) - OpenSSL SSL/TLS library\n"
  66540. "certtool (1) - GnuTLS certificate tool\n"
  66541. "@dots {}\n"
  66542. msgstr ""
  66543. "$ man -k TLS\n"
  66544. "SSL (7) - OpenSSL SSL/TLS library\n"
  66545. "certtool (1) - GnuTLS certificate tool\n"
  66546. "@dots {}\n"
  66547. #. type: Plain text
  66548. #: guix-git/doc/guix.texi:44120
  66549. msgid "These searches are purely local to your computer so you have the guarantee that documentation you find corresponds to what you have actually installed, you can access it off-line, and your privacy is respected."
  66550. msgstr ""
  66551. #. type: Plain text
  66552. #: guix-git/doc/guix.texi:44123
  66553. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  66554. msgstr ""
  66555. #. type: example
  66556. #: guix-git/doc/guix.texi:44126
  66557. #, no-wrap
  66558. msgid "$ info \"(gnutls)Core TLS API\"\n"
  66559. msgstr ""
  66560. #. type: Plain text
  66561. #: guix-git/doc/guix.texi:44130
  66562. msgid "or:"
  66563. msgstr ""
  66564. #. type: example
  66565. #: guix-git/doc/guix.texi:44133
  66566. #, no-wrap
  66567. msgid "$ man certtool\n"
  66568. msgstr ""
  66569. #. type: Plain text
  66570. #: guix-git/doc/guix.texi:44141
  66571. msgid "Info manuals contain sections and indices as well as hyperlinks like those found in Web pages. The @command{info} reader (@pxref{Top, Info reader,, info-stnd, Stand-alone GNU Info}) and its Emacs counterpart (@pxref{Misc Help,,, emacs, The GNU Emacs Manual}) provide intuitive key bindings to navigate manuals. @xref{Getting Started,,, info, Info: An Introduction}, for an introduction to Info navigation."
  66572. msgstr ""
  66573. #. type: Plain text
  66574. #: guix-git/doc/guix.texi:44150
  66575. msgid "The packages and systems built by Guix are intended, like most computer programs, to run on a CPU with a specific instruction set, and under a specific operating system. Those programs are often also targeting a specific kernel and system library. Those constraints are captured by Guix in @code{platform} records."
  66576. msgstr ""
  66577. #. type: section
  66578. #: guix-git/doc/guix.texi:44157
  66579. #, no-wrap
  66580. msgid "@code{platform} Reference"
  66581. msgstr ""
  66582. #. type: Plain text
  66583. #: guix-git/doc/guix.texi:44163
  66584. msgid "The @code{platform} data type describes a @dfn{platform}: an @acronym{ISA, instruction set architecture}, combined with an operating system and possibly additional system-wide settings such as the @acronym{ABI, application binary interface}."
  66585. msgstr ""
  66586. #. type: deftp
  66587. #: guix-git/doc/guix.texi:44164
  66588. #, fuzzy, no-wrap
  66589. msgid "{Data Type} platform"
  66590. msgstr "build-machine {Data Type}"
  66591. #. type: deftp
  66592. #: guix-git/doc/guix.texi:44166
  66593. #, fuzzy
  66594. msgid "This is the data type representing a platform."
  66595. msgstr "Gerencie a configuração do sistema operacional."
  66596. #. type: table
  66597. #: guix-git/doc/guix.texi:44172
  66598. msgid "This field specifies the platform's GNU triplet as a string (@pxref{Specifying Target Triplets, GNU configuration triplets,, autoconf, Autoconf})."
  66599. msgstr ""
  66600. #. type: table
  66601. #: guix-git/doc/guix.texi:44176
  66602. msgid "This string is the system type as it is known to Guix and passed, for instance, to the @option{--system} option of most commands."
  66603. msgstr ""
  66604. #. type: table
  66605. #: guix-git/doc/guix.texi:44180
  66606. msgid "It usually has the form @code{\"@var{cpu}-@var{kernel}\"}, where @var{cpu} is the target CPU and @var{kernel} the target operating system kernel."
  66607. msgstr ""
  66608. #. type: table
  66609. #: guix-git/doc/guix.texi:44184
  66610. msgid "It can be for instance @code{\"aarch64-linux\"} or @code{\"armhf-linux\"}. You will encounter system types when you perform native builds (@pxref{Native Builds})."
  66611. msgstr ""
  66612. #. type: item
  66613. #: guix-git/doc/guix.texi:44185
  66614. #, fuzzy, no-wrap
  66615. msgid "@code{linux-architecture} (default: @code{#false})"
  66616. msgstr "@code{term} (default: @code{#f})"
  66617. #. type: table
  66618. #: guix-git/doc/guix.texi:44189
  66619. msgid "This optional string field is only relevant if the kernel is Linux. In that case, it corresponds to the ARCH variable used when building Linux, @code{\"mips\"} for instance."
  66620. msgstr ""
  66621. #. type: code{#1}
  66622. #: guix-git/doc/guix.texi:44190
  66623. #, no-wrap
  66624. msgid "glibc-dynamic-linker"
  66625. msgstr ""
  66626. #. type: table
  66627. #: guix-git/doc/guix.texi:44194
  66628. msgid "This field is the name of the GNU C Library dynamic linker for the corresponding system, as a string. It can be @code{\"/lib/ld-linux-armhf.so.3\"}."
  66629. msgstr ""
  66630. #. type: Plain text
  66631. #: guix-git/doc/guix.texi:44203
  66632. msgid "The @code{(guix platforms @dots{})} modules export the following variables, each of which is bound to a @code{platform} record."
  66633. msgstr ""
  66634. #. type: defvar
  66635. #: guix-git/doc/guix.texi:44204
  66636. #, fuzzy, no-wrap
  66637. #| msgid "armhf-linux"
  66638. msgid "armv7-linux"
  66639. msgstr "armhf-linux"
  66640. #. type: defvar
  66641. #: guix-git/doc/guix.texi:44206
  66642. msgid "Platform targeting ARM v7 CPU running GNU/Linux."
  66643. msgstr ""
  66644. #. type: defvar
  66645. #: guix-git/doc/guix.texi:44210
  66646. msgid "Platform targeting ARM v8 CPU running GNU/Linux."
  66647. msgstr ""
  66648. #. type: defvar
  66649. #: guix-git/doc/guix.texi:44212
  66650. #, fuzzy, no-wrap
  66651. #| msgid "aarch64-linux"
  66652. msgid "mips64-linux"
  66653. msgstr "aarch64-linux"
  66654. #. type: defvar
  66655. #: guix-git/doc/guix.texi:44214
  66656. msgid "Platform targeting MIPS little-endian 64-bit CPU running GNU/Linux."
  66657. msgstr ""
  66658. #. type: defvar
  66659. #: guix-git/doc/guix.texi:44216
  66660. #, fuzzy, no-wrap
  66661. msgid "powerpc-linux"
  66662. msgstr "aarch64-linux"
  66663. #. type: defvar
  66664. #: guix-git/doc/guix.texi:44218
  66665. msgid "Platform targeting PowerPC big-endian 32-bit CPU running GNU/Linux."
  66666. msgstr ""
  66667. #. type: defvar
  66668. #: guix-git/doc/guix.texi:44222
  66669. msgid "Platform targeting PowerPC little-endian 64-bit CPU running GNU/Linux."
  66670. msgstr ""
  66671. #. type: defvar
  66672. #: guix-git/doc/guix.texi:44226
  66673. msgid "Platform targeting RISC-V 64-bit CPU running GNU/Linux."
  66674. msgstr ""
  66675. #. type: defvar
  66676. #: guix-git/doc/guix.texi:44230
  66677. msgid "Platform targeting x86 CPU running GNU/Linux."
  66678. msgstr ""
  66679. #. type: defvar
  66680. #: guix-git/doc/guix.texi:44234
  66681. msgid "Platform targeting x86 64-bit CPU running GNU/Linux."
  66682. msgstr ""
  66683. #. type: defvar
  66684. #: guix-git/doc/guix.texi:44236
  66685. #, fuzzy, no-wrap
  66686. #| msgid "i686-linux"
  66687. msgid "i686-mingw"
  66688. msgstr "i686-linux"
  66689. #. type: defvar
  66690. #: guix-git/doc/guix.texi:44239
  66691. msgid "Platform targeting x86 CPU running Windows, with run-time support from MinGW."
  66692. msgstr ""
  66693. #. type: defvar
  66694. #: guix-git/doc/guix.texi:44241
  66695. #, fuzzy, no-wrap
  66696. #| msgid "x86_64-linux"
  66697. msgid "x86_64-mingw"
  66698. msgstr "x86_64-linux"
  66699. #. type: defvar
  66700. #: guix-git/doc/guix.texi:44244
  66701. msgid "Platform targeting x86 64-bit CPU running Windows, with run-time support from MinGW."
  66702. msgstr ""
  66703. #. type: defvar
  66704. #: guix-git/doc/guix.texi:44249
  66705. msgid "Platform targeting x86 CPU running GNU/Hurd (also referred to as ``GNU'')."
  66706. msgstr ""
  66707. #. type: cindex
  66708. #: guix-git/doc/guix.texi:44254
  66709. #, fuzzy, no-wrap
  66710. #| msgid "system"
  66711. msgid "system images"
  66712. msgstr "system"
  66713. #. type: Plain text
  66714. #: guix-git/doc/guix.texi:44266
  66715. msgid "When it comes to installing Guix System for the first time on a new machine, you can basically proceed in three different ways. The first one is to use an existing operating system on the machine to run the @command{guix system init} command (@pxref{Invoking guix system}). The second one, is to produce an installation image (@pxref{Building the Installation Image}). This is a bootable system which role is to eventually run @command{guix system init}. Finally, the third option would be to produce an image that is a direct instantiation of the system you wish to run. That image can then be copied on a bootable device such as an USB drive or a memory card. The target machine would then directly boot from it, without any kind of installation procedure."
  66716. msgstr ""
  66717. #. type: Plain text
  66718. #: guix-git/doc/guix.texi:44275
  66719. msgid "The @command{guix system image} command is able to turn an operating system definition into a bootable image. This command supports different image types, such as @code{efi-raw}, @code{iso9660} and @code{docker}. Any modern @code{x86_64} machine will probably be able to boot from an @code{iso9660} image. However, there are a few machines out there that require specific image types. Those machines, in general using @code{ARM} processors, may expect specific partitions at specific offsets."
  66720. msgstr ""
  66721. #. type: Plain text
  66722. #: guix-git/doc/guix.texi:44278
  66723. msgid "This chapter explains how to define customized system images and how to turn them into actual bootable images."
  66724. msgstr ""
  66725. #. type: Plain text
  66726. #: guix-git/doc/guix.texi:44291
  66727. msgid "The @code{image} record, described right after, allows you to define a customized bootable system image."
  66728. msgstr ""
  66729. #. type: deftp
  66730. #: guix-git/doc/guix.texi:44292
  66731. #, fuzzy, no-wrap
  66732. msgid "{Data Type} image"
  66733. msgstr "build-machine {Data Type}"
  66734. #. type: deftp
  66735. #: guix-git/doc/guix.texi:44294
  66736. #, fuzzy
  66737. msgid "This is the data type representing a system image."
  66738. msgstr "Gerencie a configuração do sistema operacional."
  66739. #. type: item
  66740. #: guix-git/doc/guix.texi:44296
  66741. #, fuzzy, no-wrap
  66742. #| msgid "@code{hostname} (default: @code{#f})"
  66743. msgid "@code{name} (default: @code{#false})"
  66744. msgstr "@code{hostname} (default: @code{#f})"
  66745. #. type: table
  66746. #: guix-git/doc/guix.texi:44299
  66747. msgid "The image name as a symbol, @code{'my-iso9660} for instance. The name is optional and it defaults to @code{#false}."
  66748. msgstr ""
  66749. #. type: table
  66750. #: guix-git/doc/guix.texi:44302
  66751. msgid "The image format as a symbol. The following formats are supported:"
  66752. msgstr ""
  66753. #. type: item
  66754. #: guix-git/doc/guix.texi:44304
  66755. #, no-wrap
  66756. msgid "@code{disk-image}, a raw disk image composed of one or multiple"
  66757. msgstr ""
  66758. #. type: itemize
  66759. #: guix-git/doc/guix.texi:44306
  66760. #, fuzzy
  66761. #| msgid "Derivations"
  66762. msgid "partitions."
  66763. msgstr "Derivações"
  66764. #. type: item
  66765. #: guix-git/doc/guix.texi:44307
  66766. #, no-wrap
  66767. msgid "@code{compressed-qcow2}, a compressed qcow2 image composed of"
  66768. msgstr ""
  66769. #. type: itemize
  66770. #: guix-git/doc/guix.texi:44309
  66771. msgid "one or multiple partitions."
  66772. msgstr ""
  66773. #. type: item
  66774. #: guix-git/doc/guix.texi:44310
  66775. #, fuzzy, no-wrap
  66776. #| msgid "@code{tor} (default: @code{tor})"
  66777. msgid "@code{docker}, a Docker image."
  66778. msgstr "@code{tor} (default: @code{tor})"
  66779. #. type: item
  66780. #: guix-git/doc/guix.texi:44312
  66781. #, no-wrap
  66782. msgid "@code{iso9660}, an ISO-9660 image."
  66783. msgstr ""
  66784. #. type: item
  66785. #: guix-git/doc/guix.texi:44314
  66786. #, no-wrap
  66787. msgid "@code{tarball}, a tar.gz image archive."
  66788. msgstr ""
  66789. #. type: item
  66790. #: guix-git/doc/guix.texi:44316
  66791. #, no-wrap
  66792. msgid "@code{wsl2}, a WSL2 image."
  66793. msgstr ""
  66794. #. type: item
  66795. #: guix-git/doc/guix.texi:44320
  66796. #, fuzzy, no-wrap
  66797. #| msgid "@code{term} (default: @code{#f})"
  66798. msgid "@code{platform} (default: @code{#false})"
  66799. msgstr "@code{term} (default: @code{#f})"
  66800. #. type: table
  66801. #: guix-git/doc/guix.texi:44324
  66802. msgid "The @code{platform} record the image is targeting (@pxref{Platforms}), @code{aarch64-linux} for instance. By default, this field is set to @code{#false} and the image will target the host platform."
  66803. msgstr ""
  66804. #. type: item
  66805. #: guix-git/doc/guix.texi:44325 guix-git/doc/guix.texi:44387
  66806. #, fuzzy, no-wrap
  66807. #| msgid "@code{cache-size} (default: @code{150})"
  66808. msgid "@code{size} (default: @code{'guess})"
  66809. msgstr "@code{cache-size} (default: @code{150})"
  66810. #. type: table
  66811. #: guix-git/doc/guix.texi:44329
  66812. msgid "The image size in bytes or @code{'guess}. The @code{'guess} symbol, which is the default, means that the image size will be inferred based on the image content."
  66813. msgstr ""
  66814. #. type: table
  66815. #: guix-git/doc/guix.texi:44332
  66816. msgid "The image's @code{operating-system} record that is instanciated."
  66817. msgstr ""
  66818. #. type: item
  66819. #: guix-git/doc/guix.texi:44333
  66820. #, fuzzy, no-wrap
  66821. msgid "@code{partition-table-type} (default: @code{'mbr})"
  66822. msgstr "@code{term} (default: @code{#f})"
  66823. #. type: table
  66824. #: guix-git/doc/guix.texi:44336
  66825. msgid "The image partition table type as a symbol. Possible values are @code{'mbr} and @code{'gpt}. It default to @code{'mbr}."
  66826. msgstr ""
  66827. #. type: item
  66828. #: guix-git/doc/guix.texi:44337
  66829. #, fuzzy, no-wrap
  66830. #| msgid "@code{features} (default: @code{'()})"
  66831. msgid "@code{partitions} (default: @code{'()})"
  66832. msgstr "@code{features} (padrão: @code{'()})"
  66833. #. type: table
  66834. #: guix-git/doc/guix.texi:44340
  66835. msgid "The image partitions as a list of @code{partition} records (@pxref{partition Reference})."
  66836. msgstr ""
  66837. #. type: item
  66838. #: guix-git/doc/guix.texi:44341
  66839. #, fuzzy, no-wrap
  66840. #| msgid "@code{compression-level} (default: @code{3})"
  66841. msgid "@code{compression?} (default: @code{#true})"
  66842. msgstr "@code{compression-level} (padrão: @code{3})"
  66843. #. type: table
  66844. #: guix-git/doc/guix.texi:44345
  66845. msgid "Whether the image content should be compressed, as a boolean. It defaults to @code{#true} and only applies to @code{'iso9660} image formats."
  66846. msgstr ""
  66847. #. type: item
  66848. #: guix-git/doc/guix.texi:44346
  66849. #, fuzzy, no-wrap
  66850. #| msgid "@code{chroot} (default: @code{#f})"
  66851. msgid "@code{volatile-root?} (default: @code{#true})"
  66852. msgstr "@code{chroot} (default: @code{#f})"
  66853. #. type: table
  66854. #: guix-git/doc/guix.texi:44348
  66855. msgid "Whether the image root partition should be made volatile, as a boolean."
  66856. msgstr ""
  66857. #. type: table
  66858. #: guix-git/doc/guix.texi:44353
  66859. msgid "This is achieved by using a RAM backed file system (overlayfs) that is mounted on top of the root partition by the initrd. It defaults to @code{#true}. When set to @code{#false}, the image root partition is mounted as read-write partition by the initrd."
  66860. msgstr ""
  66861. #. type: item
  66862. #: guix-git/doc/guix.texi:44354
  66863. #, fuzzy, no-wrap
  66864. #| msgid "@code{shared?} (default: @code{#t})"
  66865. msgid "@code{shared-store?} (default: @code{#false})"
  66866. msgstr "@code{shared?} (padrão: @code{#t})"
  66867. #. type: table
  66868. #: guix-git/doc/guix.texi:44361
  66869. msgid "Whether the image's store should be shared with the host system, as a boolean. This can be useful when creating images dedicated to virtual machines. When set to @code{#false}, which is the default, the image's @code{operating-system} closure is copied to the image. Otherwise, when set to @code{#true}, it is assumed that the host store will be made available at boot, using a @code{9p} mount for instance."
  66870. msgstr ""
  66871. #. type: item
  66872. #: guix-git/doc/guix.texi:44362
  66873. #, fuzzy, no-wrap
  66874. #| msgid "@code{shared?} (default: @code{#t})"
  66875. msgid "@code{shared-network?} (default: @code{#false})"
  66876. msgstr "@code{shared?} (padrão: @code{#t})"
  66877. #. type: table
  66878. #: guix-git/doc/guix.texi:44366
  66879. msgid "Whether to use the host network interfaces within the image, as a boolean. This is only used for the @code{'docker} image format. It defaults to @code{#false}."
  66880. msgstr ""
  66881. #. type: item
  66882. #: guix-git/doc/guix.texi:44367
  66883. #, fuzzy, no-wrap
  66884. #| msgid "@code{features} (default: @code{'()})"
  66885. msgid "@code{substitutable?} (default: @code{#true})"
  66886. msgstr "@code{features} (padrão: @code{'()})"
  66887. #. type: table
  66888. #: guix-git/doc/guix.texi:44370
  66889. msgid "Whether the image derivation should be substitutable, as a boolean. It defaults to @code{true}."
  66890. msgstr ""
  66891. #. type: subsection
  66892. #: guix-git/doc/guix.texi:44379
  66893. #, fuzzy, no-wrap
  66894. #| msgid "origin Reference"
  66895. msgid "@code{partition} Reference"
  66896. msgstr "Referência do origin"
  66897. #. type: Plain text
  66898. #: guix-git/doc/guix.texi:44382
  66899. msgid "In @code{image} record may contain some partitions."
  66900. msgstr ""
  66901. #. type: deftp
  66902. #: guix-git/doc/guix.texi:44383
  66903. #, fuzzy, no-wrap
  66904. msgid "{Data Type} partition"
  66905. msgstr "build-machine {Data Type}"
  66906. #. type: deftp
  66907. #: guix-git/doc/guix.texi:44385
  66908. #, fuzzy
  66909. msgid "This is the data type representing an image partition."
  66910. msgstr "Gerencie a configuração do sistema operacional."
  66911. #. type: table
  66912. #: guix-git/doc/guix.texi:44391
  66913. msgid "The partition size in bytes or @code{'guess}. The @code{'guess} symbol, which is the default, means that the partition size will be inferred based on the partition content."
  66914. msgstr ""
  66915. #. type: item
  66916. #: guix-git/doc/guix.texi:44392
  66917. #, fuzzy, no-wrap
  66918. #| msgid "@code{users} (default: @code{#f})"
  66919. msgid "@code{offset} (default: @code{0})"
  66920. msgstr "@code{users} (default: @code{#f})"
  66921. #. type: table
  66922. #: guix-git/doc/guix.texi:44396
  66923. msgid "The partition's start offset in bytes, relative to the image start or the previous partition end. It defaults to @code{0} which means that there is no offset applied."
  66924. msgstr ""
  66925. #. type: item
  66926. #: guix-git/doc/guix.texi:44397
  66927. #, fuzzy, no-wrap
  66928. #| msgid "@code{system?} (default: @code{#f})"
  66929. msgid "@code{file-system} (default: @code{\"ext4\"})"
  66930. msgstr "@code{system?} (default: @code{#f})"
  66931. #. type: table
  66932. #: guix-git/doc/guix.texi:44401
  66933. msgid "The partition file system as a string, defaulting to @code{\"ext4\"}. The supported values are @code{\"vfat\"}, @code{\"fat16\"}, @code{\"fat32\"} and @code{\"ext4\"}."
  66934. msgstr ""
  66935. #. type: item
  66936. #: guix-git/doc/guix.texi:44402
  66937. #, fuzzy, no-wrap
  66938. #| msgid "@code{features} (default: @code{'()})"
  66939. msgid "@code{file-system-options} (default: @code{'()})"
  66940. msgstr "@code{features} (padrão: @code{'()})"
  66941. #. type: table
  66942. #: guix-git/doc/guix.texi:44406
  66943. msgid "The partition file system creation options that should be passed to the partition creation tool, as a list of strings. This is only supported when creating @code{\"ext4\"} partitions."
  66944. msgstr ""
  66945. #. type: table
  66946. #: guix-git/doc/guix.texi:44409
  66947. msgid "See the @code{\"extended-options\"} man page section of the @code{\"mke2fs\"} tool for a more complete reference."
  66948. msgstr ""
  66949. #. type: table
  66950. #: guix-git/doc/guix.texi:44413
  66951. msgid "The partition label as a mandatory string, @code{\"my-root\"} for instance."
  66952. msgstr ""
  66953. #. type: item
  66954. #: guix-git/doc/guix.texi:44414
  66955. #, fuzzy, no-wrap
  66956. #| msgid "@code{uid} (default: @code{#f})"
  66957. msgid "@code{uuid} (default: @code{#false})"
  66958. msgstr "@code{uid} (default: @code{#f})"
  66959. #. type: table
  66960. #: guix-git/doc/guix.texi:44418
  66961. msgid "The partition UUID as an @code{uuid} record (@pxref{File Systems}). By default it is @code{#false}, which means that the partition creation tool will attribute a random UUID to the partition."
  66962. msgstr ""
  66963. #. type: table
  66964. #: guix-git/doc/guix.texi:44425
  66965. msgid "The partition flags as a list of symbols. Possible values are @code{'boot} and @code{'esp}. The @code{'boot} flags should be set if you want to boot from this partition. Exactly one partition should have this flag set, usually the root one. The @code{'esp} flag identifies a UEFI System Partition."
  66966. msgstr ""
  66967. #. type: item
  66968. #: guix-git/doc/guix.texi:44426
  66969. #, fuzzy, no-wrap
  66970. #| msgid "@code{term} (default: @code{#f})"
  66971. msgid "@code{initializer} (default: @code{#false})"
  66972. msgstr "@code{term} (default: @code{#f})"
  66973. #. type: table
  66974. #: guix-git/doc/guix.texi:44431
  66975. msgid "The partition initializer procedure as a gexp. This procedure is called to populate a partition. If no initializer is passed, the @code{initialize-root-partition} procedure from the @code{(gnu build image)} module is used."
  66976. msgstr ""
  66977. #. type: Plain text
  66978. #: guix-git/doc/guix.texi:44440
  66979. msgid "Let's say you would like to create an MBR image with three distinct partitions:"
  66980. msgstr ""
  66981. #. type: item
  66982. #: guix-git/doc/guix.texi:44442
  66983. #, no-wrap
  66984. msgid "The @acronym{ESP, EFI System Partition}, a partition of"
  66985. msgstr ""
  66986. #. type: itemize
  66987. #: guix-git/doc/guix.texi:44444
  66988. msgid "40@tie{}MiB at offset 1024@tie{}KiB with a vfat file system."
  66989. msgstr ""
  66990. #. type: item
  66991. #: guix-git/doc/guix.texi:44445
  66992. #, no-wrap
  66993. msgid "an ext4 partition of 50@tie{}MiB data file, and labeled ``data''."
  66994. msgstr ""
  66995. #. type: item
  66996. #: guix-git/doc/guix.texi:44447
  66997. #, no-wrap
  66998. msgid "an ext4 bootable partition containing the @code{%simple-os}"
  66999. msgstr ""
  67000. #. type: itemize
  67001. #: guix-git/doc/guix.texi:44449
  67002. #, fuzzy
  67003. #| msgid "operating-system"
  67004. msgid "operating-system."
  67005. msgstr "sistema operacional"
  67006. #. type: Plain text
  67007. #: guix-git/doc/guix.texi:44453
  67008. msgid "You would then write the following image definition in a @code{my-image.scm} file for instance."
  67009. msgstr ""
  67010. #. type: lisp
  67011. #: guix-git/doc/guix.texi:44460
  67012. #, no-wrap
  67013. msgid ""
  67014. "(use-modules (gnu)\n"
  67015. " (gnu image)\n"
  67016. " (gnu tests)\n"
  67017. " (gnu system image)\n"
  67018. " (guix gexp))\n"
  67019. "\n"
  67020. msgstr ""
  67021. #. type: lisp
  67022. #: guix-git/doc/guix.texi:44462 guix-git/doc/guix.texi:44564
  67023. #, no-wrap
  67024. msgid ""
  67025. "(define MiB (expt 2 20))\n"
  67026. "\n"
  67027. msgstr ""
  67028. #. type: lisp
  67029. #: guix-git/doc/guix.texi:44491
  67030. #, no-wrap
  67031. msgid ""
  67032. "(image\n"
  67033. " (format 'disk-image)\n"
  67034. " (operating-system %simple-os)\n"
  67035. " (partitions\n"
  67036. " (list\n"
  67037. " (partition\n"
  67038. " (size (* 40 MiB))\n"
  67039. " (offset (* 1024 1024))\n"
  67040. " (label \"GNU-ESP\")\n"
  67041. " (file-system \"vfat\")\n"
  67042. " (flags '(esp))\n"
  67043. " (initializer (gexp initialize-efi-partition)))\n"
  67044. " (partition\n"
  67045. " (size (* 50 MiB))\n"
  67046. " (label \"DATA\")\n"
  67047. " (file-system \"ext4\")\n"
  67048. " (initializer #~(lambda* (root . rest)\n"
  67049. " (mkdir root)\n"
  67050. " (call-with-output-file\n"
  67051. " (string-append root \"/data\")\n"
  67052. " (lambda (port)\n"
  67053. " (format port \"my-data\"))))))\n"
  67054. " (partition\n"
  67055. " (size 'guess)\n"
  67056. " (label root-label)\n"
  67057. " (file-system \"ext4\")\n"
  67058. " (flags '(boot))\n"
  67059. " (initializer (gexp initialize-root-partition))))))\n"
  67060. msgstr ""
  67061. #. type: Plain text
  67062. #: guix-git/doc/guix.texi:44499
  67063. msgid "Note that the first and third partitions use generic initializers procedures, initialize-efi-partition and initialize-root-partition respectively. The initialize-efi-partition installs a GRUB EFI loader that is loading the GRUB bootloader located in the root partition. The initialize-root-partition instantiates a complete system as defined by the @code{%simple-os} operating-system."
  67064. msgstr ""
  67065. #. type: Plain text
  67066. #: guix-git/doc/guix.texi:44501
  67067. msgid "You can now run:"
  67068. msgstr ""
  67069. #. type: example
  67070. #: guix-git/doc/guix.texi:44504
  67071. #, fuzzy, no-wrap
  67072. #| msgid "$ guix system list-generations 10d\n"
  67073. msgid "guix system image my-image.scm\n"
  67074. msgstr "$ guix system list-generations 10d\n"
  67075. #. type: Plain text
  67076. #: guix-git/doc/guix.texi:44508
  67077. msgid "to instantiate the @code{image} definition. That produces a disk image which has the expected structure:"
  67078. msgstr ""
  67079. #. type: example
  67080. #: guix-git/doc/guix.texi:44517
  67081. #, no-wrap
  67082. msgid ""
  67083. "$ parted $(guix system image my-image.scm) print\n"
  67084. "@dots{}\n"
  67085. "Model: (file)\n"
  67086. "Disk /gnu/store/yhylv1bp5b2ypb97pd3bbhz6jk5nbhxw-disk-image: 1714MB\n"
  67087. "Sector size (logical/physical): 512B/512B\n"
  67088. "Partition Table: msdos\n"
  67089. "Disk Flags:\n"
  67090. "\n"
  67091. msgstr ""
  67092. #. type: example
  67093. #: guix-git/doc/guix.texi:44522
  67094. #, no-wrap
  67095. msgid ""
  67096. "Number Start End Size Type File system Flags\n"
  67097. " 1 1049kB 43.0MB 41.9MB primary fat16 esp\n"
  67098. " 2 43.0MB 95.4MB 52.4MB primary ext4\n"
  67099. " 3 95.4MB 1714MB 1619MB primary ext4 boot\n"
  67100. msgstr ""
  67101. #. type: Plain text
  67102. #: guix-git/doc/guix.texi:44527
  67103. msgid "The size of the @code{boot} partition has been inferred to @code{1619MB} so that it is large enough to host the @code{%simple-os} operating-system."
  67104. msgstr ""
  67105. #. type: Plain text
  67106. #: guix-git/doc/guix.texi:44532
  67107. msgid "You can also use existing @code{image} record definitions and inherit from them to simplify the @code{image} definition. The @code{(gnu system image)} module provides the following @code{image} definition variables."
  67108. msgstr ""
  67109. #. type: defvar
  67110. #: guix-git/doc/guix.texi:44533
  67111. #, fuzzy, no-wrap
  67112. msgid "efi-disk-image"
  67113. msgstr "guix-publish-service-type"
  67114. #. type: defvar
  67115. #: guix-git/doc/guix.texi:44537
  67116. msgid "A MBR disk-image composed of two partitions: a 64 bits ESP partition and a ROOT boot partition. This image can be used on most @code{x86_64} and @code{i686} machines, supporting BIOS or UEFI booting."
  67117. msgstr ""
  67118. #. type: defvar
  67119. #: guix-git/doc/guix.texi:44539
  67120. #, fuzzy, no-wrap
  67121. msgid "efi32-disk-image"
  67122. msgstr "guix-publish-service-type"
  67123. #. type: defvar
  67124. #: guix-git/doc/guix.texi:44541
  67125. msgid "Same as @code{efi-disk-image} but with a 32 bits EFI partition."
  67126. msgstr ""
  67127. #. type: defvar
  67128. #: guix-git/doc/guix.texi:44543
  67129. #, no-wrap
  67130. msgid "iso9660-image"
  67131. msgstr ""
  67132. #. type: defvar
  67133. #: guix-git/doc/guix.texi:44546
  67134. msgid "An ISO-9660 image composed of a single bootable partition. This image can also be used on most @code{x86_64} and @code{i686} machines."
  67135. msgstr ""
  67136. #. type: defvar
  67137. #: guix-git/doc/guix.texi:44548
  67138. #, no-wrap
  67139. msgid "docker-image"
  67140. msgstr ""
  67141. #. type: defvar
  67142. #: guix-git/doc/guix.texi:44550
  67143. msgid "A Docker image that can be used to spawn a Docker container."
  67144. msgstr ""
  67145. #. type: Plain text
  67146. #: guix-git/doc/guix.texi:44554
  67147. msgid "Using the @code{efi-disk-image} we can simplify our previous @code{image} declaration this way:"
  67148. msgstr ""
  67149. #. type: lisp
  67150. #: guix-git/doc/guix.texi:44562
  67151. #, no-wrap
  67152. msgid ""
  67153. "(use-modules (gnu)\n"
  67154. " (gnu image)\n"
  67155. " (gnu tests)\n"
  67156. " (gnu system image)\n"
  67157. " (guix gexp)\n"
  67158. " (ice-9 match))\n"
  67159. "\n"
  67160. msgstr ""
  67161. #. type: lisp
  67162. #: guix-git/doc/guix.texi:44576
  67163. #, no-wrap
  67164. msgid ""
  67165. "(define data\n"
  67166. " (partition\n"
  67167. " (size (* 50 MiB))\n"
  67168. " (label \"DATA\")\n"
  67169. " (file-system \"ext4\")\n"
  67170. " (initializer #~(lambda* (root . rest)\n"
  67171. " (mkdir root)\n"
  67172. " (call-with-output-file\n"
  67173. " (string-append root \"/data\")\n"
  67174. " (lambda (port)\n"
  67175. " (format port \"my-data\")))))))\n"
  67176. "\n"
  67177. msgstr ""
  67178. #. type: lisp
  67179. #: guix-git/doc/guix.texi:44584
  67180. #, no-wrap
  67181. msgid ""
  67182. "(image\n"
  67183. " (inherit efi-disk-image)\n"
  67184. " (operating-system %simple-os)\n"
  67185. " (partitions\n"
  67186. " (match (image-partitions efi-disk-image)\n"
  67187. " ((esp root)\n"
  67188. " (list esp data root)))))\n"
  67189. msgstr ""
  67190. #. type: Plain text
  67191. #: guix-git/doc/guix.texi:44588
  67192. msgid "This will give the exact same @code{image} instantiation but the @code{image} declaration is simpler."
  67193. msgstr ""
  67194. #. type: Plain text
  67195. #: guix-git/doc/guix.texi:44597
  67196. msgid "The @command{guix system image} command can, as we saw above, take a file containing an @code{image} declaration as argument and produce an actual disk image from it. The same command can also handle a file containing an @code{operating-system} declaration as argument. In that case, how is the @code{operating-system} turned into an image?"
  67197. msgstr ""
  67198. #. type: Plain text
  67199. #: guix-git/doc/guix.texi:44601
  67200. msgid "That's where the @code{image-type} record intervenes. This record defines how to transform an @code{operating-system} record into an @code{image} record."
  67201. msgstr ""
  67202. #. type: deftp
  67203. #: guix-git/doc/guix.texi:44602
  67204. #, fuzzy, no-wrap
  67205. msgid "{Data Type} image-type"
  67206. msgstr "build-machine {Data Type}"
  67207. #. type: deftp
  67208. #: guix-git/doc/guix.texi:44604
  67209. #, fuzzy
  67210. msgid "This is the data type representing an image-type."
  67211. msgstr "Gerencie a configuração do sistema operacional."
  67212. #. type: table
  67213. #: guix-git/doc/guix.texi:44609
  67214. msgid "The image-type name as a mandatory symbol, @code{'efi32-raw} for instance."
  67215. msgstr ""
  67216. #. type: code{#1}
  67217. #: guix-git/doc/guix.texi:44610
  67218. #, no-wrap
  67219. msgid "constructor"
  67220. msgstr ""
  67221. #. type: table
  67222. #: guix-git/doc/guix.texi:44614
  67223. msgid "The image-type constructor, as a mandatory procedure that takes an @code{operating-system} record as argument and returns an @code{image} record."
  67224. msgstr ""
  67225. #. type: Plain text
  67226. #: guix-git/doc/guix.texi:44620
  67227. msgid "There are several @code{image-type} records provided by the @code{(gnu system image)} and the @code{(gnu system images @dots{})} modules."
  67228. msgstr ""
  67229. #. type: defvar
  67230. #: guix-git/doc/guix.texi:44621
  67231. #, fuzzy, no-wrap
  67232. msgid "efi-raw-image-type"
  67233. msgstr "guix-publish-service-type"
  67234. #. type: defvar
  67235. #: guix-git/doc/guix.texi:44623
  67236. msgid "Build an image based on the @code{efi-disk-image} image."
  67237. msgstr ""
  67238. #. type: defvar
  67239. #: guix-git/doc/guix.texi:44625
  67240. #, fuzzy, no-wrap
  67241. msgid "efi32-raw-image-type"
  67242. msgstr "guix-publish-service-type"
  67243. #. type: defvar
  67244. #: guix-git/doc/guix.texi:44627
  67245. msgid "Build an image based on the @code{efi32-disk-image} image."
  67246. msgstr ""
  67247. #. type: defvar
  67248. #: guix-git/doc/guix.texi:44629
  67249. #, fuzzy, no-wrap
  67250. msgid "qcow2-image-type"
  67251. msgstr "guix-publish-service-type"
  67252. #. type: defvar
  67253. #: guix-git/doc/guix.texi:44632
  67254. msgid "Build an image based on the @code{efi-disk-image} image but with the @code{compressed-qcow2} image format."
  67255. msgstr ""
  67256. #. type: defvar
  67257. #: guix-git/doc/guix.texi:44634
  67258. #, fuzzy, no-wrap
  67259. msgid "iso-image-type"
  67260. msgstr "guix-publish-service-type"
  67261. #. type: defvar
  67262. #: guix-git/doc/guix.texi:44636
  67263. msgid "Build a compressed image based on the @code{iso9660-image} image."
  67264. msgstr ""
  67265. #. type: defvar
  67266. #: guix-git/doc/guix.texi:44638
  67267. #, fuzzy, no-wrap
  67268. msgid "uncompressed-iso-image-type"
  67269. msgstr "guix-publish-service-type"
  67270. #. type: defvar
  67271. #: guix-git/doc/guix.texi:44641
  67272. msgid "Build an image based on the @code{iso9660-image} image but with the @code{compression?} field set to @code{#false}."
  67273. msgstr ""
  67274. #. type: defvar
  67275. #: guix-git/doc/guix.texi:44643
  67276. #, fuzzy, no-wrap
  67277. msgid "docker-image-type"
  67278. msgstr "guix-publish-service-type"
  67279. #. type: defvar
  67280. #: guix-git/doc/guix.texi:44645
  67281. msgid "Build an image based on the @code{docker-image} image."
  67282. msgstr ""
  67283. #. type: defvar
  67284. #: guix-git/doc/guix.texi:44647
  67285. #, fuzzy, no-wrap
  67286. msgid "raw-with-offset-image-type"
  67287. msgstr "guix-publish-service-type"
  67288. #. type: defvar
  67289. #: guix-git/doc/guix.texi:44651
  67290. msgid "Build an MBR image with a single partition starting at a @code{1024KiB} offset. This is useful to leave some room to install a bootloader in the post-MBR gap."
  67291. msgstr ""
  67292. #. type: defvar
  67293. #: guix-git/doc/guix.texi:44653
  67294. #, fuzzy, no-wrap
  67295. msgid "pinebook-pro-image-type"
  67296. msgstr "guix-publish-service-type"
  67297. #. type: defvar
  67298. #: guix-git/doc/guix.texi:44658
  67299. msgid "Build an image that is targeting the Pinebook Pro machine. The MBR image contains a single partition starting at a @code{9MiB} offset. The @code{u-boot-pinebook-pro-rk3399-bootloader} bootloader will be installed in this gap."
  67300. msgstr ""
  67301. #. type: defvar
  67302. #: guix-git/doc/guix.texi:44660
  67303. #, fuzzy, no-wrap
  67304. msgid "rock64-image-type"
  67305. msgstr "guix-publish-service-type"
  67306. #. type: defvar
  67307. #: guix-git/doc/guix.texi:44665
  67308. msgid "Build an image that is targeting the Rock64 machine. The MBR image contains a single partition starting at a @code{16MiB} offset. The @code{u-boot-rock64-rk3328-bootloader} bootloader will be installed in this gap."
  67309. msgstr ""
  67310. #. type: defvar
  67311. #: guix-git/doc/guix.texi:44667
  67312. #, fuzzy, no-wrap
  67313. msgid "novena-image-type"
  67314. msgstr "guix-publish-service-type"
  67315. #. type: defvar
  67316. #: guix-git/doc/guix.texi:44670
  67317. msgid "Build an image that is targeting the Novena machine. It has the same characteristics as @code{raw-with-offset-image-type}."
  67318. msgstr ""
  67319. #. type: defvar
  67320. #: guix-git/doc/guix.texi:44672
  67321. #, fuzzy, no-wrap
  67322. msgid "pine64-image-type"
  67323. msgstr "guix-publish-service-type"
  67324. #. type: defvar
  67325. #: guix-git/doc/guix.texi:44675
  67326. msgid "Build an image that is targeting the Pine64 machine. It has the same characteristics as @code{raw-with-offset-image-type}."
  67327. msgstr ""
  67328. #. type: defvar
  67329. #: guix-git/doc/guix.texi:44677
  67330. #, fuzzy, no-wrap
  67331. msgid "hurd-image-type"
  67332. msgstr "guix-publish-service-type"
  67333. #. type: defvar
  67334. #: guix-git/doc/guix.texi:44681
  67335. msgid "Build an image that is targeting a @code{i386} machine running the Hurd kernel. The MBR image contains a single ext2 partitions with specific @code{file-system-options} flags."
  67336. msgstr ""
  67337. #. type: defvar
  67338. #: guix-git/doc/guix.texi:44683
  67339. #, fuzzy, no-wrap
  67340. msgid "hurd-qcow2-image-type"
  67341. msgstr "guix-publish-service-type"
  67342. #. type: defvar
  67343. #: guix-git/doc/guix.texi:44686
  67344. msgid "Build an image similar to the one built by the @code{hurd-image-type} but with the @code{format} set to @code{'compressed-qcow2}."
  67345. msgstr ""
  67346. #. type: defvar
  67347. #: guix-git/doc/guix.texi:44688
  67348. #, fuzzy, no-wrap
  67349. msgid "wsl2-image-type"
  67350. msgstr "guix-publish-service-type"
  67351. #. type: defvar
  67352. #: guix-git/doc/guix.texi:44691
  67353. msgid "Build an image for the @acronym{WSL2, Windows Subsystem for Linux 2}. It can be imported by running:"
  67354. msgstr ""
  67355. #. type: example
  67356. #: guix-git/doc/guix.texi:44695
  67357. #, no-wrap
  67358. msgid ""
  67359. "wsl --import Guix ./guix ./wsl2-image.tar.gz\n"
  67360. "wsl -d Guix\n"
  67361. msgstr ""
  67362. #. type: Plain text
  67363. #: guix-git/doc/guix.texi:44703
  67364. msgid "So, if we get back to the @code{guix system image} command taking an @code{operating-system} declaration as argument. By default, the @code{efi-raw-image-type} is used to turn the provided @code{operating-system} into an actual bootable image."
  67365. msgstr ""
  67366. #. type: Plain text
  67367. #: guix-git/doc/guix.texi:44709
  67368. msgid "To use a different @code{image-type}, the @code{--image-type} option can be used. The @code{--list-image-types} option will list all the supported image types. It turns out to be a textual listing of all the @code{image-types} variables described just above (@pxref{Invoking guix system})."
  67369. msgstr ""
  67370. #. type: Plain text
  67371. #: guix-git/doc/guix.texi:44716
  67372. msgid "Let's take the example of the Pine64, an ARM based machine. To be able to produce an image targeting this board, we need the following elements:"
  67373. msgstr ""
  67374. #. type: item
  67375. #: guix-git/doc/guix.texi:44718
  67376. #, no-wrap
  67377. msgid "An @code{operating-system} record containing at least"
  67378. msgstr ""
  67379. #. type: itemize
  67380. #: guix-git/doc/guix.texi:44721
  67381. msgid "an appropriate kernel (@code{linux-libre-arm64-generic}) and bootloader @code{u-boot-pine64-lts-bootloader}) for the Pine64."
  67382. msgstr ""
  67383. #. type: item
  67384. #: guix-git/doc/guix.texi:44722
  67385. #, no-wrap
  67386. msgid "Possibly, an @code{image-type} record providing a way to"
  67387. msgstr ""
  67388. #. type: itemize
  67389. #: guix-git/doc/guix.texi:44725
  67390. msgid "turn an @code{operating-system} record to an @code{image} record suitable for the Pine64."
  67391. msgstr ""
  67392. #. type: item
  67393. #: guix-git/doc/guix.texi:44726
  67394. #, no-wrap
  67395. msgid "An actual @code{image} that can be instantiated with the"
  67396. msgstr ""
  67397. #. type: itemize
  67398. #: guix-git/doc/guix.texi:44728
  67399. msgid "@command{guix system image} command."
  67400. msgstr ""
  67401. #. type: Plain text
  67402. #: guix-git/doc/guix.texi:44734
  67403. msgid "The @code{(gnu system images pine64)} module provides all those elements: @code{pine64-barebones-os}, @code{pine64-image-type} and @code{pine64-barebones-raw-image} respectively."
  67404. msgstr ""
  67405. #. type: Plain text
  67406. #: guix-git/doc/guix.texi:44737
  67407. msgid "The module returns the @code{pine64-barebones-raw-image} in order for users to be able to run:"
  67408. msgstr ""
  67409. #. type: example
  67410. #: guix-git/doc/guix.texi:44740
  67411. #, no-wrap
  67412. msgid "guix system image gnu/system/images/pine64.scm\n"
  67413. msgstr ""
  67414. #. type: Plain text
  67415. #: guix-git/doc/guix.texi:44745
  67416. msgid "Now, thanks to the @code{pine64-image-type} record declaring the @code{'pine64-raw} @code{image-type}, one could also prepare a @code{my-pine.scm} file with the following content:"
  67417. msgstr ""
  67418. #. type: lisp
  67419. #: guix-git/doc/guix.texi:44751
  67420. #, no-wrap
  67421. msgid ""
  67422. "(use-modules (gnu system images pine64))\n"
  67423. "(operating-system\n"
  67424. " (inherit pine64-barebones-os)\n"
  67425. " (timezone \"Europe/Athens\"))\n"
  67426. msgstr ""
  67427. #. type: Plain text
  67428. #: guix-git/doc/guix.texi:44754
  67429. msgid "to customize the @code{pine64-barebones-os}, and run:"
  67430. msgstr ""
  67431. #. type: example
  67432. #: guix-git/doc/guix.texi:44757
  67433. #, no-wrap
  67434. msgid "$ guix system image --image-type=pine64-raw my-pine.scm\n"
  67435. msgstr ""
  67436. #. type: Plain text
  67437. #: guix-git/doc/guix.texi:44762
  67438. msgid "Note that there are other modules in the @code{gnu/system/images} directory targeting @code{Novena}, @code{Pine64}, @code{PinebookPro} and @code{Rock64} machines."
  67439. msgstr ""
  67440. #. type: cindex
  67441. #: guix-git/doc/guix.texi:44766
  67442. #, no-wrap
  67443. msgid "debugging files"
  67444. msgstr ""
  67445. #. type: Plain text
  67446. #: guix-git/doc/guix.texi:44772
  67447. msgid "Program binaries, as produced by the GCC compilers for instance, are typically written in the ELF format, with a section containing @dfn{debugging information}. Debugging information is what allows the debugger, GDB, to map binary code to source code; it is required to debug a compiled program in good conditions."
  67448. msgstr ""
  67449. #. type: Plain text
  67450. #: guix-git/doc/guix.texi:44776
  67451. msgid "This chapter explains how to use separate debug info when packages provide it, and how to rebuild packages with debug info when it's missing."
  67452. msgstr ""
  67453. #. type: Plain text
  67454. #: guix-git/doc/guix.texi:44792
  67455. msgid "The problem with debugging information is that is takes up a fair amount of disk space. For example, debugging information for the GNU C Library weighs in at more than 60 MiB@. Thus, as a user, keeping all the debugging info of all the installed programs is usually not an option. Yet, space savings should not come at the cost of an impediment to debugging---especially in the GNU system, which should make it easier for users to exert their computing freedom (@pxref{GNU Distribution})."
  67456. msgstr ""
  67457. #. type: Plain text
  67458. #: guix-git/doc/guix.texi:44799
  67459. msgid "Thankfully, the GNU Binary Utilities (Binutils) and GDB provide a mechanism that allows users to get the best of both worlds: debugging information can be stripped from the binaries and stored in separate files. GDB is then able to load debugging information from those files, when they are available (@pxref{Separate Debug Files,,, gdb, Debugging with GDB})."
  67460. msgstr ""
  67461. #. type: Plain text
  67462. #: guix-git/doc/guix.texi:44807
  67463. msgid "The GNU distribution takes advantage of this by storing debugging information in the @code{lib/debug} sub-directory of a separate package output unimaginatively called @code{debug} (@pxref{Packages with Multiple Outputs}). Users can choose to install the @code{debug} output of a package when they need it. For instance, the following command installs the debugging information for the GNU C Library and for GNU Guile:"
  67464. msgstr ""
  67465. #. type: example
  67466. #: guix-git/doc/guix.texi:44810
  67467. #, no-wrap
  67468. msgid "guix install glibc:debug guile:debug\n"
  67469. msgstr ""
  67470. #. type: Plain text
  67471. #: guix-git/doc/guix.texi:44816
  67472. msgid "GDB must then be told to look for debug files in the user's profile, by setting the @code{debug-file-directory} variable (consider setting it from the @file{~/.gdbinit} file, @pxref{Startup,,, gdb, Debugging with GDB}):"
  67473. msgstr ""
  67474. #. type: example
  67475. #: guix-git/doc/guix.texi:44819
  67476. #, no-wrap
  67477. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  67478. msgstr ""
  67479. #. type: Plain text
  67480. #: guix-git/doc/guix.texi:44823
  67481. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  67482. msgstr ""
  67483. #. type: Plain text
  67484. #: guix-git/doc/guix.texi:44828
  67485. msgid "Below is an alternative GDB script which is useful when working with other profiles. It takes advantage of the optional Guile integration in GDB. This snippet is included by default on Guix System in the @file{~/.gdbinit} file."
  67486. msgstr ""
  67487. #. type: example
  67488. #: guix-git/doc/guix.texi:44836
  67489. #, no-wrap
  67490. msgid ""
  67491. "guile\n"
  67492. "(use-modules (gdb))\n"
  67493. "(execute (string-append \"set debug-file-directory \"\n"
  67494. " (or (getenv \"GDB_DEBUG_FILE_DIRECTORY\")\n"
  67495. " \"~/.guix-profile/lib/debug\")))\n"
  67496. "end\n"
  67497. msgstr ""
  67498. #. type: Plain text
  67499. #: guix-git/doc/guix.texi:44844
  67500. msgid "In addition, you will most likely want GDB to be able to show the source code being debugged. To do that, you will have to unpack the source code of the package of interest (obtained with @code{guix build --source}, @pxref{Invoking guix build}), and to point GDB to that source directory using the @code{directory} command (@pxref{Source Path, @code{directory},, gdb, Debugging with GDB})."
  67501. msgstr ""
  67502. #. type: Plain text
  67503. #: guix-git/doc/guix.texi:44852
  67504. msgid "The @code{debug} output mechanism in Guix is implemented by the @code{gnu-build-system} (@pxref{Build Systems}). Currently, it is opt-in---debugging information is available only for the packages with definitions explicitly declaring a @code{debug} output. To check whether a package has a @code{debug} output, use @command{guix package --list-available} (@pxref{Invoking guix package})."
  67505. msgstr ""
  67506. #. type: Plain text
  67507. #: guix-git/doc/guix.texi:44854
  67508. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  67509. msgstr ""
  67510. #. type: Plain text
  67511. #: guix-git/doc/guix.texi:44866
  67512. msgid "As we saw above, some packages, but not all, provide debugging info in a @code{debug} output. What can you do when debugging info is missing? The @option{--with-debug-info} option provides a solution to that: it allows you to rebuild the package(s) for which debugging info is missing---and only those---and to graft those onto the application you're debugging. Thus, while it's not as fast as installing a @code{debug} output, it is relatively inexpensive."
  67513. msgstr ""
  67514. #. type: Plain text
  67515. #: guix-git/doc/guix.texi:44871
  67516. msgid "Let's illustrate that. Suppose you're experiencing a bug in Inkscape and would like to see what's going on in GLib, a library that's deep down in its dependency graph. As it turns out, GLib does not have a @code{debug} output and the backtrace GDB shows is all sadness:"
  67517. msgstr ""
  67518. #. type: example
  67519. #: guix-git/doc/guix.texi:44882
  67520. #, no-wrap
  67521. msgid ""
  67522. "(gdb) bt\n"
  67523. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  67524. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  67525. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  67526. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  67527. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8,\n"
  67528. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  67529. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  67530. " at dl-init.c:118\n"
  67531. msgstr ""
  67532. #. type: Plain text
  67533. #: guix-git/doc/guix.texi:44886
  67534. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  67535. msgstr ""
  67536. #. type: Plain text
  67537. #: guix-git/doc/guix.texi:44892
  67538. msgid "This time, debugging will be a whole lot nicer:"
  67539. msgstr ""
  67540. #. type: example
  67541. #: guix-git/doc/guix.texi:44910
  67542. #, no-wrap
  67543. msgid ""
  67544. "$ gdb --args sh -c 'exec inkscape'\n"
  67545. "@dots{}\n"
  67546. "(gdb) b g_getenv\n"
  67547. "Function \"g_getenv\" not defined.\n"
  67548. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  67549. "Breakpoint 1 (g_getenv) pending.\n"
  67550. "(gdb) r\n"
  67551. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  67552. "@dots{}\n"
  67553. "(gdb) bt\n"
  67554. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  67555. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  67556. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  67557. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088,\n"
  67558. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  67559. "@dots{}\n"
  67560. msgstr ""
  67561. #. type: Plain text
  67562. #: guix-git/doc/guix.texi:44913
  67563. msgid "Much better!"
  67564. msgstr ""
  67565. #. type: Plain text
  67566. #: guix-git/doc/guix.texi:44917
  67567. msgid "Note that there can be packages for which @option{--with-debug-info} will not have the desired effect. @xref{Package Transformation Options, @option{--with-debug-info}}, for more information."
  67568. msgstr ""
  67569. #. type: chapter
  67570. #: guix-git/doc/guix.texi:44919
  67571. #, no-wrap
  67572. msgid "Using @TeX{} and @LaTeX{}"
  67573. msgstr ""
  67574. #. type: cindex
  67575. #: guix-git/doc/guix.texi:44921
  67576. #, fuzzy, no-wrap
  67577. #| msgid "packages"
  67578. msgid "@TeX{} packages"
  67579. msgstr "pacotes"
  67580. #. type: cindex
  67581. #: guix-git/doc/guix.texi:44922
  67582. #, fuzzy, no-wrap
  67583. #| msgid "packages"
  67584. msgid "@LaTeX{} packages"
  67585. msgstr "pacotes"
  67586. #. type: Plain text
  67587. #: guix-git/doc/guix.texi:44930
  67588. msgid "Guix provides packages for the @TeX{}, @LaTeX{}, ConTeXt, LuaTeX, and related typesetting systems, taken from the @uref{https://www.tug.org/texlive/, @TeX{} Live distribution}. However, because @TeX{} Live is so huge and because finding your way in this maze is tricky, we thought that you, dear user, would welcome guidance on how to deploy the relevant packages so you can compile your @TeX{} and @LaTeX{} documents."
  67589. msgstr ""
  67590. #. type: Plain text
  67591. #: guix-git/doc/guix.texi:44932
  67592. msgid "@TeX{} Live currently comes in two flavors in Guix:"
  67593. msgstr ""
  67594. #. type: itemize
  67595. #: guix-git/doc/guix.texi:44938
  67596. msgid "The ``monolithic'' @code{texlive} package: it comes with @emph{every single @TeX{} Live package} (more than 7,000 of them), but it is huge (more than 4@tie{}GiB for a single package!)."
  67597. msgstr ""
  67598. #. type: itemize
  67599. #: guix-git/doc/guix.texi:44948
  67600. msgid "The ``modular'' @code{texlive-} packages: you install @code{texlive-base}, which provides core functionality and the main commands---@command{pdflatex}, @command{dvips}, @command{luatex}, @command{mf}, etc.---together with individual packages that provide just the features you need---@code{texlive-listings} for the @code{listings} package, @code{texlive-hyperref} for @code{hyperref}, @code{texlive-beamer} for Beamer, @code{texlive-pgf} for PGF/TikZ, and so on."
  67601. msgstr ""
  67602. #. type: Plain text
  67603. #: guix-git/doc/guix.texi:44953
  67604. msgid "We recommend using the modular package set because it is much less resource-hungry. To build your documents, you would use commands such as:"
  67605. msgstr ""
  67606. #. type: example
  67607. #: guix-git/doc/guix.texi:44957
  67608. #, no-wrap
  67609. msgid ""
  67610. "guix shell texlive-base texlive-wrapfig \\\n"
  67611. " texlive-hyperref texlive-cm-super -- pdflatex doc.tex\n"
  67612. msgstr ""
  67613. #. type: Plain text
  67614. #: guix-git/doc/guix.texi:44961
  67615. msgid "You can quickly end up with unreasonably long command lines though. The solution is to instead write a manifest, for example like this one:"
  67616. msgstr ""
  67617. #. type: lisp
  67618. #: guix-git/doc/guix.texi:44965
  67619. #, fuzzy, no-wrap
  67620. #| msgid ""
  67621. #| "(specifications->manifest\n"
  67622. #| " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  67623. msgid ""
  67624. "(specifications->manifest\n"
  67625. " '(\"rubber\"\n"
  67626. "\n"
  67627. msgstr ""
  67628. "(specifications->manifest\n"
  67629. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  67630. #. type: lisp
  67631. #: guix-git/doc/guix.texi:44968
  67632. #, no-wrap
  67633. msgid ""
  67634. " \"texlive-base\"\n"
  67635. " \"texlive-wrapfig\"\n"
  67636. "\n"
  67637. msgstr ""
  67638. #. type: lisp
  67639. #: guix-git/doc/guix.texi:44971
  67640. #, no-wrap
  67641. msgid ""
  67642. " \"texlive-microtype\"\n"
  67643. " \"texlive-listings\" \"texlive-hyperref\"\n"
  67644. "\n"
  67645. msgstr ""
  67646. #. type: lisp
  67647. #: guix-git/doc/guix.texi:44974
  67648. #, no-wrap
  67649. msgid ""
  67650. " ;; PGF/TikZ\n"
  67651. " \"texlive-pgf\"\n"
  67652. "\n"
  67653. msgstr ""
  67654. #. type: lisp
  67655. #: guix-git/doc/guix.texi:44978
  67656. #, no-wrap
  67657. msgid ""
  67658. " ;; Additional fonts.\n"
  67659. " \"texlive-cm-super\" \"texlive-amsfonts\"\n"
  67660. " \"texlive-times\" \"texlive-helvetic\" \"texlive-courier\"))\n"
  67661. msgstr ""
  67662. #. type: Plain text
  67663. #: guix-git/doc/guix.texi:44981
  67664. msgid "You can then pass it to any command with the @option{-m} option:"
  67665. msgstr ""
  67666. #. type: example
  67667. #: guix-git/doc/guix.texi:44984
  67668. #, no-wrap
  67669. msgid "guix shell -m manifest.scm -- pdflatex doc.tex\n"
  67670. msgstr ""
  67671. #. type: Plain text
  67672. #: guix-git/doc/guix.texi:44992
  67673. msgid "@xref{Writing Manifests}, for more on manifests. In the future, we plan to provide packages for @TeX{} Live @dfn{collections}---``meta-packages'' such as @code{fontsrecommended}, @code{humanities}, or @code{langarabic} that provide the set of packages needed in this particular domain. That will allow you to list fewer packages."
  67674. msgstr ""
  67675. #. type: Plain text
  67676. #: guix-git/doc/guix.texi:44998
  67677. msgid "The main difficulty here is that using the modular package set forces you to select precisely the packages that you need. You can use @command{guix search}, but finding the right package can prove to be tedious. When a package is missing, @command{pdflatex} and similar commands fail with an obscure message along the lines of:"
  67678. msgstr ""
  67679. #. type: example
  67680. #: guix-git/doc/guix.texi:45002
  67681. #, no-wrap
  67682. msgid ""
  67683. "doc.tex: File `tikz.sty' not found.\n"
  67684. "doc.tex:7: Emergency stop.\n"
  67685. msgstr ""
  67686. #. type: Plain text
  67687. #: guix-git/doc/guix.texi:45006
  67688. msgid "or, for a missing font:"
  67689. msgstr ""
  67690. #. type: example
  67691. #: guix-git/doc/guix.texi:45010
  67692. #, no-wrap
  67693. msgid ""
  67694. "kpathsea: Running mktexmf phvr7t\n"
  67695. "! I can't find file `phvr7t'.\n"
  67696. msgstr ""
  67697. #. type: Plain text
  67698. #: guix-git/doc/guix.texi:45014
  67699. msgid "How do you determine what the missing package is? In the first case, you'll find the answer by running:"
  67700. msgstr ""
  67701. #. type: example
  67702. #: guix-git/doc/guix.texi:45020
  67703. #, no-wrap
  67704. msgid ""
  67705. "$ guix search texlive tikz\n"
  67706. "name: texlive-pgf\n"
  67707. "version: 59745\n"
  67708. "@dots{}\n"
  67709. msgstr ""
  67710. #. type: Plain text
  67711. #: guix-git/doc/guix.texi:45025
  67712. msgid "In the second case, @command{guix search} turns up nothing. Instead, you can search the @TeX{} Live package database using the @command{tlmgr} command:"
  67713. msgstr ""
  67714. #. type: example
  67715. #: guix-git/doc/guix.texi:45029
  67716. #, no-wrap
  67717. msgid ""
  67718. "$ guix shell texlive-base -- tlmgr info phvr7t\n"
  67719. "tlmgr: cannot find package phvr7t, searching for other matches:\n"
  67720. "\n"
  67721. msgstr ""
  67722. #. type: example
  67723. #: guix-git/doc/guix.texi:45031
  67724. #, no-wrap
  67725. msgid ""
  67726. "Packages containing `phvr7t' in their title/description:\n"
  67727. "\n"
  67728. msgstr ""
  67729. #. type: example
  67730. #: guix-git/doc/guix.texi:45040
  67731. #, no-wrap
  67732. msgid ""
  67733. "Packages containing files matching `phvr7t':\n"
  67734. "helvetic:\n"
  67735. " texmf-dist/fonts/tfm/adobe/helvetic/phvr7t.tfm\n"
  67736. " texmf-dist/fonts/tfm/adobe/helvetic/phvr7tn.tfm\n"
  67737. " texmf-dist/fonts/vf/adobe/helvetic/phvr7t.vf\n"
  67738. " texmf-dist/fonts/vf/adobe/helvetic/phvr7tn.vf\n"
  67739. "tex4ht:\n"
  67740. " texmf-dist/tex4ht/ht-fonts/alias/adobe/helvetic/phvr7t.htf\n"
  67741. msgstr ""
  67742. #. type: Plain text
  67743. #: guix-git/doc/guix.texi:45045
  67744. msgid "The file is available in the @TeX{} Live @code{helvetic} package, which is known in Guix as @code{texlive-helvetic}. Quite a ride, but we found it!"
  67745. msgstr ""
  67746. #. type: Plain text
  67747. #: guix-git/doc/guix.texi:45049
  67748. msgid "There is one important limitation though: Guix currently provides a subset of the @TeX{} Live packages. If you stumble upon a missing package, you can try and import it (@pxref{Invoking guix import}):"
  67749. msgstr ""
  67750. #. type: example
  67751. #: guix-git/doc/guix.texi:45052
  67752. #, fuzzy, no-wrap
  67753. #| msgid "./pre-inst-env guix build gnew --keep-failed\n"
  67754. msgid "guix import texlive @var{package}\n"
  67755. msgstr "./pre-inst-env guix build gnew --keep-failed\n"
  67756. #. type: quotation
  67757. #: guix-git/doc/guix.texi:45067
  67758. msgid "@TeX{} Live packaging is still very much work in progress, but you can help! @xref{Contributing}, for more information."
  67759. msgstr ""
  67760. #. type: cindex
  67761. #: guix-git/doc/guix.texi:45072
  67762. #, no-wrap
  67763. msgid "security updates"
  67764. msgstr ""
  67765. #. type: Plain text
  67766. #: guix-git/doc/guix.texi:45081
  67767. msgid "Occasionally, important security vulnerabilities are discovered in software packages and must be patched. Guix developers try hard to keep track of known vulnerabilities and to apply fixes as soon as possible in the @code{master} branch of Guix (we do not yet provide a ``stable'' branch containing only security updates). The @command{guix lint} tool helps developers find out about vulnerable versions of software packages in the distribution:"
  67768. msgstr ""
  67769. #. type: smallexample
  67770. #: guix-git/doc/guix.texi:45088
  67771. #, no-wrap
  67772. msgid ""
  67773. "$ guix lint -c cve\n"
  67774. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  67775. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  67776. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  67777. "@dots{}\n"
  67778. msgstr ""
  67779. #. type: Plain text
  67780. #: guix-git/doc/guix.texi:45091
  67781. msgid "@xref{Invoking guix lint}, for more information."
  67782. msgstr ""
  67783. #. type: Plain text
  67784. #: guix-git/doc/guix.texi:45100
  67785. msgid "Guix follows a functional package management discipline (@pxref{Introduction}), which implies that, when a package is changed, @emph{every package that depends on it} must be rebuilt. This can significantly slow down the deployment of fixes in core packages such as libc or Bash, since basically the whole distribution would need to be rebuilt. Using pre-built binaries helps (@pxref{Substitutes}), but deployment may still take more time than desired."
  67786. msgstr ""
  67787. #. type: cindex
  67788. #: guix-git/doc/guix.texi:45101
  67789. #, no-wrap
  67790. msgid "grafts"
  67791. msgstr ""
  67792. #. type: Plain text
  67793. #: guix-git/doc/guix.texi:45109
  67794. msgid "To address this, Guix implements @dfn{grafts}, a mechanism that allows for fast deployment of critical updates without the costs associated with a whole-distribution rebuild. The idea is to rebuild only the package that needs to be patched, and then to ``graft'' it onto packages explicitly installed by the user and that were previously referring to the original package. The cost of grafting is typically very low, and order of magnitudes lower than a full rebuild of the dependency chain."
  67795. msgstr ""
  67796. #. type: cindex
  67797. #: guix-git/doc/guix.texi:45110
  67798. #, no-wrap
  67799. msgid "replacements of packages, for grafts"
  67800. msgstr ""
  67801. #. type: Plain text
  67802. #: guix-git/doc/guix.texi:45116
  67803. msgid "For instance, suppose a security update needs to be applied to Bash. Guix developers will provide a package definition for the ``fixed'' Bash, say @code{bash-fixed}, in the usual way (@pxref{Defining Packages}). Then, the original package definition is augmented with a @code{replacement} field pointing to the package containing the bug fix:"
  67804. msgstr ""
  67805. #. type: lisp
  67806. #: guix-git/doc/guix.texi:45123
  67807. #, no-wrap
  67808. msgid ""
  67809. "(define bash\n"
  67810. " (package\n"
  67811. " (name \"bash\")\n"
  67812. " ;; @dots{}\n"
  67813. " (replacement bash-fixed)))\n"
  67814. msgstr ""
  67815. #. type: Plain text
  67816. #: guix-git/doc/guix.texi:45133
  67817. msgid "From there on, any package depending directly or indirectly on Bash---as reported by @command{guix gc --requisites} (@pxref{Invoking guix gc})---that is installed is automatically ``rewritten'' to refer to @code{bash-fixed} instead of @code{bash}. This grafting process takes time proportional to the size of the package, usually less than a minute for an ``average'' package on a recent machine. Grafting is recursive: when an indirect dependency requires grafting, then grafting ``propagates'' up to the package that the user is installing."
  67818. msgstr ""
  67819. #. type: Plain text
  67820. #: guix-git/doc/guix.texi:45141
  67821. msgid "Currently, the length of the name and version of the graft and that of the package it replaces (@code{bash-fixed} and @code{bash} in the example above) must be equal. This restriction mostly comes from the fact that grafting works by patching files, including binary files, directly. Other restrictions may apply: for instance, when adding a graft to a package providing a shared library, the original shared library and its replacement must have the same @code{SONAME} and be binary-compatible."
  67822. msgstr ""
  67823. #. type: Plain text
  67824. #: guix-git/doc/guix.texi:45145
  67825. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  67826. msgstr ""
  67827. #. type: example
  67828. #: guix-git/doc/guix.texi:45148
  67829. #, no-wrap
  67830. msgid "guix build bash --no-grafts\n"
  67831. msgstr ""
  67832. #. type: Plain text
  67833. #: guix-git/doc/guix.texi:45152
  67834. msgid "returns the store file name of the original Bash, whereas:"
  67835. msgstr ""
  67836. #. type: example
  67837. #: guix-git/doc/guix.texi:45155
  67838. #, no-wrap
  67839. msgid "guix build bash\n"
  67840. msgstr ""
  67841. #. type: Plain text
  67842. #: guix-git/doc/guix.texi:45160
  67843. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  67844. msgstr ""
  67845. #. type: Plain text
  67846. #: guix-git/doc/guix.texi:45163
  67847. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  67848. msgstr ""
  67849. #. type: example
  67850. #: guix-git/doc/guix.texi:45166
  67851. #, no-wrap
  67852. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  67853. msgstr ""
  67854. #. type: Plain text
  67855. #: guix-git/doc/guix.texi:45171
  67856. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  67857. msgstr ""
  67858. #. type: example
  67859. #: guix-git/doc/guix.texi:45174
  67860. #, no-wrap
  67861. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  67862. msgstr ""
  67863. #. type: Plain text
  67864. #: guix-git/doc/guix.texi:45178
  67865. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  67866. msgstr ""
  67867. #. type: example
  67868. #: guix-git/doc/guix.texi:45181
  67869. #, no-wrap
  67870. msgid "lsof | grep /gnu/store/.*bash\n"
  67871. msgstr ""
  67872. #. type: cindex
  67873. #: guix-git/doc/guix.texi:45189
  67874. #, no-wrap
  67875. msgid "bootstrapping"
  67876. msgstr ""
  67877. #. type: Plain text
  67878. #: guix-git/doc/guix.texi:45196
  67879. msgid "Bootstrapping in our context refers to how the distribution gets built ``from nothing''. Remember that the build environment of a derivation contains nothing but its declared inputs (@pxref{Introduction}). So there's an obvious chicken-and-egg problem: how does the first package get built? How does the first compiler get compiled?"
  67880. msgstr ""
  67881. #. type: Plain text
  67882. #: guix-git/doc/guix.texi:45204
  67883. msgid "It is tempting to think of this question as one that only die-hard hackers may care about. However, while the answer to that question is technical in nature, its implications are wide-ranging. How the distribution is bootstrapped defines the extent to which we, as individuals and as a collective of users and hackers, can trust the software we run. It is a central concern from the standpoint of @emph{security} and from a @emph{user freedom} viewpoint."
  67884. msgstr ""
  67885. #. type: cindex
  67886. #: guix-git/doc/guix.texi:45205 guix-git/doc/guix.texi:45424
  67887. #, no-wrap
  67888. msgid "bootstrap binaries"
  67889. msgstr ""
  67890. #. type: Plain text
  67891. #: guix-git/doc/guix.texi:45215
  67892. msgid "The GNU system is primarily made of C code, with libc at its core. The GNU build system itself assumes the availability of a Bourne shell and command-line tools provided by GNU Coreutils, Awk, Findutils, `sed', and `grep'. Furthermore, build programs---programs that run @code{./configure}, @code{make}, etc.---are written in Guile Scheme (@pxref{Derivations}). Consequently, to be able to build anything at all, from scratch, Guix relies on pre-built binaries of Guile, GCC, Binutils, libc, and the other packages mentioned above---the @dfn{bootstrap binaries}."
  67893. msgstr ""
  67894. #. type: Plain text
  67895. #: guix-git/doc/guix.texi:45219
  67896. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  67897. msgstr ""
  67898. #. type: section
  67899. #: guix-git/doc/guix.texi:45226
  67900. #, no-wrap
  67901. msgid "The Full-Source Bootstrap"
  67902. msgstr ""
  67903. #. type: Plain text
  67904. #: guix-git/doc/guix.texi:45233
  67905. msgid "Guix---like other GNU/Linux distributions---is traditionally bootstrapped from a set of bootstrap binaries: Bourne shell, command-line tools provided by GNU Coreutils, Awk, Findutils, `sed', and `grep' and Guile, GCC, Binutils, and the GNU C Library (@pxref{Bootstrapping}). Usually, these bootstrap binaries are ``taken for granted.''"
  67906. msgstr ""
  67907. #. type: Plain text
  67908. #: guix-git/doc/guix.texi:45239
  67909. msgid "Taking the bootstrap binaries for granted means that we consider them to be a correct and trustworthy ``seed'' for building the complete system. Therein lies a problem: the combined size of these bootstrap binaries is about 250MB (@pxref{Bootstrappable Builds,,, mes, GNU Mes}). Auditing or even inspecting these is next to impossible."
  67910. msgstr ""
  67911. #. type: Plain text
  67912. #: guix-git/doc/guix.texi:45251
  67913. msgid "For @code{i686-linux} and @code{x86_64-linux}, Guix now features a @dfn{full-source bootstrap}. This bootstrap is rooted in @file{hex0-seed} from the @url{https://savannah.gnu.org/projects/stage0, Stage0} package. The hex0 program is minimalist assembler: it reads space-separated hexadecimal digits (nibbles) from a file, possibly including comments, and emits on standard output the bytes corresponding to those hexadecimal numbers. The source code of this initial hex0 program is a file called @url{https://github.com/oriansj/bootstrap-seeds/blob/master/POSIX/x86/hex0_x86.hex0,@file{hex0_x86.hex0}} and is written in the @code{hex0} language."
  67914. msgstr ""
  67915. #. type: Plain text
  67916. #: guix-git/doc/guix.texi:45253
  67917. msgid "Hex0 is self-hosting, which means that it can build itself:"
  67918. msgstr ""
  67919. #. type: example
  67920. #: guix-git/doc/guix.texi:45256
  67921. #, no-wrap
  67922. msgid "./hex0-seed hex0_x86.hex0 hex0\n"
  67923. msgstr ""
  67924. #. type: Plain text
  67925. #: guix-git/doc/guix.texi:45260
  67926. msgid "Hex0 it is the ASCII-equivalent of the binary program and can be produced by doing something much like:"
  67927. msgstr ""
  67928. #. type: example
  67929. #: guix-git/doc/guix.texi:45264
  67930. #, no-wrap
  67931. msgid ""
  67932. "sed 's/[;#].*$//g' hex0_x86.hex0 | xxd -r -p > hex0\n"
  67933. "chmod +x hex0\n"
  67934. msgstr ""
  67935. #. type: Plain text
  67936. #: guix-git/doc/guix.texi:45268
  67937. msgid "It is because of this ASCII-binary equivalence that we can bless this initial 357-byte binary as source, and hence `full-source bootstrap''."
  67938. msgstr ""
  67939. #. type: Plain text
  67940. #: guix-git/doc/guix.texi:45275
  67941. msgid "The bootstrap then continues: @code{hex0} builds @code{hex1} and then on to @code{M0}, @code{hex2}, @code{M1}, @code{mescc-tools} and finally @code{M2-Planet}. Then, using @code{mescc-tools}, @code{M2-Planet} we build Mes (@pxref{Top, GNU Mes Reference Manual,, mes, GNU Mes}, a Scheme interpreter and C compiler in Scheme). Frome here on starts the more traditional @code{C}-based bootstrap of the GNU System."
  67942. msgstr ""
  67943. #. type: Plain text
  67944. #: guix-git/doc/guix.texi:45282
  67945. msgid "Another step that Guix has taken is to replace the shell and all its utilities with implementations in Guile Scheme, the @emph{Scheme-only bootstrap}. Gash (@pxref{Gash,,, gash, The Gash manual}) is a POSIX-compatible shell that replaces Bash, and it comes with Gash Utils which has minimalist replacements for Awk, the GNU Core Utilities, Grep, Gzip, Sed, and Tar."
  67946. msgstr ""
  67947. #. type: Plain text
  67948. #: guix-git/doc/guix.texi:45292
  67949. msgid "Building the GNU System from source is currently only possible by adding some historical GNU packages as intermediate steps@footnote{Packages such as @code{gcc-2.95.3}, @code{binutils-2.14}, @code{glibc-2.2.5}, @code{gzip-1.2.4}, @code{tar-1.22}, and some others. For details, see @file{gnu/packages/commencement.scm}.}. As Gash and Gash Utils mature, and GNU packages become more bootstrappable again (e.g., new releases of GNU Sed will also ship as gzipped tarballs again, as alternative to the hard to bootstrap @code{xz}-compression), this set of added packages can hopefully be reduced again."
  67950. msgstr ""
  67951. #. type: Plain text
  67952. #: guix-git/doc/guix.texi:45296
  67953. msgid "The graph below shows the resulting dependency graph for @code{gcc-core-mesboot0}, the bootstrap compiler used for the traditional bootstrap of the rest of the Guix System."
  67954. msgstr ""
  67955. #. type: Plain text
  67956. #: guix-git/doc/guix.texi:45299
  67957. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  67958. msgstr ""
  67959. #. type: Plain text
  67960. #: guix-git/doc/guix.texi:45302
  67961. msgid "Work is ongoing to to bring these bootstraps to the @code{arm-linux} and @code{aarch64-linux} architectures and to the Hurd."
  67962. msgstr ""
  67963. #. type: Plain text
  67964. #: guix-git/doc/guix.texi:45306
  67965. msgid "If you are interested, join us on @samp{#bootstrappable} on the Libera.Chat IRC network or discuss on @email{bug-mes@@gnu.org} or @email{gash-devel@@nongnu.org}."
  67966. msgstr ""
  67967. #. type: Plain text
  67968. #: guix-git/doc/guix.texi:45313
  67969. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  67970. msgstr ""
  67971. #. type: Plain text
  67972. #: guix-git/doc/guix.texi:45318
  67973. msgid "The figure above shows the very beginning of the dependency graph of the distribution, corresponding to the package definitions of the @code{(gnu packages bootstrap)} module. A similar figure can be generated with @command{guix graph} (@pxref{Invoking guix graph}), along the lines of:"
  67974. msgstr ""
  67975. #. type: example
  67976. #: guix-git/doc/guix.texi:45323
  67977. #, no-wrap
  67978. msgid ""
  67979. "guix graph -t derivation \\\n"
  67980. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  67981. " | dot -Tps > gcc.ps\n"
  67982. msgstr ""
  67983. #. type: Plain text
  67984. #: guix-git/doc/guix.texi:45326
  67985. msgid "or, for the further Reduced Binary Seed bootstrap"
  67986. msgstr ""
  67987. #. type: example
  67988. #: guix-git/doc/guix.texi:45331
  67989. #, no-wrap
  67990. msgid ""
  67991. "guix graph -t derivation \\\n"
  67992. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  67993. " | dot -Tps > mes.ps\n"
  67994. msgstr ""
  67995. #. type: Plain text
  67996. #: guix-git/doc/guix.texi:45340
  67997. msgid "At this level of detail, things are slightly complex. First, Guile itself consists of an ELF executable, along with many source and compiled Scheme files that are dynamically loaded when it runs. This gets stored in the @file{guile-2.0.7.tar.xz} tarball shown in this graph. This tarball is part of Guix's ``source'' distribution, and gets inserted into the store with @code{add-to-store} (@pxref{The Store})."
  67998. msgstr ""
  67999. #. type: Plain text
  68000. #: guix-git/doc/guix.texi:45349
  68001. msgid "But how do we write a derivation that unpacks this tarball and adds it to the store? To solve this problem, the @code{guile-bootstrap-2.0.drv} derivation---the first one that gets built---uses @code{bash} as its builder, which runs @code{build-bootstrap-guile.sh}, which in turn calls @code{tar} to unpack the tarball. Thus, @file{bash}, @file{tar}, @file{xz}, and @file{mkdir} are statically-linked binaries, also part of the Guix source distribution, whose sole purpose is to allow the Guile tarball to be unpacked."
  68002. msgstr ""
  68003. #. type: Plain text
  68004. #: guix-git/doc/guix.texi:45361
  68005. msgid "Once @code{guile-bootstrap-2.0.drv} is built, we have a functioning Guile that can be used to run subsequent build programs. Its first task is to download tarballs containing the other pre-built binaries---this is what the @file{.tar.xz.drv} derivations do. Guix modules such as @code{ftp-client.scm} are used for this purpose. The @code{module-import.drv} derivations import those modules in a directory in the store, using the original layout. The @code{module-import-compiled.drv} derivations compile those modules, and write them in an output directory with the right layout. This corresponds to the @code{#:modules} argument of @code{build-expression->derivation} (@pxref{Derivations})."
  68006. msgstr ""
  68007. #. type: Plain text
  68008. #: guix-git/doc/guix.texi:45366
  68009. msgid "Finally, the various tarballs are unpacked by the derivations @code{gcc-bootstrap-0.drv}, @code{glibc-bootstrap-0.drv}, or @code{bootstrap-mes-0.drv} and @code{bootstrap-mescc-tools-0.drv}, at which point we have a working C tool chain."
  68010. msgstr ""
  68011. #. type: unnumberedsec
  68012. #: guix-git/doc/guix.texi:45367
  68013. #, no-wrap
  68014. msgid "Building the Build Tools"
  68015. msgstr ""
  68016. #. type: Plain text
  68017. #: guix-git/doc/guix.texi:45376
  68018. msgid "Bootstrapping is complete when we have a full tool chain that does not depend on the pre-built bootstrap tools discussed above. This no-dependency requirement is verified by checking whether the files of the final tool chain contain references to the @file{/gnu/store} directories of the bootstrap inputs. The process that leads to this ``final'' tool chain is described by the package definitions found in the @code{(gnu packages commencement)} module."
  68019. msgstr ""
  68020. #. type: Plain text
  68021. #: guix-git/doc/guix.texi:45383
  68022. msgid "The @command{guix graph} command allows us to ``zoom out'' compared to the graph above, by looking at the level of package objects instead of individual derivations---remember that a package may translate to several derivations, typically one derivation to download its source, one to build the Guile modules it needs, and one to actually build the package from source. The command:"
  68023. msgstr ""
  68024. #. type: example
  68025. #: guix-git/doc/guix.texi:45388
  68026. #, no-wrap
  68027. msgid ""
  68028. "guix graph -t bag \\\n"
  68029. " -e '(@@@@ (gnu packages commencement)\n"
  68030. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  68031. msgstr ""
  68032. #. type: Plain text
  68033. #: guix-git/doc/guix.texi:45395
  68034. msgid "displays the dependency graph leading to the ``final'' C library@footnote{You may notice the @code{glibc-intermediate} label, suggesting that it is not @emph{quite} final, but as a good approximation, we will consider it final.}, depicted below."
  68035. msgstr ""
  68036. #. type: Plain text
  68037. #: guix-git/doc/guix.texi:45397
  68038. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  68039. msgstr ""
  68040. #. type: Plain text
  68041. #: guix-git/doc/guix.texi:45403
  68042. msgid "The first tool that gets built with the bootstrap binaries is GNU@tie{}Make---noted @code{make-boot0} above---which is a prerequisite for all the following packages. From there Findutils and Diffutils get built."
  68043. msgstr ""
  68044. #. type: Plain text
  68045. #: guix-git/doc/guix.texi:45408
  68046. msgid "Then come the first-stage Binutils and GCC, built as pseudo cross tools---i.e., with @option{--target} equal to @option{--host}. They are used to build libc. Thanks to this cross-build trick, this libc is guaranteed not to hold any reference to the initial tool chain."
  68047. msgstr ""
  68048. #. type: Plain text
  68049. #: guix-git/doc/guix.texi:45414
  68050. msgid "From there the final Binutils and GCC (not shown above) are built. GCC uses @command{ld} from the final Binutils, and links programs against the just-built libc. This tool chain is used to build the other packages used by Guix and by the GNU Build System: Guile, Bash, Coreutils, etc."
  68051. msgstr ""
  68052. #. type: Plain text
  68053. #: guix-git/doc/guix.texi:45420
  68054. msgid "And voilà! At this point we have the complete set of build tools that the GNU Build System expects. These are in the @code{%final-inputs} variable of the @code{(gnu packages commencement)} module, and are implicitly used by any package that uses @code{gnu-build-system} (@pxref{Build Systems, @code{gnu-build-system}})."
  68055. msgstr ""
  68056. #. type: unnumberedsec
  68057. #: guix-git/doc/guix.texi:45422
  68058. #, no-wrap
  68059. msgid "Building the Bootstrap Binaries"
  68060. msgstr ""
  68061. #. type: Plain text
  68062. #: guix-git/doc/guix.texi:45429
  68063. msgid "Because the final tool chain does not depend on the bootstrap binaries, those rarely need to be updated. Nevertheless, it is useful to have an automated way to produce them, should an update occur, and this is what the @code{(gnu packages make-bootstrap)} module provides."
  68064. msgstr ""
  68065. #. type: Plain text
  68066. #: guix-git/doc/guix.texi:45435
  68067. msgid "The following command builds the tarballs containing the bootstrap binaries (Binutils, GCC, glibc, for the traditional bootstrap and linux-libre-headers, bootstrap-mescc-tools, bootstrap-mes for the Reduced Binary Seed bootstrap, and Guile, and a tarball containing a mixture of Coreutils and other basic command-line tools):"
  68068. msgstr ""
  68069. #. type: example
  68070. #: guix-git/doc/guix.texi:45438
  68071. #, no-wrap
  68072. msgid "guix build bootstrap-tarballs\n"
  68073. msgstr ""
  68074. #. type: Plain text
  68075. #: guix-git/doc/guix.texi:45443
  68076. msgid "The generated tarballs are those that should be referred to in the @code{(gnu packages bootstrap)} module mentioned at the beginning of this section."
  68077. msgstr ""
  68078. #. type: Plain text
  68079. #: guix-git/doc/guix.texi:45449
  68080. msgid "Still here? Then perhaps by now you've started to wonder: when do we reach a fixed point? That is an interesting question! The answer is unknown, but if you would like to investigate further (and have significant computational and storage resources to do so), then let us know."
  68081. msgstr ""
  68082. #. type: unnumberedsec
  68083. #: guix-git/doc/guix.texi:45450
  68084. #, no-wrap
  68085. msgid "Reducing the Set of Bootstrap Binaries"
  68086. msgstr ""
  68087. #. type: Plain text
  68088. #: guix-git/doc/guix.texi:45458
  68089. msgid "Our traditional bootstrap includes GCC, GNU Libc, Guile, etc. That's a lot of binary code! Why is that a problem? It's a problem because these big chunks of binary code are practically non-auditable, which makes it hard to establish what source code produced them. Every unauditable binary also leaves us vulnerable to compiler backdoors as described by Ken Thompson in the 1984 paper @emph{Reflections on Trusting Trust}."
  68090. msgstr ""
  68091. #. type: Plain text
  68092. #: guix-git/doc/guix.texi:45464
  68093. msgid "This is mitigated by the fact that our bootstrap binaries were generated from an earlier Guix revision. Nevertheless it lacks the level of transparency that we get in the rest of the package dependency graph, where Guix always gives us a source-to-binary mapping. Thus, our goal is to reduce the set of bootstrap binaries to the bare minimum."
  68094. msgstr ""
  68095. #. type: Plain text
  68096. #: guix-git/doc/guix.texi:45470
  68097. msgid "The @uref{https://bootstrappable.org, Bootstrappable.org web site} lists on-going projects to do that. One of these is about replacing the bootstrap GCC with a sequence of assemblers, interpreters, and compilers of increasing complexity, which could be built from source starting from a simple and auditable assembler."
  68098. msgstr ""
  68099. #. type: Plain text
  68100. #: guix-git/doc/guix.texi:45479
  68101. msgid "Our first major achievement is the replacement of of GCC, the GNU C Library and Binutils by MesCC-Tools (a simple hex linker and macro assembler) and Mes (@pxref{Top, GNU Mes Reference Manual,, mes, GNU Mes}, a Scheme interpreter and C compiler in Scheme). Neither MesCC-Tools nor Mes can be fully bootstrapped yet and thus we inject them as binary seeds. We call this the Reduced Binary Seed bootstrap, as it has halved the size of our bootstrap binaries! Also, it has eliminated the C compiler binary; i686-linux and x86_64-linux Guix packages are now bootstrapped without any binary C compiler."
  68102. msgstr ""
  68103. #. type: Plain text
  68104. #: guix-git/doc/guix.texi:45482
  68105. msgid "Work is ongoing to make MesCC-Tools and Mes fully bootstrappable and we are also looking at any other bootstrap binaries. Your help is welcome!"
  68106. msgstr ""
  68107. #. type: chapter
  68108. #: guix-git/doc/guix.texi:45484
  68109. #, no-wrap
  68110. msgid "Porting to a New Platform"
  68111. msgstr "Portando para uma nova plataforma"
  68112. #. type: Plain text
  68113. #: guix-git/doc/guix.texi:45493
  68114. msgid "As discussed above, the GNU distribution is self-contained, and self-containment is achieved by relying on pre-built ``bootstrap binaries'' (@pxref{Bootstrapping}). These binaries are specific to an operating system kernel, CPU architecture, and application binary interface (ABI). Thus, to port the distribution to a platform that is not yet supported, one must build those bootstrap binaries, and update the @code{(gnu packages bootstrap)} module to use them on that platform."
  68115. msgstr ""
  68116. #. type: Plain text
  68117. #: guix-git/doc/guix.texi:45498
  68118. msgid "Fortunately, Guix can @emph{cross compile} those bootstrap binaries. When everything goes well, and assuming the GNU tool chain supports the target platform, this can be as simple as running a command like this one:"
  68119. msgstr ""
  68120. #. type: example
  68121. #: guix-git/doc/guix.texi:45501
  68122. #, no-wrap
  68123. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  68124. msgstr ""
  68125. #. type: Plain text
  68126. #: guix-git/doc/guix.texi:45510
  68127. msgid "For this to work, it is first required to register a new platform as defined in the @code{(guix platform)} module. A platform is making the connection between a GNU triplet (@pxref{Specifying Target Triplets, GNU configuration triplets,, autoconf, Autoconf}), the equivalent @var{system} in Nix notation, the name of the @var{glibc-dynamic-linker}, and the corresponding Linux architecture name if applicable (@pxref{Platforms})."
  68128. msgstr ""
  68129. #. type: Plain text
  68130. #: guix-git/doc/guix.texi:45519
  68131. msgid "Once the bootstrap tarball are built, the @code{(gnu packages bootstrap)} module needs to be updated to refer to these binaries on the target platform. That is, the hashes and URLs of the bootstrap tarballs for the new platform must be added alongside those of the currently supported platforms. The bootstrap Guile tarball is treated specially: it is expected to be available locally, and @file{gnu/local.mk} has rules to download it for the supported architectures; a rule for the new platform must be added as well."
  68132. msgstr ""
  68133. #. type: Plain text
  68134. #: guix-git/doc/guix.texi:45528
  68135. msgid "In practice, there may be some complications. First, it may be that the extended GNU triplet that specifies an ABI (like the @code{eabi} suffix above) is not recognized by all the GNU tools. Typically, glibc recognizes some of these, whereas GCC uses an extra @option{--with-abi} configure flag (see @code{gcc.scm} for examples of how to handle this). Second, some of the required packages could fail to build for that platform. Lastly, the generated binaries could be broken for some reason."
  68136. msgstr ""
  68137. #. type: include
  68138. #: guix-git/doc/guix.texi:45530
  68139. #, no-wrap
  68140. msgid "contributing.texi"
  68141. msgstr "contributing.pt_BR.texi"
  68142. #. type: Plain text
  68143. #: guix-git/doc/guix.texi:45543
  68144. msgid "Guix is based on the @uref{https://nixos.org/nix/, Nix package manager}, which was designed and implemented by Eelco Dolstra, with contributions from other people (see the @file{nix/AUTHORS} file in Guix). Nix pioneered functional package management, and promoted unprecedented features, such as transactional package upgrades and rollbacks, per-user profiles, and referentially transparent build processes. Without this work, Guix would not exist."
  68145. msgstr ""
  68146. #. type: Plain text
  68147. #: guix-git/doc/guix.texi:45546
  68148. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  68149. msgstr "As distribuições de software baseadas em Nix, Nixpkgs e NixOS, também foram uma inspiração para o Guix."
  68150. #. type: Plain text
  68151. #: guix-git/doc/guix.texi:45552
  68152. msgid "GNU@tie{}Guix itself is a collective work with contributions from a number of people. See the @file{AUTHORS} file in Guix for more information on these fine people. The @file{THANKS} file lists people who have helped by reporting bugs, taking care of the infrastructure, providing artwork and themes, making suggestions, and more---thank you!"
  68153. msgstr "O GNU@tie{}Guix em si é um trabalho coletivo com contribuições de várias pessoas. Veja o arquivo @file{AUTHORS} no Guix para obter mais informações sobre essas pessoas legais. O arquivo @file{THANKS} lista as pessoas que ajudaram a relatar erros, cuidar da infraestrutura, fornecer ilustrações e temas, fazer sugestões e muito mais -- obrigado!"
  68154. #. type: cindex
  68155. #: guix-git/doc/guix.texi:45557
  68156. #, no-wrap
  68157. msgid "license, GNU Free Documentation License"
  68158. msgstr "licença, Licença de Documentação Livre GNU"
  68159. #. type: include
  68160. #: guix-git/doc/guix.texi:45558
  68161. #, no-wrap
  68162. msgid "fdl-1.3.texi"
  68163. msgstr "fdl-1.3.texi"
  68164. #, no-wrap
  68165. #~ msgid "semodule -i etc/guix-daemon.cil\n"
  68166. #~ msgstr "semodule -i etc/guix-daemon.cil\n"
  68167. #, fuzzy
  68168. #~| msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  68169. #~ msgid "Then relabel the file system with @code{restorecon -vR /} or by a different mechanism provided by your system. You may need to remount @file{/gnu/store} to make it writable first, e.g. with @code{mount -o remount,rw /gnu/store}."
  68170. #~ msgstr "Em seguida, altere o rótulo do sistema de arquivos com @code{restorecon} ou por um mecanismo diferente fornecido pelo seu sistema."
  68171. #, fuzzy
  68172. #~| msgid "@code{features} (default: @code{'()})"
  68173. #~ msgid "@code{shepherd-requirement} (default: @code{()})"
  68174. #~ msgstr "@code{features} (padrão: @code{'()})"
  68175. #, fuzzy
  68176. #~| msgid "System Configuration"
  68177. #~ msgid "Home Environment Configuration"
  68178. #~ msgstr "Configuração do sistema"
  68179. #, fuzzy
  68180. #~| msgid "Instantiating a system configuration."
  68181. #~ msgid "Instantiating a home environment configuration."
  68182. #~ msgstr "Inicializando uma configuração de sistema."
  68183. #~ msgid "%@{name@}"
  68184. #~ msgstr "%@{name@}"
  68185. #~ msgid "%C"
  68186. #~ msgstr "%C"
  68187. #~ msgid "%T"
  68188. #~ msgstr "%T"
  68189. #, fuzzy
  68190. #~ msgid "@code{proxy-command} (type: maybe-string)"
  68191. #~ msgstr "@code{remote?} (padrão: @code{#f})"
  68192. #, fuzzy
  68193. #~| msgid "@code{dbus?} (default: @code{#t})"
  68194. #~ msgid "@code{group} (default: @code{\"mpd\"}) (type: string)"
  68195. #~ msgstr "@code{dbus?} (padrão: @code{#t})"
  68196. #, fuzzy
  68197. #~ msgid "{Scheme Variable} tree-sitter-build-system"
  68198. #~ msgstr "guix-publish-service-type"
  68199. #, fuzzy
  68200. #~| msgid "packages->manifest"
  68201. #~ msgid "{Scheme Procedure} package->development-manifest @var{package} @"
  68202. #~ msgstr "packages->manifest"
  68203. #, fuzzy
  68204. #~| msgid "packages->manifest"
  68205. #~ msgid "{Scheme Procedure} fail2ban-jail-service @var{svc-type} @var{jail}"
  68206. #~ msgstr "packages->manifest"
  68207. #, fuzzy
  68208. #~| msgid "@code{id} (default: @code{#f})"
  68209. #~ msgid "@code{iwd?} (default: @code{#f})"
  68210. #~ msgstr "@code{id} (default: @code{#f})"
  68211. #, fuzzy
  68212. #~| msgid "git configuration"
  68213. #~ msgid "%nscd-default-configuration"
  68214. #~ msgstr "Configuração do git"
  68215. #~ msgid "5"
  68216. #~ msgstr "5"
  68217. #~ msgid "spice"
  68218. #~ msgstr "spice"
  68219. #, fuzzy
  68220. #~ msgid "{Data Type} host"
  68221. #~ msgstr "build-machine {Data Type}"
  68222. #, fuzzy
  68223. #~ msgid "@code{address} (type: string)"
  68224. #~ msgstr "@code{remote?} (padrão: @code{#f})"
  68225. #, fuzzy
  68226. #~ msgid "@code{canonical-name} (type: string)"
  68227. #~ msgstr "@code{remote?} (padrão: @code{#f})"
  68228. #, fuzzy
  68229. #~| msgid "name"
  68230. #~ msgid "Hostname."
  68231. #~ msgstr "name"
  68232. #~ msgid "@code{port} (default: @code{\"6600\"})"
  68233. #~ msgstr "@code{porta} (default: @code{\"6600\"})"
  68234. #, fuzzy
  68235. #~ msgid "{Scheme Variable} opendht-service-type"
  68236. #~ msgstr "guix-publish-service-type"
  68237. #, fuzzy
  68238. #~ msgid "{Scheme Variable} ipfs-service-type"
  68239. #~ msgstr "guix-publish-service-type"
  68240. #, fuzzy
  68241. #~ msgid "{Scheme Variable} lightdm-service-type"
  68242. #~ msgstr "guix-publish-service-type"
  68243. #, fuzzy
  68244. #~ msgid "{Scheme Variable} bluetooth-service-type"
  68245. #~ msgstr "guix-publish-service-type"
  68246. #, fuzzy
  68247. #~ msgid "{Scheme Variable} seatd-service-type"
  68248. #~ msgstr "guix-publish-service-type"
  68249. #, fuzzy
  68250. #~ msgid "{Scheme variable} zabbix-agent-service-type"
  68251. #~ msgstr "guix-publish-service-type"
  68252. #, fuzzy
  68253. #~ msgid "{Scheme Variable} xvnc-service-type"
  68254. #~ msgstr "guix-publish-service-type"
  68255. #, fuzzy
  68256. #~ msgid "{Scheme Variable} bitmask-service-type"
  68257. #~ msgstr "guix-publish-service-type"
  68258. #, fuzzy
  68259. #~ msgid "{Scheme variable} samba-service-type"
  68260. #~ msgstr "guix-publish-service-type"
  68261. #, fuzzy
  68262. #~ msgid "{Scheme Variable} wsdd-service-type"
  68263. #~ msgstr "guix-publish-service-type"
  68264. #, fuzzy
  68265. #~ msgid "{Scheme Variable} rasdaemon-service-type"
  68266. #~ msgstr "guix-publish-service-type"
  68267. #, fuzzy
  68268. #~ msgid "{Scheme Variable} fail2ban-service-type"
  68269. #~ msgstr "guix-publish-service-type"
  68270. #, fuzzy
  68271. #~ msgid "{Scheme Variable} home-service-type"
  68272. #~ msgstr "guix-publish-service-type"
  68273. #, fuzzy
  68274. #~ msgid "{Scheme Variable} home-mcron-service-type"
  68275. #~ msgstr "guix-publish-service-type"
  68276. #, fuzzy
  68277. #~ msgid "{Scheme Variable} home-dbus-service-type"
  68278. #~ msgstr "guix-publish-service-type"
  68279. #, fuzzy
  68280. #~ msgid "{Scheme Variable} armv7-linux"
  68281. #~ msgstr "guix-publish-service-type"
  68282. #, fuzzy
  68283. #~ msgid "{Scheme Variable} aarch64-linux"
  68284. #~ msgstr "guix-publish-service-type"
  68285. #, fuzzy
  68286. #~ msgid "{Scheme Variable} mips64-linux"
  68287. #~ msgstr "guix-publish-service-type"
  68288. #, fuzzy
  68289. #~ msgid "{Scheme Variable} powerpc-linux"
  68290. #~ msgstr "guix-publish-service-type"
  68291. #, fuzzy
  68292. #~ msgid "{Scheme Variable} powerpc64le-linux"
  68293. #~ msgstr "guix-publish-service-type"
  68294. #, fuzzy
  68295. #~ msgid "{Scheme Variable} riscv64-linux"
  68296. #~ msgstr "guix-publish-service-type"
  68297. #, fuzzy
  68298. #~ msgid "{Scheme Variable} i686-linux"
  68299. #~ msgstr "guix-publish-service-type"
  68300. #, fuzzy
  68301. #~ msgid "{Scheme Variable} x86_64-linux"
  68302. #~ msgstr "guix-publish-service-type"
  68303. #, fuzzy
  68304. #~ msgid "{Scheme Variable} i686-mingw"
  68305. #~ msgstr "guix-publish-service-type"
  68306. #, fuzzy
  68307. #~ msgid "{Scheme Variable} x86_64-mingw"
  68308. #~ msgstr "guix-publish-service-type"
  68309. #, fuzzy
  68310. #~ msgid "{Scheme Variable} i586-gnu"
  68311. #~ msgstr "guix-publish-service-type"
  68312. #, fuzzy
  68313. #~ msgid "{Scheme Variable} iso9660-image"
  68314. #~ msgstr "guix-publish-service-type"
  68315. #, fuzzy
  68316. #~ msgid "{Scheme Variable} docker-image"
  68317. #~ msgstr "guix-publish-service-type"
  68318. #, fuzzy
  68319. #~| msgid "@code{dbus?} (default: @code{#t})"
  68320. #~ msgid "@code{group} (default: @code{\"zabbix\"}) (type: group)"
  68321. #~ msgstr "@code{dbus?} (padrão: @code{#t})"
  68322. #~ msgid "@uref{https://gnutls.org/, GnuTLS}, specifically its Guile bindings (@pxref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile});"
  68323. #~ msgstr "@uref{https://gnutls.org/, GnuTLS}, especificamente suas associações com Guile (@pxref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile});"
  68324. #~ msgid "Invoking @code{guix system}"
  68325. #~ msgstr "Invocando @code{guix system}"
  68326. #, fuzzy
  68327. #~| msgid "Invoking @code{guix system}"
  68328. #~ msgid "Invoking @code{guix home}"
  68329. #~ msgstr "Invocando @code{guix system}"
  68330. #, fuzzy
  68331. #~| msgid "The GPM package to use."
  68332. #~ msgid "The config file to use."
  68333. #~ msgstr "O pacote GPM a ser usado."
  68334. #, fuzzy
  68335. #~ msgid "@deftp{Data Type} wsdd-configuration This data type represents the configuration for the wsdd service."
  68336. #~ msgstr "Gerencie a configuração do sistema operacional."
  68337. #~ msgid ""
  68338. #~ ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  68339. #~ "(with-eval-after-load 'yasnippet\n"
  68340. #~ " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  68341. #~ msgstr ""
  68342. #~ ";; @r{Presumindo que o checkout do Guix está em ~/src/guix.}\n"
  68343. #~ "(with-eval-after-load 'yasnippet\n"
  68344. #~ " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  68345. #, fuzzy
  68346. #~| msgid "@code{user} (default: @var{git})"
  68347. #~ msgid "@code{user} (default: @samp{\"root\"})"
  68348. #~ msgstr "@code{user} (default: @var{git})"
  68349. #~ msgid ""
  68350. #~ "(specifications->manifest\n"
  68351. #~ " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  68352. #~ msgstr ""
  68353. #~ "(specifications->manifest\n"
  68354. #~ " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  68355. #~ msgid "./etc/indent-code.el gnu/packages/@var{file}.scm @var{package}\n"
  68356. #~ msgstr "./etc/indent-code.el gnu/packages/@var{arquivo}.scm @var{pacote}\n"
  68357. #~ msgid "This automatically indents the definition of @var{package} in @file{gnu/packages/@var{file}.scm} by running Emacs in batch mode. To indent a whole file, omit the second argument:"
  68358. #~ msgstr "Isso automaticamente recua a definição de @var{pacote} em @file{gnu/packages/@var{arquivo}.scm} executando o Emacs no modo em lote. Para recuar um arquivo inteiro, omita o segundo argumento:"
  68359. #~ msgid "./etc/indent-code.el gnu/services/@var{file}.scm\n"
  68360. #~ msgstr "./etc/indent-code.el gnu/services/@var{arquivo}.scm\n"
  68361. #~ msgid "git-send-email"
  68362. #~ msgstr "git-send-email"
  68363. #, fuzzy
  68364. #~| msgid "contents"
  68365. #~ msgid "contentdb"
  68366. #~ msgstr "conteúdo"