guix-manual.pt_BR.po 2.3 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715
  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.
  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: 2022-02-15 15:18+0000\n"
  13. "PO-Revision-Date: 2022-01-25 15:16+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.10.1\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:182
  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:33 guix-git/doc/contributing.texi:35
  57. #: guix-git/doc/contributing.texi:36
  58. #, no-wrap
  59. msgid "Building from Git"
  60. msgstr "Compilando do git"
  61. #. type: menuentry
  62. #: guix-git/doc/contributing.texi:33
  63. msgid "The latest and greatest."
  64. msgstr "A mais recente e melhor."
  65. #. type: section
  66. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:192
  67. #: guix-git/doc/contributing.texi:193
  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:33
  73. msgid "Hacker tricks."
  74. msgstr "Truques de hacker."
  75. #. type: section
  76. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:284
  77. #: guix-git/doc/contributing.texi:285
  78. #, no-wrap
  79. msgid "The Perfect Setup"
  80. msgstr "A configuração perfeita"
  81. #. type: menuentry
  82. #: guix-git/doc/contributing.texi:33
  83. msgid "The right tools."
  84. msgstr "As ferramentas certas."
  85. #. type: section
  86. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:375
  87. #: guix-git/doc/contributing.texi:376
  88. #, no-wrap
  89. msgid "Packaging Guidelines"
  90. msgstr "Diretrizes de empacotamento"
  91. #. type: menuentry
  92. #: guix-git/doc/contributing.texi:33
  93. msgid "Growing the distribution."
  94. msgstr "Crescendo a distribuição."
  95. #. type: section
  96. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:939
  97. #: guix-git/doc/contributing.texi:940
  98. #, no-wrap
  99. msgid "Coding Style"
  100. msgstr "Estilo de código"
  101. #. type: menuentry
  102. #: guix-git/doc/contributing.texi:33
  103. msgid "Hygiene of the contributor."
  104. msgstr "Limpeza do contribuidor."
  105. #. type: section
  106. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1032
  107. #: guix-git/doc/contributing.texi:1033
  108. #, no-wrap
  109. msgid "Submitting Patches"
  110. msgstr "Enviando patches"
  111. #. type: menuentry
  112. #: guix-git/doc/contributing.texi:33
  113. msgid "Share your work."
  114. msgstr "Compartilhe seu trabalho."
  115. #. type: section
  116. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1317
  117. #: guix-git/doc/contributing.texi:1318
  118. #, no-wrap
  119. msgid "Tracking Bugs and Patches"
  120. msgstr ""
  121. #. type: menuentry
  122. #: guix-git/doc/contributing.texi:33
  123. msgid "Keeping it all organized."
  124. msgstr ""
  125. #. type: section
  126. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1432
  127. #: guix-git/doc/contributing.texi:1433
  128. #, no-wrap
  129. msgid "Commit Access"
  130. msgstr ""
  131. #. type: menuentry
  132. #: guix-git/doc/contributing.texi:33
  133. msgid "Pushing to the official repository."
  134. msgstr ""
  135. #. type: section
  136. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1663
  137. #: guix-git/doc/contributing.texi:1664
  138. #, no-wrap
  139. msgid "Updating the Guix Package"
  140. msgstr ""
  141. #. type: menuentry
  142. #: guix-git/doc/contributing.texi:33
  143. msgid "Updating the Guix package definition."
  144. msgstr ""
  145. #. type: section
  146. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1704
  147. #: guix-git/doc/contributing.texi:1705
  148. #, no-wrap
  149. msgid "Translating Guix"
  150. msgstr "Traduzindo o Guix"
  151. #. type: menuentry
  152. #: guix-git/doc/contributing.texi:33
  153. msgid "Make Guix speak your native language."
  154. msgstr ""
  155. #. type: Plain text
  156. #: guix-git/doc/contributing.texi:40
  157. msgid "If you want to hack Guix itself, it is recommended to use the latest version from the Git repository:"
  158. msgstr "Se você quiser hackear o próprio Guix, é recomendado usar a versão mais recente do repositório Git:"
  159. #. type: example
  160. #: guix-git/doc/contributing.texi:43
  161. #, no-wrap
  162. msgid "git clone https://git.savannah.gnu.org/git/guix.git\n"
  163. msgstr "git clone https://git.savannah.gnu.org/git/guix.git\n"
  164. #. type: cindex
  165. #: guix-git/doc/contributing.texi:45
  166. #, no-wrap
  167. msgid "authentication, of a Guix checkout"
  168. msgstr ""
  169. #. type: Plain text
  170. #: guix-git/doc/contributing.texi:50
  171. 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}):"
  172. msgstr ""
  173. #. type: example
  174. #: guix-git/doc/contributing.texi:57
  175. #, no-wrap
  176. msgid ""
  177. "git fetch origin keyring:keyring\n"
  178. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  179. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  180. msgstr ""
  181. #. type: Plain text
  182. #: guix-git/doc/contributing.texi:62
  183. msgid "This command completes with exit code zero on success; it prints an error message and exits with a non-zero code otherwise."
  184. msgstr ""
  185. #. type: Plain text
  186. #: guix-git/doc/contributing.texi:69
  187. 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."
  188. msgstr ""
  189. #. type: Plain text
  190. #: guix-git/doc/contributing.texi:74
  191. 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:"
  192. 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:"
  193. #. type: example
  194. #: guix-git/doc/contributing.texi:77
  195. #, no-wrap
  196. msgid "guix shell -D guix --pure\n"
  197. msgstr ""
  198. #. type: Plain text
  199. #: guix-git/doc/contributing.texi:80
  200. #, fuzzy
  201. #| msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  202. msgid "@xref{Invoking guix shell}, for more information on that command."
  203. msgstr "@xref{Invocando guix pack}, para mais informações sobre essa ferramenta útil."
  204. #. type: Plain text
  205. #: guix-git/doc/contributing.texi:84
  206. 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})."
  207. msgstr ""
  208. #. type: item
  209. #: guix-git/doc/contributing.texi:86
  210. #, no-wrap
  211. msgid "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  212. msgstr ""
  213. #. type: item
  214. #: guix-git/doc/contributing.texi:87
  215. #, no-wrap
  216. msgid "@url{https://gnu.org/software/automake/, GNU Automake};"
  217. msgstr ""
  218. #. type: item
  219. #: guix-git/doc/contributing.texi:88
  220. #, no-wrap
  221. msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  222. msgstr ""
  223. #. type: item
  224. #: guix-git/doc/contributing.texi:89
  225. #, no-wrap
  226. msgid "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  227. msgstr ""
  228. #. type: item
  229. #: guix-git/doc/contributing.texi:90
  230. #, no-wrap
  231. msgid "@url{https://www.graphviz.org/, Graphviz};"
  232. msgstr ""
  233. #. type: item
  234. #: guix-git/doc/contributing.texi:91
  235. #, no-wrap
  236. msgid "@url{https://www.gnu.org/software/help2man/, GNU Help2man (optional)}."
  237. msgstr ""
  238. #. type: Plain text
  239. #: guix-git/doc/contributing.texi:96
  240. msgid "On Guix, extra dependencies can be added by instead running @command{guix shell}:"
  241. msgstr ""
  242. #. type: example
  243. #: guix-git/doc/contributing.texi:99
  244. #, no-wrap
  245. msgid "guix shell -D guix help2man git strace --pure\n"
  246. msgstr ""
  247. #. type: Plain text
  248. #: guix-git/doc/contributing.texi:103
  249. #, fuzzy
  250. #| msgid "Run @command{./bootstrap} to generate the build system infrastructure using Autoconf and Automake. If you get an error like this one:"
  251. msgid "From there you can generate the build system infrastructure using Autoconf and Automake:"
  252. 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:"
  253. #. type: example
  254. #: guix-git/doc/contributing.texi:106
  255. #, fuzzy, no-wrap
  256. #| msgid "Bootstrapping"
  257. msgid "./bootstrap\n"
  258. msgstr "Inicializando"
  259. #. type: Plain text
  260. #: guix-git/doc/contributing.texi:109
  261. msgid "If you get an error like this one:"
  262. msgstr ""
  263. #. type: example
  264. #: guix-git/doc/contributing.texi:112
  265. #, no-wrap
  266. msgid "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  267. msgstr "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  268. #. type: Plain text
  269. #: guix-git/doc/contributing.texi:121
  270. 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:"
  271. 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:"
  272. #. type: example
  273. #: guix-git/doc/contributing.texi:124
  274. #, no-wrap
  275. msgid "export ACLOCAL_PATH=/usr/share/aclocal\n"
  276. msgstr "export ACLOCAL_PATH=/usr/share/aclocal\n"
  277. #. type: Plain text
  278. #: guix-git/doc/contributing.texi:128
  279. msgid "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information."
  280. msgstr "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, para mais informações."
  281. #. type: Plain text
  282. #: guix-git/doc/contributing.texi:130
  283. msgid "Then, run:"
  284. msgstr ""
  285. #. type: example
  286. #: guix-git/doc/contributing.texi:133
  287. #, fuzzy, no-wrap
  288. #| msgid "--localstatedir"
  289. msgid "./configure --localstatedir=/var\n"
  290. msgstr "--localstatedir"
  291. #. type: Plain text
  292. #: guix-git/doc/contributing.texi:140
  293. msgid "... where @file{/var} is the normal @code{localstatedir} value (@pxref{The Store}, for information about this). 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}."
  294. msgstr ""
  295. #. type: Plain text
  296. #: guix-git/doc/contributing.texi:143
  297. msgid "Finally, you can build Guix and, if you feel so inclined, run the tests (@pxref{Running the Test Suite}):"
  298. msgstr ""
  299. #. type: example
  300. #: guix-git/doc/contributing.texi:147
  301. #, fuzzy, no-wrap
  302. #| msgid "make check\n"
  303. msgid ""
  304. "make\n"
  305. "make check\n"
  306. msgstr "make check\n"
  307. #. type: Plain text
  308. #: guix-git/doc/contributing.texi:153
  309. #, fuzzy
  310. 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}."
  311. 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}."
  312. #. type: Plain text
  313. #: guix-git/doc/contributing.texi:156
  314. msgid "From there on, you can authenticate all the commits included in your checkout by running:"
  315. msgstr ""
  316. #. type: example
  317. #: guix-git/doc/contributing.texi:159
  318. #, no-wrap
  319. msgid "make authenticate\n"
  320. msgstr ""
  321. #. type: Plain text
  322. #: guix-git/doc/contributing.texi:162
  323. msgid "The first run takes a couple of minutes, but subsequent runs are faster."
  324. msgstr ""
  325. #. type: Plain text
  326. #: guix-git/doc/contributing.texi:168
  327. 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:"
  328. msgstr ""
  329. #. type: example
  330. #: guix-git/doc/contributing.texi:171
  331. #, no-wrap
  332. msgid "make authenticate GUIX_GIT_KEYRING=myremote/keyring\n"
  333. msgstr ""
  334. #. type: quotation
  335. #: guix-git/doc/contributing.texi:173 guix-git/doc/contributing.texi:1515
  336. #: guix-git/doc/guix.texi:605 guix-git/doc/guix.texi:654
  337. #: guix-git/doc/guix.texi:844 guix-git/doc/guix.texi:1830
  338. #: guix-git/doc/guix.texi:2093 guix-git/doc/guix.texi:2277
  339. #: guix-git/doc/guix.texi:2498 guix-git/doc/guix.texi:2710
  340. #: guix-git/doc/guix.texi:3841 guix-git/doc/guix.texi:4586
  341. #: guix-git/doc/guix.texi:4600 guix-git/doc/guix.texi:4682
  342. #: guix-git/doc/guix.texi:4912 guix-git/doc/guix.texi:5655
  343. #: guix-git/doc/guix.texi:6141 guix-git/doc/guix.texi:6398
  344. #: guix-git/doc/guix.texi:6519 guix-git/doc/guix.texi:6547
  345. #: guix-git/doc/guix.texi:6600 guix-git/doc/guix.texi:9685
  346. #: guix-git/doc/guix.texi:9809 guix-git/doc/guix.texi:9879
  347. #: guix-git/doc/guix.texi:11616 guix-git/doc/guix.texi:11656
  348. #: guix-git/doc/guix.texi:11930 guix-git/doc/guix.texi:11942
  349. #: guix-git/doc/guix.texi:14461 guix-git/doc/guix.texi:15092
  350. #: guix-git/doc/guix.texi:15999 guix-git/doc/guix.texi:16989
  351. #: guix-git/doc/guix.texi:19627 guix-git/doc/guix.texi:19797
  352. #: guix-git/doc/guix.texi:27621 guix-git/doc/guix.texi:31379
  353. #: guix-git/doc/guix.texi:35222 guix-git/doc/guix.texi:35456
  354. #: guix-git/doc/guix.texi:35626 guix-git/doc/guix.texi:35790
  355. #: guix-git/doc/guix.texi:35892 guix-git/doc/guix.texi:35931
  356. #: guix-git/doc/guix.texi:36005 guix-git/doc/guix.texi:36342
  357. #: guix-git/doc/guix.texi:37500 guix-git/doc/guix.texi:37575
  358. #: guix-git/doc/guix.texi:37610 guix-git/doc/guix.texi:37660
  359. #: guix-git/doc/guix.texi:37748 guix-git/doc/guix.texi:38237
  360. #, no-wrap
  361. msgid "Note"
  362. msgstr "Nota"
  363. #. type: quotation
  364. #: guix-git/doc/contributing.texi:177
  365. 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."
  366. msgstr ""
  367. #. type: Plain text
  368. #: guix-git/doc/contributing.texi:181
  369. msgid "After updating the repository, @command{make} might fail with an error similar to the following example:"
  370. msgstr ""
  371. #. type: example
  372. #: guix-git/doc/contributing.texi:185
  373. #, no-wrap
  374. msgid ""
  375. "error: failed to load 'gnu/packages/dunst.scm':\n"
  376. "ice-9/eval.scm:293:34: In procedure abi-check: #<record-type <origin>>: record ABI mismatch; recompilation needed\n"
  377. msgstr ""
  378. #. type: Plain text
  379. #: guix-git/doc/contributing.texi:191
  380. 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}."
  381. msgstr ""
  382. #. type: Plain text
  383. #: guix-git/doc/contributing.texi:199
  384. 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."
  385. 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''."
  386. #. type: Plain text
  387. #: guix-git/doc/contributing.texi:210
  388. 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):"
  389. msgstr ""
  390. #. type: example
  391. #: guix-git/doc/contributing.texi:213
  392. #, no-wrap
  393. msgid "$ ./pre-inst-env guix build hello\n"
  394. msgstr ""
  395. #. type: Plain text
  396. #: guix-git/doc/contributing.texi:217
  397. msgid "Similarly, an example for a Guile session using the Guix modules:"
  398. msgstr ""
  399. #. type: example
  400. #: guix-git/doc/contributing.texi:220
  401. #, no-wrap
  402. msgid ""
  403. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  404. "\n"
  405. msgstr ""
  406. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  407. "\n"
  408. #. type: example
  409. #: guix-git/doc/contributing.texi:222
  410. #, no-wrap
  411. msgid ";;; (\"x86_64-linux\")\n"
  412. msgstr ";;; (\"x86_64-linux\")\n"
  413. #. type: cindex
  414. #: guix-git/doc/contributing.texi:225
  415. #, no-wrap
  416. msgid "REPL"
  417. msgstr "REPL"
  418. #. type: cindex
  419. #: guix-git/doc/contributing.texi:226
  420. #, no-wrap
  421. msgid "read-eval-print loop"
  422. msgstr "read-eval-print loop"
  423. #. type: Plain text
  424. #: guix-git/doc/contributing.texi:229
  425. msgid "@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):"
  426. msgstr "@dots{} e para um REPL (@pxref{Usando o Guile interativamente,,, guile, Manual de referência do Guile}):"
  427. #. type: example
  428. #: guix-git/doc/contributing.texi:244
  429. #, no-wrap
  430. msgid ""
  431. "$ ./pre-inst-env guile\n"
  432. "scheme@@(guile-user)> ,use(guix)\n"
  433. "scheme@@(guile-user)> ,use(gnu)\n"
  434. "scheme@@(guile-user)> (define snakes\n"
  435. " (fold-packages\n"
  436. " (lambda (package lst)\n"
  437. " (if (string-prefix? \"python\"\n"
  438. " (package-name package))\n"
  439. " (cons package lst)\n"
  440. " lst))\n"
  441. " '()))\n"
  442. "scheme@@(guile-user)> (length snakes)\n"
  443. "$1 = 361\n"
  444. msgstr ""
  445. "$ ./pre-inst-env guile\n"
  446. "scheme@@(guile-user)> ,use(guix)\n"
  447. "scheme@@(guile-user)> ,use(gnu)\n"
  448. "scheme@@(guile-user)> (define snakes\n"
  449. " (fold-packages\n"
  450. " (lambda (package lst)\n"
  451. " (if (string-prefix? \"python\"\n"
  452. " (package-name package))\n"
  453. " (cons package lst)\n"
  454. " lst))\n"
  455. " '()))\n"
  456. "scheme@@(guile-user)> (length snakes)\n"
  457. "$1 = 361\n"
  458. #. type: Plain text
  459. #: guix-git/doc/contributing.texi:252
  460. 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.}:"
  461. msgstr ""
  462. #. type: example
  463. #: guix-git/doc/contributing.texi:255
  464. #, no-wrap
  465. msgid "$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n"
  466. msgstr ""
  467. #. type: Plain text
  468. #: guix-git/doc/contributing.texi:259
  469. 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}."
  470. 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}."
  471. #. type: Plain text
  472. #: guix-git/doc/contributing.texi:264
  473. 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."
  474. 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."
  475. #. type: Plain text
  476. #: guix-git/doc/contributing.texi:268
  477. msgid "Sometimes, especially if you have recently updated your repository, running @command{./pre-inst-env} will print a message similar to the following example:"
  478. msgstr ""
  479. #. type: example
  480. #: guix-git/doc/contributing.texi:272
  481. #, no-wrap
  482. msgid ""
  483. ";;; note: source file /home/user/projects/guix/guix/progress.scm\n"
  484. ";;; newer than compiled /home/user/projects/guix/guix/progress.go\n"
  485. msgstr ""
  486. #. type: Plain text
  487. #: guix-git/doc/contributing.texi:278
  488. 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."
  489. msgstr ""
  490. #. type: Plain text
  491. #: guix-git/doc/contributing.texi:283
  492. 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, you can run @samp{watchexec -w gnu/packages make -j4}."
  493. msgstr ""
  494. #. type: Plain text
  495. #: guix-git/doc/contributing.texi:292
  496. 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:"
  497. msgstr ""
  498. #. type: example
  499. #: guix-git/doc/contributing.texi:295
  500. #, fuzzy, no-wrap
  501. #| msgid "guix package -i emacs guile emacs-geiser\n"
  502. msgid "guix package -i emacs guile emacs-geiser emacs-geiser-guile\n"
  503. msgstr "guix package -i emacs guile emacs-geiser\n"
  504. #. type: Plain text
  505. #: guix-git/doc/contributing.texi:304
  506. 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:"
  507. 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:"
  508. #. type: lisp
  509. #: guix-git/doc/contributing.texi:309
  510. #, no-wrap
  511. msgid ""
  512. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  513. "(with-eval-after-load 'geiser-guile\n"
  514. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  515. msgstr ""
  516. ";; @r{Presumindo que o checkout do Guix está em ~/src/guix.}\n"
  517. "(with-eval-after-load 'geiser-guile\n"
  518. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  519. #. type: Plain text
  520. #: guix-git/doc/contributing.texi:317
  521. 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."
  522. msgstr ""
  523. #. type: cindex
  524. #: guix-git/doc/contributing.texi:318
  525. #, no-wrap
  526. msgid "code snippets"
  527. msgstr "trechos de código"
  528. #. type: cindex
  529. #: guix-git/doc/contributing.texi:319
  530. #, no-wrap
  531. msgid "templates"
  532. msgstr "modelos"
  533. #. type: cindex
  534. #: guix-git/doc/contributing.texi:320
  535. #, no-wrap
  536. msgid "reducing boilerplate"
  537. msgstr "reduzindo boilerplate"
  538. #. type: Plain text
  539. #: guix-git/doc/contributing.texi:327
  540. msgid "We also provide templates for common git commit messages and package definitions in the @file{etc/snippets} directory. These templates can be used with @url{https://joaotavora.github.io/yasnippet/, YASnippet} to expand short trigger strings to interactive text snippets. You may want to add the snippets directory to the @var{yas-snippet-dirs} variable in Emacs."
  541. msgstr ""
  542. #. type: lisp
  543. #: guix-git/doc/contributing.texi:332
  544. #, no-wrap
  545. msgid ""
  546. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  547. "(with-eval-after-load 'yasnippet\n"
  548. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  549. msgstr ""
  550. ";; @r{Presumindo que o checkout do Guix está em ~/src/guix.}\n"
  551. "(with-eval-after-load 'yasnippet\n"
  552. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  553. #. type: Plain text
  554. #: guix-git/doc/contributing.texi:340
  555. 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."
  556. 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."
  557. #. type: Plain text
  558. #: guix-git/doc/contributing.texi:346
  559. 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."
  560. 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."
  561. #. type: cindex
  562. #: guix-git/doc/contributing.texi:347
  563. #, no-wrap
  564. msgid "insert or update copyright"
  565. msgstr ""
  566. #. type: code{#1}
  567. #: guix-git/doc/contributing.texi:348
  568. #, no-wrap
  569. msgid "M-x guix-copyright"
  570. msgstr ""
  571. #. type: code{#1}
  572. #: guix-git/doc/contributing.texi:349
  573. #, no-wrap
  574. msgid "M-x copyright-update"
  575. msgstr ""
  576. #. type: Plain text
  577. #: guix-git/doc/contributing.texi:353
  578. 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."
  579. msgstr ""
  580. #. type: lisp
  581. #: guix-git/doc/contributing.texi:359
  582. #, no-wrap
  583. msgid ""
  584. "(setq user-full-name \"Alice Doe\")\n"
  585. "(setq user-mail-address \"alice@@mail.org\")\n"
  586. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  587. "(load-file \"~/src/guix/etc/copyright.el\")\n"
  588. msgstr ""
  589. #. type: Plain text
  590. #: guix-git/doc/contributing.texi:362
  591. msgid "To insert a copyright at the current line invoke @code{M-x guix-copyright}."
  592. msgstr ""
  593. #. type: Plain text
  594. #: guix-git/doc/contributing.texi:364
  595. msgid "To update a copyright you need to specify a @code{copyright-names-regexp}."
  596. msgstr ""
  597. #. type: lisp
  598. #: guix-git/doc/contributing.texi:368
  599. #, no-wrap
  600. msgid ""
  601. "(setq copyright-names-regexp\n"
  602. " (format \"%s <%s>\" user-full-name user-mail-address))\n"
  603. msgstr ""
  604. #. type: Plain text
  605. #: guix-git/doc/contributing.texi:374
  606. 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."
  607. msgstr ""
  608. #. type: cindex
  609. #: guix-git/doc/contributing.texi:378
  610. #, no-wrap
  611. msgid "packages, creating"
  612. msgstr "pacotes, criação"
  613. #. type: Plain text
  614. #: guix-git/doc/contributing.texi:382
  615. 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."
  616. 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."
  617. #. type: Plain text
  618. #: guix-git/doc/contributing.texi:390
  619. 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."
  620. 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."
  621. #. type: Plain text
  622. #: guix-git/doc/contributing.texi:399
  623. 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}."
  624. 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}."
  625. #. type: Plain text
  626. #: guix-git/doc/contributing.texi:405
  627. 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}):"
  628. 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}):"
  629. #. type: example
  630. #: guix-git/doc/contributing.texi:408
  631. #, no-wrap
  632. msgid "./pre-inst-env guix build gnew --keep-failed\n"
  633. msgstr "./pre-inst-env guix build gnew --keep-failed\n"
  634. #. type: Plain text
  635. #: guix-git/doc/contributing.texi:414
  636. 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."
  637. 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."
  638. #. type: Plain text
  639. #: guix-git/doc/contributing.texi:419
  640. 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:"
  641. 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:"
  642. #. type: example
  643. #: guix-git/doc/contributing.texi:422
  644. #, no-wrap
  645. msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  646. msgstr "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  647. #. type: Plain text
  648. #: guix-git/doc/contributing.texi:429
  649. 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}."
  650. msgstr ""
  651. #. type: cindex
  652. #: guix-git/doc/contributing.texi:430
  653. #, no-wrap
  654. msgid "substituter"
  655. msgstr "substituidor"
  656. #. type: Plain text
  657. #: guix-git/doc/contributing.texi:437
  658. #, fuzzy
  659. #| 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."
  660. 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."
  661. 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."
  662. #. type: subsection
  663. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:453
  664. #: guix-git/doc/contributing.texi:454
  665. #, no-wrap
  666. msgid "Software Freedom"
  667. msgstr "Liberdade de software"
  668. #. type: menuentry
  669. #: guix-git/doc/contributing.texi:451
  670. msgid "What may go into the distribution."
  671. msgstr "O que pode ir na distribuição."
  672. #. type: subsection
  673. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:481
  674. #: guix-git/doc/contributing.texi:482
  675. #, no-wrap
  676. msgid "Package Naming"
  677. msgstr "Nomeando um pacote"
  678. #. type: menuentry
  679. #: guix-git/doc/contributing.texi:451
  680. msgid "What's in a name?"
  681. msgstr "Que há em um nome?"
  682. #. type: subsection
  683. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:514
  684. #: guix-git/doc/contributing.texi:515
  685. #, no-wrap
  686. msgid "Version Numbers"
  687. msgstr "Números de versão"
  688. #. type: menuentry
  689. #: guix-git/doc/contributing.texi:451
  690. msgid "When the name is not enough."
  691. msgstr "Quando o nome não é suficiente."
  692. #. type: subsection
  693. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:621
  694. #: guix-git/doc/contributing.texi:622
  695. #, no-wrap
  696. msgid "Synopses and Descriptions"
  697. msgstr "Sinopses e descrições"
  698. #. type: menuentry
  699. #: guix-git/doc/contributing.texi:451
  700. msgid "Helping users find the right package."
  701. msgstr "Ajudando usuários a localizar o pacote certo."
  702. #. type: subsection
  703. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:700
  704. #: guix-git/doc/contributing.texi:701
  705. #, no-wrap
  706. msgid "Snippets versus Phases"
  707. msgstr ""
  708. #. type: menuentry
  709. #: guix-git/doc/contributing.texi:451
  710. msgid "Whether to use a snippet, or a build phase."
  711. msgstr ""
  712. #. type: subsection
  713. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:715
  714. #: guix-git/doc/contributing.texi:716 guix-git/doc/guix.texi:2028
  715. #, no-wrap
  716. msgid "Emacs Packages"
  717. msgstr ""
  718. #. type: menuentry
  719. #: guix-git/doc/contributing.texi:451
  720. msgid "Your Elisp fix."
  721. msgstr ""
  722. #. type: subsection
  723. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:755
  724. #: guix-git/doc/contributing.texi:756
  725. #, no-wrap
  726. msgid "Python Modules"
  727. msgstr "Módulos Python"
  728. #. type: menuentry
  729. #: guix-git/doc/contributing.texi:451
  730. msgid "A touch of British comedy."
  731. msgstr "Um toque de comédia britânica."
  732. #. type: subsection
  733. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:831
  734. #: guix-git/doc/contributing.texi:832
  735. #, no-wrap
  736. msgid "Perl Modules"
  737. msgstr "Módulos Perl"
  738. #. type: menuentry
  739. #: guix-git/doc/contributing.texi:451
  740. msgid "Little pearls."
  741. msgstr "Pequenas pérolas."
  742. #. type: subsection
  743. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:847
  744. #: guix-git/doc/contributing.texi:848
  745. #, no-wrap
  746. msgid "Java Packages"
  747. msgstr "Pacotes Java"
  748. #. type: menuentry
  749. #: guix-git/doc/contributing.texi:451
  750. msgid "Coffee break."
  751. msgstr "Parada para o café."
  752. #. type: subsection
  753. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:867
  754. #: guix-git/doc/contributing.texi:868
  755. #, no-wrap
  756. msgid "Rust Crates"
  757. msgstr ""
  758. #. type: menuentry
  759. #: guix-git/doc/contributing.texi:451
  760. msgid "Beware of oxidation."
  761. msgstr ""
  762. #. type: subsection
  763. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:901
  764. #: guix-git/doc/contributing.texi:902
  765. #, no-wrap
  766. msgid "Fonts"
  767. msgstr "Fontes"
  768. #. type: menuentry
  769. #: guix-git/doc/contributing.texi:451
  770. msgid "Fond of fonts."
  771. msgstr "Vício em fontes."
  772. #. type: cindex
  773. #: guix-git/doc/contributing.texi:457
  774. #, no-wrap
  775. msgid "free software"
  776. msgstr "software livre"
  777. #. type: Plain text
  778. #: guix-git/doc/contributing.texi:465
  779. 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."
  780. msgstr ""
  781. #. type: Plain text
  782. #: guix-git/doc/contributing.texi:471
  783. 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."
  784. msgstr ""
  785. #. type: Plain text
  786. #: guix-git/doc/contributing.texi:479
  787. 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."
  788. 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."
  789. #. type: cindex
  790. #: guix-git/doc/contributing.texi:484
  791. #, no-wrap
  792. msgid "package name"
  793. msgstr "nome de pacote"
  794. #. type: Plain text
  795. #: guix-git/doc/contributing.texi:492
  796. #, fuzzy
  797. 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}."
  798. 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}."
  799. #. type: Plain text
  800. #: guix-git/doc/contributing.texi:497
  801. 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}."
  802. 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}."
  803. #. type: Plain text
  804. #: guix-git/doc/contributing.texi:505
  805. 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."
  806. msgstr ""
  807. #. type: Plain text
  808. #: guix-git/doc/contributing.texi:510
  809. 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."
  810. 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."
  811. #. type: Plain text
  812. #: guix-git/doc/contributing.texi:512
  813. msgid "Font package names are handled differently, @pxref{Fonts}."
  814. msgstr "Nomes de pacote de fontes são lidados de forma diferente. @xref{Fontes}."
  815. #. type: cindex
  816. #: guix-git/doc/contributing.texi:517
  817. #, no-wrap
  818. msgid "package version"
  819. msgstr "versão de pacote"
  820. #. type: Plain text
  821. #: guix-git/doc/contributing.texi:526
  822. 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."
  823. 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."
  824. #. type: Plain text
  825. #: guix-git/doc/contributing.texi:529
  826. msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number."
  827. 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."
  828. #. type: Plain text
  829. #: guix-git/doc/contributing.texi:531
  830. msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:"
  831. msgstr "Por exemplo, as versões 2.24.20 e 3.9.12 do GTK podem ser empacotados da seguinte forma:"
  832. #. type: lisp
  833. #: guix-git/doc/contributing.texi:543
  834. #, no-wrap
  835. msgid ""
  836. "(define-public gtk+\n"
  837. " (package\n"
  838. " (name \"gtk+\")\n"
  839. " (version \"3.9.12\")\n"
  840. " ...))\n"
  841. "(define-public gtk+-2\n"
  842. " (package\n"
  843. " (name \"gtk+\")\n"
  844. " (version \"2.24.20\")\n"
  845. " ...))\n"
  846. msgstr ""
  847. "(define-public gtk+\n"
  848. " (package\n"
  849. " (name \"gtk+\")\n"
  850. " (version \"3.9.12\")\n"
  851. " ...))\n"
  852. "(define-public gtk+-2\n"
  853. " (package\n"
  854. " (name \"gtk+\")\n"
  855. " (version \"2.24.20\")\n"
  856. " ...))\n"
  857. #. type: Plain text
  858. #: guix-git/doc/contributing.texi:545
  859. msgid "If we also wanted GTK+ 3.8.2, this would be packaged as"
  860. msgstr "Se também quiséssemos GTK 3.8.2, este seria empacotado como"
  861. #. type: lisp
  862. #: guix-git/doc/contributing.texi:551
  863. #, no-wrap
  864. msgid ""
  865. "(define-public gtk+-3.8\n"
  866. " (package\n"
  867. " (name \"gtk+\")\n"
  868. " (version \"3.8.2\")\n"
  869. " ...))\n"
  870. msgstr ""
  871. "(define-public gtk+-3.8\n"
  872. " (package\n"
  873. " (name \"gtk+\")\n"
  874. " (version \"3.8.2\")\n"
  875. " ...))\n"
  876. #. type: cindex
  877. #: guix-git/doc/contributing.texi:555
  878. #, no-wrap
  879. msgid "version number, for VCS snapshots"
  880. msgstr "número de versão, para snapshots de VCS"
  881. #. type: Plain text
  882. #: guix-git/doc/contributing.texi:561
  883. 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?"
  884. 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}?"
  885. #. type: Plain text
  886. #: guix-git/doc/contributing.texi:569
  887. 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:"
  888. 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:"
  889. #. type: example
  890. #: guix-git/doc/contributing.texi:578
  891. #, no-wrap
  892. msgid ""
  893. "2.0.11-3.cabba9e\n"
  894. " ^ ^ ^\n"
  895. " | | `-- upstream commit ID\n"
  896. " | |\n"
  897. " | `--- Guix package revision\n"
  898. " |\n"
  899. "latest upstream version\n"
  900. msgstr ""
  901. "2.0.11-3.cabba9e\n"
  902. " ^ ^ ^\n"
  903. " | | `-- ID do commit do upstream\n"
  904. " | |\n"
  905. " | `--- revisão do pacote do Guix\n"
  906. " |\n"
  907. "versão mais recente do upstream\n"
  908. #. type: Plain text
  909. #: guix-git/doc/contributing.texi:588
  910. 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:"
  911. msgstr ""
  912. #. type: lisp
  913. #: guix-git/doc/contributing.texi:605
  914. #, no-wrap
  915. msgid ""
  916. "(define my-package\n"
  917. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  918. " (revision \"1\")) ;Guix package revision\n"
  919. " (package\n"
  920. " (version (git-version \"0.9\" revision commit))\n"
  921. " (source (origin\n"
  922. " (method git-fetch)\n"
  923. " (uri (git-reference\n"
  924. " (url \"git://example.org/my-package.git\")\n"
  925. " (commit commit)))\n"
  926. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  927. " (file-name (git-file-name name version))))\n"
  928. " ;; @dots{}\n"
  929. " )))\n"
  930. msgstr ""
  931. "(define meu-pacote\n"
  932. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  933. " (revision \"1\")) ;revisão do pacote do Guix\n"
  934. " (package\n"
  935. " (version (git-version \"0.9\" revision commit))\n"
  936. " (source (origin\n"
  937. " (method git-fetch)\n"
  938. " (uri (git-reference\n"
  939. " (url \"git://example.org/meu-pacote.git\")\n"
  940. " (commit commit)))\n"
  941. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  942. " (file-name (git-file-name name version))))\n"
  943. " ;; @dots{}\n"
  944. " )))\n"
  945. #. type: deffn
  946. #: guix-git/doc/contributing.texi:607
  947. #, no-wrap
  948. msgid "{Scheme Procedure} git-version @var{VERSION} @var{REVISION} @var{COMMIT}"
  949. msgstr ""
  950. #. type: deffn
  951. #: guix-git/doc/contributing.texi:609
  952. msgid "Return the version string for packages using @code{git-fetch}."
  953. msgstr ""
  954. #. type: lisp
  955. #: guix-git/doc/contributing.texi:613
  956. #, no-wrap
  957. msgid ""
  958. "(git-version \"0.2.3\" \"0\" \"93818c936ee7e2f1ba1b315578bde363a7d43d05\")\n"
  959. "@result{} \"0.2.3-0.93818c9\"\n"
  960. msgstr ""
  961. #. type: deffn
  962. #: guix-git/doc/contributing.texi:616
  963. #, no-wrap
  964. msgid "{Scheme Procedure} hg-version @var{VERSION} @var{REVISION} @var{CHANGESET}"
  965. msgstr ""
  966. #. type: deffn
  967. #: guix-git/doc/contributing.texi:619
  968. msgid "Return the version string for packages using @code{hg-fetch}. It works in the same way as @code{git-version}."
  969. msgstr ""
  970. #. type: cindex
  971. #: guix-git/doc/contributing.texi:624
  972. #, no-wrap
  973. msgid "package description"
  974. msgstr "descrição do pacote"
  975. #. type: cindex
  976. #: guix-git/doc/contributing.texi:625
  977. #, no-wrap
  978. msgid "package synopsis"
  979. msgstr "sinopse do pacote"
  980. #. type: Plain text
  981. #: guix-git/doc/contributing.texi:632
  982. 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."
  983. 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."
  984. #. type: Plain text
  985. #: guix-git/doc/contributing.texi:640
  986. 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''."
  987. 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''."
  988. #. type: Plain text
  989. #: guix-git/doc/contributing.texi:650
  990. 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."
  991. 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."
  992. #. type: Plain text
  993. #: guix-git/doc/contributing.texi:658
  994. 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."
  995. 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."
  996. #. type: cindex
  997. #: guix-git/doc/contributing.texi:659
  998. #, no-wrap
  999. msgid "Texinfo markup, in package descriptions"
  1000. msgstr "Marcação Texinfo, em descrições de pacote"
  1001. #. type: Plain text
  1002. #: guix-git/doc/contributing.texi:668
  1003. 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."
  1004. 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."
  1005. #. type: Plain text
  1006. #: guix-git/doc/contributing.texi:674
  1007. 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."
  1008. msgstr ""
  1009. #. type: Plain text
  1010. #: guix-git/doc/contributing.texi:679
  1011. 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:"
  1012. 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:"
  1013. #. type: lisp
  1014. #: guix-git/doc/contributing.texi:685
  1015. #, no-wrap
  1016. msgid ""
  1017. "(package\n"
  1018. " ;; @dots{}\n"
  1019. " (synopsis \"This is translatable\")\n"
  1020. " (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n"
  1021. msgstr ""
  1022. "(package\n"
  1023. " ;; @dots{}\n"
  1024. " (synopsis \"Isso é traduzível\")\n"
  1025. " (description (string-append \"Isso \" \"*não*\" \" é traduzível.\")))\n"
  1026. #. type: Plain text
  1027. #: guix-git/doc/contributing.texi:693
  1028. 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}):"
  1029. 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}):"
  1030. #. type: lisp
  1031. #: guix-git/doc/contributing.texi:698
  1032. #, no-wrap
  1033. msgid ""
  1034. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  1035. "(description \"ARandR is designed to provide a simple visual front end\n"
  1036. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  1037. msgstr ""
  1038. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  1039. "(description \"ARandR is designed to provide a simple visual front end\n"
  1040. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  1041. #. type: cindex
  1042. #: guix-git/doc/contributing.texi:703
  1043. #, no-wrap
  1044. msgid "snippets, when to use"
  1045. msgstr ""
  1046. #. type: Plain text
  1047. #: guix-git/doc/contributing.texi:714
  1048. 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})."
  1049. msgstr ""
  1050. #. type: cindex
  1051. #: guix-git/doc/contributing.texi:718
  1052. #, no-wrap
  1053. msgid "emacs, packaging"
  1054. msgstr ""
  1055. #. type: cindex
  1056. #: guix-git/doc/contributing.texi:719
  1057. #, no-wrap
  1058. msgid "elisp, packaging"
  1059. msgstr ""
  1060. #. type: Plain text
  1061. #: guix-git/doc/contributing.texi:731
  1062. 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."
  1063. msgstr ""
  1064. #. type: Plain text
  1065. #: guix-git/doc/contributing.texi:736
  1066. 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}."
  1067. msgstr ""
  1068. #. type: Plain text
  1069. #: guix-git/doc/contributing.texi:745
  1070. 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:"
  1071. msgstr ""
  1072. #. type: lisp
  1073. #: guix-git/doc/contributing.texi:748
  1074. #, no-wrap
  1075. msgid "#:include (cons \"^snippets/\" %default-include)\n"
  1076. msgstr ""
  1077. #. type: Plain text
  1078. #: guix-git/doc/contributing.texi:754
  1079. 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."
  1080. msgstr ""
  1081. #. type: cindex
  1082. #: guix-git/doc/contributing.texi:758
  1083. #, no-wrap
  1084. msgid "python"
  1085. msgstr "python"
  1086. #. type: Plain text
  1087. #: guix-git/doc/contributing.texi:764
  1088. 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}."
  1089. 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}."
  1090. #. type: Plain text
  1091. #: guix-git/doc/contributing.texi:771
  1092. 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}. Packages should be added when they are necessary; we don't add Python 2 variants of the package unless we are going to use them."
  1093. msgstr ""
  1094. #. type: Plain text
  1095. #: guix-git/doc/contributing.texi:777
  1096. 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."
  1097. 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."
  1098. #. type: subsubsection
  1099. #: guix-git/doc/contributing.texi:778
  1100. #, no-wrap
  1101. msgid "Specifying Dependencies"
  1102. msgstr "Especificando dependências"
  1103. #. type: cindex
  1104. #: guix-git/doc/contributing.texi:779
  1105. #, no-wrap
  1106. msgid "inputs, for Python packages"
  1107. msgstr "entradas, para pacotes Python"
  1108. #. type: Plain text
  1109. #: guix-git/doc/contributing.texi:784
  1110. 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}."
  1111. 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}."
  1112. #. type: Plain text
  1113. #: guix-git/doc/contributing.texi:790
  1114. 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."
  1115. 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."
  1116. #. type: itemize
  1117. #: guix-git/doc/contributing.texi:798
  1118. 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."
  1119. 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."
  1120. #. type: itemize
  1121. #: guix-git/doc/contributing.texi:804
  1122. 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."
  1123. 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}."
  1124. #. type: itemize
  1125. #: guix-git/doc/contributing.texi:812
  1126. 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."
  1127. 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."
  1128. #. type: itemize
  1129. #: guix-git/doc/contributing.texi:816
  1130. 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}."
  1131. 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}."
  1132. #. type: itemize
  1133. #: guix-git/doc/contributing.texi:821
  1134. 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."
  1135. 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."
  1136. #. type: itemize
  1137. #: guix-git/doc/contributing.texi:827
  1138. 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}})."
  1139. 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}})."
  1140. #. type: cindex
  1141. #: guix-git/doc/contributing.texi:834
  1142. #, no-wrap
  1143. msgid "perl"
  1144. msgstr "perl"
  1145. #. type: Plain text
  1146. #: guix-git/doc/contributing.texi:845
  1147. 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}."
  1148. 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}."
  1149. #. type: cindex
  1150. #: guix-git/doc/contributing.texi:850
  1151. #, no-wrap
  1152. msgid "java"
  1153. msgstr "java"
  1154. #. type: Plain text
  1155. #: guix-git/doc/contributing.texi:853
  1156. msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name."
  1157. msgstr "Os programas Java próprios são nomeados como qualquer outro pacote, usando o nome do upstream em letras minúsculas."
  1158. #. type: Plain text
  1159. #: guix-git/doc/contributing.texi:859
  1160. 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}."
  1161. 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}."
  1162. #. type: Plain text
  1163. #: guix-git/doc/contributing.texi:865
  1164. 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}."
  1165. 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}."
  1166. #. type: cindex
  1167. #: guix-git/doc/contributing.texi:870
  1168. #, no-wrap
  1169. msgid "rust"
  1170. msgstr ""
  1171. #. type: Plain text
  1172. #: guix-git/doc/contributing.texi:873
  1173. msgid "Rust programs standing for themselves are named as any other package, using the lowercase upstream name."
  1174. msgstr ""
  1175. #. type: Plain text
  1176. #: guix-git/doc/contributing.texi:877
  1177. 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."
  1178. msgstr ""
  1179. #. type: Plain text
  1180. #: guix-git/doc/contributing.texi:883
  1181. 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}."
  1182. msgstr ""
  1183. #. type: Plain text
  1184. #: guix-git/doc/contributing.texi:893
  1185. 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."
  1186. msgstr ""
  1187. #. type: Plain text
  1188. #: guix-git/doc/contributing.texi:899
  1189. 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."
  1190. msgstr ""
  1191. #. type: cindex
  1192. #: guix-git/doc/contributing.texi:904 guix-git/doc/guix.texi:1963
  1193. #, no-wrap
  1194. msgid "fonts"
  1195. msgstr "fontes"
  1196. #. type: Plain text
  1197. #: guix-git/doc/contributing.texi:910
  1198. 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."
  1199. 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."
  1200. #. type: Plain text
  1201. #: guix-git/doc/contributing.texi:914
  1202. 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."
  1203. 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."
  1204. #. type: Plain text
  1205. #: guix-git/doc/contributing.texi:922
  1206. 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}."
  1207. 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}."
  1208. #. type: Plain text
  1209. #: guix-git/doc/contributing.texi:931
  1210. 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}."
  1211. 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}."
  1212. #. type: Plain text
  1213. #: guix-git/doc/contributing.texi:937
  1214. 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."
  1215. 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."
  1216. #. type: Plain text
  1217. #: guix-git/doc/contributing.texi:945
  1218. 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."
  1219. 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."
  1220. #. type: subsection
  1221. #: guix-git/doc/contributing.texi:951 guix-git/doc/contributing.texi:953
  1222. #: guix-git/doc/contributing.texi:954
  1223. #, no-wrap
  1224. msgid "Programming Paradigm"
  1225. msgstr "Paradigma de programação"
  1226. #. type: menuentry
  1227. #: guix-git/doc/contributing.texi:951
  1228. msgid "How to compose your elements."
  1229. msgstr "Como compor seus elementos."
  1230. #. type: subsection
  1231. #: guix-git/doc/contributing.texi:951 guix-git/doc/contributing.texi:960
  1232. #: guix-git/doc/contributing.texi:961
  1233. #, no-wrap
  1234. msgid "Modules"
  1235. msgstr "Módulos"
  1236. #. type: menuentry
  1237. #: guix-git/doc/contributing.texi:951
  1238. msgid "Where to store your code?"
  1239. msgstr "Onde armazenar seu código?"
  1240. #. type: subsection
  1241. #: guix-git/doc/contributing.texi:951 guix-git/doc/contributing.texi:971
  1242. #: guix-git/doc/contributing.texi:972
  1243. #, no-wrap
  1244. msgid "Data Types and Pattern Matching"
  1245. msgstr "Tipos de dados e correspondência de padrão"
  1246. #. type: menuentry
  1247. #: guix-git/doc/contributing.texi:951
  1248. msgid "Implementing data structures."
  1249. msgstr "Implementação de estruturas de dados."
  1250. #. type: subsection
  1251. #: guix-git/doc/contributing.texi:951 guix-git/doc/contributing.texi:986
  1252. #: guix-git/doc/contributing.texi:987
  1253. #, no-wrap
  1254. msgid "Formatting Code"
  1255. msgstr "Formatação de código"
  1256. #. type: menuentry
  1257. #: guix-git/doc/contributing.texi:951
  1258. msgid "Writing conventions."
  1259. msgstr "Convenções de escrita."
  1260. #. type: Plain text
  1261. #: guix-git/doc/contributing.texi:959
  1262. 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."
  1263. 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}."
  1264. #. type: Plain text
  1265. #: guix-git/doc/contributing.texi:967
  1266. 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."
  1267. 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."
  1268. #. type: Plain text
  1269. #: guix-git/doc/contributing.texi:970
  1270. msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}."
  1271. 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{})}."
  1272. #. type: Plain text
  1273. #: guix-git/doc/contributing.texi:979
  1274. 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."
  1275. 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."
  1276. #. type: Plain text
  1277. #: guix-git/doc/contributing.texi:985
  1278. 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})."
  1279. msgstr ""
  1280. #. type: cindex
  1281. #: guix-git/doc/contributing.texi:989
  1282. #, no-wrap
  1283. msgid "formatting code"
  1284. msgstr "formatação de código"
  1285. #. type: cindex
  1286. #: guix-git/doc/contributing.texi:990
  1287. #, no-wrap
  1288. msgid "coding style"
  1289. msgstr "estilo de codificação"
  1290. #. type: Plain text
  1291. #: guix-git/doc/contributing.texi:997
  1292. 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."
  1293. msgstr ""
  1294. #. type: Plain text
  1295. #: guix-git/doc/contributing.texi:1004
  1296. 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})."
  1297. 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})."
  1298. #. type: cindex
  1299. #: guix-git/doc/contributing.texi:1005
  1300. #, no-wrap
  1301. msgid "indentation, of code"
  1302. msgstr "recuo, de código"
  1303. #. type: cindex
  1304. #: guix-git/doc/contributing.texi:1006
  1305. #, no-wrap
  1306. msgid "formatting, of code"
  1307. msgstr "formatação, de código"
  1308. #. type: Plain text
  1309. #: guix-git/doc/contributing.texi:1009
  1310. 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:"
  1311. 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:"
  1312. #. type: example
  1313. #: guix-git/doc/contributing.texi:1012
  1314. #, fuzzy, no-wrap
  1315. #| msgid "./pre-inst-env guix build gnew --keep-failed\n"
  1316. msgid "./pre-inst-env guix style @var{package}\n"
  1317. msgstr "./pre-inst-env guix build gnew --keep-failed\n"
  1318. #. type: Plain text
  1319. #: guix-git/doc/contributing.texi:1016
  1320. #, fuzzy
  1321. #| msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  1322. msgid "@xref{Invoking guix style}, for more information."
  1323. msgstr "@xref{Invocando guix pack}, para mais informações sobre essa ferramenta útil."
  1324. #. type: cindex
  1325. #: guix-git/doc/contributing.texi:1017
  1326. #, no-wrap
  1327. msgid "Vim, Scheme code editing"
  1328. msgstr "Vim, edição de código Scheme"
  1329. #. type: Plain text
  1330. #: guix-git/doc/contributing.texi:1023
  1331. 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."
  1332. 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."
  1333. #. type: Plain text
  1334. #: guix-git/doc/contributing.texi:1027
  1335. 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."
  1336. 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{})}."
  1337. #. type: Plain text
  1338. #: guix-git/doc/contributing.texi:1030
  1339. msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters."
  1340. 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."
  1341. #. type: Plain text
  1342. #: guix-git/doc/contributing.texi:1044
  1343. 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,, 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})."
  1344. msgstr ""
  1345. #. type: Plain text
  1346. #: guix-git/doc/contributing.texi:1051
  1347. 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{NNN}@@debbugs.gnu.org}, where @var{NNN} is the tracking number (@pxref{Sending a Patch Series})."
  1348. msgstr ""
  1349. #. type: Plain text
  1350. #: guix-git/doc/contributing.texi:1055
  1351. msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples."
  1352. 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."
  1353. #. type: Plain text
  1354. #: guix-git/doc/contributing.texi:1058
  1355. msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:"
  1356. msgstr "Antes de enviar um patch que adicione ou modifique uma definição de pacote, execute esta lista de verificação:"
  1357. #. type: code{#1}
  1358. #: guix-git/doc/contributing.texi:1060 guix-git/doc/contributing.texi:1270
  1359. #, no-wrap
  1360. msgid "git format-patch"
  1361. msgstr ""
  1362. #. type: code{#1}
  1363. #: guix-git/doc/contributing.texi:1061
  1364. #, no-wrap
  1365. msgid "git-format-patch"
  1366. msgstr ""
  1367. #. type: enumerate
  1368. #: guix-git/doc/contributing.texi:1068
  1369. msgid "When generating your patches with @code{git format-patch} or @code{git send-email}, we recommend using the option @code{--base=}, perhaps with the value @code{auto}. This option adds a note to the patch stating which commit the patch is based on. This helps reviewers understand how to apply and review your patches."
  1370. msgstr ""
  1371. #. type: enumerate
  1372. #: guix-git/doc/contributing.texi:1074
  1373. 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."
  1374. 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}."
  1375. #. type: enumerate
  1376. #: guix-git/doc/contributing.texi:1078
  1377. msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines."
  1378. msgstr "Reserve algum tempo para fornecer uma sinopse e descrição adequadas para o pacote. @xref{Sinopses e descrições}, para algumas diretrizes."
  1379. #. type: enumerate
  1380. #: guix-git/doc/contributing.texi:1083
  1381. 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})."
  1382. 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})."
  1383. #. type: enumerate
  1384. #: guix-git/doc/contributing.texi:1087
  1385. #, fuzzy
  1386. #| 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})."
  1387. msgid "Run @code{guix style @var{package}} to format the new package definition according to the project's conventions (@pxref{Invoking guix style})."
  1388. 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})."
  1389. #. type: enumerate
  1390. #: guix-git/doc/contributing.texi:1091
  1391. msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}."
  1392. msgstr "Certifique-se de que o pacote compila em sua plataforma, usando @code{guix build @var{pacote}}."
  1393. #. type: enumerate
  1394. #: guix-git/doc/contributing.texi:1099
  1395. #, fuzzy
  1396. #| 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:"
  1397. 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:"
  1398. 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}:"
  1399. #. type: lisp
  1400. #: guix-git/doc/contributing.texi:1104
  1401. #, no-wrap
  1402. msgid ""
  1403. "(service qemu-binfmt-service-type\n"
  1404. " (qemu-binfmt-configuration\n"
  1405. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  1406. msgstr ""
  1407. #. type: enumerate
  1408. #: guix-git/doc/contributing.texi:1107
  1409. msgid "Then reconfigure your system."
  1410. msgstr "Então, reconfigure seu sistema."
  1411. #. type: enumerate
  1412. #: guix-git/doc/contributing.texi:1112
  1413. #, fuzzy
  1414. #| 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:"
  1415. 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:"
  1416. 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:"
  1417. #. type: example
  1418. #: guix-git/doc/contributing.texi:1115
  1419. #, no-wrap
  1420. msgid ""
  1421. "guix build --system=armhf-linux --rounds=2 hello\n"
  1422. "guix build --system=aarch64-linux --rounds=2 hello\n"
  1423. msgstr ""
  1424. #. type: cindex
  1425. #: guix-git/doc/contributing.texi:1118
  1426. #, no-wrap
  1427. msgid "bundling"
  1428. msgstr "incorporando"
  1429. #. type: enumerate
  1430. #: guix-git/doc/contributing.texi:1121
  1431. msgid "Make sure the package does not use bundled copies of software already available as separate packages."
  1432. msgstr "Verifique se o pacote não usa cópias de software já disponíveis como pacotes separados."
  1433. #. type: enumerate
  1434. #: guix-git/doc/contributing.texi:1130
  1435. 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."
  1436. 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."
  1437. #. type: enumerate
  1438. #: guix-git/doc/contributing.texi:1139
  1439. 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."
  1440. msgstr ""
  1441. #. type: enumerate
  1442. #: guix-git/doc/contributing.texi:1144
  1443. #, fuzzy
  1444. #| 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})."
  1445. 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})."
  1446. 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})."
  1447. #. type: cindex
  1448. #: guix-git/doc/contributing.texi:1146
  1449. #, no-wrap
  1450. msgid "branching strategy"
  1451. msgstr "estratégia de ramificação"
  1452. #. type: cindex
  1453. #: guix-git/doc/contributing.texi:1147
  1454. #, no-wrap
  1455. msgid "rebuild scheduling strategy"
  1456. msgstr "estratégia de agendamento de recompilação"
  1457. #. type: enumerate
  1458. #: guix-git/doc/contributing.texi:1150
  1459. msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:"
  1460. 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:"
  1461. #. type: item
  1462. #: guix-git/doc/contributing.texi:1152
  1463. #, no-wrap
  1464. msgid "300 dependent packages or less"
  1465. msgstr "300 pacotes dependentes ou menos"
  1466. #. type: table
  1467. #: guix-git/doc/contributing.texi:1154
  1468. msgid "@code{master} branch (non-disruptive changes)."
  1469. msgstr "Ramo @code{master} (alterações não disruptivas)."
  1470. #. type: item
  1471. #: guix-git/doc/contributing.texi:1155
  1472. #, no-wrap
  1473. msgid "between 300 and 1,800 dependent packages"
  1474. msgstr ""
  1475. #. type: table
  1476. #: guix-git/doc/contributing.texi:1161
  1477. 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."
  1478. msgstr ""
  1479. #. type: item
  1480. #: guix-git/doc/contributing.texi:1162
  1481. #, no-wrap
  1482. msgid "more than 1,800 dependent packages"
  1483. msgstr ""
  1484. #. type: table
  1485. #: guix-git/doc/contributing.texi:1167
  1486. 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."
  1487. msgstr ""
  1488. #. type: enumerate
  1489. #: guix-git/doc/contributing.texi:1174
  1490. 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."
  1491. msgstr ""
  1492. #. type: enumerate
  1493. #: guix-git/doc/contributing.texi:1183
  1494. 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."
  1495. msgstr ""
  1496. #. type: cindex
  1497. #: guix-git/doc/contributing.texi:1185
  1498. #, no-wrap
  1499. msgid "determinism, of build processes"
  1500. msgstr "determinismo, de processos de compilação"
  1501. #. type: cindex
  1502. #: guix-git/doc/contributing.texi:1186
  1503. #, no-wrap
  1504. msgid "reproducible builds, checking"
  1505. msgstr "compilações reproduzíveis, verificação"
  1506. #. type: enumerate
  1507. #: guix-git/doc/contributing.texi:1190
  1508. 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."
  1509. 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."
  1510. #. type: enumerate
  1511. #: guix-git/doc/contributing.texi:1193
  1512. 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}):"
  1513. msgstr "Uma maneira simples de fazer isso é compilar o mesmo pacote várias vezes seguidas em sua máquina (@pxref{Invocando guix build}):"
  1514. #. type: example
  1515. #: guix-git/doc/contributing.texi:1196
  1516. #, no-wrap
  1517. msgid "guix build --rounds=2 my-package\n"
  1518. msgstr "guix build --rounds=2 meu-pacote\n"
  1519. #. type: enumerate
  1520. #: guix-git/doc/contributing.texi:1200
  1521. msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result."
  1522. 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."
  1523. #. type: enumerate
  1524. #: guix-git/doc/contributing.texi:1210
  1525. #, fuzzy
  1526. #| 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."
  1527. 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."
  1528. 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}."
  1529. #. type: enumerate
  1530. #: guix-git/doc/contributing.texi:1216
  1531. 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."
  1532. 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."
  1533. #. type: enumerate
  1534. #: guix-git/doc/contributing.texi:1220
  1535. msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower."
  1536. 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."
  1537. #. type: enumerate
  1538. #: guix-git/doc/contributing.texi:1223
  1539. msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package."
  1540. 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."
  1541. #. type: enumerate
  1542. #: guix-git/doc/contributing.texi:1228
  1543. #, fuzzy
  1544. #| 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})."
  1545. msgid "Please follow our code formatting rules, possibly running @command{guix style} script to do that automatically for you (@pxref{Formatting Code})."
  1546. 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})."
  1547. #. type: enumerate
  1548. #: guix-git/doc/contributing.texi:1236
  1549. 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."
  1550. 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."
  1551. #. type: enumerate
  1552. #: guix-git/doc/contributing.texi:1240
  1553. msgid "Check if Guix builds (@pxref{Building from Git}) and address the warnings, especially those about use of undefined symbols."
  1554. msgstr ""
  1555. #. type: enumerate
  1556. #: guix-git/doc/contributing.texi:1243
  1557. msgid "Make sure your changes do not break Guix and simulate a @code{guix pull} with:"
  1558. msgstr ""
  1559. #. type: example
  1560. #: guix-git/doc/contributing.texi:1245
  1561. #, no-wrap
  1562. msgid "guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master\n"
  1563. msgstr ""
  1564. #. type: Plain text
  1565. #: guix-git/doc/contributing.texi:1258
  1566. 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{}}. 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."
  1567. msgstr ""
  1568. #. type: Plain text
  1569. #: guix-git/doc/contributing.texi:1263
  1570. 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."
  1571. msgstr ""
  1572. #. type: Plain text
  1573. #: guix-git/doc/contributing.texi:1266
  1574. msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}."
  1575. msgstr "Quando um erro for resolvido, feche o tópico enviando um e-mail para @email{@var{NNN}-done@@debbugs.gnu.org}."
  1576. #. type: subsection
  1577. #: guix-git/doc/contributing.texi:1267 guix-git/doc/contributing.texi:1268
  1578. #, no-wrap
  1579. msgid "Configuring Git"
  1580. msgstr "Configurando o Git"
  1581. #. type: cindex
  1582. #: guix-git/doc/contributing.texi:1269
  1583. #, no-wrap
  1584. msgid "git configuration"
  1585. msgstr "Configuração do git"
  1586. #. type: code{#1}
  1587. #: guix-git/doc/contributing.texi:1271 guix-git/doc/contributing.texi:1306
  1588. #, no-wrap
  1589. msgid "git send-email"
  1590. msgstr "git send-email"
  1591. #. type: Plain text
  1592. #: guix-git/doc/contributing.texi:1279
  1593. 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}."
  1594. msgstr ""
  1595. #. type: Plain text
  1596. #: guix-git/doc/contributing.texi:1285
  1597. msgid "We provide some default settings in @file{etc/git/gitconfig} which modify how patches are generated, making them easier to read and apply. These settings can be applied by manually copying them to @file{.git/config} in your checkout, or by telling Git to include the whole file:"
  1598. msgstr ""
  1599. #. type: example
  1600. #: guix-git/doc/contributing.texi:1288
  1601. #, no-wrap
  1602. msgid "git config --local include.path ../etc/git/gitconfig\n"
  1603. msgstr ""
  1604. #. type: Plain text
  1605. #: guix-git/doc/contributing.texi:1292
  1606. msgid "From then on, any changes to @file{etc/git/gitconfig} would automatically take effect."
  1607. msgstr ""
  1608. #. type: Plain text
  1609. #: guix-git/doc/contributing.texi:1297
  1610. msgid "Since the first patch in a series must be sent separately (@pxref{Sending a Patch Series}), it can also be helpful to tell @command{git format-patch} to handle the e-mail threading instead of @command{git send-email}:"
  1611. msgstr ""
  1612. #. type: example
  1613. #: guix-git/doc/contributing.texi:1301
  1614. #, no-wrap
  1615. msgid ""
  1616. "git config --local format.thread shallow\n"
  1617. "git config --local sendemail.thread no\n"
  1618. msgstr ""
  1619. #. type: anchor{#1}
  1620. #: guix-git/doc/contributing.texi:1303 guix-git/doc/contributing.texi:1305
  1621. #, no-wrap
  1622. msgid "Sending a Patch Series"
  1623. msgstr "Enviando uma série de patches"
  1624. #. type: cindex
  1625. #: guix-git/doc/contributing.texi:1305
  1626. #, no-wrap
  1627. msgid "patch series"
  1628. msgstr "série de patches"
  1629. #. type: Plain text
  1630. #: guix-git/doc/contributing.texi:1316
  1631. msgid "When sending a patch series (e.g., using @code{git send-email}), please first send one message to @email{guix-patches@@gnu.org}, and then send subsequent patches to @email{@var{NNN}@@debbugs.gnu.org} to make sure they are kept together. See @uref{https://debbugs.gnu.org/Advanced.html, the Debbugs documentation} for more information. You can install @command{git send-email} with @command{guix install git:send-email}."
  1632. msgstr ""
  1633. #. type: Plain text
  1634. #: guix-git/doc/contributing.texi:1322
  1635. msgid "This section describes how the Guix project tracks its bug reports and patch submissions."
  1636. msgstr ""
  1637. #. type: subsection
  1638. #: guix-git/doc/contributing.texi:1327 guix-git/doc/contributing.texi:1329
  1639. #: guix-git/doc/contributing.texi:1330
  1640. #, no-wrap
  1641. msgid "The Issue Tracker"
  1642. msgstr ""
  1643. #. type: menuentry
  1644. #: guix-git/doc/contributing.texi:1327
  1645. msgid "The official bug and patch tracker."
  1646. msgstr ""
  1647. #. type: subsection
  1648. #: guix-git/doc/contributing.texi:1327 guix-git/doc/contributing.texi:1343
  1649. #: guix-git/doc/contributing.texi:1344
  1650. #, fuzzy, no-wrap
  1651. #| msgid "user interfaces"
  1652. msgid "Debbugs User Interfaces"
  1653. msgstr "interfaces de usuário"
  1654. #. type: menuentry
  1655. #: guix-git/doc/contributing.texi:1327
  1656. msgid "Ways to interact with Debbugs."
  1657. msgstr ""
  1658. #. type: subsection
  1659. #: guix-git/doc/contributing.texi:1327 guix-git/doc/contributing.texi:1383
  1660. #: guix-git/doc/contributing.texi:1384
  1661. #, no-wrap
  1662. msgid "Debbugs Usertags"
  1663. msgstr ""
  1664. #. type: menuentry
  1665. #: guix-git/doc/contributing.texi:1327
  1666. msgid "Tag reports with custom labels."
  1667. msgstr ""
  1668. #. type: cindex
  1669. #: guix-git/doc/contributing.texi:1332
  1670. #, no-wrap
  1671. msgid "bug reports, tracking"
  1672. msgstr ""
  1673. #. type: cindex
  1674. #: guix-git/doc/contributing.texi:1333
  1675. #, no-wrap
  1676. msgid "patch submissions, tracking"
  1677. msgstr ""
  1678. #. type: cindex
  1679. #: guix-git/doc/contributing.texi:1334
  1680. #, no-wrap
  1681. msgid "issue tracking"
  1682. msgstr ""
  1683. #. type: cindex
  1684. #: guix-git/doc/contributing.texi:1335
  1685. #, no-wrap
  1686. msgid "Debbugs, issue tracking system"
  1687. msgstr ""
  1688. #. type: Plain text
  1689. #: guix-git/doc/contributing.texi:1342
  1690. 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})."
  1691. msgstr ""
  1692. #. type: Plain text
  1693. #: guix-git/doc/contributing.texi:1348
  1694. msgid "A web interface (actually @emph{two} web interfaces!) are available to browse issues:"
  1695. msgstr ""
  1696. #. type: itemize
  1697. #: guix-git/doc/contributing.texi:1357
  1698. 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;"
  1699. msgstr ""
  1700. #. type: itemize
  1701. #: guix-git/doc/contributing.texi:1359
  1702. msgid "@url{https://bugs.gnu.org/guix} lists bug reports;"
  1703. msgstr ""
  1704. #. type: itemize
  1705. #: guix-git/doc/contributing.texi:1361
  1706. msgid "@url{https://bugs.gnu.org/guix-patches} lists patch submissions."
  1707. msgstr ""
  1708. #. type: Plain text
  1709. #: guix-git/doc/contributing.texi:1366
  1710. 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}}."
  1711. msgstr ""
  1712. #. type: Plain text
  1713. #: guix-git/doc/contributing.texi:1369
  1714. msgid "If you use Emacs, you may find it more convenient to interact with issues using @file{debbugs.el}, which you can install with:"
  1715. msgstr ""
  1716. #. type: example
  1717. #: guix-git/doc/contributing.texi:1372
  1718. #, no-wrap
  1719. msgid "guix install emacs-debbugs\n"
  1720. msgstr ""
  1721. #. type: Plain text
  1722. #: guix-git/doc/contributing.texi:1375
  1723. msgid "For example, to list all open issues on @code{guix-patches}, hit:"
  1724. msgstr ""
  1725. #. type: example
  1726. #: guix-git/doc/contributing.texi:1378
  1727. #, no-wrap
  1728. msgid "@kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y\n"
  1729. msgstr ""
  1730. #. type: Plain text
  1731. #: guix-git/doc/contributing.texi:1382
  1732. msgid "@xref{Top,,, debbugs-ug, Debbugs User Guide}, for more information on this nifty tool!"
  1733. msgstr ""
  1734. #. type: cindex
  1735. #: guix-git/doc/contributing.texi:1386
  1736. #, no-wrap
  1737. msgid "usertags, for debbugs"
  1738. msgstr ""
  1739. #. type: cindex
  1740. #: guix-git/doc/contributing.texi:1387
  1741. #, no-wrap
  1742. msgid "Debbugs usertags"
  1743. msgstr ""
  1744. #. type: Plain text
  1745. #: guix-git/doc/contributing.texi:1393
  1746. 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.}."
  1747. msgstr ""
  1748. #. type: Plain text
  1749. #: guix-git/doc/contributing.texi:1399
  1750. 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}."
  1751. msgstr ""
  1752. #. type: Plain text
  1753. #: guix-git/doc/contributing.texi:1403
  1754. 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."
  1755. msgstr ""
  1756. #. type: Plain text
  1757. #: guix-git/doc/contributing.texi:1408
  1758. 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:"
  1759. msgstr ""
  1760. #. type: item
  1761. #: guix-git/doc/contributing.texi:1411 guix-git/doc/guix.texi:557
  1762. #, fuzzy, no-wrap
  1763. msgid "powerpc64le-linux"
  1764. msgstr "aarch64-linux"
  1765. #. type: table
  1766. #: guix-git/doc/contributing.texi:1419
  1767. 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."
  1768. msgstr ""
  1769. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  1770. #. type: item
  1771. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  1772. #. type: cindex
  1773. #: guix-git/doc/contributing.texi:1420 guix-git/doc/guix.texi:3103
  1774. #: guix-git/doc/guix.texi:4809
  1775. #, no-wrap
  1776. msgid "reproducibility"
  1777. msgstr ""
  1778. #. type: table
  1779. #: guix-git/doc/contributing.texi:1424
  1780. 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."
  1781. msgstr ""
  1782. #. type: Plain text
  1783. #: guix-git/doc/contributing.texi:1431
  1784. 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."
  1785. msgstr ""
  1786. #. type: cindex
  1787. #: guix-git/doc/contributing.texi:1435
  1788. #, no-wrap
  1789. msgid "commit access, for developers"
  1790. msgstr ""
  1791. #. type: Plain text
  1792. #: guix-git/doc/contributing.texi:1446
  1793. 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."
  1794. msgstr ""
  1795. #. type: Plain text
  1796. #: guix-git/doc/contributing.texi:1450
  1797. 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."
  1798. msgstr ""
  1799. #. type: subsection
  1800. #: guix-git/doc/contributing.texi:1451
  1801. #, no-wrap
  1802. msgid "Applying for Commit Access"
  1803. msgstr ""
  1804. #. type: Plain text
  1805. #: guix-git/doc/contributing.texi:1455
  1806. msgid "When you deem it necessary, consider applying for commit access by following these steps:"
  1807. msgstr ""
  1808. #. type: enumerate
  1809. #: guix-git/doc/contributing.texi:1464
  1810. 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."
  1811. msgstr ""
  1812. #. type: enumerate
  1813. #: guix-git/doc/contributing.texi:1470
  1814. 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''."
  1815. msgstr ""
  1816. #. type: enumerate
  1817. #: guix-git/doc/contributing.texi:1477
  1818. 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."
  1819. msgstr ""
  1820. #. type: enumerate
  1821. #: guix-git/doc/contributing.texi:1483
  1822. 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}):"
  1823. msgstr ""
  1824. #. type: example
  1825. #: guix-git/doc/contributing.texi:1486
  1826. #, no-wrap
  1827. msgid "digest-algo sha512\n"
  1828. msgstr ""
  1829. #. type: enumerate
  1830. #: guix-git/doc/contributing.texi:1491
  1831. msgid "Maintainers ultimately decide whether to grant you commit access, usually following your referrals' recommendation."
  1832. msgstr ""
  1833. #. type: cindex
  1834. #: guix-git/doc/contributing.texi:1493
  1835. #, no-wrap
  1836. msgid "OpenPGP, signed commits"
  1837. msgstr ""
  1838. #. type: enumerate
  1839. #: guix-git/doc/contributing.texi:1498
  1840. 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."
  1841. msgstr ""
  1842. #. type: quotation
  1843. #: guix-git/doc/contributing.texi:1499 guix-git/doc/guix.texi:18459
  1844. #, no-wrap
  1845. msgid "Important"
  1846. msgstr "Importante"
  1847. #. type: quotation
  1848. #: guix-git/doc/contributing.texi:1501
  1849. msgid "Before you can push for the first time, maintainers must:"
  1850. msgstr ""
  1851. #. type: enumerate
  1852. #: guix-git/doc/contributing.texi:1505
  1853. msgid "add your OpenPGP key to the @code{keyring} branch;"
  1854. msgstr ""
  1855. #. type: enumerate
  1856. #: guix-git/doc/contributing.texi:1508
  1857. msgid "add your OpenPGP fingerprint to the @file{.guix-authorizations} file of the branch(es) you will commit to."
  1858. msgstr ""
  1859. #. type: enumerate
  1860. #: guix-git/doc/contributing.texi:1513
  1861. msgid "Make sure to read the rest of this section and... profit!"
  1862. msgstr ""
  1863. #. type: quotation
  1864. #: guix-git/doc/contributing.texi:1519
  1865. 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!"
  1866. msgstr ""
  1867. #. type: quotation
  1868. #: guix-git/doc/contributing.texi:1523
  1869. 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!"
  1870. msgstr ""
  1871. #. type: Plain text
  1872. #: guix-git/doc/contributing.texi:1530
  1873. 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:"
  1874. msgstr ""
  1875. #. type: example
  1876. #: guix-git/doc/contributing.texi:1533
  1877. #, no-wrap
  1878. msgid ""
  1879. "git config commit.gpgsign true\n"
  1880. "\n"
  1881. msgstr ""
  1882. #. type: example
  1883. #: guix-git/doc/contributing.texi:1536
  1884. #, no-wrap
  1885. msgid ""
  1886. "# Substitute the fingerprint of your public PGP key.\n"
  1887. "git config user.signingkey CABBA6EA1DC0FF33\n"
  1888. msgstr ""
  1889. #. type: Plain text
  1890. #: guix-git/doc/contributing.texi:1541
  1891. msgid "You can prevent yourself from accidentally pushing unsigned commits to Savannah by using the pre-push Git hook located at @file{etc/git/pre-push}:"
  1892. msgstr ""
  1893. #. type: example
  1894. #: guix-git/doc/contributing.texi:1544
  1895. #, no-wrap
  1896. msgid "cp etc/git/pre-push .git/hooks/pre-push\n"
  1897. msgstr ""
  1898. #. type: subsection
  1899. #: guix-git/doc/contributing.texi:1546
  1900. #, no-wrap
  1901. msgid "Commit Policy"
  1902. msgstr ""
  1903. #. type: Plain text
  1904. #: guix-git/doc/contributing.texi:1551
  1905. 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})."
  1906. msgstr ""
  1907. #. type: Plain text
  1908. #: guix-git/doc/contributing.texi:1556
  1909. msgid "Non-trivial patches should always be posted to @email{guix-patches@@gnu.org} (trivial patches include fixing typos, etc.). This mailing list fills the patch-tracking database (@pxref{Tracking Bugs and Patches})."
  1910. msgstr ""
  1911. #. type: Plain text
  1912. #: guix-git/doc/contributing.texi:1565
  1913. msgid "For patches that just add a new package, and a simple one, it's OK to commit, if you're confident (which means you successfully built it in a chroot setup, and have done a reasonable copyright and license auditing). Likewise for package upgrades, except upgrades that trigger a lot of rebuilds (for example, upgrading GnuTLS or GLib). We have a mailing list for commit notifications (@email{guix-commits@@gnu.org}), so people can notice. Before pushing your changes, make sure to run @code{git pull --rebase}."
  1914. msgstr ""
  1915. #. type: Plain text
  1916. #: guix-git/doc/contributing.texi:1570
  1917. 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."
  1918. msgstr ""
  1919. #. type: Plain text
  1920. #: guix-git/doc/contributing.texi:1574
  1921. 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:"
  1922. msgstr ""
  1923. #. type: example
  1924. #: guix-git/doc/contributing.texi:1577
  1925. #, no-wrap
  1926. msgid "make check-channel-news\n"
  1927. msgstr ""
  1928. #. type: Plain text
  1929. #: guix-git/doc/contributing.texi:1583
  1930. msgid "For anything else, please post to @email{guix-patches@@gnu.org} and leave time for a review, without committing anything (@pxref{Submitting Patches}). If you didn’t receive any reply after two weeks, and if you're confident, it's OK to commit."
  1931. msgstr ""
  1932. #. type: Plain text
  1933. #: guix-git/doc/contributing.texi:1586
  1934. msgid "That last part is subject to being adjusted, allowing individuals to commit directly on non-controversial changes on parts they’re familiar with."
  1935. msgstr ""
  1936. #. type: subsection
  1937. #: guix-git/doc/contributing.texi:1587
  1938. #, no-wrap
  1939. msgid "Addressing Issues"
  1940. msgstr ""
  1941. #. type: Plain text
  1942. #: guix-git/doc/contributing.texi:1598
  1943. 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."
  1944. msgstr ""
  1945. #. type: Plain text
  1946. #: guix-git/doc/contributing.texi:1603
  1947. 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."
  1948. msgstr ""
  1949. #. type: cindex
  1950. #: guix-git/doc/contributing.texi:1604
  1951. #, no-wrap
  1952. msgid "reverting commits"
  1953. msgstr ""
  1954. #. type: Plain text
  1955. #: guix-git/doc/contributing.texi:1610
  1956. 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."
  1957. msgstr ""
  1958. #. type: Plain text
  1959. #: guix-git/doc/contributing.texi:1616
  1960. 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."
  1961. msgstr ""
  1962. #. type: Plain text
  1963. #: guix-git/doc/contributing.texi:1625
  1964. 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."
  1965. msgstr ""
  1966. #. type: subsection
  1967. #: guix-git/doc/contributing.texi:1626
  1968. #, fuzzy, no-wrap
  1969. #| msgid "Log Rotation"
  1970. msgid "Commit Revocation"
  1971. msgstr "Rotação de log"
  1972. #. type: Plain text
  1973. #: guix-git/doc/contributing.texi:1633
  1974. 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."
  1975. msgstr ""
  1976. #. type: Plain text
  1977. #: guix-git/doc/contributing.texi:1643
  1978. 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:"
  1979. msgstr ""
  1980. #. type: item
  1981. #: guix-git/doc/contributing.texi:1645
  1982. #, no-wrap
  1983. msgid "repeated violation of the commit policy stated above;"
  1984. msgstr ""
  1985. #. type: item
  1986. #: guix-git/doc/contributing.texi:1646
  1987. #, no-wrap
  1988. msgid "repeated failure to take peer criticism into account;"
  1989. msgstr ""
  1990. #. type: item
  1991. #: guix-git/doc/contributing.texi:1647
  1992. #, no-wrap
  1993. msgid "breaching trust through a series of grave incidents."
  1994. msgstr ""
  1995. #. type: Plain text
  1996. #: guix-git/doc/contributing.texi:1654
  1997. 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."
  1998. msgstr ""
  1999. #. type: subsection
  2000. #: guix-git/doc/contributing.texi:1655
  2001. #, no-wrap
  2002. msgid "Helping Out"
  2003. msgstr ""
  2004. #. type: Plain text
  2005. #: guix-git/doc/contributing.texi:1662
  2006. 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!"
  2007. msgstr ""
  2008. #. type: cindex
  2009. #: guix-git/doc/contributing.texi:1666
  2010. #, no-wrap
  2011. msgid "update-guix-package, updating the guix package"
  2012. msgstr ""
  2013. #. type: Plain text
  2014. #: guix-git/doc/contributing.texi:1672
  2015. 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:"
  2016. msgstr ""
  2017. #. type: example
  2018. #: guix-git/doc/contributing.texi:1675
  2019. #, no-wrap
  2020. msgid "make update-guix-package\n"
  2021. msgstr ""
  2022. #. type: Plain text
  2023. #: guix-git/doc/contributing.texi:1682
  2024. 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."
  2025. msgstr ""
  2026. #. type: Plain text
  2027. #: guix-git/doc/contributing.texi:1686
  2028. 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:"
  2029. msgstr ""
  2030. #. type: example
  2031. #: guix-git/doc/contributing.texi:1689
  2032. #, no-wrap
  2033. msgid "./pre-inst-env guix build guix\n"
  2034. msgstr ""
  2035. #. type: Plain text
  2036. #: guix-git/doc/contributing.texi:1694
  2037. 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."
  2038. msgstr ""
  2039. #. type: Plain text
  2040. #: guix-git/doc/contributing.texi:1699
  2041. 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."
  2042. msgstr ""
  2043. #. type: cindex
  2044. #: guix-git/doc/contributing.texi:1700
  2045. #, no-wrap
  2046. msgid "translation"
  2047. msgstr "tradução"
  2048. #. type: cindex
  2049. #: guix-git/doc/contributing.texi:1701
  2050. #, no-wrap
  2051. msgid "l10n"
  2052. msgstr ""
  2053. #. type: cindex
  2054. #: guix-git/doc/contributing.texi:1702
  2055. #, no-wrap
  2056. msgid "i18n"
  2057. msgstr "i18n"
  2058. #. type: cindex
  2059. #: guix-git/doc/contributing.texi:1703
  2060. #, no-wrap
  2061. msgid "native language support"
  2062. msgstr ""
  2063. #. type: Plain text
  2064. #: guix-git/doc/contributing.texi:1713
  2065. 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!"
  2066. msgstr ""
  2067. #. type: Plain text
  2068. #: guix-git/doc/contributing.texi:1719
  2069. 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."
  2070. msgstr ""
  2071. #. type: Plain text
  2072. #: guix-git/doc/contributing.texi:1726
  2073. 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."
  2074. msgstr ""
  2075. #. type: Plain text
  2076. #: guix-git/doc/contributing.texi:1731
  2077. 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}."
  2078. msgstr ""
  2079. #. type: Plain text
  2080. #: guix-git/doc/contributing.texi:1733
  2081. msgid "Guix has five components hosted on Weblate."
  2082. msgstr ""
  2083. #. type: item
  2084. #: guix-git/doc/contributing.texi:1735
  2085. #, no-wrap
  2086. msgid "@code{guix} contains all the strings from the Guix software (the"
  2087. msgstr ""
  2088. #. type: itemize
  2089. #: guix-git/doc/contributing.texi:1737
  2090. msgid "guided system installer, the package manager, etc), excluding packages."
  2091. msgstr ""
  2092. #. type: item
  2093. #: guix-git/doc/contributing.texi:1737
  2094. #, no-wrap
  2095. msgid "@code{packages} contains the synopsis (single-sentence description"
  2096. msgstr ""
  2097. #. type: itemize
  2098. #: guix-git/doc/contributing.texi:1739
  2099. msgid "of a package) and description (longer description) of packages in Guix."
  2100. msgstr ""
  2101. #. type: item
  2102. #: guix-git/doc/contributing.texi:1739
  2103. #, no-wrap
  2104. msgid "@code{website} contains the official Guix website, except for"
  2105. msgstr ""
  2106. #. type: itemize
  2107. #: guix-git/doc/contributing.texi:1741
  2108. msgid "blog posts and multimedia content."
  2109. msgstr ""
  2110. #. type: item
  2111. #: guix-git/doc/contributing.texi:1741
  2112. #, no-wrap
  2113. msgid "@code{documentation-manual} corresponds to this manual."
  2114. msgstr ""
  2115. #. type: item
  2116. #: guix-git/doc/contributing.texi:1742
  2117. #, no-wrap
  2118. msgid "@code{documentation-cookbook} is the component for the cookbook."
  2119. msgstr ""
  2120. #. type: subsubheading
  2121. #: guix-git/doc/contributing.texi:1745
  2122. #, fuzzy, no-wrap
  2123. #| msgid "generations"
  2124. msgid "General Directions"
  2125. msgstr "gerações"
  2126. #. type: Plain text
  2127. #: guix-git/doc/contributing.texi:1753
  2128. 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."
  2129. msgstr ""
  2130. #. type: Plain text
  2131. #: guix-git/doc/contributing.texi:1758
  2132. 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."
  2133. msgstr ""
  2134. #. type: Plain text
  2135. #: guix-git/doc/contributing.texi:1769
  2136. 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."
  2137. msgstr ""
  2138. #. type: Plain text
  2139. #: guix-git/doc/contributing.texi:1774
  2140. 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."
  2141. msgstr ""
  2142. #. type: subsubheading
  2143. #: guix-git/doc/contributing.texi:1775
  2144. #, no-wrap
  2145. msgid "Translation Components"
  2146. msgstr ""
  2147. #. type: Plain text
  2148. #: guix-git/doc/contributing.texi:1780
  2149. 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!"
  2150. msgstr ""
  2151. #. type: item
  2152. #: guix-git/doc/contributing.texi:1782 guix-git/doc/guix.texi:9838
  2153. #, no-wrap
  2154. msgid "guix"
  2155. msgstr "guix"
  2156. #. type: table
  2157. #: guix-git/doc/contributing.texi:1787
  2158. 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."
  2159. msgstr ""
  2160. #. type: table
  2161. #: guix-git/doc/contributing.texi:1796
  2162. 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."
  2163. msgstr ""
  2164. #. type: table
  2165. #: guix-git/doc/contributing.texi:1800
  2166. 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."
  2167. msgstr ""
  2168. #. type: table
  2169. #: guix-git/doc/contributing.texi:1808
  2170. 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."
  2171. msgstr ""
  2172. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  2173. #. type: item
  2174. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  2175. #. type: cindex
  2176. #: guix-git/doc/contributing.texi:1809 guix-git/doc/guix.texi:3021
  2177. #, no-wrap
  2178. msgid "packages"
  2179. msgstr "pacotes"
  2180. #. type: table
  2181. #: guix-git/doc/contributing.texi:1814
  2182. 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."
  2183. msgstr ""
  2184. #. type: table
  2185. #: guix-git/doc/contributing.texi:1823
  2186. 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})."
  2187. msgstr ""
  2188. #. type: item
  2189. #: guix-git/doc/contributing.texi:1824
  2190. #, no-wrap
  2191. msgid "documentation-manual and documentation-cookbook"
  2192. msgstr ""
  2193. #. type: table
  2194. #: guix-git/doc/contributing.texi:1828
  2195. msgid "The first step to ensure a successful translation of the manual is to find and translate the following strings @emph{first}:"
  2196. msgstr ""
  2197. #. type: item
  2198. #: guix-git/doc/contributing.texi:1830
  2199. #, no-wrap
  2200. msgid "@code{version.texi}: Translate this string as @code{version-xx.texi},"
  2201. msgstr ""
  2202. #. type: itemize
  2203. #: guix-git/doc/contributing.texi:1833
  2204. msgid "where @code{xx} is your language code (the one shown in the URL on weblate)."
  2205. msgstr ""
  2206. #. type: item
  2207. #: guix-git/doc/contributing.texi:1833
  2208. #, no-wrap
  2209. msgid "@code{contributing.texi}: Translate this string as"
  2210. msgstr ""
  2211. #. type: itemize
  2212. #: guix-git/doc/contributing.texi:1835
  2213. msgid "@code{contributing.xx.texi}, where @code{xx} is the same language code."
  2214. msgstr ""
  2215. #. type: item
  2216. #: guix-git/doc/contributing.texi:1835
  2217. #, no-wrap
  2218. msgid "@code{Top}: Do not translate this string, it is important for Texinfo."
  2219. msgstr ""
  2220. #. type: itemize
  2221. #: guix-git/doc/contributing.texi:1838
  2222. 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."
  2223. msgstr ""
  2224. #. type: table
  2225. #: guix-git/doc/contributing.texi:1843
  2226. 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."
  2227. msgstr ""
  2228. #. type: table
  2229. #: guix-git/doc/contributing.texi:1850
  2230. 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."
  2231. msgstr ""
  2232. #. type: table
  2233. #: guix-git/doc/contributing.texi:1858
  2234. 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."
  2235. msgstr ""
  2236. #. type: table
  2237. #: guix-git/doc/contributing.texi:1868
  2238. 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."
  2239. msgstr ""
  2240. #. type: item
  2241. #: guix-git/doc/contributing.texi:1869
  2242. #, fuzzy, no-wrap
  2243. #| msgid "official website"
  2244. msgid "website"
  2245. msgstr "website"
  2246. #. type: table
  2247. #: guix-git/doc/contributing.texi:1876
  2248. 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."
  2249. msgstr ""
  2250. #. type: example
  2251. #: guix-git/doc/contributing.texi:1883
  2252. #, no-wrap
  2253. msgid ""
  2254. "#. TRANSLATORS: Defining Packages is a section name\n"
  2255. "#. in the English (en) manual.\n"
  2256. "#: apps/base/templates/about.scm:64\n"
  2257. "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"
  2258. "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"
  2259. msgstr ""
  2260. #. type: table
  2261. #: guix-git/doc/contributing.texi:1886
  2262. msgid "Note that you need to include the same markups. You cannot skip any."
  2263. msgstr ""
  2264. #. type: Plain text
  2265. #: guix-git/doc/contributing.texi:1894
  2266. 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."
  2267. msgstr ""
  2268. #. type: subsubheading
  2269. #: guix-git/doc/contributing.texi:1895
  2270. #, no-wrap
  2271. msgid "Outside of Weblate"
  2272. msgstr ""
  2273. #. type: Plain text
  2274. #: guix-git/doc/contributing.texi:1898
  2275. msgid "Currently, some parts of Guix cannot be translated on Weblate, help wanted!"
  2276. msgstr ""
  2277. #. type: item
  2278. #: guix-git/doc/contributing.texi:1900
  2279. #, no-wrap
  2280. msgid "@command{guix pull} news can be translated in @file{news.scm}, but is not"
  2281. msgstr ""
  2282. #. type: itemize
  2283. #: guix-git/doc/contributing.texi:1906
  2284. 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."
  2285. msgstr ""
  2286. #. type: item
  2287. #: guix-git/doc/contributing.texi:1906
  2288. #, no-wrap
  2289. msgid "Guix blog posts cannot currently be translated."
  2290. msgstr ""
  2291. #. type: item
  2292. #: guix-git/doc/contributing.texi:1907
  2293. #, no-wrap
  2294. msgid "The installer script (for foreign distributions) is entirely in English."
  2295. msgstr ""
  2296. #. type: item
  2297. #: guix-git/doc/contributing.texi:1908
  2298. #, no-wrap
  2299. msgid "Some of the libraries Guix uses cannot be translated or are translated"
  2300. msgstr ""
  2301. #. type: itemize
  2302. #: guix-git/doc/contributing.texi:1910
  2303. msgid "outside of the Guix project. Guile itself is not internationalized."
  2304. msgstr ""
  2305. #. type: item
  2306. #: guix-git/doc/contributing.texi:1910
  2307. #, no-wrap
  2308. msgid "Other manuals linked from this manual or the cookbook might not be"
  2309. msgstr ""
  2310. #. type: itemize
  2311. #: guix-git/doc/contributing.texi:1912
  2312. msgid "translated."
  2313. msgstr ""
  2314. #. type: subsubheading
  2315. #: guix-git/doc/contributing.texi:1914
  2316. #, no-wrap
  2317. msgid "Translation Infrastructure"
  2318. msgstr ""
  2319. #. type: Plain text
  2320. #: guix-git/doc/contributing.texi:1925
  2321. 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."
  2322. msgstr ""
  2323. #. type: Plain text
  2324. #: guix-git/doc/contributing.texi:1929
  2325. 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."
  2326. msgstr ""
  2327. #. type: Plain text
  2328. #: guix-git/doc/contributing.texi:1935
  2329. 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."
  2330. msgstr ""
  2331. #. type: Plain text
  2332. #: guix-git/doc/contributing.texi:1939
  2333. 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."
  2334. msgstr ""
  2335. #. type: item
  2336. #: guix-git/doc/contributing.texi:1941
  2337. #, no-wrap
  2338. msgid "New po files for the @code{guix} and @code{packages} components must"
  2339. msgstr ""
  2340. #. type: itemize
  2341. #: guix-git/doc/contributing.texi:1944
  2342. msgid "be registered by adding the new language to @file{po/guix/LINGUAS} or @file{po/packages/LINGUAS}."
  2343. msgstr ""
  2344. #. type: item
  2345. #: guix-git/doc/contributing.texi:1944
  2346. #, no-wrap
  2347. msgid "New po files for the @code{documentation-manual} component must be"
  2348. msgstr ""
  2349. #. type: itemize
  2350. #: guix-git/doc/contributing.texi:1950
  2351. 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}."
  2352. msgstr ""
  2353. #. type: item
  2354. #: guix-git/doc/contributing.texi:1950
  2355. #, no-wrap
  2356. msgid "New po files for the @code{documentation-cookbook} component must be"
  2357. msgstr ""
  2358. #. type: itemize
  2359. #: guix-git/doc/contributing.texi:1956
  2360. 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}."
  2361. msgstr ""
  2362. #. type: item
  2363. #: guix-git/doc/contributing.texi:1956
  2364. #, no-wrap
  2365. msgid "New po files for the @code{website} component must be added to the"
  2366. msgstr ""
  2367. #. type: itemize
  2368. #: guix-git/doc/contributing.texi:1961
  2369. 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)."
  2370. msgstr ""
  2371. #. type: Plain text
  2372. #: guix-git/doc/guix.texi:7
  2373. #, fuzzy
  2374. msgid "@documentencoding UTF-8"
  2375. msgstr ""
  2376. "@documentencoding UTF-8\n"
  2377. "@documentlanguage pt_BR\n"
  2378. "@frenchspacing on"
  2379. #. type: title
  2380. #: guix-git/doc/guix.texi:7 guix-git/doc/guix.texi:131
  2381. #, no-wrap
  2382. msgid "GNU Guix Reference Manual"
  2383. msgstr "Manual de referência do GNU Guix"
  2384. #. type: include
  2385. #: guix-git/doc/guix.texi:10
  2386. #, no-wrap
  2387. msgid "version.texi"
  2388. msgstr "version-pt_BR.texi"
  2389. #. type: copying
  2390. #: guix-git/doc/guix.texi:103
  2391. msgid "Copyright @copyright{} 2012-2022 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 Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018, 2019, 2020, 2021 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 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 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 Hartmut Goebel@* Copyright @copyright{} 2017, 2019, 2020, 2021 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 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 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 Pierre Langlois@* Copyright @copyright{} 2020 pinoaffe@* Copyright @copyright{} 2020 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 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 Josselin Poiret@* Copyright @copyright{} 2021 Andrew Tropin@* Copyright @copyright{} 2021 Sarah Morgensen@* Copyright @copyright{} 2021 Josselin Poiret@*"
  2392. msgstr ""
  2393. #. type: copying
  2394. #: guix-git/doc/guix.texi:110
  2395. 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''."
  2396. 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''."
  2397. #. type: dircategory
  2398. #: guix-git/doc/guix.texi:112
  2399. #, no-wrap
  2400. msgid "System administration"
  2401. msgstr "Administração de Sistemas"
  2402. #. type: menuentry
  2403. #: guix-git/doc/guix.texi:120
  2404. msgid "Guix: (guix)"
  2405. msgstr "Guix: (guix)"
  2406. #. type: menuentry
  2407. #: guix-git/doc/guix.texi:120
  2408. msgid "Manage installed software and system configuration."
  2409. msgstr "Gerencie softwares instalados e configuração do sistema."
  2410. #. type: menuentry
  2411. #: guix-git/doc/guix.texi:120
  2412. msgid "guix package: (guix)Invoking guix package"
  2413. msgstr "guix package: (guix)Invocando guix package"
  2414. #. type: menuentry
  2415. #: guix-git/doc/guix.texi:120
  2416. msgid "Installing, removing, and upgrading packages."
  2417. msgstr "Instalando, removendo e atualizando pacotes."
  2418. #. type: menuentry
  2419. #: guix-git/doc/guix.texi:120
  2420. msgid "guix gc: (guix)Invoking guix gc"
  2421. msgstr "guix gc: (guix)Invocando guix gc"
  2422. #. type: menuentry
  2423. #: guix-git/doc/guix.texi:120
  2424. msgid "Reclaiming unused disk space."
  2425. msgstr "Recuperando espaço em disco não utilizado."
  2426. #. type: menuentry
  2427. #: guix-git/doc/guix.texi:120
  2428. msgid "guix pull: (guix)Invoking guix pull"
  2429. msgstr "guix pull: (guix)Invocando guix pull"
  2430. #. type: menuentry
  2431. #: guix-git/doc/guix.texi:120
  2432. msgid "Update the list of available packages."
  2433. msgstr "Atualize a lista de pacotes disponíveis."
  2434. #. type: menuentry
  2435. #: guix-git/doc/guix.texi:120
  2436. msgid "guix system: (guix)Invoking guix system"
  2437. msgstr "guix system: (guix)Invocando guix system"
  2438. #. type: menuentry
  2439. #: guix-git/doc/guix.texi:120
  2440. msgid "Manage the operating system configuration."
  2441. msgstr "Gerencie a configuração do sistema operacional."
  2442. #. type: menuentry
  2443. #: guix-git/doc/guix.texi:120
  2444. msgid "guix deploy: (guix)Invoking guix deploy"
  2445. msgstr ""
  2446. #. type: menuentry
  2447. #: guix-git/doc/guix.texi:120
  2448. msgid "Manage operating system configurations for remote hosts."
  2449. msgstr ""
  2450. #. type: dircategory
  2451. #: guix-git/doc/guix.texi:122
  2452. #, no-wrap
  2453. msgid "Software development"
  2454. msgstr "Desenvolvimento de software"
  2455. #. type: menuentry
  2456. #: guix-git/doc/guix.texi:128
  2457. #, fuzzy
  2458. #| msgid "guix pull: (guix)Invoking guix pull"
  2459. msgid "guix shell: (guix)Invoking guix shell"
  2460. msgstr "guix pull: (guix)Invocando guix pull"
  2461. #. type: menuentry
  2462. #: guix-git/doc/guix.texi:128
  2463. #, fuzzy
  2464. #| msgid "Creating software bundles."
  2465. msgid "Creating software environments."
  2466. msgstr "Criando pacotes de software."
  2467. #. type: menuentry
  2468. #: guix-git/doc/guix.texi:128
  2469. msgid "guix environment: (guix)Invoking guix environment"
  2470. msgstr "guix environment: (guix)Invocando guix environment"
  2471. #. type: menuentry
  2472. #: guix-git/doc/guix.texi:128
  2473. msgid "Building development environments with Guix."
  2474. msgstr "Compilando ambientes de desenvolvimento com Guix."
  2475. #. type: menuentry
  2476. #: guix-git/doc/guix.texi:128
  2477. msgid "guix build: (guix)Invoking guix build"
  2478. msgstr "guix build: (guix)Invocando guix build"
  2479. #. type: menuentry
  2480. #: guix-git/doc/guix.texi:128
  2481. msgid "Building packages."
  2482. msgstr "Compilando pacotes."
  2483. #. type: menuentry
  2484. #: guix-git/doc/guix.texi:128
  2485. msgid "guix pack: (guix)Invoking guix pack"
  2486. msgstr "guix pack: (guix)Invocando guix pack"
  2487. #. type: menuentry
  2488. #: guix-git/doc/guix.texi:128
  2489. msgid "Creating binary bundles."
  2490. msgstr "Criando pacotes de binários."
  2491. #. type: subtitle
  2492. #: guix-git/doc/guix.texi:132
  2493. #, no-wrap
  2494. msgid "Using the GNU Guix Functional Package Manager"
  2495. msgstr "Usando o Gerenciador de Pacotes Funcional GNU Guix"
  2496. #. type: author
  2497. #: guix-git/doc/guix.texi:133
  2498. #, no-wrap
  2499. msgid "The GNU Guix Developers"
  2500. msgstr "Os desenvolvedores do GNU Guix"
  2501. #. type: titlepage
  2502. #: guix-git/doc/guix.texi:139
  2503. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  2504. msgstr "Edição @value{EDITION} @* @value{UPDATED} @*"
  2505. #. type: node
  2506. #: guix-git/doc/guix.texi:146
  2507. #, no-wrap
  2508. msgid "Top"
  2509. msgstr "Top"
  2510. #. type: top
  2511. #: guix-git/doc/guix.texi:147
  2512. #, no-wrap
  2513. msgid "GNU Guix"
  2514. msgstr "GNU Guix"
  2515. #. type: Plain text
  2516. #: guix-git/doc/guix.texi:151
  2517. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  2518. msgstr "Esse documento descreve Guix versão @value{VERSION}, uma ferramenta de gerenciamento de pacotes funcional escrita para o sistema GNU."
  2519. #. type: Plain text
  2520. #: guix-git/doc/guix.texi:163
  2521. 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}), 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})."
  2522. msgstr ""
  2523. #. type: chapter
  2524. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:192
  2525. #: guix-git/doc/guix.texi:403 guix-git/doc/guix.texi:404
  2526. #, no-wrap
  2527. msgid "Introduction"
  2528. msgstr "Introdução"
  2529. #. type: menuentry
  2530. #: guix-git/doc/guix.texi:182
  2531. msgid "What is Guix about?"
  2532. msgstr "Sobre o que é o Guix?"
  2533. #. type: chapter
  2534. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:197
  2535. #: guix-git/doc/guix.texi:600 guix-git/doc/guix.texi:601
  2536. #, no-wrap
  2537. msgid "Installation"
  2538. msgstr "Instalação"
  2539. #. type: menuentry
  2540. #: guix-git/doc/guix.texi:182
  2541. msgid "Installing Guix."
  2542. msgstr "Instalando o Guix."
  2543. #. type: chapter
  2544. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:213
  2545. #: guix-git/doc/guix.texi:2082 guix-git/doc/guix.texi:2083
  2546. #, no-wrap
  2547. msgid "System Installation"
  2548. msgstr "Instalação do sistema"
  2549. #. type: menuentry
  2550. #: guix-git/doc/guix.texi:182
  2551. msgid "Installing the whole operating system."
  2552. msgstr "Instalando todo o sistema operacional."
  2553. #. type: chapter
  2554. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:2810
  2555. #: guix-git/doc/guix.texi:2811
  2556. #, no-wrap
  2557. msgid "Getting Started"
  2558. msgstr "Primeiros passos"
  2559. #. type: menuentry
  2560. #: guix-git/doc/guix.texi:182
  2561. msgid "Your first steps."
  2562. msgstr ""
  2563. #. type: chapter
  2564. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:230
  2565. #: guix-git/doc/guix.texi:3018 guix-git/doc/guix.texi:3019
  2566. #, no-wrap
  2567. msgid "Package Management"
  2568. msgstr "Gerenciamento de pacote"
  2569. #. type: menuentry
  2570. #: guix-git/doc/guix.texi:182
  2571. msgid "Package installation, upgrade, etc."
  2572. msgstr "Instalação de pacote, atualização, etc."
  2573. #. type: chapter
  2574. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:253
  2575. #: guix-git/doc/guix.texi:5091 guix-git/doc/guix.texi:5092
  2576. #, no-wrap
  2577. msgid "Channels"
  2578. msgstr "Canais"
  2579. #. type: menuentry
  2580. #: guix-git/doc/guix.texi:182
  2581. msgid "Customizing the package collection."
  2582. msgstr "Personalizando a coleção de pacotes."
  2583. #. type: chapter
  2584. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:267
  2585. #: guix-git/doc/guix.texi:5621 guix-git/doc/guix.texi:5622
  2586. #, no-wrap
  2587. msgid "Development"
  2588. msgstr "Desenvolvimento"
  2589. #. type: menuentry
  2590. #: guix-git/doc/guix.texi:182
  2591. msgid "Guix-aided software development."
  2592. msgstr "Desenvolvimento de software auxiliado pelo Guix."
  2593. #. type: chapter
  2594. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:275
  2595. #: guix-git/doc/guix.texi:6864 guix-git/doc/guix.texi:6865
  2596. #, no-wrap
  2597. msgid "Programming Interface"
  2598. msgstr "Interface de programação"
  2599. #. type: menuentry
  2600. #: guix-git/doc/guix.texi:182
  2601. msgid "Using Guix in Scheme."
  2602. msgstr "Usando o Guix no Scheme."
  2603. #. type: chapter
  2604. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:295
  2605. #: guix-git/doc/guix.texi:11192 guix-git/doc/guix.texi:11193
  2606. #, no-wrap
  2607. msgid "Utilities"
  2608. msgstr "Utilitários"
  2609. #. type: menuentry
  2610. #: guix-git/doc/guix.texi:182
  2611. msgid "Package management commands."
  2612. msgstr "Comandos de gerenciamento de pacote."
  2613. #. type: chapter
  2614. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:321
  2615. #: guix-git/doc/guix.texi:14739 guix-git/doc/guix.texi:14740
  2616. #, no-wrap
  2617. msgid "System Configuration"
  2618. msgstr "Configuração do sistema"
  2619. #. type: menuentry
  2620. #: guix-git/doc/guix.texi:182
  2621. msgid "Configuring the operating system."
  2622. msgstr "Configurando o sistema operacional."
  2623. #. type: chapter
  2624. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:37485
  2625. #: guix-git/doc/guix.texi:37486
  2626. #, fuzzy, no-wrap
  2627. #| msgid "System Configuration"
  2628. msgid "Home Configuration"
  2629. msgstr "Configuração do sistema"
  2630. #. type: menuentry
  2631. #: guix-git/doc/guix.texi:182
  2632. #, fuzzy
  2633. #| msgid "Configuring the boot loader."
  2634. msgid "Configuring the home environment."
  2635. msgstr "Configurando o \"bootloader\"."
  2636. #. type: chapter
  2637. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:38404
  2638. #: guix-git/doc/guix.texi:38405
  2639. #, no-wrap
  2640. msgid "Documentation"
  2641. msgstr "Documentação"
  2642. #. type: menuentry
  2643. #: guix-git/doc/guix.texi:182
  2644. msgid "Browsing software user manuals."
  2645. msgstr "Navegando por manuais do usuário do software."
  2646. #. type: chapter
  2647. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:390
  2648. #: guix-git/doc/guix.texi:38470 guix-git/doc/guix.texi:38471
  2649. #, no-wrap
  2650. msgid "Installing Debugging Files"
  2651. msgstr "Instalando arquivos de depuração"
  2652. #. type: menuentry
  2653. #: guix-git/doc/guix.texi:182
  2654. msgid "Feeding the debugger."
  2655. msgstr "Alimentando o depurador."
  2656. #. type: chapter
  2657. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:38625
  2658. #: guix-git/doc/guix.texi:38626
  2659. #, no-wrap
  2660. msgid "Security Updates"
  2661. msgstr "Atualizações de segurança"
  2662. #. type: menuentry
  2663. #: guix-git/doc/guix.texi:182
  2664. msgid "Deploying security fixes quickly."
  2665. msgstr "Implementando correções de segurança rapidamente."
  2666. #. type: chapter
  2667. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:395
  2668. #: guix-git/doc/guix.texi:38740 guix-git/doc/guix.texi:38741
  2669. #, no-wrap
  2670. msgid "Bootstrapping"
  2671. msgstr "Inicializando"
  2672. #. type: menuentry
  2673. #: guix-git/doc/guix.texi:182
  2674. msgid "GNU/Linux built from scratch."
  2675. msgstr "GNU/Linux compilado do zero."
  2676. #. type: node
  2677. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:39032
  2678. #, no-wrap
  2679. msgid "Porting"
  2680. msgstr "Portando"
  2681. #. type: menuentry
  2682. #: guix-git/doc/guix.texi:182
  2683. msgid "Targeting another platform or kernel."
  2684. msgstr "Objetivando outra plataforma ou kernel."
  2685. #. type: menuentry
  2686. #: guix-git/doc/guix.texi:182
  2687. msgid "Your help needed!"
  2688. msgstr "Sua ajuda é necessária!"
  2689. #. type: chapter
  2690. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39080
  2691. #: guix-git/doc/guix.texi:39081
  2692. #, no-wrap
  2693. msgid "Acknowledgments"
  2694. msgstr "Agradecimentos"
  2695. #. type: menuentry
  2696. #: guix-git/doc/guix.texi:187
  2697. msgid "Thanks!"
  2698. msgstr "Obrigado!"
  2699. #. type: appendix
  2700. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39102
  2701. #: guix-git/doc/guix.texi:39103
  2702. #, no-wrap
  2703. msgid "GNU Free Documentation License"
  2704. msgstr "Licença de Documentação Livre GNU"
  2705. #. type: menuentry
  2706. #: guix-git/doc/guix.texi:187
  2707. msgid "The license of this manual."
  2708. msgstr "A licença deste manual."
  2709. #. type: unnumbered
  2710. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39108
  2711. #: guix-git/doc/guix.texi:39109
  2712. #, no-wrap
  2713. msgid "Concept Index"
  2714. msgstr "Índice de conceitos"
  2715. #. type: menuentry
  2716. #: guix-git/doc/guix.texi:187
  2717. msgid "Concepts."
  2718. msgstr "Conceitos."
  2719. #. type: unnumbered
  2720. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39112
  2721. #: guix-git/doc/guix.texi:39113
  2722. #, no-wrap
  2723. msgid "Programming Index"
  2724. msgstr "Índice de programação"
  2725. #. type: menuentry
  2726. #: guix-git/doc/guix.texi:187
  2727. msgid "Data types, functions, and variables."
  2728. msgstr "Tipos de dados, funções e variáveis."
  2729. #. type: menuentry
  2730. #: guix-git/doc/guix.texi:190
  2731. msgid "--- The Detailed Node Listing ---"
  2732. msgstr "--- A listagem detalhada de nós ---"
  2733. #. type: section
  2734. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2735. #: guix-git/doc/guix.texi:432 guix-git/doc/guix.texi:433
  2736. #, no-wrap
  2737. msgid "Managing Software the Guix Way"
  2738. msgstr "Gerenciando software do jeito do Guix"
  2739. #. type: menuentry
  2740. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2741. msgid "What's special."
  2742. msgstr "O que há de especial."
  2743. #. type: section
  2744. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2745. #: guix-git/doc/guix.texi:487 guix-git/doc/guix.texi:488
  2746. #, no-wrap
  2747. msgid "GNU Distribution"
  2748. msgstr "Distribuição GNU"
  2749. #. type: menuentry
  2750. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2751. msgid "The packages and tools."
  2752. msgstr "Os pacotes e as ferramentas."
  2753. #. type: section
  2754. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2755. #: guix-git/doc/guix.texi:642 guix-git/doc/guix.texi:643
  2756. #, no-wrap
  2757. msgid "Binary Installation"
  2758. msgstr "Instalação de binários"
  2759. #. type: menuentry
  2760. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2761. msgid "Getting Guix running in no time!"
  2762. msgstr "Faça o Guix funcionar rapidamente!"
  2763. #. type: section
  2764. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2765. #: guix-git/doc/guix.texi:882 guix-git/doc/guix.texi:883
  2766. #, no-wrap
  2767. msgid "Requirements"
  2768. msgstr "Requisitos"
  2769. #. type: menuentry
  2770. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2771. msgid "Software needed to build and run Guix."
  2772. msgstr "Software necessário para compilar e executar o Guix."
  2773. #. type: section
  2774. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2775. #: guix-git/doc/guix.texi:969 guix-git/doc/guix.texi:970
  2776. #, no-wrap
  2777. msgid "Running the Test Suite"
  2778. msgstr "Executando a suíte de testes"
  2779. #. type: menuentry
  2780. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2781. msgid "Testing Guix."
  2782. msgstr "Testando o Guix."
  2783. #. type: section
  2784. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:207
  2785. #: guix-git/doc/guix.texi:640 guix-git/doc/guix.texi:1066
  2786. #: guix-git/doc/guix.texi:1067
  2787. #, no-wrap
  2788. msgid "Setting Up the Daemon"
  2789. msgstr "Configurando o daemon"
  2790. #. type: menuentry
  2791. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2792. msgid "Preparing the build daemon's environment."
  2793. msgstr "Preparando o ambiente do daemon de compilação."
  2794. #. type: node
  2795. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2796. #: guix-git/doc/guix.texi:1542
  2797. #, no-wrap
  2798. msgid "Invoking guix-daemon"
  2799. msgstr "Invocando guix-daemon"
  2800. #. type: menuentry
  2801. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2802. msgid "Running the build daemon."
  2803. msgstr "Executando o daemon de compilação."
  2804. #. type: section
  2805. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2806. #: guix-git/doc/guix.texi:1844 guix-git/doc/guix.texi:1845
  2807. #, no-wrap
  2808. msgid "Application Setup"
  2809. msgstr "Configuração de aplicativo"
  2810. #. type: menuentry
  2811. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2812. msgid "Application-specific setup."
  2813. msgstr "Configuração específica de aplicativo."
  2814. #. type: section
  2815. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2816. #: guix-git/doc/guix.texi:2045 guix-git/doc/guix.texi:2046
  2817. #, no-wrap
  2818. msgid "Upgrading Guix"
  2819. msgstr ""
  2820. #. type: menuentry
  2821. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2822. msgid "Upgrading Guix and its build daemon."
  2823. msgstr ""
  2824. #. type: subsection
  2825. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2826. #: guix-git/doc/guix.texi:1088 guix-git/doc/guix.texi:1089
  2827. #, no-wrap
  2828. msgid "Build Environment Setup"
  2829. msgstr "Configuração do ambiente de compilação"
  2830. #. type: menuentry
  2831. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2832. msgid "Preparing the isolated build environment."
  2833. msgstr "Preparando o ambiente de compilação isolado."
  2834. #. type: node
  2835. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2836. #: guix-git/doc/guix.texi:1212
  2837. #, no-wrap
  2838. msgid "Daemon Offload Setup"
  2839. msgstr "Configuração de descarregamento de daemon"
  2840. #. type: menuentry
  2841. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2842. msgid "Offloading builds to remote machines."
  2843. msgstr "Descarregando compilações para máquinas remotas."
  2844. #. type: subsection
  2845. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2846. #: guix-git/doc/guix.texi:1451 guix-git/doc/guix.texi:1452
  2847. #, no-wrap
  2848. msgid "SELinux Support"
  2849. msgstr "Suporte a SELinux"
  2850. #. type: menuentry
  2851. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2852. msgid "Using an SELinux policy for the daemon."
  2853. msgstr "Usando um política SELinux para o daemon."
  2854. #. type: section
  2855. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:1487
  2856. #: guix-git/doc/guix.texi:2116 guix-git/doc/guix.texi:2118
  2857. #: guix-git/doc/guix.texi:2119
  2858. #, no-wrap
  2859. msgid "Limitations"
  2860. msgstr "Limitações"
  2861. #. type: menuentry
  2862. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2863. msgid "What you can expect."
  2864. msgstr "O que você pode esperar."
  2865. #. type: section
  2866. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2867. #: guix-git/doc/guix.texi:2144 guix-git/doc/guix.texi:2145
  2868. #, no-wrap
  2869. msgid "Hardware Considerations"
  2870. msgstr "Considerações de hardware"
  2871. #. type: menuentry
  2872. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2873. msgid "Supported hardware."
  2874. msgstr "Hardware suportado."
  2875. #. type: section
  2876. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2877. #: guix-git/doc/guix.texi:2179 guix-git/doc/guix.texi:2180
  2878. #, no-wrap
  2879. msgid "USB Stick and DVD Installation"
  2880. msgstr "Instalação em um pendrive e em DVD"
  2881. #. type: menuentry
  2882. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2883. msgid "Preparing the installation medium."
  2884. msgstr "Preparando a mídia de instalação."
  2885. #. type: section
  2886. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2887. #: guix-git/doc/guix.texi:2260 guix-git/doc/guix.texi:2261
  2888. #, no-wrap
  2889. msgid "Preparing for Installation"
  2890. msgstr "Preparando para instalação"
  2891. #. type: menuentry
  2892. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2893. msgid "Networking, partitioning, etc."
  2894. msgstr "Rede, particionamento, etc."
  2895. #. type: section
  2896. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2897. #: guix-git/doc/guix.texi:2283 guix-git/doc/guix.texi:2284
  2898. #, no-wrap
  2899. msgid "Guided Graphical Installation"
  2900. msgstr "Instalação gráfica guiada"
  2901. #. type: menuentry
  2902. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2903. msgid "Easy graphical installation."
  2904. msgstr "Instalação gráfica fácil."
  2905. #. type: section
  2906. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:225
  2907. #: guix-git/doc/guix.texi:2116 guix-git/doc/guix.texi:2314
  2908. #: guix-git/doc/guix.texi:2315
  2909. #, no-wrap
  2910. msgid "Manual Installation"
  2911. msgstr "Instalação manual"
  2912. #. type: menuentry
  2913. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2914. msgid "Manual installation for wizards."
  2915. msgstr "Instalação manual para magos."
  2916. #. type: section
  2917. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2918. #: guix-git/doc/guix.texi:2693 guix-git/doc/guix.texi:2694
  2919. #, no-wrap
  2920. msgid "After System Installation"
  2921. msgstr "Após a instalação do sistema"
  2922. #. type: menuentry
  2923. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2924. msgid "When installation succeeded."
  2925. msgstr "Quando a instalação conclui com sucesso."
  2926. #. type: node
  2927. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2928. #: guix-git/doc/guix.texi:2727
  2929. #, no-wrap
  2930. msgid "Installing Guix in a VM"
  2931. msgstr "Instalando Guix em um VM"
  2932. #. type: menuentry
  2933. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2934. msgid "Guix System playground."
  2935. msgstr "Parque de diversões do Guix System."
  2936. #. type: section
  2937. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2938. #: guix-git/doc/guix.texi:2778 guix-git/doc/guix.texi:2779
  2939. #, no-wrap
  2940. msgid "Building the Installation Image"
  2941. msgstr "Compilando a imagem de instalação"
  2942. #. type: menuentry
  2943. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2944. msgid "How this comes to be."
  2945. msgstr "Como isso vem a ser."
  2946. #. type: node
  2947. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2948. #: guix-git/doc/guix.texi:2334
  2949. #, no-wrap
  2950. msgid "Keyboard Layout and Networking and Partitioning"
  2951. msgstr "Disposição de teclado e rede e particionamento"
  2952. #. type: menuentry
  2953. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2954. msgid "Initial setup."
  2955. msgstr "Configuração inicial."
  2956. #. type: subsection
  2957. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2958. #: guix-git/doc/guix.texi:2604 guix-git/doc/guix.texi:2605
  2959. #, no-wrap
  2960. msgid "Proceeding with the Installation"
  2961. msgstr "Prosseguindo com a instalação"
  2962. #. type: menuentry
  2963. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2964. msgid "Installing."
  2965. msgstr "Instalando."
  2966. #. type: section
  2967. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2968. #: guix-git/doc/guix.texi:3052 guix-git/doc/guix.texi:3053
  2969. #, no-wrap
  2970. msgid "Features"
  2971. msgstr "Recursos"
  2972. #. type: menuentry
  2973. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2974. msgid "How Guix will make your life brighter."
  2975. msgstr "Como o Guix vai iluminar a sua vida."
  2976. #. type: node
  2977. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2978. #: guix-git/doc/guix.texi:3142
  2979. #, no-wrap
  2980. msgid "Invoking guix package"
  2981. msgstr "Invocando guix package"
  2982. #. type: menuentry
  2983. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2984. msgid "Package installation, removal, etc."
  2985. msgstr "Instalação de pacote, remoção, etc."
  2986. #. type: section
  2987. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:243
  2988. #: guix-git/doc/guix.texi:3050 guix-git/doc/guix.texi:3772
  2989. #: guix-git/doc/guix.texi:3773
  2990. #, no-wrap
  2991. msgid "Substitutes"
  2992. msgstr "Substitutos"
  2993. #. type: menuentry
  2994. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2995. msgid "Downloading pre-built binaries."
  2996. msgstr "Baixando binários pré-compilados."
  2997. #. type: section
  2998. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2999. #: guix-git/doc/guix.texi:4108 guix-git/doc/guix.texi:4109
  3000. #, no-wrap
  3001. msgid "Packages with Multiple Outputs"
  3002. msgstr "Pacotes com múltiplas saídas"
  3003. #. type: menuentry
  3004. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  3005. msgid "Single source package, multiple outputs."
  3006. msgstr "Um único pacote de fontes, várias saídas."
  3007. #. type: node
  3008. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  3009. #: guix-git/doc/guix.texi:4162
  3010. #, no-wrap
  3011. msgid "Invoking guix gc"
  3012. msgstr "Invocando guix gc"
  3013. #. type: menuentry
  3014. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  3015. msgid "Running the garbage collector."
  3016. msgstr "Executando o coletor de lixo."
  3017. #. type: node
  3018. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  3019. #: guix-git/doc/guix.texi:4372
  3020. #, no-wrap
  3021. msgid "Invoking guix pull"
  3022. msgstr "Invocando guix pull"
  3023. #. type: menuentry
  3024. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  3025. msgid "Fetching the latest Guix and distribution."
  3026. msgstr "Obtendo o Guix mais recente e distribuição."
  3027. #. type: node
  3028. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  3029. #: guix-git/doc/guix.texi:4623
  3030. #, no-wrap
  3031. msgid "Invoking guix time-machine"
  3032. msgstr ""
  3033. #. type: menuentry
  3034. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  3035. msgid "Running an older revision of Guix."
  3036. msgstr ""
  3037. #. type: section
  3038. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  3039. #: guix-git/doc/guix.texi:4678 guix-git/doc/guix.texi:4679
  3040. #, no-wrap
  3041. msgid "Inferiors"
  3042. msgstr "Inferiores"
  3043. #. type: menuentry
  3044. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  3045. msgid "Interacting with another revision of Guix."
  3046. msgstr "Interagindo com outra revisão do Guix."
  3047. #. type: node
  3048. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  3049. #: guix-git/doc/guix.texi:4806
  3050. #, no-wrap
  3051. msgid "Invoking guix describe"
  3052. msgstr "Invocando guix describe"
  3053. #. type: menuentry
  3054. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  3055. msgid "Display information about your Guix revision."
  3056. msgstr "Exibe informações sobre sua revisão do Guix."
  3057. #. type: node
  3058. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  3059. #: guix-git/doc/guix.texi:4901
  3060. #, no-wrap
  3061. msgid "Invoking guix archive"
  3062. msgstr "Invocando guix archive"
  3063. #. type: menuentry
  3064. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  3065. msgid "Exporting and importing store files."
  3066. msgstr "Exportando e importando arquivos do armazém."
  3067. #. type: subsection
  3068. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3069. #: guix-git/doc/guix.texi:3798 guix-git/doc/guix.texi:3799
  3070. #, fuzzy, no-wrap
  3071. #| msgid "Official Substitute Server"
  3072. msgid "Official Substitute Servers"
  3073. msgstr "Servidor substituto oficial"
  3074. #. type: menuentry
  3075. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3076. msgid "One particular source of substitutes."
  3077. msgstr "Uma fonte específica de substitutos."
  3078. #. type: subsection
  3079. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3080. #: guix-git/doc/guix.texi:3828 guix-git/doc/guix.texi:3829
  3081. #, no-wrap
  3082. msgid "Substitute Server Authorization"
  3083. msgstr "Autorização de servidor substituto"
  3084. #. type: menuentry
  3085. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3086. msgid "How to enable or disable substitutes."
  3087. msgstr "Como habilitar ou desabilitar substitutos."
  3088. #. type: subsection
  3089. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3090. #: guix-git/doc/guix.texi:3898 guix-git/doc/guix.texi:3899
  3091. #, no-wrap
  3092. msgid "Getting Substitutes from Other Servers"
  3093. msgstr ""
  3094. #. type: menuentry
  3095. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3096. msgid "Substitute diversity."
  3097. msgstr ""
  3098. #. type: subsection
  3099. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3100. #: guix-git/doc/guix.texi:4003 guix-git/doc/guix.texi:4004
  3101. #, no-wrap
  3102. msgid "Substitute Authentication"
  3103. msgstr "Autenticação de substituto"
  3104. #. type: menuentry
  3105. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3106. msgid "How Guix verifies substitutes."
  3107. msgstr "Como Guix verifica substitutos."
  3108. #. type: subsection
  3109. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3110. #: guix-git/doc/guix.texi:4038 guix-git/doc/guix.texi:4039
  3111. #, no-wrap
  3112. msgid "Proxy Settings"
  3113. msgstr "Configurações de proxy"
  3114. #. type: menuentry
  3115. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3116. msgid "How to get substitutes via proxy."
  3117. msgstr "Como obter substitutos via proxy."
  3118. #. type: subsection
  3119. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3120. #: guix-git/doc/guix.texi:4050 guix-git/doc/guix.texi:4051
  3121. #, no-wrap
  3122. msgid "Substitution Failure"
  3123. msgstr "Falha na substituição"
  3124. #. type: menuentry
  3125. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3126. msgid "What happens when substitution fails."
  3127. msgstr "O que acontece quando a substituição falha."
  3128. #. type: subsection
  3129. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3130. #: guix-git/doc/guix.texi:4078 guix-git/doc/guix.texi:4079
  3131. #, no-wrap
  3132. msgid "On Trusting Binaries"
  3133. msgstr "Confiança em binários"
  3134. #. type: menuentry
  3135. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3136. msgid "How can you trust that binary blob?"
  3137. msgstr "Como você pode confiar naquele blob binário?"
  3138. #. type: section
  3139. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3140. #: guix-git/doc/guix.texi:5124 guix-git/doc/guix.texi:5125
  3141. #, no-wrap
  3142. msgid "Specifying Additional Channels"
  3143. msgstr ""
  3144. #. type: menuentry
  3145. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3146. msgid "Extending the package collection."
  3147. msgstr ""
  3148. #. type: section
  3149. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3150. #: guix-git/doc/guix.texi:5174 guix-git/doc/guix.texi:5175
  3151. #, no-wrap
  3152. msgid "Using a Custom Guix Channel"
  3153. msgstr ""
  3154. #. type: menuentry
  3155. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3156. msgid "Using a customized Guix."
  3157. msgstr ""
  3158. #. type: section
  3159. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3160. #: guix-git/doc/guix.texi:5196 guix-git/doc/guix.texi:5197
  3161. #, no-wrap
  3162. msgid "Replicating Guix"
  3163. msgstr ""
  3164. #. type: menuentry
  3165. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3166. msgid "Running the @emph{exact same} Guix."
  3167. msgstr ""
  3168. #. type: section
  3169. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3170. #: guix-git/doc/guix.texi:5237 guix-git/doc/guix.texi:5238
  3171. #, no-wrap
  3172. msgid "Channel Authentication"
  3173. msgstr ""
  3174. #. type: menuentry
  3175. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3176. msgid "How Guix verifies what it fetches."
  3177. msgstr ""
  3178. #. type: section
  3179. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3180. #: guix-git/doc/guix.texi:5277 guix-git/doc/guix.texi:5278
  3181. #, no-wrap
  3182. msgid "Channels with Substitutes"
  3183. msgstr ""
  3184. #. type: menuentry
  3185. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3186. msgid "Using channels with available substitutes."
  3187. msgstr ""
  3188. #. type: section
  3189. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3190. #: guix-git/doc/guix.texi:5302 guix-git/doc/guix.texi:5303
  3191. #, no-wrap
  3192. msgid "Creating a Channel"
  3193. msgstr ""
  3194. #. type: menuentry
  3195. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3196. msgid "How to write your custom channel."
  3197. msgstr ""
  3198. #. type: section
  3199. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3200. #: guix-git/doc/guix.texi:5369 guix-git/doc/guix.texi:5370
  3201. #, no-wrap
  3202. msgid "Package Modules in a Sub-directory"
  3203. msgstr ""
  3204. #. type: menuentry
  3205. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3206. msgid "Specifying the channel's package modules location."
  3207. msgstr ""
  3208. #. type: section
  3209. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3210. #: guix-git/doc/guix.texi:5383 guix-git/doc/guix.texi:5384
  3211. #, no-wrap
  3212. msgid "Declaring Channel Dependencies"
  3213. msgstr ""
  3214. #. type: menuentry
  3215. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3216. msgid "How to depend on other channels."
  3217. msgstr ""
  3218. #. type: section
  3219. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3220. #: guix-git/doc/guix.texi:5425 guix-git/doc/guix.texi:5426
  3221. #, no-wrap
  3222. msgid "Specifying Channel Authorizations"
  3223. msgstr ""
  3224. #. type: menuentry
  3225. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3226. msgid "Defining channel authors authorizations."
  3227. msgstr ""
  3228. #. type: section
  3229. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3230. #: guix-git/doc/guix.texi:5528 guix-git/doc/guix.texi:5529
  3231. #, no-wrap
  3232. msgid "Primary URL"
  3233. msgstr ""
  3234. #. type: menuentry
  3235. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3236. msgid "Distinguishing mirror to original."
  3237. msgstr ""
  3238. #. type: section
  3239. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3240. #: guix-git/doc/guix.texi:5551 guix-git/doc/guix.texi:5552
  3241. #, no-wrap
  3242. msgid "Writing Channel News"
  3243. msgstr ""
  3244. #. type: menuentry
  3245. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3246. msgid "Communicating information to channel's users."
  3247. msgstr ""
  3248. #. type: node
  3249. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3250. #: guix-git/doc/guix.texi:5643
  3251. #, fuzzy, no-wrap
  3252. #| msgid "Invoking guix size"
  3253. msgid "Invoking guix shell"
  3254. msgstr "Invocando guix size"
  3255. #. type: menuentry
  3256. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3257. #, fuzzy
  3258. #| msgid "Preparing the isolated build environment."
  3259. msgid "Spawning one-off software environments."
  3260. msgstr "Preparando o ambiente de compilação isolado."
  3261. #. type: node
  3262. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3263. #: guix-git/doc/guix.texi:6015
  3264. #, no-wrap
  3265. msgid "Invoking guix environment"
  3266. msgstr "Invocando guix environment"
  3267. #. type: menuentry
  3268. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3269. msgid "Setting up development environments."
  3270. msgstr "Configurando ambientes de desenvolvimento."
  3271. #. type: node
  3272. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3273. #: guix-git/doc/guix.texi:6390
  3274. #, no-wrap
  3275. msgid "Invoking guix pack"
  3276. msgstr "Invocando guix pack"
  3277. #. type: menuentry
  3278. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3279. msgid "Creating software bundles."
  3280. msgstr "Criando pacotes de software."
  3281. #. type: section
  3282. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3283. #: guix-git/doc/guix.texi:6776 guix-git/doc/guix.texi:6777
  3284. #, no-wrap
  3285. msgid "The GCC toolchain"
  3286. msgstr ""
  3287. #. type: menuentry
  3288. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3289. msgid "Working with languages supported by GCC."
  3290. msgstr ""
  3291. #. type: node
  3292. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3293. #: guix-git/doc/guix.texi:6802
  3294. #, no-wrap
  3295. msgid "Invoking guix git authenticate"
  3296. msgstr ""
  3297. #. type: menuentry
  3298. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3299. msgid "Authenticating Git repositories."
  3300. msgstr ""
  3301. #. type: section
  3302. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3303. #: guix-git/doc/guix.texi:6907 guix-git/doc/guix.texi:6908
  3304. #, no-wrap
  3305. msgid "Package Modules"
  3306. msgstr "Módulos de pacote"
  3307. #. type: menuentry
  3308. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3309. msgid "Packages from the programmer's viewpoint."
  3310. msgstr "Pacotes do ponto de vista do programador."
  3311. #. type: section
  3312. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:290
  3313. #: guix-git/doc/guix.texi:6905 guix-git/doc/guix.texi:6969
  3314. #: guix-git/doc/guix.texi:6970
  3315. #, no-wrap
  3316. msgid "Defining Packages"
  3317. msgstr "Definindo pacotes"
  3318. #. type: menuentry
  3319. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3320. msgid "Defining new packages."
  3321. msgstr "Definindo novos pacotes."
  3322. #. type: section
  3323. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3324. #: guix-git/doc/guix.texi:7634 guix-git/doc/guix.texi:7635
  3325. #, no-wrap
  3326. msgid "Defining Package Variants"
  3327. msgstr ""
  3328. #. type: menuentry
  3329. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3330. msgid "Customizing packages."
  3331. msgstr ""
  3332. #. type: section
  3333. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3334. #: guix-git/doc/guix.texi:7901 guix-git/doc/guix.texi:7902
  3335. #, no-wrap
  3336. msgid "Build Systems"
  3337. msgstr "Sistemas de compilação"
  3338. #. type: menuentry
  3339. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3340. msgid "Specifying how packages are built."
  3341. msgstr "Especificando como pacotes são compilados."
  3342. #. type: subsection
  3343. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3344. #: guix-git/doc/guix.texi:8940 guix-git/doc/guix.texi:8941
  3345. #: guix-git/doc/guix.texi:9449
  3346. #, no-wrap
  3347. msgid "Build Phases"
  3348. msgstr ""
  3349. #. type: menuentry
  3350. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3351. msgid "Phases of the build process of a package."
  3352. msgstr ""
  3353. #. type: section
  3354. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3355. #: guix-git/doc/guix.texi:9138 guix-git/doc/guix.texi:9139
  3356. #, no-wrap
  3357. msgid "Build Utilities"
  3358. msgstr ""
  3359. #. type: menuentry
  3360. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3361. msgid "Helpers for your package definitions and more."
  3362. msgstr ""
  3363. #. type: section
  3364. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3365. #: guix-git/doc/guix.texi:9608 guix-git/doc/guix.texi:9609
  3366. #, fuzzy, no-wrap
  3367. #| msgid "--search-paths"
  3368. msgid "Search Paths"
  3369. msgstr "--search-paths"
  3370. #. type: menuentry
  3371. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3372. #, fuzzy
  3373. #| msgid "Preparing the isolated build environment."
  3374. msgid "Declaring search path environment variables."
  3375. msgstr "Declarando o Ambiente Doméstico"
  3376. #. type: section
  3377. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3378. #: guix-git/doc/guix.texi:9787 guix-git/doc/guix.texi:9788
  3379. #, no-wrap
  3380. msgid "The Store"
  3381. msgstr "O armazém"
  3382. #. type: menuentry
  3383. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3384. msgid "Manipulating the package store."
  3385. msgstr "Manipulação do armazém de pacotes."
  3386. #. type: section
  3387. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3388. #: guix-git/doc/guix.texi:9940 guix-git/doc/guix.texi:9941
  3389. #, no-wrap
  3390. msgid "Derivations"
  3391. msgstr "Derivações"
  3392. #. type: menuentry
  3393. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3394. msgid "Low-level interface to package derivations."
  3395. msgstr "Interface de baixo nível para derivações de pacotes."
  3396. #. type: section
  3397. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3398. #: guix-git/doc/guix.texi:10134 guix-git/doc/guix.texi:10135
  3399. #, no-wrap
  3400. msgid "The Store Monad"
  3401. msgstr "A mônada do armazém"
  3402. #. type: menuentry
  3403. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3404. msgid "Purely functional interface to the store."
  3405. msgstr "Interface puramente funcional para o armazém."
  3406. #. type: section
  3407. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3408. #: guix-git/doc/guix.texi:10453 guix-git/doc/guix.texi:10454
  3409. #, no-wrap
  3410. msgid "G-Expressions"
  3411. msgstr "Expressões-G"
  3412. #. type: menuentry
  3413. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3414. msgid "Manipulating build expressions."
  3415. msgstr "Manipulação de expressões de compilação."
  3416. #. type: node
  3417. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3418. #: guix-git/doc/guix.texi:11092
  3419. #, no-wrap
  3420. msgid "Invoking guix repl"
  3421. msgstr "Invocando guix repl"
  3422. #. type: menuentry
  3423. #: guix-git/doc/guix.texi:288
  3424. msgid "Programming Guix in Guile."
  3425. msgstr ""
  3426. #. type: node
  3427. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3428. #: guix-git/doc/guix.texi:7169
  3429. #, no-wrap
  3430. msgid "package Reference"
  3431. msgstr "Referência do package"
  3432. #. type: menuentry
  3433. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3434. msgid "The package data type."
  3435. msgstr "O tipo de dados package."
  3436. #. type: node
  3437. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3438. #: guix-git/doc/guix.texi:7442
  3439. #, no-wrap
  3440. msgid "origin Reference"
  3441. msgstr "Referência do origin"
  3442. #. type: menuentry
  3443. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3444. msgid "The origin data type."
  3445. msgstr "O tipo de dados origin."
  3446. #. type: node
  3447. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3448. #: guix-git/doc/guix.texi:11219
  3449. #, no-wrap
  3450. msgid "Invoking guix build"
  3451. msgstr "Invocando guix build"
  3452. #. type: menuentry
  3453. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3454. msgid "Building packages from the command line."
  3455. msgstr "Compilando pacotes a partir da linha de comando."
  3456. #. type: node
  3457. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3458. #: guix-git/doc/guix.texi:12117
  3459. #, no-wrap
  3460. msgid "Invoking guix edit"
  3461. msgstr "Invocando guix edit"
  3462. #. type: menuentry
  3463. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3464. msgid "Editing package definitions."
  3465. msgstr "Editando definições de pacote."
  3466. #. type: node
  3467. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3468. #: guix-git/doc/guix.texi:12147
  3469. #, no-wrap
  3470. msgid "Invoking guix download"
  3471. msgstr "Invocando guix download"
  3472. #. type: menuentry
  3473. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3474. msgid "Downloading a file and printing its hash."
  3475. msgstr "Baixando um arquivo e imprimindo seu hash."
  3476. #. type: node
  3477. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3478. #: guix-git/doc/guix.texi:12205
  3479. #, no-wrap
  3480. msgid "Invoking guix hash"
  3481. msgstr "Invocando guix hash"
  3482. #. type: menuentry
  3483. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3484. msgid "Computing the cryptographic hash of a file."
  3485. msgstr "Computando a hash criptográfica de um arquivo."
  3486. #. type: node
  3487. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3488. #: guix-git/doc/guix.texi:12296
  3489. #, no-wrap
  3490. msgid "Invoking guix import"
  3491. msgstr "Invocando guix import"
  3492. #. type: menuentry
  3493. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3494. msgid "Importing package definitions."
  3495. msgstr "Importando definições de pacote."
  3496. #. type: node
  3497. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3498. #: guix-git/doc/guix.texi:12831
  3499. #, no-wrap
  3500. msgid "Invoking guix refresh"
  3501. msgstr "Invocando guix refresh"
  3502. #. type: menuentry
  3503. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3504. msgid "Updating package definitions."
  3505. msgstr "Atualizando definições de pacotes."
  3506. #. type: node
  3507. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3508. #: guix-git/doc/guix.texi:13203
  3509. #, fuzzy, no-wrap
  3510. #| msgid "Invoking guix system"
  3511. msgid "Invoking guix style"
  3512. msgstr "Invocando guix system"
  3513. #. type: menuentry
  3514. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3515. #, fuzzy
  3516. #| msgid "Editing package definitions."
  3517. msgid "Styling package definitions."
  3518. msgstr "Editando definições de pacote."
  3519. #. type: node
  3520. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3521. #: guix-git/doc/guix.texi:13341
  3522. #, no-wrap
  3523. msgid "Invoking guix lint"
  3524. msgstr "Invocando guix lint"
  3525. #. type: menuentry
  3526. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3527. msgid "Finding errors in package definitions."
  3528. msgstr "Encontrando erros nas definições de pacote."
  3529. #. type: node
  3530. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3531. #: guix-git/doc/guix.texi:13517
  3532. #, no-wrap
  3533. msgid "Invoking guix size"
  3534. msgstr "Invocando guix size"
  3535. #. type: menuentry
  3536. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3537. msgid "Profiling disk usage."
  3538. msgstr "Perfilando uso de disco."
  3539. #. type: node
  3540. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3541. #: guix-git/doc/guix.texi:13661
  3542. #, no-wrap
  3543. msgid "Invoking guix graph"
  3544. msgstr "Invocando guix graph"
  3545. #. type: menuentry
  3546. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3547. msgid "Visualizing the graph of packages."
  3548. msgstr "Visualizando o grafo de pacotes."
  3549. #. type: node
  3550. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3551. #: guix-git/doc/guix.texi:13942
  3552. #, no-wrap
  3553. msgid "Invoking guix publish"
  3554. msgstr "Invocando guix publish"
  3555. #. type: menuentry
  3556. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3557. msgid "Sharing substitutes."
  3558. msgstr "Compartilhando substitutos."
  3559. #. type: node
  3560. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3561. #: guix-git/doc/guix.texi:14211
  3562. #, no-wrap
  3563. msgid "Invoking guix challenge"
  3564. msgstr "Invocando guix challenge"
  3565. #. type: menuentry
  3566. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3567. msgid "Challenging substitute servers."
  3568. msgstr "Desafiando servidores substitutos."
  3569. #. type: node
  3570. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3571. #: guix-git/doc/guix.texi:14394
  3572. #, no-wrap
  3573. msgid "Invoking guix copy"
  3574. msgstr "Invocando guix copy"
  3575. #. type: menuentry
  3576. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3577. msgid "Copying to and from a remote store."
  3578. msgstr "Copiando para e de um armazém remoto."
  3579. #. type: node
  3580. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3581. #: guix-git/doc/guix.texi:14457
  3582. #, no-wrap
  3583. msgid "Invoking guix container"
  3584. msgstr "Invocando guix container"
  3585. #. type: menuentry
  3586. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3587. msgid "Process isolation."
  3588. msgstr "Isolação de processo."
  3589. #. type: node
  3590. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3591. #: guix-git/doc/guix.texi:14511
  3592. #, no-wrap
  3593. msgid "Invoking guix weather"
  3594. msgstr "Invocando guix weather"
  3595. #. type: menuentry
  3596. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3597. msgid "Assessing substitute availability."
  3598. msgstr "Acessando disponibilidade de substituto."
  3599. #. type: node
  3600. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3601. #: guix-git/doc/guix.texi:14641
  3602. #, no-wrap
  3603. msgid "Invoking guix processes"
  3604. msgstr "Invocando guix processes"
  3605. #. type: menuentry
  3606. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3607. msgid "Listing client processes."
  3608. msgstr "Listando processos do cliente."
  3609. #. type: section
  3610. #: guix-git/doc/guix.texi:314 guix-git/doc/guix.texi:11220
  3611. #, no-wrap
  3612. msgid "Invoking @command{guix build}"
  3613. msgstr "Invocando @command{guix build}"
  3614. #. type: subsection
  3615. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3616. #: guix-git/doc/guix.texi:11273 guix-git/doc/guix.texi:11274
  3617. #, no-wrap
  3618. msgid "Common Build Options"
  3619. msgstr "Opções de compilação comum"
  3620. #. type: menuentry
  3621. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3622. msgid "Build options for most commands."
  3623. msgstr "Opções de compilação para a maioria dos comandos."
  3624. #. type: subsection
  3625. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3626. #: guix-git/doc/guix.texi:11428 guix-git/doc/guix.texi:11429
  3627. #, no-wrap
  3628. msgid "Package Transformation Options"
  3629. msgstr "Opções de transformação de pacote"
  3630. #. type: menuentry
  3631. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3632. msgid "Creating variants of packages."
  3633. msgstr "Criando variantes de pacotes."
  3634. #. type: subsection
  3635. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3636. #: guix-git/doc/guix.texi:11799 guix-git/doc/guix.texi:11800
  3637. #, no-wrap
  3638. msgid "Additional Build Options"
  3639. msgstr "Opções de compilação adicional"
  3640. #. type: menuentry
  3641. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3642. msgid "Options specific to 'guix build'."
  3643. msgstr "Opções específicas para \"guix build\"."
  3644. #. type: subsection
  3645. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3646. #: guix-git/doc/guix.texi:12037 guix-git/doc/guix.texi:12038
  3647. #, no-wrap
  3648. msgid "Debugging Build Failures"
  3649. msgstr "Depurando falhas de compilação"
  3650. #. type: menuentry
  3651. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3652. msgid "Real life packaging experience."
  3653. msgstr "Experiência de empacotamento na vida real."
  3654. #. type: section
  3655. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3656. #: guix-git/doc/guix.texi:14785 guix-git/doc/guix.texi:14786
  3657. #, no-wrap
  3658. msgid "Using the Configuration System"
  3659. msgstr "Usando o sistema de configuração"
  3660. #. type: menuentry
  3661. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3662. msgid "Customizing your GNU system."
  3663. msgstr "Personalizando seu sistema GNU."
  3664. #. type: node
  3665. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3666. #: guix-git/doc/guix.texi:15036
  3667. #, no-wrap
  3668. msgid "operating-system Reference"
  3669. msgstr "Referência do operating-system"
  3670. #. type: menuentry
  3671. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3672. msgid "Detail of operating-system declarations."
  3673. msgstr "Detalhe das declarações do operating-system."
  3674. #. type: section
  3675. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3676. #: guix-git/doc/guix.texi:15259 guix-git/doc/guix.texi:15260
  3677. #, no-wrap
  3678. msgid "File Systems"
  3679. msgstr "Sistemas de arquivos"
  3680. #. type: menuentry
  3681. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3682. msgid "Configuring file system mounts."
  3683. msgstr "Configurando montagens de sistema de arquivos."
  3684. #. type: section
  3685. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3686. #: guix-git/doc/guix.texi:15612 guix-git/doc/guix.texi:15613
  3687. #, no-wrap
  3688. msgid "Mapped Devices"
  3689. msgstr "Dispositivos mapeados"
  3690. #. type: menuentry
  3691. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3692. msgid "Block device extra processing."
  3693. msgstr "Processamento extra de dispositivo de bloco."
  3694. #. type: section
  3695. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3696. #: guix-git/doc/guix.texi:15761 guix-git/doc/guix.texi:15762
  3697. #, no-wrap
  3698. msgid "Swap Space"
  3699. msgstr ""
  3700. #. type: menuentry
  3701. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3702. msgid "Backing RAM with disk space."
  3703. msgstr ""
  3704. #. type: section
  3705. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3706. #: guix-git/doc/guix.texi:15878 guix-git/doc/guix.texi:15879
  3707. #, no-wrap
  3708. msgid "User Accounts"
  3709. msgstr "Contas de usuários"
  3710. #. type: menuentry
  3711. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3712. msgid "Specifying user accounts."
  3713. msgstr "Especificando contas de usuários."
  3714. #. type: section
  3715. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:2341
  3716. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:16059
  3717. #: guix-git/doc/guix.texi:16060
  3718. #, no-wrap
  3719. msgid "Keyboard Layout"
  3720. msgstr "Disposição do teclado"
  3721. #. type: menuentry
  3722. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3723. msgid "How the system interprets key strokes."
  3724. msgstr "Como o sistema interpreta pressionamento de teclas."
  3725. #. type: section
  3726. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:1852
  3727. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:16205
  3728. #: guix-git/doc/guix.texi:16206
  3729. #, no-wrap
  3730. msgid "Locales"
  3731. msgstr "Locales"
  3732. #. type: menuentry
  3733. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3734. msgid "Language and cultural convention settings."
  3735. msgstr "Configurações de idioma e de convenção cultural."
  3736. #. type: section
  3737. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:346
  3738. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:16345
  3739. #: guix-git/doc/guix.texi:16346
  3740. #, no-wrap
  3741. msgid "Services"
  3742. msgstr "Serviços"
  3743. #. type: menuentry
  3744. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3745. msgid "Specifying system services."
  3746. msgstr "Especificando serviços de sistema."
  3747. #. type: section
  3748. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3749. #: guix-git/doc/guix.texi:34607 guix-git/doc/guix.texi:34608
  3750. #, no-wrap
  3751. msgid "Setuid Programs"
  3752. msgstr "Programas setuid"
  3753. #. type: menuentry
  3754. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3755. msgid "Programs running with root privileges."
  3756. msgstr "Programas sendo executados com privilégios de root."
  3757. #. type: section
  3758. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:2017
  3759. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:34693
  3760. #: guix-git/doc/guix.texi:34694
  3761. #, no-wrap
  3762. msgid "X.509 Certificates"
  3763. msgstr "Certificados X.509"
  3764. #. type: menuentry
  3765. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3766. msgid "Authenticating HTTPS servers."
  3767. msgstr "Autenticando servidores HTTPS."
  3768. #. type: section
  3769. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:1911
  3770. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:34756
  3771. #: guix-git/doc/guix.texi:34757
  3772. #, no-wrap
  3773. msgid "Name Service Switch"
  3774. msgstr "Name Service Switch"
  3775. #. type: menuentry
  3776. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3777. msgid "Configuring libc's name service switch."
  3778. msgstr "Configurando name service switch do libc."
  3779. #. type: section
  3780. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3781. #: guix-git/doc/guix.texi:34894 guix-git/doc/guix.texi:34895
  3782. #, no-wrap
  3783. msgid "Initial RAM Disk"
  3784. msgstr "Disco de RAM inicial"
  3785. #. type: menuentry
  3786. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3787. msgid "Linux-Libre bootstrapping."
  3788. msgstr "Inicialização do Linux-Libre."
  3789. #. type: section
  3790. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3791. #: guix-git/doc/guix.texi:35089 guix-git/doc/guix.texi:35090
  3792. #, no-wrap
  3793. msgid "Bootloader Configuration"
  3794. msgstr "Configuração do carregador de inicialização"
  3795. #. type: menuentry
  3796. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3797. msgid "Configuring the boot loader."
  3798. msgstr "Configurando o \"bootloader\"."
  3799. #. type: node
  3800. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3801. #: guix-git/doc/guix.texi:35387
  3802. #, no-wrap
  3803. msgid "Invoking guix system"
  3804. msgstr "Invocando guix system"
  3805. #. type: menuentry
  3806. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3807. msgid "Instantiating a system configuration."
  3808. msgstr "Inicializando uma configuração de sistema."
  3809. #. type: node
  3810. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3811. #: guix-git/doc/guix.texi:35995
  3812. #, no-wrap
  3813. msgid "Invoking guix deploy"
  3814. msgstr ""
  3815. #. type: menuentry
  3816. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3817. msgid "Deploying a system configuration to a remote host."
  3818. msgstr ""
  3819. #. type: node
  3820. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3821. #: guix-git/doc/guix.texi:36235
  3822. #, no-wrap
  3823. msgid "Running Guix in a VM"
  3824. msgstr "Executando Guix em uma VM"
  3825. #. type: menuentry
  3826. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3827. msgid "How to run Guix System in a virtual machine."
  3828. msgstr "Como executar Guix System em uma máquina virtual."
  3829. #. type: section
  3830. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:382
  3831. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:36369
  3832. #: guix-git/doc/guix.texi:36370
  3833. #, no-wrap
  3834. msgid "Defining Services"
  3835. msgstr "Definindo serviços"
  3836. #. type: menuentry
  3837. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3838. msgid "Adding new service definitions."
  3839. msgstr "Adicionando novas definições de serviço."
  3840. #. type: menuentry
  3841. #: guix-git/doc/guix.texi:342
  3842. #, fuzzy
  3843. #| msgid "System Configuration"
  3844. msgid "Home Environment Configuration"
  3845. msgstr "Configuração do sistema"
  3846. #. type: node
  3847. #: guix-git/doc/guix.texi:344 guix-git/doc/guix.texi:37548
  3848. #: guix-git/doc/guix.texi:38168
  3849. #, fuzzy, no-wrap
  3850. #| msgid "Invoking guix hash"
  3851. msgid "Invoking guix home"
  3852. msgstr "Invocando guix hash"
  3853. #. type: menuentry
  3854. #: guix-git/doc/guix.texi:344
  3855. #, fuzzy
  3856. #| msgid "Instantiating a system configuration."
  3857. msgid "Instantiating a home environment configuration."
  3858. msgstr "Inicializando uma configuração de sistema."
  3859. #. type: subsection
  3860. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3861. #: guix-git/doc/guix.texi:16431 guix-git/doc/guix.texi:16432
  3862. #, no-wrap
  3863. msgid "Base Services"
  3864. msgstr "Serviços base"
  3865. #. type: menuentry
  3866. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3867. msgid "Essential system services."
  3868. msgstr "Serviços essenciais do sistema."
  3869. #. type: subsection
  3870. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3871. #: guix-git/doc/guix.texi:17367 guix-git/doc/guix.texi:17368
  3872. #, no-wrap
  3873. msgid "Scheduled Job Execution"
  3874. msgstr "Execução de trabalho agendado"
  3875. #. type: menuentry
  3876. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3877. msgid "The mcron service."
  3878. msgstr "O serviço mcron."
  3879. #. type: subsection
  3880. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3881. #: guix-git/doc/guix.texi:17517 guix-git/doc/guix.texi:17518
  3882. #, no-wrap
  3883. msgid "Log Rotation"
  3884. msgstr "Rotação de log"
  3885. #. type: menuentry
  3886. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3887. msgid "The rottlog service."
  3888. msgstr "O serviço rottlog."
  3889. #. type: subsection
  3890. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3891. #: guix-git/doc/guix.texi:17630 guix-git/doc/guix.texi:17631
  3892. #, fuzzy, no-wrap
  3893. #| msgid "Networking"
  3894. msgid "Networking Setup"
  3895. msgstr "Rede"
  3896. #. type: menuentry
  3897. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3898. msgid "Setting up network interfaces."
  3899. msgstr "Configurando interfaces de rede."
  3900. #. type: subsection
  3901. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3902. #: guix-git/doc/guix.texi:18048 guix-git/doc/guix.texi:18049
  3903. #, no-wrap
  3904. msgid "Networking Services"
  3905. msgstr "Serviços de Rede"
  3906. #. type: menuentry
  3907. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3908. #, fuzzy
  3909. #| msgid "Network setup, SSH daemon, etc."
  3910. msgid "Firewall, SSH daemon, etc."
  3911. msgstr "Configuração de rede, daemon SSH, etc."
  3912. #. type: subsection
  3913. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3914. #: guix-git/doc/guix.texi:19507 guix-git/doc/guix.texi:19508
  3915. #, no-wrap
  3916. msgid "Unattended Upgrades"
  3917. msgstr ""
  3918. #. type: menuentry
  3919. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3920. msgid "Automated system upgrades."
  3921. msgstr ""
  3922. #. type: subsection
  3923. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3924. #: guix-git/doc/guix.texi:19645 guix-git/doc/guix.texi:19646
  3925. #, no-wrap
  3926. msgid "X Window"
  3927. msgstr "X Window"
  3928. #. type: menuentry
  3929. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3930. msgid "Graphical display."
  3931. msgstr "Exibição gráfica."
  3932. #. type: subsection
  3933. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3934. #: guix-git/doc/guix.texi:20043 guix-git/doc/guix.texi:20044
  3935. #, no-wrap
  3936. msgid "Printing Services"
  3937. msgstr "Serviços de impressão"
  3938. #. type: menuentry
  3939. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3940. msgid "Local and remote printer support."
  3941. msgstr "Suporte a impressora local e remota."
  3942. #. type: subsection
  3943. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3944. #: guix-git/doc/guix.texi:20896 guix-git/doc/guix.texi:20897
  3945. #, no-wrap
  3946. msgid "Desktop Services"
  3947. msgstr "Serviços de desktop"
  3948. #. type: menuentry
  3949. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3950. msgid "D-Bus and desktop services."
  3951. msgstr "Serviços de D-Bus e desktop."
  3952. #. type: subsection
  3953. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3954. #: guix-git/doc/guix.texi:21415 guix-git/doc/guix.texi:21416
  3955. #, no-wrap
  3956. msgid "Sound Services"
  3957. msgstr "Serviços de som"
  3958. #. type: menuentry
  3959. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3960. msgid "ALSA and Pulseaudio services."
  3961. msgstr "Serviços ALSA e Pulseaudio."
  3962. #. type: subsection
  3963. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3964. #: guix-git/doc/guix.texi:21588 guix-git/doc/guix.texi:21589
  3965. #, no-wrap
  3966. msgid "Database Services"
  3967. msgstr "Serviços de bancos de dados"
  3968. #. type: menuentry
  3969. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3970. msgid "SQL databases, key-value stores, etc."
  3971. msgstr "Banco de dados SQL, armazenamentos de valor chave, etc."
  3972. #. type: subsection
  3973. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3974. #: guix-git/doc/guix.texi:21923 guix-git/doc/guix.texi:21924
  3975. #, no-wrap
  3976. msgid "Mail Services"
  3977. msgstr "Serviços de correio"
  3978. #. type: menuentry
  3979. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3980. msgid "IMAP, POP3, SMTP, and all that."
  3981. msgstr "IMAP, POP3, SMTP e tudo isso."
  3982. #. type: subsection
  3983. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3984. #: guix-git/doc/guix.texi:23782 guix-git/doc/guix.texi:23783
  3985. #, no-wrap
  3986. msgid "Messaging Services"
  3987. msgstr "Serviços de mensageria"
  3988. #. type: menuentry
  3989. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3990. msgid "Messaging services."
  3991. msgstr "Serviços de mensageria."
  3992. #. type: subsection
  3993. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3994. #: guix-git/doc/guix.texi:24285 guix-git/doc/guix.texi:24286
  3995. #, no-wrap
  3996. msgid "Telephony Services"
  3997. msgstr "Serviços de telefonia"
  3998. #. type: menuentry
  3999. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4000. msgid "Telephony services."
  4001. msgstr "Serviços de telefonia."
  4002. #. type: subsection
  4003. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4004. #: guix-git/doc/guix.texi:25516 guix-git/doc/guix.texi:25517
  4005. #, no-wrap
  4006. msgid "Monitoring Services"
  4007. msgstr "Serviços de monitoramento"
  4008. #. type: menuentry
  4009. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4010. msgid "Monitoring services."
  4011. msgstr "Serviços de monitoramento."
  4012. #. type: subsection
  4013. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4014. #: guix-git/doc/guix.texi:25937 guix-git/doc/guix.texi:25938
  4015. #, no-wrap
  4016. msgid "Kerberos Services"
  4017. msgstr "Serviços Kerberos"
  4018. #. type: menuentry
  4019. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4020. msgid "Kerberos services."
  4021. msgstr "Serviços Kerberos."
  4022. #. type: subsection
  4023. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4024. #: guix-git/doc/guix.texi:26063 guix-git/doc/guix.texi:26064
  4025. #, no-wrap
  4026. msgid "LDAP Services"
  4027. msgstr ""
  4028. #. type: menuentry
  4029. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4030. msgid "LDAP services."
  4031. msgstr ""
  4032. #. type: subsection
  4033. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4034. #: guix-git/doc/guix.texi:26542 guix-git/doc/guix.texi:26543
  4035. #, no-wrap
  4036. msgid "Web Services"
  4037. msgstr "Serviços Web"
  4038. #. type: menuentry
  4039. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4040. msgid "Web servers."
  4041. msgstr "Servidores Web."
  4042. #. type: subsection
  4043. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4044. #: guix-git/doc/guix.texi:27753 guix-git/doc/guix.texi:27754
  4045. #, no-wrap
  4046. msgid "Certificate Services"
  4047. msgstr "Serviços de certificado"
  4048. #. type: menuentry
  4049. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4050. msgid "TLS certificates via Let's Encrypt."
  4051. msgstr "Certificados TLS via Let's Encrypt."
  4052. #. type: subsection
  4053. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4054. #: guix-git/doc/guix.texi:27934 guix-git/doc/guix.texi:27935
  4055. #, no-wrap
  4056. msgid "DNS Services"
  4057. msgstr "Serviços DNS"
  4058. #. type: menuentry
  4059. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4060. msgid "DNS daemons."
  4061. msgstr "Deamons DNS."
  4062. #. type: subsection
  4063. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4064. #: guix-git/doc/guix.texi:28679 guix-git/doc/guix.texi:28680
  4065. #, no-wrap
  4066. msgid "VPN Services"
  4067. msgstr "Serviços VPN"
  4068. #. type: menuentry
  4069. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4070. msgid "VPN daemons."
  4071. msgstr "Deamons VPN."
  4072. #. type: subsection
  4073. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4074. #: guix-git/doc/guix.texi:29191 guix-git/doc/guix.texi:29192
  4075. #, no-wrap
  4076. msgid "Network File System"
  4077. msgstr "Sistema de arquivos de rede"
  4078. #. type: menuentry
  4079. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4080. msgid "NFS related services."
  4081. msgstr "Serviços relacionados a NFS."
  4082. #. type: subsection
  4083. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4084. #: guix-git/doc/guix.texi:29387 guix-git/doc/guix.texi:29388
  4085. #, no-wrap
  4086. msgid "Continuous Integration"
  4087. msgstr "Integração contínua"
  4088. #. type: menuentry
  4089. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4090. #, fuzzy
  4091. msgid "Cuirass and Laminar services."
  4092. msgstr "O serviço Cuirass."
  4093. #. type: subsection
  4094. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4095. #: guix-git/doc/guix.texi:29673 guix-git/doc/guix.texi:29674
  4096. #, no-wrap
  4097. msgid "Power Management Services"
  4098. msgstr "Serviços de gerenciamento de energia"
  4099. #. type: menuentry
  4100. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4101. msgid "Extending battery life."
  4102. msgstr "Estendendo a vida da bateria."
  4103. #. type: subsection
  4104. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4105. #: guix-git/doc/guix.texi:30235 guix-git/doc/guix.texi:30236
  4106. #, no-wrap
  4107. msgid "Audio Services"
  4108. msgstr "Serviços de áudio"
  4109. #. type: menuentry
  4110. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4111. msgid "The MPD."
  4112. msgstr "O MPD."
  4113. #. type: subsection
  4114. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4115. #: guix-git/doc/guix.texi:30354 guix-git/doc/guix.texi:30355
  4116. #, no-wrap
  4117. msgid "Virtualization Services"
  4118. msgstr "Serviços de virtualização"
  4119. #. type: menuentry
  4120. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4121. msgid "Virtualization services."
  4122. msgstr "Serviços de virtualização."
  4123. #. type: subsection
  4124. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4125. #: guix-git/doc/guix.texi:32026 guix-git/doc/guix.texi:32027
  4126. #, no-wrap
  4127. msgid "Version Control Services"
  4128. msgstr "Serviços de controlando versão"
  4129. #. type: menuentry
  4130. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4131. msgid "Providing remote access to Git repositories."
  4132. msgstr "Fornecendo acesso remoto a repositórios Git."
  4133. #. type: subsection
  4134. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4135. #: guix-git/doc/guix.texi:33362 guix-git/doc/guix.texi:33363
  4136. #, no-wrap
  4137. msgid "Game Services"
  4138. msgstr "Serviços de jogos"
  4139. #. type: menuentry
  4140. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4141. msgid "Game servers."
  4142. msgstr "Servidores de jogos."
  4143. #. type: subsection
  4144. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4145. #: guix-git/doc/guix.texi:33394 guix-git/doc/guix.texi:33395
  4146. #, no-wrap
  4147. msgid "PAM Mount Service"
  4148. msgstr ""
  4149. #. type: menuentry
  4150. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4151. msgid "Service to mount volumes when logging in."
  4152. msgstr ""
  4153. #. type: subsection
  4154. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4155. #: guix-git/doc/guix.texi:33477 guix-git/doc/guix.texi:33478
  4156. #, no-wrap
  4157. msgid "Guix Services"
  4158. msgstr ""
  4159. #. type: menuentry
  4160. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4161. msgid "Services relating specifically to Guix."
  4162. msgstr ""
  4163. #. type: subsection
  4164. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4165. #: guix-git/doc/guix.texi:33841 guix-git/doc/guix.texi:33842
  4166. #, no-wrap
  4167. msgid "Linux Services"
  4168. msgstr ""
  4169. #. type: menuentry
  4170. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4171. msgid "Services tied to the Linux kernel."
  4172. msgstr ""
  4173. #. type: subsection
  4174. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4175. #: guix-git/doc/guix.texi:34068 guix-git/doc/guix.texi:34069
  4176. #, no-wrap
  4177. msgid "Hurd Services"
  4178. msgstr ""
  4179. #. type: menuentry
  4180. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4181. msgid "Services specific for a Hurd System."
  4182. msgstr ""
  4183. #. type: subsection
  4184. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4185. #: guix-git/doc/guix.texi:34110 guix-git/doc/guix.texi:34111
  4186. #, no-wrap
  4187. msgid "Miscellaneous Services"
  4188. msgstr "Serviços diversos"
  4189. #. type: menuentry
  4190. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4191. msgid "Other services."
  4192. msgstr "Outros serviços."
  4193. #. type: subsection
  4194. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4195. #: guix-git/doc/guix.texi:36384 guix-git/doc/guix.texi:36385
  4196. #, no-wrap
  4197. msgid "Service Composition"
  4198. msgstr "Composição de serviço"
  4199. #. type: menuentry
  4200. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4201. msgid "The model for composing services."
  4202. msgstr "O modelo para serviços de composição."
  4203. #. type: subsection
  4204. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4205. #: guix-git/doc/guix.texi:36440 guix-git/doc/guix.texi:36441
  4206. #, no-wrap
  4207. msgid "Service Types and Services"
  4208. msgstr "Tipos de Service e Serviços"
  4209. #. type: menuentry
  4210. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4211. msgid "Types and services."
  4212. msgstr "Tipos e serviços."
  4213. #. type: subsection
  4214. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4215. #: guix-git/doc/guix.texi:36577 guix-git/doc/guix.texi:36578
  4216. #, no-wrap
  4217. msgid "Service Reference"
  4218. msgstr "Referência de Service"
  4219. #. type: menuentry
  4220. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4221. msgid "API reference."
  4222. msgstr "Referência de API."
  4223. #. type: subsection
  4224. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4225. #: guix-git/doc/guix.texi:36896 guix-git/doc/guix.texi:36897
  4226. #, no-wrap
  4227. msgid "Shepherd Services"
  4228. msgstr "Serviços de Shepherd"
  4229. #. type: menuentry
  4230. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4231. msgid "A particular type of service."
  4232. msgstr "Um tipo em particular de serviço."
  4233. #. type: subsection
  4234. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4235. #: guix-git/doc/guix.texi:37115 guix-git/doc/guix.texi:37116
  4236. #, fuzzy, no-wrap
  4237. #| msgid "System Configuration"
  4238. msgid "Complex Configurations"
  4239. msgstr "Configuração do sistema"
  4240. #. type: menuentry
  4241. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4242. #, fuzzy
  4243. #| msgid "Instantiating a system configuration."
  4244. msgid "Defining bindings for complex configurations."
  4245. msgstr "Inicializando uma configuração de sistema."
  4246. #. type: section
  4247. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4248. #: guix-git/doc/guix.texi:38489 guix-git/doc/guix.texi:38490
  4249. #, no-wrap
  4250. msgid "Separate Debug Info"
  4251. msgstr ""
  4252. #. type: menuentry
  4253. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4254. msgid "Installing 'debug' outputs."
  4255. msgstr ""
  4256. #. type: section
  4257. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4258. #: guix-git/doc/guix.texi:38562 guix-git/doc/guix.texi:38563
  4259. #, no-wrap
  4260. msgid "Rebuilding Debug Info"
  4261. msgstr ""
  4262. #. type: menuentry
  4263. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4264. msgid "Building missing debug info."
  4265. msgstr ""
  4266. #. type: node
  4267. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4268. #: guix-git/doc/guix.texi:38781
  4269. #, no-wrap
  4270. msgid "Reduced Binary Seed Bootstrap"
  4271. msgstr ""
  4272. #. type: menuentry
  4273. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4274. msgid "A Bootstrap worthy of GNU."
  4275. msgstr ""
  4276. #. type: section
  4277. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4278. #: guix-git/doc/guix.texi:38856 guix-git/doc/guix.texi:38857
  4279. #, no-wrap
  4280. msgid "Preparing to Use the Bootstrap Binaries"
  4281. msgstr ""
  4282. #. type: menuentry
  4283. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4284. msgid "Building that what matters most."
  4285. msgstr ""
  4286. #. type: cindex
  4287. #: guix-git/doc/guix.texi:406
  4288. #, no-wrap
  4289. msgid "purpose"
  4290. msgstr "propósito"
  4291. #. type: Plain text
  4292. #: guix-git/doc/guix.texi:414
  4293. 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."
  4294. 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."
  4295. #. type: cindex
  4296. #: guix-git/doc/guix.texi:415 guix-git/doc/guix.texi:490
  4297. #, no-wrap
  4298. msgid "Guix System"
  4299. msgstr "Guix System"
  4300. #. type: cindex
  4301. #: guix-git/doc/guix.texi:416
  4302. #, no-wrap
  4303. msgid "GuixSD, now Guix System"
  4304. msgstr "GuixSD, agora Guix System"
  4305. #. type: cindex
  4306. #: guix-git/doc/guix.texi:417
  4307. #, no-wrap
  4308. msgid "Guix System Distribution, now Guix System"
  4309. msgstr "Guix System Distribution, agora Guix System"
  4310. #. type: Plain text
  4311. #: guix-git/doc/guix.texi:426
  4312. 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}."
  4313. 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}."
  4314. #. type: cindex
  4315. #: guix-git/doc/guix.texi:435
  4316. #, no-wrap
  4317. msgid "user interfaces"
  4318. msgstr "interfaces de usuário"
  4319. #. type: Plain text
  4320. #: guix-git/doc/guix.texi:441
  4321. 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})."
  4322. msgstr ""
  4323. #. type: cindex
  4324. #: guix-git/doc/guix.texi:441
  4325. #, no-wrap
  4326. msgid "build daemon"
  4327. msgstr "build daemon"
  4328. #. type: Plain text
  4329. #: guix-git/doc/guix.texi:445
  4330. 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})."
  4331. 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})."
  4332. #. type: cindex
  4333. #: guix-git/doc/guix.texi:446
  4334. #, no-wrap
  4335. msgid "extensibility of the distribution"
  4336. msgstr "extensibilidade da distribuição"
  4337. #. type: cindex
  4338. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:6929
  4339. #, no-wrap
  4340. msgid "customization, of packages"
  4341. msgstr "personalização, de pacotes"
  4342. #. type: Plain text
  4343. #: guix-git/doc/guix.texi:456
  4344. 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})."
  4345. 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})."
  4346. #. type: cindex
  4347. #: guix-git/doc/guix.texi:457
  4348. #, no-wrap
  4349. msgid "functional package management"
  4350. msgstr "gerenciamento de pacotes funcional"
  4351. #. type: cindex
  4352. #: guix-git/doc/guix.texi:458
  4353. #, no-wrap
  4354. msgid "isolation"
  4355. msgstr "isolação"
  4356. #. type: Plain text
  4357. #: guix-git/doc/guix.texi:473
  4358. 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."
  4359. 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."
  4360. #. type: cindex
  4361. #: guix-git/doc/guix.texi:474 guix-git/doc/guix.texi:9790
  4362. #, no-wrap
  4363. msgid "store"
  4364. msgstr "armazém"
  4365. #. type: Plain text
  4366. #: guix-git/doc/guix.texi:481
  4367. 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."
  4368. 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."
  4369. #. type: Plain text
  4370. #: guix-git/doc/guix.texi:485
  4371. 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})."
  4372. 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})."
  4373. #. type: Plain text
  4374. #: guix-git/doc/guix.texi:500
  4375. 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."
  4376. 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."
  4377. #. type: Plain text
  4378. #: guix-git/doc/guix.texi:506
  4379. 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}):"
  4380. 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}):"
  4381. #. type: example
  4382. #: guix-git/doc/guix.texi:509
  4383. #, no-wrap
  4384. msgid "guix package --list-available\n"
  4385. msgstr "guix package --list-available\n"
  4386. #. type: Plain text
  4387. #: guix-git/doc/guix.texi:515
  4388. 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."
  4389. 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."
  4390. #. type: Plain text
  4391. #: guix-git/doc/guix.texi:517
  4392. msgid "Packages are currently available on the following platforms:"
  4393. msgstr "Os pacotes estão atualmente disponíveis nas seguintes plataformas:"
  4394. #. type: item
  4395. #: guix-git/doc/guix.texi:520 guix-git/doc/guix.texi:2188
  4396. #, no-wrap
  4397. msgid "x86_64-linux"
  4398. msgstr "x86_64-linux"
  4399. #. type: table
  4400. #: guix-git/doc/guix.texi:522
  4401. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  4402. msgstr ""
  4403. #. type: item
  4404. #: guix-git/doc/guix.texi:523 guix-git/doc/guix.texi:2191
  4405. #, no-wrap
  4406. msgid "i686-linux"
  4407. msgstr "i686-linux"
  4408. #. type: table
  4409. #: guix-git/doc/guix.texi:525
  4410. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  4411. msgstr ""
  4412. #. type: item
  4413. #: guix-git/doc/guix.texi:526
  4414. #, no-wrap
  4415. msgid "armhf-linux"
  4416. msgstr "armhf-linux"
  4417. #. type: table
  4418. #: guix-git/doc/guix.texi:530
  4419. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  4420. 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."
  4421. #. type: item
  4422. #: guix-git/doc/guix.texi:531
  4423. #, no-wrap
  4424. msgid "aarch64-linux"
  4425. msgstr "aarch64-linux"
  4426. #. type: table
  4427. #: guix-git/doc/guix.texi:533
  4428. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  4429. msgstr ""
  4430. #. type: item
  4431. #: guix-git/doc/guix.texi:534
  4432. #, no-wrap
  4433. msgid "i586-gnu"
  4434. msgstr ""
  4435. #. type: table
  4436. #: guix-git/doc/guix.texi:537
  4437. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  4438. msgstr ""
  4439. #. type: table
  4440. #: guix-git/doc/guix.texi:543
  4441. 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!"
  4442. msgstr ""
  4443. #. type: item
  4444. #: guix-git/doc/guix.texi:544
  4445. #, no-wrap
  4446. msgid "mips64el-linux (unsupported)"
  4447. msgstr ""
  4448. #. type: table
  4449. #: guix-git/doc/guix.texi:550
  4450. 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."
  4451. msgstr ""
  4452. #. type: item
  4453. #: guix-git/doc/guix.texi:551
  4454. #, no-wrap
  4455. msgid "powerpc-linux (unsupported)"
  4456. msgstr ""
  4457. #. type: table
  4458. #: guix-git/doc/guix.texi:556
  4459. 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."
  4460. msgstr ""
  4461. #. type: table
  4462. #: guix-git/doc/guix.texi:567
  4463. 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!"
  4464. msgstr ""
  4465. #. type: item
  4466. #: guix-git/doc/guix.texi:568
  4467. #, fuzzy, no-wrap
  4468. #| msgid "aarch64-linux"
  4469. msgid "riscv64-linux"
  4470. msgstr "aarch64-linux"
  4471. #. type: table
  4472. #: guix-git/doc/guix.texi:576
  4473. msgid "little-endian 64-bit RISC-V processors, specifically RV64GC, and Linux-Libre kernel. This playform 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!"
  4474. msgstr ""
  4475. #. type: Plain text
  4476. #: guix-git/doc/guix.texi:586
  4477. 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."
  4478. 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."
  4479. #. type: Plain text
  4480. #: guix-git/doc/guix.texi:590
  4481. #, fuzzy
  4482. msgid "Guix System is available on all the above platforms except @code{mips64el-linux}, @code{powerpc-linux}, @code{powerpc64le-linux} and @code{riscv64-linux}."
  4483. msgstr "O Guix System está disponível em todas as plataformas acima, exceto @code{mips64el-linux}."
  4484. #. type: Plain text
  4485. #: guix-git/doc/guix.texi:594
  4486. msgid "For information on porting to other architectures or kernels, @pxref{Porting}."
  4487. msgstr "Para obter informações sobre como portar para outras arquiteturas ou kernels, @pxref{Portando}."
  4488. #. type: Plain text
  4489. #: guix-git/doc/guix.texi:597
  4490. msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help."
  4491. 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."
  4492. #. type: cindex
  4493. #: guix-git/doc/guix.texi:603
  4494. #, no-wrap
  4495. msgid "installing Guix"
  4496. msgstr "instalando Guix"
  4497. #. type: quotation
  4498. #: guix-git/doc/guix.texi:615
  4499. 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."
  4500. 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."
  4501. #. type: cindex
  4502. #: guix-git/doc/guix.texi:617 guix-git/doc/guix.texi:1847
  4503. #, no-wrap
  4504. msgid "foreign distro"
  4505. msgstr "distro alheia"
  4506. #. type: cindex
  4507. #: guix-git/doc/guix.texi:618
  4508. #, no-wrap
  4509. msgid "directories related to foreign distro"
  4510. msgstr "diretórios relacionados à distro alheia"
  4511. #. type: Plain text
  4512. #: guix-git/doc/guix.texi:623
  4513. 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."
  4514. 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."
  4515. #. type: Plain text
  4516. #: guix-git/doc/guix.texi:626
  4517. msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})."
  4518. msgstr "Uma vez instalado, o Guix pode ser atualizado executando @command{guix pull} (@pxref{Invocando guix pull})."
  4519. #. type: Plain text
  4520. #: guix-git/doc/guix.texi:631
  4521. 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."
  4522. 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."
  4523. #. type: cindex
  4524. #: guix-git/doc/guix.texi:645
  4525. #, no-wrap
  4526. msgid "installing Guix from binaries"
  4527. msgstr "instalando Guix de binários"
  4528. #. type: cindex
  4529. #: guix-git/doc/guix.texi:646
  4530. #, no-wrap
  4531. msgid "installer script"
  4532. msgstr "script de instalação"
  4533. #. type: Plain text
  4534. #: guix-git/doc/guix.texi:652
  4535. 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."
  4536. 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."
  4537. #. type: quotation
  4538. #: guix-git/doc/guix.texi:660
  4539. 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:"
  4540. msgstr ""
  4541. #. type: example
  4542. #: guix-git/doc/guix.texi:666
  4543. #, no-wrap
  4544. msgid ""
  4545. "cd /tmp\n"
  4546. "wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh\n"
  4547. "chmod +x guix-install.sh\n"
  4548. "./guix-install.sh\n"
  4549. msgstr ""
  4550. #. type: quotation
  4551. #: guix-git/doc/guix.texi:670
  4552. msgid "When you're done, @pxref{Application Setup} for extra configuration you might need, and @ref{Getting Started} for your first steps!"
  4553. msgstr ""
  4554. #. type: Plain text
  4555. #: guix-git/doc/guix.texi:673
  4556. msgid "Installing goes along these lines:"
  4557. msgstr "A instalação segue as seguintes linhas:"
  4558. #. type: cindex
  4559. #: guix-git/doc/guix.texi:676
  4560. #, no-wrap
  4561. msgid "downloading Guix binary"
  4562. msgstr "baixando binário do Guix"
  4563. #. type: enumerate
  4564. #: guix-git/doc/guix.texi:682
  4565. 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})."
  4566. msgstr ""
  4567. #. type: enumerate
  4568. #: guix-git/doc/guix.texi:686
  4569. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:"
  4570. msgstr "Certifique-se de baixar o arquivo @file{.sig} associado e verificar a autenticidade do tarball, seguindo estas linhas:"
  4571. #. type: example
  4572. #: guix-git/doc/guix.texi:690
  4573. #, no-wrap
  4574. msgid ""
  4575. "$ wget @value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4576. "$ gpg --verify guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4577. msgstr ""
  4578. #. type: Plain text
  4579. #: guix-git/doc/guix.texi:694 guix-git/doc/guix.texi:2206
  4580. msgid "If that command fails because you do not have the required public key, then run this command to import it:"
  4581. msgstr "Se esse comando falhar porque você não possui a chave pública requerida, execute este comando para importá-lo:"
  4582. #. type: example
  4583. #: guix-git/doc/guix.texi:698
  4584. #, no-wrap
  4585. msgid ""
  4586. "$ wget '@value{OPENPGP-SIGNING-KEY-URL}' \\\n"
  4587. " -qO - | gpg --import -\n"
  4588. msgstr ""
  4589. #. type: Plain text
  4590. #: guix-git/doc/guix.texi:702 guix-git/doc/guix.texi:2214
  4591. msgid "and rerun the @code{gpg --verify} command."
  4592. msgstr "e execute novamente o comando @code{gpg --verify}."
  4593. #. type: Plain text
  4594. #: guix-git/doc/guix.texi:705 guix-git/doc/guix.texi:2217
  4595. msgid "Take note that a warning like ``This key is not certified with a trusted signature!'' is normal."
  4596. msgstr ""
  4597. #. type: enumerate
  4598. #: guix-git/doc/guix.texi:711
  4599. 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:"
  4600. 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:"
  4601. #. type: example
  4602. #: guix-git/doc/guix.texi:717
  4603. #, no-wrap
  4604. msgid ""
  4605. "# cd /tmp\n"
  4606. "# tar --warning=no-timestamp -xf \\\n"
  4607. " /path/to/guix-binary-@value{VERSION}.x86_64-linux.tar.xz\n"
  4608. "# mv var/guix /var/ && mv gnu /\n"
  4609. msgstr ""
  4610. #. type: enumerate
  4611. #: guix-git/doc/guix.texi:722
  4612. 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)."
  4613. msgstr ""
  4614. #. type: enumerate
  4615. #: guix-git/doc/guix.texi:725
  4616. msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files."
  4617. msgstr "@emph{Não} descompacte o tarball em um sistema Guix funcional, pois isso substituiria seus próprios arquivos essenciais."
  4618. #. type: enumerate
  4619. #: guix-git/doc/guix.texi:735
  4620. 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."
  4621. msgstr ""
  4622. #. type: enumerate
  4623. #: guix-git/doc/guix.texi:739
  4624. msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):"
  4625. 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}):"
  4626. #. type: example
  4627. #: guix-git/doc/guix.texi:744
  4628. #, no-wrap
  4629. msgid ""
  4630. "# mkdir -p ~root/.config/guix\n"
  4631. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  4632. " ~root/.config/guix/current\n"
  4633. msgstr ""
  4634. "# mkdir -p ~root/.config/guix\n"
  4635. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  4636. " ~root/.config/guix/current\n"
  4637. #. type: enumerate
  4638. #: guix-git/doc/guix.texi:748
  4639. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  4640. msgstr ""
  4641. #. type: example
  4642. #: guix-git/doc/guix.texi:752
  4643. #, no-wrap
  4644. msgid ""
  4645. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  4646. " source $GUIX_PROFILE/etc/profile\n"
  4647. msgstr ""
  4648. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  4649. " source $GUIX_PROFILE/etc/profile\n"
  4650. #. type: enumerate
  4651. #: guix-git/doc/guix.texi:757
  4652. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  4653. msgstr "Crie o grupo e contas de usuário para compilar usuários conforme explicado abaixo (@pxref{Configuração do ambiente de compilação})."
  4654. #. type: enumerate
  4655. #: guix-git/doc/guix.texi:760
  4656. msgid "Run the daemon, and set it to automatically start on boot."
  4657. msgstr "Execute o daemon e configure-o para iniciar automaticamente na inicialização do sistema."
  4658. #. type: enumerate
  4659. #: guix-git/doc/guix.texi:763
  4660. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  4661. msgstr "Se sua distro hospedeira usa o sistema init systemd, isso pode ser obtido com estes comandos:"
  4662. #. type: example
  4663. #: guix-git/doc/guix.texi:776
  4664. #, no-wrap
  4665. msgid ""
  4666. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  4667. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  4668. " /etc/systemd/system/\n"
  4669. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  4670. msgstr ""
  4671. #. type: enumerate
  4672. #: guix-git/doc/guix.texi:779
  4673. msgid "You may also want to arrange for @command{guix gc} to run periodically:"
  4674. msgstr ""
  4675. #. type: example
  4676. #: guix-git/doc/guix.texi:785
  4677. #, no-wrap
  4678. msgid ""
  4679. "# cp ~root/.config/guix/current/lib/systemd/system/guix-gc.service \\\n"
  4680. " ~root/.config/guix/current/lib/systemd/system/guix-gc.timer \\\n"
  4681. " /etc/systemd/system/\n"
  4682. "# systemctl enable --now guix-gc.timer\n"
  4683. msgstr ""
  4684. #. type: enumerate
  4685. #: guix-git/doc/guix.texi:789
  4686. msgid "You may want to edit @file{guix-gc.service} to adjust the command line options to fit your needs (@pxref{Invoking guix gc})."
  4687. msgstr ""
  4688. #. type: itemize
  4689. #: guix-git/doc/guix.texi:791 guix-git/doc/guix.texi:14201
  4690. msgid "If your host distro uses the Upstart init system:"
  4691. msgstr "Se sua distro hospedeira usa o sistema init Upstart:"
  4692. #. type: example
  4693. #: guix-git/doc/guix.texi:797
  4694. #, no-wrap
  4695. msgid ""
  4696. "# initctl reload-configuration\n"
  4697. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  4698. " /etc/init/\n"
  4699. "# start guix-daemon\n"
  4700. msgstr ""
  4701. "# initctl reload-configuration\n"
  4702. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  4703. " /etc/init/\n"
  4704. "# start guix-daemon\n"
  4705. #. type: enumerate
  4706. #: guix-git/doc/guix.texi:800
  4707. msgid "Otherwise, you can still start the daemon manually with:"
  4708. msgstr "Caso contrário, você ainda pode iniciar o daemon manualmente com:"
  4709. #. type: example
  4710. #: guix-git/doc/guix.texi:804
  4711. #, no-wrap
  4712. msgid ""
  4713. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  4714. " --build-users-group=guixbuild\n"
  4715. msgstr ""
  4716. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  4717. " --build-users-group=guixbuild\n"
  4718. #. type: enumerate
  4719. #: guix-git/doc/guix.texi:809
  4720. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  4721. msgstr "Disponibilize o comando @command{guix} para outros usuários na máquina, por exemplo, com:"
  4722. #. type: example
  4723. #: guix-git/doc/guix.texi:814
  4724. #, no-wrap
  4725. msgid ""
  4726. "# mkdir -p /usr/local/bin\n"
  4727. "# cd /usr/local/bin\n"
  4728. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  4729. msgstr ""
  4730. "# mkdir -p /usr/local/bin\n"
  4731. "# cd /usr/local/bin\n"
  4732. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  4733. #. type: enumerate
  4734. #: guix-git/doc/guix.texi:818
  4735. msgid "It is also a good idea to make the Info version of this manual available there:"
  4736. msgstr "Também é uma boa ideia disponibilizar a versão Info deste manual:"
  4737. #. type: example
  4738. #: guix-git/doc/guix.texi:824
  4739. #, no-wrap
  4740. msgid ""
  4741. "# mkdir -p /usr/local/share/info\n"
  4742. "# cd /usr/local/share/info\n"
  4743. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  4744. " do ln -s $i ; done\n"
  4745. msgstr ""
  4746. "# mkdir -p /usr/local/share/info\n"
  4747. "# cd /usr/local/share/info\n"
  4748. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  4749. " do ln -s $i ; done\n"
  4750. #. type: enumerate
  4751. #: guix-git/doc/guix.texi:830
  4752. 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)."
  4753. msgstr ""
  4754. #. type: cindex
  4755. #: guix-git/doc/guix.texi:832 guix-git/doc/guix.texi:3832
  4756. #: guix-git/doc/guix.texi:16976
  4757. #, no-wrap
  4758. msgid "substitutes, authorization thereof"
  4759. msgstr "substitutos, autenticação dela"
  4760. #. type: enumerate
  4761. #: guix-git/doc/guix.texi:836
  4762. #, fuzzy
  4763. #| msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER}} or one of its mirrors (@pxref{Substitutes}), authorize them:"
  4764. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror (@pxref{Substitutes}), authorize them:"
  4765. msgstr "Para usar substitutos de @code{@value{SUBSTITUTE-SERVER}} ou um de seus espelhos (@pxref{Substitutos}), autorize-os:"
  4766. #. type: example
  4767. #: guix-git/doc/guix.texi:842
  4768. #, no-wrap
  4769. msgid ""
  4770. "# guix archive --authorize < \\\n"
  4771. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  4772. "# guix archive --authorize < \\\n"
  4773. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  4774. msgstr ""
  4775. "# guix archive --authorize < \\\n"
  4776. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  4777. "# guix archive --authorize < \\\n"
  4778. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  4779. #. type: quotation
  4780. #: guix-git/doc/guix.texi:849
  4781. 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."
  4782. msgstr ""
  4783. #. type: enumerate
  4784. #: guix-git/doc/guix.texi:854
  4785. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  4786. msgstr "Cada usuário pode precisar executar algumas etapas adicionais para tornar seu ambiente Guix pronto para uso, @pxref{Configuração de aplicativo}."
  4787. #. type: Plain text
  4788. #: guix-git/doc/guix.texi:857
  4789. msgid "Voilà, the installation is complete!"
  4790. msgstr "Voilà, a instalação está completa!"
  4791. #. type: Plain text
  4792. #: guix-git/doc/guix.texi:860
  4793. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  4794. msgstr "Você pode confirmar que o Guix está funcionando instalando um pacote de amostra no perfil raiz:"
  4795. #. type: example
  4796. #: guix-git/doc/guix.texi:863
  4797. #, no-wrap
  4798. msgid "# guix install hello\n"
  4799. msgstr "# guix install hello\n"
  4800. #. type: Plain text
  4801. #: guix-git/doc/guix.texi:867
  4802. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  4803. 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:"
  4804. #. type: example
  4805. #: guix-git/doc/guix.texi:870
  4806. #, no-wrap
  4807. msgid "make guix-binary.@var{system}.tar.xz\n"
  4808. msgstr "make guix-binary.@var{system}.tar.xz\n"
  4809. #. type: Plain text
  4810. #: guix-git/doc/guix.texi:874
  4811. msgid "...@: which, in turn, runs:"
  4812. msgstr "...@: que, por sua vez, executa:"
  4813. #. type: example
  4814. #: guix-git/doc/guix.texi:878
  4815. #, no-wrap
  4816. msgid ""
  4817. "guix pack -s @var{system} --localstatedir \\\n"
  4818. " --profile-name=current-guix guix\n"
  4819. msgstr ""
  4820. "guix pack -s @var{system} --localstatedir \\\n"
  4821. " --profile-name=current-guix guix\n"
  4822. #. type: Plain text
  4823. #: guix-git/doc/guix.texi:881
  4824. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  4825. msgstr "@xref{Invocando guix pack}, para mais informações sobre essa ferramenta útil."
  4826. #. type: Plain text
  4827. #: guix-git/doc/guix.texi:889
  4828. 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."
  4829. 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."
  4830. #. type: cindex
  4831. #: guix-git/doc/guix.texi:890
  4832. #, no-wrap
  4833. msgid "official website"
  4834. msgstr "site oficial"
  4835. #. type: Plain text
  4836. #: guix-git/doc/guix.texi:893
  4837. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  4838. msgstr "O GNU Guix está disponível para download em seu site em @url{http://www.gnu.org/software/guix/}."
  4839. #. type: Plain text
  4840. #: guix-git/doc/guix.texi:895
  4841. msgid "GNU Guix depends on the following packages:"
  4842. msgstr "GNU Guix depende dos seguintes pacotes:"
  4843. #. type: item
  4844. #: guix-git/doc/guix.texi:897
  4845. #, fuzzy, no-wrap
  4846. #| msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  4847. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x,"
  4848. msgstr "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x;"
  4849. #. type: itemize
  4850. #: guix-git/doc/guix.texi:899
  4851. #, fuzzy
  4852. msgid "version 3.0.3 or later;"
  4853. msgstr "0.1.0 ou posterior;"
  4854. #. type: item
  4855. #: guix-git/doc/guix.texi:899
  4856. #, no-wrap
  4857. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  4858. msgstr "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, versão"
  4859. #. type: itemize
  4860. #: guix-git/doc/guix.texi:901
  4861. msgid "0.1.0 or later;"
  4862. msgstr "0.1.0 ou posterior;"
  4863. #. type: itemize
  4864. #: guix-git/doc/guix.texi:905
  4865. 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});"
  4866. 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});"
  4867. #. type: itemize
  4868. #: guix-git/doc/guix.texi:908
  4869. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4870. msgstr "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, versão 0.1.0 ou posterior;"
  4871. #. type: item
  4872. #: guix-git/doc/guix.texi:908
  4873. #, fuzzy, no-wrap
  4874. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  4875. msgstr "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  4876. #. type: itemize
  4877. #: guix-git/doc/guix.texi:910
  4878. #, fuzzy
  4879. msgid "version 0.1.0 or later;"
  4880. msgstr "0.1.0 ou posterior;"
  4881. #. type: item
  4882. #: guix-git/doc/guix.texi:910
  4883. #, no-wrap
  4884. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  4885. msgstr ""
  4886. #. type: item
  4887. #: guix-git/doc/guix.texi:911
  4888. #, no-wrap
  4889. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  4890. msgstr ""
  4891. #. type: itemize
  4892. #: guix-git/doc/guix.texi:915
  4893. #, fuzzy
  4894. #| msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4895. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.5.0 or later;"
  4896. msgstr "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, versão 0.1.0 ou posterior;"
  4897. #. type: item
  4898. #: guix-git/doc/guix.texi:915
  4899. #, no-wrap
  4900. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  4901. msgstr ""
  4902. #. type: itemize
  4903. #: guix-git/doc/guix.texi:917
  4904. msgid "4.3.0 or later;"
  4905. msgstr ""
  4906. #. type: item
  4907. #: guix-git/doc/guix.texi:917
  4908. #, no-wrap
  4909. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  4910. msgstr "@url{https://www.gnu.org/software/make/, GNU Make}."
  4911. #. type: Plain text
  4912. #: guix-git/doc/guix.texi:921
  4913. msgid "The following dependencies are optional:"
  4914. msgstr "As seguintes dependências são opcionais:"
  4915. #. type: itemize
  4916. #: guix-git/doc/guix.texi:929
  4917. 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."
  4918. msgstr ""
  4919. #. type: itemize
  4920. #: guix-git/doc/guix.texi:934
  4921. 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})."
  4922. msgstr ""
  4923. #. type: itemize
  4924. #: guix-git/doc/guix.texi:938
  4925. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  4926. msgstr ""
  4927. #. type: itemize
  4928. #: guix-git/doc/guix.texi:943
  4929. 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})."
  4930. msgstr ""
  4931. #. type: itemize
  4932. #: guix-git/doc/guix.texi:947
  4933. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  4934. msgstr "Quando @url{http://www.bzip.org, libbz2} está disponível, @command{guix-daemon} pode usá-lo para comprimir logs de compilação."
  4935. #. type: Plain text
  4936. #: guix-git/doc/guix.texi:951
  4937. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  4938. msgstr ""
  4939. #. type: item
  4940. #: guix-git/doc/guix.texi:953
  4941. #, no-wrap
  4942. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  4943. msgstr "@url{https://gnupg.org/, GNU libgcrypt};"
  4944. #. type: item
  4945. #: guix-git/doc/guix.texi:954
  4946. #, no-wrap
  4947. msgid "@url{https://sqlite.org, SQLite 3};"
  4948. msgstr "@url{https://sqlite.org, SQLite 3};"
  4949. #. type: item
  4950. #: guix-git/doc/guix.texi:955
  4951. #, no-wrap
  4952. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  4953. msgstr "@url{https://gcc.gnu.org, GCC's g++}, com suporte ao"
  4954. #. type: itemize
  4955. #: guix-git/doc/guix.texi:957
  4956. msgid "C++11 standard."
  4957. msgstr "padrão C++11."
  4958. #. type: cindex
  4959. #: guix-git/doc/guix.texi:959
  4960. #, no-wrap
  4961. msgid "state directory"
  4962. msgstr "diretório de estado"
  4963. #. type: Plain text
  4964. #: guix-git/doc/guix.texi:968
  4965. 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})."
  4966. msgstr ""
  4967. #. type: cindex
  4968. #: guix-git/doc/guix.texi:972
  4969. #, no-wrap
  4970. msgid "test suite"
  4971. msgstr "suíte/conjunto de testes"
  4972. #. type: Plain text
  4973. #: guix-git/doc/guix.texi:978
  4974. 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:"
  4975. 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:"
  4976. #. type: example
  4977. #: guix-git/doc/guix.texi:981
  4978. #, no-wrap
  4979. msgid "make check\n"
  4980. msgstr "make check\n"
  4981. #. type: Plain text
  4982. #: guix-git/doc/guix.texi:988
  4983. 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."
  4984. 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."
  4985. #. type: Plain text
  4986. #: guix-git/doc/guix.texi:991
  4987. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  4988. msgstr "Também é possível executar um subconjunto dos testes definindo a variável makefile @code{TESTS} como neste exemplo:"
  4989. #. type: example
  4990. #: guix-git/doc/guix.texi:994
  4991. #, no-wrap
  4992. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4993. msgstr "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4994. #. type: Plain text
  4995. #: guix-git/doc/guix.texi:999
  4996. 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:"
  4997. 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:"
  4998. #. type: example
  4999. #: guix-git/doc/guix.texi:1002
  5000. #, no-wrap
  5001. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  5002. msgstr "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  5003. #. type: Plain text
  5004. #: guix-git/doc/guix.texi:1010
  5005. 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'':"
  5006. msgstr ""
  5007. #. type: example
  5008. #: guix-git/doc/guix.texi:1014
  5009. #, no-wrap
  5010. msgid ""
  5011. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  5012. "make check TESTS=\"tests/packages.scm\"\n"
  5013. msgstr ""
  5014. #. type: Plain text
  5015. #: guix-git/doc/guix.texi:1020
  5016. 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:"
  5017. msgstr ""
  5018. #. type: example
  5019. #: guix-git/doc/guix.texi:1023
  5020. #, no-wrap
  5021. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  5022. msgstr ""
  5023. #. type: Plain text
  5024. #: guix-git/doc/guix.texi:1028
  5025. 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}:"
  5026. msgstr ""
  5027. #. type: example
  5028. #: guix-git/doc/guix.texi:1031
  5029. #, no-wrap
  5030. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  5031. msgstr ""
  5032. #. type: Plain text
  5033. #: guix-git/doc/guix.texi:1035
  5034. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  5035. msgstr ""
  5036. #. type: Plain text
  5037. #: guix-git/doc/guix.texi:1040
  5038. 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."
  5039. 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."
  5040. #. type: Plain text
  5041. #: guix-git/doc/guix.texi:1044
  5042. 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:"
  5043. 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:"
  5044. #. type: example
  5045. #: guix-git/doc/guix.texi:1047
  5046. #, no-wrap
  5047. msgid "make check-system\n"
  5048. msgstr "make check-system\n"
  5049. #. type: Plain text
  5050. #: guix-git/doc/guix.texi:1051
  5051. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  5052. msgstr "ou, novamente, definindo @code{TESTS} para selecionar um subconjunto de testes a serem executados:"
  5053. #. type: example
  5054. #: guix-git/doc/guix.texi:1054
  5055. #, no-wrap
  5056. msgid "make check-system TESTS=\"basic mcron\"\n"
  5057. msgstr "make check-system TESTS=\"basic mcron\"\n"
  5058. #. type: Plain text
  5059. #: guix-git/doc/guix.texi:1062
  5060. 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."
  5061. 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."
  5062. #. type: Plain text
  5063. #: guix-git/doc/guix.texi:1065
  5064. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  5065. msgstr "Novamente, em caso de falhas nos testes, por favor envie @email{bug-guix@@gnu.org} todos os detalhes."
  5066. #. type: cindex
  5067. #: guix-git/doc/guix.texi:1069
  5068. #, no-wrap
  5069. msgid "daemon"
  5070. msgstr "daemon"
  5071. #. type: Plain text
  5072. #: guix-git/doc/guix.texi:1077
  5073. 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."
  5074. 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."
  5075. #. type: Plain text
  5076. #: guix-git/doc/guix.texi:1081
  5077. 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."
  5078. 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."
  5079. #. type: cindex
  5080. #: guix-git/doc/guix.texi:1091 guix-git/doc/guix.texi:1559
  5081. #, no-wrap
  5082. msgid "build environment"
  5083. msgstr "ambiente de compilação"
  5084. #. type: Plain text
  5085. #: guix-git/doc/guix.texi:1099
  5086. 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."
  5087. 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."
  5088. #. type: cindex
  5089. #: guix-git/doc/guix.texi:1100
  5090. #, no-wrap
  5091. msgid "build users"
  5092. msgstr "usuários de compilação"
  5093. #. type: Plain text
  5094. #: guix-git/doc/guix.texi:1111
  5095. 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})."
  5096. 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})."
  5097. #. type: Plain text
  5098. #: guix-git/doc/guix.texi:1114
  5099. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  5100. 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}):"
  5101. #. type: example
  5102. #: guix-git/doc/guix.texi:1126
  5103. #, fuzzy, no-wrap
  5104. msgid ""
  5105. "# groupadd --system guixbuild\n"
  5106. "# for i in $(seq -w 1 10);\n"
  5107. " do\n"
  5108. " useradd -g guixbuild -G guixbuild \\\n"
  5109. " -d /var/empty -s $(which nologin) \\\n"
  5110. " -c \"Guix build user $i\" --system \\\n"
  5111. " guixbuilder$i;\n"
  5112. " done\n"
  5113. msgstr ""
  5114. "# groupadd --system guixbuild\n"
  5115. "# for i in `seq -w 1 10`;\n"
  5116. " do\n"
  5117. " useradd -g guixbuild -G guixbuild \\\n"
  5118. " -d /var/empty -s `which nologin` \\\n"
  5119. " -c \"Guix build user $i\" --system \\\n"
  5120. " guixbuilder$i;\n"
  5121. " done\n"
  5122. #. type: Plain text
  5123. #: guix-git/doc/guix.texi:1136
  5124. 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})."
  5125. 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})."
  5126. #. type: Plain text
  5127. #: guix-git/doc/guix.texi:1145
  5128. 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}.}:"
  5129. 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}.}:"
  5130. #. type: example
  5131. #: guix-git/doc/guix.texi:1148 guix-git/doc/guix.texi:1552
  5132. #, no-wrap
  5133. msgid "# guix-daemon --build-users-group=guixbuild\n"
  5134. msgstr "# guix-daemon --build-users-group=guixbuild\n"
  5135. #. type: cindex
  5136. #: guix-git/doc/guix.texi:1150 guix-git/doc/guix.texi:1557
  5137. #, no-wrap
  5138. msgid "chroot"
  5139. msgstr "chroot"
  5140. #. type: Plain text
  5141. #: guix-git/doc/guix.texi:1155
  5142. 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:"
  5143. 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:"
  5144. #. type: itemize
  5145. #: guix-git/doc/guix.texi:1163
  5146. 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.};"
  5147. 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.};"
  5148. #. type: itemize
  5149. #: guix-git/doc/guix.texi:1167
  5150. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  5151. msgstr "o diretório @code{/proc}; mostra apenas os processos do contêiner desde que um espaço de nome PID separado é usado;"
  5152. #. type: itemize
  5153. #: guix-git/doc/guix.texi:1171
  5154. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  5155. msgstr "@file{/etc/passwd} com uma entrada para o usuário atual e uma entrada para o usuário @file{nobody};"
  5156. #. type: itemize
  5157. #: guix-git/doc/guix.texi:1174
  5158. msgid "@file{/etc/group} with an entry for the user's group;"
  5159. msgstr "@file{/etc/group} com uma entrada para o grupo de usuários;"
  5160. #. type: itemize
  5161. #: guix-git/doc/guix.texi:1178
  5162. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  5163. msgstr "@file{/etc/hosts} com uma entrada que mapeia @code{localhost} para @code{127.0.0.1};"
  5164. #. type: itemize
  5165. #: guix-git/doc/guix.texi:1181
  5166. msgid "a writable @file{/tmp} directory."
  5167. msgstr "um diretório @file{/tmp} com permissão de escrita."
  5168. #. type: Plain text
  5169. #: guix-git/doc/guix.texi:1187
  5170. 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."
  5171. msgstr ""
  5172. #. type: Plain text
  5173. #: guix-git/doc/guix.texi:1195
  5174. 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."
  5175. msgstr ""
  5176. #. type: vindex
  5177. #: guix-git/doc/guix.texi:1196 guix-git/doc/guix.texi:4041
  5178. #, no-wrap
  5179. msgid "http_proxy"
  5180. msgstr "http_proxy"
  5181. #. type: vindex
  5182. #: guix-git/doc/guix.texi:1197 guix-git/doc/guix.texi:4042
  5183. #, no-wrap
  5184. msgid "https_proxy"
  5185. msgstr ""
  5186. #. type: Plain text
  5187. #: guix-git/doc/guix.texi:1202
  5188. 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})."
  5189. msgstr ""
  5190. #. type: Plain text
  5191. #: guix-git/doc/guix.texi:1210
  5192. 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."
  5193. msgstr ""
  5194. #. type: subsection
  5195. #: guix-git/doc/guix.texi:1213
  5196. #, no-wrap
  5197. msgid "Using the Offload Facility"
  5198. msgstr "Usando o recurso de descarregamento"
  5199. #. type: cindex
  5200. #: guix-git/doc/guix.texi:1215 guix-git/doc/guix.texi:1618
  5201. #, no-wrap
  5202. msgid "offloading"
  5203. msgstr "descarregamento"
  5204. #. type: cindex
  5205. #: guix-git/doc/guix.texi:1216
  5206. #, no-wrap
  5207. msgid "build hook"
  5208. msgstr "hook de compilação"
  5209. #. type: Plain text
  5210. #: guix-git/doc/guix.texi:1235
  5211. 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:"
  5212. msgstr ""
  5213. #. type: enumerate
  5214. #: guix-git/doc/guix.texi:1241
  5215. 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."
  5216. msgstr ""
  5217. #. type: enumerate
  5218. #: guix-git/doc/guix.texi:1245
  5219. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  5220. msgstr ""
  5221. #. type: enumerate
  5222. #: guix-git/doc/guix.texi:1250
  5223. 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."
  5224. msgstr ""
  5225. #. type: enumerate
  5226. #: guix-git/doc/guix.texi:1253
  5227. msgid "Disk space availability. More than a 100 MiB must be available."
  5228. msgstr ""
  5229. #. type: Plain text
  5230. #: guix-git/doc/guix.texi:1256
  5231. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  5232. msgstr "O arquivo @file{/etc/guix/machines.scm} geralmente se parece com isso:"
  5233. #. type: lisp
  5234. #: guix-git/doc/guix.texi:1264
  5235. #, no-wrap
  5236. msgid ""
  5237. "(list (build-machine\n"
  5238. " (name \"eightysix.example.org\")\n"
  5239. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  5240. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  5241. " (user \"bob\")\n"
  5242. " (speed 2.)) ;incredibly fast!\n"
  5243. "\n"
  5244. msgstr ""
  5245. #. type: lisp
  5246. #: guix-git/doc/guix.texi:1270
  5247. #, no-wrap
  5248. msgid ""
  5249. " (build-machine\n"
  5250. " (name \"armeight.example.org\")\n"
  5251. " (systems (list \"aarch64-linux\"))\n"
  5252. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  5253. " (user \"alice\")\n"
  5254. "\n"
  5255. msgstr ""
  5256. #. type: lisp
  5257. #: guix-git/doc/guix.texi:1274
  5258. #, no-wrap
  5259. msgid ""
  5260. " ;; Remember 'guix offload' is spawned by\n"
  5261. " ;; 'guix-daemon' as root.\n"
  5262. " (private-key \"/root/.ssh/identity-for-guix\")))\n"
  5263. msgstr ""
  5264. #. type: Plain text
  5265. #: guix-git/doc/guix.texi:1280
  5266. 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."
  5267. msgstr ""
  5268. #. type: Plain text
  5269. #: guix-git/doc/guix.texi:1289
  5270. 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."
  5271. 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."
  5272. #. type: deftp
  5273. #: guix-git/doc/guix.texi:1290
  5274. #, no-wrap
  5275. msgid "{Data Type} build-machine"
  5276. msgstr "build-machine {Data Type}"
  5277. #. type: deftp
  5278. #: guix-git/doc/guix.texi:1293
  5279. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  5280. msgstr "Esse tipo de dados representa máquinas de compilação nas quais o daemon pode descarregar compilações. Os campos importantes são:"
  5281. #. type: item
  5282. #: guix-git/doc/guix.texi:1296 guix-git/doc/guix.texi:7179
  5283. #: guix-git/doc/guix.texi:15924 guix-git/doc/guix.texi:16023
  5284. #: guix-git/doc/guix.texi:16264 guix-git/doc/guix.texi:17801
  5285. #: guix-git/doc/guix.texi:18422 guix-git/doc/guix.texi:18696
  5286. #: guix-git/doc/guix.texi:21789 guix-git/doc/guix.texi:24699
  5287. #: guix-git/doc/guix.texi:25998 guix-git/doc/guix.texi:26610
  5288. #: guix-git/doc/guix.texi:26964 guix-git/doc/guix.texi:27005
  5289. #: guix-git/doc/guix.texi:29168 guix-git/doc/guix.texi:31537
  5290. #: guix-git/doc/guix.texi:31557 guix-git/doc/guix.texi:34317
  5291. #: guix-git/doc/guix.texi:34334 guix-git/doc/guix.texi:34873
  5292. #: guix-git/doc/guix.texi:36699 guix-git/doc/guix.texi:37026
  5293. #, no-wrap
  5294. msgid "name"
  5295. msgstr "name"
  5296. #. type: table
  5297. #: guix-git/doc/guix.texi:1298
  5298. msgid "The host name of the remote machine."
  5299. msgstr "O nome de host da máquina remota."
  5300. #. type: item
  5301. #: guix-git/doc/guix.texi:1299
  5302. #, no-wrap
  5303. msgid "systems"
  5304. msgstr ""
  5305. #. type: table
  5306. #: guix-git/doc/guix.texi:1302
  5307. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  5308. msgstr ""
  5309. #. type: code{#1}
  5310. #: guix-git/doc/guix.texi:1303 guix-git/doc/guix.texi:18432
  5311. #, no-wrap
  5312. msgid "user"
  5313. msgstr "user"
  5314. #. type: table
  5315. #: guix-git/doc/guix.texi:1307
  5316. 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."
  5317. 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."
  5318. #. type: item
  5319. #: guix-git/doc/guix.texi:1308
  5320. #, no-wrap
  5321. msgid "host-key"
  5322. msgstr "host-key"
  5323. #. type: table
  5324. #: guix-git/doc/guix.texi:1312
  5325. 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:"
  5326. 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:"
  5327. #. type: example
  5328. #: guix-git/doc/guix.texi:1315
  5329. #, no-wrap
  5330. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  5331. msgstr "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  5332. #. type: table
  5333. #: guix-git/doc/guix.texi:1320
  5334. 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}."
  5335. 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}."
  5336. #. type: table
  5337. #: guix-git/doc/guix.texi:1325
  5338. 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}):"
  5339. 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}):"
  5340. #. type: example
  5341. #: guix-git/doc/guix.texi:1329
  5342. #, no-wrap
  5343. msgid ""
  5344. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  5345. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  5346. msgstr ""
  5347. #. type: deftp
  5348. #: guix-git/doc/guix.texi:1334
  5349. msgid "A number of optional fields may be specified:"
  5350. msgstr "Vários campos opcionais podem ser especificados:"
  5351. #. type: item
  5352. #: guix-git/doc/guix.texi:1337 guix-git/doc/guix.texi:36175
  5353. #, no-wrap
  5354. msgid "@code{port} (default: @code{22})"
  5355. msgstr "@code{port} (padrão: @code{22})"
  5356. #. type: table
  5357. #: guix-git/doc/guix.texi:1339
  5358. msgid "Port number of SSH server on the machine."
  5359. msgstr "O número da porta para o servidor SSH na máquina."
  5360. #. type: item
  5361. #: guix-git/doc/guix.texi:1340
  5362. #, no-wrap
  5363. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  5364. msgstr "@code{private-key} (padrão: @file{~root/.ssh/id_rsa})"
  5365. #. type: table
  5366. #: guix-git/doc/guix.texi:1343
  5367. 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."
  5368. 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."
  5369. #. type: table
  5370. #: guix-git/doc/guix.texi:1346
  5371. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  5372. 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."
  5373. #. type: item
  5374. #: guix-git/doc/guix.texi:1347
  5375. #, no-wrap
  5376. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  5377. msgstr "@code{compression} (padrão: @code{\"zlib@@openssh.com,zlib\"})"
  5378. #. type: itemx
  5379. #: guix-git/doc/guix.texi:1348
  5380. #, no-wrap
  5381. msgid "@code{compression-level} (default: @code{3})"
  5382. msgstr "@code{compression-level} (padrão: @code{3})"
  5383. #. type: table
  5384. #: guix-git/doc/guix.texi:1350
  5385. msgid "The SSH-level compression methods and compression level requested."
  5386. msgstr "Os métodos de compactação no nível SSH e o nível de compactação solicitado."
  5387. #. type: table
  5388. #: guix-git/doc/guix.texi:1353
  5389. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  5390. 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."
  5391. #. type: item
  5392. #: guix-git/doc/guix.texi:1354
  5393. #, no-wrap
  5394. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  5395. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  5396. #. type: table
  5397. #: guix-git/doc/guix.texi:1357
  5398. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  5399. msgstr "O nome do arquivo do soquete do domínio Unix @command{guix-daemon} está escutando nessa máquina."
  5400. #. type: item
  5401. #: guix-git/doc/guix.texi:1358
  5402. #, no-wrap
  5403. msgid "@code{overload-threshold} (default: @code{0.6})"
  5404. msgstr ""
  5405. #. type: table
  5406. #: guix-git/doc/guix.texi:1364
  5407. 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}."
  5408. msgstr ""
  5409. #. type: item
  5410. #: guix-git/doc/guix.texi:1365
  5411. #, no-wrap
  5412. msgid "@code{parallel-builds} (default: @code{1})"
  5413. msgstr "@code{parallel-builds} (padrão: @code{1})"
  5414. #. type: table
  5415. #: guix-git/doc/guix.texi:1367
  5416. msgid "The number of builds that may run in parallel on the machine."
  5417. msgstr "O número de compilações que podem ser executadas paralelamente na máquina."
  5418. #. type: item
  5419. #: guix-git/doc/guix.texi:1368
  5420. #, no-wrap
  5421. msgid "@code{speed} (default: @code{1.0})"
  5422. msgstr "@code{speed} (padrão: @code{1.0})"
  5423. #. type: table
  5424. #: guix-git/doc/guix.texi:1371
  5425. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  5426. msgstr "Um ``fator de velocidade relativo''. O agendador de descarregamento tenderá a preferir máquinas com um fator de velocidade mais alto."
  5427. #. type: item
  5428. #: guix-git/doc/guix.texi:1372
  5429. #, no-wrap
  5430. msgid "@code{features} (default: @code{'()})"
  5431. msgstr "@code{features} (padrão: @code{'()})"
  5432. #. type: table
  5433. #: guix-git/doc/guix.texi:1377
  5434. 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."
  5435. 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."
  5436. #. type: Plain text
  5437. #: guix-git/doc/guix.texi:1383
  5438. 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:"
  5439. 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:"
  5440. #. type: example
  5441. #: guix-git/doc/guix.texi:1386
  5442. #, no-wrap
  5443. msgid "ssh build-machine guix repl --version\n"
  5444. msgstr "ssh build-machine guix repl --version\n"
  5445. #. type: Plain text
  5446. #: guix-git/doc/guix.texi:1393
  5447. 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}):"
  5448. 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}):"
  5449. #. type: example
  5450. #: guix-git/doc/guix.texi:1396 guix-git/doc/guix.texi:36079
  5451. #, no-wrap
  5452. msgid "# guix archive --generate-key\n"
  5453. msgstr "# guix archive --generate-key\n"
  5454. #. type: Plain text
  5455. #: guix-git/doc/guix.texi:1401
  5456. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  5457. 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:"
  5458. #. type: example
  5459. #: guix-git/doc/guix.texi:1404
  5460. #, no-wrap
  5461. msgid "# guix archive --authorize < master-public-key.txt\n"
  5462. msgstr "# guix archive --authorize < master-public-key.txt\n"
  5463. #. type: Plain text
  5464. #: guix-git/doc/guix.texi:1408
  5465. msgid "Likewise, the master machine must authorize the key of each build machine."
  5466. msgstr "Da mesma forma, a máquina principal deve autorizar a chave de cada máquina de compilação."
  5467. #. type: Plain text
  5468. #: guix-git/doc/guix.texi:1414
  5469. 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."
  5470. 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."
  5471. #. type: cindex
  5472. #: guix-git/doc/guix.texi:1415
  5473. #, no-wrap
  5474. msgid "offload test"
  5475. msgstr "offload test"
  5476. #. type: Plain text
  5477. #: guix-git/doc/guix.texi:1418
  5478. msgid "To test whether your setup is operational, run this command on the master node:"
  5479. msgstr "Para testar se sua configuração está operacional, execute este comando no nó principal:"
  5480. #. type: example
  5481. #: guix-git/doc/guix.texi:1421
  5482. #, no-wrap
  5483. msgid "# guix offload test\n"
  5484. msgstr "# guix offload test\n"
  5485. #. type: Plain text
  5486. #: guix-git/doc/guix.texi:1427
  5487. 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."
  5488. msgstr ""
  5489. #. type: Plain text
  5490. #: guix-git/doc/guix.texi:1430
  5491. msgid "If you want to test a different machine file, just specify it on the command line:"
  5492. msgstr "Se você quiser testar um arquivo de máquina diferente, basta especificá-lo na linha de comando:"
  5493. #. type: example
  5494. #: guix-git/doc/guix.texi:1433
  5495. #, no-wrap
  5496. msgid "# guix offload test machines-qualif.scm\n"
  5497. msgstr "# guix offload test machines-qualif.scm\n"
  5498. #. type: Plain text
  5499. #: guix-git/doc/guix.texi:1437
  5500. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  5501. msgstr "Por fim, você pode testar o subconjunto das máquinas cujo nome corresponde a uma expressão regular como esta:"
  5502. #. type: example
  5503. #: guix-git/doc/guix.texi:1440
  5504. #, no-wrap
  5505. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  5506. msgstr "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  5507. #. type: cindex
  5508. #: guix-git/doc/guix.texi:1442
  5509. #, no-wrap
  5510. msgid "offload status"
  5511. msgstr "offload status"
  5512. #. type: Plain text
  5513. #: guix-git/doc/guix.texi:1445
  5514. msgid "To display the current load of all build hosts, run this command on the main node:"
  5515. msgstr "Para exibir o carregamento atual de todos os hosts de compilação, execute este comando no nó principal:"
  5516. #. type: example
  5517. #: guix-git/doc/guix.texi:1448
  5518. #, no-wrap
  5519. msgid "# guix offload status\n"
  5520. msgstr "# guix offload status\n"
  5521. #. type: cindex
  5522. #: guix-git/doc/guix.texi:1454
  5523. #, no-wrap
  5524. msgid "SELinux, daemon policy"
  5525. msgstr "SELinux, política de daemons"
  5526. #. type: cindex
  5527. #: guix-git/doc/guix.texi:1455
  5528. #, no-wrap
  5529. msgid "mandatory access control, SELinux"
  5530. msgstr "controle de acesso obrigatório, SELinux"
  5531. #. type: cindex
  5532. #: guix-git/doc/guix.texi:1456
  5533. #, no-wrap
  5534. msgid "security, guix-daemon"
  5535. msgstr "segurança, guix-daemon"
  5536. #. type: Plain text
  5537. #: guix-git/doc/guix.texi:1462
  5538. 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."
  5539. 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."
  5540. #. type: subsubsection
  5541. #: guix-git/doc/guix.texi:1463
  5542. #, no-wrap
  5543. msgid "Installing the SELinux policy"
  5544. msgstr "Instalando a política do SELinux"
  5545. #. type: cindex
  5546. #: guix-git/doc/guix.texi:1464
  5547. #, no-wrap
  5548. msgid "SELinux, policy installation"
  5549. msgstr "SELinux, instalação de política"
  5550. #. type: Plain text
  5551. #: guix-git/doc/guix.texi:1466
  5552. msgid "To install the policy run this command as root:"
  5553. msgstr "Para instalar a política, execute esse comando como root:"
  5554. #. type: example
  5555. #: guix-git/doc/guix.texi:1469
  5556. #, no-wrap
  5557. msgid "semodule -i etc/guix-daemon.cil\n"
  5558. msgstr "semodule -i etc/guix-daemon.cil\n"
  5559. #. type: Plain text
  5560. #: guix-git/doc/guix.texi:1473
  5561. msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  5562. msgstr "Em seguida, altere o rótulo do sistema de arquivos com @code{restorecon} ou por um mecanismo diferente fornecido pelo seu sistema."
  5563. #. type: Plain text
  5564. #: guix-git/doc/guix.texi:1478
  5565. 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:"
  5566. 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:"
  5567. #. type: example
  5568. #: guix-git/doc/guix.texi:1481
  5569. #, no-wrap
  5570. msgid "ps -Zax | grep guix-daemon\n"
  5571. msgstr "ps -Zax | grep guix-daemon\n"
  5572. #. type: Plain text
  5573. #: guix-git/doc/guix.texi:1486
  5574. 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."
  5575. 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."
  5576. #. type: cindex
  5577. #: guix-git/doc/guix.texi:1488
  5578. #, no-wrap
  5579. msgid "SELinux, limitations"
  5580. msgstr "SELinux, limitações"
  5581. #. type: Plain text
  5582. #: guix-git/doc/guix.texi:1493
  5583. 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."
  5584. 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."
  5585. #. type: enumerate
  5586. #: guix-git/doc/guix.texi:1500
  5587. #, fuzzy
  5588. 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."
  5589. 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."
  5590. #. type: enumerate
  5591. #: guix-git/doc/guix.texi:1511
  5592. 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."
  5593. 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."
  5594. #. type: enumerate
  5595. #: guix-git/doc/guix.texi:1516
  5596. 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."
  5597. 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."
  5598. #. type: enumerate
  5599. #: guix-git/doc/guix.texi:1527
  5600. 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."
  5601. 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."
  5602. #. type: enumerate
  5603. #: guix-git/doc/guix.texi:1532
  5604. 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."
  5605. msgstr ""
  5606. #. type: enumerate
  5607. #: guix-git/doc/guix.texi:1540
  5608. 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."
  5609. 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."
  5610. #. type: section
  5611. #: guix-git/doc/guix.texi:1543
  5612. #, no-wrap
  5613. msgid "Invoking @command{guix-daemon}"
  5614. msgstr "Invocando @command{guix-daemon}"
  5615. #. type: Plain text
  5616. #: guix-git/doc/guix.texi:1549
  5617. 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:"
  5618. 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:"
  5619. #. type: Plain text
  5620. #: guix-git/doc/guix.texi:1556
  5621. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  5622. msgstr "Para detalhes sobre como configurá-lo, @pxref{Configurando o daemon}."
  5623. #. type: cindex
  5624. #: guix-git/doc/guix.texi:1558
  5625. #, no-wrap
  5626. msgid "container, build environment"
  5627. msgstr "contêiner, ambiente de compilação"
  5628. #. type: cindex
  5629. #: guix-git/doc/guix.texi:1560 guix-git/doc/guix.texi:3104
  5630. #: guix-git/doc/guix.texi:4022 guix-git/doc/guix.texi:14214
  5631. #, no-wrap
  5632. msgid "reproducible builds"
  5633. msgstr "compilações reproduzíveis"
  5634. #. type: Plain text
  5635. #: guix-git/doc/guix.texi:1572
  5636. 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})."
  5637. msgstr ""
  5638. #. type: Plain text
  5639. #: guix-git/doc/guix.texi:1578
  5640. 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}."
  5641. msgstr ""
  5642. #. type: Plain text
  5643. #: guix-git/doc/guix.texi:1582
  5644. 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}})."
  5645. msgstr ""
  5646. #. type: Plain text
  5647. #: guix-git/doc/guix.texi:1588
  5648. 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."
  5649. msgstr ""
  5650. #. type: Plain text
  5651. #: guix-git/doc/guix.texi:1590
  5652. msgid "The following command-line options are supported:"
  5653. msgstr "As seguintes opções de linha de comando são suportadas:"
  5654. #. type: item
  5655. #: guix-git/doc/guix.texi:1592
  5656. #, no-wrap
  5657. msgid "--build-users-group=@var{group}"
  5658. msgstr "--build-users-group=@var{grupo}"
  5659. #. type: table
  5660. #: guix-git/doc/guix.texi:1595
  5661. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  5662. 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})."
  5663. #. type: item
  5664. #: guix-git/doc/guix.texi:1596 guix-git/doc/guix.texi:11333
  5665. #, no-wrap
  5666. msgid "--no-substitutes"
  5667. msgstr "--no-substitutes"
  5668. #. type: cindex
  5669. #: guix-git/doc/guix.texi:1597 guix-git/doc/guix.texi:3116
  5670. #: guix-git/doc/guix.texi:3775
  5671. #, no-wrap
  5672. msgid "substitutes"
  5673. msgstr "substitutos"
  5674. #. type: table
  5675. #: guix-git/doc/guix.texi:1601 guix-git/doc/guix.texi:11337
  5676. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  5677. 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})."
  5678. #. type: table
  5679. #: guix-git/doc/guix.texi:1605
  5680. 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})."
  5681. msgstr ""
  5682. #. type: anchor{#1}
  5683. #: guix-git/doc/guix.texi:1607
  5684. msgid "daemon-substitute-urls"
  5685. msgstr "daemon-substitute-urls"
  5686. #. type: item
  5687. #: guix-git/doc/guix.texi:1607 guix-git/doc/guix.texi:11320
  5688. #: guix-git/doc/guix.texi:13621 guix-git/doc/guix.texi:14360
  5689. #: guix-git/doc/guix.texi:14585
  5690. #, no-wrap
  5691. msgid "--substitute-urls=@var{urls}"
  5692. msgstr "--substitute-urls=@var{urls}"
  5693. #. type: table
  5694. #: guix-git/doc/guix.texi:1611
  5695. #, fuzzy
  5696. #| 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."
  5697. msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{@value{SUBSTITUTE-URLS}} is used."
  5698. 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."
  5699. #. type: table
  5700. #: guix-git/doc/guix.texi:1614
  5701. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  5702. msgstr "Isso significa que os substitutos podem ser baixados de @var{urls}, desde que assinados por uma assinatura confiável (@pxref{Substitutos})."
  5703. #. type: table
  5704. #: guix-git/doc/guix.texi:1617
  5705. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  5706. msgstr ""
  5707. #. type: item
  5708. #: guix-git/doc/guix.texi:1619 guix-git/doc/guix.texi:11356
  5709. #, no-wrap
  5710. msgid "--no-offload"
  5711. msgstr ""
  5712. #. type: table
  5713. #: guix-git/doc/guix.texi:1623 guix-git/doc/guix.texi:11360
  5714. 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."
  5715. msgstr ""
  5716. #. type: item
  5717. #: guix-git/doc/guix.texi:1624
  5718. #, no-wrap
  5719. msgid "--cache-failures"
  5720. msgstr "--cache-failures"
  5721. #. type: table
  5722. #: guix-git/doc/guix.texi:1626
  5723. msgid "Cache build failures. By default, only successful builds are cached."
  5724. msgstr "Armazena em cache as compilações que falharam. Por padrão, apenas compilações bem-sucedidas são armazenadas em cache."
  5725. #. type: table
  5726. #: guix-git/doc/guix.texi:1631
  5727. 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}."
  5728. 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}."
  5729. #. type: item
  5730. #: guix-git/doc/guix.texi:1632 guix-git/doc/guix.texi:11386
  5731. #, no-wrap
  5732. msgid "--cores=@var{n}"
  5733. msgstr "--cores=@var{n}"
  5734. #. type: itemx
  5735. #: guix-git/doc/guix.texi:1633 guix-git/doc/guix.texi:11387
  5736. #, no-wrap
  5737. msgid "-c @var{n}"
  5738. msgstr "-c @var{n}"
  5739. #. type: table
  5740. #: guix-git/doc/guix.texi:1636
  5741. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  5742. msgstr "Usa @var{n} núcleos de CPU para compilar cada derivação; @code{0} significa todos disponíveis."
  5743. #. type: table
  5744. #: guix-git/doc/guix.texi:1640
  5745. 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})."
  5746. msgstr ""
  5747. #. type: table
  5748. #: guix-git/doc/guix.texi:1644
  5749. 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}."
  5750. msgstr ""
  5751. #. type: item
  5752. #: guix-git/doc/guix.texi:1645 guix-git/doc/guix.texi:11391
  5753. #, no-wrap
  5754. msgid "--max-jobs=@var{n}"
  5755. msgstr "--max-jobs=@var{n}"
  5756. #. type: itemx
  5757. #: guix-git/doc/guix.texi:1646 guix-git/doc/guix.texi:11392
  5758. #, no-wrap
  5759. msgid "-M @var{n}"
  5760. msgstr "-M @var{n}"
  5761. #. type: table
  5762. #: guix-git/doc/guix.texi:1651
  5763. 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."
  5764. 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á."
  5765. #. type: item
  5766. #: guix-git/doc/guix.texi:1652 guix-git/doc/guix.texi:11361
  5767. #, no-wrap
  5768. msgid "--max-silent-time=@var{seconds}"
  5769. msgstr "--max-silent-time=@var{segundos}"
  5770. #. type: table
  5771. #: guix-git/doc/guix.texi:1655 guix-git/doc/guix.texi:11364
  5772. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  5773. 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."
  5774. #. type: table
  5775. #: guix-git/doc/guix.texi:1657 guix-git/doc/guix.texi:1666
  5776. msgid "The default value is @code{0}, which disables the timeout."
  5777. msgstr "O valor padrão é @code{0}, que desativa o tempo limite."
  5778. #. type: table
  5779. #: guix-git/doc/guix.texi:1660
  5780. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  5781. msgstr ""
  5782. #. type: item
  5783. #: guix-git/doc/guix.texi:1661 guix-git/doc/guix.texi:11368
  5784. #, no-wrap
  5785. msgid "--timeout=@var{seconds}"
  5786. msgstr "--timeout=@var{segundos}"
  5787. #. type: table
  5788. #: guix-git/doc/guix.texi:1664 guix-git/doc/guix.texi:11371
  5789. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  5790. 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."
  5791. #. type: table
  5792. #: guix-git/doc/guix.texi:1669
  5793. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  5794. msgstr ""
  5795. #. type: item
  5796. #: guix-git/doc/guix.texi:1670
  5797. #, no-wrap
  5798. msgid "--rounds=@var{N}"
  5799. msgstr "--rounds=@var{N}"
  5800. #. type: table
  5801. #: guix-git/doc/guix.texi:1675
  5802. 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})."
  5803. 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})."
  5804. #. type: table
  5805. #: guix-git/doc/guix.texi:1679 guix-git/doc/guix.texi:11355
  5806. #: guix-git/doc/guix.texi:11979
  5807. 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."
  5808. 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."
  5809. #. type: item
  5810. #: guix-git/doc/guix.texi:1680
  5811. #, no-wrap
  5812. msgid "--debug"
  5813. msgstr "--debug"
  5814. #. type: table
  5815. #: guix-git/doc/guix.texi:1682
  5816. msgid "Produce debugging output."
  5817. msgstr "Produz uma saída de depuração."
  5818. #. type: table
  5819. #: guix-git/doc/guix.texi:1686
  5820. 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})."
  5821. msgstr ""
  5822. #. type: item
  5823. #: guix-git/doc/guix.texi:1687
  5824. #, no-wrap
  5825. msgid "--chroot-directory=@var{dir}"
  5826. msgstr "--chroot-directory=@var{dir}"
  5827. #. type: table
  5828. #: guix-git/doc/guix.texi:1689
  5829. msgid "Add @var{dir} to the build chroot."
  5830. msgstr "adiciona @var{dir} ao chroot de compilação."
  5831. #. type: table
  5832. #: guix-git/doc/guix.texi:1695
  5833. 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."
  5834. 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."
  5835. #. type: item
  5836. #: guix-git/doc/guix.texi:1696
  5837. #, no-wrap
  5838. msgid "--disable-chroot"
  5839. msgstr "--disable-chroot"
  5840. #. type: table
  5841. #: guix-git/doc/guix.texi:1698
  5842. msgid "Disable chroot builds."
  5843. msgstr "Desabilita compilações em chroot."
  5844. #. type: table
  5845. #: guix-git/doc/guix.texi:1703
  5846. 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."
  5847. 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."
  5848. #. type: item
  5849. #: guix-git/doc/guix.texi:1704
  5850. #, no-wrap
  5851. msgid "--log-compression=@var{type}"
  5852. msgstr "--log-compression=@var{tipo}"
  5853. #. type: table
  5854. #: guix-git/doc/guix.texi:1707
  5855. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  5856. msgstr "Compacta logs de compilação de aconrdo com @var{tipo}, que pode ser um entre @code{gzip}, @code{bzip2} e @code{none}."
  5857. #. type: table
  5858. #: guix-git/doc/guix.texi:1711
  5859. 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."
  5860. msgstr ""
  5861. #. type: item
  5862. #: guix-git/doc/guix.texi:1712
  5863. #, no-wrap
  5864. msgid "--discover[=yes|no]"
  5865. msgstr ""
  5866. #. type: table
  5867. #: guix-git/doc/guix.texi:1715 guix-git/doc/guix.texi:17045
  5868. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  5869. msgstr ""
  5870. #. type: table
  5871. #: guix-git/doc/guix.texi:1718
  5872. msgid "This feature is still experimental. However, here are a few considerations."
  5873. msgstr ""
  5874. #. type: enumerate
  5875. #: guix-git/doc/guix.texi:1722
  5876. msgid "It might be faster/less expensive than fetching from remote servers;"
  5877. msgstr ""
  5878. #. type: enumerate
  5879. #: guix-git/doc/guix.texi:1725
  5880. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  5881. msgstr ""
  5882. #. type: enumerate
  5883. #: guix-git/doc/guix.texi:1729
  5884. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  5885. msgstr ""
  5886. #. type: enumerate
  5887. #: guix-git/doc/guix.texi:1732
  5888. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  5889. msgstr ""
  5890. #. type: table
  5891. #: guix-git/doc/guix.texi:1736
  5892. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  5893. msgstr ""
  5894. #. type: example
  5895. #: guix-git/doc/guix.texi:1740
  5896. #, no-wrap
  5897. msgid ""
  5898. "herd discover guix-daemon on\n"
  5899. "herd discover guix-daemon off\n"
  5900. msgstr ""
  5901. #. type: item
  5902. #: guix-git/doc/guix.texi:1742
  5903. #, no-wrap
  5904. msgid "--disable-deduplication"
  5905. msgstr "--disable-deduplication"
  5906. #. type: cindex
  5907. #: guix-git/doc/guix.texi:1743 guix-git/doc/guix.texi:4360
  5908. #, no-wrap
  5909. msgid "deduplication"
  5910. msgstr "deduplicação"
  5911. #. type: table
  5912. #: guix-git/doc/guix.texi:1745
  5913. msgid "Disable automatic file ``deduplication'' in the store."
  5914. msgstr "Desabilita ``deduplicação'' automática de arquivos no armazém."
  5915. #. type: table
  5916. #: guix-git/doc/guix.texi:1752
  5917. 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."
  5918. 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."
  5919. #. type: item
  5920. #: guix-git/doc/guix.texi:1753
  5921. #, no-wrap
  5922. msgid "--gc-keep-outputs[=yes|no]"
  5923. msgstr "--gc-keep-outputs[=yes|no]"
  5924. #. type: table
  5925. #: guix-git/doc/guix.texi:1756
  5926. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  5927. msgstr "Diz se o coletor de lixo (GC) deve manter as saídas de derivações vivas."
  5928. #. type: cindex
  5929. #: guix-git/doc/guix.texi:1757 guix-git/doc/guix.texi:4173
  5930. #, no-wrap
  5931. msgid "GC roots"
  5932. msgstr "raízes de GC"
  5933. #. type: cindex
  5934. #: guix-git/doc/guix.texi:1758 guix-git/doc/guix.texi:4174
  5935. #, no-wrap
  5936. msgid "garbage collector roots"
  5937. msgstr "raízes de coletor de lixo"
  5938. #. type: table
  5939. #: guix-git/doc/guix.texi:1764
  5940. 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."
  5941. msgstr ""
  5942. #. type: item
  5943. #: guix-git/doc/guix.texi:1765
  5944. #, no-wrap
  5945. msgid "--gc-keep-derivations[=yes|no]"
  5946. msgstr "--gc-keep-derivations[=yes|no]"
  5947. #. type: table
  5948. #: guix-git/doc/guix.texi:1768
  5949. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  5950. msgstr "Diz se o coletor de lixo (GC) deve manter as derivações correspondentes às saídas vivas."
  5951. #. type: table
  5952. #: guix-git/doc/guix.texi:1774
  5953. 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."
  5954. msgstr ""
  5955. #. type: table
  5956. #: guix-git/doc/guix.texi:1783
  5957. 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."
  5958. msgstr ""
  5959. #. type: item
  5960. #: guix-git/doc/guix.texi:1784
  5961. #, no-wrap
  5962. msgid "--impersonate-linux-2.6"
  5963. msgstr ""
  5964. #. type: table
  5965. #: guix-git/doc/guix.texi:1787
  5966. 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."
  5967. msgstr ""
  5968. #. type: table
  5969. #: guix-git/doc/guix.texi:1790
  5970. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  5971. msgstr ""
  5972. #. type: item
  5973. #: guix-git/doc/guix.texi:1791
  5974. #, no-wrap
  5975. msgid "--lose-logs"
  5976. msgstr ""
  5977. #. type: table
  5978. #: guix-git/doc/guix.texi:1794
  5979. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  5980. msgstr ""
  5981. #. type: item
  5982. #: guix-git/doc/guix.texi:1795 guix-git/doc/guix.texi:4605
  5983. #: guix-git/doc/guix.texi:5881 guix-git/doc/guix.texi:6294
  5984. #: guix-git/doc/guix.texi:6694 guix-git/doc/guix.texi:11923
  5985. #: guix-git/doc/guix.texi:13648 guix-git/doc/guix.texi:13913
  5986. #: guix-git/doc/guix.texi:14590 guix-git/doc/guix.texi:34995
  5987. #: guix-git/doc/guix.texi:35809
  5988. #, no-wrap
  5989. msgid "--system=@var{system}"
  5990. msgstr ""
  5991. #. type: table
  5992. #: guix-git/doc/guix.texi:1799
  5993. 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}."
  5994. msgstr ""
  5995. #. type: item
  5996. #: guix-git/doc/guix.texi:1800 guix-git/doc/guix.texi:11165
  5997. #, no-wrap
  5998. msgid "--listen=@var{endpoint}"
  5999. msgstr ""
  6000. #. type: table
  6001. #: guix-git/doc/guix.texi:1805
  6002. 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:"
  6003. msgstr ""
  6004. #. type: item
  6005. #: guix-git/doc/guix.texi:1807
  6006. #, no-wrap
  6007. msgid "--listen=/gnu/var/daemon"
  6008. msgstr ""
  6009. #. type: table
  6010. #: guix-git/doc/guix.texi:1810
  6011. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  6012. msgstr ""
  6013. #. type: item
  6014. #: guix-git/doc/guix.texi:1811
  6015. #, no-wrap
  6016. msgid "--listen=localhost"
  6017. msgstr ""
  6018. #. type: cindex
  6019. #: guix-git/doc/guix.texi:1812 guix-git/doc/guix.texi:9839
  6020. #, no-wrap
  6021. msgid "daemon, remote access"
  6022. msgstr ""
  6023. #. type: cindex
  6024. #: guix-git/doc/guix.texi:1813 guix-git/doc/guix.texi:9840
  6025. #, no-wrap
  6026. msgid "remote access to the daemon"
  6027. msgstr ""
  6028. #. type: cindex
  6029. #: guix-git/doc/guix.texi:1814 guix-git/doc/guix.texi:9841
  6030. #, no-wrap
  6031. msgid "daemon, cluster setup"
  6032. msgstr ""
  6033. #. type: cindex
  6034. #: guix-git/doc/guix.texi:1815 guix-git/doc/guix.texi:9842
  6035. #, no-wrap
  6036. msgid "clusters, daemon setup"
  6037. msgstr ""
  6038. #. type: table
  6039. #: guix-git/doc/guix.texi:1818
  6040. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  6041. msgstr ""
  6042. #. type: item
  6043. #: guix-git/doc/guix.texi:1819
  6044. #, no-wrap
  6045. msgid "--listen=128.0.0.42:1234"
  6046. msgstr ""
  6047. #. type: table
  6048. #: guix-git/doc/guix.texi:1822
  6049. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  6050. msgstr ""
  6051. #. type: table
  6052. #: guix-git/doc/guix.texi:1829
  6053. 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}})."
  6054. msgstr ""
  6055. #. type: quotation
  6056. #: guix-git/doc/guix.texi:1836
  6057. 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."
  6058. msgstr ""
  6059. #. type: table
  6060. #: guix-git/doc/guix.texi:1841
  6061. 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}."
  6062. msgstr ""
  6063. #. type: Plain text
  6064. #: guix-git/doc/guix.texi:1851
  6065. 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."
  6066. 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."
  6067. #. type: anchor{#1}
  6068. #: guix-git/doc/guix.texi:1855
  6069. msgid "locales-and-locpath"
  6070. msgstr "locales-and-locpath"
  6071. #. type: cindex
  6072. #: guix-git/doc/guix.texi:1855
  6073. #, no-wrap
  6074. msgid "locales, when not on Guix System"
  6075. msgstr "locales, quando não está no Guix System"
  6076. #. type: vindex
  6077. #: guix-git/doc/guix.texi:1856 guix-git/doc/guix.texi:16248
  6078. #, no-wrap
  6079. msgid "LOCPATH"
  6080. msgstr "LOCPATH"
  6081. #. type: vindex
  6082. #: guix-git/doc/guix.texi:1857
  6083. #, no-wrap
  6084. msgid "GUIX_LOCPATH"
  6085. msgstr "GUIX_LOCPATH"
  6086. #. type: Plain text
  6087. #: guix-git/doc/guix.texi:1862
  6088. 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:"
  6089. msgstr ""
  6090. #. type: example
  6091. #: guix-git/doc/guix.texi:1866
  6092. #, no-wrap
  6093. msgid ""
  6094. "$ guix install glibc-locales\n"
  6095. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  6096. msgstr ""
  6097. #. type: Plain text
  6098. #: guix-git/doc/guix.texi:1878
  6099. 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:"
  6100. msgstr ""
  6101. #. type: lisp
  6102. #: guix-git/doc/guix.texi:1881
  6103. #, fuzzy, no-wrap
  6104. #| msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  6105. msgid ""
  6106. "(use-modules (gnu packages base))\n"
  6107. "\n"
  6108. msgstr "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  6109. #. type: lisp
  6110. #: guix-git/doc/guix.texi:1887
  6111. #, no-wrap
  6112. msgid ""
  6113. "(define my-glibc-locales\n"
  6114. " (make-glibc-utf8-locales\n"
  6115. " glibc\n"
  6116. " #:locales (list \"en_CA\" \"fr_CA\" \"ik_CA\" \"iu_CA\" \"shs_CA\")\n"
  6117. " #:name \"glibc-canadian-utf8-locales\"))\n"
  6118. msgstr ""
  6119. #. type: Plain text
  6120. #: guix-git/doc/guix.texi:1892
  6121. 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:"
  6122. msgstr ""
  6123. #. type: enumerate
  6124. #: guix-git/doc/guix.texi:1899
  6125. 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."
  6126. msgstr ""
  6127. #. type: enumerate
  6128. #: guix-git/doc/guix.texi:1906
  6129. 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."
  6130. msgstr ""
  6131. #. type: Plain text
  6132. #: guix-git/doc/guix.texi:1910
  6133. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  6134. msgstr ""
  6135. #. type: cindex
  6136. #: guix-git/doc/guix.texi:1913
  6137. #, no-wrap
  6138. msgid "name service switch, glibc"
  6139. msgstr ""
  6140. #. type: cindex
  6141. #: guix-git/doc/guix.texi:1914
  6142. #, no-wrap
  6143. msgid "NSS (name service switch), glibc"
  6144. msgstr ""
  6145. #. type: cindex
  6146. #: guix-git/doc/guix.texi:1915
  6147. #, no-wrap
  6148. msgid "nscd (name service caching daemon)"
  6149. msgstr ""
  6150. #. type: cindex
  6151. #: guix-git/doc/guix.texi:1916
  6152. #, no-wrap
  6153. msgid "name service caching daemon (nscd)"
  6154. msgstr ""
  6155. #. type: Plain text
  6156. #: guix-git/doc/guix.texi:1923
  6157. 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."
  6158. 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ê."
  6159. #. type: file{#1}
  6160. #: guix-git/doc/guix.texi:1924
  6161. #, no-wrap
  6162. msgid "nsswitch.conf"
  6163. msgstr ""
  6164. #. type: Plain text
  6165. #: guix-git/doc/guix.texi:1929
  6166. 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})."
  6167. msgstr ""
  6168. #. type: cindex
  6169. #: guix-git/doc/guix.texi:1930
  6170. #, no-wrap
  6171. msgid "Network information service (NIS)"
  6172. msgstr ""
  6173. #. type: cindex
  6174. #: guix-git/doc/guix.texi:1931
  6175. #, no-wrap
  6176. msgid "NIS (Network information service)"
  6177. msgstr ""
  6178. #. type: Plain text
  6179. #: guix-git/doc/guix.texi:1940
  6180. 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})."
  6181. msgstr ""
  6182. #. type: Plain text
  6183. #: guix-git/doc/guix.texi:1950
  6184. 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)."
  6185. msgstr ""
  6186. #. type: Plain text
  6187. #: guix-git/doc/guix.texi:1955
  6188. 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."
  6189. msgstr ""
  6190. #. type: Plain text
  6191. #: guix-git/doc/guix.texi:1960
  6192. 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."
  6193. msgstr ""
  6194. #. type: subsection
  6195. #: guix-git/doc/guix.texi:1961
  6196. #, no-wrap
  6197. msgid "X11 Fonts"
  6198. msgstr ""
  6199. #. type: Plain text
  6200. #: guix-git/doc/guix.texi:1971
  6201. 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}."
  6202. msgstr ""
  6203. #. type: code{#1}
  6204. #: guix-git/doc/guix.texi:1972
  6205. #, no-wrap
  6206. msgid "fc-cache"
  6207. msgstr ""
  6208. #. type: cindex
  6209. #: guix-git/doc/guix.texi:1973
  6210. #, no-wrap
  6211. msgid "font cache"
  6212. msgstr ""
  6213. #. type: Plain text
  6214. #: guix-git/doc/guix.texi:1977
  6215. 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:"
  6216. msgstr ""
  6217. #. type: example
  6218. #: guix-git/doc/guix.texi:1981
  6219. #, no-wrap
  6220. msgid ""
  6221. "guix install fontconfig\n"
  6222. "fc-cache -rv\n"
  6223. msgstr ""
  6224. #. type: Plain text
  6225. #: guix-git/doc/guix.texi:1989
  6226. 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:"
  6227. msgstr ""
  6228. #. type: example
  6229. #: guix-git/doc/guix.texi:1992
  6230. #, no-wrap
  6231. msgid "guix install font-adobe-source-han-sans:cn\n"
  6232. msgstr ""
  6233. #. type: code{#1}
  6234. #: guix-git/doc/guix.texi:1994
  6235. #, no-wrap
  6236. msgid "xterm"
  6237. msgstr "xterm"
  6238. #. type: Plain text
  6239. #: guix-git/doc/guix.texi:1998
  6240. 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:"
  6241. msgstr ""
  6242. #. type: example
  6243. #: guix-git/doc/guix.texi:2001
  6244. #, no-wrap
  6245. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  6246. msgstr ""
  6247. #. type: Plain text
  6248. #: guix-git/doc/guix.texi:2005
  6249. 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:"
  6250. msgstr ""
  6251. #. type: example
  6252. #: guix-git/doc/guix.texi:2010
  6253. #, no-wrap
  6254. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  6255. msgstr ""
  6256. #. type: code{#1}
  6257. #: guix-git/doc/guix.texi:2012
  6258. #, no-wrap
  6259. msgid "xlsfonts"
  6260. msgstr ""
  6261. #. type: Plain text
  6262. #: guix-git/doc/guix.texi:2015
  6263. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  6264. msgstr ""
  6265. #. type: code{#1}
  6266. #: guix-git/doc/guix.texi:2019 guix-git/doc/guix.texi:34714
  6267. #, no-wrap
  6268. msgid "nss-certs"
  6269. msgstr ""
  6270. #. type: Plain text
  6271. #: guix-git/doc/guix.texi:2022
  6272. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  6273. msgstr ""
  6274. #. type: Plain text
  6275. #: guix-git/doc/guix.texi:2027
  6276. 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."
  6277. 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."
  6278. #. type: code{#1}
  6279. #: guix-git/doc/guix.texi:2030
  6280. #, no-wrap
  6281. msgid "emacs"
  6282. msgstr ""
  6283. #. type: Plain text
  6284. #: guix-git/doc/guix.texi:2036
  6285. 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."
  6286. msgstr ""
  6287. #. type: Plain text
  6288. #: guix-git/doc/guix.texi:2043
  6289. 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})."
  6290. msgstr ""
  6291. #. type: cindex
  6292. #: guix-git/doc/guix.texi:2048
  6293. #, no-wrap
  6294. msgid "Upgrading Guix, on a foreign distro"
  6295. msgstr ""
  6296. #. type: Plain text
  6297. #: guix-git/doc/guix.texi:2051
  6298. msgid "To upgrade Guix, run:"
  6299. msgstr ""
  6300. #. type: example
  6301. #: guix-git/doc/guix.texi:2054 guix-git/doc/guix.texi:2912
  6302. #, no-wrap
  6303. msgid "guix pull\n"
  6304. msgstr ""
  6305. #. type: Plain text
  6306. #: guix-git/doc/guix.texi:2057
  6307. msgid "@xref{Invoking guix pull}, for more information."
  6308. msgstr ""
  6309. #. type: cindex
  6310. #: guix-git/doc/guix.texi:2058
  6311. #, no-wrap
  6312. msgid "upgrading Guix for the root user, on a foreign distro"
  6313. msgstr ""
  6314. #. type: cindex
  6315. #: guix-git/doc/guix.texi:2059
  6316. #, no-wrap
  6317. msgid "upgrading the Guix daemon, on a foreign distro"
  6318. msgstr ""
  6319. #. type: cindex
  6320. #: guix-git/doc/guix.texi:2060
  6321. #, no-wrap
  6322. msgid "@command{guix pull} for the root user, on a foreign distro"
  6323. msgstr ""
  6324. #. type: Plain text
  6325. #: guix-git/doc/guix.texi:2063
  6326. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  6327. msgstr ""
  6328. #. type: example
  6329. #: guix-git/doc/guix.texi:2066
  6330. #, no-wrap
  6331. msgid "sudo -i guix pull\n"
  6332. msgstr ""
  6333. #. type: Plain text
  6334. #: guix-git/doc/guix.texi:2071
  6335. msgid "followed by (assuming your distro uses the systemd service management tool):"
  6336. msgstr ""
  6337. #. type: example
  6338. #: guix-git/doc/guix.texi:2074
  6339. #, no-wrap
  6340. msgid "systemctl restart guix-daemon.service\n"
  6341. msgstr ""
  6342. #. type: Plain text
  6343. #: guix-git/doc/guix.texi:2078
  6344. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  6345. msgstr ""
  6346. #. type: cindex
  6347. #: guix-git/doc/guix.texi:2085
  6348. #, no-wrap
  6349. msgid "installing Guix System"
  6350. msgstr "instalando o Guix System"
  6351. #. type: cindex
  6352. #: guix-git/doc/guix.texi:2086
  6353. #, no-wrap
  6354. msgid "Guix System, installation"
  6355. msgstr "Guix System, instalação"
  6356. #. type: Plain text
  6357. #: guix-git/doc/guix.texi:2091
  6358. 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}."
  6359. msgstr ""
  6360. #. type: quotation
  6361. #: guix-git/doc/guix.texi:2100
  6362. 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."
  6363. msgstr ""
  6364. #. type: quotation
  6365. #: guix-git/doc/guix.texi:2103
  6366. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  6367. msgstr ""
  6368. #. type: Plain text
  6369. #: guix-git/doc/guix.texi:2124
  6370. 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."
  6371. msgstr ""
  6372. #. type: Plain text
  6373. #: guix-git/doc/guix.texi:2127
  6374. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  6375. msgstr ""
  6376. #. type: itemize
  6377. #: guix-git/doc/guix.texi:2132
  6378. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  6379. msgstr ""
  6380. #. type: itemize
  6381. #: guix-git/doc/guix.texi:2137
  6382. 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."
  6383. msgstr ""
  6384. #. type: Plain text
  6385. #: guix-git/doc/guix.texi:2142
  6386. 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."
  6387. msgstr ""
  6388. #. type: cindex
  6389. #: guix-git/doc/guix.texi:2147
  6390. #, no-wrap
  6391. msgid "hardware support on Guix System"
  6392. msgstr "suporte a hardware no Guix System"
  6393. #. type: Plain text
  6394. #: guix-git/doc/guix.texi:2156
  6395. 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."
  6396. msgstr ""
  6397. #. type: cindex
  6398. #: guix-git/doc/guix.texi:2157
  6399. #, no-wrap
  6400. msgid "WiFi, hardware support"
  6401. msgstr ""
  6402. #. type: Plain text
  6403. #: guix-git/doc/guix.texi:2166
  6404. 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}})."
  6405. msgstr ""
  6406. #. type: cindex
  6407. #: guix-git/doc/guix.texi:2167
  6408. #, no-wrap
  6409. msgid "RYF, Respects Your Freedom"
  6410. msgstr ""
  6411. #. type: Plain text
  6412. #: guix-git/doc/guix.texi:2173
  6413. 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."
  6414. msgstr ""
  6415. #. type: Plain text
  6416. #: guix-git/doc/guix.texi:2177
  6417. 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."
  6418. msgstr ""
  6419. #. type: Plain text
  6420. #: guix-git/doc/guix.texi:2186
  6421. 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:"
  6422. msgstr ""
  6423. #. type: table
  6424. #: guix-git/doc/guix.texi:2190
  6425. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  6426. msgstr ""
  6427. #. type: table
  6428. #: guix-git/doc/guix.texi:2193
  6429. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  6430. msgstr ""
  6431. #. type: Plain text
  6432. #: guix-git/doc/guix.texi:2198
  6433. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  6434. msgstr ""
  6435. #. type: example
  6436. #: guix-git/doc/guix.texi:2202
  6437. #, no-wrap
  6438. msgid ""
  6439. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6440. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6441. msgstr ""
  6442. #. type: example
  6443. #: guix-git/doc/guix.texi:2210
  6444. #, no-wrap
  6445. msgid ""
  6446. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  6447. " -qO - | gpg --import -\n"
  6448. msgstr ""
  6449. #. type: Plain text
  6450. #: guix-git/doc/guix.texi:2222
  6451. 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."
  6452. msgstr ""
  6453. #. type: unnumberedsubsec
  6454. #: guix-git/doc/guix.texi:2223
  6455. #, no-wrap
  6456. msgid "Copying to a USB Stick"
  6457. msgstr ""
  6458. #. type: Plain text
  6459. #: guix-git/doc/guix.texi:2228
  6460. 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:"
  6461. msgstr ""
  6462. #. type: example
  6463. #: guix-git/doc/guix.texi:2232
  6464. #, no-wrap
  6465. msgid ""
  6466. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  6467. "sync\n"
  6468. msgstr ""
  6469. #. type: Plain text
  6470. #: guix-git/doc/guix.texi:2235
  6471. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  6472. msgstr ""
  6473. #. type: unnumberedsubsec
  6474. #: guix-git/doc/guix.texi:2236
  6475. #, no-wrap
  6476. msgid "Burning on a DVD"
  6477. msgstr ""
  6478. #. type: Plain text
  6479. #: guix-git/doc/guix.texi:2241
  6480. 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:"
  6481. msgstr ""
  6482. #. type: example
  6483. #: guix-git/doc/guix.texi:2244
  6484. #, no-wrap
  6485. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  6486. msgstr ""
  6487. #. type: Plain text
  6488. #: guix-git/doc/guix.texi:2247
  6489. msgid "Access to @file{/dev/srX} usually requires root privileges."
  6490. msgstr ""
  6491. #. type: unnumberedsubsec
  6492. #: guix-git/doc/guix.texi:2248
  6493. #, no-wrap
  6494. msgid "Booting"
  6495. msgstr ""
  6496. #. type: Plain text
  6497. #: guix-git/doc/guix.texi:2255
  6498. 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}."
  6499. msgstr ""
  6500. #. type: Plain text
  6501. #: guix-git/doc/guix.texi:2258
  6502. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  6503. msgstr ""
  6504. #. type: Plain text
  6505. #: guix-git/doc/guix.texi:2268
  6506. 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})."
  6507. msgstr ""
  6508. #. type: Plain text
  6509. #: guix-git/doc/guix.texi:2276
  6510. 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."
  6511. msgstr ""
  6512. #. type: quotation
  6513. #: guix-git/doc/guix.texi:2281
  6514. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  6515. msgstr ""
  6516. #. type: Plain text
  6517. #: guix-git/doc/guix.texi:2288
  6518. 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."
  6519. msgstr ""
  6520. #. type: Plain text
  6521. #: guix-git/doc/guix.texi:2293
  6522. 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."
  6523. msgstr ""
  6524. #. type: Plain text
  6525. #: guix-git/doc/guix.texi:2295
  6526. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  6527. msgstr ""
  6528. #. type: Plain text
  6529. #: guix-git/doc/guix.texi:2300
  6530. 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."
  6531. msgstr ""
  6532. #. type: Plain text
  6533. #: guix-git/doc/guix.texi:2302
  6534. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  6535. msgstr ""
  6536. #. type: Plain text
  6537. #: guix-git/doc/guix.texi:2305
  6538. 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."
  6539. msgstr ""
  6540. #. type: Plain text
  6541. #: guix-git/doc/guix.texi:2307
  6542. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  6543. msgstr ""
  6544. #. type: Plain text
  6545. #: guix-git/doc/guix.texi:2312
  6546. 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!"
  6547. msgstr ""
  6548. #. type: Plain text
  6549. #: guix-git/doc/guix.texi:2322
  6550. 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})."
  6551. msgstr ""
  6552. #. type: Plain text
  6553. #: guix-git/doc/guix.texi:2328
  6554. 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 it is also a full-blown Guix System, which means that you can install additional packages, should you need it, using @command{guix package} (@pxref{Invoking guix package})."
  6555. msgstr ""
  6556. #. type: subsection
  6557. #: guix-git/doc/guix.texi:2335
  6558. #, no-wrap
  6559. msgid "Keyboard Layout, Networking, and Partitioning"
  6560. msgstr ""
  6561. #. type: Plain text
  6562. #: guix-git/doc/guix.texi:2340
  6563. 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."
  6564. msgstr ""
  6565. #. type: cindex
  6566. #: guix-git/doc/guix.texi:2343 guix-git/doc/guix.texi:16062
  6567. #, no-wrap
  6568. msgid "keyboard layout"
  6569. msgstr "disposição do teclado"
  6570. #. type: Plain text
  6571. #: guix-git/doc/guix.texi:2347
  6572. 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:"
  6573. msgstr ""
  6574. #. type: example
  6575. #: guix-git/doc/guix.texi:2350
  6576. #, no-wrap
  6577. msgid "loadkeys dvorak\n"
  6578. msgstr ""
  6579. #. type: Plain text
  6580. #: guix-git/doc/guix.texi:2355
  6581. 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."
  6582. msgstr ""
  6583. #. type: subsubsection
  6584. #: guix-git/doc/guix.texi:2356
  6585. #, no-wrap
  6586. msgid "Networking"
  6587. msgstr "Rede"
  6588. #. type: Plain text
  6589. #: guix-git/doc/guix.texi:2359
  6590. msgid "Run the following command to see what your network interfaces are called:"
  6591. msgstr ""
  6592. #. type: example
  6593. #: guix-git/doc/guix.texi:2362
  6594. #, no-wrap
  6595. msgid "ifconfig -a\n"
  6596. msgstr ""
  6597. #. type: table
  6598. #: guix-git/doc/guix.texi:2366 guix-git/doc/guix.texi:2388
  6599. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  6600. msgstr ""
  6601. #. type: example
  6602. #: guix-git/doc/guix.texi:2369
  6603. #, no-wrap
  6604. msgid "ip address\n"
  6605. msgstr ""
  6606. #. type: Plain text
  6607. #: guix-git/doc/guix.texi:2376
  6608. 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}."
  6609. msgstr ""
  6610. #. type: item
  6611. #: guix-git/doc/guix.texi:2378
  6612. #, no-wrap
  6613. msgid "Wired connection"
  6614. msgstr "Conexão cabeada"
  6615. #. type: table
  6616. #: guix-git/doc/guix.texi:2381
  6617. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  6618. msgstr ""
  6619. #. type: example
  6620. #: guix-git/doc/guix.texi:2384
  6621. #, no-wrap
  6622. msgid "ifconfig @var{interface} up\n"
  6623. msgstr ""
  6624. #. type: example
  6625. #: guix-git/doc/guix.texi:2391
  6626. #, no-wrap
  6627. msgid "ip link set @var{interface} up\n"
  6628. msgstr ""
  6629. #. type: item
  6630. #: guix-git/doc/guix.texi:2393
  6631. #, no-wrap
  6632. msgid "Wireless connection"
  6633. msgstr ""
  6634. #. type: cindex
  6635. #: guix-git/doc/guix.texi:2394 guix-git/doc/guix.texi:17971
  6636. #, no-wrap
  6637. msgid "wireless"
  6638. msgstr "sem fio"
  6639. #. type: cindex
  6640. #: guix-git/doc/guix.texi:2395 guix-git/doc/guix.texi:17972
  6641. #, no-wrap
  6642. msgid "WiFi"
  6643. msgstr ""
  6644. #. type: table
  6645. #: guix-git/doc/guix.texi:2400
  6646. 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}:"
  6647. msgstr ""
  6648. #. type: example
  6649. #: guix-git/doc/guix.texi:2403
  6650. #, no-wrap
  6651. msgid "nano wpa_supplicant.conf\n"
  6652. msgstr ""
  6653. #. type: table
  6654. #: guix-git/doc/guix.texi:2408
  6655. 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:"
  6656. msgstr ""
  6657. #. type: example
  6658. #: guix-git/doc/guix.texi:2415
  6659. #, no-wrap
  6660. msgid ""
  6661. "network=@{\n"
  6662. " ssid=\"@var{my-ssid}\"\n"
  6663. " key_mgmt=WPA-PSK\n"
  6664. " psk=\"the network's secret passphrase\"\n"
  6665. "@}\n"
  6666. msgstr ""
  6667. #. type: table
  6668. #: guix-git/doc/guix.texi:2420
  6669. 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):"
  6670. msgstr ""
  6671. #. type: example
  6672. #: guix-git/doc/guix.texi:2423
  6673. #, no-wrap
  6674. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  6675. msgstr ""
  6676. #. type: table
  6677. #: guix-git/doc/guix.texi:2426
  6678. msgid "Run @command{man wpa_supplicant} for more information."
  6679. msgstr ""
  6680. #. type: cindex
  6681. #: guix-git/doc/guix.texi:2428
  6682. #, no-wrap
  6683. msgid "DHCP"
  6684. msgstr ""
  6685. #. type: Plain text
  6686. #: guix-git/doc/guix.texi:2431
  6687. 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:"
  6688. msgstr ""
  6689. #. type: example
  6690. #: guix-git/doc/guix.texi:2434
  6691. #, no-wrap
  6692. msgid "dhclient -v @var{interface}\n"
  6693. msgstr ""
  6694. #. type: Plain text
  6695. #: guix-git/doc/guix.texi:2437
  6696. msgid "Try to ping a server to see if networking is up and running:"
  6697. msgstr ""
  6698. #. type: example
  6699. #: guix-git/doc/guix.texi:2440
  6700. #, no-wrap
  6701. msgid "ping -c 3 gnu.org\n"
  6702. msgstr ""
  6703. #. type: Plain text
  6704. #: guix-git/doc/guix.texi:2444
  6705. 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."
  6706. msgstr ""
  6707. #. type: cindex
  6708. #: guix-git/doc/guix.texi:2445
  6709. #, no-wrap
  6710. msgid "proxy, during system installation"
  6711. msgstr ""
  6712. #. type: Plain text
  6713. #: guix-git/doc/guix.texi:2448
  6714. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  6715. msgstr ""
  6716. #. type: example
  6717. #: guix-git/doc/guix.texi:2451
  6718. #, no-wrap
  6719. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  6720. msgstr ""
  6721. #. type: Plain text
  6722. #: guix-git/doc/guix.texi:2456
  6723. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  6724. msgstr ""
  6725. #. type: cindex
  6726. #: guix-git/doc/guix.texi:2457
  6727. #, no-wrap
  6728. msgid "installing over SSH"
  6729. msgstr ""
  6730. #. type: Plain text
  6731. #: guix-git/doc/guix.texi:2460
  6732. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  6733. msgstr ""
  6734. #. type: example
  6735. #: guix-git/doc/guix.texi:2463
  6736. #, no-wrap
  6737. msgid "herd start ssh-daemon\n"
  6738. msgstr ""
  6739. #. type: Plain text
  6740. #: guix-git/doc/guix.texi:2467
  6741. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  6742. msgstr ""
  6743. #. type: subsubsection
  6744. #: guix-git/doc/guix.texi:2468
  6745. #, no-wrap
  6746. msgid "Disk Partitioning"
  6747. msgstr ""
  6748. #. type: Plain text
  6749. #: guix-git/doc/guix.texi:2472
  6750. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  6751. msgstr ""
  6752. #. type: Plain text
  6753. #: guix-git/doc/guix.texi:2477
  6754. 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:"
  6755. msgstr ""
  6756. #. type: example
  6757. #: guix-git/doc/guix.texi:2480
  6758. #, no-wrap
  6759. msgid "cfdisk\n"
  6760. msgstr ""
  6761. #. type: Plain text
  6762. #: guix-git/doc/guix.texi:2486
  6763. 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})."
  6764. msgstr ""
  6765. #. type: cindex
  6766. #: guix-git/doc/guix.texi:2487
  6767. #, no-wrap
  6768. msgid "EFI, installation"
  6769. msgstr ""
  6770. #. type: cindex
  6771. #: guix-git/doc/guix.texi:2488
  6772. #, no-wrap
  6773. msgid "UEFI, installation"
  6774. msgstr ""
  6775. #. type: cindex
  6776. #: guix-git/doc/guix.texi:2489
  6777. #, no-wrap
  6778. msgid "ESP, EFI system partition"
  6779. msgstr ""
  6780. #. type: Plain text
  6781. #: guix-git/doc/guix.texi:2493
  6782. 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}:"
  6783. msgstr ""
  6784. #. type: example
  6785. #: guix-git/doc/guix.texi:2496
  6786. #, no-wrap
  6787. msgid "parted /dev/sda set 1 esp on\n"
  6788. msgstr ""
  6789. #. type: vindex
  6790. #: guix-git/doc/guix.texi:2499 guix-git/doc/guix.texi:35133
  6791. #, no-wrap
  6792. msgid "grub-bootloader"
  6793. msgstr ""
  6794. #. type: vindex
  6795. #: guix-git/doc/guix.texi:2500 guix-git/doc/guix.texi:35127
  6796. #, no-wrap
  6797. msgid "grub-efi-bootloader"
  6798. msgstr ""
  6799. #. type: quotation
  6800. #: guix-git/doc/guix.texi:2507
  6801. 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."
  6802. msgstr ""
  6803. #. type: Plain text
  6804. #: guix-git/doc/guix.texi:2515
  6805. 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:"
  6806. msgstr ""
  6807. #. type: example
  6808. #: guix-git/doc/guix.texi:2518
  6809. #, no-wrap
  6810. msgid "mkfs.fat -F32 /dev/sda1\n"
  6811. msgstr ""
  6812. #. type: Plain text
  6813. #: guix-git/doc/guix.texi:2525
  6814. 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})."
  6815. msgstr ""
  6816. #. type: Plain text
  6817. #: guix-git/doc/guix.texi:2532
  6818. 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:"
  6819. msgstr ""
  6820. #. type: example
  6821. #: guix-git/doc/guix.texi:2535
  6822. #, no-wrap
  6823. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  6824. msgstr ""
  6825. #. type: cindex
  6826. #: guix-git/doc/guix.texi:2537 guix-git/doc/guix.texi:14936
  6827. #, no-wrap
  6828. msgid "encrypted disk"
  6829. msgstr ""
  6830. #. type: Plain text
  6831. #: guix-git/doc/guix.texi:2542
  6832. 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)."
  6833. msgstr ""
  6834. #. type: quotation
  6835. #: guix-git/doc/guix.texi:2543 guix-git/doc/guix.texi:5318
  6836. #: guix-git/doc/guix.texi:6554 guix-git/doc/guix.texi:15062
  6837. #: guix-git/doc/guix.texi:21500 guix-git/doc/guix.texi:21507
  6838. #, no-wrap
  6839. msgid "Warning"
  6840. msgstr ""
  6841. #. type: quotation
  6842. #: guix-git/doc/guix.texi:2550
  6843. 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."
  6844. msgstr ""
  6845. #. type: Plain text
  6846. #: guix-git/doc/guix.texi:2555
  6847. 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:"
  6848. msgstr ""
  6849. #. type: example
  6850. #: guix-git/doc/guix.texi:2560
  6851. #, no-wrap
  6852. msgid ""
  6853. "cryptsetup luksFormat --type luks2 --pbkdf pbkdf2 /dev/sda2\n"
  6854. "cryptsetup open /dev/sda2 my-partition\n"
  6855. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  6856. msgstr ""
  6857. #. type: Plain text
  6858. #: guix-git/doc/guix.texi:2565
  6859. 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):"
  6860. msgstr ""
  6861. #. type: example
  6862. #: guix-git/doc/guix.texi:2568
  6863. #, no-wrap
  6864. msgid "mount LABEL=my-root /mnt\n"
  6865. msgstr ""
  6866. #. type: Plain text
  6867. #: guix-git/doc/guix.texi:2574
  6868. 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."
  6869. msgstr ""
  6870. #. type: Plain text
  6871. #: guix-git/doc/guix.texi:2578
  6872. 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:"
  6873. msgstr ""
  6874. #. type: example
  6875. #: guix-git/doc/guix.texi:2582
  6876. #, no-wrap
  6877. msgid ""
  6878. "mkswap /dev/sda3\n"
  6879. "swapon /dev/sda3\n"
  6880. msgstr ""
  6881. #. type: Plain text
  6882. #: guix-git/doc/guix.texi:2590
  6883. 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}.}:"
  6884. msgstr ""
  6885. #. type: example
  6886. #: guix-git/doc/guix.texi:2598
  6887. #, no-wrap
  6888. msgid ""
  6889. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  6890. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  6891. "# For security, make the file readable and writable only by root.\n"
  6892. "chmod 600 /mnt/swapfile\n"
  6893. "mkswap /mnt/swapfile\n"
  6894. "swapon /mnt/swapfile\n"
  6895. msgstr ""
  6896. #. type: Plain text
  6897. #: guix-git/doc/guix.texi:2603
  6898. 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."
  6899. msgstr ""
  6900. #. type: Plain text
  6901. #: guix-git/doc/guix.texi:2609
  6902. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  6903. msgstr ""
  6904. #. type: example
  6905. #: guix-git/doc/guix.texi:2612
  6906. #, no-wrap
  6907. msgid "herd start cow-store /mnt\n"
  6908. msgstr ""
  6909. #. type: Plain text
  6910. #: guix-git/doc/guix.texi:2619
  6911. 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."
  6912. msgstr ""
  6913. #. type: Plain text
  6914. #: guix-git/doc/guix.texi:2630
  6915. 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."
  6916. msgstr ""
  6917. #. type: Plain text
  6918. #: guix-git/doc/guix.texi:2637
  6919. 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:"
  6920. msgstr ""
  6921. #. type: example
  6922. #: guix-git/doc/guix.texi:2642
  6923. #, no-wrap
  6924. msgid ""
  6925. "# mkdir /mnt/etc\n"
  6926. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  6927. "# nano /mnt/etc/config.scm\n"
  6928. msgstr ""
  6929. #. type: Plain text
  6930. #: guix-git/doc/guix.texi:2646
  6931. msgid "You should pay attention to what your configuration file contains, and in particular:"
  6932. msgstr ""
  6933. #. type: itemize
  6934. #: guix-git/doc/guix.texi:2658
  6935. 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."
  6936. msgstr ""
  6937. #. type: itemize
  6938. #: guix-git/doc/guix.texi:2664
  6939. 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."
  6940. msgstr ""
  6941. #. type: itemize
  6942. #: guix-git/doc/guix.texi:2668
  6943. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  6944. msgstr ""
  6945. #. type: Plain text
  6946. #: guix-git/doc/guix.texi:2673
  6947. 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}):"
  6948. msgstr ""
  6949. #. type: example
  6950. #: guix-git/doc/guix.texi:2676
  6951. #, no-wrap
  6952. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  6953. msgstr ""
  6954. #. type: Plain text
  6955. #: guix-git/doc/guix.texi:2683
  6956. 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."
  6957. msgstr ""
  6958. #. type: Plain text
  6959. #: guix-git/doc/guix.texi:2691
  6960. 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!"
  6961. 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!"
  6962. #. type: Plain text
  6963. #: guix-git/doc/guix.texi:2698
  6964. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  6965. msgstr ""
  6966. #. type: example
  6967. #: guix-git/doc/guix.texi:2702
  6968. #, no-wrap
  6969. msgid ""
  6970. "guix pull\n"
  6971. "sudo guix system reconfigure /etc/config.scm\n"
  6972. msgstr ""
  6973. #. type: Plain text
  6974. #: guix-git/doc/guix.texi:2708
  6975. 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})."
  6976. msgstr ""
  6977. #. type: cindex
  6978. #: guix-git/doc/guix.texi:2711
  6979. #, no-wrap
  6980. msgid "sudo vs. @command{guix pull}"
  6981. msgstr ""
  6982. #. type: quotation
  6983. #: guix-git/doc/guix.texi:2715
  6984. 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{}}."
  6985. msgstr ""
  6986. #. type: quotation
  6987. #: guix-git/doc/guix.texi:2720
  6988. 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."
  6989. msgstr ""
  6990. #. type: Plain text
  6991. #: guix-git/doc/guix.texi:2725
  6992. 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!"
  6993. msgstr ""
  6994. #. type: section
  6995. #: guix-git/doc/guix.texi:2728
  6996. #, no-wrap
  6997. msgid "Installing Guix in a Virtual Machine"
  6998. msgstr ""
  6999. #. type: cindex
  7000. #: guix-git/doc/guix.texi:2730
  7001. #, no-wrap
  7002. msgid "virtual machine, Guix System installation"
  7003. msgstr "máquina virtual, instalação do Guix System"
  7004. #. type: cindex
  7005. #: guix-git/doc/guix.texi:2731
  7006. #, no-wrap
  7007. msgid "virtual private server (VPS)"
  7008. msgstr ""
  7009. #. type: cindex
  7010. #: guix-git/doc/guix.texi:2732
  7011. #, no-wrap
  7012. msgid "VPS (virtual private server)"
  7013. msgstr ""
  7014. #. type: Plain text
  7015. #: guix-git/doc/guix.texi:2736
  7016. 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."
  7017. msgstr ""
  7018. #. type: Plain text
  7019. #: guix-git/doc/guix.texi:2739
  7020. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  7021. msgstr ""
  7022. #. type: enumerate
  7023. #: guix-git/doc/guix.texi:2744
  7024. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  7025. msgstr ""
  7026. #. type: enumerate
  7027. #: guix-git/doc/guix.texi:2748
  7028. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  7029. msgstr ""
  7030. #. type: example
  7031. #: guix-git/doc/guix.texi:2751
  7032. #, no-wrap
  7033. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  7034. msgstr ""
  7035. #. type: enumerate
  7036. #: guix-git/doc/guix.texi:2755
  7037. 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."
  7038. msgstr ""
  7039. #. type: enumerate
  7040. #: guix-git/doc/guix.texi:2758
  7041. msgid "Boot the USB installation image in an VM:"
  7042. msgstr ""
  7043. #. type: example
  7044. #: guix-git/doc/guix.texi:2764
  7045. #, no-wrap
  7046. msgid ""
  7047. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  7048. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  7049. " -drive file=guix-system.img \\\n"
  7050. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  7051. msgstr ""
  7052. #. type: enumerate
  7053. #: guix-git/doc/guix.texi:2768
  7054. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  7055. msgstr ""
  7056. #. type: enumerate
  7057. #: guix-git/doc/guix.texi:2772
  7058. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  7059. msgstr ""
  7060. #. type: Plain text
  7061. #: guix-git/doc/guix.texi:2777
  7062. 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."
  7063. msgstr ""
  7064. #. type: cindex
  7065. #: guix-git/doc/guix.texi:2781
  7066. #, no-wrap
  7067. msgid "installation image"
  7068. msgstr ""
  7069. #. type: Plain text
  7070. #: guix-git/doc/guix.texi:2784
  7071. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  7072. msgstr ""
  7073. #. type: example
  7074. #: guix-git/doc/guix.texi:2787
  7075. #, no-wrap
  7076. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  7077. msgstr ""
  7078. #. type: Plain text
  7079. #: guix-git/doc/guix.texi:2792
  7080. 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."
  7081. msgstr ""
  7082. #. type: section
  7083. #: guix-git/doc/guix.texi:2793
  7084. #, no-wrap
  7085. msgid "Building the Installation Image for ARM Boards"
  7086. msgstr ""
  7087. #. type: Plain text
  7088. #: guix-git/doc/guix.texi:2797
  7089. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  7090. msgstr ""
  7091. #. type: Plain text
  7092. #: guix-git/doc/guix.texi:2801
  7093. 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:"
  7094. msgstr ""
  7095. #. type: example
  7096. #: guix-git/doc/guix.texi:2804
  7097. #, no-wrap
  7098. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  7099. msgstr ""
  7100. #. type: Plain text
  7101. #: guix-git/doc/guix.texi:2808
  7102. 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."
  7103. msgstr ""
  7104. #. type: Plain text
  7105. #: guix-git/doc/guix.texi:2818
  7106. 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."
  7107. msgstr ""
  7108. #. type: Plain text
  7109. #: guix-git/doc/guix.texi:2822
  7110. 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:"
  7111. msgstr ""
  7112. #. type: example
  7113. #: guix-git/doc/guix.texi:2825
  7114. #, no-wrap
  7115. msgid "guix search text editor\n"
  7116. msgstr ""
  7117. #. type: Plain text
  7118. #: guix-git/doc/guix.texi:2832
  7119. 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}!):"
  7120. msgstr ""
  7121. #. type: example
  7122. #: guix-git/doc/guix.texi:2835
  7123. #, no-wrap
  7124. msgid "guix install emacs\n"
  7125. msgstr ""
  7126. #. type: cindex
  7127. #: guix-git/doc/guix.texi:2837 guix-git/doc/guix.texi:3149
  7128. #: guix-git/doc/guix.texi:3201
  7129. #, no-wrap
  7130. msgid "profile"
  7131. msgstr ""
  7132. #. type: Plain text
  7133. #: guix-git/doc/guix.texi:2845
  7134. 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)."
  7135. msgstr ""
  7136. #. type: Plain text
  7137. #: guix-git/doc/guix.texi:2848
  7138. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  7139. msgstr ""
  7140. #. type: example
  7141. #: guix-git/doc/guix.texi:2851
  7142. #, no-wrap
  7143. msgid ""
  7144. "hint: Consider setting the necessary environment variables by running:\n"
  7145. "\n"
  7146. msgstr ""
  7147. #. type: example
  7148. #: guix-git/doc/guix.texi:2854
  7149. #, no-wrap
  7150. msgid ""
  7151. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  7152. " . \"$GUIX_PROFILE/etc/profile\"\n"
  7153. "\n"
  7154. msgstr ""
  7155. #. type: example
  7156. #: guix-git/doc/guix.texi:2856
  7157. #, no-wrap
  7158. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  7159. msgstr ""
  7160. #. type: Plain text
  7161. #: guix-git/doc/guix.texi:2870
  7162. 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."
  7163. msgstr ""
  7164. #. type: Plain text
  7165. #: guix-git/doc/guix.texi:2873
  7166. msgid "You can go on installing packages at your will. To list installed packages, run:"
  7167. msgstr ""
  7168. #. type: example
  7169. #: guix-git/doc/guix.texi:2876
  7170. #, no-wrap
  7171. msgid "guix package --list-installed\n"
  7172. msgstr ""
  7173. #. type: Plain text
  7174. #: guix-git/doc/guix.texi:2881
  7175. 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:"
  7176. msgstr ""
  7177. #. type: example
  7178. #: guix-git/doc/guix.texi:2884
  7179. #, no-wrap
  7180. msgid "guix package --roll-back\n"
  7181. msgstr ""
  7182. #. type: Plain text
  7183. #: guix-git/doc/guix.texi:2889
  7184. 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:"
  7185. msgstr ""
  7186. #. type: example
  7187. #: guix-git/doc/guix.texi:2892
  7188. #, no-wrap
  7189. msgid "guix package --list-generations\n"
  7190. msgstr ""
  7191. #. type: Plain text
  7192. #: guix-git/doc/guix.texi:2895
  7193. msgid "Now you know the basics of package management!"
  7194. msgstr ""
  7195. #. type: quotation
  7196. #: guix-git/doc/guix.texi:2896 guix-git/doc/guix.texi:2955
  7197. #, no-wrap
  7198. msgid "Going further"
  7199. msgstr ""
  7200. #. type: quotation
  7201. #: guix-git/doc/guix.texi:2904
  7202. 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."
  7203. msgstr ""
  7204. #. type: Plain text
  7205. #: guix-git/doc/guix.texi:2909
  7206. 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:"
  7207. msgstr ""
  7208. #. type: Plain text
  7209. #: guix-git/doc/guix.texi:2919
  7210. 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}:"
  7211. msgstr ""
  7212. #. type: example
  7213. #: guix-git/doc/guix.texi:2923
  7214. #, no-wrap
  7215. msgid ""
  7216. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  7217. ". \"$GUIX_PROFILE/etc/profile\"\n"
  7218. msgstr ""
  7219. #. type: Plain text
  7220. #: guix-git/doc/guix.texi:2927
  7221. msgid "You must also instruct your shell to point to this new @command{guix}:"
  7222. msgstr ""
  7223. #. type: example
  7224. #: guix-git/doc/guix.texi:2930
  7225. #, no-wrap
  7226. msgid "hash guix\n"
  7227. msgstr ""
  7228. #. type: Plain text
  7229. #: guix-git/doc/guix.texi:2934
  7230. 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:"
  7231. msgstr ""
  7232. #. type: example
  7233. #: guix-git/doc/guix.texi:2937
  7234. #, no-wrap
  7235. msgid "guix upgrade\n"
  7236. msgstr ""
  7237. #. type: Plain text
  7238. #: guix-git/doc/guix.texi:2943
  7239. 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!"
  7240. msgstr ""
  7241. #. type: Plain text
  7242. #: guix-git/doc/guix.texi:2946
  7243. msgid "You can display the exact revision of Guix you're currently using by running:"
  7244. msgstr ""
  7245. #. type: example
  7246. #: guix-git/doc/guix.texi:2949
  7247. #, no-wrap
  7248. msgid "guix describe\n"
  7249. msgstr ""
  7250. #. type: Plain text
  7251. #: guix-git/doc/guix.texi:2954
  7252. 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."
  7253. msgstr ""
  7254. #. type: quotation
  7255. #: guix-git/doc/guix.texi:2960
  7256. 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})."
  7257. msgstr ""
  7258. #. type: Plain text
  7259. #: guix-git/doc/guix.texi:2965
  7260. 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:"
  7261. msgstr ""
  7262. #. type: example
  7263. #: guix-git/doc/guix.texi:2968
  7264. #, no-wrap
  7265. msgid "sudo guix system reconfigure /etc/config.scm\n"
  7266. msgstr ""
  7267. #. type: Plain text
  7268. #: guix-git/doc/guix.texi:2977
  7269. 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}:"
  7270. msgstr ""
  7271. #. type: example
  7272. #: guix-git/doc/guix.texi:2980
  7273. #, no-wrap
  7274. msgid "sudo guix system roll-back\n"
  7275. msgstr ""
  7276. #. type: Plain text
  7277. #: guix-git/doc/guix.texi:2987
  7278. 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."
  7279. msgstr ""
  7280. #. type: Plain text
  7281. #: guix-git/doc/guix.texi:2989
  7282. msgid "Now you know enough to get started!"
  7283. msgstr ""
  7284. #. type: quotation
  7285. #: guix-git/doc/guix.texi:2990
  7286. #, no-wrap
  7287. msgid "Resources"
  7288. msgstr ""
  7289. #. type: quotation
  7290. #: guix-git/doc/guix.texi:2993
  7291. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  7292. msgstr ""
  7293. #. type: itemize
  7294. #: guix-git/doc/guix.texi:2998
  7295. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  7296. msgstr ""
  7297. #. type: itemize
  7298. #: guix-git/doc/guix.texi:3003
  7299. 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."
  7300. msgstr ""
  7301. #. type: itemize
  7302. #: guix-git/doc/guix.texi:3008
  7303. 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."
  7304. msgstr ""
  7305. #. type: itemize
  7306. #: guix-git/doc/guix.texi:3012
  7307. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  7308. msgstr ""
  7309. #. type: quotation
  7310. #: guix-git/doc/guix.texi:3015
  7311. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  7312. msgstr ""
  7313. #. type: Plain text
  7314. #: guix-git/doc/guix.texi:3026
  7315. 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."
  7316. msgstr ""
  7317. #. type: Plain text
  7318. #: guix-git/doc/guix.texi:3034
  7319. 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):"
  7320. msgstr ""
  7321. #. type: example
  7322. #: guix-git/doc/guix.texi:3037
  7323. #, no-wrap
  7324. msgid "guix install emacs-guix\n"
  7325. msgstr ""
  7326. #. type: Plain text
  7327. #: guix-git/doc/guix.texi:3058
  7328. 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."
  7329. msgstr ""
  7330. #. type: Plain text
  7331. #: guix-git/doc/guix.texi:3062
  7332. 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."
  7333. msgstr ""
  7334. #. type: Plain text
  7335. #: guix-git/doc/guix.texi:3067
  7336. 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}."
  7337. msgstr ""
  7338. #. type: Plain text
  7339. #: guix-git/doc/guix.texi:3075
  7340. 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."
  7341. msgstr ""
  7342. #. type: Plain text
  7343. #: guix-git/doc/guix.texi:3079
  7344. 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}."
  7345. msgstr ""
  7346. #. type: cindex
  7347. #: guix-git/doc/guix.texi:3080 guix-git/doc/guix.texi:3163
  7348. #, no-wrap
  7349. msgid "transactions"
  7350. msgstr ""
  7351. #. type: Plain text
  7352. #: guix-git/doc/guix.texi:3087
  7353. 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."
  7354. msgstr ""
  7355. #. type: Plain text
  7356. #: guix-git/doc/guix.texi:3095
  7357. 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})."
  7358. msgstr ""
  7359. #. type: Plain text
  7360. #: guix-git/doc/guix.texi:3102
  7361. 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."
  7362. msgstr ""
  7363. #. type: Plain text
  7364. #: guix-git/doc/guix.texi:3115
  7365. 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})."
  7366. msgstr ""
  7367. #. type: Plain text
  7368. #: guix-git/doc/guix.texi:3126
  7369. 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})."
  7370. msgstr ""
  7371. #. type: Plain text
  7372. #: guix-git/doc/guix.texi:3132
  7373. 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})."
  7374. msgstr ""
  7375. #. type: cindex
  7376. #: guix-git/doc/guix.texi:3133
  7377. #, no-wrap
  7378. msgid "replication, of software environments"
  7379. msgstr ""
  7380. #. type: cindex
  7381. #: guix-git/doc/guix.texi:3134
  7382. #, no-wrap
  7383. msgid "provenance tracking, of software artifacts"
  7384. msgstr ""
  7385. #. type: Plain text
  7386. #: guix-git/doc/guix.texi:3141
  7387. 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."
  7388. msgstr ""
  7389. #. type: section
  7390. #: guix-git/doc/guix.texi:3143
  7391. #, no-wrap
  7392. msgid "Invoking @command{guix package}"
  7393. msgstr "Invocando @command{guix package}"
  7394. #. type: cindex
  7395. #: guix-git/doc/guix.texi:3145
  7396. #, no-wrap
  7397. msgid "installing packages"
  7398. msgstr ""
  7399. #. type: cindex
  7400. #: guix-git/doc/guix.texi:3146
  7401. #, no-wrap
  7402. msgid "removing packages"
  7403. msgstr ""
  7404. #. type: cindex
  7405. #: guix-git/doc/guix.texi:3147
  7406. #, no-wrap
  7407. msgid "package installation"
  7408. msgstr ""
  7409. #. type: cindex
  7410. #: guix-git/doc/guix.texi:3148
  7411. #, no-wrap
  7412. msgid "package removal"
  7413. msgstr ""
  7414. #. type: Plain text
  7415. #: guix-git/doc/guix.texi:3158
  7416. 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:"
  7417. msgstr ""
  7418. #. type: example
  7419. #: guix-git/doc/guix.texi:3161
  7420. #, no-wrap
  7421. msgid "guix package @var{options}\n"
  7422. msgstr "guix package @var{opções}\n"
  7423. #. type: Plain text
  7424. #: guix-git/doc/guix.texi:3168
  7425. 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."
  7426. msgstr ""
  7427. #. type: Plain text
  7428. #: guix-git/doc/guix.texi:3171
  7429. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  7430. msgstr ""
  7431. #. type: example
  7432. #: guix-git/doc/guix.texi:3174
  7433. #, no-wrap
  7434. msgid "guix package -r lua -i guile guile-cairo\n"
  7435. msgstr ""
  7436. #. type: cindex
  7437. #: guix-git/doc/guix.texi:3176
  7438. #, no-wrap
  7439. msgid "aliases, for @command{guix package}"
  7440. msgstr ""
  7441. #. type: Plain text
  7442. #: guix-git/doc/guix.texi:3178
  7443. msgid "For your convenience, we also provide the following aliases:"
  7444. msgstr ""
  7445. #. type: itemize
  7446. #: guix-git/doc/guix.texi:3182
  7447. msgid "@command{guix search} is an alias for @command{guix package -s},"
  7448. msgstr ""
  7449. #. type: itemize
  7450. #: guix-git/doc/guix.texi:3184
  7451. msgid "@command{guix install} is an alias for @command{guix package -i},"
  7452. msgstr ""
  7453. #. type: itemize
  7454. #: guix-git/doc/guix.texi:3186
  7455. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  7456. msgstr ""
  7457. #. type: itemize
  7458. #: guix-git/doc/guix.texi:3188
  7459. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  7460. msgstr ""
  7461. #. type: itemize
  7462. #: guix-git/doc/guix.texi:3190
  7463. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  7464. msgstr ""
  7465. #. type: Plain text
  7466. #: guix-git/doc/guix.texi:3195
  7467. 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."
  7468. msgstr ""
  7469. #. type: Plain text
  7470. #: guix-git/doc/guix.texi:3200
  7471. 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}})."
  7472. msgstr ""
  7473. #. type: Plain text
  7474. #: guix-git/doc/guix.texi:3207
  7475. 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."
  7476. msgstr ""
  7477. #. type: cindex
  7478. #: guix-git/doc/guix.texi:3207 guix-git/doc/guix.texi:3451
  7479. #, no-wrap
  7480. msgid "search paths"
  7481. msgstr ""
  7482. #. type: Plain text
  7483. #: guix-git/doc/guix.texi:3212
  7484. 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:"
  7485. msgstr ""
  7486. #. type: example
  7487. #: guix-git/doc/guix.texi:3216
  7488. #, no-wrap
  7489. msgid ""
  7490. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  7491. "source \"$GUIX_PROFILE/etc/profile\"\n"
  7492. msgstr ""
  7493. #. type: Plain text
  7494. #: guix-git/doc/guix.texi:3227
  7495. 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}."
  7496. msgstr ""
  7497. #. type: Plain text
  7498. #: guix-git/doc/guix.texi:3229
  7499. msgid "The @var{options} can be among the following:"
  7500. msgstr ""
  7501. #. type: item
  7502. #: guix-git/doc/guix.texi:3232
  7503. #, no-wrap
  7504. msgid "--install=@var{package} @dots{}"
  7505. msgstr ""
  7506. #. type: itemx
  7507. #: guix-git/doc/guix.texi:3233
  7508. #, no-wrap
  7509. msgid "-i @var{package} @dots{}"
  7510. msgstr ""
  7511. #. type: table
  7512. #: guix-git/doc/guix.texi:3235
  7513. msgid "Install the specified @var{package}s."
  7514. msgstr ""
  7515. #. type: table
  7516. #: guix-git/doc/guix.texi:3240
  7517. msgid "Each @var{package} may specify either a simple package name, such as @code{guile}, or a package name followed by an at-sign and version number, such as @code{guile@@1.8.8} or simply @code{guile@@1.8} (in the latter case, the newest version prefixed by @code{1.8} is selected)."
  7518. msgstr ""
  7519. #. type: table
  7520. #: guix-git/doc/guix.texi:3248
  7521. msgid "If no version number is specified, the newest available version will be selected. In addition, @var{package} 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}). Packages with a corresponding name (and optionally version) are searched for among the GNU distribution modules (@pxref{Package Modules})."
  7522. msgstr ""
  7523. #. type: cindex
  7524. #: guix-git/doc/guix.texi:3249
  7525. #, no-wrap
  7526. msgid "propagated inputs"
  7527. msgstr ""
  7528. #. type: table
  7529. #: guix-git/doc/guix.texi:3255
  7530. 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)."
  7531. msgstr ""
  7532. #. type: anchor{#1}
  7533. #: guix-git/doc/guix.texi:3262
  7534. msgid "package-cmd-propagated-inputs"
  7535. msgstr ""
  7536. #. type: table
  7537. #: guix-git/doc/guix.texi:3262
  7538. 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."
  7539. msgstr ""
  7540. #. type: table
  7541. #: guix-git/doc/guix.texi:3267
  7542. 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."
  7543. msgstr ""
  7544. #. type: item
  7545. #: guix-git/doc/guix.texi:3268
  7546. #, no-wrap
  7547. msgid "--install-from-expression=@var{exp}"
  7548. msgstr ""
  7549. #. type: itemx
  7550. #: guix-git/doc/guix.texi:3269
  7551. #, no-wrap
  7552. msgid "-e @var{exp}"
  7553. msgstr ""
  7554. #. type: table
  7555. #: guix-git/doc/guix.texi:3271
  7556. msgid "Install the package @var{exp} evaluates to."
  7557. msgstr ""
  7558. #. type: table
  7559. #: guix-git/doc/guix.texi:3276
  7560. 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)}."
  7561. msgstr ""
  7562. #. type: table
  7563. #: guix-git/doc/guix.texi:3280
  7564. 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."
  7565. msgstr ""
  7566. #. type: item
  7567. #: guix-git/doc/guix.texi:3281
  7568. #, no-wrap
  7569. msgid "--install-from-file=@var{file}"
  7570. msgstr ""
  7571. #. type: itemx
  7572. #: guix-git/doc/guix.texi:3282 guix-git/doc/guix.texi:5821
  7573. #: guix-git/doc/guix.texi:11814
  7574. #, no-wrap
  7575. msgid "-f @var{file}"
  7576. msgstr "-f @var{arquivo}"
  7577. #. type: table
  7578. #: guix-git/doc/guix.texi:3284
  7579. msgid "Install the package that the code within @var{file} evaluates to."
  7580. msgstr ""
  7581. #. type: table
  7582. #: guix-git/doc/guix.texi:3287 guix-git/doc/guix.texi:5827
  7583. #: guix-git/doc/guix.texi:6221
  7584. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  7585. msgstr ""
  7586. #. type: include
  7587. #: guix-git/doc/guix.texi:3289 guix-git/doc/guix.texi:11822
  7588. #, no-wrap
  7589. msgid "package-hello.scm"
  7590. msgstr ""
  7591. #. type: table
  7592. #: guix-git/doc/guix.texi:3296
  7593. 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})."
  7594. msgstr ""
  7595. #. type: table
  7596. #: guix-git/doc/guix.texi:3301
  7597. 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}:"
  7598. msgstr ""
  7599. #. type: example
  7600. #: guix-git/doc/guix.texi:3304 guix-git/doc/guix.texi:11832
  7601. #, no-wrap
  7602. msgid "@verbatiminclude package-hello.json\n"
  7603. msgstr ""
  7604. #. type: item
  7605. #: guix-git/doc/guix.texi:3306
  7606. #, no-wrap
  7607. msgid "--remove=@var{package} @dots{}"
  7608. msgstr ""
  7609. #. type: itemx
  7610. #: guix-git/doc/guix.texi:3307
  7611. #, no-wrap
  7612. msgid "-r @var{package} @dots{}"
  7613. msgstr "-r @var{pacote} @dots{}"
  7614. #. type: table
  7615. #: guix-git/doc/guix.texi:3309
  7616. msgid "Remove the specified @var{package}s."
  7617. msgstr ""
  7618. #. type: table
  7619. #: guix-git/doc/guix.texi:3314
  7620. 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}."
  7621. msgstr ""
  7622. #. type: item
  7623. #: guix-git/doc/guix.texi:3315
  7624. #, no-wrap
  7625. msgid "--upgrade[=@var{regexp} @dots{}]"
  7626. msgstr ""
  7627. #. type: itemx
  7628. #: guix-git/doc/guix.texi:3316
  7629. #, no-wrap
  7630. msgid "-u [@var{regexp} @dots{}]"
  7631. msgstr ""
  7632. #. type: cindex
  7633. #: guix-git/doc/guix.texi:3317
  7634. #, no-wrap
  7635. msgid "upgrading packages"
  7636. msgstr ""
  7637. #. type: table
  7638. #: guix-git/doc/guix.texi:3321
  7639. 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."
  7640. msgstr ""
  7641. #. type: table
  7642. #: guix-git/doc/guix.texi:3326
  7643. 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})."
  7644. msgstr ""
  7645. #. type: cindex
  7646. #: guix-git/doc/guix.texi:3327
  7647. #, no-wrap
  7648. msgid "package transformations, upgrades"
  7649. msgstr ""
  7650. #. type: table
  7651. #: guix-git/doc/guix.texi:3332
  7652. 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:"
  7653. msgstr ""
  7654. #. type: example
  7655. #: guix-git/doc/guix.texi:3335
  7656. #, no-wrap
  7657. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  7658. msgstr ""
  7659. #. type: table
  7660. #: guix-git/doc/guix.texi:3340
  7661. 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."
  7662. msgstr ""
  7663. #. type: table
  7664. #: guix-git/doc/guix.texi:3345
  7665. 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:"
  7666. msgstr ""
  7667. #. type: example
  7668. #: guix-git/doc/guix.texi:3348
  7669. #, no-wrap
  7670. msgid "guix install @var{package}\n"
  7671. msgstr ""
  7672. #. type: item
  7673. #: guix-git/doc/guix.texi:3350
  7674. #, no-wrap
  7675. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  7676. msgstr ""
  7677. #. type: table
  7678. #: guix-git/doc/guix.texi:3355
  7679. 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'':"
  7680. msgstr ""
  7681. #. type: example
  7682. #: guix-git/doc/guix.texi:3358
  7683. #, no-wrap
  7684. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  7685. msgstr ""
  7686. #. type: anchor{#1}
  7687. #: guix-git/doc/guix.texi:3360
  7688. #, no-wrap
  7689. msgid "profile-manifest"
  7690. msgstr "profile-manifest"
  7691. #. type: item
  7692. #: guix-git/doc/guix.texi:3360 guix-git/doc/guix.texi:5839
  7693. #: guix-git/doc/guix.texi:6226 guix-git/doc/guix.texi:6680
  7694. #: guix-git/doc/guix.texi:12954 guix-git/doc/guix.texi:14596
  7695. #, no-wrap
  7696. msgid "--manifest=@var{file}"
  7697. msgstr "--manifest=@var{arquivo}"
  7698. #. type: itemx
  7699. #: guix-git/doc/guix.texi:3361 guix-git/doc/guix.texi:5840
  7700. #: guix-git/doc/guix.texi:6227 guix-git/doc/guix.texi:6681
  7701. #: guix-git/doc/guix.texi:12955
  7702. #, no-wrap
  7703. msgid "-m @var{file}"
  7704. msgstr "-m @var{arquivo}"
  7705. #. type: cindex
  7706. #: guix-git/doc/guix.texi:3362
  7707. #, no-wrap
  7708. msgid "profile declaration"
  7709. msgstr "declaração de perfil"
  7710. #. type: cindex
  7711. #: guix-git/doc/guix.texi:3363
  7712. #, no-wrap
  7713. msgid "profile manifest"
  7714. msgstr "manifsto de perfil"
  7715. #. type: table
  7716. #: guix-git/doc/guix.texi:3367
  7717. 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."
  7718. msgstr ""
  7719. #. type: table
  7720. #: guix-git/doc/guix.texi:3373
  7721. 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."
  7722. msgstr ""
  7723. #. type: table
  7724. #: guix-git/doc/guix.texi:3377
  7725. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  7726. msgstr ""
  7727. #. type: findex
  7728. #: guix-git/doc/guix.texi:3378
  7729. #, no-wrap
  7730. msgid "packages->manifest"
  7731. msgstr "packages->manifest"
  7732. #. type: lisp
  7733. #: guix-git/doc/guix.texi:3381
  7734. #, no-wrap
  7735. msgid ""
  7736. "(use-package-modules guile emacs)\n"
  7737. "\n"
  7738. msgstr ""
  7739. "(use-package-modules guile emacs)\n"
  7740. "\n"
  7741. #. type: lisp
  7742. #: guix-git/doc/guix.texi:3387
  7743. #, no-wrap
  7744. msgid ""
  7745. "(packages->manifest\n"
  7746. " (list emacs\n"
  7747. " guile-2.0\n"
  7748. " ;; Use a specific package output.\n"
  7749. " (list guile-2.0 \"debug\")))\n"
  7750. msgstr ""
  7751. "(packages->manifest\n"
  7752. " (list emacs\n"
  7753. " guile-2.0\n"
  7754. " ;; Usa uma saída de pacote específica.\n"
  7755. " (list guile-2.0 \"debug\")))\n"
  7756. #. type: findex
  7757. #: guix-git/doc/guix.texi:3389
  7758. #, no-wrap
  7759. msgid "specifications->manifest"
  7760. msgstr ""
  7761. #. type: table
  7762. #: guix-git/doc/guix.texi:3396
  7763. msgid "In this example we have to know which modules define the @code{emacs} and @code{guile-2.0} variables to provide the right @code{use-package-modules} line, which can be cumbersome. We can instead provide regular package specifications and let @code{specifications->manifest} look up the corresponding package objects, like this:"
  7764. msgstr ""
  7765. #. type: lisp
  7766. #: guix-git/doc/guix.texi:3400
  7767. #, no-wrap
  7768. msgid ""
  7769. "(specifications->manifest\n"
  7770. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  7771. msgstr ""
  7772. "(specifications->manifest\n"
  7773. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  7774. #. type: findex
  7775. #: guix-git/doc/guix.texi:3402
  7776. #, fuzzy, no-wrap
  7777. #| msgid "packages->manifest"
  7778. msgid "package->development-manifest"
  7779. msgstr "packages->manifest"
  7780. #. type: table
  7781. #: guix-git/doc/guix.texi:3405
  7782. msgid "You might also want to create a manifest for all the dependencies of a package, rather than the package itself:"
  7783. msgstr ""
  7784. #. type: lisp
  7785. #: guix-git/doc/guix.texi:3408
  7786. #, no-wrap
  7787. msgid "(package->development-manifest (specification->package \"emacs\"))\n"
  7788. msgstr ""
  7789. #. type: table
  7790. #: guix-git/doc/guix.texi:3412
  7791. msgid "The example above gives you all the software required to develop Emacs, similar to what @command{guix environment emacs} provides."
  7792. msgstr ""
  7793. #. type: table
  7794. #: guix-git/doc/guix.texi:3415
  7795. msgid "@xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  7796. msgstr ""
  7797. #. type: item
  7798. #: guix-git/doc/guix.texi:3416 guix-git/doc/guix.texi:4530
  7799. #, no-wrap
  7800. msgid "--roll-back"
  7801. msgstr "--roll-back"
  7802. #. type: cindex
  7803. #: guix-git/doc/guix.texi:3417 guix-git/doc/guix.texi:4531
  7804. #: guix-git/doc/guix.texi:35559 guix-git/doc/guix.texi:38314
  7805. #, no-wrap
  7806. msgid "rolling back"
  7807. msgstr ""
  7808. #. type: cindex
  7809. #: guix-git/doc/guix.texi:3418 guix-git/doc/guix.texi:4532
  7810. #, no-wrap
  7811. msgid "undoing transactions"
  7812. msgstr "desfazendo transações"
  7813. #. type: cindex
  7814. #: guix-git/doc/guix.texi:3419 guix-git/doc/guix.texi:4533
  7815. #, no-wrap
  7816. msgid "transactions, undoing"
  7817. msgstr "transações, desfazendo"
  7818. #. type: table
  7819. #: guix-git/doc/guix.texi:3422
  7820. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  7821. msgstr ""
  7822. #. type: table
  7823. #: guix-git/doc/guix.texi:3425
  7824. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  7825. msgstr ""
  7826. #. type: table
  7827. #: guix-git/doc/guix.texi:3429
  7828. 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."
  7829. msgstr ""
  7830. #. type: table
  7831. #: guix-git/doc/guix.texi:3433
  7832. 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."
  7833. msgstr ""
  7834. #. type: item
  7835. #: guix-git/doc/guix.texi:3434 guix-git/doc/guix.texi:4537
  7836. #, no-wrap
  7837. msgid "--switch-generation=@var{pattern}"
  7838. msgstr "--switch-generation=@var{padrão}"
  7839. #. type: itemx
  7840. #: guix-git/doc/guix.texi:3435 guix-git/doc/guix.texi:4538
  7841. #, no-wrap
  7842. msgid "-S @var{pattern}"
  7843. msgstr "-S @var{padrão}"
  7844. #. type: cindex
  7845. #: guix-git/doc/guix.texi:3436 guix-git/doc/guix.texi:3669
  7846. #: guix-git/doc/guix.texi:4539 guix-git/doc/guix.texi:35517
  7847. #, no-wrap
  7848. msgid "generations"
  7849. msgstr "gerações"
  7850. #. type: table
  7851. #: guix-git/doc/guix.texi:3438 guix-git/doc/guix.texi:4541
  7852. msgid "Switch to a particular generation defined by @var{pattern}."
  7853. msgstr ""
  7854. #. type: table
  7855. #: guix-git/doc/guix.texi:3444 guix-git/doc/guix.texi:4547
  7856. 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}."
  7857. msgstr ""
  7858. #. type: table
  7859. #: guix-git/doc/guix.texi:3449
  7860. 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."
  7861. msgstr ""
  7862. #. type: item
  7863. #: guix-git/doc/guix.texi:3450
  7864. #, no-wrap
  7865. msgid "--search-paths[=@var{kind}]"
  7866. msgstr "--search-paths[=@var{tipo}]"
  7867. #. type: table
  7868. #: guix-git/doc/guix.texi:3456
  7869. 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."
  7870. msgstr ""
  7871. #. type: table
  7872. #: guix-git/doc/guix.texi:3465
  7873. 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.)"
  7874. msgstr ""
  7875. #. type: table
  7876. #: guix-git/doc/guix.texi:3468
  7877. msgid "The typical use case is to define these environment variables in the shell:"
  7878. msgstr ""
  7879. #. type: example
  7880. #: guix-git/doc/guix.texi:3471
  7881. #, no-wrap
  7882. msgid "$ eval `guix package --search-paths`\n"
  7883. msgstr "$ eval `guix package --search-paths`\n"
  7884. #. type: table
  7885. #: guix-git/doc/guix.texi:3477
  7886. 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}."
  7887. msgstr ""
  7888. #. type: table
  7889. #: guix-git/doc/guix.texi:3480
  7890. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  7891. msgstr ""
  7892. #. type: example
  7893. #: guix-git/doc/guix.texi:3485
  7894. #, no-wrap
  7895. msgid ""
  7896. "$ guix package -p foo -i guile\n"
  7897. "$ guix package -p bar -i guile-json\n"
  7898. "$ guix package -p foo -p bar --search-paths\n"
  7899. msgstr ""
  7900. "$ guix package -p foo -i guile\n"
  7901. "$ guix package -p bar -i guile-json\n"
  7902. "$ guix package -p foo -p bar --search-paths\n"
  7903. #. type: table
  7904. #: guix-git/doc/guix.texi:3490
  7905. 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."
  7906. msgstr ""
  7907. #. type: cindex
  7908. #: guix-git/doc/guix.texi:3492
  7909. #, fuzzy, no-wrap
  7910. msgid "profile, choosing"
  7911. msgstr "declaração de perfil"
  7912. #. type: item
  7913. #: guix-git/doc/guix.texi:3493 guix-git/doc/guix.texi:4567
  7914. #: guix-git/doc/guix.texi:4896 guix-git/doc/guix.texi:5849
  7915. #: guix-git/doc/guix.texi:6262
  7916. #, no-wrap
  7917. msgid "--profile=@var{profile}"
  7918. msgstr "--profile=@var{perfil}"
  7919. #. type: itemx
  7920. #: guix-git/doc/guix.texi:3494 guix-git/doc/guix.texi:4568
  7921. #: guix-git/doc/guix.texi:4897 guix-git/doc/guix.texi:5850
  7922. #: guix-git/doc/guix.texi:6263
  7923. #, no-wrap
  7924. msgid "-p @var{profile}"
  7925. msgstr "-p @var{perfil}"
  7926. #. type: table
  7927. #: guix-git/doc/guix.texi:3496
  7928. msgid "Use @var{profile} instead of the user's default profile."
  7929. msgstr ""
  7930. #. type: table
  7931. #: guix-git/doc/guix.texi:3501
  7932. 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:"
  7933. msgstr ""
  7934. #. type: example
  7935. #: guix-git/doc/guix.texi:3507
  7936. #, no-wrap
  7937. msgid ""
  7938. "$ guix install hello -p ~/code/my-profile\n"
  7939. "@dots{}\n"
  7940. "$ ~/code/my-profile/bin/hello\n"
  7941. "Hello, world!\n"
  7942. msgstr ""
  7943. #. type: table
  7944. #: guix-git/doc/guix.texi:3511
  7945. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  7946. msgstr ""
  7947. #. type: example
  7948. #: guix-git/doc/guix.texi:3514
  7949. #, no-wrap
  7950. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  7951. msgstr ""
  7952. #. type: item
  7953. #: guix-git/doc/guix.texi:3516
  7954. #, no-wrap
  7955. msgid "--list-profiles"
  7956. msgstr ""
  7957. #. type: table
  7958. #: guix-git/doc/guix.texi:3518
  7959. msgid "List all the user's profiles:"
  7960. msgstr ""
  7961. #. type: example
  7962. #: guix-git/doc/guix.texi:3525
  7963. #, no-wrap
  7964. msgid ""
  7965. "$ guix package --list-profiles\n"
  7966. "/home/charlie/.guix-profile\n"
  7967. "/home/charlie/code/my-profile\n"
  7968. "/home/charlie/code/devel-profile\n"
  7969. "/home/charlie/tmp/test\n"
  7970. msgstr ""
  7971. #. type: table
  7972. #: guix-git/doc/guix.texi:3528
  7973. msgid "When running as root, list all the profiles of all the users."
  7974. msgstr ""
  7975. #. type: cindex
  7976. #: guix-git/doc/guix.texi:3529
  7977. #, no-wrap
  7978. msgid "collisions, in a profile"
  7979. msgstr "colisões, em um perfil"
  7980. #. type: cindex
  7981. #: guix-git/doc/guix.texi:3530
  7982. #, no-wrap
  7983. msgid "colliding packages in profiles"
  7984. msgstr ""
  7985. #. type: cindex
  7986. #: guix-git/doc/guix.texi:3531
  7987. #, no-wrap
  7988. msgid "profile collisions"
  7989. msgstr ""
  7990. #. type: item
  7991. #: guix-git/doc/guix.texi:3532
  7992. #, no-wrap
  7993. msgid "--allow-collisions"
  7994. msgstr ""
  7995. #. type: table
  7996. #: guix-git/doc/guix.texi:3534
  7997. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  7998. msgstr ""
  7999. #. type: table
  8000. #: guix-git/doc/guix.texi:3538
  8001. 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."
  8002. msgstr ""
  8003. #. type: item
  8004. #: guix-git/doc/guix.texi:3539 guix-git/doc/guix.texi:4610
  8005. #: guix-git/doc/guix.texi:6766
  8006. #, no-wrap
  8007. msgid "--bootstrap"
  8008. msgstr ""
  8009. #. type: table
  8010. #: guix-git/doc/guix.texi:3542
  8011. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  8012. msgstr ""
  8013. #. type: Plain text
  8014. #: guix-git/doc/guix.texi:3548
  8015. 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:"
  8016. msgstr ""
  8017. #. type: item
  8018. #: guix-git/doc/guix.texi:3551
  8019. #, no-wrap
  8020. msgid "--search=@var{regexp}"
  8021. msgstr ""
  8022. #. type: itemx
  8023. #: guix-git/doc/guix.texi:3552
  8024. #, no-wrap
  8025. msgid "-s @var{regexp}"
  8026. msgstr ""
  8027. #. type: anchor{#1}
  8028. #: guix-git/doc/guix.texi:3554
  8029. msgid "guix-search"
  8030. msgstr ""
  8031. #. type: cindex
  8032. #: guix-git/doc/guix.texi:3554
  8033. #, no-wrap
  8034. msgid "searching for packages"
  8035. msgstr ""
  8036. #. type: table
  8037. #: guix-git/doc/guix.texi:3560
  8038. 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})."
  8039. msgstr ""
  8040. #. type: table
  8041. #: guix-git/doc/guix.texi:3563
  8042. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  8043. msgstr ""
  8044. #. type: example
  8045. #: guix-git/doc/guix.texi:3569
  8046. #, no-wrap
  8047. msgid ""
  8048. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  8049. "name: jemalloc\n"
  8050. "version: 4.5.0\n"
  8051. "relevance: 6\n"
  8052. "\n"
  8053. msgstr ""
  8054. #. type: example
  8055. #: guix-git/doc/guix.texi:3573
  8056. #, no-wrap
  8057. msgid ""
  8058. "name: glibc\n"
  8059. "version: 2.25\n"
  8060. "relevance: 1\n"
  8061. "\n"
  8062. msgstr ""
  8063. #. type: example
  8064. #: guix-git/doc/guix.texi:3577
  8065. #, no-wrap
  8066. msgid ""
  8067. "name: libgc\n"
  8068. "version: 7.6.0\n"
  8069. "relevance: 1\n"
  8070. msgstr ""
  8071. #. type: table
  8072. #: guix-git/doc/guix.texi:3581
  8073. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  8074. msgstr ""
  8075. #. type: example
  8076. #: guix-git/doc/guix.texi:3585
  8077. #, no-wrap
  8078. msgid ""
  8079. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  8080. "name: elfutils\n"
  8081. "\n"
  8082. msgstr ""
  8083. #. type: example
  8084. #: guix-git/doc/guix.texi:3588
  8085. #, no-wrap
  8086. msgid ""
  8087. "name: gmp\n"
  8088. "@dots{}\n"
  8089. msgstr ""
  8090. #. type: table
  8091. #: guix-git/doc/guix.texi:3594
  8092. 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):"
  8093. msgstr ""
  8094. #. type: example
  8095. #: guix-git/doc/guix.texi:3599
  8096. #, no-wrap
  8097. msgid ""
  8098. "$ guix search '\\<board\\>' game | recsel -p name\n"
  8099. "name: gnubg\n"
  8100. "@dots{}\n"
  8101. msgstr ""
  8102. #. type: table
  8103. #: guix-git/doc/guix.texi:3605
  8104. 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."
  8105. msgstr ""
  8106. #. type: table
  8107. #: guix-git/doc/guix.texi:3609
  8108. 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:"
  8109. msgstr ""
  8110. #. type: example
  8111. #: guix-git/doc/guix.texi:3613
  8112. #, no-wrap
  8113. msgid ""
  8114. "$ guix search crypto library | \\\n"
  8115. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  8116. msgstr ""
  8117. #. type: table
  8118. #: guix-git/doc/guix.texi:3618
  8119. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  8120. msgstr ""
  8121. #. type: item
  8122. #: guix-git/doc/guix.texi:3619
  8123. #, no-wrap
  8124. msgid "--show=@var{package}"
  8125. msgstr ""
  8126. #. type: table
  8127. #: guix-git/doc/guix.texi:3623
  8128. 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})."
  8129. msgstr ""
  8130. #. type: example
  8131. #: guix-git/doc/guix.texi:3628
  8132. #, no-wrap
  8133. msgid ""
  8134. "$ guix package --show=guile | recsel -p name,version\n"
  8135. "name: guile\n"
  8136. "version: 3.0.5\n"
  8137. "\n"
  8138. msgstr ""
  8139. #. type: example
  8140. #: guix-git/doc/guix.texi:3631
  8141. #, fuzzy, no-wrap
  8142. #| msgid ""
  8143. #| "name: python\n"
  8144. #| "version: 3.3.5\n"
  8145. msgid ""
  8146. "name: guile\n"
  8147. "version: 3.0.2\n"
  8148. "\n"
  8149. msgstr ""
  8150. "name: guile\n"
  8151. "version: 3.0.2\n"
  8152. "\n"
  8153. #. type: example
  8154. #: guix-git/doc/guix.texi:3635
  8155. #, fuzzy, no-wrap
  8156. #| msgid ""
  8157. #| "name: python\n"
  8158. #| "version: 3.3.5\n"
  8159. msgid ""
  8160. "name: guile\n"
  8161. "version: 2.2.7\n"
  8162. "@dots{}\n"
  8163. msgstr ""
  8164. "name: guile\n"
  8165. "version: 2.2.7\n"
  8166. "@dots{}\n"
  8167. #. type: table
  8168. #: guix-git/doc/guix.texi:3639
  8169. 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):"
  8170. msgstr ""
  8171. #. type: example
  8172. #: guix-git/doc/guix.texi:3643
  8173. #, no-wrap
  8174. msgid ""
  8175. "$ guix show guile@@3.0.5 | recsel -p name,version\n"
  8176. "name: guile\n"
  8177. "version: 3.0.5\n"
  8178. msgstr ""
  8179. #. type: item
  8180. #: guix-git/doc/guix.texi:3645
  8181. #, no-wrap
  8182. msgid "--list-installed[=@var{regexp}]"
  8183. msgstr ""
  8184. #. type: itemx
  8185. #: guix-git/doc/guix.texi:3646
  8186. #, no-wrap
  8187. msgid "-I [@var{regexp}]"
  8188. msgstr ""
  8189. #. type: table
  8190. #: guix-git/doc/guix.texi:3650
  8191. 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}."
  8192. msgstr ""
  8193. #. type: table
  8194. #: guix-git/doc/guix.texi:3656
  8195. 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."
  8196. msgstr ""
  8197. #. type: item
  8198. #: guix-git/doc/guix.texi:3657
  8199. #, no-wrap
  8200. msgid "--list-available[=@var{regexp}]"
  8201. msgstr ""
  8202. #. type: itemx
  8203. #: guix-git/doc/guix.texi:3658
  8204. #, no-wrap
  8205. msgid "-A [@var{regexp}]"
  8206. msgstr ""
  8207. #. type: table
  8208. #: guix-git/doc/guix.texi:3662
  8209. 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}."
  8210. msgstr ""
  8211. #. type: table
  8212. #: guix-git/doc/guix.texi:3666
  8213. 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."
  8214. msgstr ""
  8215. #. type: item
  8216. #: guix-git/doc/guix.texi:3667 guix-git/doc/guix.texi:4513
  8217. #, no-wrap
  8218. msgid "--list-generations[=@var{pattern}]"
  8219. msgstr "--list-generations[=@var{padrão}]"
  8220. #. type: itemx
  8221. #: guix-git/doc/guix.texi:3668 guix-git/doc/guix.texi:4514
  8222. #, no-wrap
  8223. msgid "-l [@var{pattern}]"
  8224. msgstr "-l [@var{padrão}]"
  8225. #. type: table
  8226. #: guix-git/doc/guix.texi:3674
  8227. 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."
  8228. msgstr ""
  8229. #. type: table
  8230. #: guix-git/doc/guix.texi:3679
  8231. 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."
  8232. msgstr ""
  8233. #. type: table
  8234. #: guix-git/doc/guix.texi:3682
  8235. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  8236. msgstr ""
  8237. #. type: item
  8238. #: guix-git/doc/guix.texi:3684
  8239. #, no-wrap
  8240. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  8241. msgstr ""
  8242. #. type: itemize
  8243. #: guix-git/doc/guix.texi:3687
  8244. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  8245. msgstr ""
  8246. #. type: itemize
  8247. #: guix-git/doc/guix.texi:3690
  8248. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  8249. msgstr ""
  8250. #. type: item
  8251. #: guix-git/doc/guix.texi:3691
  8252. #, no-wrap
  8253. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  8254. msgstr ""
  8255. #. type: itemize
  8256. #: guix-git/doc/guix.texi:3694
  8257. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  8258. msgstr ""
  8259. #. type: itemize
  8260. #: guix-git/doc/guix.texi:3698
  8261. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  8262. msgstr ""
  8263. #. type: item
  8264. #: guix-git/doc/guix.texi:3699
  8265. #, no-wrap
  8266. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  8267. msgstr ""
  8268. #. type: itemize
  8269. #: guix-git/doc/guix.texi:3703
  8270. 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."
  8271. msgstr ""
  8272. #. type: item
  8273. #: guix-git/doc/guix.texi:3705 guix-git/doc/guix.texi:4548
  8274. #, no-wrap
  8275. msgid "--delete-generations[=@var{pattern}]"
  8276. msgstr ""
  8277. #. type: itemx
  8278. #: guix-git/doc/guix.texi:3706 guix-git/doc/guix.texi:4549
  8279. #, no-wrap
  8280. msgid "-d [@var{pattern}]"
  8281. msgstr ""
  8282. #. type: table
  8283. #: guix-git/doc/guix.texi:3709 guix-git/doc/guix.texi:4552
  8284. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  8285. msgstr ""
  8286. #. type: table
  8287. #: guix-git/doc/guix.texi:3715 guix-git/doc/guix.texi:4558
  8288. 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."
  8289. msgstr ""
  8290. #. type: table
  8291. #: guix-git/doc/guix.texi:3718
  8292. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  8293. msgstr ""
  8294. #. type: table
  8295. #: guix-git/doc/guix.texi:3721 guix-git/doc/guix.texi:4563
  8296. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  8297. msgstr ""
  8298. #. type: cindex
  8299. #: guix-git/doc/guix.texi:3722
  8300. #, no-wrap
  8301. msgid "manifest, exporting"
  8302. msgstr ""
  8303. #. type: anchor{#1}
  8304. #: guix-git/doc/guix.texi:3724
  8305. msgid "export-manifest"
  8306. msgstr ""
  8307. #. type: item
  8308. #: guix-git/doc/guix.texi:3724
  8309. #, no-wrap
  8310. msgid "--export-manifest"
  8311. msgstr ""
  8312. #. type: table
  8313. #: guix-git/doc/guix.texi:3727
  8314. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  8315. msgstr ""
  8316. #. type: table
  8317. #: guix-git/doc/guix.texi:3731
  8318. 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."
  8319. msgstr ""
  8320. #. type: table
  8321. #: guix-git/doc/guix.texi:3736
  8322. 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."
  8323. msgstr ""
  8324. #. type: table
  8325. #: guix-git/doc/guix.texi:3741
  8326. 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."
  8327. msgstr ""
  8328. #. type: cindex
  8329. #: guix-git/doc/guix.texi:3742
  8330. #, no-wrap
  8331. msgid "pinning, channel revisions of a profile"
  8332. msgstr ""
  8333. #. type: item
  8334. #: guix-git/doc/guix.texi:3743
  8335. #, no-wrap
  8336. msgid "--export-channels"
  8337. msgstr ""
  8338. #. type: table
  8339. #: guix-git/doc/guix.texi:3747
  8340. 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})."
  8341. msgstr ""
  8342. #. type: table
  8343. #: guix-git/doc/guix.texi:3751
  8344. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  8345. msgstr ""
  8346. #. type: table
  8347. #: guix-git/doc/guix.texi:3759
  8348. 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})."
  8349. msgstr ""
  8350. #. type: table
  8351. #: guix-git/doc/guix.texi:3764
  8352. 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."
  8353. msgstr ""
  8354. #. type: Plain text
  8355. #: guix-git/doc/guix.texi:3771
  8356. 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})."
  8357. msgstr ""
  8358. #. type: cindex
  8359. #: guix-git/doc/guix.texi:3776
  8360. #, no-wrap
  8361. msgid "pre-built binaries"
  8362. msgstr ""
  8363. #. type: Plain text
  8364. #: guix-git/doc/guix.texi:3782
  8365. 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."
  8366. msgstr ""
  8367. #. type: Plain text
  8368. #: guix-git/doc/guix.texi:3787
  8369. 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."
  8370. msgstr ""
  8371. #. type: cindex
  8372. #: guix-git/doc/guix.texi:3801
  8373. #, no-wrap
  8374. msgid "build farm"
  8375. msgstr ""
  8376. #. type: Plain text
  8377. #: guix-git/doc/guix.texi:3812
  8378. 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})."
  8379. msgstr ""
  8380. #. type: Plain text
  8381. #: guix-git/doc/guix.texi:3818
  8382. 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."
  8383. msgstr ""
  8384. #. type: Plain text
  8385. #: guix-git/doc/guix.texi:3827
  8386. 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."
  8387. msgstr ""
  8388. #. type: cindex
  8389. #: guix-git/doc/guix.texi:3831
  8390. #, no-wrap
  8391. msgid "security"
  8392. msgstr ""
  8393. #. type: cindex
  8394. #: guix-git/doc/guix.texi:3833
  8395. #, no-wrap
  8396. msgid "access control list (ACL), for substitutes"
  8397. msgstr ""
  8398. #. type: cindex
  8399. #: guix-git/doc/guix.texi:3834
  8400. #, no-wrap
  8401. msgid "ACL (access control list), for substitutes"
  8402. msgstr ""
  8403. #. type: Plain text
  8404. #: guix-git/doc/guix.texi:3840
  8405. 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."
  8406. msgstr ""
  8407. #. type: quotation
  8408. #: guix-git/doc/guix.texi:3845
  8409. 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."
  8410. msgstr ""
  8411. #. type: Plain text
  8412. #: guix-git/doc/guix.texi:3853
  8413. 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:"
  8414. msgstr ""
  8415. #. type: example
  8416. #: guix-git/doc/guix.texi:3857
  8417. #, fuzzy, no-wrap
  8418. #| msgid ""
  8419. #| "# guix archive --authorize < \\\n"
  8420. #| " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER}.pub\n"
  8421. msgid ""
  8422. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  8423. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  8424. msgstr ""
  8425. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  8426. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  8427. #. type: Plain text
  8428. #: guix-git/doc/guix.texi:3861
  8429. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  8430. msgstr ""
  8431. #. type: example
  8432. #: guix-git/doc/guix.texi:3870
  8433. #, no-wrap
  8434. msgid ""
  8435. "$ guix build emacs --dry-run\n"
  8436. "The following derivations would be built:\n"
  8437. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  8438. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  8439. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  8440. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  8441. "@dots{}\n"
  8442. msgstr ""
  8443. #. type: Plain text
  8444. #: guix-git/doc/guix.texi:3874
  8445. msgid "to something like:"
  8446. msgstr ""
  8447. #. type: example
  8448. #: guix-git/doc/guix.texi:3883
  8449. #, no-wrap
  8450. msgid ""
  8451. "$ guix build emacs --dry-run\n"
  8452. "112.3 MB would be downloaded:\n"
  8453. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  8454. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  8455. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  8456. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  8457. "@dots{}\n"
  8458. msgstr ""
  8459. #. type: Plain text
  8460. #: guix-git/doc/guix.texi:3890
  8461. 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."
  8462. msgstr ""
  8463. #. type: cindex
  8464. #: guix-git/doc/guix.texi:3891
  8465. #, no-wrap
  8466. msgid "substitutes, how to disable"
  8467. msgstr ""
  8468. #. type: Plain text
  8469. #: guix-git/doc/guix.texi:3897
  8470. 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."
  8471. msgstr ""
  8472. #. type: cindex
  8473. #: guix-git/doc/guix.texi:3901
  8474. #, no-wrap
  8475. msgid "substitute servers, adding more"
  8476. msgstr ""
  8477. #. type: Plain text
  8478. #: guix-git/doc/guix.texi:3908
  8479. 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."
  8480. msgstr ""
  8481. #. type: Plain text
  8482. #: guix-git/doc/guix.texi:3913
  8483. 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."
  8484. msgstr ""
  8485. #. type: Plain text
  8486. #: guix-git/doc/guix.texi:3920
  8487. 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}})."
  8488. msgstr ""
  8489. #. type: Plain text
  8490. #: guix-git/doc/guix.texi:3926
  8491. 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:"
  8492. msgstr ""
  8493. #. type: lisp
  8494. #: guix-git/doc/guix.texi:3943
  8495. #, no-wrap
  8496. msgid ""
  8497. "(operating-system\n"
  8498. " ;; @dots{}\n"
  8499. " (services\n"
  8500. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  8501. " ;; with the list of services you're actually using.\n"
  8502. " (modify-services %desktop-services\n"
  8503. " (guix-service-type config =>\n"
  8504. " (guix-configuration\n"
  8505. " (inherit config)\n"
  8506. " (substitute-urls\n"
  8507. " (append (list \"https://guix.example.org\")\n"
  8508. " %default-substitute-urls))\n"
  8509. " (authorized-keys\n"
  8510. " (append (list (local-file \"./key.pub\"))\n"
  8511. " %default-authorized-guix-keys)))))))\n"
  8512. msgstr ""
  8513. #. type: Plain text
  8514. #: guix-git/doc/guix.texi:3950
  8515. 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:"
  8516. msgstr ""
  8517. #. type: example
  8518. #: guix-git/doc/guix.texi:3954
  8519. #, no-wrap
  8520. msgid ""
  8521. "$ sudo guix system reconfigure /etc/config.scm\n"
  8522. "$ sudo herd restart guix-daemon\n"
  8523. msgstr ""
  8524. #. type: Plain text
  8525. #: guix-git/doc/guix.texi:3958
  8526. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  8527. msgstr ""
  8528. #. type: enumerate
  8529. #: guix-git/doc/guix.texi:3967
  8530. 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}}):"
  8531. msgstr ""
  8532. #. type: example
  8533. #: guix-git/doc/guix.texi:3970
  8534. #, no-wrap
  8535. msgid "@dots{} --substitute-urls='https://guix.example.org @value{SUBSTITUTE-URLS}'\n"
  8536. msgstr ""
  8537. #. type: enumerate
  8538. #: guix-git/doc/guix.texi:3974
  8539. msgid "Restart the daemon. For systemd, it goes like this:"
  8540. msgstr ""
  8541. #. type: example
  8542. #: guix-git/doc/guix.texi:3978
  8543. #, no-wrap
  8544. msgid ""
  8545. "systemctl daemon-reload\n"
  8546. "systemctl restart guix-daemon.service\n"
  8547. msgstr ""
  8548. #. type: enumerate
  8549. #: guix-git/doc/guix.texi:3982
  8550. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  8551. msgstr ""
  8552. #. type: example
  8553. #: guix-git/doc/guix.texi:3985
  8554. #, no-wrap
  8555. msgid "guix archive --authorize < key.pub\n"
  8556. msgstr ""
  8557. #. type: enumerate
  8558. #: guix-git/doc/guix.texi:3989
  8559. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  8560. msgstr ""
  8561. #. type: Plain text
  8562. #: guix-git/doc/guix.texi:3998
  8563. 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."
  8564. msgstr ""
  8565. #. type: Plain text
  8566. #: guix-git/doc/guix.texi:4002
  8567. 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."
  8568. msgstr ""
  8569. #. type: cindex
  8570. #: guix-git/doc/guix.texi:4006
  8571. #, no-wrap
  8572. msgid "digital signatures"
  8573. msgstr ""
  8574. #. type: Plain text
  8575. #: guix-git/doc/guix.texi:4010
  8576. 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."
  8577. msgstr ""
  8578. #. type: Plain text
  8579. #: guix-git/doc/guix.texi:4016
  8580. 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:"
  8581. msgstr ""
  8582. #. type: example
  8583. #: guix-git/doc/guix.texi:4019
  8584. #, no-wrap
  8585. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  8586. msgstr ""
  8587. #. type: Plain text
  8588. #: guix-git/doc/guix.texi:4030
  8589. 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)."
  8590. msgstr ""
  8591. #. type: Plain text
  8592. #: guix-git/doc/guix.texi:4037
  8593. 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)."
  8594. msgstr ""
  8595. #. type: Plain text
  8596. #: guix-git/doc/guix.texi:4049
  8597. 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}."
  8598. msgstr ""
  8599. #. type: Plain text
  8600. #: guix-git/doc/guix.texi:4058
  8601. 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."
  8602. msgstr ""
  8603. #. type: Plain text
  8604. #: guix-git/doc/guix.texi:4072
  8605. 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."
  8606. msgstr ""
  8607. #. type: Plain text
  8608. #: guix-git/doc/guix.texi:4077
  8609. 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."
  8610. msgstr ""
  8611. #. type: cindex
  8612. #: guix-git/doc/guix.texi:4081
  8613. #, no-wrap
  8614. msgid "trust, of pre-built binaries"
  8615. msgstr ""
  8616. #. type: Plain text
  8617. #: guix-git/doc/guix.texi:4091
  8618. 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})."
  8619. msgstr ""
  8620. #. type: Plain text
  8621. #: guix-git/doc/guix.texi:4103
  8622. 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}})."
  8623. msgstr ""
  8624. #. type: Plain text
  8625. #: guix-git/doc/guix.texi:4107
  8626. 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}."
  8627. msgstr ""
  8628. #. type: cindex
  8629. #: guix-git/doc/guix.texi:4111
  8630. #, no-wrap
  8631. msgid "multiple-output packages"
  8632. msgstr ""
  8633. #. type: cindex
  8634. #: guix-git/doc/guix.texi:4112
  8635. #, no-wrap
  8636. msgid "package outputs"
  8637. msgstr ""
  8638. #. type: cindex
  8639. #: guix-git/doc/guix.texi:4113
  8640. #, no-wrap
  8641. msgid "outputs"
  8642. msgstr ""
  8643. #. type: Plain text
  8644. #: guix-git/doc/guix.texi:4123
  8645. 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."
  8646. msgstr ""
  8647. #. type: Plain text
  8648. #: guix-git/doc/guix.texi:4131
  8649. 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:"
  8650. msgstr ""
  8651. #. type: example
  8652. #: guix-git/doc/guix.texi:4134
  8653. #, no-wrap
  8654. msgid "guix install glib\n"
  8655. msgstr ""
  8656. #. type: item
  8657. #: guix-git/doc/guix.texi:4136 guix-git/doc/guix.texi:36972
  8658. #: guix-git/doc/guix.texi:37029
  8659. #, no-wrap
  8660. msgid "documentation"
  8661. msgstr ""
  8662. #. type: Plain text
  8663. #: guix-git/doc/guix.texi:4138
  8664. msgid "The command to install its documentation is:"
  8665. msgstr ""
  8666. #. type: example
  8667. #: guix-git/doc/guix.texi:4141
  8668. #, no-wrap
  8669. msgid "guix install glib:doc\n"
  8670. msgstr ""
  8671. #. type: Plain text
  8672. #: guix-git/doc/guix.texi:4152
  8673. 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})."
  8674. msgstr ""
  8675. #. type: Plain text
  8676. #: guix-git/doc/guix.texi:4160
  8677. 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})."
  8678. msgstr ""
  8679. #. type: section
  8680. #: guix-git/doc/guix.texi:4163
  8681. #, no-wrap
  8682. msgid "Invoking @command{guix gc}"
  8683. msgstr "Invocando @command{guix gc}"
  8684. #. type: cindex
  8685. #: guix-git/doc/guix.texi:4165
  8686. #, no-wrap
  8687. msgid "garbage collector"
  8688. msgstr "coletor de lixo"
  8689. #. type: cindex
  8690. #: guix-git/doc/guix.texi:4166
  8691. #, no-wrap
  8692. msgid "disk space"
  8693. msgstr ""
  8694. #. type: Plain text
  8695. #: guix-git/doc/guix.texi:4172
  8696. 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!"
  8697. msgstr ""
  8698. #. type: Plain text
  8699. #: guix-git/doc/guix.texi:4183
  8700. 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."
  8701. msgstr ""
  8702. #. type: Plain text
  8703. #: guix-git/doc/guix.texi:4189
  8704. 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})."
  8705. msgstr ""
  8706. #. type: Plain text
  8707. #: guix-git/doc/guix.texi:4193
  8708. 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:"
  8709. msgstr ""
  8710. #. type: example
  8711. #: guix-git/doc/guix.texi:4196
  8712. #, no-wrap
  8713. msgid "guix gc -F 5G\n"
  8714. msgstr ""
  8715. #. type: Plain text
  8716. #: guix-git/doc/guix.texi:4205
  8717. 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."
  8718. msgstr ""
  8719. #. type: Plain text
  8720. #: guix-git/doc/guix.texi:4211
  8721. 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:"
  8722. msgstr ""
  8723. #. type: item
  8724. #: guix-git/doc/guix.texi:4213
  8725. #, no-wrap
  8726. msgid "--collect-garbage[=@var{min}]"
  8727. msgstr ""
  8728. #. type: itemx
  8729. #: guix-git/doc/guix.texi:4214
  8730. #, no-wrap
  8731. msgid "-C [@var{min}]"
  8732. msgstr ""
  8733. #. type: table
  8734. #: guix-git/doc/guix.texi:4218
  8735. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  8736. msgstr ""
  8737. #. type: table
  8738. #: guix-git/doc/guix.texi:4223
  8739. 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})."
  8740. msgstr ""
  8741. #. type: table
  8742. #: guix-git/doc/guix.texi:4225
  8743. msgid "When @var{min} is omitted, collect all the garbage."
  8744. msgstr ""
  8745. #. type: item
  8746. #: guix-git/doc/guix.texi:4226
  8747. #, no-wrap
  8748. msgid "--free-space=@var{free}"
  8749. msgstr ""
  8750. #. type: itemx
  8751. #: guix-git/doc/guix.texi:4227
  8752. #, no-wrap
  8753. msgid "-F @var{free}"
  8754. msgstr ""
  8755. #. type: table
  8756. #: guix-git/doc/guix.texi:4231
  8757. 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."
  8758. msgstr ""
  8759. #. type: table
  8760. #: guix-git/doc/guix.texi:4234
  8761. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  8762. msgstr ""
  8763. #. type: item
  8764. #: guix-git/doc/guix.texi:4235
  8765. #, no-wrap
  8766. msgid "--delete-generations[=@var{duration}]"
  8767. msgstr "--delete-generations[=@var{duração}]"
  8768. #. type: itemx
  8769. #: guix-git/doc/guix.texi:4236
  8770. #, no-wrap
  8771. msgid "-d [@var{duration}]"
  8772. msgstr ""
  8773. #. type: table
  8774. #: guix-git/doc/guix.texi:4240
  8775. msgid "Before starting the garbage collection process, delete all the generations older than @var{duration}, for all the user profiles; when run as root, this applies to all the profiles @emph{of all the users}."
  8776. msgstr ""
  8777. #. type: table
  8778. #: guix-git/doc/guix.texi:4244
  8779. 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:"
  8780. msgstr ""
  8781. #. type: example
  8782. #: guix-git/doc/guix.texi:4247
  8783. #, no-wrap
  8784. msgid "guix gc -d 2m -F 10G\n"
  8785. msgstr ""
  8786. #. type: item
  8787. #: guix-git/doc/guix.texi:4249
  8788. #, no-wrap
  8789. msgid "--delete"
  8790. msgstr ""
  8791. #. type: itemx
  8792. #: guix-git/doc/guix.texi:4250 guix-git/doc/guix.texi:5780
  8793. #, no-wrap
  8794. msgid "-D"
  8795. msgstr ""
  8796. #. type: table
  8797. #: guix-git/doc/guix.texi:4254
  8798. 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."
  8799. msgstr ""
  8800. #. type: item
  8801. #: guix-git/doc/guix.texi:4255
  8802. #, no-wrap
  8803. msgid "--list-failures"
  8804. msgstr "--list-failures"
  8805. #. type: table
  8806. #: guix-git/doc/guix.texi:4257
  8807. msgid "List store items corresponding to cached build failures."
  8808. msgstr ""
  8809. #. type: table
  8810. #: guix-git/doc/guix.texi:4261
  8811. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  8812. msgstr ""
  8813. #. type: item
  8814. #: guix-git/doc/guix.texi:4262
  8815. #, no-wrap
  8816. msgid "--list-roots"
  8817. msgstr ""
  8818. #. type: table
  8819. #: guix-git/doc/guix.texi:4265
  8820. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  8821. msgstr ""
  8822. #. type: item
  8823. #: guix-git/doc/guix.texi:4266
  8824. #, no-wrap
  8825. msgid "--list-busy"
  8826. msgstr ""
  8827. #. type: table
  8828. #: guix-git/doc/guix.texi:4269
  8829. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  8830. msgstr ""
  8831. #. type: item
  8832. #: guix-git/doc/guix.texi:4270
  8833. #, no-wrap
  8834. msgid "--clear-failures"
  8835. msgstr "--clear-failures"
  8836. #. type: table
  8837. #: guix-git/doc/guix.texi:4272
  8838. msgid "Remove the specified store items from the failed-build cache."
  8839. msgstr ""
  8840. #. type: table
  8841. #: guix-git/doc/guix.texi:4275
  8842. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  8843. msgstr ""
  8844. #. type: item
  8845. #: guix-git/doc/guix.texi:4276
  8846. #, no-wrap
  8847. msgid "--list-dead"
  8848. msgstr "--list-dead"
  8849. #. type: table
  8850. #: guix-git/doc/guix.texi:4279
  8851. 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."
  8852. msgstr ""
  8853. #. type: item
  8854. #: guix-git/doc/guix.texi:4280
  8855. #, no-wrap
  8856. msgid "--list-live"
  8857. msgstr "--list-live"
  8858. #. type: table
  8859. #: guix-git/doc/guix.texi:4282
  8860. msgid "Show the list of live store files and directories."
  8861. msgstr ""
  8862. #. type: Plain text
  8863. #: guix-git/doc/guix.texi:4286
  8864. msgid "In addition, the references among existing store files can be queried:"
  8865. msgstr ""
  8866. #. type: item
  8867. #: guix-git/doc/guix.texi:4289
  8868. #, no-wrap
  8869. msgid "--references"
  8870. msgstr ""
  8871. #. type: itemx
  8872. #: guix-git/doc/guix.texi:4290
  8873. #, no-wrap
  8874. msgid "--referrers"
  8875. msgstr ""
  8876. #. type: cindex
  8877. #: guix-git/doc/guix.texi:4291 guix-git/doc/guix.texi:13666
  8878. #, no-wrap
  8879. msgid "package dependencies"
  8880. msgstr ""
  8881. #. type: table
  8882. #: guix-git/doc/guix.texi:4294
  8883. msgid "List the references (respectively, the referrers) of store files given as arguments."
  8884. msgstr ""
  8885. #. type: item
  8886. #: guix-git/doc/guix.texi:4295
  8887. #, no-wrap
  8888. msgid "--requisites"
  8889. msgstr "--requisites"
  8890. #. type: itemx
  8891. #: guix-git/doc/guix.texi:4296 guix-git/doc/guix.texi:6566
  8892. #, no-wrap
  8893. msgid "-R"
  8894. msgstr ""
  8895. #. type: item
  8896. #: guix-git/doc/guix.texi:4297 guix-git/doc/guix.texi:13522
  8897. #: guix-git/doc/guix.texi:13550 guix-git/doc/guix.texi:13631
  8898. #, no-wrap
  8899. msgid "closure"
  8900. msgstr ""
  8901. #. type: table
  8902. #: guix-git/doc/guix.texi:4302
  8903. 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."
  8904. msgstr ""
  8905. #. type: table
  8906. #: guix-git/doc/guix.texi:4306
  8907. 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."
  8908. msgstr ""
  8909. #. type: item
  8910. #: guix-git/doc/guix.texi:4307
  8911. #, no-wrap
  8912. msgid "--derivers"
  8913. msgstr ""
  8914. #. type: item
  8915. #: guix-git/doc/guix.texi:4308 guix-git/doc/guix.texi:6880
  8916. #: guix-git/doc/guix.texi:13378 guix-git/doc/guix.texi:13775
  8917. #, no-wrap
  8918. msgid "derivation"
  8919. msgstr ""
  8920. #. type: table
  8921. #: guix-git/doc/guix.texi:4311
  8922. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  8923. msgstr ""
  8924. #. type: table
  8925. #: guix-git/doc/guix.texi:4313
  8926. msgid "For example, this command:"
  8927. msgstr ""
  8928. #. type: example
  8929. #: guix-git/doc/guix.texi:4316
  8930. #, no-wrap
  8931. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  8932. msgstr ""
  8933. #. type: table
  8934. #: guix-git/doc/guix.texi:4321
  8935. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  8936. msgstr ""
  8937. #. type: table
  8938. #: guix-git/doc/guix.texi:4325
  8939. 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."
  8940. msgstr ""
  8941. #. type: Plain text
  8942. #: guix-git/doc/guix.texi:4329
  8943. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  8944. msgstr ""
  8945. #. type: item
  8946. #: guix-git/doc/guix.texi:4332
  8947. #, no-wrap
  8948. msgid "--verify[=@var{options}]"
  8949. msgstr ""
  8950. #. type: cindex
  8951. #: guix-git/doc/guix.texi:4333
  8952. #, no-wrap
  8953. msgid "integrity, of the store"
  8954. msgstr ""
  8955. #. type: cindex
  8956. #: guix-git/doc/guix.texi:4334
  8957. #, no-wrap
  8958. msgid "integrity checking"
  8959. msgstr ""
  8960. #. type: table
  8961. #: guix-git/doc/guix.texi:4336
  8962. msgid "Verify the integrity of the store."
  8963. msgstr ""
  8964. #. type: table
  8965. #: guix-git/doc/guix.texi:4339
  8966. 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}."
  8967. msgstr ""
  8968. #. type: table
  8969. #: guix-git/doc/guix.texi:4342
  8970. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  8971. msgstr ""
  8972. #. type: table
  8973. #: guix-git/doc/guix.texi:4348
  8974. 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."
  8975. msgstr ""
  8976. #. type: cindex
  8977. #: guix-git/doc/guix.texi:4349
  8978. #, no-wrap
  8979. msgid "repairing the store"
  8980. msgstr ""
  8981. #. type: cindex
  8982. #: guix-git/doc/guix.texi:4350 guix-git/doc/guix.texi:11982
  8983. #, no-wrap
  8984. msgid "corruption, recovering from"
  8985. msgstr ""
  8986. #. type: table
  8987. #: guix-git/doc/guix.texi:4358
  8988. 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})."
  8989. msgstr ""
  8990. #. type: item
  8991. #: guix-git/doc/guix.texi:4359
  8992. #, no-wrap
  8993. msgid "--optimize"
  8994. msgstr "--optimize"
  8995. #. type: table
  8996. #: guix-git/doc/guix.texi:4363
  8997. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  8998. msgstr ""
  8999. #. type: table
  9000. #: guix-git/doc/guix.texi:4369
  9001. 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}."
  9002. msgstr ""
  9003. #. type: section
  9004. #: guix-git/doc/guix.texi:4373
  9005. #, no-wrap
  9006. msgid "Invoking @command{guix pull}"
  9007. msgstr "Invocando @command{guix pull}"
  9008. #. type: cindex
  9009. #: guix-git/doc/guix.texi:4375
  9010. #, no-wrap
  9011. msgid "upgrading Guix"
  9012. msgstr ""
  9013. #. type: cindex
  9014. #: guix-git/doc/guix.texi:4376
  9015. #, no-wrap
  9016. msgid "updating Guix"
  9017. msgstr ""
  9018. #. type: command{#1}
  9019. #: guix-git/doc/guix.texi:4377
  9020. #, no-wrap
  9021. msgid "guix pull"
  9022. msgstr ""
  9023. #. type: cindex
  9024. #: guix-git/doc/guix.texi:4378
  9025. #, no-wrap
  9026. msgid "pull"
  9027. msgstr ""
  9028. #. type: cindex
  9029. #: guix-git/doc/guix.texi:4379
  9030. #, no-wrap
  9031. msgid "security, @command{guix pull}"
  9032. msgstr ""
  9033. #. type: cindex
  9034. #: guix-git/doc/guix.texi:4380
  9035. #, no-wrap
  9036. msgid "authenticity, of code obtained with @command{guix pull}"
  9037. msgstr ""
  9038. #. type: Plain text
  9039. #: guix-git/doc/guix.texi:4390
  9040. 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, 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."
  9041. msgstr ""
  9042. #. type: Plain text
  9043. #: guix-git/doc/guix.texi:4393
  9044. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  9045. msgstr ""
  9046. #. type: enumerate
  9047. #: guix-git/doc/guix.texi:4397
  9048. msgid "the @option{--channels} option;"
  9049. msgstr ""
  9050. #. type: enumerate
  9051. #: guix-git/doc/guix.texi:4399
  9052. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  9053. msgstr ""
  9054. #. type: enumerate
  9055. #: guix-git/doc/guix.texi:4401
  9056. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  9057. msgstr ""
  9058. #. type: enumerate
  9059. #: guix-git/doc/guix.texi:4404
  9060. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  9061. msgstr ""
  9062. #. type: Plain text
  9063. #: guix-git/doc/guix.texi:4411
  9064. 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."
  9065. msgstr ""
  9066. #. type: Plain text
  9067. #: guix-git/doc/guix.texi:4417
  9068. 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."
  9069. msgstr ""
  9070. #. type: Plain text
  9071. #: guix-git/doc/guix.texi:4423
  9072. 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}):"
  9073. msgstr ""
  9074. #. type: example
  9075. #: guix-git/doc/guix.texi:4427
  9076. #, no-wrap
  9077. msgid ""
  9078. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  9079. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  9080. msgstr ""
  9081. #. type: Plain text
  9082. #: guix-git/doc/guix.texi:4431
  9083. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  9084. msgstr ""
  9085. #. type: example
  9086. #: guix-git/doc/guix.texi:4439
  9087. #, no-wrap
  9088. msgid ""
  9089. "$ guix pull -l\n"
  9090. "Generation 1\tJun 10 2018 00:18:18\n"
  9091. " guix 65956ad\n"
  9092. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9093. " branch: origin/master\n"
  9094. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  9095. "\n"
  9096. msgstr ""
  9097. #. type: example
  9098. #: guix-git/doc/guix.texi:4445
  9099. #, no-wrap
  9100. msgid ""
  9101. "Generation 2\tJun 11 2018 11:02:49\n"
  9102. " guix e0cc7f6\n"
  9103. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9104. " branch: origin/master\n"
  9105. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  9106. "\n"
  9107. msgstr ""
  9108. #. type: example
  9109. #: guix-git/doc/guix.texi:4451
  9110. #, no-wrap
  9111. msgid ""
  9112. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  9113. " guix 844cc1c\n"
  9114. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9115. " branch: origin/master\n"
  9116. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  9117. msgstr ""
  9118. #. type: Plain text
  9119. #: guix-git/doc/guix.texi:4455
  9120. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  9121. msgstr ""
  9122. #. type: Plain text
  9123. #: guix-git/doc/guix.texi:4460
  9124. 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:"
  9125. msgstr ""
  9126. #. type: example
  9127. #: guix-git/doc/guix.texi:4466
  9128. #, no-wrap
  9129. msgid ""
  9130. "$ guix pull --roll-back\n"
  9131. "switched from generation 3 to 2\n"
  9132. "$ guix pull --delete-generations=1\n"
  9133. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  9134. msgstr ""
  9135. #. type: Plain text
  9136. #: guix-git/doc/guix.texi:4470
  9137. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  9138. msgstr ""
  9139. #. type: example
  9140. #: guix-git/doc/guix.texi:4475
  9141. #, no-wrap
  9142. msgid ""
  9143. "$ guix package -p ~/.config/guix/current --roll-back\n"
  9144. "switched from generation 3 to 2\n"
  9145. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  9146. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  9147. msgstr ""
  9148. #. type: Plain text
  9149. #: guix-git/doc/guix.texi:4479
  9150. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  9151. msgstr ""
  9152. #. type: item
  9153. #: guix-git/doc/guix.texi:4481 guix-git/doc/guix.texi:4649
  9154. #, no-wrap
  9155. msgid "--url=@var{url}"
  9156. msgstr ""
  9157. #. type: itemx
  9158. #: guix-git/doc/guix.texi:4482 guix-git/doc/guix.texi:4650
  9159. #, no-wrap
  9160. msgid "--commit=@var{commit}"
  9161. msgstr "--commit=@var{commit}"
  9162. #. type: itemx
  9163. #: guix-git/doc/guix.texi:4483 guix-git/doc/guix.texi:4651
  9164. #, no-wrap
  9165. msgid "--branch=@var{branch}"
  9166. msgstr "--branch=@var{ramo}"
  9167. #. type: table
  9168. #: guix-git/doc/guix.texi:4487
  9169. 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 @var{branch}."
  9170. msgstr ""
  9171. #. type: cindex
  9172. #: guix-git/doc/guix.texi:4488 guix-git/doc/guix.texi:5095
  9173. #, no-wrap
  9174. msgid "@file{channels.scm}, configuration file"
  9175. msgstr ""
  9176. #. type: cindex
  9177. #: guix-git/doc/guix.texi:4489 guix-git/doc/guix.texi:5096
  9178. #, no-wrap
  9179. msgid "configuration file for channels"
  9180. msgstr ""
  9181. #. type: table
  9182. #: guix-git/doc/guix.texi:4493
  9183. 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)."
  9184. msgstr ""
  9185. #. type: item
  9186. #: guix-git/doc/guix.texi:4494 guix-git/doc/guix.texi:4656
  9187. #, no-wrap
  9188. msgid "--channels=@var{file}"
  9189. msgstr ""
  9190. #. type: itemx
  9191. #: guix-git/doc/guix.texi:4495 guix-git/doc/guix.texi:4657
  9192. #, no-wrap
  9193. msgid "-C @var{file}"
  9194. msgstr "-C @var{arquivo}"
  9195. #. type: table
  9196. #: guix-git/doc/guix.texi:4501
  9197. 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."
  9198. msgstr ""
  9199. #. type: cindex
  9200. #: guix-git/doc/guix.texi:4502
  9201. #, no-wrap
  9202. msgid "channel news"
  9203. msgstr ""
  9204. #. type: item
  9205. #: guix-git/doc/guix.texi:4503
  9206. #, no-wrap
  9207. msgid "--news"
  9208. msgstr ""
  9209. #. type: itemx
  9210. #: guix-git/doc/guix.texi:4504 guix-git/doc/guix.texi:5899
  9211. #: guix-git/doc/guix.texi:6312 guix-git/doc/guix.texi:35862
  9212. #, no-wrap
  9213. msgid "-N"
  9214. msgstr ""
  9215. #. type: table
  9216. #: guix-git/doc/guix.texi:4509
  9217. 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."
  9218. msgstr ""
  9219. #. type: table
  9220. #: guix-git/doc/guix.texi:4512
  9221. msgid "You can view that information for previous generations with @command{guix pull -l}."
  9222. msgstr ""
  9223. #. type: table
  9224. #: guix-git/doc/guix.texi:4519
  9225. 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})."
  9226. msgstr ""
  9227. #. type: table
  9228. #: guix-git/doc/guix.texi:4524
  9229. 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."
  9230. msgstr ""
  9231. #. type: item
  9232. #: guix-git/doc/guix.texi:4525
  9233. #, no-wrap
  9234. msgid "--details"
  9235. msgstr ""
  9236. #. type: table
  9237. #: guix-git/doc/guix.texi:4529
  9238. msgid "Instruct @option{--list-generations} or @option{--news} to display more information about the differences between subsequent generations---see above."
  9239. msgstr ""
  9240. #. type: table
  9241. #: guix-git/doc/guix.texi:4536
  9242. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  9243. msgstr ""
  9244. #. type: table
  9245. #: guix-git/doc/guix.texi:4560
  9246. msgid "If the current generation matches, it is @emph{not} deleted."
  9247. msgstr ""
  9248. #. type: table
  9249. #: guix-git/doc/guix.texi:4566
  9250. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  9251. msgstr ""
  9252. #. type: table
  9253. #: guix-git/doc/guix.texi:4570
  9254. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  9255. msgstr ""
  9256. #. type: item
  9257. #: guix-git/doc/guix.texi:4571 guix-git/doc/guix.texi:11311
  9258. #: guix-git/doc/guix.texi:13266
  9259. #, no-wrap
  9260. msgid "--dry-run"
  9261. msgstr ""
  9262. #. type: itemx
  9263. #: guix-git/doc/guix.texi:4572 guix-git/doc/guix.texi:11312
  9264. #: guix-git/doc/guix.texi:13267 guix-git/doc/guix.texi:13504
  9265. #, no-wrap
  9266. msgid "-n"
  9267. msgstr ""
  9268. #. type: table
  9269. #: guix-git/doc/guix.texi:4575
  9270. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  9271. msgstr ""
  9272. #. type: item
  9273. #: guix-git/doc/guix.texi:4576 guix-git/doc/guix.texi:35881
  9274. #: guix-git/doc/guix.texi:38392
  9275. #, no-wrap
  9276. msgid "--allow-downgrades"
  9277. msgstr ""
  9278. #. type: table
  9279. #: guix-git/doc/guix.texi:4579
  9280. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  9281. msgstr ""
  9282. #. type: cindex
  9283. #: guix-git/doc/guix.texi:4580
  9284. #, no-wrap
  9285. msgid "downgrade attacks, protection against"
  9286. msgstr ""
  9287. #. type: table
  9288. #: guix-git/doc/guix.texi:4585
  9289. 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."
  9290. msgstr ""
  9291. #. type: quotation
  9292. #: guix-git/doc/guix.texi:4589 guix-git/doc/guix.texi:35895
  9293. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  9294. msgstr ""
  9295. #. type: item
  9296. #: guix-git/doc/guix.texi:4591
  9297. #, no-wrap
  9298. msgid "--disable-authentication"
  9299. msgstr ""
  9300. #. type: table
  9301. #: guix-git/doc/guix.texi:4593
  9302. msgid "Allow pulling channel code without authenticating it."
  9303. msgstr ""
  9304. #. type: cindex
  9305. #: guix-git/doc/guix.texi:4594 guix-git/doc/guix.texi:5241
  9306. #, no-wrap
  9307. msgid "authentication, of channel code"
  9308. msgstr ""
  9309. #. type: table
  9310. #: guix-git/doc/guix.texi:4599
  9311. 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."
  9312. msgstr ""
  9313. #. type: quotation
  9314. #: guix-git/doc/guix.texi:4603
  9315. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  9316. msgstr ""
  9317. #. type: itemx
  9318. #: guix-git/doc/guix.texi:4606 guix-git/doc/guix.texi:5882
  9319. #: guix-git/doc/guix.texi:6295 guix-git/doc/guix.texi:6695
  9320. #: guix-git/doc/guix.texi:11924 guix-git/doc/guix.texi:13649
  9321. #: guix-git/doc/guix.texi:13914 guix-git/doc/guix.texi:14591
  9322. #: guix-git/doc/guix.texi:35810
  9323. #, no-wrap
  9324. msgid "-s @var{system}"
  9325. msgstr "-s @var{sistema}"
  9326. #. type: table
  9327. #: guix-git/doc/guix.texi:4609 guix-git/doc/guix.texi:6698
  9328. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  9329. msgstr ""
  9330. #. type: table
  9331. #: guix-git/doc/guix.texi:4613
  9332. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  9333. msgstr ""
  9334. #. type: Plain text
  9335. #: guix-git/doc/guix.texi:4619
  9336. 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."
  9337. msgstr ""
  9338. #. type: Plain text
  9339. #: guix-git/doc/guix.texi:4622
  9340. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  9341. msgstr ""
  9342. #. type: section
  9343. #: guix-git/doc/guix.texi:4624
  9344. #, no-wrap
  9345. msgid "Invoking @command{guix time-machine}"
  9346. msgstr ""
  9347. #. type: command{#1}
  9348. #: guix-git/doc/guix.texi:4626
  9349. #, no-wrap
  9350. msgid "guix time-machine"
  9351. msgstr ""
  9352. #. type: cindex
  9353. #: guix-git/doc/guix.texi:4627 guix-git/doc/guix.texi:5199
  9354. #, no-wrap
  9355. msgid "pinning, channels"
  9356. msgstr ""
  9357. #. type: cindex
  9358. #: guix-git/doc/guix.texi:4628 guix-git/doc/guix.texi:4810
  9359. #: guix-git/doc/guix.texi:5200
  9360. #, no-wrap
  9361. msgid "replicating Guix"
  9362. msgstr ""
  9363. #. type: cindex
  9364. #: guix-git/doc/guix.texi:4629 guix-git/doc/guix.texi:5201
  9365. #, no-wrap
  9366. msgid "reproducibility, of Guix"
  9367. msgstr ""
  9368. #. type: Plain text
  9369. #: guix-git/doc/guix.texi:4637
  9370. 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})."
  9371. msgstr ""
  9372. #. type: Plain text
  9373. #: guix-git/doc/guix.texi:4639 guix-git/doc/guix.texi:5663
  9374. #: guix-git/doc/guix.texi:6033 guix-git/doc/guix.texi:6818
  9375. #: guix-git/doc/guix.texi:11107 guix-git/doc/guix.texi:11231
  9376. #: guix-git/doc/guix.texi:12215 guix-git/doc/guix.texi:12311
  9377. #: guix-git/doc/guix.texi:13252 guix-git/doc/guix.texi:13479
  9378. #: guix-git/doc/guix.texi:13972 guix-git/doc/guix.texi:14345
  9379. #: guix-git/doc/guix.texi:14434 guix-git/doc/guix.texi:14473
  9380. #: guix-git/doc/guix.texi:14570
  9381. msgid "The general syntax is:"
  9382. msgstr ""
  9383. #. type: example
  9384. #: guix-git/doc/guix.texi:4642
  9385. #, no-wrap
  9386. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  9387. msgstr ""
  9388. #. type: Plain text
  9389. #: guix-git/doc/guix.texi:4647
  9390. 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}):"
  9391. msgstr ""
  9392. #. type: table
  9393. #: guix-git/doc/guix.texi:4655
  9394. 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 @var{branch}."
  9395. msgstr ""
  9396. #. type: table
  9397. #: guix-git/doc/guix.texi:4661
  9398. 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."
  9399. msgstr ""
  9400. #. type: Plain text
  9401. #: guix-git/doc/guix.texi:4665
  9402. 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"
  9403. msgstr ""
  9404. #. type: example
  9405. #: guix-git/doc/guix.texi:4668
  9406. #, no-wrap
  9407. msgid "guix time-machine -- build hello\n"
  9408. msgstr ""
  9409. #. type: Plain text
  9410. #: guix-git/doc/guix.texi:4673
  9411. 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!"
  9412. msgstr ""
  9413. #. type: Plain text
  9414. #: guix-git/doc/guix.texi:4677
  9415. 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})."
  9416. msgstr ""
  9417. #. type: quotation
  9418. #: guix-git/doc/guix.texi:4685
  9419. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  9420. msgstr ""
  9421. #. type: cindex
  9422. #: guix-git/doc/guix.texi:4687 guix-git/doc/guix.texi:11144
  9423. #, no-wrap
  9424. msgid "inferiors"
  9425. msgstr ""
  9426. #. type: cindex
  9427. #: guix-git/doc/guix.texi:4688
  9428. #, no-wrap
  9429. msgid "composition of Guix revisions"
  9430. msgstr ""
  9431. #. type: Plain text
  9432. #: guix-git/doc/guix.texi:4693
  9433. 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."
  9434. msgstr ""
  9435. #. type: cindex
  9436. #: guix-git/doc/guix.texi:4694 guix-git/doc/guix.texi:4759
  9437. #, no-wrap
  9438. msgid "inferior packages"
  9439. msgstr ""
  9440. #. type: Plain text
  9441. #: guix-git/doc/guix.texi:4700
  9442. 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}."
  9443. msgstr ""
  9444. #. type: Plain text
  9445. #: guix-git/doc/guix.texi:4710
  9446. 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{Invoking guix package}); 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:"
  9447. msgstr ""
  9448. #. type: lisp
  9449. #: guix-git/doc/guix.texi:4714
  9450. #, no-wrap
  9451. msgid ""
  9452. "(use-modules (guix inferior) (guix channels)\n"
  9453. " (srfi srfi-1)) ;for 'first'\n"
  9454. "\n"
  9455. msgstr ""
  9456. #. type: lisp
  9457. #: guix-git/doc/guix.texi:4723
  9458. #, no-wrap
  9459. msgid ""
  9460. "(define channels\n"
  9461. " ;; This is the old revision from which we want to\n"
  9462. " ;; extract guile-json.\n"
  9463. " (list (channel\n"
  9464. " (name 'guix)\n"
  9465. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9466. " (commit\n"
  9467. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  9468. "\n"
  9469. msgstr ""
  9470. #. type: lisp
  9471. #: guix-git/doc/guix.texi:4727
  9472. #, no-wrap
  9473. msgid ""
  9474. "(define inferior\n"
  9475. " ;; An inferior representing the above revision.\n"
  9476. " (inferior-for-channels channels))\n"
  9477. "\n"
  9478. msgstr ""
  9479. #. type: lisp
  9480. #: guix-git/doc/guix.texi:4733
  9481. #, no-wrap
  9482. msgid ""
  9483. ";; Now create a manifest with the current \"guile\" package\n"
  9484. ";; and the old \"guile-json\" package.\n"
  9485. "(packages->manifest\n"
  9486. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  9487. " (specification->package \"guile\")))\n"
  9488. msgstr ""
  9489. #. type: Plain text
  9490. #: guix-git/doc/guix.texi:4738
  9491. 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."
  9492. msgstr ""
  9493. #. type: Plain text
  9494. #: guix-git/doc/guix.texi:4741
  9495. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  9496. msgstr ""
  9497. #. type: deffn
  9498. #: guix-git/doc/guix.texi:4742
  9499. #, no-wrap
  9500. msgid "{Scheme Procedure} inferior-for-channels @var{channels} @"
  9501. msgstr ""
  9502. #. type: deffn
  9503. #: guix-git/doc/guix.texi:4747
  9504. msgid "[#:cache-directory] [#:ttl] 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."
  9505. msgstr ""
  9506. #. type: deffn
  9507. #: guix-git/doc/guix.texi:4750
  9508. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  9509. msgstr ""
  9510. #. type: deffn
  9511. #: guix-git/doc/guix.texi:4752
  9512. #, no-wrap
  9513. msgid "{Scheme Procedure} open-inferior @var{directory} @"
  9514. msgstr ""
  9515. #. type: deffn
  9516. #: guix-git/doc/guix.texi:4757
  9517. msgid "[#:command \"bin/guix\"] 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."
  9518. msgstr ""
  9519. #. type: Plain text
  9520. #: guix-git/doc/guix.texi:4762
  9521. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  9522. msgstr ""
  9523. #. type: deffn
  9524. #: guix-git/doc/guix.texi:4763
  9525. #, no-wrap
  9526. msgid "{Scheme Procedure} inferior-packages @var{inferior}"
  9527. msgstr ""
  9528. #. type: deffn
  9529. #: guix-git/doc/guix.texi:4765
  9530. msgid "Return the list of packages known to @var{inferior}."
  9531. msgstr ""
  9532. #. type: deffn
  9533. #: guix-git/doc/guix.texi:4767
  9534. #, no-wrap
  9535. msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @"
  9536. msgstr ""
  9537. #. type: deffn
  9538. #: guix-git/doc/guix.texi:4772
  9539. msgid "[@var{version}] 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}."
  9540. msgstr ""
  9541. #. type: deffn
  9542. #: guix-git/doc/guix.texi:4774
  9543. #, no-wrap
  9544. msgid "{Scheme Procedure} inferior-package? @var{obj}"
  9545. msgstr ""
  9546. #. type: deffn
  9547. #: guix-git/doc/guix.texi:4776
  9548. msgid "Return true if @var{obj} is an inferior package."
  9549. msgstr ""
  9550. #. type: deffn
  9551. #: guix-git/doc/guix.texi:4778
  9552. #, no-wrap
  9553. msgid "{Scheme Procedure} inferior-package-name @var{package}"
  9554. msgstr ""
  9555. #. type: deffnx
  9556. #: guix-git/doc/guix.texi:4779
  9557. #, no-wrap
  9558. msgid "{Scheme Procedure} inferior-package-version @var{package}"
  9559. msgstr ""
  9560. #. type: deffnx
  9561. #: guix-git/doc/guix.texi:4780
  9562. #, no-wrap
  9563. msgid "{Scheme Procedure} inferior-package-synopsis @var{package}"
  9564. msgstr ""
  9565. #. type: deffnx
  9566. #: guix-git/doc/guix.texi:4781
  9567. #, no-wrap
  9568. msgid "{Scheme Procedure} inferior-package-description @var{package}"
  9569. msgstr ""
  9570. #. type: deffnx
  9571. #: guix-git/doc/guix.texi:4782
  9572. #, no-wrap
  9573. msgid "{Scheme Procedure} inferior-package-home-page @var{package}"
  9574. msgstr ""
  9575. #. type: deffnx
  9576. #: guix-git/doc/guix.texi:4783
  9577. #, no-wrap
  9578. msgid "{Scheme Procedure} inferior-package-location @var{package}"
  9579. msgstr ""
  9580. #. type: deffnx
  9581. #: guix-git/doc/guix.texi:4784
  9582. #, no-wrap
  9583. msgid "{Scheme Procedure} inferior-package-inputs @var{package}"
  9584. msgstr ""
  9585. #. type: deffnx
  9586. #: guix-git/doc/guix.texi:4785
  9587. #, no-wrap
  9588. msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}"
  9589. msgstr ""
  9590. #. type: deffnx
  9591. #: guix-git/doc/guix.texi:4786
  9592. #, no-wrap
  9593. msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}"
  9594. msgstr ""
  9595. #. type: deffnx
  9596. #: guix-git/doc/guix.texi:4787
  9597. #, no-wrap
  9598. msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}"
  9599. msgstr ""
  9600. #. type: deffnx
  9601. #: guix-git/doc/guix.texi:4788
  9602. #, no-wrap
  9603. msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}"
  9604. msgstr ""
  9605. #. type: deffnx
  9606. #: guix-git/doc/guix.texi:4789
  9607. #, no-wrap
  9608. msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}"
  9609. msgstr ""
  9610. #. type: deffnx
  9611. #: guix-git/doc/guix.texi:4790
  9612. #, no-wrap
  9613. msgid "{Scheme Procedure} inferior-package-search-paths @var{package}"
  9614. msgstr ""
  9615. #. type: deffn
  9616. #: guix-git/doc/guix.texi:4795
  9617. 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."
  9618. msgstr ""
  9619. #. type: Plain text
  9620. #: guix-git/doc/guix.texi:4805
  9621. 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."
  9622. msgstr ""
  9623. #. type: section
  9624. #: guix-git/doc/guix.texi:4807
  9625. #, no-wrap
  9626. msgid "Invoking @command{guix describe}"
  9627. msgstr "Invocando @command{guix describe}"
  9628. #. type: Plain text
  9629. #: guix-git/doc/guix.texi:4818
  9630. 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."
  9631. msgstr ""
  9632. #. type: Plain text
  9633. #: guix-git/doc/guix.texi:4822
  9634. 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}):"
  9635. msgstr ""
  9636. #. type: example
  9637. #: guix-git/doc/guix.texi:4830
  9638. #, no-wrap
  9639. msgid ""
  9640. "$ guix describe\n"
  9641. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  9642. " guix e0fa68c\n"
  9643. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9644. " branch: master\n"
  9645. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  9646. msgstr ""
  9647. #. type: Plain text
  9648. #: guix-git/doc/guix.texi:4839
  9649. 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."
  9650. msgstr ""
  9651. #. type: Plain text
  9652. #: guix-git/doc/guix.texi:4842
  9653. 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:"
  9654. msgstr ""
  9655. #. type: example
  9656. #: guix-git/doc/guix.texi:4855
  9657. #, no-wrap
  9658. msgid ""
  9659. "$ guix describe -f channels\n"
  9660. "(list (channel\n"
  9661. " (name 'guix)\n"
  9662. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9663. " (commit\n"
  9664. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  9665. " (introduction\n"
  9666. " (make-channel-introduction\n"
  9667. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  9668. " (openpgp-fingerprint\n"
  9669. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  9670. msgstr ""
  9671. #. type: Plain text
  9672. #: guix-git/doc/guix.texi:4864
  9673. 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!"
  9674. msgstr ""
  9675. #. type: Plain text
  9676. #: guix-git/doc/guix.texi:4867
  9677. msgid "The details of the options supported by @command{guix describe} are as follows:"
  9678. msgstr ""
  9679. #. type: item
  9680. #: guix-git/doc/guix.texi:4869 guix-git/doc/guix.texi:6496
  9681. #: guix-git/doc/guix.texi:14703
  9682. #, no-wrap
  9683. msgid "--format=@var{format}"
  9684. msgstr ""
  9685. #. type: itemx
  9686. #: guix-git/doc/guix.texi:4870 guix-git/doc/guix.texi:6497
  9687. #: guix-git/doc/guix.texi:14704
  9688. #, no-wrap
  9689. msgid "-f @var{format}"
  9690. msgstr ""
  9691. #. type: table
  9692. #: guix-git/doc/guix.texi:4872 guix-git/doc/guix.texi:14706
  9693. msgid "Produce output in the specified @var{format}, one of:"
  9694. msgstr ""
  9695. #. type: item
  9696. #: guix-git/doc/guix.texi:4874
  9697. #, no-wrap
  9698. msgid "human"
  9699. msgstr ""
  9700. #. type: table
  9701. #: guix-git/doc/guix.texi:4876
  9702. msgid "produce human-readable output;"
  9703. msgstr ""
  9704. #. type: cindex
  9705. #: guix-git/doc/guix.texi:4876 guix-git/doc/guix.texi:5094
  9706. #, no-wrap
  9707. msgid "channels"
  9708. msgstr ""
  9709. #. type: table
  9710. #: guix-git/doc/guix.texi:4880
  9711. 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});"
  9712. msgstr ""
  9713. #. type: item
  9714. #: guix-git/doc/guix.texi:4880
  9715. #, no-wrap
  9716. msgid "channels-sans-intro"
  9717. msgstr ""
  9718. #. type: table
  9719. #: guix-git/doc/guix.texi:4886
  9720. 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;"
  9721. msgstr ""
  9722. #. type: item
  9723. #: guix-git/doc/guix.texi:4886 guix-git/doc/guix.texi:12528
  9724. #, no-wrap
  9725. msgid "json"
  9726. msgstr ""
  9727. #. type: cindex
  9728. #: guix-git/doc/guix.texi:4887
  9729. #, no-wrap
  9730. msgid "JSON"
  9731. msgstr ""
  9732. #. type: table
  9733. #: guix-git/doc/guix.texi:4889
  9734. msgid "produce a list of channel specifications in JSON format;"
  9735. msgstr ""
  9736. #. type: item
  9737. #: guix-git/doc/guix.texi:4889 guix-git/doc/guix.texi:14708
  9738. #, no-wrap
  9739. msgid "recutils"
  9740. msgstr ""
  9741. #. type: table
  9742. #: guix-git/doc/guix.texi:4891
  9743. msgid "produce a list of channel specifications in Recutils format."
  9744. msgstr ""
  9745. #. type: item
  9746. #: guix-git/doc/guix.texi:4893
  9747. #, no-wrap
  9748. msgid "--list-formats"
  9749. msgstr ""
  9750. #. type: table
  9751. #: guix-git/doc/guix.texi:4895
  9752. msgid "Display available formats for @option{--format} option."
  9753. msgstr ""
  9754. #. type: table
  9755. #: guix-git/doc/guix.texi:4899
  9756. msgid "Display information about @var{profile}."
  9757. msgstr ""
  9758. #. type: section
  9759. #: guix-git/doc/guix.texi:4902
  9760. #, no-wrap
  9761. msgid "Invoking @command{guix archive}"
  9762. msgstr "Invocando @command{guix archive}"
  9763. #. type: command{#1}
  9764. #: guix-git/doc/guix.texi:4904
  9765. #, no-wrap
  9766. msgid "guix archive"
  9767. msgstr ""
  9768. #. type: cindex
  9769. #: guix-git/doc/guix.texi:4905
  9770. #, no-wrap
  9771. msgid "archive"
  9772. msgstr "pacote"
  9773. #. type: Plain text
  9774. #: guix-git/doc/guix.texi:4911
  9775. 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."
  9776. msgstr ""
  9777. #. type: quotation
  9778. #: guix-git/doc/guix.texi:4915
  9779. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  9780. msgstr ""
  9781. #. type: cindex
  9782. #: guix-git/doc/guix.texi:4917
  9783. #, no-wrap
  9784. msgid "exporting store items"
  9785. msgstr ""
  9786. #. type: Plain text
  9787. #: guix-git/doc/guix.texi:4919
  9788. msgid "To export store files as an archive to standard output, run:"
  9789. msgstr ""
  9790. #. type: example
  9791. #: guix-git/doc/guix.texi:4922
  9792. #, no-wrap
  9793. msgid "guix archive --export @var{options} @var{specifications}...\n"
  9794. msgstr ""
  9795. #. type: Plain text
  9796. #: guix-git/doc/guix.texi:4929
  9797. 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}:"
  9798. msgstr ""
  9799. #. type: example
  9800. #: guix-git/doc/guix.texi:4932
  9801. #, no-wrap
  9802. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  9803. msgstr ""
  9804. #. type: Plain text
  9805. #: guix-git/doc/guix.texi:4937
  9806. 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})."
  9807. msgstr ""
  9808. #. type: Plain text
  9809. #: guix-git/doc/guix.texi:4940
  9810. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  9811. msgstr ""
  9812. #. type: example
  9813. #: guix-git/doc/guix.texi:4943
  9814. #, no-wrap
  9815. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  9816. msgstr ""
  9817. #. type: Plain text
  9818. #: guix-git/doc/guix.texi:4948
  9819. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  9820. msgstr ""
  9821. #. type: example
  9822. #: guix-git/doc/guix.texi:4952
  9823. #, no-wrap
  9824. msgid ""
  9825. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  9826. " ssh the-machine guix archive --import\n"
  9827. msgstr ""
  9828. #. type: Plain text
  9829. #: guix-git/doc/guix.texi:4962
  9830. 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})."
  9831. msgstr ""
  9832. #. type: cindex
  9833. #: guix-git/doc/guix.texi:4963
  9834. #, no-wrap
  9835. msgid "nar, archive format"
  9836. msgstr ""
  9837. #. type: cindex
  9838. #: guix-git/doc/guix.texi:4964
  9839. #, no-wrap
  9840. msgid "normalized archive (nar)"
  9841. msgstr ""
  9842. #. type: cindex
  9843. #: guix-git/doc/guix.texi:4965
  9844. #, no-wrap
  9845. msgid "nar bundle, archive format"
  9846. msgstr ""
  9847. #. type: Plain text
  9848. #: guix-git/doc/guix.texi:4970
  9849. 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}."
  9850. msgstr ""
  9851. #. type: Plain text
  9852. #: guix-git/doc/guix.texi:4980
  9853. 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."
  9854. msgstr ""
  9855. #. type: Plain text
  9856. #: guix-git/doc/guix.texi:4984
  9857. 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."
  9858. msgstr ""
  9859. #. type: Plain text
  9860. #: guix-git/doc/guix.texi:4990
  9861. 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."
  9862. msgstr ""
  9863. #. type: Plain text
  9864. #: guix-git/doc/guix.texi:4992
  9865. msgid "The main options are:"
  9866. msgstr ""
  9867. #. type: item
  9868. #: guix-git/doc/guix.texi:4994
  9869. #, no-wrap
  9870. msgid "--export"
  9871. msgstr ""
  9872. #. type: table
  9873. #: guix-git/doc/guix.texi:4997
  9874. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  9875. msgstr ""
  9876. #. type: table
  9877. #: guix-git/doc/guix.texi:5000
  9878. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  9879. msgstr ""
  9880. #. type: itemx
  9881. #: guix-git/doc/guix.texi:5001 guix-git/doc/guix.texi:12248
  9882. #: guix-git/doc/guix.texi:12375 guix-git/doc/guix.texi:12400
  9883. #: guix-git/doc/guix.texi:12432 guix-git/doc/guix.texi:12603
  9884. #: guix-git/doc/guix.texi:12644 guix-git/doc/guix.texi:12695
  9885. #: guix-git/doc/guix.texi:12720 guix-git/doc/guix.texi:12736
  9886. #: guix-git/doc/guix.texi:12784 guix-git/doc/guix.texi:12820
  9887. #, no-wrap
  9888. msgid "-r"
  9889. msgstr ""
  9890. #. type: item
  9891. #: guix-git/doc/guix.texi:5002 guix-git/doc/guix.texi:12247
  9892. #: guix-git/doc/guix.texi:12374 guix-git/doc/guix.texi:12399
  9893. #: guix-git/doc/guix.texi:12431 guix-git/doc/guix.texi:12602
  9894. #: guix-git/doc/guix.texi:12643 guix-git/doc/guix.texi:12694
  9895. #: guix-git/doc/guix.texi:12719 guix-git/doc/guix.texi:12735
  9896. #: guix-git/doc/guix.texi:12783 guix-git/doc/guix.texi:12819
  9897. #: guix-git/doc/guix.texi:12868
  9898. #, no-wrap
  9899. msgid "--recursive"
  9900. msgstr ""
  9901. #. type: table
  9902. #: guix-git/doc/guix.texi:5007
  9903. 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."
  9904. msgstr ""
  9905. #. type: item
  9906. #: guix-git/doc/guix.texi:5008
  9907. #, no-wrap
  9908. msgid "--import"
  9909. msgstr ""
  9910. #. type: table
  9911. #: guix-git/doc/guix.texi:5013
  9912. 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)."
  9913. msgstr ""
  9914. #. type: item
  9915. #: guix-git/doc/guix.texi:5014
  9916. #, no-wrap
  9917. msgid "--missing"
  9918. msgstr ""
  9919. #. type: table
  9920. #: guix-git/doc/guix.texi:5018
  9921. 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."
  9922. msgstr ""
  9923. #. type: item
  9924. #: guix-git/doc/guix.texi:5019
  9925. #, no-wrap
  9926. msgid "--generate-key[=@var{parameters}]"
  9927. msgstr ""
  9928. #. type: cindex
  9929. #: guix-git/doc/guix.texi:5020
  9930. #, no-wrap
  9931. msgid "signing, archives"
  9932. msgstr ""
  9933. #. type: table
  9934. #: guix-git/doc/guix.texi:5027
  9935. 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."
  9936. msgstr ""
  9937. #. type: table
  9938. #: guix-git/doc/guix.texi:5037
  9939. 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})."
  9940. msgstr ""
  9941. #. type: item
  9942. #: guix-git/doc/guix.texi:5038
  9943. #, no-wrap
  9944. msgid "--authorize"
  9945. msgstr ""
  9946. #. type: cindex
  9947. #: guix-git/doc/guix.texi:5039
  9948. #, no-wrap
  9949. msgid "authorizing, archives"
  9950. msgstr ""
  9951. #. type: table
  9952. #: guix-git/doc/guix.texi:5043
  9953. 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."
  9954. msgstr ""
  9955. #. type: table
  9956. #: guix-git/doc/guix.texi:5050
  9957. 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)}."
  9958. msgstr ""
  9959. #. type: item
  9960. #: guix-git/doc/guix.texi:5051
  9961. #, no-wrap
  9962. msgid "--extract=@var{directory}"
  9963. msgstr ""
  9964. #. type: itemx
  9965. #: guix-git/doc/guix.texi:5052
  9966. #, no-wrap
  9967. msgid "-x @var{directory}"
  9968. msgstr ""
  9969. #. type: table
  9970. #: guix-git/doc/guix.texi:5056
  9971. 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."
  9972. msgstr ""
  9973. #. type: table
  9974. #: guix-git/doc/guix.texi:5059
  9975. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER-1}} to @file{/tmp/emacs}:"
  9976. msgstr ""
  9977. #. type: example
  9978. #: guix-git/doc/guix.texi:5064
  9979. #, no-wrap
  9980. msgid ""
  9981. "$ wget -O - \\\n"
  9982. " https://@value{SUBSTITUTE-SERVER-1}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  9983. " | gunzip | guix archive -x /tmp/emacs\n"
  9984. msgstr ""
  9985. #. type: table
  9986. #: guix-git/doc/guix.texi:5071
  9987. 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."
  9988. msgstr ""
  9989. #. type: table
  9990. #: guix-git/doc/guix.texi:5075
  9991. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  9992. msgstr ""
  9993. #. type: item
  9994. #: guix-git/doc/guix.texi:5076
  9995. #, no-wrap
  9996. msgid "--list"
  9997. msgstr ""
  9998. #. type: itemx
  9999. #: guix-git/doc/guix.texi:5077 guix-git/doc/guix.texi:12590
  10000. #: guix-git/doc/guix.texi:12637
  10001. #, no-wrap
  10002. msgid "-t"
  10003. msgstr ""
  10004. #. type: table
  10005. #: guix-git/doc/guix.texi:5081
  10006. 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:"
  10007. msgstr ""
  10008. #. type: example
  10009. #: guix-git/doc/guix.texi:5086
  10010. #, no-wrap
  10011. msgid ""
  10012. "$ wget -O - \\\n"
  10013. " https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  10014. " | lzip -d | guix archive -t\n"
  10015. msgstr ""
  10016. #. type: cindex
  10017. #: guix-git/doc/guix.texi:5097
  10018. #, no-wrap
  10019. msgid "@command{guix pull}, configuration file"
  10020. msgstr ""
  10021. #. type: cindex
  10022. #: guix-git/doc/guix.texi:5098
  10023. #, no-wrap
  10024. msgid "configuration of @command{guix pull}"
  10025. msgstr ""
  10026. #. type: Plain text
  10027. #: guix-git/doc/guix.texi:5109
  10028. 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."
  10029. msgstr ""
  10030. #. type: cindex
  10031. #: guix-git/doc/guix.texi:5127
  10032. #, no-wrap
  10033. msgid "extending the package collection (channels)"
  10034. msgstr ""
  10035. #. type: cindex
  10036. #: guix-git/doc/guix.texi:5128
  10037. #, no-wrap
  10038. msgid "variant packages (channels)"
  10039. msgstr ""
  10040. #. type: Plain text
  10041. #: guix-git/doc/guix.texi:5132
  10042. 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):"
  10043. msgstr ""
  10044. #. type: vindex
  10045. #: guix-git/doc/guix.texi:5133
  10046. #, no-wrap
  10047. msgid "%default-channels"
  10048. msgstr ""
  10049. #. type: lisp
  10050. #: guix-git/doc/guix.texi:5140
  10051. #, no-wrap
  10052. msgid ""
  10053. ";; Add variant packages to those Guix provides.\n"
  10054. "(cons (channel\n"
  10055. " (name 'variant-packages)\n"
  10056. " (url \"https://example.org/variant-packages.git\"))\n"
  10057. " %default-channels)\n"
  10058. msgstr ""
  10059. #. type: Plain text
  10060. #: guix-git/doc/guix.texi:5150
  10061. 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:"
  10062. msgstr ""
  10063. #. type: example
  10064. #: guix-git/doc/guix.texi:5165
  10065. #, no-wrap
  10066. msgid ""
  10067. "$ guix pull --list-generations\n"
  10068. "@dots{}\n"
  10069. "Generation 19\tAug 27 2018 16:20:48\n"
  10070. " guix d894ab8\n"
  10071. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  10072. " branch: master\n"
  10073. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  10074. " variant-packages dd3df5e\n"
  10075. " repository URL: https://example.org/variant-packages.git\n"
  10076. " branch: master\n"
  10077. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  10078. " 11 new packages: variant-gimp, variant-emacs-with-cool-features, @dots{}\n"
  10079. " 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n"
  10080. msgstr ""
  10081. #. type: Plain text
  10082. #: guix-git/doc/guix.texi:5173
  10083. msgid "The output of @command{guix pull} above shows that Generation@tie{}19 includes both Guix and packages from the @code{variant-personal-packages} channel. Among the new and upgraded packages that are listed, some like @code{variant-gimp} and @code{variant-emacs-with-cool-features} might come from @code{variant-packages}, while others come from the Guix default channel."
  10084. msgstr ""
  10085. #. type: Plain text
  10086. #: guix-git/doc/guix.texi:5182
  10087. 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:"
  10088. msgstr ""
  10089. #. type: lisp
  10090. #: guix-git/doc/guix.texi:5189
  10091. #, no-wrap
  10092. msgid ""
  10093. ";; Tell 'guix pull' to use another repo.\n"
  10094. "(list (channel\n"
  10095. " (name 'guix)\n"
  10096. " (url \"https://example.org/another-guix.git\")\n"
  10097. " (branch \"super-hacks\")))\n"
  10098. msgstr ""
  10099. #. type: Plain text
  10100. #: guix-git/doc/guix.texi:5195
  10101. 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})."
  10102. msgstr ""
  10103. #. type: Plain text
  10104. #: guix-git/doc/guix.texi:5206
  10105. msgid "The @command{guix pull --list-generations} output above shows precisely which commits were used to build this instance of Guix. We can thus replicate it, say, on another machine, by providing a channel specification in @file{~/.config/guix/channels.scm} that is ``pinned'' to these commits:"
  10106. msgstr ""
  10107. #. type: lisp
  10108. #: guix-git/doc/guix.texi:5217
  10109. #, no-wrap
  10110. msgid ""
  10111. ";; Deploy specific commits of my channels of interest.\n"
  10112. "(list (channel\n"
  10113. " (name 'guix)\n"
  10114. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  10115. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  10116. " (channel\n"
  10117. " (name 'variant-packages)\n"
  10118. " (url \"https://example.org/variant-packages.git\")\n"
  10119. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  10120. msgstr ""
  10121. #. type: Plain text
  10122. #: guix-git/doc/guix.texi:5224
  10123. msgid "The @command{guix describe --format=channels} command can even generate this list of channels directly (@pxref{Invoking guix describe}). The resulting file can be used with the -C options of @command{guix pull} (@pxref{Invoking guix pull}) or @command{guix time-machine} (@pxref{Invoking guix time-machine})."
  10124. msgstr ""
  10125. #. type: Plain text
  10126. #: guix-git/doc/guix.texi:5231
  10127. msgid "At this point the two machines run the @emph{exact same Guix}, with access to the @emph{exact same packages}. The output of @command{guix build gimp} on one machine will be exactly the same, bit for bit, as the output of the same command on the other machine. It also means both machines have access to all the source code of Guix and, transitively, to all the source code of every package it defines."
  10128. msgstr ""
  10129. #. type: Plain text
  10130. #: guix-git/doc/guix.texi:5236
  10131. 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."
  10132. msgstr ""
  10133. #. type: anchor{#1}
  10134. #: guix-git/doc/guix.texi:5241
  10135. msgid "channel-authentication"
  10136. msgstr ""
  10137. #. type: Plain text
  10138. #: guix-git/doc/guix.texi:5247
  10139. 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."
  10140. msgstr ""
  10141. #. type: Plain text
  10142. #: guix-git/doc/guix.texi:5252
  10143. 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:"
  10144. msgstr ""
  10145. #. type: lisp
  10146. #: guix-git/doc/guix.texi:5262
  10147. #, no-wrap
  10148. msgid ""
  10149. "(channel\n"
  10150. " (name 'some-channel)\n"
  10151. " (url \"https://example.org/some-channel.git\")\n"
  10152. " (introduction\n"
  10153. " (make-channel-introduction\n"
  10154. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  10155. " (openpgp-fingerprint\n"
  10156. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  10157. msgstr ""
  10158. #. type: Plain text
  10159. #: guix-git/doc/guix.texi:5268
  10160. 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{}}."
  10161. msgstr ""
  10162. #. type: Plain text
  10163. #: guix-git/doc/guix.texi:5274
  10164. 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."
  10165. msgstr ""
  10166. #. type: Plain text
  10167. #: guix-git/doc/guix.texi:5276
  10168. msgid "If you're curious about the authentication mechanics, read on!"
  10169. msgstr ""
  10170. #. type: Plain text
  10171. #: guix-git/doc/guix.texi:5287
  10172. 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}."
  10173. msgstr ""
  10174. #. type: lisp
  10175. #: guix-git/doc/guix.texi:5290
  10176. #, no-wrap
  10177. msgid ""
  10178. "(use-modules (guix ci))\n"
  10179. "\n"
  10180. msgstr ""
  10181. #. type: lisp
  10182. #: guix-git/doc/guix.texi:5294
  10183. #, no-wrap
  10184. msgid ""
  10185. "(list (channel-with-substitutes-available\n"
  10186. " %default-guix-channel\n"
  10187. " \"https://ci.guix.gnu.org\"))\n"
  10188. msgstr ""
  10189. #. type: Plain text
  10190. #: guix-git/doc/guix.texi:5301
  10191. 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."
  10192. msgstr ""
  10193. #. type: cindex
  10194. #: guix-git/doc/guix.texi:5305
  10195. #, no-wrap
  10196. msgid "personal packages (channels)"
  10197. msgstr ""
  10198. #. type: cindex
  10199. #: guix-git/doc/guix.texi:5306
  10200. #, no-wrap
  10201. msgid "channels, for personal packages"
  10202. msgstr ""
  10203. #. type: Plain text
  10204. #: guix-git/doc/guix.texi:5314
  10205. 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?"
  10206. msgstr ""
  10207. #. type: quotation
  10208. #: guix-git/doc/guix.texi:5322
  10209. 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:"
  10210. msgstr ""
  10211. #. type: itemize
  10212. #: guix-git/doc/guix.texi:5330
  10213. 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."
  10214. msgstr ""
  10215. #. type: itemize
  10216. #: guix-git/doc/guix.texi:5339
  10217. 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."
  10218. msgstr ""
  10219. #. type: itemize
  10220. #: guix-git/doc/guix.texi:5343
  10221. 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."
  10222. msgstr ""
  10223. #. type: quotation
  10224. #: guix-git/doc/guix.texi:5350
  10225. 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."
  10226. msgstr ""
  10227. #. type: Plain text
  10228. #: guix-git/doc/guix.texi:5362
  10229. 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})."
  10230. msgstr ""
  10231. #. type: Plain text
  10232. #: guix-git/doc/guix.texi:5367
  10233. 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."
  10234. msgstr ""
  10235. #. type: cindex
  10236. #: guix-git/doc/guix.texi:5372
  10237. #, no-wrap
  10238. msgid "subdirectory, channels"
  10239. msgstr ""
  10240. #. type: Plain text
  10241. #: guix-git/doc/guix.texi:5376
  10242. 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:"
  10243. msgstr ""
  10244. #. type: lisp
  10245. #: guix-git/doc/guix.texi:5381
  10246. #, no-wrap
  10247. msgid ""
  10248. "(channel\n"
  10249. " (version 0)\n"
  10250. " (directory \"guix\"))\n"
  10251. msgstr ""
  10252. #. type: cindex
  10253. #: guix-git/doc/guix.texi:5386
  10254. #, no-wrap
  10255. msgid "dependencies, channels"
  10256. msgstr ""
  10257. #. type: cindex
  10258. #: guix-git/doc/guix.texi:5387
  10259. #, no-wrap
  10260. msgid "meta-data, channels"
  10261. msgstr ""
  10262. #. type: Plain text
  10263. #: guix-git/doc/guix.texi:5392
  10264. 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."
  10265. msgstr ""
  10266. #. type: Plain text
  10267. #: guix-git/doc/guix.texi:5394
  10268. msgid "The meta-data file should contain a simple S-expression like this:"
  10269. msgstr ""
  10270. #. type: lisp
  10271. #: guix-git/doc/guix.texi:5402
  10272. #, no-wrap
  10273. msgid ""
  10274. "(channel\n"
  10275. " (version 0)\n"
  10276. " (dependencies\n"
  10277. " (channel\n"
  10278. " (name some-collection)\n"
  10279. " (url \"https://example.org/first-collection.git\")\n"
  10280. "\n"
  10281. msgstr ""
  10282. #. type: lisp
  10283. #: guix-git/doc/guix.texi:5414
  10284. #, no-wrap
  10285. msgid ""
  10286. " ;; The 'introduction' bit below is optional: you would\n"
  10287. " ;; provide it for dependencies that can be authenticated.\n"
  10288. " (introduction\n"
  10289. " (channel-introduction\n"
  10290. " (version 0)\n"
  10291. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  10292. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  10293. " (channel\n"
  10294. " (name some-other-collection)\n"
  10295. " (url \"https://example.org/second-collection.git\")\n"
  10296. " (branch \"testing\"))))\n"
  10297. msgstr ""
  10298. #. type: Plain text
  10299. #: guix-git/doc/guix.texi:5420
  10300. 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."
  10301. msgstr ""
  10302. #. type: Plain text
  10303. #: guix-git/doc/guix.texi:5424
  10304. 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."
  10305. msgstr ""
  10306. #. type: cindex
  10307. #: guix-git/doc/guix.texi:5428
  10308. #, no-wrap
  10309. msgid "channel authorizations"
  10310. msgstr ""
  10311. #. type: anchor{#1}
  10312. #: guix-git/doc/guix.texi:5442
  10313. msgid "channel-authorizations"
  10314. msgstr ""
  10315. #. type: Plain text
  10316. #: guix-git/doc/guix.texi:5442
  10317. 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:"
  10318. msgstr ""
  10319. #. type: lisp
  10320. #: guix-git/doc/guix.texi:5445
  10321. #, no-wrap
  10322. msgid ""
  10323. ";; Example '.guix-authorizations' file.\n"
  10324. "\n"
  10325. msgstr ""
  10326. #. type: lisp
  10327. #: guix-git/doc/guix.texi:5448
  10328. #, no-wrap
  10329. msgid ""
  10330. "(authorizations\n"
  10331. " (version 0) ;current file format version\n"
  10332. "\n"
  10333. msgstr ""
  10334. #. type: lisp
  10335. #: guix-git/doc/guix.texi:5455
  10336. #, no-wrap
  10337. msgid ""
  10338. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  10339. " (name \"alice\"))\n"
  10340. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  10341. " (name \"bob\"))\n"
  10342. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  10343. " (name \"charlie\"))))\n"
  10344. msgstr ""
  10345. #. type: Plain text
  10346. #: guix-git/doc/guix.texi:5459
  10347. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  10348. msgstr ""
  10349. #. type: Plain text
  10350. #: guix-git/doc/guix.texi:5464
  10351. 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?"
  10352. msgstr ""
  10353. #. type: cindex
  10354. #: guix-git/doc/guix.texi:5465
  10355. #, no-wrap
  10356. msgid "channel introduction"
  10357. msgstr ""
  10358. #. type: Plain text
  10359. #: guix-git/doc/guix.texi:5474
  10360. 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."
  10361. msgstr ""
  10362. #. type: Plain text
  10363. #: guix-git/doc/guix.texi:5481
  10364. 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:"
  10365. msgstr ""
  10366. #. type: lisp
  10367. #: guix-git/doc/guix.texi:5486
  10368. #, no-wrap
  10369. msgid ""
  10370. "(channel\n"
  10371. " (version 0)\n"
  10372. " (keyring-reference \"my-keyring-branch\"))\n"
  10373. msgstr ""
  10374. #. type: Plain text
  10375. #: guix-git/doc/guix.texi:5490
  10376. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  10377. msgstr ""
  10378. #. type: enumerate
  10379. #: guix-git/doc/guix.texi:5496
  10380. 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})."
  10381. msgstr ""
  10382. #. type: enumerate
  10383. #: guix-git/doc/guix.texi:5501
  10384. 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.)"
  10385. msgstr ""
  10386. #. type: enumerate
  10387. #: guix-git/doc/guix.texi:5507
  10388. 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."
  10389. msgstr ""
  10390. #. type: Plain text
  10391. #: guix-git/doc/guix.texi:5512
  10392. 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:"
  10393. msgstr ""
  10394. #. type: example
  10395. #: guix-git/doc/guix.texi:5515
  10396. #, no-wrap
  10397. msgid "guix git authenticate @var{commit} @var{signer}\n"
  10398. msgstr ""
  10399. #. type: Plain text
  10400. #: guix-git/doc/guix.texi:5520
  10401. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  10402. msgstr ""
  10403. #. type: Plain text
  10404. #: guix-git/doc/guix.texi:5527
  10405. 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."
  10406. msgstr ""
  10407. #. type: cindex
  10408. #: guix-git/doc/guix.texi:5531
  10409. #, no-wrap
  10410. msgid "primary URL, channels"
  10411. msgstr ""
  10412. #. type: Plain text
  10413. #: guix-git/doc/guix.texi:5534
  10414. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  10415. msgstr ""
  10416. #. type: lisp
  10417. #: guix-git/doc/guix.texi:5539
  10418. #, no-wrap
  10419. msgid ""
  10420. "(channel\n"
  10421. " (version 0)\n"
  10422. " (url \"https://example.org/guix.git\"))\n"
  10423. msgstr ""
  10424. #. type: Plain text
  10425. #: guix-git/doc/guix.texi:5546
  10426. 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."
  10427. msgstr ""
  10428. #. type: Plain text
  10429. #: guix-git/doc/guix.texi:5550
  10430. 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."
  10431. msgstr ""
  10432. #. type: cindex
  10433. #: guix-git/doc/guix.texi:5554
  10434. #, no-wrap
  10435. msgid "news, for channels"
  10436. msgstr ""
  10437. #. type: Plain text
  10438. #: guix-git/doc/guix.texi:5558
  10439. 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."
  10440. msgstr ""
  10441. #. type: Plain text
  10442. #: guix-git/doc/guix.texi:5563
  10443. 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."
  10444. msgstr ""
  10445. #. type: Plain text
  10446. #: guix-git/doc/guix.texi:5566
  10447. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  10448. msgstr ""
  10449. #. type: lisp
  10450. #: guix-git/doc/guix.texi:5571
  10451. #, no-wrap
  10452. msgid ""
  10453. "(channel\n"
  10454. " (version 0)\n"
  10455. " (news-file \"etc/news.txt\"))\n"
  10456. msgstr ""
  10457. #. type: Plain text
  10458. #: guix-git/doc/guix.texi:5575
  10459. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  10460. msgstr ""
  10461. #. type: lisp
  10462. #: guix-git/doc/guix.texi:5588
  10463. #, no-wrap
  10464. msgid ""
  10465. "(channel-news\n"
  10466. " (version 0)\n"
  10467. " (entry (tag \"the-bug-fix\")\n"
  10468. " (title (en \"Fixed terrible bug\")\n"
  10469. " (fr \"Oh la la\"))\n"
  10470. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  10471. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  10472. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  10473. " (title (en \"Added a great package\")\n"
  10474. " (ca \"Què vol dir guix?\"))\n"
  10475. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  10476. msgstr ""
  10477. #. type: Plain text
  10478. #: guix-git/doc/guix.texi:5595
  10479. 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."
  10480. msgstr ""
  10481. #. type: Plain text
  10482. #: guix-git/doc/guix.texi:5600
  10483. 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."
  10484. msgstr ""
  10485. #. type: Plain text
  10486. #: guix-git/doc/guix.texi:5606
  10487. 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."
  10488. msgstr ""
  10489. #. type: Plain text
  10490. #: guix-git/doc/guix.texi:5612
  10491. 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:"
  10492. msgstr ""
  10493. #. type: example
  10494. #: guix-git/doc/guix.texi:5615
  10495. #, no-wrap
  10496. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  10497. msgstr ""
  10498. #. type: Plain text
  10499. #: guix-git/doc/guix.texi:5619
  10500. 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."
  10501. msgstr ""
  10502. #. type: cindex
  10503. #: guix-git/doc/guix.texi:5624
  10504. #, no-wrap
  10505. msgid "software development"
  10506. msgstr "desenvolvimento de software"
  10507. #. type: Plain text
  10508. #: guix-git/doc/guix.texi:5628
  10509. 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."
  10510. msgstr ""
  10511. #. type: Plain text
  10512. #: guix-git/doc/guix.texi:5634
  10513. 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."
  10514. msgstr ""
  10515. #. type: section
  10516. #: guix-git/doc/guix.texi:5644
  10517. #, fuzzy, no-wrap
  10518. #| msgid "Invoking @command{guix size}"
  10519. msgid "Invoking @command{guix shell}"
  10520. msgstr "Invocando @command{guix size}"
  10521. #. type: cindex
  10522. #: guix-git/doc/guix.texi:5646
  10523. #, no-wrap
  10524. msgid "reproducible build environments"
  10525. msgstr ""
  10526. #. type: cindex
  10527. #: guix-git/doc/guix.texi:5647
  10528. #, no-wrap
  10529. msgid "development environments"
  10530. msgstr ""
  10531. #. type: command{#1}
  10532. #: guix-git/doc/guix.texi:5648
  10533. #, no-wrap
  10534. msgid "guix environment"
  10535. msgstr ""
  10536. #. type: cindex
  10537. #: guix-git/doc/guix.texi:5649
  10538. #, no-wrap
  10539. msgid "environment, package build environment"
  10540. msgstr ""
  10541. #. type: Plain text
  10542. #: guix-git/doc/guix.texi:5654
  10543. 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."
  10544. msgstr ""
  10545. #. type: quotation
  10546. #: guix-git/doc/guix.texi:5660
  10547. 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."
  10548. msgstr ""
  10549. #. type: example
  10550. #: guix-git/doc/guix.texi:5666
  10551. #, no-wrap
  10552. msgid "guix shell [@var{options}] [@var{package}@dots{}]\n"
  10553. msgstr ""
  10554. #. type: Plain text
  10555. #: guix-git/doc/guix.texi:5671
  10556. 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:"
  10557. msgstr ""
  10558. #. type: example
  10559. #: guix-git/doc/guix.texi:5674
  10560. #, no-wrap
  10561. msgid "guix shell python python-numpy -- python3\n"
  10562. msgstr ""
  10563. #. type: Plain text
  10564. #: guix-git/doc/guix.texi:5679
  10565. 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:"
  10566. msgstr ""
  10567. #. type: example
  10568. #: guix-git/doc/guix.texi:5682
  10569. #, no-wrap
  10570. msgid "guix shell --development inkscape\n"
  10571. msgstr ""
  10572. #. type: Plain text
  10573. #: guix-git/doc/guix.texi:5688
  10574. 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."
  10575. msgstr ""
  10576. #. type: Plain text
  10577. #: guix-git/doc/guix.texi:5695
  10578. msgid "As an added convenience, when running from a directory that contains a @file{manifest.scm} or a @file{guix.scm} file (in this order), possibly in a parent directory, @command{guix shell} automatically loads the file---provided the directory is listed in @file{~/.config/guix/shell-authorized-directories}, and only for interactive use:"
  10579. msgstr ""
  10580. #. type: example
  10581. #: guix-git/doc/guix.texi:5698
  10582. #, fuzzy, no-wrap
  10583. #| msgid "# guix install hello\n"
  10584. msgid "guix shell\n"
  10585. msgstr "# guix install hello\n"
  10586. #. type: Plain text
  10587. #: guix-git/doc/guix.texi:5702
  10588. msgid "This provides an easy way to define, share, and enter development environments."
  10589. msgstr ""
  10590. #. type: Plain text
  10591. #: guix-git/doc/guix.texi:5713
  10592. 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:"
  10593. msgstr ""
  10594. #. type: example
  10595. #: guix-git/doc/guix.texi:5716
  10596. #, no-wrap
  10597. msgid "guix shell --container emacs gcc-toolchain\n"
  10598. msgstr ""
  10599. #. type: Plain text
  10600. #: guix-git/doc/guix.texi:5724
  10601. 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."
  10602. msgstr ""
  10603. #. type: Plain text
  10604. #: guix-git/doc/guix.texi:5731
  10605. 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:"
  10606. msgstr ""
  10607. #. type: example
  10608. #: guix-git/doc/guix.texi:5735
  10609. #, no-wrap
  10610. msgid ""
  10611. "guix shell --container --network --no-cwd ungoogled-chromium \\\n"
  10612. " --preserve='^DISPLAY$' -- chromium\n"
  10613. msgstr ""
  10614. #. type: vindex
  10615. #: guix-git/doc/guix.texi:5737 guix-git/doc/guix.texi:6067
  10616. #, no-wrap
  10617. msgid "GUIX_ENVIRONMENT"
  10618. msgstr "GUIX_ENVIRONMENT"
  10619. #. type: Plain text
  10620. #: guix-git/doc/guix.texi:5743
  10621. 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}):"
  10622. msgstr ""
  10623. #. type: example
  10624. #: guix-git/doc/guix.texi:5749 guix-git/doc/guix.texi:6079
  10625. #, no-wrap
  10626. msgid ""
  10627. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  10628. "then\n"
  10629. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  10630. "fi\n"
  10631. msgstr ""
  10632. #. type: Plain text
  10633. #: guix-git/doc/guix.texi:5753 guix-git/doc/guix.texi:6083
  10634. msgid "...@: or to browse the profile:"
  10635. msgstr ""
  10636. #. type: example
  10637. #: guix-git/doc/guix.texi:5756 guix-git/doc/guix.texi:6086
  10638. #, no-wrap
  10639. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  10640. msgstr ""
  10641. #. type: Plain text
  10642. #: guix-git/doc/guix.texi:5759 guix-git/doc/guix.texi:6162
  10643. msgid "The available options are summarized below."
  10644. msgstr ""
  10645. #. type: item
  10646. #: guix-git/doc/guix.texi:5761 guix-git/doc/guix.texi:6164
  10647. #: guix-git/doc/guix.texi:11964
  10648. #, no-wrap
  10649. msgid "--check"
  10650. msgstr "--check"
  10651. #. type: table
  10652. #: guix-git/doc/guix.texi:5766
  10653. 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."
  10654. msgstr ""
  10655. #. type: table
  10656. #: guix-git/doc/guix.texi:5770
  10657. 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."
  10658. msgstr ""
  10659. #. type: table
  10660. #: guix-git/doc/guix.texi:5778
  10661. 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."
  10662. msgstr ""
  10663. #. type: item
  10664. #: guix-git/doc/guix.texi:5779
  10665. #, fuzzy, no-wrap
  10666. #| msgid "Development"
  10667. msgid "--development"
  10668. msgstr "Desenvolvimento"
  10669. #. type: table
  10670. #: guix-git/doc/guix.texi:5786
  10671. 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:"
  10672. msgstr ""
  10673. #. type: example
  10674. #: guix-git/doc/guix.texi:5789
  10675. #, no-wrap
  10676. msgid "guix shell -D guile autoconf automake libtool\n"
  10677. msgstr ""
  10678. #. type: item
  10679. #: guix-git/doc/guix.texi:5791 guix-git/doc/guix.texi:6185
  10680. #: guix-git/doc/guix.texi:6672 guix-git/doc/guix.texi:11839
  10681. #: guix-git/doc/guix.texi:12913 guix-git/doc/guix.texi:13305
  10682. #: guix-git/doc/guix.texi:13903 guix-git/doc/guix.texi:35801
  10683. #: guix-git/doc/guix.texi:38386
  10684. #, no-wrap
  10685. msgid "--expression=@var{expr}"
  10686. msgstr ""
  10687. #. type: itemx
  10688. #: guix-git/doc/guix.texi:5792 guix-git/doc/guix.texi:6186
  10689. #: guix-git/doc/guix.texi:6673 guix-git/doc/guix.texi:11840
  10690. #: guix-git/doc/guix.texi:12914 guix-git/doc/guix.texi:13306
  10691. #: guix-git/doc/guix.texi:13904 guix-git/doc/guix.texi:35802
  10692. #: guix-git/doc/guix.texi:38387
  10693. #, no-wrap
  10694. msgid "-e @var{expr}"
  10695. msgstr ""
  10696. #. type: table
  10697. #: guix-git/doc/guix.texi:5795 guix-git/doc/guix.texi:6189
  10698. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  10699. msgstr ""
  10700. #. type: table
  10701. #: guix-git/doc/guix.texi:5797 guix-git/doc/guix.texi:6191
  10702. #: guix-git/doc/guix.texi:13310
  10703. msgid "For example, running:"
  10704. msgstr ""
  10705. #. type: example
  10706. #: guix-git/doc/guix.texi:5800
  10707. #, no-wrap
  10708. msgid "guix shell -D -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10709. msgstr ""
  10710. #. type: table
  10711. #: guix-git/doc/guix.texi:5804 guix-git/doc/guix.texi:6198
  10712. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  10713. msgstr ""
  10714. #. type: table
  10715. #: guix-git/doc/guix.texi:5806 guix-git/doc/guix.texi:6200
  10716. msgid "Running:"
  10717. msgstr ""
  10718. #. type: example
  10719. #: guix-git/doc/guix.texi:5809
  10720. #, no-wrap
  10721. msgid "guix shell -e '(@@ (gnu) %base-packages)'\n"
  10722. msgstr ""
  10723. #. type: table
  10724. #: guix-git/doc/guix.texi:5812 guix-git/doc/guix.texi:6206
  10725. msgid "starts a shell with all the base system packages available."
  10726. msgstr ""
  10727. #. type: table
  10728. #: guix-git/doc/guix.texi:5815 guix-git/doc/guix.texi:6209
  10729. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  10730. msgstr ""
  10731. #. type: example
  10732. #: guix-git/doc/guix.texi:5818
  10733. #, no-wrap
  10734. msgid "guix shell -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10735. msgstr ""
  10736. #. type: item
  10737. #: guix-git/doc/guix.texi:5820 guix-git/doc/guix.texi:11813
  10738. #, no-wrap
  10739. msgid "--file=@var{file}"
  10740. msgstr ""
  10741. #. type: table
  10742. #: guix-git/doc/guix.texi:5824
  10743. msgid "Create an environment containing the package or list of packages that the code within @var{file} evaluates to."
  10744. msgstr ""
  10745. #. type: lisp
  10746. #: guix-git/doc/guix.texi:5830 guix-git/doc/guix.texi:6224
  10747. #, no-wrap
  10748. msgid "@verbatiminclude environment-gdb.scm\n"
  10749. msgstr ""
  10750. #. type: table
  10751. #: guix-git/doc/guix.texi:5834
  10752. msgid "With the file above, you can enter a development environment for GDB by running:"
  10753. msgstr ""
  10754. #. type: example
  10755. #: guix-git/doc/guix.texi:5837
  10756. #, no-wrap
  10757. msgid "guix shell -D -f gdb-devel.scm\n"
  10758. msgstr ""
  10759. #. type: table
  10760. #: guix-git/doc/guix.texi:5844 guix-git/doc/guix.texi:6231
  10761. 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."
  10762. msgstr ""
  10763. #. type: table
  10764. #: guix-git/doc/guix.texi:5848 guix-git/doc/guix.texi:6235
  10765. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  10766. msgstr ""
  10767. #. type: table
  10768. #: guix-git/doc/guix.texi:5854 guix-git/doc/guix.texi:6267
  10769. msgid "Create an environment containing the packages installed in @var{profile}. Use @command{guix package} (@pxref{Invoking guix package}) to create and manage profiles."
  10770. msgstr ""
  10771. #. type: item
  10772. #: guix-git/doc/guix.texi:5855 guix-git/doc/guix.texi:6268
  10773. #, no-wrap
  10774. msgid "--pure"
  10775. msgstr ""
  10776. #. type: table
  10777. #: guix-git/doc/guix.texi:5859 guix-git/doc/guix.texi:6272
  10778. 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."
  10779. msgstr ""
  10780. #. type: item
  10781. #: guix-git/doc/guix.texi:5860 guix-git/doc/guix.texi:6273
  10782. #, no-wrap
  10783. msgid "--preserve=@var{regexp}"
  10784. msgstr ""
  10785. #. type: itemx
  10786. #: guix-git/doc/guix.texi:5861 guix-git/doc/guix.texi:6274
  10787. #, no-wrap
  10788. msgid "-E @var{regexp}"
  10789. msgstr ""
  10790. #. type: table
  10791. #: guix-git/doc/guix.texi:5866 guix-git/doc/guix.texi:6279
  10792. 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."
  10793. msgstr ""
  10794. #. type: example
  10795. #: guix-git/doc/guix.texi:5870
  10796. #, no-wrap
  10797. msgid ""
  10798. "guix shell --pure --preserve=^SLURM openmpi @dots{} \\\n"
  10799. " -- mpirun @dots{}\n"
  10800. msgstr ""
  10801. #. type: table
  10802. #: guix-git/doc/guix.texi:5876 guix-git/doc/guix.texi:6289
  10803. 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.)."
  10804. msgstr ""
  10805. #. type: item
  10806. #: guix-git/doc/guix.texi:5877 guix-git/doc/guix.texi:6290
  10807. #, no-wrap
  10808. msgid "--search-paths"
  10809. msgstr "--search-paths"
  10810. #. type: table
  10811. #: guix-git/doc/guix.texi:5880 guix-git/doc/guix.texi:6293
  10812. msgid "Display the environment variable definitions that make up the environment."
  10813. msgstr ""
  10814. #. type: table
  10815. #: guix-git/doc/guix.texi:5884 guix-git/doc/guix.texi:6297
  10816. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  10817. msgstr ""
  10818. #. type: item
  10819. #: guix-git/doc/guix.texi:5885 guix-git/doc/guix.texi:6298
  10820. #, no-wrap
  10821. msgid "--container"
  10822. msgstr ""
  10823. #. type: itemx
  10824. #: guix-git/doc/guix.texi:5886 guix-git/doc/guix.texi:6299
  10825. #, no-wrap
  10826. msgid "-C"
  10827. msgstr "-C"
  10828. #. type: item
  10829. #: guix-git/doc/guix.texi:5887 guix-git/doc/guix.texi:6128
  10830. #: guix-git/doc/guix.texi:6300 guix-git/doc/guix.texi:14459
  10831. #: guix-git/doc/guix.texi:35769
  10832. #, no-wrap
  10833. msgid "container"
  10834. msgstr "recipiente"
  10835. #. type: table
  10836. #: guix-git/doc/guix.texi:5893 guix-git/doc/guix.texi:6306
  10837. 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."
  10838. msgstr ""
  10839. #. type: table
  10840. #: guix-git/doc/guix.texi:5897 guix-git/doc/guix.texi:6310
  10841. 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)."
  10842. msgstr ""
  10843. #. type: item
  10844. #: guix-git/doc/guix.texi:5898 guix-git/doc/guix.texi:6311
  10845. #: guix-git/doc/guix.texi:35861
  10846. #, no-wrap
  10847. msgid "--network"
  10848. msgstr ""
  10849. #. type: table
  10850. #: guix-git/doc/guix.texi:5903 guix-git/doc/guix.texi:6316
  10851. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  10852. msgstr ""
  10853. #. type: item
  10854. #: guix-git/doc/guix.texi:5904 guix-git/doc/guix.texi:6317
  10855. #, no-wrap
  10856. msgid "--link-profile"
  10857. msgstr ""
  10858. #. type: itemx
  10859. #: guix-git/doc/guix.texi:5905 guix-git/doc/guix.texi:6318
  10860. #, no-wrap
  10861. msgid "-P"
  10862. msgstr ""
  10863. #. type: table
  10864. #: guix-git/doc/guix.texi:5913
  10865. 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."
  10866. msgstr ""
  10867. #. type: table
  10868. #: guix-git/doc/guix.texi:5919 guix-git/doc/guix.texi:6332
  10869. 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."
  10870. msgstr ""
  10871. #. type: item
  10872. #: guix-git/doc/guix.texi:5920 guix-git/doc/guix.texi:6333
  10873. #: guix-git/doc/guix.texi:14036
  10874. #, no-wrap
  10875. msgid "--user=@var{user}"
  10876. msgstr ""
  10877. #. type: itemx
  10878. #: guix-git/doc/guix.texi:5921 guix-git/doc/guix.texi:6334
  10879. #: guix-git/doc/guix.texi:14037
  10880. #, no-wrap
  10881. msgid "-u @var{user}"
  10882. msgstr "-u @var{usuário}"
  10883. #. type: table
  10884. #: guix-git/doc/guix.texi:5928 guix-git/doc/guix.texi:6341
  10885. 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."
  10886. msgstr ""
  10887. #. type: table
  10888. #: guix-git/doc/guix.texi:5933 guix-git/doc/guix.texi:6346
  10889. 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."
  10890. msgstr ""
  10891. #. type: example
  10892. #: guix-git/doc/guix.texi:5940
  10893. #, no-wrap
  10894. msgid ""
  10895. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10896. "cd $HOME/wd\n"
  10897. "guix shell --container --user=foo \\\n"
  10898. " --expose=$HOME/test \\\n"
  10899. " --expose=/tmp/target=$HOME/target\n"
  10900. msgstr ""
  10901. #. type: table
  10902. #: guix-git/doc/guix.texi:5945 guix-git/doc/guix.texi:6358
  10903. 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."
  10904. msgstr ""
  10905. #. type: item
  10906. #: guix-git/doc/guix.texi:5946 guix-git/doc/guix.texi:6359
  10907. #, no-wrap
  10908. msgid "--no-cwd"
  10909. msgstr ""
  10910. #. type: table
  10911. #: guix-git/doc/guix.texi:5953 guix-git/doc/guix.texi:6366
  10912. 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}."
  10913. msgstr ""
  10914. #. type: item
  10915. #: guix-git/doc/guix.texi:5954 guix-git/doc/guix.texi:6367
  10916. #, no-wrap
  10917. msgid "--expose=@var{source}[=@var{target}]"
  10918. msgstr "--expose=@var{fonte}[=@var{alvo}]"
  10919. #. type: itemx
  10920. #: guix-git/doc/guix.texi:5955 guix-git/doc/guix.texi:6368
  10921. #, no-wrap
  10922. msgid "--share=@var{source}[=@var{target}]"
  10923. msgstr "--share=@var{fonte}[=@var{alvo}]"
  10924. #. type: table
  10925. #: guix-git/doc/guix.texi:5961 guix-git/doc/guix.texi:6374
  10926. 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."
  10927. msgstr ""
  10928. #. type: table
  10929. #: guix-git/doc/guix.texi:5965 guix-git/doc/guix.texi:6378
  10930. 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:"
  10931. msgstr ""
  10932. #. type: example
  10933. #: guix-git/doc/guix.texi:5968
  10934. #, no-wrap
  10935. msgid "guix shell --container --expose=$HOME=/exchange guile -- guile\n"
  10936. msgstr ""
  10937. #. type: item
  10938. #: guix-git/doc/guix.texi:5970
  10939. #, fuzzy, no-wrap
  10940. #| msgid "build-check"
  10941. msgid "--rebuild-cache"
  10942. msgstr "build-check"
  10943. #. type: cindex
  10944. #: guix-git/doc/guix.texi:5971
  10945. #, no-wrap
  10946. msgid "caching, of profiles"
  10947. msgstr ""
  10948. #. type: cindex
  10949. #: guix-git/doc/guix.texi:5972
  10950. #, fuzzy, no-wrap
  10951. #| msgid "Invoking @command{guix size}"
  10952. msgid "caching, in @command{guix shell}"
  10953. msgstr "Invocando @command{guix size}"
  10954. #. type: table
  10955. #: guix-git/doc/guix.texi:5978
  10956. 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."
  10957. msgstr ""
  10958. #. type: table
  10959. #: guix-git/doc/guix.texi:5984
  10960. 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."
  10961. msgstr ""
  10962. #. type: item
  10963. #: guix-git/doc/guix.texi:5985 guix-git/doc/guix.texi:6169
  10964. #: guix-git/doc/guix.texi:6740 guix-git/doc/guix.texi:11993
  10965. #: guix-git/doc/guix.texi:35866
  10966. #, no-wrap
  10967. msgid "--root=@var{file}"
  10968. msgstr "--root=@var{arquivo}"
  10969. #. type: itemx
  10970. #: guix-git/doc/guix.texi:5986 guix-git/doc/guix.texi:6170
  10971. #: guix-git/doc/guix.texi:6741 guix-git/doc/guix.texi:11994
  10972. #: guix-git/doc/guix.texi:35867
  10973. #, no-wrap
  10974. msgid "-r @var{file}"
  10975. msgstr "-r @var{arquivo}"
  10976. #. type: cindex
  10977. #: guix-git/doc/guix.texi:5987 guix-git/doc/guix.texi:6171
  10978. #, no-wrap
  10979. msgid "persistent environment"
  10980. msgstr "ambiente persistente"
  10981. #. type: cindex
  10982. #: guix-git/doc/guix.texi:5988 guix-git/doc/guix.texi:6172
  10983. #, no-wrap
  10984. msgid "garbage collector root, for environments"
  10985. msgstr ""
  10986. #. type: table
  10987. #: guix-git/doc/guix.texi:5991 guix-git/doc/guix.texi:6175
  10988. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  10989. msgstr ""
  10990. #. type: table
  10991. #: guix-git/doc/guix.texi:5994 guix-git/doc/guix.texi:6178
  10992. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  10993. msgstr ""
  10994. #. type: table
  10995. #: guix-git/doc/guix.texi:6000
  10996. 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."
  10997. msgstr ""
  10998. #. type: table
  10999. #: guix-git/doc/guix.texi:6007
  11000. 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."
  11001. msgstr ""
  11002. #. type: table
  11003. #: guix-git/doc/guix.texi:6009
  11004. #, fuzzy
  11005. #| msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  11006. msgid "@xref{Invoking guix gc}, for more on GC roots."
  11007. msgstr "@xref{Invocando guix pack}, para mais informações sobre essa ferramenta útil."
  11008. #. type: Plain text
  11009. #: guix-git/doc/guix.texi:6014
  11010. 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})."
  11011. msgstr ""
  11012. #. type: section
  11013. #: guix-git/doc/guix.texi:6016
  11014. #, no-wrap
  11015. msgid "Invoking @command{guix environment}"
  11016. msgstr "Invocando @command{guix environment}"
  11017. #. type: Plain text
  11018. #: guix-git/doc/guix.texi:6020
  11019. msgid "The purpose of @command{guix environment} is to assist in creating development environments."
  11020. msgstr ""
  11021. #. type: quotation
  11022. #: guix-git/doc/guix.texi:6021
  11023. #, no-wrap
  11024. msgid "Deprecation warning"
  11025. msgstr ""
  11026. #. type: quotation
  11027. #: guix-git/doc/guix.texi:6025
  11028. 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}."
  11029. msgstr ""
  11030. #. type: quotation
  11031. #: guix-git/doc/guix.texi:6030
  11032. 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."
  11033. msgstr ""
  11034. #. type: example
  11035. #: guix-git/doc/guix.texi:6036
  11036. #, no-wrap
  11037. msgid "guix environment @var{options} @var{package}@dots{}\n"
  11038. msgstr ""
  11039. #. type: Plain text
  11040. #: guix-git/doc/guix.texi:6040
  11041. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  11042. msgstr ""
  11043. #. type: example
  11044. #: guix-git/doc/guix.texi:6043
  11045. #, no-wrap
  11046. msgid "guix environment guile\n"
  11047. msgstr ""
  11048. #. type: Plain text
  11049. #: guix-git/doc/guix.texi:6060
  11050. 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.}."
  11051. msgstr ""
  11052. #. type: Plain text
  11053. #: guix-git/doc/guix.texi:6066
  11054. 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."
  11055. msgstr ""
  11056. #. type: Plain text
  11057. #: guix-git/doc/guix.texi:6073
  11058. 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}):"
  11059. msgstr ""
  11060. #. type: Plain text
  11061. #: guix-git/doc/guix.texi:6092
  11062. 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:"
  11063. msgstr ""
  11064. #. type: example
  11065. #: guix-git/doc/guix.texi:6095
  11066. #, no-wrap
  11067. msgid "guix environment guile emacs\n"
  11068. msgstr ""
  11069. #. type: Plain text
  11070. #: guix-git/doc/guix.texi:6100
  11071. 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:"
  11072. msgstr ""
  11073. #. type: example
  11074. #: guix-git/doc/guix.texi:6103
  11075. #, no-wrap
  11076. msgid "guix environment guile -- make -j4\n"
  11077. msgstr ""
  11078. #. type: Plain text
  11079. #: guix-git/doc/guix.texi:6109
  11080. 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:"
  11081. msgstr ""
  11082. #. type: example
  11083. #: guix-git/doc/guix.texi:6112
  11084. #, no-wrap
  11085. msgid "guix environment --ad-hoc python-numpy python -- python3\n"
  11086. msgstr ""
  11087. #. type: Plain text
  11088. #: guix-git/doc/guix.texi:6123
  11089. 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:"
  11090. msgstr ""
  11091. #. type: example
  11092. #: guix-git/doc/guix.texi:6126
  11093. #, no-wrap
  11094. msgid "guix environment --pure guix --ad-hoc git strace\n"
  11095. msgstr ""
  11096. #. type: Plain text
  11097. #: guix-git/doc/guix.texi:6136
  11098. 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:"
  11099. msgstr ""
  11100. #. type: example
  11101. #: guix-git/doc/guix.texi:6139
  11102. #, no-wrap
  11103. msgid "guix environment --ad-hoc --container guile -- guile\n"
  11104. msgstr ""
  11105. #. type: quotation
  11106. #: guix-git/doc/guix.texi:6143
  11107. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  11108. msgstr ""
  11109. #. type: cindex
  11110. #: guix-git/doc/guix.texi:6145
  11111. #, no-wrap
  11112. msgid "certificates"
  11113. msgstr ""
  11114. #. type: Plain text
  11115. #: guix-git/doc/guix.texi:6152
  11116. 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."
  11117. msgstr ""
  11118. #. type: example
  11119. #: guix-git/doc/guix.texi:6159
  11120. #, no-wrap
  11121. msgid ""
  11122. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  11123. " --expose=/etc/machine-id \\\n"
  11124. " --expose=/etc/ssl/certs/ \\\n"
  11125. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  11126. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  11127. msgstr ""
  11128. #. type: table
  11129. #: guix-git/doc/guix.texi:6168
  11130. msgid "Set up the environment and check whether the shell would clobber environment variables. @xref{Invoking guix shell, @option{--check}}, for more info."
  11131. msgstr ""
  11132. #. type: table
  11133. #: guix-git/doc/guix.texi:6184
  11134. 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."
  11135. msgstr ""
  11136. #. type: example
  11137. #: guix-git/doc/guix.texi:6194
  11138. #, no-wrap
  11139. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  11140. msgstr ""
  11141. #. type: example
  11142. #: guix-git/doc/guix.texi:6203
  11143. #, no-wrap
  11144. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  11145. msgstr ""
  11146. #. type: example
  11147. #: guix-git/doc/guix.texi:6212
  11148. #, no-wrap
  11149. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  11150. msgstr ""
  11151. #. type: item
  11152. #: guix-git/doc/guix.texi:6214
  11153. #, no-wrap
  11154. msgid "--load=@var{file}"
  11155. msgstr "--load=@var{arquivo}"
  11156. #. type: itemx
  11157. #: guix-git/doc/guix.texi:6215
  11158. #, no-wrap
  11159. msgid "-l @var{file}"
  11160. msgstr "-l @var{arquivo}"
  11161. #. type: table
  11162. #: guix-git/doc/guix.texi:6218
  11163. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  11164. msgstr ""
  11165. #. type: item
  11166. #: guix-git/doc/guix.texi:6236
  11167. #, no-wrap
  11168. msgid "--ad-hoc"
  11169. msgstr ""
  11170. #. type: table
  11171. #: guix-git/doc/guix.texi:6241
  11172. 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."
  11173. msgstr ""
  11174. #. type: table
  11175. #: guix-git/doc/guix.texi:6243
  11176. msgid "For instance, the command:"
  11177. msgstr ""
  11178. #. type: example
  11179. #: guix-git/doc/guix.texi:6246
  11180. #, no-wrap
  11181. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  11182. msgstr ""
  11183. #. type: table
  11184. #: guix-git/doc/guix.texi:6250
  11185. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  11186. msgstr ""
  11187. #. type: table
  11188. #: guix-git/doc/guix.texi:6255
  11189. 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})."
  11190. msgstr ""
  11191. #. type: table
  11192. #: guix-git/doc/guix.texi:6261
  11193. 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."
  11194. msgstr ""
  11195. #. type: example
  11196. #: guix-git/doc/guix.texi:6283
  11197. #, no-wrap
  11198. msgid ""
  11199. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  11200. " -- mpirun @dots{}\n"
  11201. msgstr ""
  11202. #. type: table
  11203. #: guix-git/doc/guix.texi:6326
  11204. 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."
  11205. msgstr ""
  11206. #. type: example
  11207. #: guix-git/doc/guix.texi:6353
  11208. #, no-wrap
  11209. msgid ""
  11210. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  11211. "cd $HOME/wd\n"
  11212. "guix environment --container --user=foo \\\n"
  11213. " --expose=$HOME/test \\\n"
  11214. " --expose=/tmp/target=$HOME/target\n"
  11215. msgstr ""
  11216. #. type: example
  11217. #: guix-git/doc/guix.texi:6381
  11218. #, no-wrap
  11219. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  11220. msgstr ""
  11221. #. type: Plain text
  11222. #: guix-git/doc/guix.texi:6389
  11223. 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})."
  11224. msgstr ""
  11225. #. type: section
  11226. #: guix-git/doc/guix.texi:6391
  11227. #, no-wrap
  11228. msgid "Invoking @command{guix pack}"
  11229. msgstr "Invocando @command{guix pack}"
  11230. #. type: Plain text
  11231. #: guix-git/doc/guix.texi:6397
  11232. 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."
  11233. msgstr ""
  11234. #. type: quotation
  11235. #: guix-git/doc/guix.texi:6402
  11236. 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}."
  11237. msgstr ""
  11238. #. type: cindex
  11239. #: guix-git/doc/guix.texi:6404
  11240. #, no-wrap
  11241. msgid "pack"
  11242. msgstr ""
  11243. #. type: cindex
  11244. #: guix-git/doc/guix.texi:6405
  11245. #, no-wrap
  11246. msgid "bundle"
  11247. msgstr ""
  11248. #. type: cindex
  11249. #: guix-git/doc/guix.texi:6406
  11250. #, no-wrap
  11251. msgid "application bundle"
  11252. msgstr ""
  11253. #. type: cindex
  11254. #: guix-git/doc/guix.texi:6407
  11255. #, no-wrap
  11256. msgid "software bundle"
  11257. msgstr ""
  11258. #. type: Plain text
  11259. #: guix-git/doc/guix.texi:6416
  11260. 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."
  11261. msgstr ""
  11262. #. type: Plain text
  11263. #: guix-git/doc/guix.texi:6419
  11264. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  11265. msgstr ""
  11266. #. type: example
  11267. #: guix-git/doc/guix.texi:6424
  11268. #, no-wrap
  11269. msgid ""
  11270. "$ guix pack guile emacs emacs-geiser\n"
  11271. "@dots{}\n"
  11272. "/gnu/store/@dots{}-pack.tar.gz\n"
  11273. msgstr ""
  11274. #. type: Plain text
  11275. #: guix-git/doc/guix.texi:6432
  11276. 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})."
  11277. msgstr ""
  11278. #. type: Plain text
  11279. #: guix-git/doc/guix.texi:6437
  11280. 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:"
  11281. msgstr ""
  11282. #. type: example
  11283. #: guix-git/doc/guix.texi:6440
  11284. #, fuzzy, no-wrap
  11285. #| msgid "guix package -i emacs guile emacs-geiser\n"
  11286. msgid "guix pack -S /opt/gnu/bin=bin guile emacs emacs-geiser\n"
  11287. msgstr "guix package -i emacs guile emacs-geiser\n"
  11288. #. type: Plain text
  11289. #: guix-git/doc/guix.texi:6444
  11290. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  11291. msgstr ""
  11292. #. type: cindex
  11293. #: guix-git/doc/guix.texi:6445
  11294. #, no-wrap
  11295. msgid "relocatable binaries, with @command{guix pack}"
  11296. msgstr ""
  11297. #. type: Plain text
  11298. #: guix-git/doc/guix.texi:6453
  11299. 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}."
  11300. msgstr ""
  11301. #. type: cindex
  11302. #: guix-git/doc/guix.texi:6454
  11303. #, no-wrap
  11304. msgid "Docker, build an image with guix pack"
  11305. msgstr ""
  11306. #. type: Plain text
  11307. #: guix-git/doc/guix.texi:6457
  11308. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  11309. msgstr ""
  11310. #. type: example
  11311. #: guix-git/doc/guix.texi:6460
  11312. #, no-wrap
  11313. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  11314. msgstr ""
  11315. #. type: Plain text
  11316. #: guix-git/doc/guix.texi:6465
  11317. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  11318. msgstr ""
  11319. #. type: example
  11320. #: guix-git/doc/guix.texi:6469
  11321. #, no-wrap
  11322. msgid ""
  11323. "docker load < @var{file}\n"
  11324. "docker run -ti guile-guile-readline /bin/guile\n"
  11325. msgstr ""
  11326. #. type: Plain text
  11327. #: guix-git/doc/guix.texi:6476
  11328. 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."
  11329. msgstr ""
  11330. #. type: cindex
  11331. #: guix-git/doc/guix.texi:6477
  11332. #, no-wrap
  11333. msgid "Singularity, build an image with guix pack"
  11334. msgstr ""
  11335. #. type: cindex
  11336. #: guix-git/doc/guix.texi:6478
  11337. #, no-wrap
  11338. msgid "SquashFS, build an image with guix pack"
  11339. msgstr ""
  11340. #. type: Plain text
  11341. #: guix-git/doc/guix.texi:6481
  11342. msgid "Yet another option is to produce a SquashFS image with the following command:"
  11343. msgstr ""
  11344. #. type: example
  11345. #: guix-git/doc/guix.texi:6484
  11346. #, fuzzy, no-wrap
  11347. #| msgid "guix package -i emacs guile emacs-geiser\n"
  11348. msgid "guix pack -f squashfs bash guile emacs emacs-geiser\n"
  11349. msgstr "guix package -i emacs guile emacs-geiser\n"
  11350. #. type: Plain text
  11351. #: guix-git/doc/guix.texi:6492
  11352. 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}."
  11353. msgstr ""
  11354. #. type: Plain text
  11355. #: guix-git/doc/guix.texi:6494
  11356. msgid "Several command-line options allow you to customize your pack:"
  11357. msgstr ""
  11358. #. type: table
  11359. #: guix-git/doc/guix.texi:6499
  11360. msgid "Produce a pack in the given @var{format}."
  11361. msgstr ""
  11362. #. type: table
  11363. #: guix-git/doc/guix.texi:6501
  11364. msgid "The available formats are:"
  11365. msgstr ""
  11366. #. type: item
  11367. #: guix-git/doc/guix.texi:6503
  11368. #, no-wrap
  11369. msgid "tarball"
  11370. msgstr "tarball"
  11371. #. type: table
  11372. #: guix-git/doc/guix.texi:6506
  11373. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  11374. msgstr ""
  11375. #. type: item
  11376. #: guix-git/doc/guix.texi:6507
  11377. #, no-wrap
  11378. msgid "docker"
  11379. msgstr ""
  11380. #. type: table
  11381. #: guix-git/doc/guix.texi:6513
  11382. 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."
  11383. msgstr ""
  11384. #. type: item
  11385. #: guix-git/doc/guix.texi:6514
  11386. #, no-wrap
  11387. msgid "squashfs"
  11388. msgstr ""
  11389. #. type: table
  11390. #: guix-git/doc/guix.texi:6518
  11391. 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."
  11392. msgstr ""
  11393. #. type: quotation
  11394. #: guix-git/doc/guix.texi:6524
  11395. 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:"
  11396. msgstr ""
  11397. #. type: example
  11398. #: guix-git/doc/guix.texi:6527
  11399. #, no-wrap
  11400. msgid "guix pack -f squashfs bash @dots{}\n"
  11401. msgstr ""
  11402. #. type: quotation
  11403. #: guix-git/doc/guix.texi:6532
  11404. 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."
  11405. msgstr ""
  11406. #. type: item
  11407. #: guix-git/doc/guix.texi:6534
  11408. #, fuzzy, no-wrap
  11409. #| msgid "debug"
  11410. msgid "deb"
  11411. msgstr "depuração"
  11412. #. type: table
  11413. #: guix-git/doc/guix.texi:6542
  11414. 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."
  11415. msgstr ""
  11416. #. type: example
  11417. #: guix-git/doc/guix.texi:6545
  11418. #, no-wrap
  11419. msgid "guix pack -f deb -C xz -S /usr/bin/hello=bin/hello hello\n"
  11420. msgstr ""
  11421. #. type: quotation
  11422. #: guix-git/doc/guix.texi:6552
  11423. 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."
  11424. msgstr ""
  11425. #. type: quotation
  11426. #: guix-git/doc/guix.texi:6560
  11427. 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."
  11428. msgstr ""
  11429. #. type: cindex
  11430. #: guix-git/doc/guix.texi:6564
  11431. #, no-wrap
  11432. msgid "relocatable binaries"
  11433. msgstr ""
  11434. #. type: item
  11435. #: guix-git/doc/guix.texi:6565
  11436. #, no-wrap
  11437. msgid "--relocatable"
  11438. msgstr "--relocatable"
  11439. #. type: table
  11440. #: guix-git/doc/guix.texi:6569
  11441. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  11442. msgstr ""
  11443. #. type: table
  11444. #: guix-git/doc/guix.texi:6577
  11445. 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."
  11446. msgstr ""
  11447. #. type: table
  11448. #: guix-git/doc/guix.texi:6579
  11449. msgid "For example, if you create a pack containing Bash with:"
  11450. msgstr ""
  11451. #. type: example
  11452. #: guix-git/doc/guix.texi:6582
  11453. #, no-wrap
  11454. msgid "guix pack -RR -S /mybin=bin bash\n"
  11455. msgstr ""
  11456. #. type: table
  11457. #: guix-git/doc/guix.texi:6587
  11458. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  11459. msgstr ""
  11460. #. type: example
  11461. #: guix-git/doc/guix.texi:6591
  11462. #, no-wrap
  11463. msgid ""
  11464. "tar xf pack.tar.gz\n"
  11465. "./mybin/sh\n"
  11466. msgstr ""
  11467. #. type: table
  11468. #: guix-git/doc/guix.texi:6599
  11469. 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."
  11470. msgstr ""
  11471. #. type: quotation
  11472. #: guix-git/doc/guix.texi:6605
  11473. 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."
  11474. msgstr ""
  11475. #. type: quotation
  11476. #: guix-git/doc/guix.texi:6611
  11477. 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:"
  11478. msgstr ""
  11479. #. type: item
  11480. #: guix-git/doc/guix.texi:6613 guix-git/doc/guix.texi:17858
  11481. #, no-wrap
  11482. msgid "default"
  11483. msgstr ""
  11484. #. type: table
  11485. #: guix-git/doc/guix.texi:6616
  11486. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  11487. msgstr ""
  11488. #. type: item
  11489. #: guix-git/doc/guix.texi:6617
  11490. #, no-wrap
  11491. msgid "performance"
  11492. msgstr ""
  11493. #. type: table
  11494. #: guix-git/doc/guix.texi:6620
  11495. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  11496. msgstr ""
  11497. #. type: item
  11498. #: guix-git/doc/guix.texi:6621
  11499. #, no-wrap
  11500. msgid "userns"
  11501. msgstr ""
  11502. #. type: table
  11503. #: guix-git/doc/guix.texi:6624
  11504. msgid "Run the program through user namespaces and abort if they are not supported."
  11505. msgstr ""
  11506. #. type: item
  11507. #: guix-git/doc/guix.texi:6625
  11508. #, no-wrap
  11509. msgid "proot"
  11510. msgstr ""
  11511. #. type: table
  11512. #: guix-git/doc/guix.texi:6632
  11513. 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."
  11514. msgstr ""
  11515. #. type: item
  11516. #: guix-git/doc/guix.texi:6633
  11517. #, no-wrap
  11518. msgid "fakechroot"
  11519. msgstr ""
  11520. #. type: table
  11521. #: guix-git/doc/guix.texi:6641
  11522. 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."
  11523. msgstr ""
  11524. #. type: vindex
  11525. #: guix-git/doc/guix.texi:6643
  11526. #, no-wrap
  11527. msgid "GUIX_EXECUTION_ENGINE"
  11528. msgstr ""
  11529. #. type: quotation
  11530. #: guix-git/doc/guix.texi:6647
  11531. 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."
  11532. msgstr ""
  11533. #. type: cindex
  11534. #: guix-git/doc/guix.texi:6649
  11535. #, no-wrap
  11536. msgid "entry point, for Docker images"
  11537. msgstr ""
  11538. #. type: item
  11539. #: guix-git/doc/guix.texi:6650
  11540. #, no-wrap
  11541. msgid "--entry-point=@var{command}"
  11542. msgstr ""
  11543. #. type: table
  11544. #: guix-git/doc/guix.texi:6655
  11545. 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."
  11546. msgstr ""
  11547. #. type: table
  11548. #: guix-git/doc/guix.texi:6659
  11549. 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:"
  11550. msgstr ""
  11551. #. type: example
  11552. #: guix-git/doc/guix.texi:6662
  11553. #, no-wrap
  11554. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  11555. msgstr ""
  11556. #. type: table
  11557. #: guix-git/doc/guix.texi:6666
  11558. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  11559. msgstr ""
  11560. #. type: example
  11561. #: guix-git/doc/guix.texi:6670
  11562. #, no-wrap
  11563. msgid ""
  11564. "docker load -i pack.tar.gz\n"
  11565. "docker run @var{image-id}\n"
  11566. msgstr ""
  11567. #. type: table
  11568. #: guix-git/doc/guix.texi:6675 guix-git/doc/guix.texi:12916
  11569. #: guix-git/doc/guix.texi:13906
  11570. msgid "Consider the package @var{expr} evaluates to."
  11571. msgstr ""
  11572. #. type: table
  11573. #: guix-git/doc/guix.texi:6679
  11574. 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}})."
  11575. msgstr ""
  11576. #. type: table
  11577. #: guix-git/doc/guix.texi:6685
  11578. 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."
  11579. msgstr ""
  11580. #. type: table
  11581. #: guix-git/doc/guix.texi:6693
  11582. 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."
  11583. msgstr ""
  11584. #. type: item
  11585. #: guix-git/doc/guix.texi:6699 guix-git/doc/guix.texi:11957
  11586. #, no-wrap
  11587. msgid "--target=@var{triplet}"
  11588. msgstr ""
  11589. #. type: cindex
  11590. #: guix-git/doc/guix.texi:6700 guix-git/doc/guix.texi:7146
  11591. #: guix-git/doc/guix.texi:11958
  11592. #, no-wrap
  11593. msgid "cross-compilation"
  11594. msgstr ""
  11595. #. type: table
  11596. #: guix-git/doc/guix.texi:6704
  11597. 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})."
  11598. msgstr ""
  11599. #. type: item
  11600. #: guix-git/doc/guix.texi:6705
  11601. #, no-wrap
  11602. msgid "--compression=@var{tool}"
  11603. msgstr ""
  11604. #. type: itemx
  11605. #: guix-git/doc/guix.texi:6706
  11606. #, no-wrap
  11607. msgid "-C @var{tool}"
  11608. msgstr ""
  11609. #. type: table
  11610. #: guix-git/doc/guix.texi:6710
  11611. 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."
  11612. msgstr ""
  11613. #. type: item
  11614. #: guix-git/doc/guix.texi:6711
  11615. #, no-wrap
  11616. msgid "--symlink=@var{spec}"
  11617. msgstr ""
  11618. #. type: itemx
  11619. #: guix-git/doc/guix.texi:6712
  11620. #, no-wrap
  11621. msgid "-S @var{spec}"
  11622. msgstr ""
  11623. #. type: table
  11624. #: guix-git/doc/guix.texi:6715
  11625. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  11626. msgstr ""
  11627. #. type: table
  11628. #: guix-git/doc/guix.texi:6719
  11629. 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."
  11630. msgstr ""
  11631. #. type: table
  11632. #: guix-git/doc/guix.texi:6722
  11633. 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."
  11634. msgstr ""
  11635. #. type: item
  11636. #: guix-git/doc/guix.texi:6723 guix-git/doc/guix.texi:35820
  11637. #, no-wrap
  11638. msgid "--save-provenance"
  11639. msgstr ""
  11640. #. type: table
  11641. #: guix-git/doc/guix.texi:6727
  11642. 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})."
  11643. msgstr ""
  11644. #. type: table
  11645. #: guix-git/doc/guix.texi:6733
  11646. 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."
  11647. msgstr ""
  11648. #. type: table
  11649. #: guix-git/doc/guix.texi:6739
  11650. 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."
  11651. msgstr ""
  11652. #. type: cindex
  11653. #: guix-git/doc/guix.texi:6742
  11654. #, no-wrap
  11655. msgid "garbage collector root, for packs"
  11656. msgstr ""
  11657. #. type: table
  11658. #: guix-git/doc/guix.texi:6745
  11659. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  11660. msgstr ""
  11661. #. type: item
  11662. #: guix-git/doc/guix.texi:6746
  11663. #, no-wrap
  11664. msgid "--localstatedir"
  11665. msgstr "--localstatedir"
  11666. #. type: itemx
  11667. #: guix-git/doc/guix.texi:6747
  11668. #, no-wrap
  11669. msgid "--profile-name=@var{name}"
  11670. msgstr ""
  11671. #. type: table
  11672. #: guix-git/doc/guix.texi:6752
  11673. 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}."
  11674. msgstr ""
  11675. #. type: table
  11676. #: guix-git/doc/guix.texi:6758
  11677. 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."
  11678. msgstr ""
  11679. #. type: table
  11680. #: guix-git/doc/guix.texi:6761
  11681. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  11682. msgstr ""
  11683. #. type: item
  11684. #: guix-git/doc/guix.texi:6762 guix-git/doc/guix.texi:35814
  11685. #, no-wrap
  11686. msgid "--derivation"
  11687. msgstr ""
  11688. #. type: itemx
  11689. #: guix-git/doc/guix.texi:6763 guix-git/doc/guix.texi:11989
  11690. #: guix-git/doc/guix.texi:35815
  11691. #, no-wrap
  11692. msgid "-d"
  11693. msgstr ""
  11694. #. type: table
  11695. #: guix-git/doc/guix.texi:6765
  11696. msgid "Print the name of the derivation that builds the pack."
  11697. msgstr ""
  11698. #. type: table
  11699. #: guix-git/doc/guix.texi:6769
  11700. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  11701. msgstr ""
  11702. #. type: Plain text
  11703. #: guix-git/doc/guix.texi:6774
  11704. 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})."
  11705. msgstr ""
  11706. #. type: cindex
  11707. #: guix-git/doc/guix.texi:6779
  11708. #, no-wrap
  11709. msgid "GCC"
  11710. msgstr ""
  11711. #. type: cindex
  11712. #: guix-git/doc/guix.texi:6780
  11713. #, no-wrap
  11714. msgid "ld-wrapper"
  11715. msgstr ""
  11716. #. type: cindex
  11717. #: guix-git/doc/guix.texi:6781
  11718. #, no-wrap
  11719. msgid "linker wrapper"
  11720. msgstr ""
  11721. #. type: cindex
  11722. #: guix-git/doc/guix.texi:6782
  11723. #, no-wrap
  11724. msgid "toolchain, for C development"
  11725. msgstr ""
  11726. #. type: cindex
  11727. #: guix-git/doc/guix.texi:6783
  11728. #, no-wrap
  11729. msgid "toolchain, for Fortran development"
  11730. msgstr ""
  11731. #. type: Plain text
  11732. #: guix-git/doc/guix.texi:6790
  11733. 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."
  11734. msgstr ""
  11735. #. type: Plain text
  11736. #: guix-git/doc/guix.texi:6796
  11737. 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}."
  11738. msgstr ""
  11739. #. type: Plain text
  11740. #: guix-git/doc/guix.texi:6800
  11741. 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})."
  11742. msgstr ""
  11743. #. type: section
  11744. #: guix-git/doc/guix.texi:6803
  11745. #, no-wrap
  11746. msgid "Invoking @command{guix git authenticate}"
  11747. msgstr ""
  11748. #. type: Plain text
  11749. #: guix-git/doc/guix.texi:6811
  11750. 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)."
  11751. msgstr ""
  11752. #. type: Plain text
  11753. #: guix-git/doc/guix.texi:6816
  11754. 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."
  11755. msgstr ""
  11756. #. type: example
  11757. #: guix-git/doc/guix.texi:6821
  11758. #, no-wrap
  11759. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  11760. msgstr ""
  11761. #. type: Plain text
  11762. #: guix-git/doc/guix.texi:6830
  11763. 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."
  11764. msgstr ""
  11765. #. type: item
  11766. #: guix-git/doc/guix.texi:6832
  11767. #, no-wrap
  11768. msgid "--repository=@var{directory}"
  11769. msgstr ""
  11770. #. type: itemx
  11771. #: guix-git/doc/guix.texi:6833
  11772. #, no-wrap
  11773. msgid "-r @var{directory}"
  11774. msgstr ""
  11775. #. type: table
  11776. #: guix-git/doc/guix.texi:6836
  11777. msgid "Open the Git repository in @var{directory} instead of the current directory."
  11778. msgstr ""
  11779. #. type: item
  11780. #: guix-git/doc/guix.texi:6837
  11781. #, no-wrap
  11782. msgid "--keyring=@var{reference}"
  11783. msgstr ""
  11784. #. type: itemx
  11785. #: guix-git/doc/guix.texi:6838
  11786. #, no-wrap
  11787. msgid "-k @var{reference}"
  11788. msgstr ""
  11789. #. type: table
  11790. #: guix-git/doc/guix.texi:6844
  11791. 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}."
  11792. msgstr ""
  11793. #. type: item
  11794. #: guix-git/doc/guix.texi:6845
  11795. #, no-wrap
  11796. msgid "--stats"
  11797. msgstr ""
  11798. #. type: table
  11799. #: guix-git/doc/guix.texi:6847
  11800. msgid "Display commit signing statistics upon completion."
  11801. msgstr ""
  11802. #. type: item
  11803. #: guix-git/doc/guix.texi:6848
  11804. #, no-wrap
  11805. msgid "--cache-key=@var{key}"
  11806. msgstr ""
  11807. #. type: table
  11808. #: guix-git/doc/guix.texi:6852
  11809. 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."
  11810. msgstr ""
  11811. #. type: item
  11812. #: guix-git/doc/guix.texi:6853
  11813. #, no-wrap
  11814. msgid "--historical-authorizations=@var{file}"
  11815. msgstr ""
  11816. #. type: table
  11817. #: guix-git/doc/guix.texi:6860
  11818. 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})."
  11819. msgstr ""
  11820. #. type: Plain text
  11821. #: guix-git/doc/guix.texi:6873
  11822. 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."
  11823. msgstr ""
  11824. #. type: Plain text
  11825. #: guix-git/doc/guix.texi:6879
  11826. 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."
  11827. msgstr ""
  11828. #. type: Plain text
  11829. #: guix-git/doc/guix.texi:6888
  11830. 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."
  11831. msgstr ""
  11832. #. type: Plain text
  11833. #: guix-git/doc/guix.texi:6891
  11834. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  11835. msgstr ""
  11836. #. type: menuentry
  11837. #: guix-git/doc/guix.texi:6905
  11838. msgid "Programming Guix in Guile"
  11839. msgstr ""
  11840. #. type: Plain text
  11841. #: guix-git/doc/guix.texi:6921
  11842. 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})."
  11843. msgstr ""
  11844. #. type: Plain text
  11845. #: guix-git/doc/guix.texi:6928
  11846. 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."
  11847. msgstr ""
  11848. #. type: cindex
  11849. #: guix-git/doc/guix.texi:6930
  11850. #, no-wrap
  11851. msgid "package module search path"
  11852. msgstr ""
  11853. #. type: Plain text
  11854. #: guix-git/doc/guix.texi:6939
  11855. 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:"
  11856. msgstr ""
  11857. #. type: enumerate
  11858. #: guix-git/doc/guix.texi:6946
  11859. 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."
  11860. msgstr ""
  11861. #. type: enumerate
  11862. #: guix-git/doc/guix.texi:6952
  11863. 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."
  11864. msgstr ""
  11865. #. type: Plain text
  11866. #: guix-git/doc/guix.texi:6955
  11867. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  11868. msgstr ""
  11869. #. type: defvr
  11870. #: guix-git/doc/guix.texi:6956
  11871. #, no-wrap
  11872. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  11873. msgstr ""
  11874. #. type: defvr
  11875. #: guix-git/doc/guix.texi:6960
  11876. 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."
  11877. msgstr ""
  11878. #. type: Plain text
  11879. #: guix-git/doc/guix.texi:6968
  11880. 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}."
  11881. msgstr ""
  11882. #. type: Plain text
  11883. #: guix-git/doc/guix.texi:6976
  11884. 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:"
  11885. msgstr ""
  11886. #. type: lisp
  11887. #: guix-git/doc/guix.texi:6984
  11888. #, no-wrap
  11889. msgid ""
  11890. "(define-module (gnu packages hello)\n"
  11891. " #:use-module (guix packages)\n"
  11892. " #:use-module (guix download)\n"
  11893. " #:use-module (guix build-system gnu)\n"
  11894. " #:use-module (guix licenses)\n"
  11895. " #:use-module (gnu packages gawk))\n"
  11896. "\n"
  11897. msgstr ""
  11898. #. type: lisp
  11899. #: guix-git/doc/guix.texi:7003
  11900. #, no-wrap
  11901. msgid ""
  11902. "(define-public hello\n"
  11903. " (package\n"
  11904. " (name \"hello\")\n"
  11905. " (version \"2.10\")\n"
  11906. " (source (origin\n"
  11907. " (method url-fetch)\n"
  11908. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11909. " \".tar.gz\"))\n"
  11910. " (sha256\n"
  11911. " (base32\n"
  11912. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  11913. " (build-system gnu-build-system)\n"
  11914. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  11915. " (inputs (list gawk))\n"
  11916. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  11917. " (description \"Guess what GNU Hello prints!\")\n"
  11918. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  11919. " (license gpl3+)))\n"
  11920. msgstr ""
  11921. #. type: Plain text
  11922. #: guix-git/doc/guix.texi:7013
  11923. 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\"}."
  11924. msgstr ""
  11925. #. type: Plain text
  11926. #: guix-git/doc/guix.texi:7017
  11927. 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})."
  11928. msgstr ""
  11929. #. type: Plain text
  11930. #: guix-git/doc/guix.texi:7023
  11931. 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})."
  11932. msgstr ""
  11933. #. type: Plain text
  11934. #: guix-git/doc/guix.texi:7025
  11935. msgid "There are a few points worth noting in the above package definition:"
  11936. msgstr ""
  11937. #. type: itemize
  11938. #: guix-git/doc/guix.texi:7032
  11939. 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."
  11940. msgstr ""
  11941. #. type: itemize
  11942. #: guix-git/doc/guix.texi:7035
  11943. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  11944. msgstr ""
  11945. #. type: itemize
  11946. #: guix-git/doc/guix.texi:7042
  11947. 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})."
  11948. msgstr ""
  11949. #. type: cindex
  11950. #: guix-git/doc/guix.texi:7043
  11951. #, no-wrap
  11952. msgid "patches"
  11953. msgstr ""
  11954. #. type: itemize
  11955. #: guix-git/doc/guix.texi:7047
  11956. 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."
  11957. msgstr ""
  11958. #. type: cindex
  11959. #: guix-git/doc/guix.texi:7049
  11960. #, no-wrap
  11961. msgid "GNU Build System"
  11962. msgstr ""
  11963. #. type: itemize
  11964. #: guix-git/doc/guix.texi:7055
  11965. 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."
  11966. msgstr ""
  11967. #. type: itemize
  11968. #: guix-git/doc/guix.texi:7059
  11969. 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."
  11970. msgstr ""
  11971. #. type: itemize
  11972. #: guix-git/doc/guix.texi:7065
  11973. 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."
  11974. msgstr ""
  11975. #. type: findex
  11976. #: guix-git/doc/guix.texi:7066 guix-git/doc/guix.texi:7069
  11977. #, no-wrap
  11978. msgid "quote"
  11979. msgstr ""
  11980. #. type: cindex
  11981. #: guix-git/doc/guix.texi:7067
  11982. #, no-wrap
  11983. msgid "quoting"
  11984. msgstr ""
  11985. #. type: findex
  11986. #: guix-git/doc/guix.texi:7068
  11987. #, no-wrap
  11988. msgid "'"
  11989. msgstr ""
  11990. #. type: cindex
  11991. #: guix-git/doc/guix.texi:7070
  11992. #, no-wrap
  11993. msgid "backquote (quasiquote)"
  11994. msgstr ""
  11995. #. type: findex
  11996. #: guix-git/doc/guix.texi:7071
  11997. #, no-wrap
  11998. msgid "`"
  11999. msgstr ""
  12000. #. type: findex
  12001. #: guix-git/doc/guix.texi:7072
  12002. #, no-wrap
  12003. msgid "quasiquote"
  12004. msgstr ""
  12005. #. type: cindex
  12006. #: guix-git/doc/guix.texi:7073
  12007. #, no-wrap
  12008. msgid "comma (unquote)"
  12009. msgstr ""
  12010. #. type: findex
  12011. #: guix-git/doc/guix.texi:7074
  12012. #, no-wrap
  12013. msgid ","
  12014. msgstr ""
  12015. #. type: findex
  12016. #: guix-git/doc/guix.texi:7075
  12017. #, no-wrap
  12018. msgid "unquote"
  12019. msgstr ""
  12020. #. type: itemize
  12021. #: guix-git/doc/guix.texi:7085
  12022. 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})."
  12023. msgstr ""
  12024. #. type: itemize
  12025. #: guix-git/doc/guix.texi:7091
  12026. 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})."
  12027. msgstr ""
  12028. #. type: itemize
  12029. #: guix-git/doc/guix.texi:7097
  12030. 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."
  12031. msgstr ""
  12032. #. type: itemize
  12033. #: guix-git/doc/guix.texi:7101
  12034. 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})."
  12035. msgstr ""
  12036. #. type: itemize
  12037. #: guix-git/doc/guix.texi:7105
  12038. 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."
  12039. msgstr ""
  12040. #. type: Plain text
  12041. #: guix-git/doc/guix.texi:7108
  12042. msgid "@xref{package Reference}, for a full description of possible fields."
  12043. msgstr ""
  12044. #. type: Plain text
  12045. #: guix-git/doc/guix.texi:7119
  12046. 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."
  12047. msgstr ""
  12048. #. type: vindex
  12049. #: guix-git/doc/guix.texi:7119
  12050. #, no-wrap
  12051. msgid "GUIX_PACKAGE_PATH"
  12052. msgstr "GUIX_PACKAGE_PATH"
  12053. #. type: Plain text
  12054. #: guix-git/doc/guix.texi:7123
  12055. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  12056. msgstr ""
  12057. #. type: Plain text
  12058. #: guix-git/doc/guix.texi:7127
  12059. 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})."
  12060. msgstr ""
  12061. #. type: Plain text
  12062. #: guix-git/doc/guix.texi:7133
  12063. 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})."
  12064. msgstr ""
  12065. #. type: deffn
  12066. #: guix-git/doc/guix.texi:7134
  12067. #, no-wrap
  12068. msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]"
  12069. msgstr ""
  12070. #. type: deffn
  12071. #: guix-git/doc/guix.texi:7137
  12072. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  12073. msgstr ""
  12074. #. type: deffn
  12075. #: guix-git/doc/guix.texi:7143
  12076. 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})."
  12077. msgstr ""
  12078. #. type: Plain text
  12079. #: guix-git/doc/guix.texi:7149
  12080. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  12081. msgstr ""
  12082. #. type: deffn
  12083. #: guix-git/doc/guix.texi:7150
  12084. #, no-wrap
  12085. msgid "{Scheme Procedure} package-cross-derivation @var{store} @"
  12086. msgstr ""
  12087. #. type: deffn
  12088. #: guix-git/doc/guix.texi:7154
  12089. msgid "@var{package} @var{target} [@var{system}] Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  12090. msgstr ""
  12091. #. type: deffn
  12092. #: guix-git/doc/guix.texi:7158
  12093. 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})."
  12094. msgstr ""
  12095. #. type: Plain text
  12096. #: guix-git/doc/guix.texi:7162
  12097. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  12098. msgstr ""
  12099. #. type: subsection
  12100. #: guix-git/doc/guix.texi:7170
  12101. #, no-wrap
  12102. msgid "@code{package} Reference"
  12103. msgstr ""
  12104. #. type: Plain text
  12105. #: guix-git/doc/guix.texi:7174
  12106. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  12107. msgstr ""
  12108. #. type: deftp
  12109. #: guix-git/doc/guix.texi:7175
  12110. #, no-wrap
  12111. msgid "{Data Type} package"
  12112. msgstr ""
  12113. #. type: deftp
  12114. #: guix-git/doc/guix.texi:7177
  12115. msgid "This is the data type representing a package recipe."
  12116. msgstr ""
  12117. #. type: table
  12118. #: guix-git/doc/guix.texi:7181
  12119. msgid "The name of the package, as a string."
  12120. msgstr ""
  12121. #. type: code{#1}
  12122. #: guix-git/doc/guix.texi:7182
  12123. #, no-wrap
  12124. msgid "version"
  12125. msgstr ""
  12126. #. type: table
  12127. #: guix-git/doc/guix.texi:7185
  12128. msgid "The version of the package, as a string. @xref{Version Numbers}, for guidelines."
  12129. msgstr ""
  12130. #. type: code{#1}
  12131. #: guix-git/doc/guix.texi:7186 guix-git/doc/guix.texi:13361
  12132. #: guix-git/doc/guix.texi:15642 guix-git/doc/guix.texi:16268
  12133. #, no-wrap
  12134. msgid "source"
  12135. msgstr ""
  12136. #. type: table
  12137. #: guix-git/doc/guix.texi:7193
  12138. 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}})."
  12139. msgstr ""
  12140. #. type: code{#1}
  12141. #: guix-git/doc/guix.texi:7194
  12142. #, no-wrap
  12143. msgid "build-system"
  12144. msgstr ""
  12145. #. type: table
  12146. #: guix-git/doc/guix.texi:7197
  12147. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  12148. msgstr ""
  12149. #. type: item
  12150. #: guix-git/doc/guix.texi:7198 guix-git/doc/guix.texi:18440
  12151. #, no-wrap
  12152. msgid "@code{arguments} (default: @code{'()})"
  12153. msgstr ""
  12154. #. type: table
  12155. #: guix-git/doc/guix.texi:7201
  12156. msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs."
  12157. msgstr ""
  12158. #. type: item
  12159. #: guix-git/doc/guix.texi:7202
  12160. #, no-wrap
  12161. msgid "@code{inputs} (default: @code{'()})"
  12162. msgstr ""
  12163. #. type: itemx
  12164. #: guix-git/doc/guix.texi:7203
  12165. #, no-wrap
  12166. msgid "@code{native-inputs} (default: @code{'()})"
  12167. msgstr ""
  12168. #. type: itemx
  12169. #: guix-git/doc/guix.texi:7204
  12170. #, no-wrap
  12171. msgid "@code{propagated-inputs} (default: @code{'()})"
  12172. msgstr ""
  12173. #. type: cindex
  12174. #: guix-git/doc/guix.texi:7205
  12175. #, no-wrap
  12176. msgid "inputs, of packages"
  12177. msgstr ""
  12178. #. type: table
  12179. #: guix-git/doc/guix.texi:7212
  12180. 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:"
  12181. msgstr ""
  12182. #. type: lisp
  12183. #: guix-git/doc/guix.texi:7216
  12184. #, no-wrap
  12185. msgid ""
  12186. "(list libffi libunistring\n"
  12187. " `(,glib \"bin\")) ;the \"bin\" output of GLib\n"
  12188. msgstr ""
  12189. #. type: table
  12190. #: guix-git/doc/guix.texi:7220
  12191. msgid "In the example above, the @code{\"out\"} output of @code{libffi} and @code{libunistring} is used."
  12192. msgstr ""
  12193. #. type: quotation
  12194. #: guix-git/doc/guix.texi:7221
  12195. #, no-wrap
  12196. msgid "Compatibility Note"
  12197. msgstr ""
  12198. #. type: quotation
  12199. #: guix-git/doc/guix.texi:7228
  12200. 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}:"
  12201. msgstr ""
  12202. #. type: lisp
  12203. #: guix-git/doc/guix.texi:7234
  12204. #, no-wrap
  12205. msgid ""
  12206. ";; Old input style (deprecated).\n"
  12207. "`((\"libffi\" ,libffi)\n"
  12208. " (\"libunistring\" ,libunistring)\n"
  12209. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of GLib\n"
  12210. msgstr ""
  12211. #. type: quotation
  12212. #: guix-git/doc/guix.texi:7240
  12213. 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."
  12214. msgstr ""
  12215. #. type: cindex
  12216. #: guix-git/doc/guix.texi:7242
  12217. #, no-wrap
  12218. msgid "cross compilation, package dependencies"
  12219. msgstr ""
  12220. #. type: table
  12221. #: guix-git/doc/guix.texi:7248
  12222. 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."
  12223. msgstr ""
  12224. #. type: table
  12225. #: guix-git/doc/guix.texi:7253
  12226. 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})."
  12227. msgstr ""
  12228. #. type: anchor{#1}
  12229. #: guix-git/doc/guix.texi:7261
  12230. msgid "package-propagated-inputs"
  12231. msgstr ""
  12232. #. type: table
  12233. #: guix-git/doc/guix.texi:7261
  12234. 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)."
  12235. msgstr ""
  12236. #. type: table
  12237. #: guix-git/doc/guix.texi:7265
  12238. 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."
  12239. msgstr ""
  12240. #. type: table
  12241. #: guix-git/doc/guix.texi:7272
  12242. 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}."
  12243. msgstr ""
  12244. #. type: item
  12245. #: guix-git/doc/guix.texi:7273
  12246. #, no-wrap
  12247. msgid "@code{outputs} (default: @code{'(\"out\")})"
  12248. msgstr ""
  12249. #. type: table
  12250. #: guix-git/doc/guix.texi:7276
  12251. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  12252. msgstr ""
  12253. #. type: item
  12254. #: guix-git/doc/guix.texi:7277
  12255. #, no-wrap
  12256. msgid "@code{native-search-paths} (default: @code{'()})"
  12257. msgstr ""
  12258. #. type: itemx
  12259. #: guix-git/doc/guix.texi:7278
  12260. #, no-wrap
  12261. msgid "@code{search-paths} (default: @code{'()})"
  12262. msgstr ""
  12263. #. type: table
  12264. #: guix-git/doc/guix.texi:7282
  12265. 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."
  12266. msgstr ""
  12267. #. type: table
  12268. #: guix-git/doc/guix.texi:7288
  12269. 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."
  12270. msgstr ""
  12271. #. type: table
  12272. #: guix-git/doc/guix.texi:7295
  12273. 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."
  12274. msgstr ""
  12275. #. type: item
  12276. #: guix-git/doc/guix.texi:7296
  12277. #, no-wrap
  12278. msgid "@code{replacement} (default: @code{#f})"
  12279. msgstr "@code{replacement} (default: @code{#f})"
  12280. #. type: table
  12281. #: guix-git/doc/guix.texi:7300
  12282. 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."
  12283. msgstr ""
  12284. #. type: item
  12285. #: guix-git/doc/guix.texi:7301 guix-git/doc/guix.texi:13353
  12286. #, no-wrap
  12287. msgid "synopsis"
  12288. msgstr ""
  12289. #. type: table
  12290. #: guix-git/doc/guix.texi:7303
  12291. msgid "A one-line description of the package."
  12292. msgstr ""
  12293. #. type: code{#1}
  12294. #: guix-git/doc/guix.texi:7304 guix-git/doc/guix.texi:13354
  12295. #: guix-git/doc/guix.texi:36563 guix-git/doc/guix.texi:36723
  12296. #, no-wrap
  12297. msgid "description"
  12298. msgstr ""
  12299. #. type: table
  12300. #: guix-git/doc/guix.texi:7306
  12301. msgid "A more elaborate description of the package."
  12302. msgstr ""
  12303. #. type: code{#1}
  12304. #: guix-git/doc/guix.texi:7307
  12305. #, no-wrap
  12306. msgid "license"
  12307. msgstr ""
  12308. #. type: cindex
  12309. #: guix-git/doc/guix.texi:7308
  12310. #, no-wrap
  12311. msgid "license, of packages"
  12312. msgstr ""
  12313. #. type: table
  12314. #: guix-git/doc/guix.texi:7311
  12315. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  12316. msgstr ""
  12317. #. type: itemx
  12318. #: guix-git/doc/guix.texi:7312 guix-git/doc/guix.texi:13362
  12319. #, no-wrap
  12320. msgid "home-page"
  12321. msgstr ""
  12322. #. type: table
  12323. #: guix-git/doc/guix.texi:7314
  12324. msgid "The URL to the home-page of the package, as a string."
  12325. msgstr ""
  12326. #. type: item
  12327. #: guix-git/doc/guix.texi:7315
  12328. #, no-wrap
  12329. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  12330. msgstr ""
  12331. #. type: table
  12332. #: guix-git/doc/guix.texi:7318
  12333. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  12334. msgstr ""
  12335. #. type: item
  12336. #: guix-git/doc/guix.texi:7319
  12337. #, no-wrap
  12338. msgid "@code{location} (default: source location of the @code{package} form)"
  12339. msgstr ""
  12340. #. type: table
  12341. #: guix-git/doc/guix.texi:7323
  12342. 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."
  12343. msgstr ""
  12344. #. type: deffn
  12345. #: guix-git/doc/guix.texi:7326
  12346. #, no-wrap
  12347. msgid "{Scheme Syntax} this-package"
  12348. msgstr ""
  12349. #. type: deffn
  12350. #: guix-git/doc/guix.texi:7329
  12351. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  12352. msgstr ""
  12353. #. type: deffn
  12354. #: guix-git/doc/guix.texi:7332
  12355. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  12356. msgstr ""
  12357. #. type: lisp
  12358. #: guix-git/doc/guix.texi:7337
  12359. #, no-wrap
  12360. msgid ""
  12361. "(package\n"
  12362. " (name \"guile\")\n"
  12363. " ;; ...\n"
  12364. "\n"
  12365. msgstr ""
  12366. #. type: lisp
  12367. #: guix-git/doc/guix.texi:7343
  12368. #, no-wrap
  12369. msgid ""
  12370. " ;; When cross-compiled, Guile, for example, depends on\n"
  12371. " ;; a native version of itself. Add it here.\n"
  12372. " (native-inputs (if (%current-target-system)\n"
  12373. " (list this-package)\n"
  12374. " '())))\n"
  12375. msgstr ""
  12376. #. type: deffn
  12377. #: guix-git/doc/guix.texi:7346
  12378. msgid "It is an error to refer to @code{this-package} outside a package definition."
  12379. msgstr ""
  12380. #. type: Plain text
  12381. #: guix-git/doc/guix.texi:7350
  12382. msgid "The following helper procedures are provided to help deal with package inputs."
  12383. msgstr ""
  12384. #. type: deffn
  12385. #: guix-git/doc/guix.texi:7351
  12386. #, no-wrap
  12387. msgid "{Scheme Procedure} lookup-package-input @var{package} @var{name}"
  12388. msgstr ""
  12389. #. type: deffnx
  12390. #: guix-git/doc/guix.texi:7352
  12391. #, no-wrap
  12392. msgid "{Scheme Procedure} lookup-package-native-input @var{package} @var{name}"
  12393. msgstr ""
  12394. #. type: deffnx
  12395. #: guix-git/doc/guix.texi:7353
  12396. #, no-wrap
  12397. msgid "{Scheme Procedure} lookup-package-propagated-input @var{package} @var{name}"
  12398. msgstr ""
  12399. #. type: deffnx
  12400. #: guix-git/doc/guix.texi:7354
  12401. #, no-wrap
  12402. msgid "{Scheme Procedure} lookup-package-direct-input @var{package} @var{name}"
  12403. msgstr ""
  12404. #. type: deffn
  12405. #: guix-git/doc/guix.texi:7357
  12406. msgid "Look up @var{name} among @var{package}'s inputs (or native, propagated, or direct inputs). Return it if found, @code{#f} otherwise."
  12407. msgstr ""
  12408. #. type: deffn
  12409. #: guix-git/doc/guix.texi:7360
  12410. msgid "@var{name} is the name of a package depended on. Here's how you might use it:"
  12411. msgstr ""
  12412. #. type: lisp
  12413. #: guix-git/doc/guix.texi:7363
  12414. #, no-wrap
  12415. msgid ""
  12416. "(use-modules (guix packages) (gnu packages base))\n"
  12417. "\n"
  12418. msgstr ""
  12419. #. type: lisp
  12420. #: guix-git/doc/guix.texi:7366
  12421. #, no-wrap
  12422. msgid ""
  12423. "(lookup-package-direct-input coreutils \"gmp\")\n"
  12424. "@result{} #<package gmp@@6.2.1 @dots{}>\n"
  12425. msgstr ""
  12426. #. type: deffn
  12427. #: guix-git/doc/guix.texi:7370
  12428. msgid "In this example we obtain the @code{gmp} package that is among the direct inputs of @code{coreutils}."
  12429. msgstr ""
  12430. #. type: cindex
  12431. #: guix-git/doc/guix.texi:7372
  12432. #, fuzzy, no-wrap
  12433. #| msgid "inputs, for Python packages"
  12434. msgid "development inputs, of a package"
  12435. msgstr "entradas, para pacotes Python"
  12436. #. type: cindex
  12437. #: guix-git/doc/guix.texi:7373
  12438. #, fuzzy, no-wrap
  12439. #| msgid "inputs, for Python packages"
  12440. msgid "implicit inputs, of a package"
  12441. msgstr "entradas, para pacotes Python"
  12442. #. type: Plain text
  12443. #: guix-git/doc/guix.texi:7378
  12444. 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."
  12445. msgstr ""
  12446. #. type: deffn
  12447. #: guix-git/doc/guix.texi:7379
  12448. #, no-wrap
  12449. msgid "{Scheme Procedure} package-development-inputs @var{package} @"
  12450. msgstr ""
  12451. #. type: deffn
  12452. #: guix-git/doc/guix.texi:7386
  12453. msgid "[@var{system}] [#:target #f] 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{triplet}, where @var{triplet} is a triplet such as @code{\"aarch64-linux-gnu\"}."
  12454. msgstr ""
  12455. #. type: deffn
  12456. #: guix-git/doc/guix.texi:7390
  12457. 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:"
  12458. msgstr ""
  12459. #. type: lisp
  12460. #: guix-git/doc/guix.texi:7393
  12461. #, no-wrap
  12462. msgid ""
  12463. "(use-modules (gnu packages base) (guix packages))\n"
  12464. "\n"
  12465. msgstr ""
  12466. #. type: lisp
  12467. #: guix-git/doc/guix.texi:7396
  12468. #, no-wrap
  12469. msgid ""
  12470. "hello\n"
  12471. "@result{} #<package hello@@2.10 gnu/packages/base.scm:79 7f585d4f6790>\n"
  12472. "\n"
  12473. msgstr ""
  12474. #. type: lisp
  12475. #: guix-git/doc/guix.texi:7399
  12476. #, no-wrap
  12477. msgid ""
  12478. "(package-direct-inputs hello)\n"
  12479. "@result{} ()\n"
  12480. "\n"
  12481. msgstr ""
  12482. #. type: lisp
  12483. #: guix-git/doc/guix.texi:7402
  12484. #, no-wrap
  12485. msgid ""
  12486. "(package-development-inputs hello)\n"
  12487. "@result{} ((\"source\" @dots{}) (\"tar\" #<package tar@@1.32 @dots{}>) @dots{})\n"
  12488. msgstr ""
  12489. #. type: deffn
  12490. #: guix-git/doc/guix.texi:7411
  12491. 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})."
  12492. msgstr ""
  12493. #. type: Plain text
  12494. #: guix-git/doc/guix.texi:7417
  12495. 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."
  12496. msgstr ""
  12497. #. type: cindex
  12498. #: guix-git/doc/guix.texi:7418
  12499. #, no-wrap
  12500. msgid "tool chain, choosing a package's tool chain"
  12501. msgstr ""
  12502. #. type: deffn
  12503. #: guix-git/doc/guix.texi:7419
  12504. #, no-wrap
  12505. msgid "{Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}"
  12506. msgstr ""
  12507. #. type: deffn
  12508. #: guix-git/doc/guix.texi:7424
  12509. 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."
  12510. msgstr ""
  12511. #. type: deffn
  12512. #: guix-git/doc/guix.texi:7428
  12513. 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:"
  12514. msgstr ""
  12515. #. type: lisp
  12516. #: guix-git/doc/guix.texi:7432
  12517. #, no-wrap
  12518. msgid ""
  12519. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  12520. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  12521. msgstr ""
  12522. #. type: deffn
  12523. #: guix-git/doc/guix.texi:7440
  12524. 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."
  12525. msgstr ""
  12526. #. type: subsection
  12527. #: guix-git/doc/guix.texi:7443
  12528. #, no-wrap
  12529. msgid "@code{origin} Reference"
  12530. msgstr ""
  12531. #. type: Plain text
  12532. #: guix-git/doc/guix.texi:7451
  12533. 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."
  12534. msgstr ""
  12535. #. type: deftp
  12536. #: guix-git/doc/guix.texi:7452
  12537. #, no-wrap
  12538. msgid "{Data Type} origin"
  12539. msgstr ""
  12540. #. type: deftp
  12541. #: guix-git/doc/guix.texi:7454
  12542. msgid "This is the data type representing a source code origin."
  12543. msgstr ""
  12544. #. type: code{#1}
  12545. #: guix-git/doc/guix.texi:7456 guix-git/doc/guix.texi:26983
  12546. #, no-wrap
  12547. msgid "uri"
  12548. msgstr "uri"
  12549. #. type: table
  12550. #: guix-git/doc/guix.texi:7461
  12551. 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."
  12552. msgstr ""
  12553. #. type: cindex
  12554. #: guix-git/doc/guix.texi:7462
  12555. #, no-wrap
  12556. msgid "fixed-output derivations, for download"
  12557. msgstr ""
  12558. #. type: code{#1}
  12559. #: guix-git/doc/guix.texi:7463
  12560. #, no-wrap
  12561. msgid "method"
  12562. msgstr ""
  12563. #. type: table
  12564. #: guix-git/doc/guix.texi:7470
  12565. 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})."
  12566. msgstr ""
  12567. #. type: table
  12568. #: guix-git/doc/guix.texi:7474
  12569. 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)."
  12570. msgstr ""
  12571. #. type: code{#1}
  12572. #: guix-git/doc/guix.texi:7475
  12573. #, no-wrap
  12574. msgid "sha256"
  12575. msgstr ""
  12576. #. type: table
  12577. #: guix-git/doc/guix.texi:7479
  12578. 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."
  12579. msgstr ""
  12580. #. type: code{#1}
  12581. #: guix-git/doc/guix.texi:7480
  12582. #, no-wrap
  12583. msgid "hash"
  12584. msgstr "hash (masc.)"
  12585. #. type: table
  12586. #: guix-git/doc/guix.texi:7483
  12587. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  12588. msgstr ""
  12589. #. type: table
  12590. #: guix-git/doc/guix.texi:7487
  12591. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  12592. msgstr ""
  12593. #. type: item
  12594. #: guix-git/doc/guix.texi:7488
  12595. #, no-wrap
  12596. msgid "@code{file-name} (default: @code{#f})"
  12597. msgstr ""
  12598. #. type: table
  12599. #: guix-git/doc/guix.texi:7494
  12600. 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."
  12601. msgstr ""
  12602. #. type: item
  12603. #: guix-git/doc/guix.texi:7495
  12604. #, no-wrap
  12605. msgid "@code{patches} (default: @code{'()})"
  12606. msgstr ""
  12607. #. type: table
  12608. #: guix-git/doc/guix.texi:7498
  12609. 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."
  12610. msgstr ""
  12611. #. type: table
  12612. #: guix-git/doc/guix.texi:7502
  12613. 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}."
  12614. msgstr ""
  12615. #. type: item
  12616. #: guix-git/doc/guix.texi:7503
  12617. #, no-wrap
  12618. msgid "@code{snippet} (default: @code{#f})"
  12619. msgstr "@code{snippet} (default: @code{#f})"
  12620. #. type: table
  12621. #: guix-git/doc/guix.texi:7507
  12622. 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."
  12623. msgstr ""
  12624. #. type: item
  12625. #: guix-git/doc/guix.texi:7508
  12626. #, no-wrap
  12627. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  12628. msgstr ""
  12629. #. type: table
  12630. #: guix-git/doc/guix.texi:7511
  12631. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  12632. msgstr ""
  12633. #. type: item
  12634. #: guix-git/doc/guix.texi:7512
  12635. #, no-wrap
  12636. msgid "@code{patch-inputs} (default: @code{#f})"
  12637. msgstr ""
  12638. #. type: table
  12639. #: guix-git/doc/guix.texi:7516
  12640. 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."
  12641. msgstr ""
  12642. #. type: item
  12643. #: guix-git/doc/guix.texi:7517 guix-git/doc/guix.texi:26855
  12644. #, no-wrap
  12645. msgid "@code{modules} (default: @code{'()})"
  12646. msgstr ""
  12647. #. type: table
  12648. #: guix-git/doc/guix.texi:7520
  12649. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  12650. msgstr ""
  12651. #. type: item
  12652. #: guix-git/doc/guix.texi:7521
  12653. #, no-wrap
  12654. msgid "@code{patch-guile} (default: @code{#f})"
  12655. msgstr ""
  12656. #. type: table
  12657. #: guix-git/doc/guix.texi:7524
  12658. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  12659. msgstr ""
  12660. #. type: deftp
  12661. #: guix-git/doc/guix.texi:7527
  12662. #, no-wrap
  12663. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  12664. msgstr ""
  12665. #. type: deftp
  12666. #: guix-git/doc/guix.texi:7531
  12667. 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}."
  12668. msgstr ""
  12669. #. type: deftp
  12670. #: guix-git/doc/guix.texi:7534
  12671. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  12672. msgstr ""
  12673. #. type: deftp
  12674. #: guix-git/doc/guix.texi:7536
  12675. msgid "The following forms are all equivalent:"
  12676. msgstr ""
  12677. #. type: lisp
  12678. #: guix-git/doc/guix.texi:7545
  12679. #, no-wrap
  12680. msgid ""
  12681. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  12682. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  12683. " sha256)\n"
  12684. "(content-hash (base32\n"
  12685. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  12686. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  12687. " sha256)\n"
  12688. msgstr ""
  12689. #. type: deftp
  12690. #: guix-git/doc/guix.texi:7550
  12691. 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}."
  12692. msgstr ""
  12693. #. type: Plain text
  12694. #: guix-git/doc/guix.texi:7556
  12695. 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."
  12696. msgstr ""
  12697. #. type: deffn
  12698. #: guix-git/doc/guix.texi:7557
  12699. #, no-wrap
  12700. msgid "{Scheme Procedure} url-fetch @var{url} @var{hash-algo} @var{hash} @"
  12701. msgstr ""
  12702. #. type: deffn
  12703. #: guix-git/doc/guix.texi:7565
  12704. msgid "[name] [#:executable? #f] 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."
  12705. msgstr ""
  12706. #. type: deffn
  12707. #: guix-git/doc/guix.texi:7568
  12708. 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}."
  12709. msgstr ""
  12710. #. type: deffn
  12711. #: guix-git/doc/guix.texi:7571
  12712. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  12713. msgstr ""
  12714. #. type: Plain text
  12715. #: guix-git/doc/guix.texi:7577
  12716. 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."
  12717. msgstr ""
  12718. #. type: deffn
  12719. #: guix-git/doc/guix.texi:7578
  12720. #, no-wrap
  12721. msgid "{Scheme Procedure} git-fetch @var{ref} @var{hash-algo} @var{hash}"
  12722. msgstr ""
  12723. #. type: deffn
  12724. #: guix-git/doc/guix.texi:7583
  12725. 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}."
  12726. msgstr ""
  12727. #. type: deftp
  12728. #: guix-git/doc/guix.texi:7585
  12729. #, no-wrap
  12730. msgid "{Data Type} git-reference"
  12731. msgstr ""
  12732. #. type: deftp
  12733. #: guix-git/doc/guix.texi:7588
  12734. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  12735. msgstr ""
  12736. #. type: code{#1}
  12737. #: guix-git/doc/guix.texi:7590 guix-git/doc/guix.texi:24706
  12738. #, no-wrap
  12739. msgid "url"
  12740. msgstr "url"
  12741. #. type: table
  12742. #: guix-git/doc/guix.texi:7592
  12743. msgid "The URL of the Git repository to clone."
  12744. msgstr ""
  12745. #. type: code{#1}
  12746. #: guix-git/doc/guix.texi:7593
  12747. #, no-wrap
  12748. msgid "commit"
  12749. msgstr ""
  12750. #. type: table
  12751. #: guix-git/doc/guix.texi:7598
  12752. 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}."
  12753. msgstr ""
  12754. #. type: item
  12755. #: guix-git/doc/guix.texi:7599
  12756. #, no-wrap
  12757. msgid "@code{recursive?} (default: @code{#f})"
  12758. msgstr ""
  12759. #. type: table
  12760. #: guix-git/doc/guix.texi:7601
  12761. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  12762. msgstr ""
  12763. #. type: deftp
  12764. #: guix-git/doc/guix.texi:7605
  12765. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  12766. msgstr ""
  12767. #. type: lisp
  12768. #: guix-git/doc/guix.texi:7610
  12769. #, no-wrap
  12770. msgid ""
  12771. "(git-reference\n"
  12772. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  12773. " (commit \"v2.10\"))\n"
  12774. msgstr ""
  12775. #. type: deftp
  12776. #: guix-git/doc/guix.texi:7614
  12777. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  12778. msgstr ""
  12779. #. type: lisp
  12780. #: guix-git/doc/guix.texi:7619
  12781. #, no-wrap
  12782. msgid ""
  12783. "(git-reference\n"
  12784. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  12785. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  12786. msgstr ""
  12787. #. type: Plain text
  12788. #: guix-git/doc/guix.texi:7625
  12789. 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."
  12790. msgstr ""
  12791. #. type: deffn
  12792. #: guix-git/doc/guix.texi:7626
  12793. #, no-wrap
  12794. msgid "{Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @"
  12795. msgstr ""
  12796. #. type: deffn
  12797. #: guix-git/doc/guix.texi:7632
  12798. msgid "[name] 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}."
  12799. msgstr ""
  12800. #. type: cindex
  12801. #: guix-git/doc/guix.texi:7637
  12802. #, no-wrap
  12803. msgid "customizing packages"
  12804. msgstr ""
  12805. #. type: cindex
  12806. #: guix-git/doc/guix.texi:7638
  12807. #, no-wrap
  12808. msgid "variants, of packages"
  12809. msgstr ""
  12810. #. type: Plain text
  12811. #: guix-git/doc/guix.texi:7648
  12812. 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{profile-manifest, @option{--manifest}}) and in your own package collection (@pxref{Creating a Channel}), among others!"
  12813. msgstr ""
  12814. #. type: cindex
  12815. #: guix-git/doc/guix.texi:7649
  12816. #, no-wrap
  12817. msgid "inherit, for package definitions"
  12818. msgstr ""
  12819. #. type: Plain text
  12820. #: guix-git/doc/guix.texi:7656
  12821. 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."
  12822. msgstr ""
  12823. #. type: Plain text
  12824. #: guix-git/doc/guix.texi:7661
  12825. 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!):"
  12826. msgstr ""
  12827. #. type: lisp
  12828. #: guix-git/doc/guix.texi:7664
  12829. #, no-wrap
  12830. msgid ""
  12831. "(use-modules (gnu packages base)) ;for 'hello'\n"
  12832. "\n"
  12833. msgstr ""
  12834. #. type: lisp
  12835. #: guix-git/doc/guix.texi:7676
  12836. #, no-wrap
  12837. msgid ""
  12838. "(define hello-2.2\n"
  12839. " (package\n"
  12840. " (inherit hello)\n"
  12841. " (version \"2.2\")\n"
  12842. " (source (origin\n"
  12843. " (method url-fetch)\n"
  12844. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  12845. " \".tar.gz\"))\n"
  12846. " (sha256\n"
  12847. " (base32\n"
  12848. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  12849. msgstr ""
  12850. #. type: Plain text
  12851. #: guix-git/doc/guix.texi:7685
  12852. msgid "The example above corresponds to what the @option{--with-source} package transformation option does. 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."
  12853. msgstr ""
  12854. #. type: Plain text
  12855. #: guix-git/doc/guix.texi:7691
  12856. 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:"
  12857. msgstr ""
  12858. #. type: lisp
  12859. #: guix-git/doc/guix.texi:7694
  12860. #, no-wrap
  12861. msgid ""
  12862. "(use-modules (gnu packages gdb)) ;for 'gdb'\n"
  12863. "\n"
  12864. msgstr ""
  12865. #. type: lisp
  12866. #: guix-git/doc/guix.texi:7700
  12867. #, no-wrap
  12868. msgid ""
  12869. "(define gdb-sans-guile\n"
  12870. " (package\n"
  12871. " (inherit gdb)\n"
  12872. " (inputs (modify-inputs (package-inputs gdb)\n"
  12873. " (delete \"guile\")))))\n"
  12874. msgstr ""
  12875. #. type: Plain text
  12876. #: guix-git/doc/guix.texi:7706
  12877. 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."
  12878. msgstr ""
  12879. #. type: deffn
  12880. #: guix-git/doc/guix.texi:7707
  12881. #, no-wrap
  12882. msgid "{Scheme Syntax} modify-inputs @var{inputs} @var{clauses}"
  12883. msgstr ""
  12884. #. type: deffn
  12885. #: guix-git/doc/guix.texi:7711
  12886. 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:"
  12887. msgstr ""
  12888. #. type: item
  12889. #: guix-git/doc/guix.texi:7713
  12890. #, fuzzy, no-wrap
  12891. #| msgid "-t @var{type}"
  12892. msgid "(delete @var{name}@dots{})"
  12893. msgstr "-t @var{tipo}"
  12894. #. type: table
  12895. #: guix-git/doc/guix.texi:7715
  12896. msgid "Delete from the inputs packages with the given @var{name}s (strings)."
  12897. msgstr ""
  12898. #. type: item
  12899. #: guix-git/doc/guix.texi:7716
  12900. #, fuzzy, no-wrap
  12901. #| msgid "-r @var{package} @dots{}"
  12902. msgid "(append @var{package}@dots{})"
  12903. msgstr "-r @var{pacote} @dots{}"
  12904. #. type: table
  12905. #: guix-git/doc/guix.texi:7718
  12906. msgid "Add @var{package}s to the end of the input list."
  12907. msgstr ""
  12908. #. type: item
  12909. #: guix-git/doc/guix.texi:7719
  12910. #, fuzzy, no-wrap
  12911. #| msgid "-r @var{package} @dots{}"
  12912. msgid "(prepend @var{package}@dots{})"
  12913. msgstr "-r @var{pacote} @dots{}"
  12914. #. type: table
  12915. #: guix-git/doc/guix.texi:7721
  12916. msgid "Add @var{package}s to the front of the input list."
  12917. msgstr ""
  12918. #. type: deffn
  12919. #: guix-git/doc/guix.texi:7725
  12920. msgid "The example below removes the GMP and ACL inputs of Coreutils and adds libcap to the back of the input list:"
  12921. msgstr ""
  12922. #. type: lisp
  12923. #: guix-git/doc/guix.texi:7730
  12924. #, no-wrap
  12925. msgid ""
  12926. "(modify-inputs (package-inputs coreutils)\n"
  12927. " (delete \"gmp\" \"acl\")\n"
  12928. " (append libcap))\n"
  12929. msgstr ""
  12930. #. type: deffn
  12931. #: guix-git/doc/guix.texi:7734
  12932. msgid "The example below replaces the @code{guile} package from the inputs of @code{guile-redis} with @code{guile-2.2}:"
  12933. msgstr ""
  12934. #. type: lisp
  12935. #: guix-git/doc/guix.texi:7738
  12936. #, no-wrap
  12937. msgid ""
  12938. "(modify-inputs (package-inputs guile-redis)\n"
  12939. " (replace \"guile\" guile-2.2))\n"
  12940. msgstr ""
  12941. #. type: deffn
  12942. #: guix-git/doc/guix.texi:7742
  12943. msgid "The last type of clause is @code{prepend}, to add inputs to the front of the list."
  12944. msgstr ""
  12945. #. type: Plain text
  12946. #: guix-git/doc/guix.texi:7751
  12947. 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:"
  12948. msgstr ""
  12949. #. type: lisp
  12950. #: guix-git/doc/guix.texi:7761
  12951. #, no-wrap
  12952. msgid ""
  12953. "(define (make-lua-socket name lua)\n"
  12954. " ;; Return a luasocket package built with LUA.\n"
  12955. " (package\n"
  12956. " (name name)\n"
  12957. " (version \"3.0\")\n"
  12958. " ;; several fields omitted\n"
  12959. " (inputs (list lua))\n"
  12960. " (synopsis \"Socket library for Lua\")))\n"
  12961. "\n"
  12962. msgstr ""
  12963. #. type: lisp
  12964. #: guix-git/doc/guix.texi:7764
  12965. #, no-wrap
  12966. msgid ""
  12967. "(define-public lua5.1-socket\n"
  12968. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  12969. "\n"
  12970. msgstr ""
  12971. #. type: lisp
  12972. #: guix-git/doc/guix.texi:7767
  12973. #, no-wrap
  12974. msgid ""
  12975. "(define-public lua5.2-socket\n"
  12976. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  12977. msgstr ""
  12978. #. type: Plain text
  12979. #: guix-git/doc/guix.texi:7775
  12980. 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})."
  12981. msgstr ""
  12982. #. type: cindex
  12983. #: guix-git/doc/guix.texi:7776
  12984. #, no-wrap
  12985. msgid "package transformations"
  12986. msgstr ""
  12987. #. type: Plain text
  12988. #: guix-git/doc/guix.texi:7781
  12989. 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}):"
  12990. msgstr ""
  12991. #. type: deffn
  12992. #: guix-git/doc/guix.texi:7782
  12993. #, no-wrap
  12994. msgid "{Scheme Procedure} options->transformation @var{opts}"
  12995. msgstr ""
  12996. #. type: deffn
  12997. #: guix-git/doc/guix.texi:7786
  12998. 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:"
  12999. msgstr ""
  13000. #. type: lisp
  13001. #: guix-git/doc/guix.texi:7790
  13002. #, no-wrap
  13003. msgid ""
  13004. "((with-branch . \"guile-gcrypt=master\")\n"
  13005. " (without-tests . \"libgcrypt\"))\n"
  13006. msgstr ""
  13007. #. type: deffn
  13008. #: guix-git/doc/guix.texi:7794
  13009. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  13010. msgstr ""
  13011. #. type: Plain text
  13012. #: guix-git/doc/guix.texi:7797
  13013. msgid "For instance, a manifest equivalent to this command:"
  13014. msgstr ""
  13015. #. type: example
  13016. #: guix-git/doc/guix.texi:7802
  13017. #, no-wrap
  13018. msgid ""
  13019. "guix build guix \\\n"
  13020. " --with-branch=guile-gcrypt=master \\\n"
  13021. " --with-debug-info=zlib\n"
  13022. msgstr ""
  13023. #. type: Plain text
  13024. #: guix-git/doc/guix.texi:7806
  13025. msgid "... would look like this:"
  13026. msgstr ""
  13027. #. type: lisp
  13028. #: guix-git/doc/guix.texi:7809
  13029. #, no-wrap
  13030. msgid ""
  13031. "(use-modules (guix transformations))\n"
  13032. "\n"
  13033. msgstr ""
  13034. #. type: lisp
  13035. #: guix-git/doc/guix.texi:7815
  13036. #, no-wrap
  13037. msgid ""
  13038. "(define transform\n"
  13039. " ;; The package transformation procedure.\n"
  13040. " (options->transformation\n"
  13041. " '((with-branch . \"guile-gcrypt=master\")\n"
  13042. " (with-debug-info . \"zlib\"))))\n"
  13043. "\n"
  13044. msgstr ""
  13045. #. type: lisp
  13046. #: guix-git/doc/guix.texi:7818
  13047. #, no-wrap
  13048. msgid ""
  13049. "(packages->manifest\n"
  13050. " (list (transform (specification->package \"guix\"))))\n"
  13051. msgstr ""
  13052. #. type: cindex
  13053. #: guix-git/doc/guix.texi:7820
  13054. #, no-wrap
  13055. msgid "input rewriting"
  13056. msgstr ""
  13057. #. type: cindex
  13058. #: guix-git/doc/guix.texi:7821
  13059. #, no-wrap
  13060. msgid "dependency graph rewriting"
  13061. msgstr ""
  13062. #. type: Plain text
  13063. #: guix-git/doc/guix.texi:7828
  13064. 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."
  13065. msgstr ""
  13066. #. type: Plain text
  13067. #: guix-git/doc/guix.texi:7832
  13068. 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."
  13069. msgstr ""
  13070. #. type: deffn
  13071. #: guix-git/doc/guix.texi:7833
  13072. #, no-wrap
  13073. msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @"
  13074. msgstr ""
  13075. #. type: deffn
  13076. #: guix-git/doc/guix.texi:7840
  13077. msgid "[@var{rewrite-name}] [#:deep? #t] 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."
  13078. msgstr ""
  13079. #. type: deffn
  13080. #: guix-git/doc/guix.texi:7843
  13081. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  13082. msgstr ""
  13083. #. type: table
  13084. #: guix-git/doc/guix.texi:7847 guix-git/doc/guix.texi:11634
  13085. msgid "Consider this example:"
  13086. msgstr ""
  13087. #. type: lisp
  13088. #: guix-git/doc/guix.texi:7853
  13089. #, no-wrap
  13090. msgid ""
  13091. "(define libressl-instead-of-openssl\n"
  13092. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  13093. " ;; recursively.\n"
  13094. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  13095. "\n"
  13096. msgstr ""
  13097. #. type: lisp
  13098. #: guix-git/doc/guix.texi:7856
  13099. #, no-wrap
  13100. msgid ""
  13101. "(define git-with-libressl\n"
  13102. " (libressl-instead-of-openssl git))\n"
  13103. msgstr ""
  13104. #. type: Plain text
  13105. #: guix-git/doc/guix.texi:7864
  13106. 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}})."
  13107. msgstr ""
  13108. #. type: Plain text
  13109. #: guix-git/doc/guix.texi:7867
  13110. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  13111. msgstr ""
  13112. #. type: deffn
  13113. #: guix-git/doc/guix.texi:7868
  13114. #, no-wrap
  13115. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  13116. msgstr ""
  13117. #. type: deffn
  13118. #: guix-git/doc/guix.texi:7875
  13119. 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. @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."
  13120. msgstr ""
  13121. #. type: Plain text
  13122. #: guix-git/doc/guix.texi:7878
  13123. msgid "The example above could be rewritten this way:"
  13124. msgstr ""
  13125. #. type: lisp
  13126. #: guix-git/doc/guix.texi:7883
  13127. #, no-wrap
  13128. msgid ""
  13129. "(define libressl-instead-of-openssl\n"
  13130. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  13131. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  13132. msgstr ""
  13133. #. type: Plain text
  13134. #: guix-git/doc/guix.texi:7888
  13135. 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."
  13136. msgstr ""
  13137. #. type: Plain text
  13138. #: guix-git/doc/guix.texi:7892
  13139. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  13140. msgstr ""
  13141. #. type: deffn
  13142. #: guix-git/doc/guix.texi:7893
  13143. #, no-wrap
  13144. msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}] [#:deep? #f]"
  13145. msgstr ""
  13146. #. type: deffn
  13147. #: guix-git/doc/guix.texi:7898
  13148. 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."
  13149. msgstr ""
  13150. #. type: cindex
  13151. #: guix-git/doc/guix.texi:7904
  13152. #, no-wrap
  13153. msgid "build system"
  13154. msgstr ""
  13155. #. type: Plain text
  13156. #: guix-git/doc/guix.texi:7909
  13157. 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."
  13158. msgstr ""
  13159. #. type: Plain text
  13160. #: guix-git/doc/guix.texi:7913
  13161. 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."
  13162. msgstr ""
  13163. #. type: cindex
  13164. #: guix-git/doc/guix.texi:7914
  13165. #, no-wrap
  13166. msgid "bag (low-level package representation)"
  13167. msgstr ""
  13168. #. type: Plain text
  13169. #: guix-git/doc/guix.texi:7924
  13170. 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}})."
  13171. msgstr ""
  13172. #. type: Plain text
  13173. #: guix-git/doc/guix.texi:7932
  13174. 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})."
  13175. msgstr ""
  13176. #. type: Plain text
  13177. #: guix-git/doc/guix.texi:7936
  13178. 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."
  13179. msgstr ""
  13180. #. type: defvr
  13181. #: guix-git/doc/guix.texi:7937
  13182. #, no-wrap
  13183. msgid "{Scheme Variable} gnu-build-system"
  13184. msgstr ""
  13185. #. type: defvr
  13186. #: guix-git/doc/guix.texi:7941
  13187. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  13188. msgstr ""
  13189. #. type: cindex
  13190. #: guix-git/doc/guix.texi:7942 guix-git/doc/guix.texi:8891
  13191. #: guix-git/doc/guix.texi:9451
  13192. #, no-wrap
  13193. msgid "build phases"
  13194. msgstr ""
  13195. #. type: defvr
  13196. #: guix-git/doc/guix.texi:7949
  13197. 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."
  13198. msgstr ""
  13199. #. type: defvr
  13200. #: guix-git/doc/guix.texi:7956
  13201. 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."
  13202. msgstr ""
  13203. #. type: defvr
  13204. #: guix-git/doc/guix.texi:7960
  13205. 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:"
  13206. msgstr ""
  13207. #. type: item
  13208. #: guix-git/doc/guix.texi:7962
  13209. #, no-wrap
  13210. msgid "#:phases"
  13211. msgstr ""
  13212. #. type: table
  13213. #: guix-git/doc/guix.texi:7965
  13214. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  13215. msgstr ""
  13216. #. type: item
  13217. #: guix-git/doc/guix.texi:7966
  13218. #, no-wrap
  13219. msgid "#:configure-flags"
  13220. msgstr ""
  13221. #. type: table
  13222. #: guix-git/doc/guix.texi:7969
  13223. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  13224. msgstr ""
  13225. #. type: item
  13226. #: guix-git/doc/guix.texi:7970
  13227. #, no-wrap
  13228. msgid "#:make-flags"
  13229. msgstr ""
  13230. #. type: table
  13231. #: guix-git/doc/guix.texi:7974
  13232. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  13233. msgstr ""
  13234. #. type: item
  13235. #: guix-git/doc/guix.texi:7975
  13236. #, no-wrap
  13237. msgid "#:out-of-source?"
  13238. msgstr ""
  13239. #. type: table
  13240. #: guix-git/doc/guix.texi:7978
  13241. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  13242. msgstr ""
  13243. #. type: table
  13244. #: guix-git/doc/guix.texi:7983
  13245. 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}."
  13246. msgstr ""
  13247. #. type: item
  13248. #: guix-git/doc/guix.texi:7984
  13249. #, no-wrap
  13250. msgid "#:tests?"
  13251. msgstr ""
  13252. #. type: table
  13253. #: guix-git/doc/guix.texi:7987
  13254. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  13255. msgstr ""
  13256. #. type: item
  13257. #: guix-git/doc/guix.texi:7988
  13258. #, no-wrap
  13259. msgid "#:test-target"
  13260. msgstr ""
  13261. #. type: table
  13262. #: guix-git/doc/guix.texi:7991
  13263. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  13264. msgstr ""
  13265. #. type: item
  13266. #: guix-git/doc/guix.texi:7992
  13267. #, no-wrap
  13268. msgid "#:parallel-build?"
  13269. msgstr ""
  13270. #. type: itemx
  13271. #: guix-git/doc/guix.texi:7993
  13272. #, no-wrap
  13273. msgid "#:parallel-tests?"
  13274. msgstr ""
  13275. #. type: table
  13276. #: guix-git/doc/guix.texi:8000
  13277. 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}})."
  13278. msgstr ""
  13279. #. type: cindex
  13280. #: guix-git/doc/guix.texi:8001
  13281. #, no-wrap
  13282. msgid "RUNPATH, validation"
  13283. msgstr ""
  13284. #. type: item
  13285. #: guix-git/doc/guix.texi:8002
  13286. #, no-wrap
  13287. msgid "#:validate-runpath?"
  13288. msgstr ""
  13289. #. type: table
  13290. #: guix-git/doc/guix.texi:8006
  13291. 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."
  13292. msgstr ""
  13293. #. type: table
  13294. #: guix-git/doc/guix.texi:8014
  13295. 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}."
  13296. msgstr ""
  13297. #. type: item
  13298. #: guix-git/doc/guix.texi:8015
  13299. #, no-wrap
  13300. msgid "#:substitutable?"
  13301. msgstr "#:substituível?"
  13302. #. type: table
  13303. #: guix-git/doc/guix.texi:8019
  13304. 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})."
  13305. msgstr ""
  13306. #. type: item
  13307. #: guix-git/doc/guix.texi:8020
  13308. #, no-wrap
  13309. msgid "#:allowed-references"
  13310. msgstr ""
  13311. #. type: itemx
  13312. #: guix-git/doc/guix.texi:8021
  13313. #, no-wrap
  13314. msgid "#:disallowed-references"
  13315. msgstr ""
  13316. #. type: table
  13317. #: guix-git/doc/guix.texi:8026
  13318. 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."
  13319. msgstr ""
  13320. #. type: table
  13321. #: guix-git/doc/guix.texi:8031
  13322. 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})."
  13323. msgstr ""
  13324. #. type: defvr
  13325. #: guix-git/doc/guix.texi:8034
  13326. msgid "Most other build systems support these keyword arguments."
  13327. msgstr ""
  13328. #. type: Plain text
  13329. #: guix-git/doc/guix.texi:8041
  13330. 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."
  13331. msgstr ""
  13332. #. type: defvr
  13333. #: guix-git/doc/guix.texi:8042
  13334. #, no-wrap
  13335. msgid "{Scheme Variable} ant-build-system"
  13336. msgstr ""
  13337. #. type: defvr
  13338. #: guix-git/doc/guix.texi:8046
  13339. 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}."
  13340. msgstr ""
  13341. #. type: defvr
  13342. #: guix-git/doc/guix.texi:8051
  13343. 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."
  13344. msgstr ""
  13345. #. type: defvr
  13346. #: guix-git/doc/guix.texi:8057
  13347. 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''."
  13348. msgstr ""
  13349. #. type: defvr
  13350. #: guix-git/doc/guix.texi:8065
  13351. 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."
  13352. msgstr ""
  13353. #. type: defvr
  13354. #: guix-git/doc/guix.texi:8069
  13355. 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."
  13356. msgstr ""
  13357. #. type: defvr
  13358. #: guix-git/doc/guix.texi:8072
  13359. #, no-wrap
  13360. msgid "{Scheme Variable} android-ndk-build-system"
  13361. msgstr ""
  13362. #. type: cindex
  13363. #: guix-git/doc/guix.texi:8073
  13364. #, no-wrap
  13365. msgid "Android distribution"
  13366. msgstr ""
  13367. #. type: cindex
  13368. #: guix-git/doc/guix.texi:8074
  13369. #, no-wrap
  13370. msgid "Android NDK build system"
  13371. msgstr ""
  13372. #. type: defvr
  13373. #: guix-git/doc/guix.texi:8078
  13374. 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."
  13375. msgstr ""
  13376. #. type: defvr
  13377. #: guix-git/doc/guix.texi:8082
  13378. 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."
  13379. msgstr ""
  13380. #. type: defvr
  13381. #: guix-git/doc/guix.texi:8085
  13382. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  13383. msgstr ""
  13384. #. type: defvr
  13385. #: guix-git/doc/guix.texi:8088
  13386. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  13387. msgstr ""
  13388. #. type: defvr
  13389. #: guix-git/doc/guix.texi:8091
  13390. #, no-wrap
  13391. msgid "{Scheme Variable} asdf-build-system/source"
  13392. msgstr ""
  13393. #. type: defvrx
  13394. #: guix-git/doc/guix.texi:8092
  13395. #, no-wrap
  13396. msgid "{Scheme Variable} asdf-build-system/sbcl"
  13397. msgstr ""
  13398. #. type: defvrx
  13399. #: guix-git/doc/guix.texi:8093
  13400. #, no-wrap
  13401. msgid "{Scheme Variable} asdf-build-system/ecl"
  13402. msgstr ""
  13403. #. type: defvr
  13404. #: guix-git/doc/guix.texi:8099
  13405. 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."
  13406. msgstr ""
  13407. #. type: defvr
  13408. #: guix-git/doc/guix.texi:8106
  13409. 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."
  13410. msgstr ""
  13411. #. type: defvr
  13412. #: guix-git/doc/guix.texi:8110
  13413. 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}."
  13414. msgstr ""
  13415. #. type: defvr
  13416. #: guix-git/doc/guix.texi:8114
  13417. 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."
  13418. msgstr ""
  13419. #. type: defvr
  13420. #: guix-git/doc/guix.texi:8122
  13421. 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."
  13422. msgstr ""
  13423. #. type: defvr
  13424. #: guix-git/doc/guix.texi:8131
  13425. 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."
  13426. msgstr ""
  13427. #. type: defvr
  13428. #: guix-git/doc/guix.texi:8136
  13429. 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."
  13430. msgstr ""
  13431. #. type: defvr
  13432. #: guix-git/doc/guix.texi:8139
  13433. #, no-wrap
  13434. msgid "{Scheme Variable} cargo-build-system"
  13435. msgstr ""
  13436. #. type: cindex
  13437. #: guix-git/doc/guix.texi:8140
  13438. #, no-wrap
  13439. msgid "Rust programming language"
  13440. msgstr ""
  13441. #. type: cindex
  13442. #: guix-git/doc/guix.texi:8141
  13443. #, no-wrap
  13444. msgid "Cargo (Rust build system)"
  13445. msgstr ""
  13446. #. type: defvr
  13447. #: guix-git/doc/guix.texi:8145
  13448. 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}."
  13449. msgstr ""
  13450. #. type: defvr
  13451. #: guix-git/doc/guix.texi:8148
  13452. 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."
  13453. msgstr ""
  13454. #. type: defvr
  13455. #: guix-git/doc/guix.texi:8158
  13456. 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."
  13457. msgstr ""
  13458. #. type: defvr
  13459. #: guix-git/doc/guix.texi:8168
  13460. 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."
  13461. msgstr ""
  13462. #. type: defvr
  13463. #: guix-git/doc/guix.texi:8170
  13464. #, no-wrap
  13465. msgid "{Scheme Variable} chicken-build-system"
  13466. msgstr ""
  13467. #. type: defvr
  13468. #: guix-git/doc/guix.texi:8175
  13469. 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."
  13470. msgstr ""
  13471. #. type: defvr
  13472. #: guix-git/doc/guix.texi:8178
  13473. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  13474. msgstr ""
  13475. #. type: defvr
  13476. #: guix-git/doc/guix.texi:8182
  13477. 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."
  13478. msgstr ""
  13479. #. type: defvr
  13480. #: guix-git/doc/guix.texi:8184
  13481. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  13482. msgstr ""
  13483. #. type: lisp
  13484. #: guix-git/doc/guix.texi:8187
  13485. #, no-wrap
  13486. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  13487. msgstr ""
  13488. #. type: defvr
  13489. #: guix-git/doc/guix.texi:8192
  13490. 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."
  13491. msgstr ""
  13492. #. type: defvr
  13493. #: guix-git/doc/guix.texi:8194
  13494. #, no-wrap
  13495. msgid "{Scheme Variable} copy-build-system"
  13496. msgstr ""
  13497. #. type: defvr
  13498. #: guix-git/doc/guix.texi:8198
  13499. 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."
  13500. msgstr ""
  13501. #. type: defvr
  13502. #: guix-git/doc/guix.texi:8203
  13503. 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}."
  13504. msgstr ""
  13505. #. type: defvr
  13506. #: guix-git/doc/guix.texi:8208
  13507. 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."
  13508. msgstr ""
  13509. #. type: item
  13510. #: guix-git/doc/guix.texi:8210
  13511. #, no-wrap
  13512. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  13513. msgstr ""
  13514. #. type: item
  13515. #: guix-git/doc/guix.texi:8212
  13516. #, no-wrap
  13517. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  13518. msgstr ""
  13519. #. type: item
  13520. #: guix-git/doc/guix.texi:8213
  13521. #, no-wrap
  13522. msgid "Otherwise install @var{source} as @var{target}."
  13523. msgstr ""
  13524. #. type: item
  13525. #: guix-git/doc/guix.texi:8216
  13526. #, no-wrap
  13527. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  13528. msgstr ""
  13529. #. type: itemize
  13530. #: guix-git/doc/guix.texi:8219
  13531. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  13532. msgstr ""
  13533. #. type: item
  13534. #: guix-git/doc/guix.texi:8220
  13535. #, no-wrap
  13536. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  13537. msgstr ""
  13538. #. type: item
  13539. #: guix-git/doc/guix.texi:8221
  13540. #, no-wrap
  13541. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  13542. msgstr ""
  13543. #. type: itemize
  13544. #: guix-git/doc/guix.texi:8224
  13545. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  13546. msgstr ""
  13547. #. type: item
  13548. #: guix-git/doc/guix.texi:8225
  13549. #, no-wrap
  13550. msgid "With @code{#:include}, install all the files which the path suffix matches"
  13551. msgstr ""
  13552. #. type: itemize
  13553. #: guix-git/doc/guix.texi:8227
  13554. msgid "at least one of the elements in the given list."
  13555. msgstr ""
  13556. #. type: item
  13557. #: guix-git/doc/guix.texi:8227
  13558. #, no-wrap
  13559. msgid "With @code{#:include-regexp}, install all the files which the"
  13560. msgstr ""
  13561. #. type: itemize
  13562. #: guix-git/doc/guix.texi:8230
  13563. msgid "subpaths match at least one of the regular expressions in the given list."
  13564. msgstr ""
  13565. #. type: item
  13566. #: guix-git/doc/guix.texi:8230
  13567. #, no-wrap
  13568. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  13569. msgstr ""
  13570. #. type: itemize
  13571. #: guix-git/doc/guix.texi:8235
  13572. 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."
  13573. msgstr ""
  13574. #. type: itemize
  13575. #: guix-git/doc/guix.texi:8239
  13576. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  13577. msgstr ""
  13578. #. type: defvr
  13579. #: guix-git/doc/guix.texi:8242
  13580. msgid "Examples:"
  13581. msgstr ""
  13582. #. type: item
  13583. #: guix-git/doc/guix.texi:8244
  13584. #, no-wrap
  13585. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  13586. msgstr ""
  13587. #. type: item
  13588. #: guix-git/doc/guix.texi:8245
  13589. #, no-wrap
  13590. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  13591. msgstr ""
  13592. #. type: item
  13593. #: guix-git/doc/guix.texi:8246
  13594. #, no-wrap
  13595. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  13596. msgstr ""
  13597. #. type: itemize
  13598. #: guix-git/doc/guix.texi:8248
  13599. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  13600. msgstr ""
  13601. #. type: item
  13602. #: guix-git/doc/guix.texi:8248
  13603. #, no-wrap
  13604. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  13605. msgstr ""
  13606. #. type: itemize
  13607. #: guix-git/doc/guix.texi:8250
  13608. msgid "@file{share/my-app/sub/file}."
  13609. msgstr ""
  13610. #. type: item
  13611. #: guix-git/doc/guix.texi:8250
  13612. #, no-wrap
  13613. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  13614. msgstr ""
  13615. #. type: itemize
  13616. #: guix-git/doc/guix.texi:8252
  13617. msgid "@file{share/my-app/file}."
  13618. msgstr ""
  13619. #. type: cindex
  13620. #: guix-git/doc/guix.texi:8256
  13621. #, no-wrap
  13622. msgid "Clojure (programming language)"
  13623. msgstr ""
  13624. #. type: cindex
  13625. #: guix-git/doc/guix.texi:8257
  13626. #, no-wrap
  13627. msgid "simple Clojure build system"
  13628. msgstr ""
  13629. #. type: defvr
  13630. #: guix-git/doc/guix.texi:8258
  13631. #, no-wrap
  13632. msgid "{Scheme Variable} clojure-build-system"
  13633. msgstr ""
  13634. #. type: defvr
  13635. #: guix-git/doc/guix.texi:8263
  13636. 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."
  13637. msgstr ""
  13638. #. type: defvr
  13639. #: guix-git/doc/guix.texi:8267
  13640. 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."
  13641. msgstr ""
  13642. #. type: defvr
  13643. #: guix-git/doc/guix.texi:8273
  13644. 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."
  13645. msgstr ""
  13646. #. type: defvr
  13647. #: guix-git/doc/guix.texi:8276
  13648. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  13649. msgstr ""
  13650. #. type: item
  13651. #: guix-git/doc/guix.texi:8279 guix-git/doc/guix.texi:8852
  13652. #: guix-git/doc/guix.texi:8901 guix-git/doc/guix.texi:8974
  13653. #: guix-git/doc/guix.texi:35595 guix-git/doc/guix.texi:38341
  13654. #, no-wrap
  13655. msgid "build"
  13656. msgstr "build"
  13657. #. type: table
  13658. #: guix-git/doc/guix.texi:8288
  13659. 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."
  13660. msgstr ""
  13661. #. type: item
  13662. #: guix-git/doc/guix.texi:8289 guix-git/doc/guix.texi:8856
  13663. #: guix-git/doc/guix.texi:8979
  13664. #, no-wrap
  13665. msgid "check"
  13666. msgstr "marcar"
  13667. #. type: table
  13668. #: guix-git/doc/guix.texi:8296
  13669. 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."
  13670. msgstr ""
  13671. #. type: item
  13672. #: guix-git/doc/guix.texi:8297 guix-git/doc/guix.texi:8862
  13673. #: guix-git/doc/guix.texi:8905 guix-git/doc/guix.texi:8985
  13674. #, no-wrap
  13675. msgid "install"
  13676. msgstr "instalar"
  13677. #. type: table
  13678. #: guix-git/doc/guix.texi:8299
  13679. msgid "This phase installs all jars built previously."
  13680. msgstr ""
  13681. #. type: defvr
  13682. #: guix-git/doc/guix.texi:8302
  13683. msgid "Apart from the above, this build system also contains an additional phase:"
  13684. msgstr ""
  13685. #. type: item
  13686. #: guix-git/doc/guix.texi:8305
  13687. #, no-wrap
  13688. msgid "install-doc"
  13689. msgstr ""
  13690. #. type: table
  13691. #: guix-git/doc/guix.texi:8310
  13692. 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."
  13693. msgstr ""
  13694. #. type: defvr
  13695. #: guix-git/doc/guix.texi:8313
  13696. #, no-wrap
  13697. msgid "{Scheme Variable} cmake-build-system"
  13698. msgstr ""
  13699. #. type: defvr
  13700. #: guix-git/doc/guix.texi:8317
  13701. 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}."
  13702. msgstr ""
  13703. #. type: defvr
  13704. #: guix-git/doc/guix.texi:8321
  13705. 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."
  13706. msgstr ""
  13707. #. type: defvr
  13708. #: guix-git/doc/guix.texi:8328
  13709. 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."
  13710. msgstr ""
  13711. #. type: defvr
  13712. #: guix-git/doc/guix.texi:8330
  13713. #, no-wrap
  13714. msgid "{Scheme Variable} dune-build-system"
  13715. msgstr ""
  13716. #. type: defvr
  13717. #: guix-git/doc/guix.texi:8337
  13718. 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."
  13719. msgstr ""
  13720. #. type: defvr
  13721. #: guix-git/doc/guix.texi:8341
  13722. 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."
  13723. msgstr ""
  13724. #. type: defvr
  13725. #: guix-git/doc/guix.texi:8345
  13726. 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."
  13727. msgstr ""
  13728. #. type: defvr
  13729. #: guix-git/doc/guix.texi:8349
  13730. 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}."
  13731. msgstr ""
  13732. #. type: defvr
  13733. #: guix-git/doc/guix.texi:8354
  13734. 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}."
  13735. msgstr ""
  13736. #. type: defvr
  13737. #: guix-git/doc/guix.texi:8357
  13738. #, no-wrap
  13739. msgid "{Scheme Variable} go-build-system"
  13740. msgstr ""
  13741. #. type: defvr
  13742. #: guix-git/doc/guix.texi:8362
  13743. 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}."
  13744. msgstr ""
  13745. #. type: defvr
  13746. #: guix-git/doc/guix.texi:8373
  13747. 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."
  13748. msgstr ""
  13749. #. type: defvr
  13750. #: guix-git/doc/guix.texi:8378
  13751. 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."
  13752. msgstr ""
  13753. #. type: defvr
  13754. #: guix-git/doc/guix.texi:8385
  13755. 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}."
  13756. msgstr ""
  13757. #. type: defvr
  13758. #: guix-git/doc/guix.texi:8387
  13759. #, no-wrap
  13760. msgid "{Scheme Variable} glib-or-gtk-build-system"
  13761. msgstr ""
  13762. #. type: defvr
  13763. #: guix-git/doc/guix.texi:8390
  13764. 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+."
  13765. msgstr ""
  13766. #. type: defvr
  13767. #: guix-git/doc/guix.texi:8393
  13768. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  13769. msgstr ""
  13770. #. type: item
  13771. #: guix-git/doc/guix.texi:8395 guix-git/doc/guix.texi:8878
  13772. #, no-wrap
  13773. msgid "glib-or-gtk-wrap"
  13774. msgstr ""
  13775. #. type: table
  13776. #: guix-git/doc/guix.texi:8402
  13777. 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."
  13778. msgstr ""
  13779. #. type: table
  13780. #: guix-git/doc/guix.texi:8409
  13781. 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+."
  13782. msgstr ""
  13783. #. type: item
  13784. #: guix-git/doc/guix.texi:8410 guix-git/doc/guix.texi:8882
  13785. #, no-wrap
  13786. msgid "glib-or-gtk-compile-schemas"
  13787. msgstr ""
  13788. #. type: table
  13789. #: guix-git/doc/guix.texi:8418
  13790. 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."
  13791. msgstr ""
  13792. #. type: defvr
  13793. #: guix-git/doc/guix.texi:8421
  13794. msgid "Both phases are executed after the @code{install} phase."
  13795. msgstr ""
  13796. #. type: defvr
  13797. #: guix-git/doc/guix.texi:8423
  13798. #, no-wrap
  13799. msgid "{Scheme Variable} guile-build-system"
  13800. msgstr ""
  13801. #. type: defvr
  13802. #: guix-git/doc/guix.texi:8430
  13803. 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."
  13804. msgstr ""
  13805. #. type: defvr
  13806. #: guix-git/doc/guix.texi:8433
  13807. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  13808. msgstr ""
  13809. #. type: defvr
  13810. #: guix-git/doc/guix.texi:8436
  13811. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  13812. msgstr ""
  13813. #. type: defvr
  13814. #: guix-git/doc/guix.texi:8438
  13815. #, no-wrap
  13816. msgid "{Scheme Variable} julia-build-system"
  13817. msgstr ""
  13818. #. type: defvr
  13819. #: guix-git/doc/guix.texi:8445
  13820. 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}."
  13821. msgstr ""
  13822. #. type: defvr
  13823. #: guix-git/doc/guix.texi:8450
  13824. 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}."
  13825. msgstr ""
  13826. #. type: defvr
  13827. #: guix-git/doc/guix.texi:8454
  13828. 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}."
  13829. msgstr ""
  13830. #. type: defvr
  13831. #: guix-git/doc/guix.texi:8459
  13832. 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."
  13833. msgstr ""
  13834. #. type: defvr
  13835. #: guix-git/doc/guix.texi:8463
  13836. 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:"
  13837. msgstr ""
  13838. #. type: lisp
  13839. #: guix-git/doc/guix.texi:8475
  13840. #, no-wrap
  13841. msgid ""
  13842. "(add-after 'unpack 'override-binary-path\n"
  13843. " (lambda* (#:key inputs #:allow-other-keys)\n"
  13844. " (for-each (lambda (wrapper)\n"
  13845. " (substitute* wrapper\n"
  13846. " ((\"generate_wrapper_header.*\")\n"
  13847. " (string-append\n"
  13848. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  13849. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  13850. " ;; There's a Julia file for each platform, override them all.\n"
  13851. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  13852. msgstr ""
  13853. #. type: defvr
  13854. #: guix-git/doc/guix.texi:8481
  13855. 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."
  13856. msgstr ""
  13857. #. type: defvr
  13858. #: guix-git/doc/guix.texi:8483
  13859. #, no-wrap
  13860. msgid "{Scheme Variable} maven-build-system"
  13861. msgstr ""
  13862. #. type: defvr
  13863. #: guix-git/doc/guix.texi:8490
  13864. 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."
  13865. msgstr ""
  13866. #. type: defvr
  13867. #: guix-git/doc/guix.texi:8500
  13868. 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."
  13869. msgstr ""
  13870. #. type: defvr
  13871. #: guix-git/doc/guix.texi:8503
  13872. 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."
  13873. msgstr ""
  13874. #. type: defvr
  13875. #: guix-git/doc/guix.texi:8509
  13876. 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}."
  13877. msgstr ""
  13878. #. type: defvr
  13879. #: guix-git/doc/guix.texi:8515
  13880. 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."
  13881. msgstr ""
  13882. #. type: defvr
  13883. #: guix-git/doc/guix.texi:8518
  13884. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  13885. msgstr ""
  13886. #. type: defvr
  13887. #: guix-git/doc/guix.texi:8523
  13888. 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."
  13889. msgstr ""
  13890. #. type: defvr
  13891. #: guix-git/doc/guix.texi:8525
  13892. #, fuzzy, no-wrap
  13893. msgid "{Scheme Variable} minetest-mod-build-system"
  13894. msgstr "guix-publish-service-type"
  13895. #. type: defvr
  13896. #: guix-git/doc/guix.texi:8531
  13897. 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."
  13898. msgstr ""
  13899. #. type: defvr
  13900. #: guix-git/doc/guix.texi:8533
  13901. #, no-wrap
  13902. msgid "{Scheme Variable} minify-build-system"
  13903. msgstr ""
  13904. #. type: defvr
  13905. #: guix-git/doc/guix.texi:8536
  13906. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  13907. msgstr ""
  13908. #. type: defvr
  13909. #: guix-git/doc/guix.texi:8542
  13910. 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."
  13911. msgstr ""
  13912. #. type: defvr
  13913. #: guix-git/doc/guix.texi:8546
  13914. 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."
  13915. msgstr ""
  13916. #. type: defvr
  13917. #: guix-git/doc/guix.texi:8548
  13918. #, no-wrap
  13919. msgid "{Scheme Variable} ocaml-build-system"
  13920. msgstr ""
  13921. #. type: defvr
  13922. #: guix-git/doc/guix.texi:8554
  13923. 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."
  13924. msgstr ""
  13925. #. type: defvr
  13926. #: guix-git/doc/guix.texi:8564
  13927. 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."
  13928. msgstr ""
  13929. #. type: defvr
  13930. #: guix-git/doc/guix.texi:8569
  13931. 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."
  13932. msgstr ""
  13933. #. type: defvr
  13934. #: guix-git/doc/guix.texi:8573
  13935. 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."
  13936. msgstr ""
  13937. #. type: defvr
  13938. #: guix-git/doc/guix.texi:8581
  13939. 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."
  13940. msgstr ""
  13941. #. type: defvr
  13942. #: guix-git/doc/guix.texi:8589
  13943. 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."
  13944. msgstr ""
  13945. #. type: defvr
  13946. #: guix-git/doc/guix.texi:8591
  13947. #, no-wrap
  13948. msgid "{Scheme Variable} python-build-system"
  13949. msgstr ""
  13950. #. type: defvr
  13951. #: guix-git/doc/guix.texi:8596
  13952. 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{}}."
  13953. msgstr ""
  13954. #. type: defvr
  13955. #: guix-git/doc/guix.texi:8601
  13956. 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."
  13957. msgstr ""
  13958. #. type: defvr
  13959. #: guix-git/doc/guix.texi:8607
  13960. 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."
  13961. msgstr ""
  13962. #. type: defvr
  13963. #: guix-git/doc/guix.texi:8612
  13964. 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}."
  13965. msgstr ""
  13966. #. type: defvr
  13967. #: guix-git/doc/guix.texi:8618
  13968. 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."
  13969. msgstr ""
  13970. #. type: defvr
  13971. #: guix-git/doc/guix.texi:8621
  13972. #, no-wrap
  13973. msgid "{Scheme Variable} perl-build-system"
  13974. msgstr ""
  13975. #. type: defvr
  13976. #: guix-git/doc/guix.texi:8633
  13977. 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."
  13978. msgstr ""
  13979. #. type: defvr
  13980. #: guix-git/doc/guix.texi:8637
  13981. 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."
  13982. msgstr ""
  13983. #. type: defvr
  13984. #: guix-git/doc/guix.texi:8639
  13985. msgid "Which Perl package is used can be specified with @code{#:perl}."
  13986. msgstr ""
  13987. #. type: defvr
  13988. #: guix-git/doc/guix.texi:8641
  13989. #, no-wrap
  13990. msgid "{Scheme Variable} renpy-build-system"
  13991. msgstr ""
  13992. #. type: defvr
  13993. #: guix-git/doc/guix.texi:8645
  13994. 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."
  13995. msgstr ""
  13996. #. type: defvr
  13997. #: guix-git/doc/guix.texi:8648
  13998. 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."
  13999. msgstr ""
  14000. #. type: defvr
  14001. #: guix-git/doc/guix.texi:8652
  14002. 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}."
  14003. msgstr ""
  14004. #. type: defvr
  14005. #: guix-git/doc/guix.texi:8654
  14006. #, no-wrap
  14007. msgid "{Scheme Variable} qt-build-system"
  14008. msgstr ""
  14009. #. type: defvr
  14010. #: guix-git/doc/guix.texi:8657
  14011. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  14012. msgstr ""
  14013. #. type: defvr
  14014. #: guix-git/doc/guix.texi:8660
  14015. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  14016. msgstr ""
  14017. #. type: item
  14018. #: guix-git/doc/guix.texi:8662
  14019. #, no-wrap
  14020. msgid "check-setup"
  14021. msgstr ""
  14022. #. type: table
  14023. #: guix-git/doc/guix.texi:8669
  14024. 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}."
  14025. msgstr ""
  14026. #. type: table
  14027. #: guix-git/doc/guix.texi:8672
  14028. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  14029. msgstr ""
  14030. #. type: item
  14031. #: guix-git/doc/guix.texi:8673
  14032. #, no-wrap
  14033. msgid "qt-wrap"
  14034. msgstr ""
  14035. #. type: table
  14036. #: guix-git/doc/guix.texi:8679
  14037. 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."
  14038. msgstr ""
  14039. #. type: table
  14040. #: guix-git/doc/guix.texi:8685
  14041. 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."
  14042. msgstr ""
  14043. #. type: table
  14044. #: guix-git/doc/guix.texi:8687
  14045. msgid "This phase is added after the @code{install} phase."
  14046. msgstr ""
  14047. #. type: defvr
  14048. #: guix-git/doc/guix.texi:8690
  14049. #, no-wrap
  14050. msgid "{Scheme Variable} r-build-system"
  14051. msgstr ""
  14052. #. type: defvr
  14053. #: guix-git/doc/guix.texi:8698
  14054. 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}."
  14055. msgstr ""
  14056. #. type: defvr
  14057. #: guix-git/doc/guix.texi:8700
  14058. #, no-wrap
  14059. msgid "{Scheme Variable} rakudo-build-system"
  14060. msgstr ""
  14061. #. type: defvr
  14062. #: guix-git/doc/guix.texi:8708
  14063. 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."
  14064. msgstr ""
  14065. #. type: defvr
  14066. #: guix-git/doc/guix.texi:8716
  14067. 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."
  14068. msgstr ""
  14069. #. type: defvr
  14070. #: guix-git/doc/guix.texi:8718
  14071. #, no-wrap
  14072. msgid "{Scheme Variable} texlive-build-system"
  14073. msgstr ""
  14074. #. type: defvr
  14075. #: guix-git/doc/guix.texi:8723
  14076. 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."
  14077. msgstr ""
  14078. #. type: defvr
  14079. #: guix-git/doc/guix.texi:8732
  14080. 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."
  14081. msgstr ""
  14082. #. type: defvr
  14083. #: guix-git/doc/guix.texi:8735
  14084. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  14085. msgstr ""
  14086. #. type: defvr
  14087. #: guix-git/doc/guix.texi:8737
  14088. #, no-wrap
  14089. msgid "{Scheme Variable} ruby-build-system"
  14090. msgstr ""
  14091. #. type: defvr
  14092. #: guix-git/doc/guix.texi:8741
  14093. 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}."
  14094. msgstr ""
  14095. #. type: defvr
  14096. #: guix-git/doc/guix.texi:8749
  14097. 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."
  14098. msgstr ""
  14099. #. type: defvr
  14100. #: guix-git/doc/guix.texi:8753
  14101. 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."
  14102. msgstr ""
  14103. #. type: defvr
  14104. #: guix-git/doc/guix.texi:8755
  14105. #, no-wrap
  14106. msgid "{Scheme Variable} waf-build-system"
  14107. msgstr ""
  14108. #. type: defvr
  14109. #: guix-git/doc/guix.texi:8761
  14110. 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."
  14111. msgstr ""
  14112. #. type: defvr
  14113. #: guix-git/doc/guix.texi:8765
  14114. 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."
  14115. msgstr ""
  14116. #. type: defvr
  14117. #: guix-git/doc/guix.texi:8767
  14118. #, no-wrap
  14119. msgid "{Scheme Variable} scons-build-system"
  14120. msgstr ""
  14121. #. type: defvr
  14122. #: guix-git/doc/guix.texi:8773
  14123. 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."
  14124. msgstr ""
  14125. #. type: defvr
  14126. #: guix-git/doc/guix.texi:8780
  14127. 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."
  14128. msgstr ""
  14129. #. type: defvr
  14130. #: guix-git/doc/guix.texi:8782
  14131. #, no-wrap
  14132. msgid "{Scheme Variable} haskell-build-system"
  14133. msgstr ""
  14134. #. type: defvr
  14135. #: guix-git/doc/guix.texi:8796
  14136. 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."
  14137. msgstr ""
  14138. #. type: defvr
  14139. #: guix-git/doc/guix.texi:8799
  14140. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  14141. msgstr ""
  14142. #. type: defvr
  14143. #: guix-git/doc/guix.texi:8801
  14144. #, no-wrap
  14145. msgid "{Scheme Variable} dub-build-system"
  14146. msgstr ""
  14147. #. type: defvr
  14148. #: guix-git/doc/guix.texi:8806
  14149. 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."
  14150. msgstr ""
  14151. #. type: defvr
  14152. #: guix-git/doc/guix.texi:8809
  14153. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  14154. msgstr ""
  14155. #. type: anchor{#1}
  14156. #: guix-git/doc/guix.texi:8812
  14157. msgid "emacs-build-system"
  14158. msgstr ""
  14159. #. type: defvr
  14160. #: guix-git/doc/guix.texi:8812
  14161. #, no-wrap
  14162. msgid "{Scheme Variable} emacs-build-system"
  14163. msgstr ""
  14164. #. type: defvr
  14165. #: guix-git/doc/guix.texi:8816
  14166. 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})."
  14167. msgstr ""
  14168. #. type: defvr
  14169. #: guix-git/doc/guix.texi:8822
  14170. 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}."
  14171. msgstr ""
  14172. #. type: defvr
  14173. #: guix-git/doc/guix.texi:8824
  14174. #, no-wrap
  14175. msgid "{Scheme Variable} font-build-system"
  14176. msgstr ""
  14177. #. type: defvr
  14178. #: guix-git/doc/guix.texi:8830
  14179. 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."
  14180. msgstr ""
  14181. #. type: defvr
  14182. #: guix-git/doc/guix.texi:8832
  14183. #, no-wrap
  14184. msgid "{Scheme Variable} meson-build-system"
  14185. msgstr ""
  14186. #. type: defvr
  14187. #: guix-git/doc/guix.texi:8836
  14188. 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."
  14189. msgstr ""
  14190. #. type: defvr
  14191. #: guix-git/doc/guix.texi:8840
  14192. 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."
  14193. msgstr ""
  14194. #. type: defvr
  14195. #: guix-git/doc/guix.texi:8843
  14196. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  14197. msgstr ""
  14198. #. type: item
  14199. #: guix-git/doc/guix.texi:8846 guix-git/doc/guix.texi:8897
  14200. #: guix-git/doc/guix.texi:8969
  14201. #, no-wrap
  14202. msgid "configure"
  14203. msgstr ""
  14204. #. type: table
  14205. #: guix-git/doc/guix.texi:8851
  14206. 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}."
  14207. msgstr ""
  14208. #. type: table
  14209. #: guix-git/doc/guix.texi:8855
  14210. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  14211. msgstr ""
  14212. #. type: table
  14213. #: guix-git/doc/guix.texi:8861
  14214. 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."
  14215. msgstr ""
  14216. #. type: table
  14217. #: guix-git/doc/guix.texi:8864
  14218. msgid "The phase runs @code{ninja install} and can not be changed."
  14219. msgstr ""
  14220. #. type: defvr
  14221. #: guix-git/doc/guix.texi:8867
  14222. msgid "Apart from that, the build system also adds the following phases:"
  14223. msgstr ""
  14224. #. type: item
  14225. #: guix-git/doc/guix.texi:8870
  14226. #, no-wrap
  14227. msgid "fix-runpath"
  14228. msgstr ""
  14229. #. type: table
  14230. #: guix-git/doc/guix.texi:8877
  14231. 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."
  14232. msgstr ""
  14233. #. type: table
  14234. #: guix-git/doc/guix.texi:8881 guix-git/doc/guix.texi:8885
  14235. 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?}."
  14236. msgstr ""
  14237. #. type: defvr
  14238. #: guix-git/doc/guix.texi:8888
  14239. #, no-wrap
  14240. msgid "{Scheme Variable} linux-module-build-system"
  14241. msgstr ""
  14242. #. type: defvr
  14243. #: guix-git/doc/guix.texi:8890
  14244. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  14245. msgstr ""
  14246. #. type: defvr
  14247. #: guix-git/doc/guix.texi:8894
  14248. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  14249. msgstr ""
  14250. #. type: table
  14251. #: guix-git/doc/guix.texi:8900
  14252. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  14253. msgstr ""
  14254. #. type: table
  14255. #: guix-git/doc/guix.texi:8904
  14256. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  14257. msgstr ""
  14258. #. type: table
  14259. #: guix-git/doc/guix.texi:8908
  14260. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  14261. msgstr ""
  14262. #. type: defvr
  14263. #: guix-git/doc/guix.texi:8913
  14264. 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)."
  14265. msgstr ""
  14266. #. type: defvr
  14267. #: guix-git/doc/guix.texi:8915
  14268. #, no-wrap
  14269. msgid "{Scheme Variable} node-build-system"
  14270. msgstr ""
  14271. #. type: defvr
  14272. #: guix-git/doc/guix.texi:8920
  14273. 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."
  14274. msgstr ""
  14275. #. type: defvr
  14276. #: guix-git/doc/guix.texi:8924
  14277. 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}."
  14278. msgstr ""
  14279. #. type: Plain text
  14280. #: guix-git/doc/guix.texi:8930
  14281. 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."
  14282. msgstr ""
  14283. #. type: defvr
  14284. #: guix-git/doc/guix.texi:8931
  14285. #, no-wrap
  14286. msgid "{Scheme Variable} trivial-build-system"
  14287. msgstr ""
  14288. #. type: defvr
  14289. #: guix-git/doc/guix.texi:8933
  14290. msgid "This variable is exported by @code{(guix build-system trivial)}."
  14291. msgstr ""
  14292. #. type: defvr
  14293. #: guix-git/doc/guix.texi:8938
  14294. 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}})."
  14295. msgstr ""
  14296. #. type: cindex
  14297. #: guix-git/doc/guix.texi:8943
  14298. #, no-wrap
  14299. msgid "build phases, for packages"
  14300. msgstr ""
  14301. #. type: Plain text
  14302. #: guix-git/doc/guix.texi:8949
  14303. 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})."
  14304. msgstr ""
  14305. #. type: Plain text
  14306. #: guix-git/doc/guix.texi:8953
  14307. 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:"
  14308. msgstr ""
  14309. #. type: item
  14310. #: guix-git/doc/guix.texi:8955
  14311. #, fuzzy, no-wrap
  14312. #| msgid "--search-paths"
  14313. msgid "set-paths"
  14314. msgstr "--search-paths"
  14315. #. type: table
  14316. #: guix-git/doc/guix.texi:8958
  14317. msgid "Define search path environment variables for all the input packages, including @env{PATH} (@pxref{Search Paths})."
  14318. msgstr ""
  14319. #. type: item
  14320. #: guix-git/doc/guix.texi:8959
  14321. #, no-wrap
  14322. msgid "unpack"
  14323. msgstr ""
  14324. #. type: table
  14325. #: guix-git/doc/guix.texi:8963
  14326. 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."
  14327. msgstr ""
  14328. #. type: item
  14329. #: guix-git/doc/guix.texi:8964
  14330. #, no-wrap
  14331. msgid "patch-source-shebangs"
  14332. msgstr ""
  14333. #. type: table
  14334. #: guix-git/doc/guix.texi:8968
  14335. 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}."
  14336. msgstr ""
  14337. #. type: table
  14338. #: guix-git/doc/guix.texi:8973
  14339. 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."
  14340. msgstr ""
  14341. #. type: table
  14342. #: guix-git/doc/guix.texi:8978
  14343. 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}."
  14344. msgstr ""
  14345. #. type: table
  14346. #: guix-git/doc/guix.texi:8984
  14347. 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}."
  14348. msgstr ""
  14349. #. type: table
  14350. #: guix-git/doc/guix.texi:8987
  14351. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  14352. msgstr ""
  14353. #. type: item
  14354. #: guix-git/doc/guix.texi:8988
  14355. #, no-wrap
  14356. msgid "patch-shebangs"
  14357. msgstr ""
  14358. #. type: table
  14359. #: guix-git/doc/guix.texi:8990
  14360. msgid "Patch shebangs on the installed executable files."
  14361. msgstr ""
  14362. #. type: item
  14363. #: guix-git/doc/guix.texi:8991
  14364. #, no-wrap
  14365. msgid "strip"
  14366. msgstr ""
  14367. #. type: table
  14368. #: guix-git/doc/guix.texi:8995
  14369. 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})."
  14370. msgstr ""
  14371. #. type: Plain text
  14372. #: guix-git/doc/guix.texi:9004
  14373. 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})."
  14374. msgstr ""
  14375. #. type: Plain text
  14376. #: guix-git/doc/guix.texi:9011
  14377. 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."
  14378. msgstr ""
  14379. #. type: vindex
  14380. #: guix-git/doc/guix.texi:9012
  14381. #, no-wrap
  14382. msgid "%standard-phases"
  14383. msgstr ""
  14384. #. type: Plain text
  14385. #: guix-git/doc/guix.texi:9018
  14386. 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!}:"
  14387. msgstr ""
  14388. #. type: lisp
  14389. #: guix-git/doc/guix.texi:9021
  14390. #, no-wrap
  14391. msgid ""
  14392. ";; The build phases of 'gnu-build-system'.\n"
  14393. "\n"
  14394. msgstr ""
  14395. #. type: lisp
  14396. #: guix-git/doc/guix.texi:9025
  14397. #, no-wrap
  14398. msgid ""
  14399. "(define* (unpack #:key source #:allow-other-keys)\n"
  14400. " ;; Extract the source tarball.\n"
  14401. " (invoke \"tar\" \"xvf\" source))\n"
  14402. "\n"
  14403. msgstr ""
  14404. #. type: lisp
  14405. #: guix-git/doc/guix.texi:9031
  14406. #, no-wrap
  14407. msgid ""
  14408. "(define* (configure #:key outputs #:allow-other-keys)\n"
  14409. " ;; Run the 'configure' script. Install to output \"out\".\n"
  14410. " (let ((out (assoc-ref outputs \"out\")))\n"
  14411. " (invoke \"./configure\"\n"
  14412. " (string-append \"--prefix=\" out))))\n"
  14413. "\n"
  14414. msgstr ""
  14415. #. type: lisp
  14416. #: guix-git/doc/guix.texi:9035
  14417. #, no-wrap
  14418. msgid ""
  14419. "(define* (build #:allow-other-keys)\n"
  14420. " ;; Compile.\n"
  14421. " (invoke \"make\"))\n"
  14422. "\n"
  14423. msgstr ""
  14424. #. type: lisp
  14425. #: guix-git/doc/guix.texi:9042
  14426. #, no-wrap
  14427. msgid ""
  14428. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  14429. " #:allow-other-keys)\n"
  14430. " ;; Run the test suite.\n"
  14431. " (if tests?\n"
  14432. " (invoke \"make\" test-target)\n"
  14433. " (display \"test suite not run\\n\")))\n"
  14434. "\n"
  14435. msgstr ""
  14436. #. type: lisp
  14437. #: guix-git/doc/guix.texi:9046
  14438. #, no-wrap
  14439. msgid ""
  14440. "(define* (install #:allow-other-keys)\n"
  14441. " ;; Install files to the prefix 'configure' specified.\n"
  14442. " (invoke \"make\" \"install\"))\n"
  14443. "\n"
  14444. msgstr ""
  14445. #. type: lisp
  14446. #: guix-git/doc/guix.texi:9055
  14447. #, no-wrap
  14448. msgid ""
  14449. "(define %standard-phases\n"
  14450. " ;; The list of standard phases (quite a few are omitted\n"
  14451. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  14452. " (list (cons 'unpack unpack)\n"
  14453. " (cons 'configure configure)\n"
  14454. " (cons 'build build)\n"
  14455. " (cons 'check check)\n"
  14456. " (cons 'install install)))\n"
  14457. msgstr ""
  14458. #. type: Plain text
  14459. #: guix-git/doc/guix.texi:9065
  14460. 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."
  14461. msgstr ""
  14462. #. type: Plain text
  14463. #: guix-git/doc/guix.texi:9071
  14464. 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})."
  14465. msgstr ""
  14466. #. type: Plain text
  14467. #: guix-git/doc/guix.texi:9087
  14468. 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."
  14469. msgstr ""
  14470. #. type: cindex
  14471. #: guix-git/doc/guix.texi:9088
  14472. #, no-wrap
  14473. msgid "build phases, customizing"
  14474. msgstr ""
  14475. #. type: Plain text
  14476. #: guix-git/doc/guix.texi:9097
  14477. 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}})."
  14478. msgstr ""
  14479. #. type: Plain text
  14480. #: guix-git/doc/guix.texi:9102
  14481. 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}:"
  14482. msgstr ""
  14483. #. type: lisp
  14484. #: guix-git/doc/guix.texi:9122
  14485. #, no-wrap
  14486. msgid ""
  14487. "(define-public example\n"
  14488. " (package\n"
  14489. " (name \"example\")\n"
  14490. " ;; other fields omitted\n"
  14491. " (build-system gnu-build-system)\n"
  14492. " (arguments\n"
  14493. " '(#:phases (modify-phases %standard-phases\n"
  14494. " (delete 'configure)\n"
  14495. " (add-before 'build 'set-prefix-in-makefile\n"
  14496. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14497. " ;; Modify the makefile so that its\n"
  14498. " ;; 'PREFIX' variable points to \"out\".\n"
  14499. " (let ((out (assoc-ref outputs \"out\")))\n"
  14500. " (substitute* \"Makefile\"\n"
  14501. " ((\"PREFIX =.*\")\n"
  14502. " (string-append \"PREFIX = \"\n"
  14503. " out \"\\n\")))\n"
  14504. " #true))))))))\n"
  14505. msgstr ""
  14506. #. type: Plain text
  14507. #: guix-git/doc/guix.texi:9128
  14508. msgid "The new phase that is inserted is written as an anonymous procedure, introduced with @code{lambda*}; it 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}."
  14509. msgstr ""
  14510. #. type: cindex
  14511. #: guix-git/doc/guix.texi:9129 guix-git/doc/guix.texi:10464
  14512. #, no-wrap
  14513. msgid "code staging"
  14514. msgstr ""
  14515. #. type: cindex
  14516. #: guix-git/doc/guix.texi:9130 guix-git/doc/guix.texi:10465
  14517. #, no-wrap
  14518. msgid "staging, of code"
  14519. msgstr ""
  14520. #. type: Plain text
  14521. #: guix-git/doc/guix.texi:9137
  14522. 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."
  14523. msgstr ""
  14524. #. type: Plain text
  14525. #: guix-git/doc/guix.texi:9147
  14526. 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."
  14527. msgstr ""
  14528. #. type: Plain text
  14529. #: guix-git/doc/guix.texi:9151
  14530. 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."
  14531. msgstr ""
  14532. #. type: Plain text
  14533. #: guix-git/doc/guix.texi:9156
  14534. 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}):"
  14535. msgstr ""
  14536. #. type: lisp
  14537. #: guix-git/doc/guix.texi:9163
  14538. #, no-wrap
  14539. msgid ""
  14540. "(with-imported-modules '((guix build utils)) ;import it\n"
  14541. " (computed-file \"empty-tree\"\n"
  14542. " #~(begin\n"
  14543. " ;; Put it in scope.\n"
  14544. " (use-modules (guix build utils))\n"
  14545. "\n"
  14546. msgstr ""
  14547. #. type: lisp
  14548. #: guix-git/doc/guix.texi:9166
  14549. #, no-wrap
  14550. msgid ""
  14551. " ;; Happily use its 'mkdir-p' procedure.\n"
  14552. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  14553. msgstr ""
  14554. #. type: Plain text
  14555. #: guix-git/doc/guix.texi:9170
  14556. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  14557. msgstr ""
  14558. #. type: subsection
  14559. #: guix-git/doc/guix.texi:9173
  14560. #, no-wrap
  14561. msgid "Dealing with Store File Names"
  14562. msgstr ""
  14563. #. type: Plain text
  14564. #: guix-git/doc/guix.texi:9176
  14565. msgid "This section documents procedures that deal with store file names."
  14566. msgstr ""
  14567. #. type: deffn
  14568. #: guix-git/doc/guix.texi:9177
  14569. #, no-wrap
  14570. msgid "{Scheme Procedure} %store-directory"
  14571. msgstr ""
  14572. #. type: deffn
  14573. #: guix-git/doc/guix.texi:9179
  14574. msgid "Return the directory name of the store."
  14575. msgstr ""
  14576. #. type: deffn
  14577. #: guix-git/doc/guix.texi:9181
  14578. #, no-wrap
  14579. msgid "{Scheme Procedure} store-file-name? @var{file}"
  14580. msgstr ""
  14581. #. type: deffn
  14582. #: guix-git/doc/guix.texi:9183
  14583. msgid "Return true if @var{file} is in the store."
  14584. msgstr ""
  14585. #. type: deffn
  14586. #: guix-git/doc/guix.texi:9185
  14587. #, no-wrap
  14588. msgid "{Scheme Procedure} strip-store-file-name @var{file}"
  14589. msgstr ""
  14590. #. type: deffn
  14591. #: guix-git/doc/guix.texi:9188
  14592. 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."
  14593. msgstr ""
  14594. #. type: deffn
  14595. #: guix-git/doc/guix.texi:9190
  14596. #, no-wrap
  14597. msgid "{Scheme Procedure} package-name->name+version @var{name}"
  14598. msgstr ""
  14599. #. type: deffn
  14600. #: guix-git/doc/guix.texi:9195
  14601. 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."
  14602. msgstr ""
  14603. #. type: subsection
  14604. #: guix-git/doc/guix.texi:9197
  14605. #, no-wrap
  14606. msgid "File Types"
  14607. msgstr ""
  14608. #. type: Plain text
  14609. #: guix-git/doc/guix.texi:9200
  14610. msgid "The procedures below deal with files and file types."
  14611. msgstr ""
  14612. #. type: deffn
  14613. #: guix-git/doc/guix.texi:9201
  14614. #, no-wrap
  14615. msgid "{Scheme Procedure} directory-exists? @var{dir}"
  14616. msgstr ""
  14617. #. type: deffn
  14618. #: guix-git/doc/guix.texi:9203
  14619. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  14620. msgstr ""
  14621. #. type: deffn
  14622. #: guix-git/doc/guix.texi:9205
  14623. #, no-wrap
  14624. msgid "{Scheme Procedure} executable-file? @var{file}"
  14625. msgstr ""
  14626. #. type: deffn
  14627. #: guix-git/doc/guix.texi:9207
  14628. msgid "Return @code{#t} if @var{file} exists and is executable."
  14629. msgstr ""
  14630. #. type: deffn
  14631. #: guix-git/doc/guix.texi:9209
  14632. #, no-wrap
  14633. msgid "{Scheme Procedure} symbolic-link? @var{file}"
  14634. msgstr ""
  14635. #. type: deffn
  14636. #: guix-git/doc/guix.texi:9211
  14637. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  14638. msgstr ""
  14639. #. type: deffn
  14640. #: guix-git/doc/guix.texi:9213
  14641. #, no-wrap
  14642. msgid "{Scheme Procedure} elf-file? @var{file}"
  14643. msgstr ""
  14644. #. type: deffnx
  14645. #: guix-git/doc/guix.texi:9214
  14646. #, no-wrap
  14647. msgid "{Scheme Procedure} ar-file? @var{file}"
  14648. msgstr ""
  14649. #. type: deffnx
  14650. #: guix-git/doc/guix.texi:9215
  14651. #, no-wrap
  14652. msgid "{Scheme Procedure} gzip-file? @var{file}"
  14653. msgstr ""
  14654. #. type: deffn
  14655. #: guix-git/doc/guix.texi:9218
  14656. 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."
  14657. msgstr ""
  14658. #. type: deffn
  14659. #: guix-git/doc/guix.texi:9220
  14660. #, no-wrap
  14661. msgid "{Scheme Procedure} reset-gzip-timestamp @var{file} [#:keep-mtime? #t]"
  14662. msgstr ""
  14663. #. type: deffn
  14664. #: guix-git/doc/guix.texi:9224
  14665. 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."
  14666. msgstr ""
  14667. #. type: subsection
  14668. #: guix-git/doc/guix.texi:9226
  14669. #, no-wrap
  14670. msgid "File Manipulation"
  14671. msgstr ""
  14672. #. type: Plain text
  14673. #: guix-git/doc/guix.texi:9233
  14674. 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})."
  14675. msgstr ""
  14676. #. type: deffn
  14677. #: guix-git/doc/guix.texi:9234
  14678. #, no-wrap
  14679. msgid "{Scheme Syntax} with-directory-excursion @var{directory} @var{body}@dots{}"
  14680. msgstr ""
  14681. #. type: deffn
  14682. #: guix-git/doc/guix.texi:9236
  14683. msgid "Run @var{body} with @var{directory} as the process's current directory."
  14684. msgstr ""
  14685. #. type: deffn
  14686. #: guix-git/doc/guix.texi:9243
  14687. 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."
  14688. msgstr ""
  14689. #. type: deffn
  14690. #: guix-git/doc/guix.texi:9245
  14691. #, no-wrap
  14692. msgid "{Scheme Procedure} mkdir-p @var{dir}"
  14693. msgstr ""
  14694. #. type: deffn
  14695. #: guix-git/doc/guix.texi:9247
  14696. msgid "Create directory @var{dir} and all its ancestors."
  14697. msgstr ""
  14698. #. type: deffn
  14699. #: guix-git/doc/guix.texi:9249
  14700. #, no-wrap
  14701. msgid "{Scheme Procedure} install-file @var{file} @var{directory}"
  14702. msgstr ""
  14703. #. type: deffn
  14704. #: guix-git/doc/guix.texi:9252
  14705. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  14706. msgstr ""
  14707. #. type: deffn
  14708. #: guix-git/doc/guix.texi:9254
  14709. #, no-wrap
  14710. msgid "{Scheme Procedure} make-file-writable @var{file}"
  14711. msgstr ""
  14712. #. type: deffn
  14713. #: guix-git/doc/guix.texi:9256
  14714. msgid "Make @var{file} writable for its owner."
  14715. msgstr ""
  14716. #. type: deffn
  14717. #: guix-git/doc/guix.texi:9258
  14718. #, no-wrap
  14719. msgid "{Scheme Procedure} copy-recursively @var{source} @var{destination} @"
  14720. msgstr ""
  14721. #. type: deffn
  14722. #: guix-git/doc/guix.texi:9267
  14723. 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."
  14724. msgstr ""
  14725. #. type: deffn
  14726. #: guix-git/doc/guix.texi:9269
  14727. #, no-wrap
  14728. msgid "{Scheme Procedure} delete-file-recursively @var{dir} @"
  14729. msgstr ""
  14730. #. type: deffn
  14731. #: guix-git/doc/guix.texi:9274
  14732. msgid "[#:follow-mounts? #f] 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."
  14733. msgstr ""
  14734. #. type: deffn
  14735. #: guix-git/doc/guix.texi:9276
  14736. #, no-wrap
  14737. msgid "{Scheme Syntax} substitute* @var{file} @"
  14738. msgstr ""
  14739. #. type: deffn
  14740. #: guix-git/doc/guix.texi:9281
  14741. msgid "((@var{regexp} @var{match-var}@dots{}) @var{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:"
  14742. msgstr ""
  14743. #. type: lisp
  14744. #: guix-git/doc/guix.texi:9288
  14745. #, no-wrap
  14746. msgid ""
  14747. "(substitute* file\n"
  14748. " ((\"hello\")\n"
  14749. " \"good morning\\n\")\n"
  14750. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  14751. " (string-append \"baz\" letters end)))\n"
  14752. msgstr ""
  14753. #. type: deffn
  14754. #: guix-git/doc/guix.texi:9294
  14755. 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."
  14756. msgstr ""
  14757. #. type: deffn
  14758. #: guix-git/doc/guix.texi:9297
  14759. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  14760. msgstr ""
  14761. #. type: deffn
  14762. #: guix-git/doc/guix.texi:9300
  14763. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  14764. msgstr ""
  14765. #. type: deffn
  14766. #: guix-git/doc/guix.texi:9303
  14767. 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."
  14768. msgstr ""
  14769. #. type: subsection
  14770. #: guix-git/doc/guix.texi:9305
  14771. #, no-wrap
  14772. msgid "File Search"
  14773. msgstr ""
  14774. #. type: cindex
  14775. #: guix-git/doc/guix.texi:9307
  14776. #, no-wrap
  14777. msgid "file, searching"
  14778. msgstr ""
  14779. #. type: Plain text
  14780. #: guix-git/doc/guix.texi:9309
  14781. msgid "This section documents procedures to search and filter files."
  14782. msgstr ""
  14783. #. type: deffn
  14784. #: guix-git/doc/guix.texi:9310
  14785. #, no-wrap
  14786. msgid "{Scheme Procedure} file-name-predicate @var{regexp}"
  14787. msgstr ""
  14788. #. type: deffn
  14789. #: guix-git/doc/guix.texi:9313
  14790. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  14791. msgstr ""
  14792. #. type: deffn
  14793. #: guix-git/doc/guix.texi:9315
  14794. #, no-wrap
  14795. msgid "{Scheme Procedure} find-files @var{dir} [@var{pred}] @"
  14796. msgstr ""
  14797. #. type: deffn
  14798. #: guix-git/doc/guix.texi:9326
  14799. 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."
  14800. msgstr ""
  14801. #. type: Plain text
  14802. #: guix-git/doc/guix.texi:9330
  14803. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  14804. msgstr ""
  14805. #. type: lisp
  14806. #: guix-git/doc/guix.texi:9335
  14807. #, no-wrap
  14808. msgid ""
  14809. ";; List all the regular files in the current directory.\n"
  14810. "(find-files \".\")\n"
  14811. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  14812. "\n"
  14813. msgstr ""
  14814. #. type: lisp
  14815. #: guix-git/doc/guix.texi:9339
  14816. #, no-wrap
  14817. msgid ""
  14818. ";; List all the .scm files under gnu/services.\n"
  14819. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  14820. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  14821. "\n"
  14822. msgstr ""
  14823. #. type: lisp
  14824. #: guix-git/doc/guix.texi:9343
  14825. #, no-wrap
  14826. msgid ""
  14827. ";; List ar files in the current directory.\n"
  14828. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  14829. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  14830. msgstr ""
  14831. #. type: deffn
  14832. #: guix-git/doc/guix.texi:9345
  14833. #, no-wrap
  14834. msgid "{Scheme Procedure} which @var{program}"
  14835. msgstr ""
  14836. #. type: deffn
  14837. #: guix-git/doc/guix.texi:9348
  14838. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  14839. msgstr ""
  14840. #. type: deffn
  14841. #: guix-git/doc/guix.texi:9350
  14842. #, no-wrap
  14843. msgid "{Scheme Procedure} search-input-file @var{inputs} @var{name}"
  14844. msgstr ""
  14845. #. type: deffnx
  14846. #: guix-git/doc/guix.texi:9351
  14847. #, no-wrap
  14848. msgid "{Scheme Procedure} search-input-directory @var{inputs} @var{name}"
  14849. msgstr ""
  14850. #. type: deffn
  14851. #: guix-git/doc/guix.texi:9356
  14852. 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."
  14853. msgstr ""
  14854. #. type: deffn
  14855. #: guix-git/doc/guix.texi:9360
  14856. msgid "Here, @var{inputs} must be an association list like @code{inputs} and @code{native-inputs} as available to build phases (@pxref{Build Phases})."
  14857. msgstr ""
  14858. #. type: Plain text
  14859. #: guix-git/doc/guix.texi:9364
  14860. msgid "Here is a (simplified) example of how @code{search-input-file} is used in a build phase of the @code{wireguard-tools} package:"
  14861. msgstr ""
  14862. #. type: lisp
  14863. #: guix-git/doc/guix.texi:9373
  14864. #, no-wrap
  14865. msgid ""
  14866. "(add-after 'install 'wrap-wg-quick\n"
  14867. " (lambda* (#:key inputs outputs #:allow-other-keys)\n"
  14868. " (let ((coreutils (string-append (assoc-ref inputs \"coreutils\")\n"
  14869. " \"/bin\")))\n"
  14870. " (wrap-program (search-input-file outputs \"bin/wg-quick\")\n"
  14871. " #:sh (search-input-file inputs \"bin/bash\")\n"
  14872. " `(\"PATH\" \":\" prefix ,(list coreutils))))))\n"
  14873. msgstr ""
  14874. #. type: subsection
  14875. #: guix-git/doc/guix.texi:9375
  14876. #, fuzzy, no-wrap
  14877. #| msgid "Log Rotation"
  14878. msgid "Program Invocation"
  14879. msgstr "Rotação de log"
  14880. #. type: cindex
  14881. #: guix-git/doc/guix.texi:9377
  14882. #, no-wrap
  14883. msgid "program invocation, from Scheme"
  14884. msgstr ""
  14885. #. type: cindex
  14886. #: guix-git/doc/guix.texi:9378
  14887. #, no-wrap
  14888. msgid "invoking programs, from Scheme"
  14889. msgstr ""
  14890. #. type: Plain text
  14891. #: guix-git/doc/guix.texi:9382
  14892. 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})."
  14893. msgstr ""
  14894. #. type: deffn
  14895. #: guix-git/doc/guix.texi:9383
  14896. #, no-wrap
  14897. msgid "{Scheme Procedure} invoke @var{program} @var{args}@dots{}"
  14898. msgstr ""
  14899. #. type: deffn
  14900. #: guix-git/doc/guix.texi:9387
  14901. 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}."
  14902. msgstr ""
  14903. #. type: deffn
  14904. #: guix-git/doc/guix.texi:9391
  14905. 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."
  14906. msgstr ""
  14907. #. type: deffn
  14908. #: guix-git/doc/guix.texi:9393
  14909. #, no-wrap
  14910. msgid "{Scheme Procedure} invoke-error? @var{c}"
  14911. msgstr ""
  14912. #. type: deffn
  14913. #: guix-git/doc/guix.texi:9395
  14914. msgid "Return true if @var{c} is an @code{&invoke-error} condition."
  14915. msgstr ""
  14916. #. type: deffn
  14917. #: guix-git/doc/guix.texi:9397
  14918. #, no-wrap
  14919. msgid "{Scheme Procedure} invoke-error-program @var{c}"
  14920. msgstr ""
  14921. #. type: deffnx
  14922. #: guix-git/doc/guix.texi:9398
  14923. #, no-wrap
  14924. msgid "{Scheme Procedure} invoke-error-arguments @var{c}"
  14925. msgstr ""
  14926. #. type: deffnx
  14927. #: guix-git/doc/guix.texi:9399
  14928. #, no-wrap
  14929. msgid "{Scheme Procedure} invoke-error-exit-status @var{c}"
  14930. msgstr ""
  14931. #. type: deffnx
  14932. #: guix-git/doc/guix.texi:9400
  14933. #, no-wrap
  14934. msgid "{Scheme Procedure} invoke-error-term-signal @var{c}"
  14935. msgstr ""
  14936. #. type: deffnx
  14937. #: guix-git/doc/guix.texi:9401
  14938. #, no-wrap
  14939. msgid "{Scheme Procedure} invoke-error-stop-signal @var{c}"
  14940. msgstr ""
  14941. #. type: deffn
  14942. #: guix-git/doc/guix.texi:9403
  14943. msgid "Access specific fields of @var{c}, an @code{&invoke-error} condition."
  14944. msgstr ""
  14945. #. type: deffn
  14946. #: guix-git/doc/guix.texi:9405
  14947. #, no-wrap
  14948. msgid "{Scheme Procedure} report-invoke-error @var{c} [@var{port}]"
  14949. msgstr ""
  14950. #. type: deffn
  14951. #: guix-git/doc/guix.texi:9408
  14952. msgid "Report to @var{port} (by default the current error port) about @var{c}, an @code{&invoke-error} condition, in a human-friendly way."
  14953. msgstr ""
  14954. #. type: deffn
  14955. #: guix-git/doc/guix.texi:9410
  14956. msgid "Typical usage would look like this:"
  14957. msgstr ""
  14958. #. type: lisp
  14959. #: guix-git/doc/guix.texi:9414
  14960. #, no-wrap
  14961. msgid ""
  14962. "(use-modules (srfi srfi-34) ;for 'guard'\n"
  14963. " (guix build utils))\n"
  14964. "\n"
  14965. msgstr ""
  14966. #. type: lisp
  14967. #: guix-git/doc/guix.texi:9418
  14968. #, no-wrap
  14969. msgid ""
  14970. "(guard (c ((invoke-error? c)\n"
  14971. " (report-invoke-error c)))\n"
  14972. " (invoke \"date\" \"--imaginary-option\"))\n"
  14973. "\n"
  14974. msgstr ""
  14975. #. type: lisp
  14976. #: guix-git/doc/guix.texi:9420
  14977. #, no-wrap
  14978. msgid "@print{} command \"date\" \"--imaginary-option\" failed with status 1\n"
  14979. msgstr ""
  14980. #. type: deffn
  14981. #: guix-git/doc/guix.texi:9423
  14982. #, no-wrap
  14983. msgid "{Scheme Procedure} invoke/quiet @var{program} @var{args}@dots{}"
  14984. msgstr ""
  14985. #. type: deffn
  14986. #: guix-git/doc/guix.texi:9429
  14987. 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}."
  14988. msgstr ""
  14989. #. type: deffn
  14990. #: guix-git/doc/guix.texi:9431
  14991. msgid "Here's an example:"
  14992. msgstr ""
  14993. #. type: lisp
  14994. #: guix-git/doc/guix.texi:9436
  14995. #, no-wrap
  14996. msgid ""
  14997. "(use-modules (srfi srfi-34) ;for 'guard'\n"
  14998. " (srfi srfi-35) ;for 'message-condition?'\n"
  14999. " (guix build utils))\n"
  15000. "\n"
  15001. msgstr ""
  15002. #. type: lisp
  15003. #: guix-git/doc/guix.texi:9441
  15004. #, no-wrap
  15005. msgid ""
  15006. "(guard (c ((message-condition? c)\n"
  15007. " (display (condition-message c))))\n"
  15008. " (invoke/quiet \"date\") ;all is fine\n"
  15009. " (invoke/quiet \"date\" \"--imaginary-option\"))\n"
  15010. "\n"
  15011. msgstr ""
  15012. #. type: lisp
  15013. #: guix-git/doc/guix.texi:9443
  15014. #, no-wrap
  15015. msgid ""
  15016. "@print{} 'date --imaginary-option' exited with status 1; output follows:\n"
  15017. "\n"
  15018. msgstr ""
  15019. #. type: lisp
  15020. #: guix-git/doc/guix.texi:9446
  15021. #, no-wrap
  15022. msgid ""
  15023. " date: unrecognized option '--imaginary-option'\n"
  15024. " Try 'date --help' for more information.\n"
  15025. msgstr ""
  15026. #. type: Plain text
  15027. #: guix-git/doc/guix.texi:9458
  15028. 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})."
  15029. msgstr ""
  15030. #. type: Plain text
  15031. #: guix-git/doc/guix.texi:9462
  15032. 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."
  15033. msgstr ""
  15034. #. type: cindex
  15035. #: guix-git/doc/guix.texi:9463
  15036. #, no-wrap
  15037. msgid "build phases, modifying"
  15038. msgstr ""
  15039. #. type: deffn
  15040. #: guix-git/doc/guix.texi:9464
  15041. #, no-wrap
  15042. msgid "{Scheme Syntax} modify-phases @var{phases} @var{clause}@dots{}"
  15043. msgstr ""
  15044. #. type: deffn
  15045. #: guix-git/doc/guix.texi:9467
  15046. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  15047. msgstr ""
  15048. #. type: lisp
  15049. #: guix-git/doc/guix.texi:9473
  15050. #, no-wrap
  15051. msgid ""
  15052. "(delete @var{old-phase-name})\n"
  15053. "(replace @var{old-phase-name} @var{new-phase})\n"
  15054. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  15055. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  15056. msgstr ""
  15057. #. type: deffn
  15058. #: guix-git/doc/guix.texi:9477
  15059. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  15060. msgstr ""
  15061. #. type: Plain text
  15062. #: guix-git/doc/guix.texi:9488
  15063. 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:"
  15064. msgstr ""
  15065. #. type: lisp
  15066. #: guix-git/doc/guix.texi:9501
  15067. #, no-wrap
  15068. msgid ""
  15069. "(modify-phases %standard-phases\n"
  15070. " (add-after 'install 'fix-egrep-and-fgrep\n"
  15071. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  15072. " ;; absolute file name instead of searching for it in $PATH.\n"
  15073. " (lambda* (#:key outputs #:allow-other-keys)\n"
  15074. " (let* ((out (assoc-ref outputs \"out\"))\n"
  15075. " (bin (string-append out \"/bin\")))\n"
  15076. " (substitute* (list (string-append bin \"/egrep\")\n"
  15077. " (string-append bin \"/fgrep\"))\n"
  15078. " ((\"^exec grep\")\n"
  15079. " (string-append \"exec \" bin \"/grep\")))))))\n"
  15080. msgstr ""
  15081. #. type: Plain text
  15082. #: guix-git/doc/guix.texi:9508
  15083. 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:"
  15084. msgstr ""
  15085. #. type: lisp
  15086. #: guix-git/doc/guix.texi:9520
  15087. #, no-wrap
  15088. msgid ""
  15089. "(modify-phases %standard-phases\n"
  15090. " (delete 'configure) ;no 'configure' script\n"
  15091. " (replace 'install\n"
  15092. " (lambda* (#:key outputs #:allow-other-keys)\n"
  15093. " ;; The package's Makefile doesn't provide an \"install\"\n"
  15094. " ;; rule so do it by ourselves.\n"
  15095. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  15096. " \"/bin\")))\n"
  15097. " (install-file \"footswitch\" bin)\n"
  15098. " (install-file \"scythe\" bin)))))\n"
  15099. msgstr ""
  15100. #. type: subsection
  15101. #: guix-git/doc/guix.texi:9524
  15102. #, no-wrap
  15103. msgid "Wrappers"
  15104. msgstr ""
  15105. #. type: cindex
  15106. #: guix-git/doc/guix.texi:9526
  15107. #, no-wrap
  15108. msgid "program wrappers"
  15109. msgstr ""
  15110. #. type: cindex
  15111. #: guix-git/doc/guix.texi:9527
  15112. #, no-wrap
  15113. msgid "wrapping programs"
  15114. msgstr ""
  15115. #. type: Plain text
  15116. #: guix-git/doc/guix.texi:9533
  15117. 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:"
  15118. msgstr ""
  15119. #. type: itemize
  15120. #: guix-git/doc/guix.texi:9537
  15121. msgid "a shell script that assumes all the commands it uses are in @env{PATH};"
  15122. msgstr ""
  15123. #. type: itemize
  15124. #: guix-git/doc/guix.texi:9541
  15125. msgid "a Guile program that assumes all its modules are in @env{GUILE_LOAD_PATH} and @env{GUILE_LOAD_COMPILED_PATH};"
  15126. msgstr ""
  15127. #. type: itemize
  15128. #: guix-git/doc/guix.texi:9545
  15129. msgid "a Qt application that expects to find certain plugins in @env{QT_PLUGIN_PATH}."
  15130. msgstr ""
  15131. #. type: Plain text
  15132. #: guix-git/doc/guix.texi:9553
  15133. 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."
  15134. msgstr ""
  15135. #. type: Plain text
  15136. #: guix-git/doc/guix.texi:9556
  15137. msgid "To ease that task, the @code{(guix build utils)} module provides a couple of helpers to wrap commands."
  15138. msgstr ""
  15139. #. type: deffn
  15140. #: guix-git/doc/guix.texi:9557
  15141. #, no-wrap
  15142. msgid "{Scheme Procedure} wrap-program @var{program} @"
  15143. msgstr ""
  15144. #. type: deffn
  15145. #: guix-git/doc/guix.texi:9560
  15146. msgid "[#:sh @var{sh}] [#:rest @var{variables}] Make a wrapper for @var{program}. @var{variables} should look like this:"
  15147. msgstr ""
  15148. #. type: lisp
  15149. #: guix-git/doc/guix.texi:9563
  15150. #, no-wrap
  15151. msgid "'(@var{variable} @var{delimiter} @var{position} @var{list-of-directories})\n"
  15152. msgstr ""
  15153. #. type: deffn
  15154. #: guix-git/doc/guix.texi:9567
  15155. msgid "where @var{delimiter} is optional. @code{:} will be used if @var{delimiter} is not given."
  15156. msgstr ""
  15157. #. type: deffn
  15158. #: guix-git/doc/guix.texi:9569
  15159. msgid "For example, this call:"
  15160. msgstr ""
  15161. #. type: lisp
  15162. #: guix-git/doc/guix.texi:9575
  15163. #, no-wrap
  15164. msgid ""
  15165. "(wrap-program \"foo\"\n"
  15166. " '(\"PATH\" \":\" = (\"/gnu/.../bar/bin\"))\n"
  15167. " '(\"CERT_PATH\" suffix (\"/gnu/.../baz/certs\"\n"
  15168. " \"/qux/certs\")))\n"
  15169. msgstr ""
  15170. #. type: deffn
  15171. #: guix-git/doc/guix.texi:9579
  15172. msgid "will copy @file{foo} to @file{.foo-real} and create the file @file{foo} with the following contents:"
  15173. msgstr ""
  15174. #. type: example
  15175. #: guix-git/doc/guix.texi:9585
  15176. #, no-wrap
  15177. msgid ""
  15178. "#!location/of/bin/bash\n"
  15179. "export PATH=\"/gnu/.../bar/bin\"\n"
  15180. "export CERT_PATH=\"$CERT_PATH$@{CERT_PATH:+:@}/gnu/.../baz/certs:/qux/certs\"\n"
  15181. "exec -a $0 location/of/.foo-real \"$@@\"\n"
  15182. msgstr ""
  15183. #. type: deffn
  15184. #: guix-git/doc/guix.texi:9590
  15185. 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."
  15186. msgstr ""
  15187. #. type: deffn
  15188. #: guix-git/doc/guix.texi:9592
  15189. #, no-wrap
  15190. msgid "{Scheme Procedure} wrap-script @var{program} @"
  15191. msgstr ""
  15192. #. type: deffn
  15193. #: guix-git/doc/guix.texi:9600
  15194. msgid "[#:guile @var{guile}] [#:rest @var{variables}] 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."
  15195. msgstr ""
  15196. #. type: deffn
  15197. #: guix-git/doc/guix.texi:9603
  15198. msgid "Special encoding comments as supported by Python are recreated on the second line."
  15199. msgstr ""
  15200. #. type: deffn
  15201. #: guix-git/doc/guix.texi:9606
  15202. msgid "Note that this procedure can only be used once per file as Guile scripts are not supported."
  15203. msgstr ""
  15204. #. type: cindex
  15205. #: guix-git/doc/guix.texi:9611
  15206. #, fuzzy, no-wrap
  15207. #| msgid "--search-paths"
  15208. msgid "search path"
  15209. msgstr "--search-paths"
  15210. #. type: Plain text
  15211. #: guix-git/doc/guix.texi:9618
  15212. 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."
  15213. msgstr ""
  15214. #. type: Plain text
  15215. #: guix-git/doc/guix.texi:9626
  15216. 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''."
  15217. msgstr ""
  15218. #. type: Plain text
  15219. #: guix-git/doc/guix.texi:9636
  15220. 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}):"
  15221. msgstr ""
  15222. #. type: example
  15223. #: guix-git/doc/guix.texi:9641
  15224. #, no-wrap
  15225. msgid ""
  15226. "$ guix shell python python-numpy --pure --search-paths\n"
  15227. "export PATH=\"/gnu/store/@dots{}-profile/bin\"\n"
  15228. "export GUIX_PYTHONPATH=\"/gnu/store/@dots{}-profile/lib/python3.9/site-packages\"\n"
  15229. msgstr ""
  15230. #. type: Plain text
  15231. #: guix-git/doc/guix.texi:9645
  15232. msgid "When you omit @option{--search-paths}, it defines these environment variables right away, such that Python can readily find NumPy:"
  15233. msgstr ""
  15234. #. type: example
  15235. #: guix-git/doc/guix.texi:9654
  15236. #, no-wrap
  15237. msgid ""
  15238. "$ guix shell python python-numpy -- python3\n"
  15239. "Python 3.9.6 (default, Jan 1 1970, 00:00:01)\n"
  15240. "[GCC 10.3.0] on linux\n"
  15241. "Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n"
  15242. ">>> import numpy\n"
  15243. ">>> numpy.version.version\n"
  15244. "'1.20.3'\n"
  15245. msgstr ""
  15246. #. type: Plain text
  15247. #: guix-git/doc/guix.texi:9659
  15248. 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:"
  15249. msgstr ""
  15250. #. type: lisp
  15251. #: guix-git/doc/guix.texi:9669
  15252. #, no-wrap
  15253. msgid ""
  15254. "(package\n"
  15255. " (name \"python\")\n"
  15256. " (version \"3.9.9\")\n"
  15257. " ;; some fields omitted...\n"
  15258. " (native-search-paths\n"
  15259. " (list (search-path-specification\n"
  15260. " (variable \"GUIX_PYTHONPATH\")\n"
  15261. " (files (list \"lib/python/3.9/site-packages\"))))))\n"
  15262. msgstr ""
  15263. #. type: Plain text
  15264. #: guix-git/doc/guix.texi:9684
  15265. 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{:})."
  15266. msgstr ""
  15267. #. type: quotation
  15268. #: guix-git/doc/guix.texi:9691
  15269. 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."
  15270. msgstr ""
  15271. #. type: quotation
  15272. #: guix-git/doc/guix.texi:9695
  15273. 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:"
  15274. msgstr ""
  15275. #. type: example
  15276. #: guix-git/doc/guix.texi:9699
  15277. #, no-wrap
  15278. msgid ""
  15279. "$ guix shell python-numpy --search-paths --pure\n"
  15280. "export PATH=\"/gnu/store/@dots{}-profile/bin\"\n"
  15281. msgstr ""
  15282. #. type: quotation
  15283. #: guix-git/doc/guix.texi:9703
  15284. 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}."
  15285. msgstr ""
  15286. #. type: Plain text
  15287. #: guix-git/doc/guix.texi:9713
  15288. 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:"
  15289. msgstr ""
  15290. #. type: lisp
  15291. #: guix-git/doc/guix.texi:9725
  15292. #, no-wrap
  15293. msgid ""
  15294. "(package\n"
  15295. " (name \"libxml2\")\n"
  15296. " ;; some fields omitted\n"
  15297. " (native-search-paths\n"
  15298. " (list (search-path-specification\n"
  15299. " (variable \"XML_CATALOG_FILES\")\n"
  15300. " (separator \" \")\n"
  15301. " (files '(\"xml\"))\n"
  15302. " (file-pattern \"^catalog\\\\.xml$\")\n"
  15303. " (file-type 'regular)))))\n"
  15304. msgstr ""
  15305. #. type: Plain text
  15306. #: guix-git/doc/guix.texi:9728
  15307. msgid "Worry not, search path specifications are usually not this tricky."
  15308. msgstr ""
  15309. #. type: Plain text
  15310. #: guix-git/doc/guix.texi:9732
  15311. 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."
  15312. msgstr ""
  15313. #. type: deftp
  15314. #: guix-git/doc/guix.texi:9733
  15315. #, fuzzy, no-wrap
  15316. msgid "{Data Type} search-path-specification"
  15317. msgstr "build-machine {Data Type}"
  15318. #. type: deftp
  15319. #: guix-git/doc/guix.texi:9735
  15320. msgid "The data type for search path specifications."
  15321. msgstr ""
  15322. #. type: code{#1}
  15323. #: guix-git/doc/guix.texi:9737
  15324. #, no-wrap
  15325. msgid "variable"
  15326. msgstr ""
  15327. #. type: table
  15328. #: guix-git/doc/guix.texi:9739
  15329. msgid "The name of the environment variable for this search path (a string)."
  15330. msgstr ""
  15331. #. type: code{#1}
  15332. #: guix-git/doc/guix.texi:9740 guix-git/doc/guix.texi:17607
  15333. #, no-wrap
  15334. msgid "files"
  15335. msgstr ""
  15336. #. type: table
  15337. #: guix-git/doc/guix.texi:9743
  15338. msgid "The list of sub-directories (strings) that should be added to the search path."
  15339. msgstr ""
  15340. #. type: item
  15341. #: guix-git/doc/guix.texi:9744
  15342. #, fuzzy, no-wrap
  15343. #| msgid "@code{port} (default: @code{\"667\"})"
  15344. msgid "@code{separator} (default: @code{\":\"})"
  15345. msgstr "@code{porta} (default: @code{\"667\"})"
  15346. #. type: table
  15347. #: guix-git/doc/guix.texi:9746
  15348. msgid "The string used to separate search path components."
  15349. msgstr ""
  15350. #. type: table
  15351. #: guix-git/doc/guix.texi:9754
  15352. 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."
  15353. msgstr ""
  15354. #. type: item
  15355. #: guix-git/doc/guix.texi:9755
  15356. #, fuzzy, no-wrap
  15357. #| msgid "@code{file} (default: @code{#f})"
  15358. msgid "@code{file-type} (default: @code{'directory})"
  15359. msgstr "@code{file} (default: @code{#f})"
  15360. #. type: table
  15361. #: guix-git/doc/guix.texi:9759
  15362. 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})."
  15363. msgstr ""
  15364. #. type: table
  15365. #: guix-git/doc/guix.texi:9762
  15366. msgid "In the libxml2 example above, we would match regular files; in the Python example, we would match directories."
  15367. msgstr ""
  15368. #. type: item
  15369. #: guix-git/doc/guix.texi:9763
  15370. #, fuzzy, no-wrap
  15371. #| msgid "@code{users} (default: @code{#f})"
  15372. msgid "@code{file-pattern} (default: @code{#f})"
  15373. msgstr "@code{users} (default: @code{#f})"
  15374. #. type: table
  15375. #: guix-git/doc/guix.texi:9767
  15376. 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."
  15377. msgstr ""
  15378. #. type: table
  15379. #: guix-git/doc/guix.texi:9769
  15380. msgid "Again, the libxml2 example shows a situation where this is needed."
  15381. msgstr ""
  15382. #. type: Plain text
  15383. #: guix-git/doc/guix.texi:9775
  15384. 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}."
  15385. msgstr ""
  15386. #. type: deffn
  15387. #: guix-git/doc/guix.texi:9776
  15388. #, no-wrap
  15389. msgid "{Scheme Procedure} evaluate-search-paths @var{search-paths} @"
  15390. msgstr ""
  15391. #. type: deffn
  15392. #: guix-git/doc/guix.texi:9782
  15393. msgid "@var{directories} [@var{getenv}] 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."
  15394. msgstr ""
  15395. #. type: Plain text
  15396. #: guix-git/doc/guix.texi:9786
  15397. msgid "The @code{(guix profiles)} provides a higher-level helper procedure, @code{load-profile}, that sets the environment variables of a profile."
  15398. msgstr ""
  15399. #. type: cindex
  15400. #: guix-git/doc/guix.texi:9791
  15401. #, no-wrap
  15402. msgid "store items"
  15403. msgstr ""
  15404. #. type: cindex
  15405. #: guix-git/doc/guix.texi:9792
  15406. #, no-wrap
  15407. msgid "store paths"
  15408. msgstr ""
  15409. #. type: Plain text
  15410. #: guix-git/doc/guix.texi:9803
  15411. 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}."
  15412. msgstr ""
  15413. #. type: Plain text
  15414. #: guix-git/doc/guix.texi:9808
  15415. 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."
  15416. msgstr ""
  15417. #. type: quotation
  15418. #: guix-git/doc/guix.texi:9813
  15419. 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})."
  15420. msgstr ""
  15421. #. type: quotation
  15422. #: guix-git/doc/guix.texi:9817
  15423. 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."
  15424. msgstr ""
  15425. #. type: Plain text
  15426. #: guix-git/doc/guix.texi:9824
  15427. 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."
  15428. msgstr ""
  15429. #. type: defvr
  15430. #: guix-git/doc/guix.texi:9825
  15431. #, no-wrap
  15432. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  15433. msgstr ""
  15434. #. type: defvr
  15435. #: guix-git/doc/guix.texi:9830
  15436. 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:"
  15437. msgstr ""
  15438. #. type: code{#1}
  15439. #: guix-git/doc/guix.texi:9832 guix-git/doc/guix.texi:26613
  15440. #, no-wrap
  15441. msgid "file"
  15442. msgstr ""
  15443. #. type: itemx
  15444. #: guix-git/doc/guix.texi:9833
  15445. #, no-wrap
  15446. msgid "unix"
  15447. msgstr "unix"
  15448. #. type: table
  15449. #: guix-git/doc/guix.texi:9837
  15450. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  15451. msgstr ""
  15452. #. type: table
  15453. #: guix-git/doc/guix.texi:9846
  15454. 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):"
  15455. msgstr ""
  15456. #. type: example
  15457. #: guix-git/doc/guix.texi:9849
  15458. #, no-wrap
  15459. msgid "guix://master.guix.example.org:1234\n"
  15460. msgstr ""
  15461. #. type: table
  15462. #: guix-git/doc/guix.texi:9854
  15463. 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}."
  15464. msgstr ""
  15465. #. type: table
  15466. #: guix-git/doc/guix.texi:9858
  15467. 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}})."
  15468. msgstr ""
  15469. #. type: item
  15470. #: guix-git/doc/guix.texi:9859
  15471. #, no-wrap
  15472. msgid "ssh"
  15473. msgstr ""
  15474. #. type: cindex
  15475. #: guix-git/doc/guix.texi:9860
  15476. #, no-wrap
  15477. msgid "SSH access to build daemons"
  15478. msgstr ""
  15479. #. type: table
  15480. #: guix-git/doc/guix.texi:9866
  15481. 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:"
  15482. msgstr ""
  15483. #. type: example
  15484. #: guix-git/doc/guix.texi:9869
  15485. #, no-wrap
  15486. msgid "ssh://charlie@@guix.example.org:22\n"
  15487. msgstr ""
  15488. #. type: table
  15489. #: guix-git/doc/guix.texi:9873
  15490. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  15491. msgstr ""
  15492. #. type: defvr
  15493. #: guix-git/doc/guix.texi:9876
  15494. msgid "Additional URI schemes may be supported in the future."
  15495. msgstr ""
  15496. #. type: quotation
  15497. #: guix-git/doc/guix.texi:9883
  15498. 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})."
  15499. msgstr ""
  15500. #. type: deffn
  15501. #: guix-git/doc/guix.texi:9886
  15502. #, no-wrap
  15503. msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]"
  15504. msgstr ""
  15505. #. type: deffn
  15506. #: guix-git/doc/guix.texi:9891
  15507. 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."
  15508. msgstr ""
  15509. #. type: deffn
  15510. #: guix-git/doc/guix.texi:9894
  15511. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  15512. msgstr ""
  15513. #. type: deffn
  15514. #: guix-git/doc/guix.texi:9896
  15515. #, no-wrap
  15516. msgid "{Scheme Procedure} close-connection @var{server}"
  15517. msgstr ""
  15518. #. type: deffn
  15519. #: guix-git/doc/guix.texi:9898
  15520. msgid "Close the connection to @var{server}."
  15521. msgstr ""
  15522. #. type: defvr
  15523. #: guix-git/doc/guix.texi:9900
  15524. #, no-wrap
  15525. msgid "{Scheme Variable} current-build-output-port"
  15526. msgstr ""
  15527. #. type: defvr
  15528. #: guix-git/doc/guix.texi:9903
  15529. 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."
  15530. msgstr ""
  15531. #. type: Plain text
  15532. #: guix-git/doc/guix.texi:9907
  15533. msgid "Procedures that make RPCs all take a server object as their first argument."
  15534. msgstr ""
  15535. #. type: deffn
  15536. #: guix-git/doc/guix.texi:9908
  15537. #, no-wrap
  15538. msgid "{Scheme Procedure} valid-path? @var{server} @var{path}"
  15539. msgstr ""
  15540. #. type: cindex
  15541. #: guix-git/doc/guix.texi:9909
  15542. #, no-wrap
  15543. msgid "invalid store items"
  15544. msgstr ""
  15545. #. type: deffn
  15546. #: guix-git/doc/guix.texi:9914
  15547. 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)."
  15548. msgstr ""
  15549. #. type: deffn
  15550. #: guix-git/doc/guix.texi:9917
  15551. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  15552. msgstr ""
  15553. #. type: deffn
  15554. #: guix-git/doc/guix.texi:9919
  15555. #, no-wrap
  15556. msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]"
  15557. msgstr ""
  15558. #. type: deffn
  15559. #: guix-git/doc/guix.texi:9923
  15560. 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."
  15561. msgstr ""
  15562. #. type: deffn
  15563. #: guix-git/doc/guix.texi:9925
  15564. #, no-wrap
  15565. msgid "{Scheme Procedure} build-derivations @var{store} @var{derivations} @"
  15566. msgstr ""
  15567. #. type: deffn
  15568. #: guix-git/doc/guix.texi:9930
  15569. msgid "[@var{mode}] 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."
  15570. msgstr ""
  15571. #. type: Plain text
  15572. #: guix-git/doc/guix.texi:9936
  15573. 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})."
  15574. msgstr ""
  15575. #. type: i{#1}
  15576. #: guix-git/doc/guix.texi:9939
  15577. msgid "This section is currently incomplete."
  15578. msgstr ""
  15579. #. type: cindex
  15580. #: guix-git/doc/guix.texi:9943
  15581. #, no-wrap
  15582. msgid "derivations"
  15583. msgstr ""
  15584. #. type: Plain text
  15585. #: guix-git/doc/guix.texi:9947
  15586. 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:"
  15587. msgstr ""
  15588. #. type: itemize
  15589. #: guix-git/doc/guix.texi:9952
  15590. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  15591. msgstr ""
  15592. #. type: cindex
  15593. #: guix-git/doc/guix.texi:9954
  15594. #, no-wrap
  15595. msgid "build-time dependencies"
  15596. msgstr ""
  15597. #. type: cindex
  15598. #: guix-git/doc/guix.texi:9955
  15599. #, no-wrap
  15600. msgid "dependencies, build-time"
  15601. msgstr ""
  15602. #. type: itemize
  15603. #: guix-git/doc/guix.texi:9959
  15604. 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.)."
  15605. msgstr ""
  15606. #. type: itemize
  15607. #: guix-git/doc/guix.texi:9962
  15608. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  15609. msgstr ""
  15610. #. type: itemize
  15611. #: guix-git/doc/guix.texi:9966
  15612. msgid "The file name of a build script in the store, along with the arguments to be passed."
  15613. msgstr ""
  15614. #. type: itemize
  15615. #: guix-git/doc/guix.texi:9969
  15616. msgid "A list of environment variables to be defined."
  15617. msgstr ""
  15618. #. type: cindex
  15619. #: guix-git/doc/guix.texi:9972
  15620. #, no-wrap
  15621. msgid "derivation path"
  15622. msgstr ""
  15623. #. type: Plain text
  15624. #: guix-git/doc/guix.texi:9980
  15625. 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})."
  15626. msgstr ""
  15627. #. type: cindex
  15628. #: guix-git/doc/guix.texi:9981
  15629. #, no-wrap
  15630. msgid "fixed-output derivations"
  15631. msgstr ""
  15632. #. type: Plain text
  15633. #: guix-git/doc/guix.texi:9988
  15634. 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."
  15635. msgstr ""
  15636. #. type: item
  15637. #: guix-git/doc/guix.texi:9989 guix-git/doc/guix.texi:13802
  15638. #, no-wrap
  15639. msgid "references"
  15640. msgstr ""
  15641. #. type: cindex
  15642. #: guix-git/doc/guix.texi:9990
  15643. #, no-wrap
  15644. msgid "run-time dependencies"
  15645. msgstr ""
  15646. #. type: cindex
  15647. #: guix-git/doc/guix.texi:9991
  15648. #, no-wrap
  15649. msgid "dependencies, run-time"
  15650. msgstr ""
  15651. #. type: Plain text
  15652. #: guix-git/doc/guix.texi:9998
  15653. 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."
  15654. msgstr ""
  15655. #. type: Plain text
  15656. #: guix-git/doc/guix.texi:10003
  15657. 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:"
  15658. msgstr ""
  15659. #. type: deffn
  15660. #: guix-git/doc/guix.texi:10004
  15661. #, no-wrap
  15662. msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @"
  15663. msgstr ""
  15664. #. type: deffn
  15665. #: guix-git/doc/guix.texi:10013
  15666. msgid "@var{args} [#: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."
  15667. msgstr ""
  15668. #. type: deffn
  15669. #: guix-git/doc/guix.texi:10020
  15670. 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."
  15671. msgstr ""
  15672. #. type: deffn
  15673. #: guix-git/doc/guix.texi:10025
  15674. 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."
  15675. msgstr ""
  15676. #. type: deffn
  15677. #: guix-git/doc/guix.texi:10030
  15678. 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."
  15679. msgstr ""
  15680. #. type: deffn
  15681. #: guix-git/doc/guix.texi:10037
  15682. 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."
  15683. msgstr ""
  15684. #. type: deffn
  15685. #: guix-git/doc/guix.texi:10042
  15686. 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."
  15687. msgstr ""
  15688. #. type: deffn
  15689. #: guix-git/doc/guix.texi:10047
  15690. 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."
  15691. msgstr ""
  15692. #. type: deffn
  15693. #: guix-git/doc/guix.texi:10050
  15694. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  15695. msgstr ""
  15696. #. type: Plain text
  15697. #: guix-git/doc/guix.texi:10056
  15698. 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:"
  15699. msgstr ""
  15700. #. type: lisp
  15701. #: guix-git/doc/guix.texi:10061
  15702. #, no-wrap
  15703. msgid ""
  15704. "(use-modules (guix utils)\n"
  15705. " (guix store)\n"
  15706. " (guix derivations))\n"
  15707. "\n"
  15708. msgstr ""
  15709. #. type: lisp
  15710. #: guix-git/doc/guix.texi:10070
  15711. #, no-wrap
  15712. msgid ""
  15713. "(let ((builder ; add the Bash script to the store\n"
  15714. " (add-text-to-store store \"my-builder.sh\"\n"
  15715. " \"echo hello world > $out\\n\" '())))\n"
  15716. " (derivation store \"foo\"\n"
  15717. " bash `(\"-e\" ,builder)\n"
  15718. " #:inputs `((,bash) (,builder))\n"
  15719. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  15720. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  15721. msgstr ""
  15722. #. type: Plain text
  15723. #: guix-git/doc/guix.texi:10077
  15724. 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}."
  15725. msgstr ""
  15726. #. type: Plain text
  15727. #: guix-git/doc/guix.texi:10082
  15728. 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}."
  15729. msgstr ""
  15730. #. type: deffn
  15731. #: guix-git/doc/guix.texi:10083
  15732. #, no-wrap
  15733. msgid "{Scheme Procedure} build-expression->derivation @var{store} @"
  15734. msgstr ""
  15735. #. type: deffn
  15736. #: guix-git/doc/guix.texi:10099
  15737. msgid "@var{name} @var{exp} @ [#: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))}."
  15738. msgstr ""
  15739. #. type: deffn
  15740. #: guix-git/doc/guix.texi:10107
  15741. 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."
  15742. msgstr ""
  15743. #. type: deffn
  15744. #: guix-git/doc/guix.texi:10111
  15745. 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."
  15746. msgstr ""
  15747. #. type: deffn
  15748. #: guix-git/doc/guix.texi:10116
  15749. 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?}."
  15750. msgstr ""
  15751. #. type: Plain text
  15752. #: guix-git/doc/guix.texi:10121
  15753. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  15754. msgstr ""
  15755. #. type: lisp
  15756. #: guix-git/doc/guix.texi:10129
  15757. #, no-wrap
  15758. msgid ""
  15759. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  15760. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  15761. " (call-with-output-file (string-append out \"/test\")\n"
  15762. " (lambda (p)\n"
  15763. " (display '(hello guix) p))))))\n"
  15764. " (build-expression->derivation store \"goo\" builder))\n"
  15765. "\n"
  15766. msgstr ""
  15767. #. type: lisp
  15768. #: guix-git/doc/guix.texi:10131
  15769. #, no-wrap
  15770. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  15771. msgstr ""
  15772. #. type: cindex
  15773. #: guix-git/doc/guix.texi:10137
  15774. #, no-wrap
  15775. msgid "monad"
  15776. msgstr ""
  15777. #. type: Plain text
  15778. #: guix-git/doc/guix.texi:10143
  15779. 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."
  15780. msgstr ""
  15781. #. type: Plain text
  15782. #: guix-git/doc/guix.texi:10149
  15783. 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."
  15784. msgstr ""
  15785. #. type: cindex
  15786. #: guix-git/doc/guix.texi:10150
  15787. #, no-wrap
  15788. msgid "monadic values"
  15789. msgstr ""
  15790. #. type: cindex
  15791. #: guix-git/doc/guix.texi:10151
  15792. #, no-wrap
  15793. msgid "monadic functions"
  15794. msgstr ""
  15795. #. type: Plain text
  15796. #: guix-git/doc/guix.texi:10161
  15797. 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}."
  15798. msgstr ""
  15799. #. type: Plain text
  15800. #: guix-git/doc/guix.texi:10163
  15801. msgid "Consider this ``normal'' procedure:"
  15802. msgstr ""
  15803. #. type: lisp
  15804. #: guix-git/doc/guix.texi:10172
  15805. #, no-wrap
  15806. msgid ""
  15807. "(define (sh-symlink store)\n"
  15808. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  15809. " (let* ((drv (package-derivation store bash))\n"
  15810. " (out (derivation->output-path drv))\n"
  15811. " (sh (string-append out \"/bin/bash\")))\n"
  15812. " (build-expression->derivation store \"sh\"\n"
  15813. " `(symlink ,sh %output))))\n"
  15814. msgstr ""
  15815. #. type: Plain text
  15816. #: guix-git/doc/guix.texi:10176
  15817. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  15818. msgstr ""
  15819. #. type: lisp
  15820. #: guix-git/doc/guix.texi:10184
  15821. #, no-wrap
  15822. msgid ""
  15823. "(define (sh-symlink)\n"
  15824. " ;; Same, but return a monadic value.\n"
  15825. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  15826. " (gexp->derivation \"sh\"\n"
  15827. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  15828. " #$output))))\n"
  15829. msgstr ""
  15830. #. type: Plain text
  15831. #: guix-git/doc/guix.texi:10191
  15832. 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}."
  15833. msgstr ""
  15834. #. type: Plain text
  15835. #: guix-git/doc/guix.texi:10195
  15836. 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}):"
  15837. msgstr ""
  15838. #. type: lisp
  15839. #: guix-git/doc/guix.texi:10201
  15840. #, no-wrap
  15841. msgid ""
  15842. "(define (sh-symlink)\n"
  15843. " (gexp->derivation \"sh\"\n"
  15844. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  15845. " #$output)))\n"
  15846. msgstr ""
  15847. #. type: Plain text
  15848. #: guix-git/doc/guix.texi:10210
  15849. 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}:"
  15850. msgstr ""
  15851. #. type: lisp
  15852. #: guix-git/doc/guix.texi:10214
  15853. #, no-wrap
  15854. msgid ""
  15855. "(run-with-store (open-connection) (sh-symlink))\n"
  15856. "@result{} /gnu/store/...-sh-symlink\n"
  15857. msgstr ""
  15858. #. type: Plain text
  15859. #: guix-git/doc/guix.texi:10220
  15860. msgid "Note that the @code{(guix monad-repl)} module extends the Guile REPL with new ``meta-commands'' to make it easier to deal with monadic procedures: @code{run-in-store}, and @code{enter-store-monad}. The former is used to ``run'' a single monadic value through the store:"
  15861. msgstr ""
  15862. #. type: example
  15863. #: guix-git/doc/guix.texi:10224
  15864. #, no-wrap
  15865. msgid ""
  15866. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  15867. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  15868. msgstr ""
  15869. #. type: Plain text
  15870. #: guix-git/doc/guix.texi:10228
  15871. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  15872. msgstr ""
  15873. #. type: example
  15874. #: guix-git/doc/guix.texi:10237
  15875. #, no-wrap
  15876. msgid ""
  15877. "scheme@@(guile-user)> ,enter-store-monad\n"
  15878. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  15879. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  15880. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  15881. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  15882. "store-monad@@(guile-user) [1]> ,q\n"
  15883. "scheme@@(guile-user)>\n"
  15884. msgstr ""
  15885. #. type: Plain text
  15886. #: guix-git/doc/guix.texi:10242
  15887. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  15888. msgstr ""
  15889. #. type: Plain text
  15890. #: guix-git/doc/guix.texi:10245
  15891. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  15892. msgstr ""
  15893. #. type: deffn
  15894. #: guix-git/doc/guix.texi:10246
  15895. #, no-wrap
  15896. msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..."
  15897. msgstr ""
  15898. #. type: deffn
  15899. #: guix-git/doc/guix.texi:10249
  15900. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  15901. msgstr ""
  15902. #. type: deffn
  15903. #: guix-git/doc/guix.texi:10251
  15904. #, no-wrap
  15905. msgid "{Scheme Syntax} return @var{val}"
  15906. msgstr ""
  15907. #. type: deffn
  15908. #: guix-git/doc/guix.texi:10253
  15909. msgid "Return a monadic value that encapsulates @var{val}."
  15910. msgstr ""
  15911. #. type: deffn
  15912. #: guix-git/doc/guix.texi:10255
  15913. #, no-wrap
  15914. msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..."
  15915. msgstr ""
  15916. #. type: deffn
  15917. #: guix-git/doc/guix.texi:10262
  15918. 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:"
  15919. msgstr ""
  15920. #. type: lisp
  15921. #: guix-git/doc/guix.texi:10270
  15922. #, no-wrap
  15923. msgid ""
  15924. "(run-with-state\n"
  15925. " (with-monad %state-monad\n"
  15926. " (>>= (return 1)\n"
  15927. " (lambda (x) (return (+ 1 x)))\n"
  15928. " (lambda (x) (return (* 2 x)))))\n"
  15929. " 'some-state)\n"
  15930. "\n"
  15931. msgstr ""
  15932. #. type: lisp
  15933. #: guix-git/doc/guix.texi:10273
  15934. #, no-wrap
  15935. msgid ""
  15936. "@result{} 4\n"
  15937. "@result{} some-state\n"
  15938. msgstr ""
  15939. #. type: deffn
  15940. #: guix-git/doc/guix.texi:10276
  15941. #, no-wrap
  15942. msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @"
  15943. msgstr ""
  15944. #. type: deffn
  15945. #: guix-git/doc/guix.texi:10278
  15946. msgid "@var{body} ..."
  15947. msgstr ""
  15948. #. type: deffnx
  15949. #: guix-git/doc/guix.texi:10278
  15950. #, no-wrap
  15951. msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @"
  15952. msgstr ""
  15953. #. type: deffn
  15954. #: guix-git/doc/guix.texi:10290
  15955. msgid "@var{body} ... 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}."
  15956. msgstr ""
  15957. #. type: deffn
  15958. #: guix-git/doc/guix.texi:10293
  15959. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  15960. msgstr ""
  15961. #. type: deffn
  15962. #: guix-git/doc/guix.texi:10295
  15963. #, no-wrap
  15964. msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..."
  15965. msgstr ""
  15966. #. type: deffn
  15967. #: guix-git/doc/guix.texi:10299
  15968. 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."
  15969. msgstr ""
  15970. #. type: deffn
  15971. #: guix-git/doc/guix.texi:10303
  15972. 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."
  15973. msgstr ""
  15974. #. type: deffn
  15975. #: guix-git/doc/guix.texi:10305
  15976. #, no-wrap
  15977. msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..."
  15978. msgstr ""
  15979. #. type: deffn
  15980. #: guix-git/doc/guix.texi:10310
  15981. 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."
  15982. msgstr ""
  15983. #. type: deffn
  15984. #: guix-git/doc/guix.texi:10312
  15985. #, no-wrap
  15986. msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..."
  15987. msgstr ""
  15988. #. type: deffn
  15989. #: guix-git/doc/guix.texi:10317
  15990. 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."
  15991. msgstr ""
  15992. #. type: cindex
  15993. #: guix-git/doc/guix.texi:10319
  15994. #, no-wrap
  15995. msgid "state monad"
  15996. msgstr ""
  15997. #. type: Plain text
  15998. #: guix-git/doc/guix.texi:10323
  15999. 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."
  16000. msgstr ""
  16001. #. type: defvr
  16002. #: guix-git/doc/guix.texi:10324
  16003. #, no-wrap
  16004. msgid "{Scheme Variable} %state-monad"
  16005. msgstr ""
  16006. #. type: defvr
  16007. #: guix-git/doc/guix.texi:10327
  16008. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  16009. msgstr ""
  16010. #. type: defvr
  16011. #: guix-git/doc/guix.texi:10331
  16012. 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:"
  16013. msgstr ""
  16014. #. type: lisp
  16015. #: guix-git/doc/guix.texi:10338
  16016. #, no-wrap
  16017. msgid ""
  16018. "(define (square x)\n"
  16019. " (mlet %state-monad ((count (current-state)))\n"
  16020. " (mbegin %state-monad\n"
  16021. " (set-current-state (+ 1 count))\n"
  16022. " (return (* x x)))))\n"
  16023. "\n"
  16024. msgstr ""
  16025. #. type: lisp
  16026. #: guix-git/doc/guix.texi:10342
  16027. #, no-wrap
  16028. msgid ""
  16029. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  16030. "@result{} (0 1 4)\n"
  16031. "@result{} 3\n"
  16032. msgstr ""
  16033. #. type: defvr
  16034. #: guix-git/doc/guix.texi:10346
  16035. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  16036. msgstr ""
  16037. #. type: deffn
  16038. #: guix-git/doc/guix.texi:10348
  16039. #, no-wrap
  16040. msgid "{Monadic Procedure} current-state"
  16041. msgstr ""
  16042. #. type: deffn
  16043. #: guix-git/doc/guix.texi:10350
  16044. msgid "Return the current state as a monadic value."
  16045. msgstr ""
  16046. #. type: deffn
  16047. #: guix-git/doc/guix.texi:10352
  16048. #, no-wrap
  16049. msgid "{Monadic Procedure} set-current-state @var{value}"
  16050. msgstr ""
  16051. #. type: deffn
  16052. #: guix-git/doc/guix.texi:10355
  16053. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  16054. msgstr ""
  16055. #. type: deffn
  16056. #: guix-git/doc/guix.texi:10357
  16057. #, no-wrap
  16058. msgid "{Monadic Procedure} state-push @var{value}"
  16059. msgstr ""
  16060. #. type: deffn
  16061. #: guix-git/doc/guix.texi:10360
  16062. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  16063. msgstr ""
  16064. #. type: deffn
  16065. #: guix-git/doc/guix.texi:10362
  16066. #, no-wrap
  16067. msgid "{Monadic Procedure} state-pop"
  16068. msgstr ""
  16069. #. type: deffn
  16070. #: guix-git/doc/guix.texi:10365
  16071. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  16072. msgstr ""
  16073. #. type: deffn
  16074. #: guix-git/doc/guix.texi:10367
  16075. #, no-wrap
  16076. msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]"
  16077. msgstr ""
  16078. #. type: deffn
  16079. #: guix-git/doc/guix.texi:10370
  16080. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  16081. msgstr ""
  16082. #. type: Plain text
  16083. #: guix-git/doc/guix.texi:10374
  16084. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  16085. msgstr ""
  16086. #. type: defvr
  16087. #: guix-git/doc/guix.texi:10375
  16088. #, no-wrap
  16089. msgid "{Scheme Variable} %store-monad"
  16090. msgstr ""
  16091. #. type: defvr
  16092. #: guix-git/doc/guix.texi:10377
  16093. msgid "The store monad---an alias for @code{%state-monad}."
  16094. msgstr ""
  16095. #. type: defvr
  16096. #: guix-git/doc/guix.texi:10381
  16097. 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)."
  16098. msgstr ""
  16099. #. type: deffn
  16100. #: guix-git/doc/guix.texi:10383
  16101. #, no-wrap
  16102. msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]"
  16103. msgstr ""
  16104. #. type: deffn
  16105. #: guix-git/doc/guix.texi:10386
  16106. msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  16107. msgstr ""
  16108. #. type: deffn
  16109. #: guix-git/doc/guix.texi:10388
  16110. #, no-wrap
  16111. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  16112. msgstr ""
  16113. #. type: deffn
  16114. #: guix-git/doc/guix.texi:10392
  16115. 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."
  16116. msgstr ""
  16117. #. type: deffn
  16118. #: guix-git/doc/guix.texi:10394
  16119. #, no-wrap
  16120. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  16121. msgstr ""
  16122. #. type: deffn
  16123. #: guix-git/doc/guix.texi:10398
  16124. 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."
  16125. msgstr ""
  16126. #. type: deffn
  16127. #: guix-git/doc/guix.texi:10400
  16128. #, no-wrap
  16129. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  16130. msgstr ""
  16131. #. type: deffn
  16132. #: guix-git/doc/guix.texi:10405
  16133. 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."
  16134. msgstr ""
  16135. #. type: deffn
  16136. #: guix-git/doc/guix.texi:10409 guix-git/doc/guix.texi:10832
  16137. 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."
  16138. msgstr ""
  16139. #. type: deffn
  16140. #: guix-git/doc/guix.texi:10414 guix-git/doc/guix.texi:10837
  16141. 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."
  16142. msgstr ""
  16143. #. type: deffn
  16144. #: guix-git/doc/guix.texi:10416
  16145. msgid "The example below adds a file to the store, under two different names:"
  16146. msgstr ""
  16147. #. type: lisp
  16148. #: guix-git/doc/guix.texi:10422
  16149. #, no-wrap
  16150. msgid ""
  16151. "(run-with-store (open-connection)\n"
  16152. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  16153. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  16154. " (return (list a b))))\n"
  16155. "\n"
  16156. msgstr ""
  16157. #. type: lisp
  16158. #: guix-git/doc/guix.texi:10424
  16159. #, no-wrap
  16160. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  16161. msgstr ""
  16162. #. type: Plain text
  16163. #: guix-git/doc/guix.texi:10430
  16164. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  16165. msgstr ""
  16166. #. type: deffn
  16167. #: guix-git/doc/guix.texi:10431
  16168. #, no-wrap
  16169. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  16170. msgstr ""
  16171. #. type: deffn
  16172. #: guix-git/doc/guix.texi:10439
  16173. 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."
  16174. msgstr ""
  16175. #. type: deffn
  16176. #: guix-git/doc/guix.texi:10443
  16177. 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."
  16178. msgstr ""
  16179. #. type: deffn
  16180. #: guix-git/doc/guix.texi:10445
  16181. #, no-wrap
  16182. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  16183. msgstr ""
  16184. #. type: deffnx
  16185. #: guix-git/doc/guix.texi:10446
  16186. #, no-wrap
  16187. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  16188. msgstr ""
  16189. #. type: deffn
  16190. #: guix-git/doc/guix.texi:10450
  16191. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  16192. msgstr ""
  16193. #. type: cindex
  16194. #: guix-git/doc/guix.texi:10456
  16195. #, no-wrap
  16196. msgid "G-expression"
  16197. msgstr ""
  16198. #. type: cindex
  16199. #: guix-git/doc/guix.texi:10457
  16200. #, no-wrap
  16201. msgid "build code quoting"
  16202. msgstr ""
  16203. #. type: Plain text
  16204. #: guix-git/doc/guix.texi:10463
  16205. 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})."
  16206. msgstr ""
  16207. #. type: cindex
  16208. #: guix-git/doc/guix.texi:10466
  16209. #, no-wrap
  16210. msgid "strata of code"
  16211. msgstr ""
  16212. #. type: Plain text
  16213. #: guix-git/doc/guix.texi:10478
  16214. 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})."
  16215. msgstr ""
  16216. #. type: Plain text
  16217. #: guix-git/doc/guix.texi:10485
  16218. 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."
  16219. msgstr ""
  16220. #. type: Plain text
  16221. #: guix-git/doc/guix.texi:10494
  16222. 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:"
  16223. msgstr ""
  16224. #. type: itemize
  16225. #: guix-git/doc/guix.texi:10499
  16226. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  16227. msgstr ""
  16228. #. type: itemize
  16229. #: guix-git/doc/guix.texi:10504
  16230. 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."
  16231. msgstr ""
  16232. #. type: itemize
  16233. #: guix-git/doc/guix.texi:10509
  16234. 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."
  16235. msgstr ""
  16236. #. type: cindex
  16237. #: guix-git/doc/guix.texi:10511 guix-git/doc/guix.texi:11068
  16238. #, no-wrap
  16239. msgid "lowering, of high-level objects in gexps"
  16240. msgstr ""
  16241. #. type: Plain text
  16242. #: guix-git/doc/guix.texi:10521
  16243. 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)."
  16244. msgstr ""
  16245. #. type: Plain text
  16246. #: guix-git/doc/guix.texi:10523
  16247. msgid "To illustrate the idea, here is an example of a gexp:"
  16248. msgstr ""
  16249. #. type: lisp
  16250. #: guix-git/doc/guix.texi:10531
  16251. #, no-wrap
  16252. msgid ""
  16253. "(define build-exp\n"
  16254. " #~(begin\n"
  16255. " (mkdir #$output)\n"
  16256. " (chdir #$output)\n"
  16257. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  16258. " \"list-files\")))\n"
  16259. msgstr ""
  16260. #. type: Plain text
  16261. #: guix-git/doc/guix.texi:10536
  16262. 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}:"
  16263. msgstr ""
  16264. #. type: lisp
  16265. #: guix-git/doc/guix.texi:10539
  16266. #, no-wrap
  16267. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  16268. msgstr ""
  16269. #. type: Plain text
  16270. #: guix-git/doc/guix.texi:10547
  16271. 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."
  16272. msgstr ""
  16273. #. type: cindex
  16274. #: guix-git/doc/guix.texi:10548
  16275. #, no-wrap
  16276. msgid "cross compilation"
  16277. msgstr ""
  16278. #. type: Plain text
  16279. #: guix-git/doc/guix.texi:10554
  16280. 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:"
  16281. msgstr ""
  16282. #. type: lisp
  16283. #: guix-git/doc/guix.texi:10565
  16284. #, no-wrap
  16285. msgid ""
  16286. "(gexp->derivation \"vi\"\n"
  16287. " #~(begin\n"
  16288. " (mkdir #$output)\n"
  16289. " (mkdir (string-append #$output \"/bin\"))\n"
  16290. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  16291. " \"-s\"\n"
  16292. " (string-append #$emacs \"/bin/emacs\")\n"
  16293. " (string-append #$output \"/bin/vi\")))\n"
  16294. " #:target \"aarch64-linux-gnu\")\n"
  16295. msgstr ""
  16296. #. type: Plain text
  16297. #: guix-git/doc/guix.texi:10571
  16298. 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."
  16299. msgstr ""
  16300. #. type: cindex
  16301. #: guix-git/doc/guix.texi:10572
  16302. #, no-wrap
  16303. msgid "imported modules, for gexps"
  16304. msgstr ""
  16305. #. type: findex
  16306. #: guix-git/doc/guix.texi:10573
  16307. #, no-wrap
  16308. msgid "with-imported-modules"
  16309. msgstr ""
  16310. #. type: Plain text
  16311. #: guix-git/doc/guix.texi:10578
  16312. 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:"
  16313. msgstr ""
  16314. #. type: lisp
  16315. #: guix-git/doc/guix.texi:10589
  16316. #, no-wrap
  16317. msgid ""
  16318. "(let ((build (with-imported-modules '((guix build utils))\n"
  16319. " #~(begin\n"
  16320. " (use-modules (guix build utils))\n"
  16321. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  16322. " (gexp->derivation \"empty-dir\"\n"
  16323. " #~(begin\n"
  16324. " #$build\n"
  16325. " (display \"success!\\n\")\n"
  16326. " #t)))\n"
  16327. msgstr ""
  16328. #. type: Plain text
  16329. #: guix-git/doc/guix.texi:10595
  16330. 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."
  16331. msgstr ""
  16332. #. type: cindex
  16333. #: guix-git/doc/guix.texi:10596
  16334. #, no-wrap
  16335. msgid "module closure"
  16336. msgstr ""
  16337. #. type: findex
  16338. #: guix-git/doc/guix.texi:10597
  16339. #, no-wrap
  16340. msgid "source-module-closure"
  16341. msgstr ""
  16342. #. type: Plain text
  16343. #: guix-git/doc/guix.texi:10604
  16344. 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:"
  16345. msgstr ""
  16346. #. type: lisp
  16347. #: guix-git/doc/guix.texi:10607
  16348. #, no-wrap
  16349. msgid ""
  16350. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  16351. "\n"
  16352. msgstr ""
  16353. #. type: lisp
  16354. #: guix-git/doc/guix.texi:10616
  16355. #, no-wrap
  16356. msgid ""
  16357. "(with-imported-modules (source-module-closure\n"
  16358. " '((guix build utils)\n"
  16359. " (gnu build image)))\n"
  16360. " (gexp->derivation \"something-with-vms\"\n"
  16361. " #~(begin\n"
  16362. " (use-modules (guix build utils)\n"
  16363. " (gnu build image))\n"
  16364. " @dots{})))\n"
  16365. msgstr ""
  16366. #. type: cindex
  16367. #: guix-git/doc/guix.texi:10618
  16368. #, no-wrap
  16369. msgid "extensions, for gexps"
  16370. msgstr ""
  16371. #. type: findex
  16372. #: guix-git/doc/guix.texi:10619
  16373. #, no-wrap
  16374. msgid "with-extensions"
  16375. msgstr ""
  16376. #. type: Plain text
  16377. #: guix-git/doc/guix.texi:10624
  16378. 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:"
  16379. msgstr ""
  16380. #. type: lisp
  16381. #: guix-git/doc/guix.texi:10627
  16382. #, no-wrap
  16383. msgid ""
  16384. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  16385. "\n"
  16386. msgstr ""
  16387. #. type: lisp
  16388. #: guix-git/doc/guix.texi:10633
  16389. #, no-wrap
  16390. msgid ""
  16391. "(with-extensions (list guile-json)\n"
  16392. " (gexp->derivation \"something-with-json\"\n"
  16393. " #~(begin\n"
  16394. " (use-modules (json))\n"
  16395. " @dots{})))\n"
  16396. msgstr ""
  16397. #. type: Plain text
  16398. #: guix-git/doc/guix.texi:10636
  16399. msgid "The syntactic form to construct gexps is summarized below."
  16400. msgstr ""
  16401. #. type: deffn
  16402. #: guix-git/doc/guix.texi:10637
  16403. #, no-wrap
  16404. msgid "{Scheme Syntax} #~@var{exp}"
  16405. msgstr ""
  16406. #. type: deffnx
  16407. #: guix-git/doc/guix.texi:10638
  16408. #, no-wrap
  16409. msgid "{Scheme Syntax} (gexp @var{exp})"
  16410. msgstr ""
  16411. #. type: deffn
  16412. #: guix-git/doc/guix.texi:10641
  16413. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  16414. msgstr ""
  16415. #. type: item
  16416. #: guix-git/doc/guix.texi:10643
  16417. #, no-wrap
  16418. msgid "#$@var{obj}"
  16419. msgstr ""
  16420. #. type: itemx
  16421. #: guix-git/doc/guix.texi:10644
  16422. #, no-wrap
  16423. msgid "(ungexp @var{obj})"
  16424. msgstr ""
  16425. #. type: table
  16426. #: guix-git/doc/guix.texi:10649
  16427. 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}."
  16428. msgstr ""
  16429. #. type: table
  16430. #: guix-git/doc/guix.texi:10652
  16431. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  16432. msgstr ""
  16433. #. type: table
  16434. #: guix-git/doc/guix.texi:10655
  16435. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  16436. msgstr ""
  16437. #. type: table
  16438. #: guix-git/doc/guix.texi:10657
  16439. msgid "If @var{obj} is another kind of object, it is inserted as is."
  16440. msgstr ""
  16441. #. type: item
  16442. #: guix-git/doc/guix.texi:10658
  16443. #, no-wrap
  16444. msgid "#$@var{obj}:@var{output}"
  16445. msgstr "#$@var{obj}:@var{saída}"
  16446. #. type: itemx
  16447. #: guix-git/doc/guix.texi:10659
  16448. #, no-wrap
  16449. msgid "(ungexp @var{obj} @var{output})"
  16450. msgstr "(ungexp @var{obj} @var{saída})"
  16451. #. type: table
  16452. #: guix-git/doc/guix.texi:10663
  16453. 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})."
  16454. msgstr ""
  16455. #. type: item
  16456. #: guix-git/doc/guix.texi:10664
  16457. #, no-wrap
  16458. msgid "#+@var{obj}"
  16459. msgstr ""
  16460. #. type: itemx
  16461. #: guix-git/doc/guix.texi:10665
  16462. #, no-wrap
  16463. msgid "#+@var{obj}:output"
  16464. msgstr "#+@var{obj}:output"
  16465. #. type: itemx
  16466. #: guix-git/doc/guix.texi:10666
  16467. #, no-wrap
  16468. msgid "(ungexp-native @var{obj})"
  16469. msgstr ""
  16470. #. type: itemx
  16471. #: guix-git/doc/guix.texi:10667
  16472. #, no-wrap
  16473. msgid "(ungexp-native @var{obj} @var{output})"
  16474. msgstr ""
  16475. #. type: table
  16476. #: guix-git/doc/guix.texi:10670
  16477. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  16478. msgstr ""
  16479. #. type: item
  16480. #: guix-git/doc/guix.texi:10671
  16481. #, no-wrap
  16482. msgid "#$output[:@var{output}]"
  16483. msgstr "#$output[:@var{saída}]"
  16484. #. type: itemx
  16485. #: guix-git/doc/guix.texi:10672
  16486. #, no-wrap
  16487. msgid "(ungexp output [@var{output}])"
  16488. msgstr "(ungexp output [@var{saída}])"
  16489. #. type: table
  16490. #: guix-git/doc/guix.texi:10675
  16491. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  16492. msgstr ""
  16493. #. type: table
  16494. #: guix-git/doc/guix.texi:10677
  16495. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  16496. msgstr ""
  16497. #. type: item
  16498. #: guix-git/doc/guix.texi:10678
  16499. #, no-wrap
  16500. msgid "#$@@@var{lst}"
  16501. msgstr ""
  16502. #. type: itemx
  16503. #: guix-git/doc/guix.texi:10679
  16504. #, no-wrap
  16505. msgid "(ungexp-splicing @var{lst})"
  16506. msgstr ""
  16507. #. type: table
  16508. #: guix-git/doc/guix.texi:10682
  16509. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  16510. msgstr ""
  16511. #. type: item
  16512. #: guix-git/doc/guix.texi:10683
  16513. #, no-wrap
  16514. msgid "#+@@@var{lst}"
  16515. msgstr ""
  16516. #. type: itemx
  16517. #: guix-git/doc/guix.texi:10684
  16518. #, no-wrap
  16519. msgid "(ungexp-native-splicing @var{lst})"
  16520. msgstr ""
  16521. #. type: table
  16522. #: guix-git/doc/guix.texi:10687
  16523. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  16524. msgstr ""
  16525. #. type: deffn
  16526. #: guix-git/doc/guix.texi:10692
  16527. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  16528. msgstr ""
  16529. #. type: deffn
  16530. #: guix-git/doc/guix.texi:10694
  16531. #, no-wrap
  16532. msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}"
  16533. msgstr ""
  16534. #. type: deffn
  16535. #: guix-git/doc/guix.texi:10697
  16536. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  16537. msgstr ""
  16538. #. type: deffn
  16539. #: guix-git/doc/guix.texi:10701
  16540. 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:"
  16541. msgstr ""
  16542. #. type: lisp
  16543. #: guix-git/doc/guix.texi:10707
  16544. #, no-wrap
  16545. msgid ""
  16546. "`((guix build utils)\n"
  16547. " (guix gcrypt)\n"
  16548. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  16549. " #~(define-module @dots{}))))\n"
  16550. msgstr ""
  16551. #. type: deffn
  16552. #: guix-git/doc/guix.texi:10712
  16553. 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."
  16554. msgstr ""
  16555. #. type: deffn
  16556. #: guix-git/doc/guix.texi:10716
  16557. 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{}."
  16558. msgstr ""
  16559. #. type: deffn
  16560. #: guix-git/doc/guix.texi:10718
  16561. #, no-wrap
  16562. msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}"
  16563. msgstr ""
  16564. #. type: deffn
  16565. #: guix-git/doc/guix.texi:10723
  16566. 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."
  16567. msgstr ""
  16568. #. type: deffn
  16569. #: guix-git/doc/guix.texi:10728
  16570. 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{}."
  16571. msgstr ""
  16572. #. type: deffn
  16573. #: guix-git/doc/guix.texi:10730
  16574. #, no-wrap
  16575. msgid "{Scheme Procedure} gexp? @var{obj}"
  16576. msgstr ""
  16577. #. type: deffn
  16578. #: guix-git/doc/guix.texi:10732
  16579. msgid "Return @code{#t} if @var{obj} is a G-expression."
  16580. msgstr ""
  16581. #. type: Plain text
  16582. #: guix-git/doc/guix.texi:10738
  16583. 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)."
  16584. msgstr ""
  16585. #. type: deffn
  16586. #: guix-git/doc/guix.texi:10739
  16587. #, no-wrap
  16588. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  16589. msgstr ""
  16590. #. type: deffn
  16591. #: guix-git/doc/guix.texi:10757
  16592. 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}."
  16593. msgstr ""
  16594. #. type: deffn
  16595. #: guix-git/doc/guix.texi:10765
  16596. 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))}."
  16597. msgstr ""
  16598. #. type: deffn
  16599. #: guix-git/doc/guix.texi:10768
  16600. 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\"}."
  16601. msgstr ""
  16602. #. type: deffn
  16603. #: guix-git/doc/guix.texi:10771
  16604. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  16605. msgstr ""
  16606. #. type: deffn
  16607. #: guix-git/doc/guix.texi:10774
  16608. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  16609. msgstr ""
  16610. #. type: example
  16611. #: guix-git/doc/guix.texi:10781
  16612. #, no-wrap
  16613. msgid ""
  16614. "(@var{file-name} @var{package})\n"
  16615. "(@var{file-name} @var{package} @var{output})\n"
  16616. "(@var{file-name} @var{derivation})\n"
  16617. "(@var{file-name} @var{derivation} @var{output})\n"
  16618. "(@var{file-name} @var{store-item})\n"
  16619. msgstr ""
  16620. #. type: deffn
  16621. #: guix-git/doc/guix.texi:10787
  16622. 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."
  16623. msgstr ""
  16624. #. type: deffn
  16625. #: guix-git/doc/guix.texi:10793
  16626. 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."
  16627. msgstr ""
  16628. #. type: deffn
  16629. #: guix-git/doc/guix.texi:10796
  16630. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  16631. msgstr ""
  16632. #. type: deffn
  16633. #: guix-git/doc/guix.texi:10798
  16634. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  16635. msgstr ""
  16636. #. type: cindex
  16637. #: guix-git/doc/guix.texi:10800
  16638. #, no-wrap
  16639. msgid "file-like objects"
  16640. msgstr ""
  16641. #. type: Plain text
  16642. #: guix-git/doc/guix.texi:10805
  16643. 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:"
  16644. msgstr ""
  16645. #. type: lisp
  16646. #: guix-git/doc/guix.texi:10809
  16647. #, no-wrap
  16648. msgid ""
  16649. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  16650. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  16651. msgstr ""
  16652. #. type: Plain text
  16653. #: guix-git/doc/guix.texi:10818
  16654. 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."
  16655. msgstr ""
  16656. #. type: deffn
  16657. #: guix-git/doc/guix.texi:10819
  16658. #, no-wrap
  16659. msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @"
  16660. msgstr ""
  16661. #. type: deffn
  16662. #: guix-git/doc/guix.texi:10828
  16663. msgid "[#:recursive? #f] [#:select? (const #t)] 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}."
  16664. msgstr ""
  16665. #. type: deffn
  16666. #: guix-git/doc/guix.texi:10840
  16667. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  16668. msgstr ""
  16669. #. type: deffn
  16670. #: guix-git/doc/guix.texi:10842
  16671. #, no-wrap
  16672. msgid "{Scheme Procedure} plain-file @var{name} @var{content}"
  16673. msgstr ""
  16674. #. type: deffn
  16675. #: guix-git/doc/guix.texi:10845
  16676. 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."
  16677. msgstr ""
  16678. #. type: deffn
  16679. #: guix-git/doc/guix.texi:10847
  16680. msgid "This is the declarative counterpart of @code{text-file}."
  16681. msgstr ""
  16682. #. type: deffn
  16683. #: guix-git/doc/guix.texi:10849
  16684. #, no-wrap
  16685. msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @"
  16686. msgstr ""
  16687. #. type: deffn
  16688. #: guix-git/doc/guix.texi:10856
  16689. msgid "[#:local-build? #t] [#:options '()] 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}."
  16690. msgstr ""
  16691. #. type: deffn
  16692. #: guix-git/doc/guix.texi:10858
  16693. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  16694. msgstr ""
  16695. #. type: deffn
  16696. #: guix-git/doc/guix.texi:10860
  16697. #, no-wrap
  16698. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  16699. msgstr ""
  16700. #. type: deffn
  16701. #: guix-git/doc/guix.texi:10866
  16702. 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}."
  16703. msgstr ""
  16704. #. type: deffn
  16705. #: guix-git/doc/guix.texi:10869
  16706. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  16707. msgstr ""
  16708. #. type: lisp
  16709. #: guix-git/doc/guix.texi:10872
  16710. #, no-wrap
  16711. msgid ""
  16712. "(use-modules (guix gexp) (gnu packages base))\n"
  16713. "\n"
  16714. msgstr ""
  16715. #. type: lisp
  16716. #: guix-git/doc/guix.texi:10876
  16717. #, no-wrap
  16718. msgid ""
  16719. "(gexp->script \"list-files\"\n"
  16720. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  16721. " \"ls\"))\n"
  16722. msgstr ""
  16723. #. type: deffn
  16724. #: guix-git/doc/guix.texi:10881
  16725. 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:"
  16726. msgstr ""
  16727. #. type: example
  16728. #: guix-git/doc/guix.texi:10886
  16729. #, no-wrap
  16730. msgid ""
  16731. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  16732. "!#\n"
  16733. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  16734. msgstr ""
  16735. #. type: deffn
  16736. #: guix-git/doc/guix.texi:10889
  16737. #, no-wrap
  16738. msgid "{Scheme Procedure} program-file @var{name} @var{exp} @"
  16739. msgstr ""
  16740. #. type: deffn
  16741. #: guix-git/doc/guix.texi:10894
  16742. msgid "[#:guile #f] [#:module-path %load-path] 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}."
  16743. msgstr ""
  16744. #. type: deffn
  16745. #: guix-git/doc/guix.texi:10896
  16746. msgid "This is the declarative counterpart of @code{gexp->script}."
  16747. msgstr ""
  16748. #. type: deffn
  16749. #: guix-git/doc/guix.texi:10898
  16750. #, no-wrap
  16751. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  16752. msgstr ""
  16753. #. type: deffn
  16754. #: guix-git/doc/guix.texi:10905
  16755. 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."
  16756. msgstr ""
  16757. #. type: deffn
  16758. #: guix-git/doc/guix.texi:10910
  16759. 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}."
  16760. msgstr ""
  16761. #. type: deffn
  16762. #: guix-git/doc/guix.texi:10913
  16763. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  16764. msgstr ""
  16765. #. type: deffn
  16766. #: guix-git/doc/guix.texi:10915
  16767. #, no-wrap
  16768. msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} @"
  16769. msgstr ""
  16770. #. type: deffn
  16771. #: guix-git/doc/guix.texi:10919
  16772. msgid "[#:splice? #f] [#:set-load-path? #t] Return an object representing the Scheme file @var{name} that contains @var{exp}."
  16773. msgstr ""
  16774. #. type: deffn
  16775. #: guix-git/doc/guix.texi:10921
  16776. msgid "This is the declarative counterpart of @code{gexp->file}."
  16777. msgstr ""
  16778. #. type: deffn
  16779. #: guix-git/doc/guix.texi:10923
  16780. #, no-wrap
  16781. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  16782. msgstr ""
  16783. #. type: deffn
  16784. #: guix-git/doc/guix.texi:10929
  16785. 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."
  16786. msgstr ""
  16787. #. type: deffn
  16788. #: guix-git/doc/guix.texi:10934
  16789. 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:"
  16790. msgstr ""
  16791. #. type: lisp
  16792. #: guix-git/doc/guix.texi:10942
  16793. #, no-wrap
  16794. msgid ""
  16795. "(define (profile.sh)\n"
  16796. " ;; Return the name of a shell script in the store that\n"
  16797. " ;; initializes the 'PATH' environment variable.\n"
  16798. " (text-file* \"profile.sh\"\n"
  16799. " \"export PATH=\" coreutils \"/bin:\"\n"
  16800. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  16801. msgstr ""
  16802. #. type: deffn
  16803. #: guix-git/doc/guix.texi:10947
  16804. 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."
  16805. msgstr ""
  16806. #. type: deffn
  16807. #: guix-git/doc/guix.texi:10949
  16808. #, no-wrap
  16809. msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}"
  16810. msgstr ""
  16811. #. type: deffn
  16812. #: guix-git/doc/guix.texi:10953
  16813. 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:"
  16814. msgstr ""
  16815. #. type: lisp
  16816. #: guix-git/doc/guix.texi:10957
  16817. #, no-wrap
  16818. msgid ""
  16819. "(mixed-text-file \"profile\"\n"
  16820. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  16821. msgstr ""
  16822. #. type: deffn
  16823. #: guix-git/doc/guix.texi:10960
  16824. msgid "This is the declarative counterpart of @code{text-file*}."
  16825. msgstr ""
  16826. #. type: deffn
  16827. #: guix-git/doc/guix.texi:10962
  16828. #, no-wrap
  16829. msgid "{Scheme Procedure} file-union @var{name} @var{files}"
  16830. msgstr ""
  16831. #. type: deffn
  16832. #: guix-git/doc/guix.texi:10967
  16833. 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:"
  16834. msgstr ""
  16835. #. type: lisp
  16836. #: guix-git/doc/guix.texi:10974
  16837. #, no-wrap
  16838. msgid ""
  16839. "(file-union \"etc\"\n"
  16840. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  16841. " \"127.0.0.1 localhost\"))\n"
  16842. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  16843. " \"alias ls='ls --color=auto'\"))))\n"
  16844. msgstr ""
  16845. #. type: deffn
  16846. #: guix-git/doc/guix.texi:10977
  16847. msgid "This yields an @code{etc} directory containing these two files."
  16848. msgstr ""
  16849. #. type: deffn
  16850. #: guix-git/doc/guix.texi:10979
  16851. #, no-wrap
  16852. msgid "{Scheme Procedure} directory-union @var{name} @var{things}"
  16853. msgstr ""
  16854. #. type: deffn
  16855. #: guix-git/doc/guix.texi:10982
  16856. 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:"
  16857. msgstr ""
  16858. #. type: lisp
  16859. #: guix-git/doc/guix.texi:10985
  16860. #, no-wrap
  16861. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  16862. msgstr ""
  16863. #. type: deffn
  16864. #: guix-git/doc/guix.texi:10988
  16865. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  16866. msgstr ""
  16867. #. type: deffn
  16868. #: guix-git/doc/guix.texi:10990
  16869. #, no-wrap
  16870. msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}"
  16871. msgstr ""
  16872. #. type: deffn
  16873. #: guix-git/doc/guix.texi:10994
  16874. 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."
  16875. msgstr ""
  16876. #. type: deffn
  16877. #: guix-git/doc/guix.texi:10996
  16878. msgid "As an example, consider this gexp:"
  16879. msgstr ""
  16880. #. type: lisp
  16881. #: guix-git/doc/guix.texi:11001
  16882. #, no-wrap
  16883. msgid ""
  16884. "(gexp->script \"run-uname\"\n"
  16885. " #~(system* #$(file-append coreutils\n"
  16886. " \"/bin/uname\")))\n"
  16887. msgstr ""
  16888. #. type: deffn
  16889. #: guix-git/doc/guix.texi:11004
  16890. msgid "The same effect could be achieved with:"
  16891. msgstr ""
  16892. #. type: lisp
  16893. #: guix-git/doc/guix.texi:11009
  16894. #, no-wrap
  16895. msgid ""
  16896. "(gexp->script \"run-uname\"\n"
  16897. " #~(system* (string-append #$coreutils\n"
  16898. " \"/bin/uname\")))\n"
  16899. msgstr ""
  16900. #. type: deffn
  16901. #: guix-git/doc/guix.texi:11015
  16902. 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}."
  16903. msgstr ""
  16904. #. type: deffn
  16905. #: guix-git/doc/guix.texi:11017
  16906. #, no-wrap
  16907. msgid "{Scheme Syntax} let-system @var{system} @var{body}@dots{}"
  16908. msgstr ""
  16909. #. type: deffnx
  16910. #: guix-git/doc/guix.texi:11018
  16911. #, no-wrap
  16912. msgid "{Scheme Syntax} let-system (@var{system} @var{target}) @var{body}@dots{}"
  16913. msgstr ""
  16914. #. type: deffn
  16915. #: guix-git/doc/guix.texi:11021
  16916. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  16917. msgstr ""
  16918. #. type: deffn
  16919. #: guix-git/doc/guix.texi:11026
  16920. 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."
  16921. msgstr ""
  16922. #. type: deffn
  16923. #: guix-git/doc/guix.texi:11029
  16924. 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:"
  16925. msgstr ""
  16926. #. type: lisp
  16927. #: guix-git/doc/guix.texi:11040
  16928. #, no-wrap
  16929. msgid ""
  16930. "#~(system*\n"
  16931. " #+(let-system system\n"
  16932. " (cond ((string-prefix? \"armhf-\" system)\n"
  16933. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  16934. " ((string-prefix? \"x86_64-\" system)\n"
  16935. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  16936. " (else\n"
  16937. " (error \"dunno!\"))))\n"
  16938. " \"-net\" \"user\" #$image)\n"
  16939. msgstr ""
  16940. #. type: deffn
  16941. #: guix-git/doc/guix.texi:11043
  16942. #, no-wrap
  16943. msgid "{Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp}"
  16944. msgstr ""
  16945. #. type: deffn
  16946. #: guix-git/doc/guix.texi:11049
  16947. 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."
  16948. msgstr ""
  16949. #. type: deffn
  16950. #: guix-git/doc/guix.texi:11052
  16951. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  16952. msgstr ""
  16953. #. type: lisp
  16954. #: guix-git/doc/guix.texi:11056
  16955. #, no-wrap
  16956. msgid ""
  16957. "(with-parameters ((%current-system \"i686-linux\"))\n"
  16958. " coreutils)\n"
  16959. msgstr ""
  16960. #. type: deffn
  16961. #: guix-git/doc/guix.texi:11060
  16962. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  16963. msgstr ""
  16964. #. type: Plain text
  16965. #: guix-git/doc/guix.texi:11067
  16966. 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."
  16967. msgstr ""
  16968. #. type: Plain text
  16969. #: guix-git/doc/guix.texi:11073
  16970. 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."
  16971. msgstr ""
  16972. #. type: deffn
  16973. #: guix-git/doc/guix.texi:11074
  16974. #, no-wrap
  16975. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  16976. msgstr ""
  16977. #. type: deffn
  16978. #: guix-git/doc/guix.texi:11080
  16979. 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>}."
  16980. msgstr ""
  16981. #. type: deffn
  16982. #: guix-git/doc/guix.texi:11082
  16983. #, no-wrap
  16984. msgid "{Procedure} gexp->approximate-sexp @var{gexp}"
  16985. msgstr ""
  16986. #. type: deffn
  16987. #: guix-git/doc/guix.texi:11090
  16988. 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."
  16989. msgstr ""
  16990. #. type: section
  16991. #: guix-git/doc/guix.texi:11093
  16992. #, no-wrap
  16993. msgid "Invoking @command{guix repl}"
  16994. msgstr "Invocando @command{guix repl}"
  16995. #. type: cindex
  16996. #: guix-git/doc/guix.texi:11095
  16997. #, no-wrap
  16998. msgid "REPL, read-eval-print loop, script"
  16999. msgstr ""
  17000. #. type: Plain text
  17001. #: guix-git/doc/guix.texi:11105
  17002. 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."
  17003. msgstr ""
  17004. #. type: example
  17005. #: guix-git/doc/guix.texi:11110
  17006. #, no-wrap
  17007. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  17008. msgstr ""
  17009. #. type: Plain text
  17010. #: guix-git/doc/guix.texi:11114
  17011. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  17012. msgstr ""
  17013. #. type: example
  17014. #: guix-git/doc/guix.texi:11117
  17015. #, no-wrap
  17016. msgid "guix repl my-script.scm\n"
  17017. msgstr ""
  17018. #. type: Plain text
  17019. #: guix-git/doc/guix.texi:11121
  17020. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  17021. msgstr ""
  17022. #. type: example
  17023. #: guix-git/doc/guix.texi:11124
  17024. #, no-wrap
  17025. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  17026. msgstr ""
  17027. #. type: Plain text
  17028. #: guix-git/doc/guix.texi:11129
  17029. 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:"
  17030. msgstr ""
  17031. #. type: example
  17032. #: guix-git/doc/guix.texi:11133
  17033. #, no-wrap
  17034. msgid ""
  17035. "@code{#!/usr/bin/env -S guix repl --}\n"
  17036. "@code{!#}\n"
  17037. msgstr ""
  17038. #. type: Plain text
  17039. #: guix-git/doc/guix.texi:11136
  17040. msgid "Without a file name argument, a Guile REPL is started:"
  17041. msgstr ""
  17042. #. type: example
  17043. #: guix-git/doc/guix.texi:11142
  17044. #, no-wrap
  17045. msgid ""
  17046. "$ guix repl\n"
  17047. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  17048. "scheme@@(guile-user)> coreutils\n"
  17049. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  17050. msgstr ""
  17051. #. type: Plain text
  17052. #: guix-git/doc/guix.texi:11149
  17053. 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."
  17054. msgstr ""
  17055. #. type: Plain text
  17056. #: guix-git/doc/guix.texi:11151
  17057. msgid "The available options are as follows:"
  17058. msgstr ""
  17059. #. type: item
  17060. #: guix-git/doc/guix.texi:11153 guix-git/doc/guix.texi:13872
  17061. #, no-wrap
  17062. msgid "--type=@var{type}"
  17063. msgstr ""
  17064. #. type: itemx
  17065. #: guix-git/doc/guix.texi:11154 guix-git/doc/guix.texi:13873
  17066. #: guix-git/doc/guix.texi:35839
  17067. #, no-wrap
  17068. msgid "-t @var{type}"
  17069. msgstr "-t @var{tipo}"
  17070. #. type: table
  17071. #: guix-git/doc/guix.texi:11156
  17072. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  17073. msgstr ""
  17074. #. type: item
  17075. #: guix-git/doc/guix.texi:11158
  17076. #, no-wrap
  17077. msgid "guile"
  17078. msgstr ""
  17079. #. type: table
  17080. #: guix-git/doc/guix.texi:11160
  17081. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  17082. msgstr ""
  17083. #. type: item
  17084. #: guix-git/doc/guix.texi:11160
  17085. #, no-wrap
  17086. msgid "machine"
  17087. msgstr ""
  17088. #. type: table
  17089. #: guix-git/doc/guix.texi:11163
  17090. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  17091. msgstr ""
  17092. #. type: table
  17093. #: guix-git/doc/guix.texi:11169
  17094. 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:"
  17095. msgstr ""
  17096. #. type: item
  17097. #: guix-git/doc/guix.texi:11171
  17098. #, no-wrap
  17099. msgid "--listen=tcp:37146"
  17100. msgstr ""
  17101. #. type: table
  17102. #: guix-git/doc/guix.texi:11173
  17103. msgid "Accept connections on localhost on port 37146."
  17104. msgstr ""
  17105. #. type: item
  17106. #: guix-git/doc/guix.texi:11174
  17107. #, no-wrap
  17108. msgid "--listen=unix:/tmp/socket"
  17109. msgstr ""
  17110. #. type: table
  17111. #: guix-git/doc/guix.texi:11176
  17112. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  17113. msgstr ""
  17114. #. type: item
  17115. #: guix-git/doc/guix.texi:11178 guix-git/doc/guix.texi:11283
  17116. #: guix-git/doc/guix.texi:13182 guix-git/doc/guix.texi:13300
  17117. #: guix-git/doc/guix.texi:13507 guix-git/doc/guix.texi:13652
  17118. #: guix-git/doc/guix.texi:13920
  17119. #, no-wrap
  17120. msgid "--load-path=@var{directory}"
  17121. msgstr ""
  17122. #. type: itemx
  17123. #: guix-git/doc/guix.texi:11179 guix-git/doc/guix.texi:11284
  17124. #: guix-git/doc/guix.texi:13301 guix-git/doc/guix.texi:13508
  17125. #: guix-git/doc/guix.texi:13653 guix-git/doc/guix.texi:13921
  17126. #, no-wrap
  17127. msgid "-L @var{directory}"
  17128. msgstr "-L @var{diretório}"
  17129. #. type: table
  17130. #: guix-git/doc/guix.texi:11182 guix-git/doc/guix.texi:11287
  17131. #: guix-git/doc/guix.texi:13185 guix-git/doc/guix.texi:13304
  17132. #: guix-git/doc/guix.texi:13511 guix-git/doc/guix.texi:13656
  17133. #: guix-git/doc/guix.texi:13924
  17134. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  17135. msgstr ""
  17136. #. type: table
  17137. #: guix-git/doc/guix.texi:11185
  17138. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  17139. msgstr ""
  17140. #. type: itemx
  17141. #: guix-git/doc/guix.texi:11186 guix-git/doc/guix.texi:11808
  17142. #, no-wrap
  17143. msgid "-q"
  17144. msgstr ""
  17145. #. type: table
  17146. #: guix-git/doc/guix.texi:11189
  17147. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  17148. msgstr ""
  17149. #. type: Plain text
  17150. #: guix-git/doc/guix.texi:11199
  17151. 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."
  17152. msgstr ""
  17153. #. type: cindex
  17154. #: guix-git/doc/guix.texi:11222
  17155. #, no-wrap
  17156. msgid "package building"
  17157. msgstr ""
  17158. #. type: command{#1}
  17159. #: guix-git/doc/guix.texi:11223
  17160. #, no-wrap
  17161. msgid "guix build"
  17162. msgstr ""
  17163. #. type: Plain text
  17164. #: guix-git/doc/guix.texi:11229
  17165. 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."
  17166. msgstr ""
  17167. #. type: example
  17168. #: guix-git/doc/guix.texi:11234
  17169. #, no-wrap
  17170. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  17171. msgstr ""
  17172. #. type: Plain text
  17173. #: guix-git/doc/guix.texi:11239
  17174. 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:"
  17175. msgstr ""
  17176. #. type: example
  17177. #: guix-git/doc/guix.texi:11242
  17178. #, no-wrap
  17179. msgid "guix build emacs guile\n"
  17180. msgstr ""
  17181. #. type: Plain text
  17182. #: guix-git/doc/guix.texi:11245
  17183. msgid "Similarly, the following command builds all the available packages:"
  17184. msgstr ""
  17185. #. type: example
  17186. #: guix-git/doc/guix.texi:11249
  17187. #, no-wrap
  17188. msgid ""
  17189. "guix build --quiet --keep-going \\\n"
  17190. " $(guix package -A | awk '@{ print $1 \"@@\" $2 @}')\n"
  17191. msgstr ""
  17192. #. type: Plain text
  17193. #: guix-git/doc/guix.texi:11257
  17194. 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})."
  17195. msgstr ""
  17196. #. type: Plain text
  17197. #: guix-git/doc/guix.texi:11262
  17198. 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."
  17199. msgstr ""
  17200. #. type: Plain text
  17201. #: guix-git/doc/guix.texi:11265
  17202. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  17203. msgstr ""
  17204. #. type: Plain text
  17205. #: guix-git/doc/guix.texi:11280
  17206. 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:"
  17207. msgstr ""
  17208. #. type: table
  17209. #: guix-git/doc/guix.texi:11290 guix-git/doc/guix.texi:13188
  17210. #: guix-git/doc/guix.texi:13514 guix-git/doc/guix.texi:13659
  17211. #: guix-git/doc/guix.texi:13927
  17212. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  17213. msgstr ""
  17214. #. type: item
  17215. #: guix-git/doc/guix.texi:11291
  17216. #, no-wrap
  17217. msgid "--keep-failed"
  17218. msgstr "--keep-failed"
  17219. #. type: itemx
  17220. #: guix-git/doc/guix.texi:11292
  17221. #, no-wrap
  17222. msgid "-K"
  17223. msgstr ""
  17224. #. type: table
  17225. #: guix-git/doc/guix.texi:11298
  17226. 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."
  17227. msgstr ""
  17228. #. type: table
  17229. #: guix-git/doc/guix.texi:11302
  17230. 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})."
  17231. msgstr ""
  17232. #. type: item
  17233. #: guix-git/doc/guix.texi:11303
  17234. #, no-wrap
  17235. msgid "--keep-going"
  17236. msgstr "--keep-going"
  17237. #. type: itemx
  17238. #: guix-git/doc/guix.texi:11304
  17239. #, no-wrap
  17240. msgid "-k"
  17241. msgstr ""
  17242. #. type: table
  17243. #: guix-git/doc/guix.texi:11307
  17244. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  17245. msgstr ""
  17246. #. type: table
  17247. #: guix-git/doc/guix.texi:11310
  17248. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  17249. msgstr ""
  17250. #. type: table
  17251. #: guix-git/doc/guix.texi:11314
  17252. msgid "Do not build the derivations."
  17253. msgstr ""
  17254. #. type: anchor{#1}
  17255. #: guix-git/doc/guix.texi:11316
  17256. msgid "fallback-option"
  17257. msgstr "fallback-option"
  17258. #. type: item
  17259. #: guix-git/doc/guix.texi:11316
  17260. #, no-wrap
  17261. msgid "--fallback"
  17262. msgstr "--fallback"
  17263. #. type: table
  17264. #: guix-git/doc/guix.texi:11319
  17265. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  17266. msgstr ""
  17267. #. type: anchor{#1}
  17268. #: guix-git/doc/guix.texi:11325
  17269. msgid "client-substitute-urls"
  17270. msgstr ""
  17271. #. type: table
  17272. #: guix-git/doc/guix.texi:11325
  17273. 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})."
  17274. msgstr ""
  17275. #. type: table
  17276. #: guix-git/doc/guix.texi:11329
  17277. 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})."
  17278. msgstr ""
  17279. #. type: table
  17280. #: guix-git/doc/guix.texi:11332
  17281. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  17282. msgstr ""
  17283. #. type: item
  17284. #: guix-git/doc/guix.texi:11338
  17285. #, no-wrap
  17286. msgid "--no-grafts"
  17287. msgstr "--no-grafts"
  17288. #. type: table
  17289. #: guix-git/doc/guix.texi:11342
  17290. 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."
  17291. msgstr ""
  17292. #. type: item
  17293. #: guix-git/doc/guix.texi:11343
  17294. #, no-wrap
  17295. msgid "--rounds=@var{n}"
  17296. msgstr "--rounds=@var{n}"
  17297. #. type: table
  17298. #: guix-git/doc/guix.texi:11346
  17299. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  17300. msgstr ""
  17301. #. type: table
  17302. #: guix-git/doc/guix.texi:11351
  17303. 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."
  17304. msgstr ""
  17305. #. type: table
  17306. #: guix-git/doc/guix.texi:11367
  17307. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  17308. msgstr ""
  17309. #. type: table
  17310. #: guix-git/doc/guix.texi:11374
  17311. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  17312. msgstr ""
  17313. #. type: cindex
  17314. #: guix-git/doc/guix.texi:11377
  17315. #, no-wrap
  17316. msgid "verbosity, of the command-line tools"
  17317. msgstr ""
  17318. #. type: cindex
  17319. #: guix-git/doc/guix.texi:11378
  17320. #, no-wrap
  17321. msgid "build logs, verbosity"
  17322. msgstr ""
  17323. #. type: item
  17324. #: guix-git/doc/guix.texi:11379
  17325. #, no-wrap
  17326. msgid "-v @var{level}"
  17327. msgstr ""
  17328. #. type: itemx
  17329. #: guix-git/doc/guix.texi:11380
  17330. #, no-wrap
  17331. msgid "--verbosity=@var{level}"
  17332. msgstr ""
  17333. #. type: table
  17334. #: guix-git/doc/guix.texi:11385
  17335. 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."
  17336. msgstr ""
  17337. #. type: table
  17338. #: guix-git/doc/guix.texi:11390
  17339. 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."
  17340. msgstr ""
  17341. #. type: table
  17342. #: guix-git/doc/guix.texi:11396
  17343. 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."
  17344. msgstr ""
  17345. #. type: item
  17346. #: guix-git/doc/guix.texi:11397
  17347. #, no-wrap
  17348. msgid "--debug=@var{level}"
  17349. msgstr ""
  17350. #. type: table
  17351. #: guix-git/doc/guix.texi:11401
  17352. 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."
  17353. msgstr ""
  17354. #. type: Plain text
  17355. #: guix-git/doc/guix.texi:11408
  17356. 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."
  17357. msgstr ""
  17358. #. type: Plain text
  17359. #: guix-git/doc/guix.texi:11412
  17360. 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."
  17361. msgstr ""
  17362. #. type: defvr
  17363. #: guix-git/doc/guix.texi:11413
  17364. #, no-wrap
  17365. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  17366. msgstr ""
  17367. #. type: defvr
  17368. #: guix-git/doc/guix.texi:11418
  17369. 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:"
  17370. msgstr ""
  17371. #. type: example
  17372. #: guix-git/doc/guix.texi:11421
  17373. #, no-wrap
  17374. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  17375. msgstr ""
  17376. #. type: defvr
  17377. #: guix-git/doc/guix.texi:11425
  17378. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  17379. msgstr ""
  17380. #. type: cindex
  17381. #: guix-git/doc/guix.texi:11431
  17382. #, no-wrap
  17383. msgid "package variants"
  17384. msgstr ""
  17385. #. type: Plain text
  17386. #: guix-git/doc/guix.texi:11439
  17387. 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})."
  17388. msgstr ""
  17389. #. type: Plain text
  17390. #: guix-git/doc/guix.texi:11443
  17391. 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."
  17392. msgstr ""
  17393. #. type: Plain text
  17394. #: guix-git/doc/guix.texi:11448
  17395. 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)."
  17396. msgstr ""
  17397. #. type: cindex
  17398. #: guix-git/doc/guix.texi:11451
  17399. #, fuzzy, no-wrap
  17400. #| msgid "formatting code"
  17401. msgid "performance, tuning code"
  17402. msgstr "formatação de código"
  17403. #. type: cindex
  17404. #: guix-git/doc/guix.texi:11452
  17405. #, fuzzy, no-wrap
  17406. #| msgid "customization, of packages"
  17407. msgid "optimization, of package code"
  17408. msgstr "personalização, de pacotes"
  17409. #. type: cindex
  17410. #: guix-git/doc/guix.texi:11453
  17411. #, fuzzy, no-wrap
  17412. #| msgid "formatting, of code"
  17413. msgid "tuning, of package code"
  17414. msgstr "formatação, de código"
  17415. #. type: cindex
  17416. #: guix-git/doc/guix.texi:11454
  17417. #, no-wrap
  17418. msgid "SIMD support"
  17419. msgstr ""
  17420. #. type: cindex
  17421. #: guix-git/doc/guix.texi:11455
  17422. #, fuzzy, no-wrap
  17423. #| msgid "packages"
  17424. msgid "tunable packages"
  17425. msgstr "pacotes"
  17426. #. type: cindex
  17427. #: guix-git/doc/guix.texi:11456
  17428. #, fuzzy, no-wrap
  17429. #| msgid "package version"
  17430. msgid "package multi-versioning"
  17431. msgstr "versão de pacote"
  17432. #. type: item
  17433. #: guix-git/doc/guix.texi:11457
  17434. #, fuzzy, no-wrap
  17435. #| msgid "--coverage[=@var{count}]"
  17436. msgid "--tune[=@var{cpu}]"
  17437. msgstr "--coverage[=@var{contagem}]"
  17438. #. type: table
  17439. #: guix-git/doc/guix.texi:11461
  17440. 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."
  17441. msgstr ""
  17442. #. type: table
  17443. #: guix-git/doc/guix.texi:11467
  17444. 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)})."
  17445. msgstr ""
  17446. #. type: table
  17447. #: guix-git/doc/guix.texi:11474
  17448. 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."
  17449. msgstr ""
  17450. #. type: table
  17451. #: guix-git/doc/guix.texi:11481
  17452. 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:"
  17453. msgstr ""
  17454. #. type: lisp
  17455. #: guix-git/doc/guix.texi:11486
  17456. #, no-wrap
  17457. msgid ""
  17458. "(package\n"
  17459. " (name \"hello-simd\")\n"
  17460. " ;; ...\n"
  17461. "\n"
  17462. msgstr ""
  17463. #. type: lisp
  17464. #: guix-git/doc/guix.texi:11490
  17465. #, no-wrap
  17466. msgid ""
  17467. " ;; This package may benefit from SIMD extensions so\n"
  17468. " ;; mark it as \"tunable\".\n"
  17469. " (properties '((tunable? . #t))))\n"
  17470. msgstr ""
  17471. #. type: table
  17472. #: guix-git/doc/guix.texi:11495
  17473. 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."
  17474. msgstr ""
  17475. #. type: table
  17476. #: guix-git/doc/guix.texi:11501
  17477. 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."
  17478. msgstr ""
  17479. #. type: table
  17480. #: guix-git/doc/guix.texi:11505
  17481. 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}."
  17482. msgstr ""
  17483. #. type: table
  17484. #: guix-git/doc/guix.texi:11511
  17485. 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)})."
  17486. msgstr ""
  17487. #. type: item
  17488. #: guix-git/doc/guix.texi:11512
  17489. #, no-wrap
  17490. msgid "--with-source=@var{source}"
  17491. msgstr "--with-source=@var{fonte}"
  17492. #. type: itemx
  17493. #: guix-git/doc/guix.texi:11513
  17494. #, no-wrap
  17495. msgid "--with-source=@var{package}=@var{source}"
  17496. msgstr "--with-source=@var{pacote}=@var{fonte}"
  17497. #. type: itemx
  17498. #: guix-git/doc/guix.texi:11514
  17499. #, no-wrap
  17500. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  17501. msgstr ""
  17502. #. type: table
  17503. #: guix-git/doc/guix.texi:11519
  17504. 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})."
  17505. msgstr ""
  17506. #. type: table
  17507. #: guix-git/doc/guix.texi:11525
  17508. 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}."
  17509. msgstr ""
  17510. #. type: table
  17511. #: guix-git/doc/guix.texi:11528
  17512. 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}."
  17513. msgstr ""
  17514. #. type: table
  17515. #: guix-git/doc/guix.texi:11533
  17516. 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:"
  17517. msgstr ""
  17518. #. type: example
  17519. #: guix-git/doc/guix.texi:11536
  17520. #, no-wrap
  17521. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n"
  17522. msgstr ""
  17523. #. type: table
  17524. #: guix-git/doc/guix.texi:11540
  17525. msgid "As a developer, @option{--with-source} makes it easy to test release candidates:"
  17526. msgstr ""
  17527. #. type: example
  17528. #: guix-git/doc/guix.texi:11543
  17529. #, no-wrap
  17530. msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n"
  17531. msgstr ""
  17532. #. type: table
  17533. #: guix-git/doc/guix.texi:11546
  17534. msgid "@dots{} or to build from a checkout in a pristine environment:"
  17535. msgstr ""
  17536. #. type: example
  17537. #: guix-git/doc/guix.texi:11550
  17538. #, no-wrap
  17539. msgid ""
  17540. "$ git clone git://git.sv.gnu.org/guix.git\n"
  17541. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  17542. msgstr ""
  17543. #. type: item
  17544. #: guix-git/doc/guix.texi:11552
  17545. #, no-wrap
  17546. msgid "--with-input=@var{package}=@var{replacement}"
  17547. msgstr "--with-input=@var{pacote}=@var{substituto}"
  17548. #. type: table
  17549. #: guix-git/doc/guix.texi:11557
  17550. 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}."
  17551. msgstr ""
  17552. #. type: table
  17553. #: guix-git/doc/guix.texi:11561
  17554. 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.0}:"
  17555. msgstr ""
  17556. #. type: example
  17557. #: guix-git/doc/guix.texi:11564
  17558. #, no-wrap
  17559. msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  17560. msgstr "guix build --with-input=guile=guile@@2.0 guix\n"
  17561. #. type: table
  17562. #: guix-git/doc/guix.texi:11569
  17563. 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.0}."
  17564. msgstr ""
  17565. #. type: table
  17566. #: guix-git/doc/guix.texi:11572
  17567. msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})."
  17568. msgstr ""
  17569. #. type: item
  17570. #: guix-git/doc/guix.texi:11573
  17571. #, no-wrap
  17572. msgid "--with-graft=@var{package}=@var{replacement}"
  17573. msgstr ""
  17574. #. type: table
  17575. #: guix-git/doc/guix.texi:11579
  17576. 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."
  17577. msgstr ""
  17578. #. type: table
  17579. #: guix-git/doc/guix.texi:11583
  17580. 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:"
  17581. msgstr ""
  17582. #. type: example
  17583. #: guix-git/doc/guix.texi:11586
  17584. #, no-wrap
  17585. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  17586. msgstr ""
  17587. #. type: table
  17588. #: guix-git/doc/guix.texi:11595
  17589. 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!"
  17590. msgstr ""
  17591. #. type: cindex
  17592. #: guix-git/doc/guix.texi:11596 guix-git/doc/guix.texi:38565
  17593. #, no-wrap
  17594. msgid "debugging info, rebuilding"
  17595. msgstr ""
  17596. #. type: item
  17597. #: guix-git/doc/guix.texi:11597
  17598. #, no-wrap
  17599. msgid "--with-debug-info=@var{package}"
  17600. msgstr ""
  17601. #. type: table
  17602. #: guix-git/doc/guix.texi:11602
  17603. 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})."
  17604. msgstr ""
  17605. #. type: table
  17606. #: guix-git/doc/guix.texi:11608
  17607. 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:"
  17608. msgstr ""
  17609. #. type: example
  17610. #: guix-git/doc/guix.texi:11611 guix-git/doc/guix.texi:38596
  17611. #, no-wrap
  17612. msgid "guix install inkscape --with-debug-info=glib\n"
  17613. msgstr ""
  17614. #. type: table
  17615. #: guix-git/doc/guix.texi:11615
  17616. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  17617. msgstr ""
  17618. #. type: quotation
  17619. #: guix-git/doc/guix.texi:11621
  17620. 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."
  17621. msgstr ""
  17622. #. type: quotation
  17623. #: guix-git/doc/guix.texi:11625
  17624. 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."
  17625. msgstr ""
  17626. #. type: cindex
  17627. #: guix-git/doc/guix.texi:11627
  17628. #, no-wrap
  17629. msgid "tool chain, changing the build tool chain of a package"
  17630. msgstr ""
  17631. #. type: item
  17632. #: guix-git/doc/guix.texi:11628
  17633. #, no-wrap
  17634. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  17635. msgstr ""
  17636. #. type: table
  17637. #: guix-git/doc/guix.texi:11632
  17638. 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++."
  17639. msgstr ""
  17640. #. type: example
  17641. #: guix-git/doc/guix.texi:11639
  17642. #, no-wrap
  17643. msgid ""
  17644. "guix build octave-cli \\\n"
  17645. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  17646. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  17647. msgstr ""
  17648. #. type: table
  17649. #: guix-git/doc/guix.texi:11646
  17650. 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}."
  17651. msgstr ""
  17652. #. type: table
  17653. #: guix-git/doc/guix.texi:11650
  17654. 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:"
  17655. msgstr ""
  17656. #. type: example
  17657. #: guix-git/doc/guix.texi:11654
  17658. #, no-wrap
  17659. msgid ""
  17660. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  17661. " intel-mpi-benchmarks\n"
  17662. msgstr ""
  17663. #. type: quotation
  17664. #: guix-git/doc/guix.texi:11663
  17665. 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."
  17666. msgstr ""
  17667. #. type: item
  17668. #: guix-git/doc/guix.texi:11665
  17669. #, no-wrap
  17670. msgid "--with-git-url=@var{package}=@var{url}"
  17671. msgstr "--with-git-url=@var{pacote}=@var{url}"
  17672. #. type: cindex
  17673. #: guix-git/doc/guix.texi:11666
  17674. #, no-wrap
  17675. msgid "Git, using the latest commit"
  17676. msgstr ""
  17677. #. type: cindex
  17678. #: guix-git/doc/guix.texi:11667
  17679. #, no-wrap
  17680. msgid "latest commit, building"
  17681. msgstr ""
  17682. #. type: table
  17683. #: guix-git/doc/guix.texi:11671
  17684. 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."
  17685. msgstr ""
  17686. #. type: table
  17687. #: guix-git/doc/guix.texi:11674
  17688. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  17689. msgstr ""
  17690. #. type: example
  17691. #: guix-git/doc/guix.texi:11678
  17692. #, no-wrap
  17693. msgid ""
  17694. "guix build python-numpy \\\n"
  17695. " --with-git-url=python=https://github.com/python/cpython\n"
  17696. msgstr ""
  17697. #. type: table
  17698. #: guix-git/doc/guix.texi:11682
  17699. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  17700. msgstr ""
  17701. #. type: cindex
  17702. #: guix-git/doc/guix.texi:11683 guix-git/doc/guix.texi:29390
  17703. #, no-wrap
  17704. msgid "continuous integration"
  17705. msgstr ""
  17706. #. type: table
  17707. #: guix-git/doc/guix.texi:11689
  17708. 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)."
  17709. msgstr ""
  17710. #. type: table
  17711. #: guix-git/doc/guix.texi:11693
  17712. 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."
  17713. msgstr ""
  17714. #. type: item
  17715. #: guix-git/doc/guix.texi:11694
  17716. #, no-wrap
  17717. msgid "--with-branch=@var{package}=@var{branch}"
  17718. msgstr "--with-branch=@var{pacote}=@var{ramo}"
  17719. #. type: table
  17720. #: guix-git/doc/guix.texi:11700
  17721. 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."
  17722. msgstr ""
  17723. #. type: table
  17724. #: guix-git/doc/guix.texi:11705
  17725. 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:"
  17726. msgstr ""
  17727. #. type: example
  17728. #: guix-git/doc/guix.texi:11708
  17729. #, no-wrap
  17730. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  17731. msgstr "guix build --with-branch=guile-sqlite3=master cuirass\n"
  17732. #. type: item
  17733. #: guix-git/doc/guix.texi:11710
  17734. #, no-wrap
  17735. msgid "--with-commit=@var{package}=@var{commit}"
  17736. msgstr "--with-commit=@var{pacote}=@var{commit}"
  17737. #. type: table
  17738. #: guix-git/doc/guix.texi:11715
  17739. 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}."
  17740. msgstr ""
  17741. #. type: item
  17742. #: guix-git/doc/guix.texi:11716
  17743. #, no-wrap
  17744. msgid "--with-patch=@var{package}=@var{file}"
  17745. msgstr ""
  17746. #. type: table
  17747. #: guix-git/doc/guix.texi:11723
  17748. 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})."
  17749. msgstr ""
  17750. #. type: table
  17751. #: guix-git/doc/guix.texi:11726
  17752. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  17753. msgstr ""
  17754. #. type: example
  17755. #: guix-git/doc/guix.texi:11729
  17756. #, no-wrap
  17757. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  17758. msgstr ""
  17759. #. type: table
  17760. #: guix-git/doc/guix.texi:11733
  17761. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  17762. msgstr ""
  17763. #. type: cindex
  17764. #: guix-git/doc/guix.texi:11734
  17765. #, no-wrap
  17766. msgid "upstream, latest version"
  17767. msgstr ""
  17768. #. type: item
  17769. #: guix-git/doc/guix.texi:11735
  17770. #, no-wrap
  17771. msgid "--with-latest=@var{package}"
  17772. msgstr ""
  17773. #. type: table
  17774. #: guix-git/doc/guix.texi:11740
  17775. msgid "So you like living on the bleeding edge? This 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})."
  17776. msgstr ""
  17777. #. type: table
  17778. #: guix-git/doc/guix.texi:11744
  17779. 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."
  17780. msgstr ""
  17781. #. type: table
  17782. #: guix-git/doc/guix.texi:11747
  17783. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  17784. msgstr ""
  17785. #. type: example
  17786. #: guix-git/doc/guix.texi:11750
  17787. #, no-wrap
  17788. msgid "guix build guix --with-latest=guile-json\n"
  17789. msgstr ""
  17790. #. type: table
  17791. #: guix-git/doc/guix.texi:11759
  17792. 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."
  17793. msgstr ""
  17794. #. type: table
  17795. #: guix-git/doc/guix.texi:11764
  17796. msgid "You've been warned! In all the other cases, 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 (@pxref{Contributing})."
  17797. msgstr ""
  17798. #. type: cindex
  17799. #: guix-git/doc/guix.texi:11765
  17800. #, no-wrap
  17801. msgid "test suite, skipping"
  17802. msgstr ""
  17803. #. type: item
  17804. #: guix-git/doc/guix.texi:11766
  17805. #, no-wrap
  17806. msgid "--without-tests=@var{package}"
  17807. msgstr ""
  17808. #. type: table
  17809. #: guix-git/doc/guix.texi:11772
  17810. 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."
  17811. msgstr ""
  17812. #. type: table
  17813. #: guix-git/doc/guix.texi:11776
  17814. 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:"
  17815. msgstr ""
  17816. #. type: example
  17817. #: guix-git/doc/guix.texi:11779
  17818. #, no-wrap
  17819. msgid "guix install --without-tests=python python-notebook\n"
  17820. msgstr ""
  17821. #. type: table
  17822. #: guix-git/doc/guix.texi:11785
  17823. 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."
  17824. msgstr ""
  17825. #. type: table
  17826. #: guix-git/doc/guix.texi:11791
  17827. 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."
  17828. msgstr ""
  17829. #. type: Plain text
  17830. #: guix-git/doc/guix.texi:11798
  17831. 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."
  17832. msgstr ""
  17833. #. type: Plain text
  17834. #: guix-git/doc/guix.texi:11804
  17835. msgid "The command-line options presented below are specific to @command{guix build}."
  17836. msgstr ""
  17837. #. type: item
  17838. #: guix-git/doc/guix.texi:11807
  17839. #, no-wrap
  17840. msgid "--quiet"
  17841. msgstr ""
  17842. #. type: table
  17843. #: guix-git/doc/guix.texi:11812
  17844. 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."
  17845. msgstr ""
  17846. #. type: table
  17847. #: guix-git/doc/guix.texi:11817
  17848. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  17849. msgstr ""
  17850. #. type: table
  17851. #: guix-git/doc/guix.texi:11820
  17852. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  17853. msgstr ""
  17854. #. type: table
  17855. #: guix-git/doc/guix.texi:11829
  17856. 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}:"
  17857. msgstr ""
  17858. #. type: item
  17859. #: guix-git/doc/guix.texi:11834
  17860. #, no-wrap
  17861. msgid "--manifest=@var{manifest}"
  17862. msgstr ""
  17863. #. type: itemx
  17864. #: guix-git/doc/guix.texi:11835
  17865. #, no-wrap
  17866. msgid "-m @var{manifest}"
  17867. msgstr ""
  17868. #. type: table
  17869. #: guix-git/doc/guix.texi:11838
  17870. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  17871. msgstr ""
  17872. #. type: table
  17873. #: guix-git/doc/guix.texi:11842
  17874. msgid "Build the package or derivation @var{expr} evaluates to."
  17875. msgstr ""
  17876. #. type: table
  17877. #: guix-git/doc/guix.texi:11846
  17878. 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."
  17879. msgstr ""
  17880. #. type: table
  17881. #: guix-git/doc/guix.texi:11850
  17882. 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})."
  17883. msgstr ""
  17884. #. type: table
  17885. #: guix-git/doc/guix.texi:11854
  17886. 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}."
  17887. msgstr ""
  17888. #. type: item
  17889. #: guix-git/doc/guix.texi:11855
  17890. #, no-wrap
  17891. msgid "--source"
  17892. msgstr ""
  17893. #. type: itemx
  17894. #: guix-git/doc/guix.texi:11856
  17895. #, no-wrap
  17896. msgid "-S"
  17897. msgstr ""
  17898. #. type: table
  17899. #: guix-git/doc/guix.texi:11859
  17900. msgid "Build the source derivations of the packages, rather than the packages themselves."
  17901. msgstr ""
  17902. #. type: table
  17903. #: guix-git/doc/guix.texi:11863
  17904. 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."
  17905. msgstr ""
  17906. #. type: table
  17907. #: guix-git/doc/guix.texi:11867
  17908. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  17909. msgstr ""
  17910. #. type: cindex
  17911. #: guix-git/doc/guix.texi:11868
  17912. #, no-wrap
  17913. msgid "source, verification"
  17914. msgstr ""
  17915. #. type: table
  17916. #: guix-git/doc/guix.texi:11874
  17917. 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."
  17918. msgstr ""
  17919. #. type: table
  17920. #: guix-git/doc/guix.texi:11879
  17921. 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."
  17922. msgstr ""
  17923. #. type: item
  17924. #: guix-git/doc/guix.texi:11880
  17925. #, no-wrap
  17926. msgid "--sources"
  17927. msgstr ""
  17928. #. type: table
  17929. #: guix-git/doc/guix.texi:11887
  17930. 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:"
  17931. msgstr ""
  17932. #. type: item
  17933. #: guix-git/doc/guix.texi:11889 guix-git/doc/guix.texi:13713
  17934. #, no-wrap
  17935. msgid "package"
  17936. msgstr ""
  17937. #. type: table
  17938. #: guix-git/doc/guix.texi:11892
  17939. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  17940. msgstr ""
  17941. #. type: item
  17942. #: guix-git/doc/guix.texi:11893 guix-git/doc/guix.texi:20169
  17943. #, no-wrap
  17944. msgid "all"
  17945. msgstr ""
  17946. #. type: table
  17947. #: guix-git/doc/guix.texi:11896
  17948. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  17949. msgstr ""
  17950. #. type: example
  17951. #: guix-git/doc/guix.texi:11902
  17952. #, no-wrap
  17953. msgid ""
  17954. "$ guix build --sources tzdata\n"
  17955. "The following derivations will be built:\n"
  17956. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  17957. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  17958. msgstr ""
  17959. #. type: item
  17960. #: guix-git/doc/guix.texi:11904
  17961. #, no-wrap
  17962. msgid "transitive"
  17963. msgstr ""
  17964. #. type: table
  17965. #: guix-git/doc/guix.texi:11908
  17966. 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."
  17967. msgstr ""
  17968. #. type: example
  17969. #: guix-git/doc/guix.texi:11919
  17970. #, no-wrap
  17971. msgid ""
  17972. "$ guix build --sources=transitive tzdata\n"
  17973. "The following derivations will be built:\n"
  17974. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  17975. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  17976. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  17977. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  17978. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  17979. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  17980. "@dots{}\n"
  17981. msgstr ""
  17982. #. type: table
  17983. #: guix-git/doc/guix.texi:11929
  17984. 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."
  17985. msgstr ""
  17986. #. type: quotation
  17987. #: guix-git/doc/guix.texi:11934
  17988. 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."
  17989. msgstr ""
  17990. #. type: table
  17991. #: guix-git/doc/guix.texi:11941
  17992. 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."
  17993. msgstr ""
  17994. #. type: quotation
  17995. #: guix-git/doc/guix.texi:11946
  17996. 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."
  17997. msgstr ""
  17998. #. type: table
  17999. #: guix-git/doc/guix.texi:11952
  18000. 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."
  18001. msgstr ""
  18002. #. type: table
  18003. #: guix-git/doc/guix.texi:11956
  18004. 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."
  18005. msgstr ""
  18006. #. type: table
  18007. #: guix-git/doc/guix.texi:11962
  18008. 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})."
  18009. msgstr ""
  18010. #. type: anchor{#1}
  18011. #: guix-git/doc/guix.texi:11964
  18012. msgid "build-check"
  18013. msgstr "build-check"
  18014. #. type: cindex
  18015. #: guix-git/doc/guix.texi:11965
  18016. #, no-wrap
  18017. msgid "determinism, checking"
  18018. msgstr "determinismo, verificação"
  18019. #. type: cindex
  18020. #: guix-git/doc/guix.texi:11966
  18021. #, no-wrap
  18022. msgid "reproducibility, checking"
  18023. msgstr "reprodutibilidade, verificação"
  18024. #. type: table
  18025. #: guix-git/doc/guix.texi:11970
  18026. 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."
  18027. msgstr ""
  18028. #. type: table
  18029. #: guix-git/doc/guix.texi:11975
  18030. 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."
  18031. msgstr ""
  18032. #. type: item
  18033. #: guix-git/doc/guix.texi:11980
  18034. #, no-wrap
  18035. msgid "--repair"
  18036. msgstr ""
  18037. #. type: cindex
  18038. #: guix-git/doc/guix.texi:11981
  18039. #, no-wrap
  18040. msgid "repairing store items"
  18041. msgstr ""
  18042. #. type: table
  18043. #: guix-git/doc/guix.texi:11985
  18044. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  18045. msgstr ""
  18046. #. type: table
  18047. #: guix-git/doc/guix.texi:11987
  18048. msgid "This operation is not atomic and thus restricted to @code{root}."
  18049. msgstr ""
  18050. #. type: item
  18051. #: guix-git/doc/guix.texi:11988
  18052. #, no-wrap
  18053. msgid "--derivations"
  18054. msgstr ""
  18055. #. type: table
  18056. #: guix-git/doc/guix.texi:11992
  18057. msgid "Return the derivation paths, not the output paths, of the given packages."
  18058. msgstr ""
  18059. #. type: cindex
  18060. #: guix-git/doc/guix.texi:11995
  18061. #, no-wrap
  18062. msgid "GC roots, adding"
  18063. msgstr ""
  18064. #. type: cindex
  18065. #: guix-git/doc/guix.texi:11996
  18066. #, no-wrap
  18067. msgid "garbage collector roots, adding"
  18068. msgstr ""
  18069. #. type: table
  18070. #: guix-git/doc/guix.texi:11999 guix-git/doc/guix.texi:35870
  18071. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  18072. msgstr ""
  18073. #. type: table
  18074. #: guix-git/doc/guix.texi:12005
  18075. 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."
  18076. msgstr ""
  18077. #. type: item
  18078. #: guix-git/doc/guix.texi:12006
  18079. #, no-wrap
  18080. msgid "--log-file"
  18081. msgstr ""
  18082. #. type: cindex
  18083. #: guix-git/doc/guix.texi:12007
  18084. #, no-wrap
  18085. msgid "build logs, access"
  18086. msgstr ""
  18087. #. type: table
  18088. #: guix-git/doc/guix.texi:12011
  18089. 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."
  18090. msgstr ""
  18091. #. type: table
  18092. #: guix-git/doc/guix.texi:12014
  18093. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  18094. msgstr ""
  18095. #. type: example
  18096. #: guix-git/doc/guix.texi:12020
  18097. #, no-wrap
  18098. msgid ""
  18099. "guix build --log-file $(guix build -d guile)\n"
  18100. "guix build --log-file $(guix build guile)\n"
  18101. "guix build --log-file guile\n"
  18102. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  18103. msgstr ""
  18104. #. type: table
  18105. #: guix-git/doc/guix.texi:12025
  18106. 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})."
  18107. msgstr ""
  18108. #. type: table
  18109. #: guix-git/doc/guix.texi:12028
  18110. msgid "So for instance, imagine you want to see the build log of GDB on MIPS, but you are actually on an @code{x86_64} machine:"
  18111. msgstr ""
  18112. #. type: example
  18113. #: guix-git/doc/guix.texi:12032
  18114. #, no-wrap
  18115. msgid ""
  18116. "$ guix build --log-file gdb -s aarch64-linux\n"
  18117. "https://@value{SUBSTITUTE-SERVER-1}/log/@dots{}-gdb-7.10\n"
  18118. msgstr ""
  18119. #. type: table
  18120. #: guix-git/doc/guix.texi:12035
  18121. msgid "You can freely access a huge library of build logs!"
  18122. msgstr ""
  18123. #. type: cindex
  18124. #: guix-git/doc/guix.texi:12040
  18125. #, no-wrap
  18126. msgid "build failures, debugging"
  18127. msgstr ""
  18128. #. type: Plain text
  18129. #: guix-git/doc/guix.texi:12046
  18130. 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."
  18131. msgstr ""
  18132. #. type: Plain text
  18133. #: guix-git/doc/guix.texi:12051
  18134. 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}})."
  18135. msgstr ""
  18136. #. type: Plain text
  18137. #: guix-git/doc/guix.texi:12057
  18138. 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:"
  18139. msgstr ""
  18140. #. type: example
  18141. #: guix-git/doc/guix.texi:12064
  18142. #, no-wrap
  18143. msgid ""
  18144. "$ guix build foo -K\n"
  18145. "@dots{} @i{build fails}\n"
  18146. "$ cd /tmp/guix-build-foo.drv-0\n"
  18147. "$ source ./environment-variables\n"
  18148. "$ cd foo-1.2\n"
  18149. msgstr ""
  18150. #. type: Plain text
  18151. #: guix-git/doc/guix.texi:12068
  18152. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  18153. msgstr ""
  18154. #. type: Plain text
  18155. #: guix-git/doc/guix.texi:12074
  18156. 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})."
  18157. msgstr ""
  18158. #. type: Plain text
  18159. #: guix-git/doc/guix.texi:12077
  18160. 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:"
  18161. msgstr ""
  18162. #. type: example
  18163. #: guix-git/doc/guix.texi:12085
  18164. #, no-wrap
  18165. msgid ""
  18166. "$ guix build -K foo\n"
  18167. "@dots{}\n"
  18168. "$ cd /tmp/guix-build-foo.drv-0\n"
  18169. "$ guix shell --no-grafts -C -D foo strace gdb\n"
  18170. "[env]# source ./environment-variables\n"
  18171. "[env]# cd foo-1.2\n"
  18172. msgstr ""
  18173. #. type: Plain text
  18174. #: guix-git/doc/guix.texi:12094
  18175. 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)."
  18176. msgstr ""
  18177. #. type: Plain text
  18178. #: guix-git/doc/guix.texi:12097
  18179. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  18180. msgstr ""
  18181. #. type: example
  18182. #: guix-git/doc/guix.texi:12100
  18183. #, no-wrap
  18184. msgid "[env]# rm /bin/sh\n"
  18185. msgstr ""
  18186. #. type: Plain text
  18187. #: guix-git/doc/guix.texi:12104
  18188. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix shell}.)"
  18189. msgstr ""
  18190. #. type: Plain text
  18191. #: guix-git/doc/guix.texi:12107
  18192. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  18193. msgstr ""
  18194. #. type: example
  18195. #: guix-git/doc/guix.texi:12110
  18196. #, no-wrap
  18197. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  18198. msgstr ""
  18199. #. type: Plain text
  18200. #: guix-git/doc/guix.texi:12115
  18201. 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."
  18202. msgstr ""
  18203. #. type: section
  18204. #: guix-git/doc/guix.texi:12118
  18205. #, no-wrap
  18206. msgid "Invoking @command{guix edit}"
  18207. msgstr "Invocando @command{guix edit}"
  18208. #. type: command{#1}
  18209. #: guix-git/doc/guix.texi:12120
  18210. #, no-wrap
  18211. msgid "guix edit"
  18212. msgstr ""
  18213. #. type: cindex
  18214. #: guix-git/doc/guix.texi:12121
  18215. #, no-wrap
  18216. msgid "package definition, editing"
  18217. msgstr ""
  18218. #. type: Plain text
  18219. #: guix-git/doc/guix.texi:12126
  18220. 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:"
  18221. msgstr ""
  18222. #. type: example
  18223. #: guix-git/doc/guix.texi:12129
  18224. #, no-wrap
  18225. msgid "guix edit gcc@@4.9 vim\n"
  18226. msgstr ""
  18227. #. type: Plain text
  18228. #: guix-git/doc/guix.texi:12135
  18229. 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."
  18230. msgstr ""
  18231. #. type: Plain text
  18232. #: guix-git/doc/guix.texi:12141
  18233. 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."
  18234. msgstr ""
  18235. #. type: Plain text
  18236. #: guix-git/doc/guix.texi:12146
  18237. 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."
  18238. msgstr ""
  18239. #. type: section
  18240. #: guix-git/doc/guix.texi:12148
  18241. #, no-wrap
  18242. msgid "Invoking @command{guix download}"
  18243. msgstr "Invocando @command{guix download}"
  18244. #. type: command{#1}
  18245. #: guix-git/doc/guix.texi:12150
  18246. #, no-wrap
  18247. msgid "guix download"
  18248. msgstr ""
  18249. #. type: cindex
  18250. #: guix-git/doc/guix.texi:12151
  18251. #, no-wrap
  18252. msgid "downloading package sources"
  18253. msgstr ""
  18254. #. type: Plain text
  18255. #: guix-git/doc/guix.texi:12158
  18256. 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."
  18257. msgstr ""
  18258. #. type: Plain text
  18259. #: guix-git/doc/guix.texi:12165
  18260. 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})."
  18261. msgstr ""
  18262. #. type: Plain text
  18263. #: guix-git/doc/guix.texi:12173
  18264. 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."
  18265. msgstr ""
  18266. #. type: Plain text
  18267. #: guix-git/doc/guix.texi:12178
  18268. 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."
  18269. msgstr ""
  18270. #. type: Plain text
  18271. #: guix-git/doc/guix.texi:12180 guix-git/doc/guix.texi:14026
  18272. msgid "The following options are available:"
  18273. msgstr ""
  18274. #. type: item
  18275. #: guix-git/doc/guix.texi:12182 guix-git/doc/guix.texi:12226
  18276. #, no-wrap
  18277. msgid "--hash=@var{algorithm}"
  18278. msgstr ""
  18279. #. type: itemx
  18280. #: guix-git/doc/guix.texi:12183 guix-git/doc/guix.texi:12227
  18281. #, no-wrap
  18282. msgid "-H @var{algorithm}"
  18283. msgstr ""
  18284. #. type: table
  18285. #: guix-git/doc/guix.texi:12186
  18286. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  18287. msgstr ""
  18288. #. type: item
  18289. #: guix-git/doc/guix.texi:12187 guix-git/doc/guix.texi:12236
  18290. #, no-wrap
  18291. msgid "--format=@var{fmt}"
  18292. msgstr ""
  18293. #. type: itemx
  18294. #: guix-git/doc/guix.texi:12188 guix-git/doc/guix.texi:12237
  18295. #, no-wrap
  18296. msgid "-f @var{fmt}"
  18297. msgstr ""
  18298. #. type: table
  18299. #: guix-git/doc/guix.texi:12191
  18300. 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}."
  18301. msgstr ""
  18302. #. type: item
  18303. #: guix-git/doc/guix.texi:12192
  18304. #, no-wrap
  18305. msgid "--no-check-certificate"
  18306. msgstr ""
  18307. #. type: table
  18308. #: guix-git/doc/guix.texi:12194
  18309. msgid "Do not validate the X.509 certificates of HTTPS servers."
  18310. msgstr ""
  18311. #. type: table
  18312. #: guix-git/doc/guix.texi:12198
  18313. 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."
  18314. msgstr ""
  18315. #. type: item
  18316. #: guix-git/doc/guix.texi:12199
  18317. #, no-wrap
  18318. msgid "--output=@var{file}"
  18319. msgstr "--output=@var{arquivo}"
  18320. #. type: itemx
  18321. #: guix-git/doc/guix.texi:12200
  18322. #, no-wrap
  18323. msgid "-o @var{file}"
  18324. msgstr "-o @var{arquivo}"
  18325. #. type: table
  18326. #: guix-git/doc/guix.texi:12203
  18327. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  18328. msgstr ""
  18329. #. type: section
  18330. #: guix-git/doc/guix.texi:12206
  18331. #, no-wrap
  18332. msgid "Invoking @command{guix hash}"
  18333. msgstr "Invocando @command{guix hash}"
  18334. #. type: command{#1}
  18335. #: guix-git/doc/guix.texi:12208
  18336. #, no-wrap
  18337. msgid "guix hash"
  18338. msgstr ""
  18339. #. type: Plain text
  18340. #: guix-git/doc/guix.texi:12213
  18341. 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})."
  18342. msgstr ""
  18343. #. type: example
  18344. #: guix-git/doc/guix.texi:12218
  18345. #, fuzzy, no-wrap
  18346. #| msgid "-r @var{package} @dots{}"
  18347. msgid "guix hash @var{option} @var{file} ...\n"
  18348. msgstr "guix hash @var{option} @var{file} ...\n"
  18349. #. type: Plain text
  18350. #: guix-git/doc/guix.texi:12223
  18351. 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:"
  18352. msgstr ""
  18353. #. type: table
  18354. #: guix-git/doc/guix.texi:12230
  18355. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  18356. msgstr ""
  18357. #. type: table
  18358. #: guix-git/doc/guix.texi:12235
  18359. 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})."
  18360. msgstr ""
  18361. #. type: table
  18362. #: guix-git/doc/guix.texi:12239
  18363. msgid "Write the hash in the format specified by @var{fmt}."
  18364. msgstr ""
  18365. #. type: table
  18366. #: guix-git/doc/guix.texi:12242
  18367. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  18368. msgstr ""
  18369. #. type: table
  18370. #: guix-git/doc/guix.texi:12246
  18371. 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."
  18372. msgstr ""
  18373. #. type: table
  18374. #: guix-git/doc/guix.texi:12252
  18375. msgid "The @option{--recursive} option is deprecated in favor of @option{--serializer=nar} (see below); @option{-r} remains accepted as a convenient shorthand."
  18376. msgstr ""
  18377. #. type: item
  18378. #: guix-git/doc/guix.texi:12253
  18379. #, fuzzy, no-wrap
  18380. #| msgid "--profile=@var{profile}"
  18381. msgid "--serializer=@var{type}"
  18382. msgstr "--profile=@var{perfil}"
  18383. #. type: itemx
  18384. #: guix-git/doc/guix.texi:12254
  18385. #, fuzzy, no-wrap
  18386. #| msgid "-t @var{type}"
  18387. msgid "-S @var{type}"
  18388. msgstr "-t @var{tipo}"
  18389. #. type: table
  18390. #: guix-git/doc/guix.texi:12256
  18391. msgid "Compute the hash on @var{file} using @var{type} serialization."
  18392. msgstr ""
  18393. #. type: table
  18394. #: guix-git/doc/guix.texi:12258
  18395. msgid "@var{type} may be one of the following:"
  18396. msgstr ""
  18397. #. type: item
  18398. #: guix-git/doc/guix.texi:12260 guix-git/doc/guix.texi:14379
  18399. #: guix-git/doc/guix.texi:17892 guix-git/doc/guix.texi:20166
  18400. #, no-wrap
  18401. msgid "none"
  18402. msgstr "nenhuma"
  18403. #. type: table
  18404. #: guix-git/doc/guix.texi:12262
  18405. msgid "This is the default: it computes the hash of a file's contents."
  18406. msgstr ""
  18407. #. type: item
  18408. #: guix-git/doc/guix.texi:12263
  18409. #, no-wrap
  18410. msgid "nar"
  18411. msgstr ""
  18412. #. type: table
  18413. #: guix-git/doc/guix.texi:12273
  18414. 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)."
  18415. msgstr ""
  18416. #. type: item
  18417. #: guix-git/doc/guix.texi:12274
  18418. #, no-wrap
  18419. msgid "git"
  18420. msgstr ""
  18421. #. type: table
  18422. #: guix-git/doc/guix.texi:12277
  18423. msgid "Compute the hash of the file or directory as a Git ``tree'', following the same method as the Git version control system."
  18424. msgstr ""
  18425. #. type: item
  18426. #: guix-git/doc/guix.texi:12279
  18427. #, no-wrap
  18428. msgid "--exclude-vcs"
  18429. msgstr ""
  18430. #. type: itemx
  18431. #: guix-git/doc/guix.texi:12280 guix-git/doc/guix.texi:13499
  18432. #, no-wrap
  18433. msgid "-x"
  18434. msgstr "-x"
  18435. #. type: table
  18436. #: guix-git/doc/guix.texi:12283
  18437. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  18438. msgstr ""
  18439. #. type: vindex
  18440. #: guix-git/doc/guix.texi:12284
  18441. #, no-wrap
  18442. msgid "git-fetch"
  18443. msgstr ""
  18444. #. type: table
  18445. #: guix-git/doc/guix.texi:12288
  18446. 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}):"
  18447. msgstr ""
  18448. #. type: example
  18449. #: guix-git/doc/guix.texi:12293
  18450. #, no-wrap
  18451. msgid ""
  18452. "$ git clone http://example.org/foo.git\n"
  18453. "$ cd foo\n"
  18454. "$ guix hash -x --serializer=nar .\n"
  18455. msgstr ""
  18456. #. type: cindex
  18457. #: guix-git/doc/guix.texi:12297 guix-git/doc/guix.texi:12302
  18458. #, no-wrap
  18459. msgid "Invoking @command{guix import}"
  18460. msgstr ""
  18461. #. type: cindex
  18462. #: guix-git/doc/guix.texi:12299
  18463. #, no-wrap
  18464. msgid "importing packages"
  18465. msgstr ""
  18466. #. type: cindex
  18467. #: guix-git/doc/guix.texi:12300
  18468. #, no-wrap
  18469. msgid "package import"
  18470. msgstr ""
  18471. #. type: cindex
  18472. #: guix-git/doc/guix.texi:12301
  18473. #, no-wrap
  18474. msgid "package conversion"
  18475. msgstr ""
  18476. #. type: Plain text
  18477. #: guix-git/doc/guix.texi:12309
  18478. 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})."
  18479. msgstr ""
  18480. #. type: example
  18481. #: guix-git/doc/guix.texi:12314
  18482. #, no-wrap
  18483. msgid "guix import @var{importer} @var{options}@dots{}\n"
  18484. msgstr ""
  18485. #. type: Plain text
  18486. #: guix-git/doc/guix.texi:12319
  18487. 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}."
  18488. msgstr ""
  18489. #. type: Plain text
  18490. #: guix-git/doc/guix.texi:12323
  18491. 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."
  18492. msgstr ""
  18493. #. type: Plain text
  18494. #: guix-git/doc/guix.texi:12325
  18495. msgid "Currently, the available ``importers'' are:"
  18496. msgstr ""
  18497. #. type: item
  18498. #: guix-git/doc/guix.texi:12327 guix-git/doc/guix.texi:12965
  18499. #, no-wrap
  18500. msgid "gnu"
  18501. msgstr ""
  18502. #. type: table
  18503. #: guix-git/doc/guix.texi:12331
  18504. 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."
  18505. msgstr ""
  18506. #. type: table
  18507. #: guix-git/doc/guix.texi:12334
  18508. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  18509. msgstr ""
  18510. #. type: table
  18511. #: guix-git/doc/guix.texi:12337
  18512. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  18513. msgstr ""
  18514. #. type: example
  18515. #: guix-git/doc/guix.texi:12340
  18516. #, no-wrap
  18517. msgid "guix import gnu hello\n"
  18518. msgstr ""
  18519. #. type: table
  18520. #: guix-git/doc/guix.texi:12343 guix-git/doc/guix.texi:12584
  18521. #: guix-git/doc/guix.texi:12634 guix-git/doc/guix.texi:12663
  18522. msgid "Specific command-line options are:"
  18523. msgstr ""
  18524. #. type: item
  18525. #: guix-git/doc/guix.texi:12345 guix-git/doc/guix.texi:13162
  18526. #, no-wrap
  18527. msgid "--key-download=@var{policy}"
  18528. msgstr ""
  18529. #. type: table
  18530. #: guix-git/doc/guix.texi:12349
  18531. 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}}."
  18532. msgstr ""
  18533. #. type: item
  18534. #: guix-git/doc/guix.texi:12351 guix-git/doc/guix.texi:12352
  18535. #: guix-git/doc/guix.texi:12989
  18536. #, no-wrap
  18537. msgid "pypi"
  18538. msgstr "pypi"
  18539. #. type: table
  18540. #: guix-git/doc/guix.texi:12359
  18541. 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."
  18542. msgstr ""
  18543. #. type: table
  18544. #: guix-git/doc/guix.texi:12362
  18545. msgid "The command below imports metadata for the latest version of the @code{itsdangerous} Python package:"
  18546. msgstr ""
  18547. #. type: example
  18548. #: guix-git/doc/guix.texi:12365
  18549. #, no-wrap
  18550. msgid "guix import pypi itsdangerous\n"
  18551. msgstr ""
  18552. #. type: table
  18553. #: guix-git/doc/guix.texi:12368 guix-git/doc/guix.texi:12471
  18554. #: guix-git/doc/guix.texi:12812
  18555. msgid "You can also ask for a specific version:"
  18556. msgstr ""
  18557. #. type: example
  18558. #: guix-git/doc/guix.texi:12371
  18559. #, no-wrap
  18560. msgid "guix import pypi itsdangerous@@1.1.0\n"
  18561. msgstr ""
  18562. #. type: table
  18563. #: guix-git/doc/guix.texi:12379 guix-git/doc/guix.texi:12404
  18564. #: guix-git/doc/guix.texi:12436 guix-git/doc/guix.texi:12607
  18565. #: guix-git/doc/guix.texi:12648 guix-git/doc/guix.texi:12699
  18566. #: guix-git/doc/guix.texi:12724 guix-git/doc/guix.texi:12740
  18567. #: guix-git/doc/guix.texi:12788 guix-git/doc/guix.texi:12824
  18568. 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."
  18569. msgstr ""
  18570. #. type: item
  18571. #: guix-git/doc/guix.texi:12381 guix-git/doc/guix.texi:12382
  18572. #: guix-git/doc/guix.texi:12991
  18573. #, no-wrap
  18574. msgid "gem"
  18575. msgstr ""
  18576. #. type: table
  18577. #: guix-git/doc/guix.texi:12391
  18578. 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."
  18579. msgstr ""
  18580. #. type: table
  18581. #: guix-git/doc/guix.texi:12393
  18582. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  18583. msgstr ""
  18584. #. type: example
  18585. #: guix-git/doc/guix.texi:12396
  18586. #, no-wrap
  18587. msgid "guix import gem rails\n"
  18588. msgstr ""
  18589. #. type: cindex
  18590. #: guix-git/doc/guix.texi:12406 guix-git/doc/guix.texi:12407
  18591. #, no-wrap
  18592. msgid "minetest"
  18593. msgstr ""
  18594. #. type: cindex
  18595. #: guix-git/doc/guix.texi:12408
  18596. #, fuzzy, no-wrap
  18597. #| msgid "contents"
  18598. msgid "ContentDB"
  18599. msgstr "conteúdo"
  18600. #. type: table
  18601. #: guix-git/doc/guix.texi:12417
  18602. 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."
  18603. msgstr ""
  18604. #. type: table
  18605. #: guix-git/doc/guix.texi:12419
  18606. msgid "The command below imports metadata for the Mesecons mod by Jeija:"
  18607. msgstr ""
  18608. #. type: example
  18609. #: guix-git/doc/guix.texi:12422
  18610. #, no-wrap
  18611. msgid "guix import minetest Jeija/mesecons\n"
  18612. msgstr ""
  18613. #. type: table
  18614. #: guix-git/doc/guix.texi:12425
  18615. msgid "The author name can also be left out:"
  18616. msgstr ""
  18617. #. type: example
  18618. #: guix-git/doc/guix.texi:12428
  18619. #, no-wrap
  18620. msgid "guix import minetest mesecons\n"
  18621. msgstr ""
  18622. #. type: item
  18623. #: guix-git/doc/guix.texi:12438 guix-git/doc/guix.texi:12987
  18624. #, no-wrap
  18625. msgid "cpan"
  18626. msgstr ""
  18627. #. type: cindex
  18628. #: guix-git/doc/guix.texi:12439
  18629. #, no-wrap
  18630. msgid "CPAN"
  18631. msgstr ""
  18632. #. type: table
  18633. #: guix-git/doc/guix.texi:12447
  18634. 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."
  18635. msgstr ""
  18636. #. type: table
  18637. #: guix-git/doc/guix.texi:12450
  18638. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  18639. msgstr ""
  18640. #. type: example
  18641. #: guix-git/doc/guix.texi:12453
  18642. #, no-wrap
  18643. msgid "guix import cpan Acme::Boolean\n"
  18644. msgstr ""
  18645. #. type: item
  18646. #: guix-git/doc/guix.texi:12455 guix-git/doc/guix.texi:12983
  18647. #, no-wrap
  18648. msgid "cran"
  18649. msgstr "cran"
  18650. #. type: cindex
  18651. #: guix-git/doc/guix.texi:12456
  18652. #, no-wrap
  18653. msgid "CRAN"
  18654. msgstr "CRAN"
  18655. #. type: cindex
  18656. #: guix-git/doc/guix.texi:12457
  18657. #, no-wrap
  18658. msgid "Bioconductor"
  18659. msgstr ""
  18660. #. type: table
  18661. #: guix-git/doc/guix.texi:12461
  18662. 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}."
  18663. msgstr ""
  18664. #. type: table
  18665. #: guix-git/doc/guix.texi:12463
  18666. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  18667. msgstr ""
  18668. #. type: table
  18669. #: guix-git/doc/guix.texi:12465
  18670. msgid "The command command below imports metadata for the Cairo R package:"
  18671. msgstr ""
  18672. #. type: example
  18673. #: guix-git/doc/guix.texi:12468
  18674. #, no-wrap
  18675. msgid "guix import cran Cairo\n"
  18676. msgstr ""
  18677. #. type: example
  18678. #: guix-git/doc/guix.texi:12474
  18679. #, no-wrap
  18680. msgid "guix import cran rasterVis@@0.50.3\n"
  18681. msgstr ""
  18682. #. type: table
  18683. #: guix-git/doc/guix.texi:12479
  18684. 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."
  18685. msgstr ""
  18686. #. type: table
  18687. #: guix-git/doc/guix.texi:12486
  18688. 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}."
  18689. msgstr ""
  18690. #. type: table
  18691. #: guix-git/doc/guix.texi:12491
  18692. 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."
  18693. msgstr ""
  18694. #. type: table
  18695. #: guix-git/doc/guix.texi:12494
  18696. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  18697. msgstr ""
  18698. #. type: table
  18699. #: guix-git/doc/guix.texi:12496
  18700. msgid "The command below imports metadata for the GenomicRanges R package:"
  18701. msgstr ""
  18702. #. type: example
  18703. #: guix-git/doc/guix.texi:12499
  18704. #, no-wrap
  18705. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  18706. msgstr ""
  18707. #. type: table
  18708. #: guix-git/doc/guix.texi:12504
  18709. 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:"
  18710. msgstr ""
  18711. #. type: example
  18712. #: guix-git/doc/guix.texi:12507
  18713. #, no-wrap
  18714. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  18715. msgstr ""
  18716. #. type: item
  18717. #: guix-git/doc/guix.texi:12509
  18718. #, no-wrap
  18719. msgid "texlive"
  18720. msgstr ""
  18721. #. type: cindex
  18722. #: guix-git/doc/guix.texi:12510
  18723. #, no-wrap
  18724. msgid "TeX Live"
  18725. msgstr "TeX Live"
  18726. #. type: cindex
  18727. #: guix-git/doc/guix.texi:12511
  18728. #, no-wrap
  18729. msgid "CTAN"
  18730. msgstr ""
  18731. #. type: table
  18732. #: guix-git/doc/guix.texi:12515
  18733. 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}."
  18734. msgstr ""
  18735. #. type: table
  18736. #: guix-git/doc/guix.texi:12520
  18737. 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."
  18738. msgstr ""
  18739. #. type: table
  18740. #: guix-git/doc/guix.texi:12523
  18741. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  18742. msgstr ""
  18743. #. type: example
  18744. #: guix-git/doc/guix.texi:12526
  18745. #, no-wrap
  18746. msgid "guix import texlive fontspec\n"
  18747. msgstr ""
  18748. #. type: cindex
  18749. #: guix-git/doc/guix.texi:12529
  18750. #, no-wrap
  18751. msgid "JSON, import"
  18752. msgstr ""
  18753. #. type: table
  18754. #: guix-git/doc/guix.texi:12532
  18755. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  18756. msgstr ""
  18757. #. type: example
  18758. #: guix-git/doc/guix.texi:12545
  18759. #, no-wrap
  18760. msgid ""
  18761. "@{\n"
  18762. " \"name\": \"hello\",\n"
  18763. " \"version\": \"2.10\",\n"
  18764. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  18765. " \"build-system\": \"gnu\",\n"
  18766. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  18767. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  18768. " \"description\": \"GNU Hello prints a greeting.\",\n"
  18769. " \"license\": \"GPL-3.0+\",\n"
  18770. " \"native-inputs\": [\"gettext\"]\n"
  18771. "@}\n"
  18772. msgstr ""
  18773. #. type: table
  18774. #: guix-git/doc/guix.texi:12551
  18775. 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}."
  18776. msgstr ""
  18777. #. type: table
  18778. #: guix-git/doc/guix.texi:12554
  18779. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  18780. msgstr ""
  18781. #. type: example
  18782. #: guix-git/doc/guix.texi:12567
  18783. #, no-wrap
  18784. msgid ""
  18785. "@{\n"
  18786. " @dots{}\n"
  18787. " \"source\": @{\n"
  18788. " \"method\": \"url-fetch\",\n"
  18789. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  18790. " \"sha256\": @{\n"
  18791. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  18792. " @}\n"
  18793. " @}\n"
  18794. " @dots{}\n"
  18795. "@}\n"
  18796. msgstr ""
  18797. #. type: table
  18798. #: guix-git/doc/guix.texi:12571
  18799. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  18800. msgstr ""
  18801. #. type: example
  18802. #: guix-git/doc/guix.texi:12574
  18803. #, no-wrap
  18804. msgid "guix import json hello.json\n"
  18805. msgstr ""
  18806. #. type: item
  18807. #: guix-git/doc/guix.texi:12576 guix-git/doc/guix.texi:12577
  18808. #: guix-git/doc/guix.texi:12995
  18809. #, no-wrap
  18810. msgid "hackage"
  18811. msgstr ""
  18812. #. type: table
  18813. #: guix-git/doc/guix.texi:12582
  18814. 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."
  18815. msgstr ""
  18816. #. type: item
  18817. #: guix-git/doc/guix.texi:12586
  18818. #, no-wrap
  18819. msgid "--stdin"
  18820. msgstr ""
  18821. #. type: itemx
  18822. #: guix-git/doc/guix.texi:12587
  18823. #, no-wrap
  18824. msgid "-s"
  18825. msgstr "-s"
  18826. #. type: table
  18827. #: guix-git/doc/guix.texi:12589
  18828. msgid "Read a Cabal file from standard input."
  18829. msgstr ""
  18830. #. type: item
  18831. #: guix-git/doc/guix.texi:12589 guix-git/doc/guix.texi:12636
  18832. #, no-wrap
  18833. msgid "--no-test-dependencies"
  18834. msgstr ""
  18835. #. type: table
  18836. #: guix-git/doc/guix.texi:12592 guix-git/doc/guix.texi:12639
  18837. msgid "Do not include dependencies required only by the test suites."
  18838. msgstr ""
  18839. #. type: item
  18840. #: guix-git/doc/guix.texi:12592
  18841. #, no-wrap
  18842. msgid "--cabal-environment=@var{alist}"
  18843. msgstr ""
  18844. #. type: itemx
  18845. #: guix-git/doc/guix.texi:12593
  18846. #, no-wrap
  18847. msgid "-e @var{alist}"
  18848. msgstr ""
  18849. #. type: table
  18850. #: guix-git/doc/guix.texi:12602
  18851. 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."
  18852. msgstr ""
  18853. #. type: table
  18854. #: guix-git/doc/guix.texi:12612
  18855. 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}:"
  18856. msgstr ""
  18857. #. type: example
  18858. #: guix-git/doc/guix.texi:12615
  18859. #, no-wrap
  18860. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  18861. msgstr ""
  18862. #. type: table
  18863. #: guix-git/doc/guix.texi:12619
  18864. 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:"
  18865. msgstr ""
  18866. #. type: example
  18867. #: guix-git/doc/guix.texi:12622
  18868. #, no-wrap
  18869. msgid "guix import hackage mtl@@2.1.3.1\n"
  18870. msgstr ""
  18871. #. type: item
  18872. #: guix-git/doc/guix.texi:12624 guix-git/doc/guix.texi:12625
  18873. #: guix-git/doc/guix.texi:12997
  18874. #, no-wrap
  18875. msgid "stackage"
  18876. msgstr ""
  18877. #. type: table
  18878. #: guix-git/doc/guix.texi:12632
  18879. 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."
  18880. msgstr ""
  18881. #. type: item
  18882. #: guix-git/doc/guix.texi:12639
  18883. #, no-wrap
  18884. msgid "--lts-version=@var{version}"
  18885. msgstr "--lts-version=@var{versão}"
  18886. #. type: itemx
  18887. #: guix-git/doc/guix.texi:12640
  18888. #, no-wrap
  18889. msgid "-l @var{version}"
  18890. msgstr "-l @var{versão}"
  18891. #. type: table
  18892. #: guix-git/doc/guix.texi:12643
  18893. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  18894. msgstr ""
  18895. #. type: table
  18896. #: guix-git/doc/guix.texi:12652
  18897. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  18898. msgstr ""
  18899. #. type: example
  18900. #: guix-git/doc/guix.texi:12655
  18901. #, no-wrap
  18902. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  18903. msgstr ""
  18904. #. type: item
  18905. #: guix-git/doc/guix.texi:12657 guix-git/doc/guix.texi:12658
  18906. #: guix-git/doc/guix.texi:12981
  18907. #, no-wrap
  18908. msgid "elpa"
  18909. msgstr "elpa"
  18910. #. type: table
  18911. #: guix-git/doc/guix.texi:12661
  18912. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  18913. msgstr ""
  18914. #. type: item
  18915. #: guix-git/doc/guix.texi:12665
  18916. #, no-wrap
  18917. msgid "--archive=@var{repo}"
  18918. msgstr ""
  18919. #. type: itemx
  18920. #: guix-git/doc/guix.texi:12666
  18921. #, no-wrap
  18922. msgid "-a @var{repo}"
  18923. msgstr ""
  18924. #. type: table
  18925. #: guix-git/doc/guix.texi:12670
  18926. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  18927. msgstr ""
  18928. #. type: itemize
  18929. #: guix-git/doc/guix.texi:12674
  18930. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  18931. msgstr ""
  18932. #. type: itemize
  18933. #: guix-git/doc/guix.texi:12680
  18934. 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})."
  18935. msgstr ""
  18936. #. type: itemize
  18937. #: guix-git/doc/guix.texi:12684
  18938. msgid "@uref{https://elpa.nongnu.org/nongnu/, NonGNU}, selected by the @code{nongnu} identifier."
  18939. msgstr ""
  18940. #. type: itemize
  18941. #: guix-git/doc/guix.texi:12688
  18942. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  18943. msgstr ""
  18944. #. type: itemize
  18945. #: guix-git/doc/guix.texi:12692
  18946. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  18947. msgstr ""
  18948. #. type: item
  18949. #: guix-git/doc/guix.texi:12701 guix-git/doc/guix.texi:12702
  18950. #: guix-git/doc/guix.texi:12999
  18951. #, no-wrap
  18952. msgid "crate"
  18953. msgstr ""
  18954. #. type: table
  18955. #: guix-git/doc/guix.texi:12705
  18956. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  18957. msgstr ""
  18958. #. type: example
  18959. #: guix-git/doc/guix.texi:12708
  18960. #, no-wrap
  18961. msgid "guix import crate blake2-rfc\n"
  18962. msgstr ""
  18963. #. type: table
  18964. #: guix-git/doc/guix.texi:12711
  18965. msgid "The crate importer also allows you to specify a version string:"
  18966. msgstr ""
  18967. #. type: example
  18968. #: guix-git/doc/guix.texi:12714
  18969. #, no-wrap
  18970. msgid "guix import crate constant-time-eq@@0.1.0\n"
  18971. msgstr ""
  18972. #. type: table
  18973. #: guix-git/doc/guix.texi:12717 guix-git/doc/guix.texi:12733
  18974. #: guix-git/doc/guix.texi:12781 guix-git/doc/guix.texi:12818
  18975. msgid "Additional options include:"
  18976. msgstr ""
  18977. #. type: item
  18978. #: guix-git/doc/guix.texi:12726
  18979. #, no-wrap
  18980. msgid "opam"
  18981. msgstr ""
  18982. #. type: cindex
  18983. #: guix-git/doc/guix.texi:12727
  18984. #, no-wrap
  18985. msgid "OPAM"
  18986. msgstr ""
  18987. #. type: cindex
  18988. #: guix-git/doc/guix.texi:12728
  18989. #, no-wrap
  18990. msgid "OCaml"
  18991. msgstr ""
  18992. #. type: table
  18993. #: guix-git/doc/guix.texi:12731
  18994. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  18995. msgstr ""
  18996. #. type: item
  18997. #: guix-git/doc/guix.texi:12740
  18998. #, no-wrap
  18999. msgid "--repo"
  19000. msgstr ""
  19001. #. type: table
  19002. #: guix-git/doc/guix.texi:12744
  19003. 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:"
  19004. msgstr ""
  19005. #. type: item
  19006. #: guix-git/doc/guix.texi:12746
  19007. #, no-wrap
  19008. msgid "the name of a known repository - can be one of @code{opam},"
  19009. msgstr ""
  19010. #. type: itemize
  19011. #: guix-git/doc/guix.texi:12749
  19012. msgid "@code{coq} (equivalent to @code{coq-released}), @code{coq-core-dev}, @code{coq-extra-dev} or @code{grew}."
  19013. msgstr ""
  19014. #. type: item
  19015. #: guix-git/doc/guix.texi:12749
  19016. #, no-wrap
  19017. msgid "the URL of a repository as expected by the"
  19018. msgstr ""
  19019. #. type: itemize
  19020. #: guix-git/doc/guix.texi:12753
  19021. msgid "@code{opam repository add} command (for instance, the URL equivalent of the above @code{opam} name would be @uref{https://opam.ocaml.org})."
  19022. msgstr ""
  19023. #. type: item
  19024. #: guix-git/doc/guix.texi:12753
  19025. #, no-wrap
  19026. msgid "the path to a local copy of a repository (a directory containing a"
  19027. msgstr ""
  19028. #. type: itemize
  19029. #: guix-git/doc/guix.texi:12755
  19030. msgid "@file{packages/} sub-directory)."
  19031. msgstr ""
  19032. #. type: table
  19033. #: guix-git/doc/guix.texi:12760
  19034. 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."
  19035. msgstr ""
  19036. #. type: table
  19037. #: guix-git/doc/guix.texi:12765
  19038. 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}."
  19039. msgstr ""
  19040. #. type: cindex
  19041. #: guix-git/doc/guix.texi:12768 guix-git/doc/guix.texi:12769
  19042. #, no-wrap
  19043. msgid "go"
  19044. msgstr ""
  19045. #. type: table
  19046. #: guix-git/doc/guix.texi:12772
  19047. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  19048. msgstr ""
  19049. #. type: example
  19050. #: guix-git/doc/guix.texi:12775
  19051. #, no-wrap
  19052. msgid "guix import go gopkg.in/yaml.v2\n"
  19053. msgstr ""
  19054. #. type: table
  19055. #: guix-git/doc/guix.texi:12779
  19056. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  19057. msgstr ""
  19058. #. type: item
  19059. #: guix-git/doc/guix.texi:12788
  19060. #, fuzzy, no-wrap
  19061. msgid "--pin-versions"
  19062. msgstr "--verbose"
  19063. #. type: table
  19064. #: guix-git/doc/guix.texi:12796
  19065. 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."
  19066. msgstr ""
  19067. #. type: item
  19068. #: guix-git/doc/guix.texi:12798 guix-git/doc/guix.texi:12799
  19069. #: guix-git/doc/guix.texi:12979
  19070. #, no-wrap
  19071. msgid "egg"
  19072. msgstr ""
  19073. #. type: table
  19074. #: guix-git/doc/guix.texi:12806
  19075. 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)."
  19076. msgstr ""
  19077. #. type: example
  19078. #: guix-git/doc/guix.texi:12809
  19079. #, no-wrap
  19080. msgid "guix import egg sourcehut\n"
  19081. msgstr ""
  19082. #. type: example
  19083. #: guix-git/doc/guix.texi:12815
  19084. #, no-wrap
  19085. msgid "guix import egg arrays@@1.0\n"
  19086. msgstr ""
  19087. #. type: Plain text
  19088. #: guix-git/doc/guix.texi:12830
  19089. 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})."
  19090. msgstr ""
  19091. #. type: section
  19092. #: guix-git/doc/guix.texi:12832
  19093. #, no-wrap
  19094. msgid "Invoking @command{guix refresh}"
  19095. msgstr "Invocando @command{guix refresh}"
  19096. #. type: command{#1}
  19097. #: guix-git/doc/guix.texi:12834
  19098. #, no-wrap
  19099. msgid "guix refresh"
  19100. msgstr ""
  19101. #. type: Plain text
  19102. #: guix-git/doc/guix.texi:12842
  19103. 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:"
  19104. msgstr ""
  19105. #. type: example
  19106. #: guix-git/doc/guix.texi:12847
  19107. #, no-wrap
  19108. msgid ""
  19109. "$ guix refresh\n"
  19110. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  19111. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  19112. msgstr ""
  19113. #. type: Plain text
  19114. #: guix-git/doc/guix.texi:12851
  19115. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  19116. msgstr ""
  19117. #. type: example
  19118. #: guix-git/doc/guix.texi:12856
  19119. #, no-wrap
  19120. msgid ""
  19121. "$ guix refresh coreutils guile guile-ssh\n"
  19122. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  19123. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  19124. msgstr ""
  19125. #. type: Plain text
  19126. #: guix-git/doc/guix.texi:12865
  19127. 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!"
  19128. msgstr ""
  19129. #. type: table
  19130. #: guix-git/doc/guix.texi:12870
  19131. msgid "Consider the packages specified, and all the packages upon which they depend."
  19132. msgstr ""
  19133. #. type: example
  19134. #: guix-git/doc/guix.texi:12878
  19135. #, no-wrap
  19136. msgid ""
  19137. "$ guix refresh --recursive coreutils\n"
  19138. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  19139. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  19140. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  19141. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  19142. "@dots{}\n"
  19143. msgstr ""
  19144. #. type: Plain text
  19145. #: guix-git/doc/guix.texi:12886
  19146. 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:"
  19147. msgstr ""
  19148. #. type: lisp
  19149. #: guix-git/doc/guix.texi:12893
  19150. #, no-wrap
  19151. msgid ""
  19152. "(define-public network-manager\n"
  19153. " (package\n"
  19154. " (name \"network-manager\")\n"
  19155. " ;; @dots{}\n"
  19156. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  19157. msgstr ""
  19158. #. type: Plain text
  19159. #: guix-git/doc/guix.texi:12902
  19160. 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."
  19161. msgstr ""
  19162. #. type: Plain text
  19163. #: guix-git/doc/guix.texi:12908
  19164. 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."
  19165. msgstr ""
  19166. #. type: Plain text
  19167. #: guix-git/doc/guix.texi:12910
  19168. msgid "The following options are supported:"
  19169. msgstr ""
  19170. #. type: table
  19171. #: guix-git/doc/guix.texi:12918 guix-git/doc/guix.texi:13908
  19172. msgid "This is useful to precisely refer to a package, as in this example:"
  19173. msgstr ""
  19174. #. type: example
  19175. #: guix-git/doc/guix.texi:12921
  19176. #, no-wrap
  19177. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  19178. msgstr ""
  19179. #. type: table
  19180. #: guix-git/doc/guix.texi:12925
  19181. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  19182. msgstr ""
  19183. #. type: item
  19184. #: guix-git/doc/guix.texi:12926
  19185. #, no-wrap
  19186. msgid "--update"
  19187. msgstr ""
  19188. #. type: itemx
  19189. #: guix-git/doc/guix.texi:12927
  19190. #, no-wrap
  19191. msgid "-u"
  19192. msgstr "-u"
  19193. #. type: table
  19194. #: guix-git/doc/guix.texi:12931
  19195. 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}):"
  19196. msgstr ""
  19197. #. type: example
  19198. #: guix-git/doc/guix.texi:12934
  19199. #, no-wrap
  19200. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  19201. msgstr ""
  19202. #. type: table
  19203. #: guix-git/doc/guix.texi:12937
  19204. msgid "@xref{Defining Packages}, for more information on package definitions."
  19205. msgstr ""
  19206. #. type: item
  19207. #: guix-git/doc/guix.texi:12938
  19208. #, no-wrap
  19209. msgid "--select=[@var{subset}]"
  19210. msgstr ""
  19211. #. type: itemx
  19212. #: guix-git/doc/guix.texi:12939
  19213. #, no-wrap
  19214. msgid "-s @var{subset}"
  19215. msgstr ""
  19216. #. type: table
  19217. #: guix-git/doc/guix.texi:12942
  19218. msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}."
  19219. msgstr ""
  19220. #. type: table
  19221. #: guix-git/doc/guix.texi:12949
  19222. 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."
  19223. msgstr ""
  19224. #. type: table
  19225. #: guix-git/doc/guix.texi:12953
  19226. 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."
  19227. msgstr ""
  19228. #. type: table
  19229. #: guix-git/doc/guix.texi:12958
  19230. 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."
  19231. msgstr ""
  19232. #. type: item
  19233. #: guix-git/doc/guix.texi:12959
  19234. #, no-wrap
  19235. msgid "--type=@var{updater}"
  19236. msgstr ""
  19237. #. type: itemx
  19238. #: guix-git/doc/guix.texi:12960
  19239. #, no-wrap
  19240. msgid "-t @var{updater}"
  19241. msgstr ""
  19242. #. type: table
  19243. #: guix-git/doc/guix.texi:12963
  19244. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  19245. msgstr ""
  19246. #. type: table
  19247. #: guix-git/doc/guix.texi:12967
  19248. msgid "the updater for GNU packages;"
  19249. msgstr ""
  19250. #. type: item
  19251. #: guix-git/doc/guix.texi:12967
  19252. #, no-wrap
  19253. msgid "savannah"
  19254. msgstr ""
  19255. #. type: table
  19256. #: guix-git/doc/guix.texi:12969
  19257. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  19258. msgstr ""
  19259. #. type: item
  19260. #: guix-git/doc/guix.texi:12969
  19261. #, no-wrap
  19262. msgid "sourceforge"
  19263. msgstr ""
  19264. #. type: table
  19265. #: guix-git/doc/guix.texi:12971
  19266. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  19267. msgstr ""
  19268. #. type: item
  19269. #: guix-git/doc/guix.texi:12971
  19270. #, no-wrap
  19271. msgid "gnome"
  19272. msgstr "gnome"
  19273. #. type: table
  19274. #: guix-git/doc/guix.texi:12973
  19275. msgid "the updater for GNOME packages;"
  19276. msgstr ""
  19277. #. type: item
  19278. #: guix-git/doc/guix.texi:12973
  19279. #, no-wrap
  19280. msgid "kde"
  19281. msgstr ""
  19282. #. type: table
  19283. #: guix-git/doc/guix.texi:12975
  19284. msgid "the updater for KDE packages;"
  19285. msgstr ""
  19286. #. type: item
  19287. #: guix-git/doc/guix.texi:12975
  19288. #, no-wrap
  19289. msgid "xorg"
  19290. msgstr ""
  19291. #. type: table
  19292. #: guix-git/doc/guix.texi:12977
  19293. msgid "the updater for X.org packages;"
  19294. msgstr ""
  19295. #. type: item
  19296. #: guix-git/doc/guix.texi:12977
  19297. #, no-wrap
  19298. msgid "kernel.org"
  19299. msgstr ""
  19300. #. type: table
  19301. #: guix-git/doc/guix.texi:12979
  19302. msgid "the updater for packages hosted on kernel.org;"
  19303. msgstr ""
  19304. #. type: table
  19305. #: guix-git/doc/guix.texi:12981
  19306. msgid "the updater for @uref{https://wiki.call-cc.org/eggs/, Egg} packages;"
  19307. msgstr ""
  19308. #. type: table
  19309. #: guix-git/doc/guix.texi:12983
  19310. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  19311. msgstr ""
  19312. #. type: table
  19313. #: guix-git/doc/guix.texi:12985
  19314. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  19315. msgstr ""
  19316. #. type: item
  19317. #: guix-git/doc/guix.texi:12985
  19318. #, no-wrap
  19319. msgid "bioconductor"
  19320. msgstr ""
  19321. #. type: table
  19322. #: guix-git/doc/guix.texi:12987
  19323. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  19324. msgstr ""
  19325. #. type: table
  19326. #: guix-git/doc/guix.texi:12989
  19327. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  19328. msgstr ""
  19329. #. type: table
  19330. #: guix-git/doc/guix.texi:12991
  19331. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  19332. msgstr ""
  19333. #. type: table
  19334. #: guix-git/doc/guix.texi:12993
  19335. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  19336. msgstr ""
  19337. #. type: item
  19338. #: guix-git/doc/guix.texi:12993
  19339. #, no-wrap
  19340. msgid "github"
  19341. msgstr ""
  19342. #. type: table
  19343. #: guix-git/doc/guix.texi:12995
  19344. msgid "the updater for @uref{https://github.com, GitHub} packages."
  19345. msgstr ""
  19346. #. type: table
  19347. #: guix-git/doc/guix.texi:12997
  19348. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  19349. msgstr ""
  19350. #. type: table
  19351. #: guix-git/doc/guix.texi:12999
  19352. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  19353. msgstr ""
  19354. #. type: table
  19355. #: guix-git/doc/guix.texi:13001
  19356. msgid "the updater for @uref{https://crates.io, Crates} packages."
  19357. msgstr ""
  19358. #. type: item
  19359. #: guix-git/doc/guix.texi:13001
  19360. #, no-wrap
  19361. msgid "launchpad"
  19362. msgstr ""
  19363. #. type: table
  19364. #: guix-git/doc/guix.texi:13003
  19365. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  19366. msgstr ""
  19367. #. type: item
  19368. #: guix-git/doc/guix.texi:13003
  19369. #, no-wrap
  19370. msgid "generic-html"
  19371. msgstr ""
  19372. #. type: table
  19373. #: guix-git/doc/guix.texi:13006
  19374. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable."
  19375. msgstr ""
  19376. #. type: item
  19377. #: guix-git/doc/guix.texi:13007
  19378. #, no-wrap
  19379. msgid "generic-git"
  19380. msgstr ""
  19381. #. type: table
  19382. #: guix-git/doc/guix.texi:13012
  19383. 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."
  19384. msgstr ""
  19385. #. type: item
  19386. #: guix-git/doc/guix.texi:13014
  19387. #, no-wrap
  19388. msgid "@code{release-tag-prefix}: a regular expression for matching a prefix of"
  19389. msgstr ""
  19390. #. type: itemize
  19391. #: guix-git/doc/guix.texi:13016 guix-git/doc/guix.texi:13019
  19392. msgid "the tag name."
  19393. msgstr ""
  19394. #. type: item
  19395. #: guix-git/doc/guix.texi:13017
  19396. #, no-wrap
  19397. msgid "@code{release-tag-suffix}: a regular expression for matching a suffix of"
  19398. msgstr ""
  19399. #. type: item
  19400. #: guix-git/doc/guix.texi:13020
  19401. #, no-wrap
  19402. msgid "@code{release-tag-version-delimiter}: a string used as the delimiter in"
  19403. msgstr ""
  19404. #. type: itemize
  19405. #: guix-git/doc/guix.texi:13022
  19406. msgid "the tag name for separating the numbers of the version."
  19407. msgstr ""
  19408. #. type: item
  19409. #: guix-git/doc/guix.texi:13023
  19410. #, no-wrap
  19411. msgid "@code{accept-pre-releases}: by default, the updater will ignore"
  19412. msgstr ""
  19413. #. type: itemize
  19414. #: guix-git/doc/guix.texi:13026
  19415. msgid "pre-releases; to make it also look for pre-releases, set the this property to @code{#t}."
  19416. msgstr ""
  19417. #. type: lisp
  19418. #: guix-git/doc/guix.texi:13037
  19419. #, no-wrap
  19420. msgid ""
  19421. "(package\n"
  19422. " (name \"foo\")\n"
  19423. " ;; ...\n"
  19424. " (properties\n"
  19425. " '((release-tag-prefix . \"^release0-\")\n"
  19426. " (release-tag-suffix . \"[a-z]?$\")\n"
  19427. " (release-tag-version-delimiter . \":\"))))\n"
  19428. msgstr ""
  19429. #. type: table
  19430. #: guix-git/doc/guix.texi:13044
  19431. 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:"
  19432. msgstr ""
  19433. #. type: example
  19434. #: guix-git/doc/guix.texi:13049
  19435. #, no-wrap
  19436. msgid ""
  19437. "$ guix refresh --type=elpa,cran\n"
  19438. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  19439. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  19440. msgstr ""
  19441. #. type: item
  19442. #: guix-git/doc/guix.texi:13051
  19443. #, no-wrap
  19444. msgid "--list-updaters"
  19445. msgstr ""
  19446. #. type: itemx
  19447. #: guix-git/doc/guix.texi:13052
  19448. #, no-wrap
  19449. msgid "-L"
  19450. msgstr ""
  19451. #. type: table
  19452. #: guix-git/doc/guix.texi:13054
  19453. msgid "List available updaters and exit (see @option{--type} above)."
  19454. msgstr ""
  19455. #. type: table
  19456. #: guix-git/doc/guix.texi:13057
  19457. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  19458. msgstr ""
  19459. #. type: Plain text
  19460. #: guix-git/doc/guix.texi:13061
  19461. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  19462. msgstr ""
  19463. #. type: example
  19464. #: guix-git/doc/guix.texi:13064
  19465. #, no-wrap
  19466. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  19467. msgstr ""
  19468. #. type: Plain text
  19469. #: guix-git/doc/guix.texi:13071
  19470. 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:"
  19471. msgstr ""
  19472. #. type: example
  19473. #: guix-git/doc/guix.texi:13075
  19474. #, no-wrap
  19475. msgid ""
  19476. "$ ./pre-inst-env guix refresh -u \\\n"
  19477. " $(guix package --list-installed | cut -f1)\n"
  19478. msgstr ""
  19479. #. type: Plain text
  19480. #: guix-git/doc/guix.texi:13081
  19481. 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:"
  19482. msgstr ""
  19483. #. type: item
  19484. #: guix-git/doc/guix.texi:13084
  19485. #, no-wrap
  19486. msgid "--list-dependent"
  19487. msgstr ""
  19488. #. type: itemx
  19489. #: guix-git/doc/guix.texi:13085 guix-git/doc/guix.texi:13489
  19490. #, no-wrap
  19491. msgid "-l"
  19492. msgstr ""
  19493. #. type: table
  19494. #: guix-git/doc/guix.texi:13088
  19495. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  19496. msgstr ""
  19497. #. type: table
  19498. #: guix-git/doc/guix.texi:13092
  19499. 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."
  19500. msgstr ""
  19501. #. type: Plain text
  19502. #: guix-git/doc/guix.texi:13098
  19503. 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."
  19504. msgstr ""
  19505. #. type: example
  19506. #: guix-git/doc/guix.texi:13103
  19507. #, no-wrap
  19508. msgid ""
  19509. "$ guix refresh --list-dependent flex\n"
  19510. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  19511. "hop@@2.4.0 emacs-geiser@@0.13 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  19512. msgstr ""
  19513. #. type: Plain text
  19514. #: guix-git/doc/guix.texi:13107
  19515. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  19516. msgstr ""
  19517. #. type: item
  19518. #: guix-git/doc/guix.texi:13110
  19519. #, no-wrap
  19520. msgid "--list-transitive"
  19521. msgstr "--list-transitive"
  19522. #. type: table
  19523. #: guix-git/doc/guix.texi:13112
  19524. msgid "List all the packages which one or more packages depend upon."
  19525. msgstr ""
  19526. #. type: example
  19527. #: guix-git/doc/guix.texi:13117
  19528. #, no-wrap
  19529. msgid ""
  19530. "$ guix refresh --list-transitive flex\n"
  19531. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  19532. "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"
  19533. msgstr ""
  19534. #. type: Plain text
  19535. #: guix-git/doc/guix.texi:13123
  19536. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  19537. msgstr ""
  19538. #. type: Plain text
  19539. #: guix-git/doc/guix.texi:13125
  19540. msgid "The following options can be used to customize GnuPG operation:"
  19541. msgstr ""
  19542. #. type: item
  19543. #: guix-git/doc/guix.texi:13128
  19544. #, no-wrap
  19545. msgid "--gpg=@var{command}"
  19546. msgstr ""
  19547. #. type: table
  19548. #: guix-git/doc/guix.texi:13131
  19549. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  19550. msgstr ""
  19551. #. type: item
  19552. #: guix-git/doc/guix.texi:13132
  19553. #, no-wrap
  19554. msgid "--keyring=@var{file}"
  19555. msgstr ""
  19556. #. type: table
  19557. #: guix-git/doc/guix.texi:13138
  19558. 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)."
  19559. msgstr ""
  19560. #. type: table
  19561. #: guix-git/doc/guix.texi:13144
  19562. 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)."
  19563. msgstr ""
  19564. #. type: table
  19565. #: guix-git/doc/guix.texi:13147
  19566. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  19567. msgstr ""
  19568. #. type: example
  19569. #: guix-git/doc/guix.texi:13150
  19570. #, no-wrap
  19571. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  19572. msgstr ""
  19573. #. type: table
  19574. #: guix-git/doc/guix.texi:13153
  19575. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  19576. msgstr ""
  19577. #. type: example
  19578. #: guix-git/doc/guix.texi:13157
  19579. #, no-wrap
  19580. msgid ""
  19581. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  19582. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  19583. msgstr ""
  19584. #. type: table
  19585. #: guix-git/doc/guix.texi:13161
  19586. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  19587. msgstr ""
  19588. #. type: table
  19589. #: guix-git/doc/guix.texi:13165
  19590. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  19591. msgstr ""
  19592. #. type: item
  19593. #: guix-git/doc/guix.texi:13167 guix-git/doc/guix.texi:13332
  19594. #: guix-git/doc/guix.texi:22769
  19595. #, no-wrap
  19596. msgid "always"
  19597. msgstr ""
  19598. #. type: table
  19599. #: guix-git/doc/guix.texi:13170
  19600. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  19601. msgstr ""
  19602. #. type: item
  19603. #: guix-git/doc/guix.texi:13171 guix-git/doc/guix.texi:22771
  19604. #, no-wrap
  19605. msgid "never"
  19606. msgstr ""
  19607. #. type: table
  19608. #: guix-git/doc/guix.texi:13173
  19609. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  19610. msgstr ""
  19611. #. type: item
  19612. #: guix-git/doc/guix.texi:13174
  19613. #, no-wrap
  19614. msgid "interactive"
  19615. msgstr ""
  19616. #. type: table
  19617. #: guix-git/doc/guix.texi:13177
  19618. 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."
  19619. msgstr ""
  19620. #. type: item
  19621. #: guix-git/doc/guix.texi:13179
  19622. #, no-wrap
  19623. msgid "--key-server=@var{host}"
  19624. msgstr ""
  19625. #. type: table
  19626. #: guix-git/doc/guix.texi:13181
  19627. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  19628. msgstr ""
  19629. #. type: Plain text
  19630. #: guix-git/doc/guix.texi:13201
  19631. 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."
  19632. msgstr ""
  19633. #. type: section
  19634. #: guix-git/doc/guix.texi:13204
  19635. #, fuzzy, no-wrap
  19636. #| msgid "Invoking @command{guix size}"
  19637. msgid "Invoking @command{guix style}"
  19638. msgstr "Invocando @command{guix size}"
  19639. #. type: Plain text
  19640. #: guix-git/doc/guix.texi:13209
  19641. msgid "The @command{guix style} command helps packagers style their package definitions according to the latest fashionable trends. The command currently provides the following styling rules:"
  19642. msgstr ""
  19643. #. type: itemize
  19644. #: guix-git/doc/guix.texi:13214
  19645. msgid "formatting package definitions according to the project's conventions (@pxref{Formatting Code});"
  19646. msgstr ""
  19647. #. type: itemize
  19648. #: guix-git/doc/guix.texi:13217
  19649. msgid "rewriting package inputs to the ``new style'', as explained below."
  19650. msgstr ""
  19651. #. type: Plain text
  19652. #: guix-git/doc/guix.texi:13223
  19653. 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:"
  19654. msgstr ""
  19655. #. type: lisp
  19656. #: guix-git/doc/guix.texi:13230
  19657. #, no-wrap
  19658. msgid ""
  19659. "(package\n"
  19660. " ;; @dots{}\n"
  19661. " ;; The \"old style\" (deprecated).\n"
  19662. " (inputs `((\"libunistring\" ,libunistring)\n"
  19663. " (\"libffi\" ,libffi))))\n"
  19664. msgstr ""
  19665. #. type: Plain text
  19666. #: guix-git/doc/guix.texi:13234
  19667. msgid "Today, the old style is deprecated and the preferred style looks like this:"
  19668. msgstr ""
  19669. #. type: lisp
  19670. #: guix-git/doc/guix.texi:13240
  19671. #, no-wrap
  19672. msgid ""
  19673. "(package\n"
  19674. " ;; @dots{}\n"
  19675. " ;; The \"new style\".\n"
  19676. " (inputs (list libunistring libffi)))\n"
  19677. msgstr ""
  19678. #. type: Plain text
  19679. #: guix-git/doc/guix.texi:13245
  19680. 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})."
  19681. msgstr ""
  19682. #. type: Plain text
  19683. #: guix-git/doc/guix.texi:13250
  19684. 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."
  19685. msgstr ""
  19686. #. type: example
  19687. #: guix-git/doc/guix.texi:13255
  19688. #, no-wrap
  19689. msgid "guix style [@var{options}] @var{package}@dots{}\n"
  19690. msgstr "guix style [@var{options}] @var{package}@dots{}\n"
  19691. #. type: Plain text
  19692. #: guix-git/doc/guix.texi:13262
  19693. 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."
  19694. msgstr ""
  19695. #. type: Plain text
  19696. #: guix-git/doc/guix.texi:13264 guix-git/doc/guix.texi:14583
  19697. msgid "The available options are listed below."
  19698. msgstr ""
  19699. #. type: table
  19700. #: guix-git/doc/guix.texi:13269
  19701. msgid "Show source file locations that would be edited but do not modify them."
  19702. msgstr ""
  19703. #. type: item
  19704. #: guix-git/doc/guix.texi:13270
  19705. #, fuzzy, no-wrap
  19706. #| msgid "--root=@var{file}"
  19707. msgid "--styling=@var{rule}"
  19708. msgstr "--root=@var{arquivo}"
  19709. #. type: itemx
  19710. #: guix-git/doc/guix.texi:13271
  19711. #, fuzzy, no-wrap
  19712. #| msgid "-f @var{file}"
  19713. msgid "-S @var{rule}"
  19714. msgstr "-f @var{arquivo}"
  19715. #. type: table
  19716. #: guix-git/doc/guix.texi:13273
  19717. #, fuzzy
  19718. #| msgid "Packages are currently available on the following platforms:"
  19719. msgid "Apply @var{rule}, one of the following styling rules:"
  19720. msgstr "Os pacotes estão atualmente disponíveis nas seguintes plataformas:"
  19721. #. type: item
  19722. #: guix-git/doc/guix.texi:13275
  19723. #, no-wrap
  19724. msgid "format"
  19725. msgstr ""
  19726. #. type: table
  19727. #: guix-git/doc/guix.texi:13280
  19728. 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:"
  19729. msgstr ""
  19730. #. type: example
  19731. #: guix-git/doc/guix.texi:13283
  19732. #, fuzzy, no-wrap
  19733. #| msgid "./pre-inst-env guix build gnew --keep-failed\n"
  19734. msgid "./pre-inst-env guix style coreutils\n"
  19735. msgstr "./pre-inst-env guix build gnew --keep-failed\n"
  19736. #. type: item
  19737. #: guix-git/doc/guix.texi:13285
  19738. #, no-wrap
  19739. msgid "inputs"
  19740. msgstr ""
  19741. #. type: table
  19742. #: guix-git/doc/guix.texi:13289
  19743. 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:"
  19744. msgstr ""
  19745. #. type: example
  19746. #: guix-git/doc/guix.texi:13292
  19747. #, no-wrap
  19748. msgid "guix style -L ~/my/channel -S inputs whatnot\n"
  19749. msgstr ""
  19750. #. type: table
  19751. #: guix-git/doc/guix.texi:13298
  19752. 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."
  19753. msgstr ""
  19754. #. type: table
  19755. #: guix-git/doc/guix.texi:13308
  19756. msgid "Style the package @var{expr} evaluates to."
  19757. msgstr ""
  19758. #. type: example
  19759. #: guix-git/doc/guix.texi:13313
  19760. #, no-wrap
  19761. msgid "guix style -e '(@@ (gnu packages gcc) gcc-5)'\n"
  19762. msgstr ""
  19763. #. type: table
  19764. #: guix-git/doc/guix.texi:13316
  19765. #, fuzzy
  19766. #| msgid "Editing package definitions."
  19767. msgid "styles the @code{gcc-5} package definition."
  19768. msgstr "Editando definições de pacote."
  19769. #. type: item
  19770. #: guix-git/doc/guix.texi:13317
  19771. #, no-wrap
  19772. msgid "--input-simplification=@var{policy}"
  19773. msgstr ""
  19774. #. type: table
  19775. #: guix-git/doc/guix.texi:13322
  19776. 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:"
  19777. msgstr ""
  19778. #. type: item
  19779. #: guix-git/doc/guix.texi:13324
  19780. #, no-wrap
  19781. msgid "silent"
  19782. msgstr ""
  19783. #. type: table
  19784. #: guix-git/doc/guix.texi:13327
  19785. msgid "Simplify inputs only when the change is ``silent'', meaning that the package does not need to be rebuilt (its derivation is unchanged)."
  19786. msgstr ""
  19787. #. type: item
  19788. #: guix-git/doc/guix.texi:13328
  19789. #, no-wrap
  19790. msgid "safe"
  19791. msgstr ""
  19792. #. type: table
  19793. #: guix-git/doc/guix.texi:13331
  19794. 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."
  19795. msgstr ""
  19796. #. type: table
  19797. #: guix-git/doc/guix.texi:13335
  19798. msgid "Simplify inputs even when input labels do not match package names, and even if that might have an observable effect."
  19799. msgstr ""
  19800. #. type: table
  19801. #: guix-git/doc/guix.texi:13339
  19802. msgid "The default is @code{silent}, meaning that input simplifications do not trigger any package rebuild."
  19803. msgstr ""
  19804. #. type: section
  19805. #: guix-git/doc/guix.texi:13342
  19806. #, no-wrap
  19807. msgid "Invoking @command{guix lint}"
  19808. msgstr "Invocando @command{guix lint}"
  19809. #. type: command{#1}
  19810. #: guix-git/doc/guix.texi:13344
  19811. #, no-wrap
  19812. msgid "guix lint"
  19813. msgstr ""
  19814. #. type: cindex
  19815. #: guix-git/doc/guix.texi:13345
  19816. #, no-wrap
  19817. msgid "package, checking for errors"
  19818. msgstr ""
  19819. #. type: Plain text
  19820. #: guix-git/doc/guix.texi:13351
  19821. 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):"
  19822. msgstr ""
  19823. #. type: table
  19824. #: guix-git/doc/guix.texi:13357
  19825. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  19826. msgstr ""
  19827. #. type: item
  19828. #: guix-git/doc/guix.texi:13358
  19829. #, no-wrap
  19830. msgid "inputs-should-be-native"
  19831. msgstr ""
  19832. #. type: table
  19833. #: guix-git/doc/guix.texi:13360
  19834. msgid "Identify inputs that should most likely be native inputs."
  19835. msgstr ""
  19836. #. type: itemx
  19837. #: guix-git/doc/guix.texi:13363
  19838. #, no-wrap
  19839. msgid "mirror-url"
  19840. msgstr ""
  19841. #. type: itemx
  19842. #: guix-git/doc/guix.texi:13364
  19843. #, no-wrap
  19844. msgid "github-url"
  19845. msgstr ""
  19846. #. type: itemx
  19847. #: guix-git/doc/guix.texi:13365
  19848. #, no-wrap
  19849. msgid "source-file-name"
  19850. msgstr ""
  19851. #. type: table
  19852. #: guix-git/doc/guix.texi:13372
  19853. 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})."
  19854. msgstr ""
  19855. #. type: item
  19856. #: guix-git/doc/guix.texi:13373
  19857. #, no-wrap
  19858. msgid "source-unstable-tarball"
  19859. msgstr ""
  19860. #. type: table
  19861. #: guix-git/doc/guix.texi:13377
  19862. 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."
  19863. msgstr ""
  19864. #. type: table
  19865. #: guix-git/doc/guix.texi:13381
  19866. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  19867. msgstr ""
  19868. #. type: item
  19869. #: guix-git/doc/guix.texi:13382
  19870. #, no-wrap
  19871. msgid "profile-collisions"
  19872. msgstr ""
  19873. #. type: table
  19874. #: guix-git/doc/guix.texi:13388
  19875. 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."
  19876. msgstr ""
  19877. #. type: item
  19878. #: guix-git/doc/guix.texi:13389
  19879. #, no-wrap
  19880. msgid "archival"
  19881. msgstr ""
  19882. #. type: cindex
  19883. #: guix-git/doc/guix.texi:13390
  19884. #, no-wrap
  19885. msgid "Software Heritage, source code archive"
  19886. msgstr ""
  19887. #. type: cindex
  19888. #: guix-git/doc/guix.texi:13391
  19889. #, no-wrap
  19890. msgid "archival of source code, Software Heritage"
  19891. msgstr ""
  19892. #. type: table
  19893. #: guix-git/doc/guix.texi:13394
  19894. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  19895. msgstr ""
  19896. #. type: table
  19897. #: guix-git/doc/guix.texi:13402
  19898. 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}."
  19899. msgstr ""
  19900. #. type: table
  19901. #: guix-git/doc/guix.texi:13407
  19902. 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."
  19903. msgstr ""
  19904. #. type: table
  19905. #: guix-git/doc/guix.texi:13413
  19906. 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."
  19907. msgstr ""
  19908. #. type: item
  19909. #: guix-git/doc/guix.texi:13414
  19910. #, no-wrap
  19911. msgid "cve"
  19912. msgstr ""
  19913. #. type: cindex
  19914. #: guix-git/doc/guix.texi:13415 guix-git/doc/guix.texi:38629
  19915. #, no-wrap
  19916. msgid "security vulnerabilities"
  19917. msgstr ""
  19918. #. type: cindex
  19919. #: guix-git/doc/guix.texi:13416
  19920. #, no-wrap
  19921. msgid "CVE, Common Vulnerabilities and Exposures"
  19922. msgstr ""
  19923. #. type: table
  19924. #: guix-git/doc/guix.texi:13421
  19925. 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}."
  19926. msgstr ""
  19927. #. type: table
  19928. #: guix-git/doc/guix.texi:13423
  19929. msgid "To view information about a particular vulnerability, visit pages such as:"
  19930. msgstr ""
  19931. #. type: indicateurl{#1}
  19932. #: guix-git/doc/guix.texi:13427
  19933. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  19934. msgstr ""
  19935. #. type: indicateurl{#1}
  19936. #: guix-git/doc/guix.texi:13429
  19937. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  19938. msgstr ""
  19939. #. type: table
  19940. #: guix-git/doc/guix.texi:13434
  19941. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  19942. msgstr ""
  19943. #. type: table
  19944. #: guix-git/doc/guix.texi:13439
  19945. 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:"
  19946. msgstr ""
  19947. #. type: lisp
  19948. #: guix-git/doc/guix.texi:13447
  19949. #, no-wrap
  19950. msgid ""
  19951. "(package\n"
  19952. " (name \"grub\")\n"
  19953. " ;; @dots{}\n"
  19954. " ;; CPE calls this package \"grub2\".\n"
  19955. " (properties '((cpe-name . \"grub2\")\n"
  19956. " (cpe-version . \"2.3\"))))\n"
  19957. msgstr ""
  19958. #. type: table
  19959. #: guix-git/doc/guix.texi:13454
  19960. 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:"
  19961. msgstr ""
  19962. #. type: lisp
  19963. #: guix-git/doc/guix.texi:13464
  19964. #, no-wrap
  19965. msgid ""
  19966. "(package\n"
  19967. " (name \"t1lib\")\n"
  19968. " ;; @dots{}\n"
  19969. " ;; These CVEs no longer apply and can be safely ignored.\n"
  19970. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  19971. " \"CVE-2011-1553\"\n"
  19972. " \"CVE-2011-1554\"\n"
  19973. " \"CVE-2011-5244\")))))\n"
  19974. msgstr ""
  19975. #. type: item
  19976. #: guix-git/doc/guix.texi:13466
  19977. #, no-wrap
  19978. msgid "formatting"
  19979. msgstr ""
  19980. #. type: table
  19981. #: guix-git/doc/guix.texi:13469
  19982. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  19983. msgstr ""
  19984. #. type: item
  19985. #: guix-git/doc/guix.texi:13470
  19986. #, no-wrap
  19987. msgid "input-labels"
  19988. msgstr ""
  19989. #. type: table
  19990. #: guix-git/doc/guix.texi:13476
  19991. 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."
  19992. msgstr ""
  19993. #. type: example
  19994. #: guix-git/doc/guix.texi:13482
  19995. #, no-wrap
  19996. msgid "guix lint @var{options} @var{package}@dots{}\n"
  19997. msgstr ""
  19998. #. type: Plain text
  19999. #: guix-git/doc/guix.texi:13486
  20000. 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:"
  20001. msgstr ""
  20002. #. type: item
  20003. #: guix-git/doc/guix.texi:13488
  20004. #, no-wrap
  20005. msgid "--list-checkers"
  20006. msgstr "--list-checkers"
  20007. #. type: table
  20008. #: guix-git/doc/guix.texi:13492
  20009. msgid "List and describe all the available checkers that will be run on packages and exit."
  20010. msgstr ""
  20011. #. type: item
  20012. #: guix-git/doc/guix.texi:13493
  20013. #, no-wrap
  20014. msgid "--checkers"
  20015. msgstr "--checkers"
  20016. #. type: itemx
  20017. #: guix-git/doc/guix.texi:13494
  20018. #, no-wrap
  20019. msgid "-c"
  20020. msgstr "-c"
  20021. #. type: table
  20022. #: guix-git/doc/guix.texi:13497
  20023. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  20024. msgstr ""
  20025. #. type: item
  20026. #: guix-git/doc/guix.texi:13498
  20027. #, no-wrap
  20028. msgid "--exclude"
  20029. msgstr ""
  20030. #. type: table
  20031. #: guix-git/doc/guix.texi:13502
  20032. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  20033. msgstr ""
  20034. #. type: item
  20035. #: guix-git/doc/guix.texi:13503
  20036. #, no-wrap
  20037. msgid "--no-network"
  20038. msgstr ""
  20039. #. type: table
  20040. #: guix-git/doc/guix.texi:13506
  20041. msgid "Only enable the checkers that do not depend on Internet access."
  20042. msgstr ""
  20043. #. type: section
  20044. #: guix-git/doc/guix.texi:13518
  20045. #, no-wrap
  20046. msgid "Invoking @command{guix size}"
  20047. msgstr "Invocando @command{guix size}"
  20048. #. type: code{#1}
  20049. #: guix-git/doc/guix.texi:13520 guix-git/doc/guix.texi:36228
  20050. #, no-wrap
  20051. msgid "size"
  20052. msgstr "tamanho"
  20053. #. type: cindex
  20054. #: guix-git/doc/guix.texi:13521
  20055. #, no-wrap
  20056. msgid "package size"
  20057. msgstr ""
  20058. #. type: command{#1}
  20059. #: guix-git/doc/guix.texi:13523
  20060. #, no-wrap
  20061. msgid "guix size"
  20062. msgstr ""
  20063. #. type: Plain text
  20064. #: guix-git/doc/guix.texi:13530
  20065. 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."
  20066. msgstr ""
  20067. #. type: Plain text
  20068. #: guix-git/doc/guix.texi:13535
  20069. 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:"
  20070. msgstr ""
  20071. #. type: example
  20072. #: guix-git/doc/guix.texi:13548
  20073. #, no-wrap
  20074. msgid ""
  20075. "$ guix size coreutils\n"
  20076. "store item total self\n"
  20077. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  20078. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  20079. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  20080. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  20081. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  20082. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  20083. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  20084. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  20085. "total: 78.9 MiB\n"
  20086. msgstr ""
  20087. #. type: Plain text
  20088. #: guix-git/doc/guix.texi:13554
  20089. 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:"
  20090. msgstr ""
  20091. #. type: example
  20092. #: guix-git/doc/guix.texi:13557
  20093. #, no-wrap
  20094. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  20095. msgstr ""
  20096. #. type: Plain text
  20097. #: guix-git/doc/guix.texi:13565
  20098. 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."
  20099. msgstr ""
  20100. #. type: Plain text
  20101. #: guix-git/doc/guix.texi:13571
  20102. 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.)"
  20103. msgstr ""
  20104. #. type: Plain text
  20105. #: guix-git/doc/guix.texi:13574
  20106. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  20107. msgstr ""
  20108. #. type: example
  20109. #: guix-git/doc/guix.texi:13577
  20110. #, no-wrap
  20111. msgid "guix size $(guix system build config.scm)\n"
  20112. msgstr ""
  20113. #. type: Plain text
  20114. #: guix-git/doc/guix.texi:13587
  20115. 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})."
  20116. msgstr ""
  20117. #. type: Plain text
  20118. #: guix-git/doc/guix.texi:13592
  20119. 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."
  20120. msgstr ""
  20121. #. type: Plain text
  20122. #: guix-git/doc/guix.texi:13594
  20123. msgid "You can also specify several package names:"
  20124. msgstr ""
  20125. #. type: example
  20126. #: guix-git/doc/guix.texi:13604
  20127. #, no-wrap
  20128. msgid ""
  20129. "$ guix size coreutils grep sed bash\n"
  20130. "store item total self\n"
  20131. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  20132. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  20133. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  20134. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  20135. "@dots{}\n"
  20136. "total: 102.3 MiB\n"
  20137. msgstr ""
  20138. #. type: Plain text
  20139. #: guix-git/doc/guix.texi:13610
  20140. 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."
  20141. msgstr ""
  20142. #. type: Plain text
  20143. #: guix-git/doc/guix.texi:13616
  20144. 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})."
  20145. msgstr ""
  20146. #. type: Plain text
  20147. #: guix-git/doc/guix.texi:13618
  20148. msgid "The available options are:"
  20149. msgstr ""
  20150. #. type: table
  20151. #: guix-git/doc/guix.texi:13624
  20152. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  20153. msgstr ""
  20154. #. type: item
  20155. #: guix-git/doc/guix.texi:13625
  20156. #, no-wrap
  20157. msgid "--sort=@var{key}"
  20158. msgstr ""
  20159. #. type: table
  20160. #: guix-git/doc/guix.texi:13627
  20161. msgid "Sort lines according to @var{key}, one of the following options:"
  20162. msgstr ""
  20163. #. type: item
  20164. #: guix-git/doc/guix.texi:13629
  20165. #, no-wrap
  20166. msgid "self"
  20167. msgstr "próprio"
  20168. #. type: table
  20169. #: guix-git/doc/guix.texi:13631
  20170. msgid "the size of each item (the default);"
  20171. msgstr ""
  20172. #. type: table
  20173. #: guix-git/doc/guix.texi:13633
  20174. msgid "the total size of the item's closure."
  20175. msgstr ""
  20176. #. type: item
  20177. #: guix-git/doc/guix.texi:13635
  20178. #, no-wrap
  20179. msgid "--map-file=@var{file}"
  20180. msgstr "--map-file=@var{arquivo}"
  20181. #. type: table
  20182. #: guix-git/doc/guix.texi:13637
  20183. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  20184. msgstr ""
  20185. #. type: table
  20186. #: guix-git/doc/guix.texi:13639
  20187. msgid "For the example above, the map looks like this:"
  20188. msgstr ""
  20189. #. type: table
  20190. #: guix-git/doc/guix.texi:13642
  20191. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  20192. msgstr ""
  20193. #. type: table
  20194. #: guix-git/doc/guix.texi:13647
  20195. 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."
  20196. msgstr ""
  20197. #. type: table
  20198. #: guix-git/doc/guix.texi:13651
  20199. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  20200. msgstr ""
  20201. #. type: section
  20202. #: guix-git/doc/guix.texi:13662
  20203. #, no-wrap
  20204. msgid "Invoking @command{guix graph}"
  20205. msgstr "Invocando @command{guix graph}"
  20206. #. type: cindex
  20207. #: guix-git/doc/guix.texi:13664
  20208. #, no-wrap
  20209. msgid "DAG"
  20210. msgstr ""
  20211. #. type: command{#1}
  20212. #: guix-git/doc/guix.texi:13665
  20213. #, no-wrap
  20214. msgid "guix graph"
  20215. msgstr "guix graph"
  20216. #. type: Plain text
  20217. #: guix-git/doc/guix.texi:13680
  20218. 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:"
  20219. msgstr ""
  20220. #. type: example
  20221. #: guix-git/doc/guix.texi:13683
  20222. #, no-wrap
  20223. msgid "guix graph @var{options} @var{package}@dots{}\n"
  20224. msgstr ""
  20225. #. type: Plain text
  20226. #: guix-git/doc/guix.texi:13688
  20227. 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:"
  20228. msgstr ""
  20229. #. type: example
  20230. #: guix-git/doc/guix.texi:13691
  20231. #, no-wrap
  20232. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  20233. msgstr ""
  20234. #. type: Plain text
  20235. #: guix-git/doc/guix.texi:13694
  20236. msgid "The output looks like this:"
  20237. msgstr ""
  20238. #. type: Plain text
  20239. #: guix-git/doc/guix.texi:13696
  20240. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  20241. msgstr ""
  20242. #. type: Plain text
  20243. #: guix-git/doc/guix.texi:13698
  20244. msgid "Nice little graph, no?"
  20245. msgstr ""
  20246. #. type: Plain text
  20247. #: guix-git/doc/guix.texi:13701
  20248. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  20249. msgstr ""
  20250. #. type: example
  20251. #: guix-git/doc/guix.texi:13704
  20252. #, no-wrap
  20253. msgid "guix graph coreutils | xdot -\n"
  20254. msgstr ""
  20255. #. type: Plain text
  20256. #: guix-git/doc/guix.texi:13711
  20257. 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:"
  20258. msgstr ""
  20259. #. type: table
  20260. #: guix-git/doc/guix.texi:13717
  20261. 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."
  20262. msgstr ""
  20263. #. type: item
  20264. #: guix-git/doc/guix.texi:13718
  20265. #, no-wrap
  20266. msgid "reverse-package"
  20267. msgstr ""
  20268. #. type: table
  20269. #: guix-git/doc/guix.texi:13720
  20270. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  20271. msgstr ""
  20272. #. type: example
  20273. #: guix-git/doc/guix.texi:13723
  20274. #, no-wrap
  20275. msgid "guix graph --type=reverse-package ocaml\n"
  20276. msgstr ""
  20277. #. type: table
  20278. #: guix-git/doc/guix.texi:13728
  20279. 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)."
  20280. msgstr ""
  20281. #. type: table
  20282. #: guix-git/doc/guix.texi:13733
  20283. 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}})."
  20284. msgstr ""
  20285. #. type: item
  20286. #: guix-git/doc/guix.texi:13734
  20287. #, no-wrap
  20288. msgid "bag-emerged"
  20289. msgstr ""
  20290. #. type: table
  20291. #: guix-git/doc/guix.texi:13736
  20292. msgid "This is the package DAG, @emph{including} implicit inputs."
  20293. msgstr ""
  20294. #. type: table
  20295. #: guix-git/doc/guix.texi:13738
  20296. msgid "For instance, the following command:"
  20297. msgstr ""
  20298. #. type: example
  20299. #: guix-git/doc/guix.texi:13741
  20300. #, no-wrap
  20301. msgid "guix graph --type=bag-emerged coreutils\n"
  20302. msgstr ""
  20303. #. type: table
  20304. #: guix-git/doc/guix.texi:13744
  20305. msgid "...@: yields this bigger graph:"
  20306. msgstr ""
  20307. #. type: table
  20308. #: guix-git/doc/guix.texi:13746
  20309. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  20310. msgstr ""
  20311. #. type: table
  20312. #: guix-git/doc/guix.texi:13749
  20313. 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}})."
  20314. msgstr ""
  20315. #. type: table
  20316. #: guix-git/doc/guix.texi:13753
  20317. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  20318. msgstr ""
  20319. #. type: item
  20320. #: guix-git/doc/guix.texi:13754
  20321. #, no-wrap
  20322. msgid "bag"
  20323. msgstr ""
  20324. #. type: table
  20325. #: guix-git/doc/guix.texi:13757
  20326. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  20327. msgstr ""
  20328. #. type: item
  20329. #: guix-git/doc/guix.texi:13758
  20330. #, no-wrap
  20331. msgid "bag-with-origins"
  20332. msgstr ""
  20333. #. type: table
  20334. #: guix-git/doc/guix.texi:13760
  20335. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  20336. msgstr ""
  20337. #. type: item
  20338. #: guix-git/doc/guix.texi:13761
  20339. #, no-wrap
  20340. msgid "reverse-bag"
  20341. msgstr ""
  20342. #. type: table
  20343. #: guix-git/doc/guix.texi:13764
  20344. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  20345. msgstr ""
  20346. #. type: example
  20347. #: guix-git/doc/guix.texi:13767
  20348. #, no-wrap
  20349. msgid "guix graph -t reverse-bag dune\n"
  20350. msgstr ""
  20351. #. type: table
  20352. #: guix-git/doc/guix.texi:13774
  20353. 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."
  20354. msgstr ""
  20355. #. type: table
  20356. #: guix-git/doc/guix.texi:13780
  20357. 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."
  20358. msgstr ""
  20359. #. type: table
  20360. #: guix-git/doc/guix.texi:13783
  20361. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  20362. msgstr ""
  20363. #. type: example
  20364. #: guix-git/doc/guix.texi:13786
  20365. #, no-wrap
  20366. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  20367. msgstr ""
  20368. #. type: item
  20369. #: guix-git/doc/guix.texi:13788
  20370. #, no-wrap
  20371. msgid "module"
  20372. msgstr "módulo"
  20373. #. type: table
  20374. #: guix-git/doc/guix.texi:13792
  20375. 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:"
  20376. msgstr ""
  20377. #. type: example
  20378. #: guix-git/doc/guix.texi:13795
  20379. #, no-wrap
  20380. msgid "guix graph -t module guile | xdot -\n"
  20381. msgstr ""
  20382. #. type: Plain text
  20383. #: guix-git/doc/guix.texi:13800
  20384. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  20385. msgstr ""
  20386. #. type: table
  20387. #: guix-git/doc/guix.texi:13805
  20388. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  20389. msgstr ""
  20390. #. type: table
  20391. #: guix-git/doc/guix.texi:13808
  20392. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  20393. msgstr ""
  20394. #. type: table
  20395. #: guix-git/doc/guix.texi:13812
  20396. 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!):"
  20397. msgstr ""
  20398. #. type: example
  20399. #: guix-git/doc/guix.texi:13815
  20400. #, no-wrap
  20401. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  20402. msgstr ""
  20403. #. type: item
  20404. #: guix-git/doc/guix.texi:13817
  20405. #, no-wrap
  20406. msgid "referrers"
  20407. msgstr ""
  20408. #. type: table
  20409. #: guix-git/doc/guix.texi:13820
  20410. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  20411. msgstr ""
  20412. #. type: table
  20413. #: guix-git/doc/guix.texi:13826
  20414. 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."
  20415. msgstr ""
  20416. #. type: table
  20417. #: guix-git/doc/guix.texi:13829
  20418. msgid "It can help determine what is preventing a store item from being garbage collected."
  20419. msgstr ""
  20420. #. type: cindex
  20421. #: guix-git/doc/guix.texi:13832
  20422. #, no-wrap
  20423. msgid "shortest path, between packages"
  20424. msgstr ""
  20425. #. type: Plain text
  20426. #: guix-git/doc/guix.texi:13839
  20427. 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.):"
  20428. msgstr ""
  20429. #. type: example
  20430. #: guix-git/doc/guix.texi:13853
  20431. #, no-wrap
  20432. msgid ""
  20433. "$ guix graph --path emacs libunistring\n"
  20434. "emacs@@26.3\n"
  20435. "mailutils@@3.9\n"
  20436. "libunistring@@0.9.10\n"
  20437. "$ guix graph --path -t derivation emacs libunistring\n"
  20438. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  20439. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  20440. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  20441. "$ guix graph --path -t references emacs libunistring\n"
  20442. "/gnu/store/@dots{}-emacs-26.3\n"
  20443. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  20444. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  20445. msgstr ""
  20446. #. type: Plain text
  20447. #: guix-git/doc/guix.texi:13861
  20448. 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:"
  20449. msgstr ""
  20450. #. type: example
  20451. #: guix-git/doc/guix.texi:13864
  20452. #, no-wrap
  20453. msgid "guix graph -M 2 libreoffice | xdot -f fdp -\n"
  20454. msgstr ""
  20455. #. type: Plain text
  20456. #: guix-git/doc/guix.texi:13868
  20457. 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."
  20458. msgstr ""
  20459. #. type: Plain text
  20460. #: guix-git/doc/guix.texi:13870
  20461. msgid "The available options are the following:"
  20462. msgstr ""
  20463. #. type: table
  20464. #: guix-git/doc/guix.texi:13876
  20465. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  20466. msgstr ""
  20467. #. type: item
  20468. #: guix-git/doc/guix.texi:13877
  20469. #, no-wrap
  20470. msgid "--list-types"
  20471. msgstr ""
  20472. #. type: table
  20473. #: guix-git/doc/guix.texi:13879
  20474. msgid "List the supported graph types."
  20475. msgstr "Lista os tipos de gráficos disponíveis."
  20476. #. type: item
  20477. #: guix-git/doc/guix.texi:13880
  20478. #, no-wrap
  20479. msgid "--backend=@var{backend}"
  20480. msgstr ""
  20481. #. type: itemx
  20482. #: guix-git/doc/guix.texi:13881
  20483. #, no-wrap
  20484. msgid "-b @var{backend}"
  20485. msgstr ""
  20486. #. type: table
  20487. #: guix-git/doc/guix.texi:13883
  20488. msgid "Produce a graph using the selected @var{backend}."
  20489. msgstr ""
  20490. #. type: item
  20491. #: guix-git/doc/guix.texi:13884
  20492. #, no-wrap
  20493. msgid "--list-backends"
  20494. msgstr "--list-backends"
  20495. #. type: table
  20496. #: guix-git/doc/guix.texi:13886
  20497. msgid "List the supported graph backends."
  20498. msgstr "Lista os backends de gráficos disponíveis."
  20499. #. type: table
  20500. #: guix-git/doc/guix.texi:13888
  20501. msgid "Currently, the available backends are Graphviz and d3.js."
  20502. msgstr ""
  20503. #. type: item
  20504. #: guix-git/doc/guix.texi:13889
  20505. #, no-wrap
  20506. msgid "--path"
  20507. msgstr ""
  20508. #. type: table
  20509. #: guix-git/doc/guix.texi:13894
  20510. 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}:"
  20511. msgstr ""
  20512. #. type: example
  20513. #: guix-git/doc/guix.texi:13901
  20514. #, no-wrap
  20515. msgid ""
  20516. "$ guix graph --path -t references libreoffice llvm\n"
  20517. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  20518. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  20519. "/gnu/store/@dots{}-mesa-19.3.4\n"
  20520. "/gnu/store/@dots{}-llvm-9.0.1\n"
  20521. msgstr ""
  20522. #. type: example
  20523. #: guix-git/doc/guix.texi:13911
  20524. #, no-wrap
  20525. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  20526. msgstr ""
  20527. #. type: table
  20528. #: guix-git/doc/guix.texi:13916
  20529. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  20530. msgstr ""
  20531. #. type: table
  20532. #: guix-git/doc/guix.texi:13919
  20533. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  20534. msgstr ""
  20535. #. type: Plain text
  20536. #: guix-git/doc/guix.texi:13935
  20537. 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:"
  20538. msgstr ""
  20539. #. type: example
  20540. #: guix-git/doc/guix.texi:13938
  20541. #, no-wrap
  20542. msgid "guix graph git --with-input=openssl=libressl\n"
  20543. msgstr ""
  20544. #. type: Plain text
  20545. #: guix-git/doc/guix.texi:13941
  20546. msgid "So many possibilities, so much fun!"
  20547. msgstr ""
  20548. #. type: section
  20549. #: guix-git/doc/guix.texi:13943
  20550. #, no-wrap
  20551. msgid "Invoking @command{guix publish}"
  20552. msgstr "Invocando @command{guix publish}"
  20553. #. type: command{#1}
  20554. #: guix-git/doc/guix.texi:13945
  20555. #, no-wrap
  20556. msgid "guix publish"
  20557. msgstr ""
  20558. #. type: Plain text
  20559. #: guix-git/doc/guix.texi:13949
  20560. 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})."
  20561. msgstr ""
  20562. #. type: Plain text
  20563. #: guix-git/doc/guix.texi:13955
  20564. 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."
  20565. msgstr ""
  20566. #. type: Plain text
  20567. #: guix-git/doc/guix.texi:13961
  20568. 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."
  20569. msgstr ""
  20570. #. type: Plain text
  20571. #: guix-git/doc/guix.texi:13965
  20572. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  20573. msgstr ""
  20574. #. type: Plain text
  20575. #: guix-git/doc/guix.texi:13970
  20576. 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})."
  20577. msgstr ""
  20578. #. type: example
  20579. #: guix-git/doc/guix.texi:13975
  20580. #, no-wrap
  20581. msgid "guix publish @var{options}@dots{}\n"
  20582. msgstr ""
  20583. #. type: Plain text
  20584. #: guix-git/doc/guix.texi:13979
  20585. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  20586. msgstr ""
  20587. #. type: example
  20588. #: guix-git/doc/guix.texi:13982
  20589. #, no-wrap
  20590. msgid "guix publish\n"
  20591. msgstr ""
  20592. #. type: Plain text
  20593. #: guix-git/doc/guix.texi:13986
  20594. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  20595. msgstr ""
  20596. #. type: Plain text
  20597. #: guix-git/doc/guix.texi:13994
  20598. 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})."
  20599. msgstr ""
  20600. #. type: Plain text
  20601. #: guix-git/doc/guix.texi:14001
  20602. 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}):"
  20603. msgstr ""
  20604. #. type: example
  20605. #: guix-git/doc/guix.texi:14004
  20606. #, no-wrap
  20607. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  20608. msgstr ""
  20609. #. type: Plain text
  20610. #: guix-git/doc/guix.texi:14008
  20611. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  20612. msgstr ""
  20613. #. type: cindex
  20614. #: guix-git/doc/guix.texi:14009
  20615. #, no-wrap
  20616. msgid "build logs, publication"
  20617. msgstr ""
  20618. #. type: Plain text
  20619. #: guix-git/doc/guix.texi:14011
  20620. msgid "Build logs are available from @code{/log} URLs like:"
  20621. msgstr ""
  20622. #. type: example
  20623. #: guix-git/doc/guix.texi:14014
  20624. #, no-wrap
  20625. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  20626. msgstr ""
  20627. #. type: Plain text
  20628. #: guix-git/doc/guix.texi:14024
  20629. 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."
  20630. msgstr ""
  20631. #. type: item
  20632. #: guix-git/doc/guix.texi:14028
  20633. #, no-wrap
  20634. msgid "--port=@var{port}"
  20635. msgstr "--port=@var{porta}"
  20636. #. type: itemx
  20637. #: guix-git/doc/guix.texi:14029
  20638. #, no-wrap
  20639. msgid "-p @var{port}"
  20640. msgstr "-p @var{porta}"
  20641. #. type: table
  20642. #: guix-git/doc/guix.texi:14031
  20643. msgid "Listen for HTTP requests on @var{port}."
  20644. msgstr "Ouve requisições HTTP na @var{porta}."
  20645. #. type: item
  20646. #: guix-git/doc/guix.texi:14032
  20647. #, no-wrap
  20648. msgid "--listen=@var{host}"
  20649. msgstr ""
  20650. #. type: table
  20651. #: guix-git/doc/guix.texi:14035
  20652. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  20653. msgstr ""
  20654. #. type: table
  20655. #: guix-git/doc/guix.texi:14040
  20656. 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."
  20657. msgstr ""
  20658. #. type: item
  20659. #: guix-git/doc/guix.texi:14041
  20660. #, no-wrap
  20661. msgid "--compression[=@var{method}[:@var{level}]]"
  20662. msgstr ""
  20663. #. type: itemx
  20664. #: guix-git/doc/guix.texi:14042
  20665. #, no-wrap
  20666. msgid "-C [@var{method}[:@var{level}]]"
  20667. msgstr ""
  20668. #. type: table
  20669. #: guix-git/doc/guix.texi:14046
  20670. 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."
  20671. msgstr ""
  20672. #. type: table
  20673. #: guix-git/doc/guix.texi:14050
  20674. 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."
  20675. msgstr ""
  20676. #. type: table
  20677. #: guix-git/doc/guix.texi:14057
  20678. 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."
  20679. msgstr ""
  20680. #. type: table
  20681. #: guix-git/doc/guix.texi:14061
  20682. 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}."
  20683. msgstr ""
  20684. #. type: table
  20685. #: guix-git/doc/guix.texi:14070
  20686. 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."
  20687. msgstr ""
  20688. #. type: table
  20689. #: guix-git/doc/guix.texi:14075
  20690. 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."
  20691. msgstr ""
  20692. #. type: item
  20693. #: guix-git/doc/guix.texi:14076
  20694. #, no-wrap
  20695. msgid "--cache=@var{directory}"
  20696. msgstr ""
  20697. #. type: itemx
  20698. #: guix-git/doc/guix.texi:14077
  20699. #, no-wrap
  20700. msgid "-c @var{directory}"
  20701. msgstr ""
  20702. #. type: table
  20703. #: guix-git/doc/guix.texi:14080
  20704. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  20705. msgstr ""
  20706. #. type: table
  20707. #: guix-git/doc/guix.texi:14088
  20708. 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."
  20709. msgstr ""
  20710. #. type: table
  20711. #: guix-git/doc/guix.texi:14096
  20712. 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."
  20713. msgstr ""
  20714. #. type: table
  20715. #: guix-git/doc/guix.texi:14103
  20716. 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."
  20717. msgstr ""
  20718. #. type: table
  20719. #: guix-git/doc/guix.texi:14107
  20720. 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."
  20721. msgstr ""
  20722. #. type: table
  20723. #: guix-git/doc/guix.texi:14110
  20724. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  20725. msgstr ""
  20726. #. type: item
  20727. #: guix-git/doc/guix.texi:14111
  20728. #, no-wrap
  20729. msgid "--workers=@var{N}"
  20730. msgstr "--workers=@var{N}"
  20731. #. type: table
  20732. #: guix-git/doc/guix.texi:14114
  20733. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  20734. msgstr ""
  20735. #. type: item
  20736. #: guix-git/doc/guix.texi:14115
  20737. #, no-wrap
  20738. msgid "--ttl=@var{ttl}"
  20739. msgstr ""
  20740. #. type: table
  20741. #: guix-git/doc/guix.texi:14119 guix-git/doc/guix.texi:33828
  20742. 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."
  20743. msgstr ""
  20744. #. type: table
  20745. #: guix-git/doc/guix.texi:14124
  20746. 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}."
  20747. msgstr ""
  20748. #. type: table
  20749. #: guix-git/doc/guix.texi:14128
  20750. 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."
  20751. msgstr ""
  20752. #. type: item
  20753. #: guix-git/doc/guix.texi:14129
  20754. #, fuzzy, no-wrap
  20755. #| msgid "--manifest=@var{file}"
  20756. msgid "--negative-ttl=@var{ttl}"
  20757. msgstr "--manifest=@var{arquivo}"
  20758. #. type: table
  20759. #: guix-git/doc/guix.texi:14134 guix-git/doc/guix.texi:33837
  20760. 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."
  20761. msgstr ""
  20762. #. type: table
  20763. #: guix-git/doc/guix.texi:14138
  20764. 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."
  20765. msgstr ""
  20766. #. type: item
  20767. #: guix-git/doc/guix.texi:14139
  20768. #, no-wrap
  20769. msgid "--cache-bypass-threshold=@var{size}"
  20770. msgstr ""
  20771. #. type: table
  20772. #: guix-git/doc/guix.texi:14144
  20773. 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}."
  20774. msgstr ""
  20775. #. type: table
  20776. #: guix-git/doc/guix.texi:14149
  20777. 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."
  20778. msgstr ""
  20779. #. type: table
  20780. #: guix-git/doc/guix.texi:14153
  20781. 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."
  20782. msgstr ""
  20783. #. type: item
  20784. #: guix-git/doc/guix.texi:14154
  20785. #, no-wrap
  20786. msgid "--nar-path=@var{path}"
  20787. msgstr ""
  20788. #. type: table
  20789. #: guix-git/doc/guix.texi:14157
  20790. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  20791. msgstr ""
  20792. #. type: table
  20793. #: guix-git/doc/guix.texi:14161
  20794. 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}."
  20795. msgstr ""
  20796. #. type: item
  20797. #: guix-git/doc/guix.texi:14162
  20798. #, no-wrap
  20799. msgid "--public-key=@var{file}"
  20800. msgstr ""
  20801. #. type: itemx
  20802. #: guix-git/doc/guix.texi:14163
  20803. #, no-wrap
  20804. msgid "--private-key=@var{file}"
  20805. msgstr ""
  20806. #. type: table
  20807. #: guix-git/doc/guix.texi:14166 guix-git/doc/guix.texi:29574
  20808. #: guix-git/doc/guix.texi:29611
  20809. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  20810. msgstr ""
  20811. #. type: table
  20812. #: guix-git/doc/guix.texi:14173
  20813. 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."
  20814. msgstr ""
  20815. #. type: item
  20816. #: guix-git/doc/guix.texi:14174
  20817. #, no-wrap
  20818. msgid "--repl[=@var{port}]"
  20819. msgstr ""
  20820. #. type: itemx
  20821. #: guix-git/doc/guix.texi:14175
  20822. #, no-wrap
  20823. msgid "-r [@var{port}]"
  20824. msgstr "-r [@var{porta}]"
  20825. #. type: table
  20826. #: guix-git/doc/guix.texi:14179
  20827. 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."
  20828. msgstr ""
  20829. #. type: Plain text
  20830. #: guix-git/doc/guix.texi:14185
  20831. 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}})."
  20832. msgstr ""
  20833. #. type: Plain text
  20834. #: guix-git/doc/guix.texi:14188
  20835. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  20836. msgstr ""
  20837. #. type: itemize
  20838. #: guix-git/doc/guix.texi:14192
  20839. msgid "If your host distro uses the systemd init system:"
  20840. msgstr ""
  20841. #. type: example
  20842. #: guix-git/doc/guix.texi:14197
  20843. #, no-wrap
  20844. msgid ""
  20845. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  20846. " /etc/systemd/system/\n"
  20847. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  20848. msgstr ""
  20849. #. type: example
  20850. #: guix-git/doc/guix.texi:14205
  20851. #, no-wrap
  20852. msgid ""
  20853. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  20854. "# start guix-publish\n"
  20855. msgstr ""
  20856. #. type: itemize
  20857. #: guix-git/doc/guix.texi:14209
  20858. msgid "Otherwise, proceed similarly with your distro's init system."
  20859. msgstr ""
  20860. #. type: section
  20861. #: guix-git/doc/guix.texi:14212
  20862. #, no-wrap
  20863. msgid "Invoking @command{guix challenge}"
  20864. msgstr "Invocando @command{guix challenge}"
  20865. #. type: cindex
  20866. #: guix-git/doc/guix.texi:14215
  20867. #, no-wrap
  20868. msgid "verifiable builds"
  20869. msgstr ""
  20870. #. type: command{#1}
  20871. #: guix-git/doc/guix.texi:14216
  20872. #, no-wrap
  20873. msgid "guix challenge"
  20874. msgstr ""
  20875. #. type: cindex
  20876. #: guix-git/doc/guix.texi:14217
  20877. #, no-wrap
  20878. msgid "challenge"
  20879. msgstr ""
  20880. #. type: Plain text
  20881. #: guix-git/doc/guix.texi:14222
  20882. 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."
  20883. msgstr ""
  20884. #. type: Plain text
  20885. #: guix-git/doc/guix.texi:14230
  20886. 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."
  20887. msgstr ""
  20888. #. type: Plain text
  20889. #: guix-git/doc/guix.texi:14239
  20890. 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."
  20891. msgstr ""
  20892. #. type: Plain text
  20893. #: guix-git/doc/guix.texi:14241
  20894. msgid "The command output looks like this:"
  20895. msgstr ""
  20896. #. type: smallexample
  20897. #: guix-git/doc/guix.texi:14253
  20898. #, no-wrap
  20899. msgid ""
  20900. "$ guix challenge --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  20901. "updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER-1}'... 100.0%\n"
  20902. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  20903. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  20904. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  20905. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  20906. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  20907. " differing files:\n"
  20908. " /lib/libcrypto.so.1.1\n"
  20909. " /lib/libssl.so.1.1\n"
  20910. "\n"
  20911. msgstr ""
  20912. #. type: smallexample
  20913. #: guix-git/doc/guix.texi:14260
  20914. #, no-wrap
  20915. msgid ""
  20916. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  20917. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  20918. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  20919. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  20920. " differing file:\n"
  20921. " /libexec/git-core/git-fsck\n"
  20922. "\n"
  20923. msgstr ""
  20924. #. type: smallexample
  20925. #: guix-git/doc/guix.texi:14267
  20926. #, no-wrap
  20927. msgid ""
  20928. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  20929. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  20930. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  20931. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  20932. " differing file:\n"
  20933. " /share/man/man1/pius.1.gz\n"
  20934. "\n"
  20935. msgstr ""
  20936. #. type: smallexample
  20937. #: guix-git/doc/guix.texi:14269
  20938. #, no-wrap
  20939. msgid ""
  20940. "@dots{}\n"
  20941. "\n"
  20942. msgstr ""
  20943. #. type: smallexample
  20944. #: guix-git/doc/guix.texi:14274
  20945. #, no-wrap
  20946. msgid ""
  20947. "6,406 store items were analyzed:\n"
  20948. " - 4,749 (74.1%) were identical\n"
  20949. " - 525 (8.2%) differed\n"
  20950. " - 1,132 (17.7%) were inconclusive\n"
  20951. msgstr ""
  20952. #. type: Plain text
  20953. #: guix-git/doc/guix.texi:14282
  20954. msgid "In this example, @command{guix challenge} first scans the store to determine the set of locally-built derivations---as opposed to store items that were downloaded from a substitute server---and then queries all the substitute servers. It then reports those store items for which the servers obtained a result different from the local build."
  20955. msgstr ""
  20956. #. type: cindex
  20957. #: guix-git/doc/guix.texi:14283
  20958. #, no-wrap
  20959. msgid "non-determinism, in package builds"
  20960. msgstr ""
  20961. #. type: Plain text
  20962. #: guix-git/doc/guix.texi:14294
  20963. 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."
  20964. msgstr ""
  20965. #. type: Plain text
  20966. #: guix-git/doc/guix.texi:14297
  20967. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  20968. msgstr ""
  20969. #. type: example
  20970. #: guix-git/doc/guix.texi:14302
  20971. #, no-wrap
  20972. msgid ""
  20973. "guix challenge git \\\n"
  20974. " --diff=diffoscope \\\n"
  20975. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  20976. msgstr ""
  20977. #. type: Plain text
  20978. #: guix-git/doc/guix.texi:14306
  20979. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  20980. msgstr ""
  20981. #. type: Plain text
  20982. #: guix-git/doc/guix.texi:14309
  20983. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  20984. msgstr ""
  20985. #. type: example
  20986. #: guix-git/doc/guix.texi:14314
  20987. #, no-wrap
  20988. msgid ""
  20989. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  20990. " | lzip -d | guix archive -x /tmp/git\n"
  20991. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  20992. msgstr ""
  20993. #. type: Plain text
  20994. #: guix-git/doc/guix.texi:14323
  20995. 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."
  20996. msgstr ""
  20997. #. type: Plain text
  20998. #: guix-git/doc/guix.texi:14331
  20999. 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."
  21000. msgstr ""
  21001. #. type: Plain text
  21002. #: guix-git/doc/guix.texi:14335
  21003. 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:"
  21004. msgstr ""
  21005. #. type: example
  21006. #: guix-git/doc/guix.texi:14338
  21007. #, no-wrap
  21008. msgid "$ guix challenge @var{package}\n"
  21009. msgstr ""
  21010. #. type: Plain text
  21011. #: guix-git/doc/guix.texi:14343
  21012. msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}."
  21013. msgstr ""
  21014. #. type: example
  21015. #: guix-git/doc/guix.texi:14348
  21016. #, no-wrap
  21017. msgid "guix challenge @var{options} [@var{packages}@dots{}]\n"
  21018. msgstr ""
  21019. #. type: Plain text
  21020. #: guix-git/doc/guix.texi:14355
  21021. 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)."
  21022. msgstr ""
  21023. #. type: Plain text
  21024. #: guix-git/doc/guix.texi:14357
  21025. msgid "The one option that matters is:"
  21026. msgstr ""
  21027. #. type: table
  21028. #: guix-git/doc/guix.texi:14363
  21029. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  21030. msgstr ""
  21031. #. type: item
  21032. #: guix-git/doc/guix.texi:14364
  21033. #, no-wrap
  21034. msgid "--diff=@var{mode}"
  21035. msgstr ""
  21036. #. type: table
  21037. #: guix-git/doc/guix.texi:14366
  21038. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  21039. msgstr ""
  21040. #. type: item
  21041. #: guix-git/doc/guix.texi:14368
  21042. #, no-wrap
  21043. msgid "@code{simple} (the default)"
  21044. msgstr ""
  21045. #. type: table
  21046. #: guix-git/doc/guix.texi:14370
  21047. msgid "Show the list of files that differ."
  21048. msgstr ""
  21049. #. type: code{#1}
  21050. #: guix-git/doc/guix.texi:14371
  21051. #, no-wrap
  21052. msgid "diffoscope"
  21053. msgstr ""
  21054. #. type: var{#1}
  21055. #: guix-git/doc/guix.texi:14372
  21056. #, no-wrap
  21057. msgid "command"
  21058. msgstr ""
  21059. #. type: table
  21060. #: guix-git/doc/guix.texi:14375
  21061. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  21062. msgstr ""
  21063. #. type: table
  21064. #: guix-git/doc/guix.texi:14378
  21065. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  21066. msgstr ""
  21067. #. type: table
  21068. #: guix-git/doc/guix.texi:14381
  21069. msgid "Do not show further details about the differences."
  21070. msgstr ""
  21071. #. type: table
  21072. #: guix-git/doc/guix.texi:14386
  21073. 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."
  21074. msgstr ""
  21075. #. type: item
  21076. #: guix-git/doc/guix.texi:14387
  21077. #, no-wrap
  21078. msgid "--verbose"
  21079. msgstr "--verbose"
  21080. #. type: itemx
  21081. #: guix-git/doc/guix.texi:14388
  21082. #, no-wrap
  21083. msgid "-v"
  21084. msgstr ""
  21085. #. type: table
  21086. #: guix-git/doc/guix.texi:14391
  21087. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  21088. msgstr ""
  21089. #. type: section
  21090. #: guix-git/doc/guix.texi:14395
  21091. #, no-wrap
  21092. msgid "Invoking @command{guix copy}"
  21093. msgstr "Invocando @command{guix copy}"
  21094. #. type: cindex
  21095. #: guix-git/doc/guix.texi:14397
  21096. #, no-wrap
  21097. msgid "copy, of store items, over SSH"
  21098. msgstr ""
  21099. #. type: cindex
  21100. #: guix-git/doc/guix.texi:14398
  21101. #, no-wrap
  21102. msgid "SSH, copy of store items"
  21103. msgstr ""
  21104. #. type: cindex
  21105. #: guix-git/doc/guix.texi:14399
  21106. #, no-wrap
  21107. msgid "sharing store items across machines"
  21108. msgstr ""
  21109. #. type: cindex
  21110. #: guix-git/doc/guix.texi:14400
  21111. #, no-wrap
  21112. msgid "transferring store items across machines"
  21113. msgstr ""
  21114. #. type: Plain text
  21115. #: guix-git/doc/guix.texi:14407
  21116. 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}:"
  21117. msgstr ""
  21118. #. type: example
  21119. #: guix-git/doc/guix.texi:14411
  21120. #, no-wrap
  21121. msgid ""
  21122. "guix copy --to=@var{user}@@@var{host} \\\n"
  21123. " coreutils $(readlink -f ~/.guix-profile)\n"
  21124. msgstr ""
  21125. #. type: Plain text
  21126. #: guix-git/doc/guix.texi:14415
  21127. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  21128. msgstr ""
  21129. #. type: Plain text
  21130. #: guix-git/doc/guix.texi:14418
  21131. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  21132. msgstr ""
  21133. #. type: example
  21134. #: guix-git/doc/guix.texi:14421
  21135. #, no-wrap
  21136. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  21137. msgstr ""
  21138. #. type: Plain text
  21139. #: guix-git/doc/guix.texi:14426
  21140. 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."
  21141. msgstr ""
  21142. #. type: Plain text
  21143. #: guix-git/doc/guix.texi:14432
  21144. 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."
  21145. msgstr ""
  21146. #. type: example
  21147. #: guix-git/doc/guix.texi:14437
  21148. #, no-wrap
  21149. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  21150. msgstr ""
  21151. #. type: Plain text
  21152. #: guix-git/doc/guix.texi:14440
  21153. msgid "You must always specify one of the following options:"
  21154. msgstr ""
  21155. #. type: item
  21156. #: guix-git/doc/guix.texi:14442
  21157. #, no-wrap
  21158. msgid "--to=@var{spec}"
  21159. msgstr ""
  21160. #. type: itemx
  21161. #: guix-git/doc/guix.texi:14443
  21162. #, no-wrap
  21163. msgid "--from=@var{spec}"
  21164. msgstr ""
  21165. #. type: table
  21166. #: guix-git/doc/guix.texi:14447
  21167. 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}."
  21168. msgstr ""
  21169. #. type: Plain text
  21170. #: guix-git/doc/guix.texi:14451
  21171. 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}."
  21172. msgstr ""
  21173. #. type: Plain text
  21174. #: guix-git/doc/guix.texi:14455
  21175. 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})."
  21176. msgstr ""
  21177. #. type: section
  21178. #: guix-git/doc/guix.texi:14458
  21179. #, no-wrap
  21180. msgid "Invoking @command{guix container}"
  21181. msgstr "Invocando @command{guix container}"
  21182. #. type: command{#1}
  21183. #: guix-git/doc/guix.texi:14460
  21184. #, no-wrap
  21185. msgid "guix container"
  21186. msgstr ""
  21187. #. type: quotation
  21188. #: guix-git/doc/guix.texi:14464
  21189. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  21190. msgstr ""
  21191. #. type: Plain text
  21192. #: guix-git/doc/guix.texi:14471
  21193. 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."
  21194. msgstr ""
  21195. #. type: example
  21196. #: guix-git/doc/guix.texi:14476
  21197. #, no-wrap
  21198. msgid "guix container @var{action} @var{options}@dots{}\n"
  21199. msgstr ""
  21200. #. type: Plain text
  21201. #: guix-git/doc/guix.texi:14480
  21202. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  21203. msgstr ""
  21204. #. type: Plain text
  21205. #: guix-git/doc/guix.texi:14482
  21206. msgid "The following actions are available:"
  21207. msgstr ""
  21208. #. type: item
  21209. #: guix-git/doc/guix.texi:14484
  21210. #, no-wrap
  21211. msgid "exec"
  21212. msgstr ""
  21213. #. type: table
  21214. #: guix-git/doc/guix.texi:14486
  21215. msgid "Execute a command within the context of a running container."
  21216. msgstr ""
  21217. #. type: table
  21218. #: guix-git/doc/guix.texi:14488
  21219. msgid "The syntax is:"
  21220. msgstr ""
  21221. #. type: example
  21222. #: guix-git/doc/guix.texi:14491
  21223. #, no-wrap
  21224. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  21225. msgstr ""
  21226. #. type: table
  21227. #: guix-git/doc/guix.texi:14497
  21228. 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}."
  21229. msgstr ""
  21230. #. type: table
  21231. #: guix-git/doc/guix.texi:14501
  21232. 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:"
  21233. msgstr ""
  21234. #. type: example
  21235. #: guix-git/doc/guix.texi:14504
  21236. #, no-wrap
  21237. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  21238. msgstr ""
  21239. #. type: table
  21240. #: guix-git/doc/guix.texi:14508
  21241. 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."
  21242. msgstr ""
  21243. #. type: section
  21244. #: guix-git/doc/guix.texi:14512
  21245. #, no-wrap
  21246. msgid "Invoking @command{guix weather}"
  21247. msgstr "Invocando @command{guix weather}"
  21248. #. type: Plain text
  21249. #: guix-git/doc/guix.texi:14521
  21250. 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})."
  21251. msgstr ""
  21252. #. type: cindex
  21253. #: guix-git/doc/guix.texi:14522
  21254. #, no-wrap
  21255. msgid "statistics, for substitutes"
  21256. msgstr ""
  21257. #. type: cindex
  21258. #: guix-git/doc/guix.texi:14523
  21259. #, no-wrap
  21260. msgid "availability of substitutes"
  21261. msgstr ""
  21262. #. type: cindex
  21263. #: guix-git/doc/guix.texi:14524
  21264. #, no-wrap
  21265. msgid "substitute availability"
  21266. msgstr ""
  21267. #. type: cindex
  21268. #: guix-git/doc/guix.texi:14525
  21269. #, no-wrap
  21270. msgid "weather, substitute availability"
  21271. msgstr ""
  21272. #. type: Plain text
  21273. #: guix-git/doc/guix.texi:14527
  21274. msgid "Here's a sample run:"
  21275. msgstr ""
  21276. #. type: example
  21277. #: guix-git/doc/guix.texi:14539
  21278. #, no-wrap
  21279. msgid ""
  21280. "$ guix weather --substitute-urls=https://guix.example.org\n"
  21281. "computing 5,872 package derivations for x86_64-linux...\n"
  21282. "looking for 6,128 store items on https://guix.example.org..\n"
  21283. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  21284. "https://guix.example.org\n"
  21285. " 43.4% substitutes available (2,658 out of 6,128)\n"
  21286. " 7,032.5 MiB of nars (compressed)\n"
  21287. " 19,824.2 MiB on disk (uncompressed)\n"
  21288. " 0.030 seconds per request (182.9 seconds in total)\n"
  21289. " 33.5 requests per second\n"
  21290. "\n"
  21291. msgstr ""
  21292. #. type: example
  21293. #: guix-git/doc/guix.texi:14549
  21294. #, no-wrap
  21295. msgid ""
  21296. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  21297. " 867 queued builds\n"
  21298. " x86_64-linux: 518 (59.7%)\n"
  21299. " i686-linux: 221 (25.5%)\n"
  21300. " aarch64-linux: 128 (14.8%)\n"
  21301. " build rate: 23.41 builds per hour\n"
  21302. " x86_64-linux: 11.16 builds per hour\n"
  21303. " i686-linux: 6.03 builds per hour\n"
  21304. " aarch64-linux: 6.41 builds per hour\n"
  21305. msgstr ""
  21306. #. type: cindex
  21307. #: guix-git/doc/guix.texi:14551
  21308. #, no-wrap
  21309. msgid "continuous integration, statistics"
  21310. msgstr ""
  21311. #. type: Plain text
  21312. #: guix-git/doc/guix.texi:14562
  21313. 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)."
  21314. msgstr ""
  21315. #. type: Plain text
  21316. #: guix-git/doc/guix.texi:14568
  21317. 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."
  21318. msgstr ""
  21319. #. type: example
  21320. #: guix-git/doc/guix.texi:14573
  21321. #, no-wrap
  21322. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  21323. msgstr ""
  21324. #. type: Plain text
  21325. #: guix-git/doc/guix.texi:14581
  21326. 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%."
  21327. msgstr ""
  21328. #. type: table
  21329. #: guix-git/doc/guix.texi:14589
  21330. 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."
  21331. msgstr ""
  21332. #. type: table
  21333. #: guix-git/doc/guix.texi:14595
  21334. 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."
  21335. msgstr ""
  21336. #. type: table
  21337. #: guix-git/doc/guix.texi:14601
  21338. 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})."
  21339. msgstr ""
  21340. #. type: table
  21341. #: guix-git/doc/guix.texi:14604
  21342. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  21343. msgstr ""
  21344. #. type: item
  21345. #: guix-git/doc/guix.texi:14605
  21346. #, no-wrap
  21347. msgid "--coverage[=@var{count}]"
  21348. msgstr "--coverage[=@var{contagem}]"
  21349. #. type: itemx
  21350. #: guix-git/doc/guix.texi:14606
  21351. #, no-wrap
  21352. msgid "-c [@var{count}]"
  21353. msgstr "-c [@var{contagem}]"
  21354. #. type: table
  21355. #: guix-git/doc/guix.texi:14612
  21356. 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:"
  21357. msgstr ""
  21358. #. type: example
  21359. #: guix-git/doc/guix.texi:14626
  21360. #, no-wrap
  21361. msgid ""
  21362. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URLS} -c 10\n"
  21363. "computing 8,983 package derivations for x86_64-linux...\n"
  21364. "looking for 9,343 store items on @value{SUBSTITUTE-URLS}...\n"
  21365. "updating substitutes from '@value{SUBSTITUTE-URLS}'... 100.0%\n"
  21366. "@value{SUBSTITUTE-URLS}\n"
  21367. " 64.7% substitutes available (6,047 out of 9,343)\n"
  21368. "@dots{}\n"
  21369. "2502 packages are missing from '@value{SUBSTITUTE-URLS}' for 'x86_64-linux', among which:\n"
  21370. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  21371. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  21372. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  21373. " @dots{}\n"
  21374. msgstr ""
  21375. #. type: table
  21376. #: guix-git/doc/guix.texi:14632
  21377. 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."
  21378. msgstr ""
  21379. #. type: table
  21380. #: guix-git/doc/guix.texi:14636
  21381. 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."
  21382. msgstr ""
  21383. #. type: item
  21384. #: guix-git/doc/guix.texi:14637
  21385. #, no-wrap
  21386. msgid "--display-missing"
  21387. msgstr ""
  21388. #. type: table
  21389. #: guix-git/doc/guix.texi:14639
  21390. msgid "Display the list of store items for which substitutes are missing."
  21391. msgstr ""
  21392. #. type: section
  21393. #: guix-git/doc/guix.texi:14642
  21394. #, no-wrap
  21395. msgid "Invoking @command{guix processes}"
  21396. msgstr "Invocando @command{guix processes}"
  21397. #. type: Plain text
  21398. #: guix-git/doc/guix.texi:14650
  21399. 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:"
  21400. msgstr ""
  21401. #. type: example
  21402. #: guix-git/doc/guix.texi:14656
  21403. #, no-wrap
  21404. msgid ""
  21405. "$ sudo guix processes\n"
  21406. "SessionPID: 19002\n"
  21407. "ClientPID: 19090\n"
  21408. "ClientCommand: guix shell python\n"
  21409. "\n"
  21410. msgstr ""
  21411. #. type: example
  21412. #: guix-git/doc/guix.texi:14660
  21413. #, no-wrap
  21414. msgid ""
  21415. "SessionPID: 19402\n"
  21416. "ClientPID: 19367\n"
  21417. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  21418. "\n"
  21419. msgstr ""
  21420. #. type: example
  21421. #: guix-git/doc/guix.texi:14673
  21422. #, no-wrap
  21423. msgid ""
  21424. "SessionPID: 19444\n"
  21425. "ClientPID: 19419\n"
  21426. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  21427. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  21428. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  21429. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  21430. "ChildPID: 20495\n"
  21431. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  21432. "ChildPID: 27733\n"
  21433. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  21434. "ChildPID: 27793\n"
  21435. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  21436. msgstr ""
  21437. #. type: Plain text
  21438. #: guix-git/doc/guix.texi:14680
  21439. 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."
  21440. msgstr ""
  21441. #. type: Plain text
  21442. #: guix-git/doc/guix.texi:14687
  21443. 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})."
  21444. msgstr ""
  21445. #. type: Plain text
  21446. #: guix-git/doc/guix.texi:14692
  21447. 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:"
  21448. msgstr ""
  21449. #. type: example
  21450. #: guix-git/doc/guix.texi:14698
  21451. #, no-wrap
  21452. msgid ""
  21453. "$ sudo guix processes | \\\n"
  21454. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  21455. "ClientPID: 19419\n"
  21456. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  21457. msgstr ""
  21458. #. type: Plain text
  21459. #: guix-git/doc/guix.texi:14701
  21460. msgid "Additional options are listed below."
  21461. msgstr ""
  21462. #. type: table
  21463. #: guix-git/doc/guix.texi:14711
  21464. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  21465. msgstr ""
  21466. #. type: item
  21467. #: guix-git/doc/guix.texi:14712
  21468. #, no-wrap
  21469. msgid "normalized"
  21470. msgstr ""
  21471. #. type: table
  21472. #: guix-git/doc/guix.texi:14719
  21473. 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}."
  21474. msgstr ""
  21475. #. type: example
  21476. #: guix-git/doc/guix.texi:14729
  21477. #, no-wrap
  21478. msgid ""
  21479. "$ guix processes --format=normalized | \\\n"
  21480. " recsel \\\n"
  21481. " -j Session \\\n"
  21482. " -t ChildProcess \\\n"
  21483. " -p Session.PID,PID \\\n"
  21484. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  21485. "PID: 4435\n"
  21486. "Session_PID: 4278\n"
  21487. "\n"
  21488. msgstr ""
  21489. #. type: example
  21490. #: guix-git/doc/guix.texi:14732
  21491. #, no-wrap
  21492. msgid ""
  21493. "PID: 4554\n"
  21494. "Session_PID: 4278\n"
  21495. "\n"
  21496. msgstr ""
  21497. #. type: example
  21498. #: guix-git/doc/guix.texi:14735
  21499. #, no-wrap
  21500. msgid ""
  21501. "PID: 4646\n"
  21502. "Session_PID: 4278\n"
  21503. msgstr ""
  21504. #. type: cindex
  21505. #: guix-git/doc/guix.texi:14742
  21506. #, no-wrap
  21507. msgid "system configuration"
  21508. msgstr ""
  21509. #. type: Plain text
  21510. #: guix-git/doc/guix.texi:14748
  21511. 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."
  21512. msgstr ""
  21513. #. type: Plain text
  21514. #: guix-git/doc/guix.texi:14758
  21515. 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."
  21516. msgstr ""
  21517. #. type: Plain text
  21518. #: guix-git/doc/guix.texi:14763
  21519. 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."
  21520. msgstr ""
  21521. #. type: Plain text
  21522. #: guix-git/doc/guix.texi:14793
  21523. 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:"
  21524. msgstr ""
  21525. #. type: code{#1}
  21526. #: guix-git/doc/guix.texi:14794 guix-git/doc/guix.texi:36147
  21527. #, no-wrap
  21528. msgid "operating-system"
  21529. msgstr "sistema operacional"
  21530. #. type: include
  21531. #: guix-git/doc/guix.texi:14796
  21532. #, no-wrap
  21533. msgid "os-config-bare-bones.texi"
  21534. msgstr "os-config-bare-bones.texi"
  21535. #. type: Plain text
  21536. #: guix-git/doc/guix.texi:14803
  21537. 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."
  21538. 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."
  21539. #. type: Plain text
  21540. #: guix-git/doc/guix.texi:14808
  21541. 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}."
  21542. msgstr ""
  21543. #. type: unnumberedsubsec
  21544. #: guix-git/doc/guix.texi:14809
  21545. #, no-wrap
  21546. msgid "Bootloader"
  21547. msgstr ""
  21548. #. type: cindex
  21549. #: guix-git/doc/guix.texi:14811
  21550. #, no-wrap
  21551. msgid "legacy boot, on Intel machines"
  21552. msgstr ""
  21553. #. type: cindex
  21554. #: guix-git/doc/guix.texi:14812
  21555. #, no-wrap
  21556. msgid "BIOS boot, on Intel machines"
  21557. msgstr ""
  21558. #. type: cindex
  21559. #: guix-git/doc/guix.texi:14813
  21560. #, no-wrap
  21561. msgid "UEFI boot"
  21562. msgstr ""
  21563. #. type: cindex
  21564. #: guix-git/doc/guix.texi:14814
  21565. #, no-wrap
  21566. msgid "EFI boot"
  21567. msgstr ""
  21568. #. type: Plain text
  21569. #: guix-git/doc/guix.texi:14820
  21570. 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:"
  21571. msgstr ""
  21572. #. type: lisp
  21573. #: guix-git/doc/guix.texi:14825
  21574. #, no-wrap
  21575. msgid ""
  21576. "(bootloader-configuration\n"
  21577. " (bootloader grub-efi-bootloader)\n"
  21578. " (targets '(\"/boot/efi\")))\n"
  21579. msgstr ""
  21580. #. type: Plain text
  21581. #: guix-git/doc/guix.texi:14829
  21582. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  21583. msgstr ""
  21584. #. type: unnumberedsubsec
  21585. #: guix-git/doc/guix.texi:14830
  21586. #, no-wrap
  21587. msgid "Globally-Visible Packages"
  21588. msgstr ""
  21589. #. type: vindex
  21590. #: guix-git/doc/guix.texi:14832
  21591. #, no-wrap
  21592. msgid "%base-packages"
  21593. msgstr ""
  21594. #. type: Plain text
  21595. #: guix-git/doc/guix.texi:14845
  21596. 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:"
  21597. msgstr ""
  21598. #. type: lisp
  21599. #: guix-git/doc/guix.texi:14849
  21600. #, no-wrap
  21601. msgid ""
  21602. "(use-modules (gnu packages))\n"
  21603. "(use-modules (gnu packages dns))\n"
  21604. "\n"
  21605. msgstr ""
  21606. #. type: lisp
  21607. #: guix-git/doc/guix.texi:14854
  21608. #, no-wrap
  21609. msgid ""
  21610. "(operating-system\n"
  21611. " ;; ...\n"
  21612. " (packages (cons (list isc-bind \"utils\")\n"
  21613. " %base-packages)))\n"
  21614. msgstr ""
  21615. #. type: findex
  21616. #: guix-git/doc/guix.texi:14856
  21617. #, no-wrap
  21618. msgid "specification->package"
  21619. msgstr ""
  21620. #. type: Plain text
  21621. #: guix-git/doc/guix.texi:14865
  21622. 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:"
  21623. msgstr ""
  21624. #. type: lisp
  21625. #: guix-git/doc/guix.texi:14868
  21626. #, no-wrap
  21627. msgid ""
  21628. "(use-modules (gnu packages))\n"
  21629. "\n"
  21630. msgstr ""
  21631. #. type: lisp
  21632. #: guix-git/doc/guix.texi:14874
  21633. #, no-wrap
  21634. msgid ""
  21635. "(operating-system\n"
  21636. " ;; ...\n"
  21637. " (packages (append (map specification->package\n"
  21638. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  21639. " %base-packages)))\n"
  21640. msgstr ""
  21641. #. type: unnumberedsubsec
  21642. #: guix-git/doc/guix.texi:14876
  21643. #, no-wrap
  21644. msgid "System Services"
  21645. msgstr ""
  21646. #. type: cindex
  21647. #: guix-git/doc/guix.texi:14878 guix-git/doc/guix.texi:34860
  21648. #: guix-git/doc/guix.texi:36387
  21649. #, no-wrap
  21650. msgid "services"
  21651. msgstr ""
  21652. #. type: vindex
  21653. #: guix-git/doc/guix.texi:14879
  21654. #, no-wrap
  21655. msgid "%base-services"
  21656. msgstr ""
  21657. #. type: Plain text
  21658. #: guix-git/doc/guix.texi:14889
  21659. 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})."
  21660. msgstr ""
  21661. #. type: cindex
  21662. #: guix-git/doc/guix.texi:14890
  21663. #, no-wrap
  21664. msgid "customization, of services"
  21665. msgstr ""
  21666. #. type: findex
  21667. #: guix-git/doc/guix.texi:14891
  21668. #, no-wrap
  21669. msgid "modify-services"
  21670. msgstr ""
  21671. #. type: Plain text
  21672. #: guix-git/doc/guix.texi:14895
  21673. 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."
  21674. msgstr ""
  21675. #. type: anchor{#1}
  21676. #: guix-git/doc/guix.texi:14901
  21677. msgid "auto-login to TTY"
  21678. msgstr ""
  21679. #. type: Plain text
  21680. #: guix-git/doc/guix.texi:14901
  21681. 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:"
  21682. msgstr ""
  21683. #. type: lisp
  21684. #: guix-git/doc/guix.texi:14918
  21685. #, no-wrap
  21686. msgid ""
  21687. "(define %my-services\n"
  21688. " ;; My very own list of services.\n"
  21689. " (modify-services %base-services\n"
  21690. " (guix-service-type config =>\n"
  21691. " (guix-configuration\n"
  21692. " (inherit config)\n"
  21693. " ;; Fetch substitutes from example.org.\n"
  21694. " (substitute-urls\n"
  21695. " (list \"https://example.org/guix\"\n"
  21696. " \"https://ci.guix.gnu.org\"))))\n"
  21697. " (mingetty-service-type config =>\n"
  21698. " (mingetty-configuration\n"
  21699. " (inherit config)\n"
  21700. " ;; Automatically log in as \"guest\".\n"
  21701. " (auto-login \"guest\")))))\n"
  21702. "\n"
  21703. msgstr ""
  21704. #. type: lisp
  21705. #: guix-git/doc/guix.texi:14922
  21706. #, no-wrap
  21707. msgid ""
  21708. "(operating-system\n"
  21709. " ;; @dots{}\n"
  21710. " (services %my-services))\n"
  21711. msgstr ""
  21712. #. type: Plain text
  21713. #: guix-git/doc/guix.texi:14935
  21714. 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."
  21715. msgstr ""
  21716. #. type: Plain text
  21717. #: guix-git/doc/guix.texi:14942
  21718. 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:"
  21719. msgstr ""
  21720. #. type: include
  21721. #: guix-git/doc/guix.texi:14944
  21722. #, no-wrap
  21723. msgid "os-config-desktop.texi"
  21724. msgstr "os-config-desktop.texi"
  21725. #. type: Plain text
  21726. #: guix-git/doc/guix.texi:14949
  21727. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  21728. 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:"
  21729. #. type: include
  21730. #: guix-git/doc/guix.texi:14951
  21731. #, no-wrap
  21732. msgid "os-config-lightweight-desktop.texi"
  21733. msgstr "os-config-lightweight-desktop.texi"
  21734. #. type: Plain text
  21735. #: guix-git/doc/guix.texi:14957
  21736. 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."
  21737. 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}."
  21738. #. type: Plain text
  21739. #: guix-git/doc/guix.texi:14961
  21740. 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."
  21741. msgstr ""
  21742. #. type: Plain text
  21743. #: guix-git/doc/guix.texi:14968
  21744. 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:"
  21745. msgstr ""
  21746. #. type: lisp
  21747. #: guix-git/doc/guix.texi:14973
  21748. #, no-wrap
  21749. msgid ""
  21750. "(remove (lambda (service)\n"
  21751. " (eq? (service-kind service) avahi-service-type))\n"
  21752. " %desktop-services)\n"
  21753. msgstr ""
  21754. #. type: Plain text
  21755. #: guix-git/doc/guix.texi:14976
  21756. msgid "Alternatively, the @code{modify-services} macro can be used:"
  21757. msgstr ""
  21758. #. type: lisp
  21759. #: guix-git/doc/guix.texi:14980
  21760. #, no-wrap
  21761. msgid ""
  21762. "(modify-services %desktop-services\n"
  21763. " (delete avahi-service-type))\n"
  21764. msgstr ""
  21765. #. type: unnumberedsubsec
  21766. #: guix-git/doc/guix.texi:14983
  21767. #, no-wrap
  21768. msgid "Instantiating the System"
  21769. msgstr ""
  21770. #. type: Plain text
  21771. #: guix-git/doc/guix.texi:14990
  21772. 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})."
  21773. msgstr ""
  21774. #. type: Plain text
  21775. #: guix-git/doc/guix.texi:14998
  21776. 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."
  21777. msgstr ""
  21778. #. type: cindex
  21779. #: guix-git/doc/guix.texi:14999
  21780. #, no-wrap
  21781. msgid "roll-back, of the operating system"
  21782. msgstr ""
  21783. #. type: Plain text
  21784. #: guix-git/doc/guix.texi:15009
  21785. 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}."
  21786. msgstr ""
  21787. #. type: Plain text
  21788. #: guix-git/doc/guix.texi:15015
  21789. 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})."
  21790. msgstr ""
  21791. #. type: unnumberedsubsec
  21792. #: guix-git/doc/guix.texi:15016
  21793. #, no-wrap
  21794. msgid "The Programming Interface"
  21795. msgstr ""
  21796. #. type: Plain text
  21797. #: guix-git/doc/guix.texi:15021
  21798. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  21799. msgstr ""
  21800. #. type: deffn
  21801. #: guix-git/doc/guix.texi:15022
  21802. #, no-wrap
  21803. msgid "{Monadic Procedure} operating-system-derivation os"
  21804. msgstr ""
  21805. #. type: deffn
  21806. #: guix-git/doc/guix.texi:15025
  21807. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  21808. msgstr ""
  21809. #. type: deffn
  21810. #: guix-git/doc/guix.texi:15029
  21811. 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}."
  21812. msgstr ""
  21813. #. type: Plain text
  21814. #: guix-git/doc/guix.texi:15034
  21815. 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!"
  21816. msgstr ""
  21817. #. type: section
  21818. #: guix-git/doc/guix.texi:15037
  21819. #, no-wrap
  21820. msgid "@code{operating-system} Reference"
  21821. msgstr ""
  21822. #. type: Plain text
  21823. #: guix-git/doc/guix.texi:15042
  21824. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  21825. msgstr ""
  21826. #. type: deftp
  21827. #: guix-git/doc/guix.texi:15043
  21828. #, no-wrap
  21829. msgid "{Data Type} operating-system"
  21830. msgstr ""
  21831. #. type: deftp
  21832. #: guix-git/doc/guix.texi:15047
  21833. 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})."
  21834. msgstr ""
  21835. #. type: item
  21836. #: guix-git/doc/guix.texi:15049
  21837. #, no-wrap
  21838. msgid "@code{kernel} (default: @code{linux-libre})"
  21839. msgstr ""
  21840. #. type: table
  21841. #: guix-git/doc/guix.texi:15054
  21842. 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.}."
  21843. msgstr ""
  21844. #. type: code{#1}
  21845. #: guix-git/doc/guix.texi:15055 guix-git/doc/guix.texi:31198
  21846. #, no-wrap
  21847. msgid "hurd"
  21848. msgstr ""
  21849. #. type: item
  21850. #: guix-git/doc/guix.texi:15056
  21851. #, no-wrap
  21852. msgid "@code{hurd} (default: @code{#f})"
  21853. msgstr ""
  21854. #. type: table
  21855. #: guix-git/doc/guix.texi:15061
  21856. 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."
  21857. msgstr ""
  21858. #. type: quotation
  21859. #: guix-git/doc/guix.texi:15064
  21860. msgid "This feature is experimental and only supported for disk images."
  21861. msgstr ""
  21862. #. type: item
  21863. #: guix-git/doc/guix.texi:15066
  21864. #, no-wrap
  21865. msgid "@code{kernel-loadable-modules} (default: '())"
  21866. msgstr ""
  21867. #. type: table
  21868. #: guix-git/doc/guix.texi:15069
  21869. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  21870. msgstr ""
  21871. #. type: item
  21872. #: guix-git/doc/guix.texi:15070
  21873. #, no-wrap
  21874. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  21875. msgstr ""
  21876. #. type: table
  21877. #: guix-git/doc/guix.texi:15073
  21878. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  21879. msgstr ""
  21880. #. type: code{#1}
  21881. #: guix-git/doc/guix.texi:15074 guix-git/doc/guix.texi:35092
  21882. #: guix-git/doc/guix.texi:35111
  21883. #, no-wrap
  21884. msgid "bootloader"
  21885. msgstr ""
  21886. #. type: table
  21887. #: guix-git/doc/guix.texi:15076
  21888. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  21889. msgstr ""
  21890. #. type: code{#1}
  21891. #: guix-git/doc/guix.texi:15077 guix-git/doc/guix.texi:35285
  21892. #, no-wrap
  21893. msgid "label"
  21894. msgstr "rótulo"
  21895. #. type: table
  21896. #: guix-git/doc/guix.texi:15080
  21897. 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."
  21898. msgstr ""
  21899. #. type: item
  21900. #: guix-git/doc/guix.texi:15081 guix-git/doc/guix.texi:16800
  21901. #: guix-git/doc/guix.texi:19990 guix-git/doc/guix.texi:35215
  21902. #, no-wrap
  21903. msgid "@code{keyboard-layout} (default: @code{#f})"
  21904. msgstr "@code{keyboard-layout} (default: @code{#f})"
  21905. #. type: table
  21906. #: guix-git/doc/guix.texi:15086
  21907. 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."
  21908. msgstr ""
  21909. #. type: table
  21910. #: guix-git/doc/guix.texi:15091
  21911. 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})."
  21912. msgstr ""
  21913. #. type: quotation
  21914. #: guix-git/doc/guix.texi:15098
  21915. 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."
  21916. msgstr ""
  21917. #. type: item
  21918. #: guix-git/doc/guix.texi:15100
  21919. #, no-wrap
  21920. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  21921. msgstr ""
  21922. #. type: cindex
  21923. #: guix-git/doc/guix.texi:15101 guix-git/doc/guix.texi:34897
  21924. #: guix-git/doc/guix.texi:35020
  21925. #, no-wrap
  21926. msgid "initrd"
  21927. msgstr ""
  21928. #. type: cindex
  21929. #: guix-git/doc/guix.texi:15102 guix-git/doc/guix.texi:34898
  21930. #: guix-git/doc/guix.texi:35021
  21931. #, no-wrap
  21932. msgid "initial RAM disk"
  21933. msgstr ""
  21934. #. type: table
  21935. #: guix-git/doc/guix.texi:15105
  21936. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  21937. msgstr ""
  21938. #. type: item
  21939. #: guix-git/doc/guix.texi:15106
  21940. #, no-wrap
  21941. msgid "@code{initrd} (default: @code{base-initrd})"
  21942. msgstr ""
  21943. #. type: table
  21944. #: guix-git/doc/guix.texi:15110
  21945. 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}."
  21946. msgstr ""
  21947. #. type: item
  21948. #: guix-git/doc/guix.texi:15111
  21949. #, no-wrap
  21950. msgid "@code{firmware} (default: @code{%base-firmware})"
  21951. msgstr ""
  21952. #. type: cindex
  21953. #: guix-git/doc/guix.texi:15112
  21954. #, no-wrap
  21955. msgid "firmware"
  21956. msgstr ""
  21957. #. type: table
  21958. #: guix-git/doc/guix.texi:15114
  21959. msgid "List of firmware packages loadable by the operating system kernel."
  21960. msgstr ""
  21961. #. type: table
  21962. #: guix-git/doc/guix.texi:15119
  21963. 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."
  21964. msgstr ""
  21965. #. type: code{#1}
  21966. #: guix-git/doc/guix.texi:15120 guix-git/doc/guix.texi:36166
  21967. #, no-wrap
  21968. msgid "host-name"
  21969. msgstr ""
  21970. #. type: table
  21971. #: guix-git/doc/guix.texi:15122
  21972. msgid "The host name."
  21973. msgstr ""
  21974. #. type: code{#1}
  21975. #: guix-git/doc/guix.texi:15123
  21976. #, no-wrap
  21977. msgid "hosts-file"
  21978. msgstr ""
  21979. #. type: cindex
  21980. #: guix-git/doc/guix.texi:15124
  21981. #, no-wrap
  21982. msgid "hosts file"
  21983. msgstr ""
  21984. #. type: table
  21985. #: guix-git/doc/guix.texi:15129
  21986. msgid "A file-like object (@pxref{G-Expressions, file-like objects}) for use as @file{/etc/hosts} (@pxref{Host Names,,, libc, The GNU C Library Reference Manual}). The default is a file with entries for @code{localhost} and @var{host-name}."
  21987. msgstr ""
  21988. #. type: item
  21989. #: guix-git/doc/guix.texi:15130
  21990. #, no-wrap
  21991. msgid "@code{mapped-devices} (default: @code{'()})"
  21992. msgstr ""
  21993. #. type: table
  21994. #: guix-git/doc/guix.texi:15132
  21995. msgid "A list of mapped devices. @xref{Mapped Devices}."
  21996. msgstr ""
  21997. #. type: code{#1}
  21998. #: guix-git/doc/guix.texi:15133
  21999. #, no-wrap
  22000. msgid "file-systems"
  22001. msgstr ""
  22002. #. type: table
  22003. #: guix-git/doc/guix.texi:15135
  22004. msgid "A list of file systems. @xref{File Systems}."
  22005. msgstr ""
  22006. #. type: item
  22007. #: guix-git/doc/guix.texi:15136
  22008. #, no-wrap
  22009. msgid "@code{swap-devices} (default: @code{'()})"
  22010. msgstr ""
  22011. #. type: cindex
  22012. #: guix-git/doc/guix.texi:15137
  22013. #, no-wrap
  22014. msgid "swap devices"
  22015. msgstr ""
  22016. #. type: table
  22017. #: guix-git/doc/guix.texi:15139
  22018. msgid "A list of swap spaces. @xref{Swap Space}."
  22019. msgstr ""
  22020. #. type: item
  22021. #: guix-git/doc/guix.texi:15140
  22022. #, no-wrap
  22023. msgid "@code{users} (default: @code{%base-user-accounts})"
  22024. msgstr ""
  22025. #. type: itemx
  22026. #: guix-git/doc/guix.texi:15141
  22027. #, no-wrap
  22028. msgid "@code{groups} (default: @code{%base-groups})"
  22029. msgstr ""
  22030. #. type: table
  22031. #: guix-git/doc/guix.texi:15143
  22032. msgid "List of user accounts and groups. @xref{User Accounts}."
  22033. msgstr ""
  22034. #. type: table
  22035. #: guix-git/doc/guix.texi:15146
  22036. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  22037. msgstr ""
  22038. #. type: item
  22039. #: guix-git/doc/guix.texi:15147
  22040. #, no-wrap
  22041. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  22042. msgstr ""
  22043. #. type: table
  22044. #: guix-git/doc/guix.texi:15151
  22045. 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."
  22046. msgstr ""
  22047. #. type: table
  22048. #: guix-git/doc/guix.texi:15153
  22049. msgid "For instance, a valid value may look like this:"
  22050. msgstr ""
  22051. #. type: lisp
  22052. #: guix-git/doc/guix.texi:15159
  22053. #, no-wrap
  22054. msgid ""
  22055. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  22056. " (\".guile\" ,(plain-file \"guile\"\n"
  22057. " \"(use-modules (ice-9 readline))\n"
  22058. " (activate-readline)\")))\n"
  22059. msgstr ""
  22060. #. type: item
  22061. #: guix-git/doc/guix.texi:15161
  22062. #, no-wrap
  22063. msgid "@code{issue} (default: @code{%default-issue})"
  22064. msgstr ""
  22065. #. type: table
  22066. #: guix-git/doc/guix.texi:15164
  22067. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  22068. msgstr ""
  22069. #. type: item
  22070. #: guix-git/doc/guix.texi:15165
  22071. #, no-wrap
  22072. msgid "@code{packages} (default: @code{%base-packages})"
  22073. msgstr ""
  22074. #. type: table
  22075. #: guix-git/doc/guix.texi:15169
  22076. 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:"
  22077. msgstr ""
  22078. #. type: lisp
  22079. #: guix-git/doc/guix.texi:15174
  22080. #, no-wrap
  22081. msgid ""
  22082. "(cons* git ; the default \"out\" output\n"
  22083. " (list git \"send-email\") ; another output of git\n"
  22084. " %base-packages) ; the default set\n"
  22085. msgstr ""
  22086. #. type: table
  22087. #: guix-git/doc/guix.texi:15179
  22088. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  22089. msgstr ""
  22090. #. type: code{#1}
  22091. #: guix-git/doc/guix.texi:15180
  22092. #, no-wrap
  22093. msgid "timezone"
  22094. msgstr ""
  22095. #. type: table
  22096. #: guix-git/doc/guix.texi:15182
  22097. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  22098. msgstr ""
  22099. #. type: table
  22100. #: guix-git/doc/guix.texi:15186
  22101. 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."
  22102. msgstr ""
  22103. #. type: item
  22104. #: guix-git/doc/guix.texi:15187 guix-git/doc/guix.texi:21635
  22105. #, no-wrap
  22106. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  22107. msgstr ""
  22108. #. type: table
  22109. #: guix-git/doc/guix.texi:15190
  22110. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  22111. msgstr ""
  22112. #. type: item
  22113. #: guix-git/doc/guix.texi:15191
  22114. #, no-wrap
  22115. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  22116. msgstr ""
  22117. #. type: table
  22118. #: guix-git/doc/guix.texi:15194
  22119. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  22120. msgstr ""
  22121. #. type: item
  22122. #: guix-git/doc/guix.texi:15195
  22123. #, no-wrap
  22124. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  22125. msgstr ""
  22126. #. type: table
  22127. #: guix-git/doc/guix.texi:15199
  22128. 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."
  22129. msgstr ""
  22130. #. type: item
  22131. #: guix-git/doc/guix.texi:15200
  22132. #, no-wrap
  22133. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  22134. msgstr ""
  22135. #. type: table
  22136. #: guix-git/doc/guix.texi:15204
  22137. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  22138. msgstr ""
  22139. #. type: item
  22140. #: guix-git/doc/guix.texi:15205
  22141. #, no-wrap
  22142. msgid "@code{services} (default: @code{%base-services})"
  22143. msgstr ""
  22144. #. type: table
  22145. #: guix-git/doc/guix.texi:15207
  22146. msgid "A list of service objects denoting system services. @xref{Services}."
  22147. msgstr ""
  22148. #. type: cindex
  22149. #: guix-git/doc/guix.texi:15208
  22150. #, no-wrap
  22151. msgid "essential services"
  22152. msgstr ""
  22153. #. type: item
  22154. #: guix-git/doc/guix.texi:15209
  22155. #, no-wrap
  22156. msgid "@code{essential-services} (default: ...)"
  22157. msgstr ""
  22158. #. type: table
  22159. #: guix-git/doc/guix.texi:15214
  22160. msgid "The list of ``essential services''---i.e., things like instances of @code{system-service-type} and @code{host-name-service-type} (@pxref{Service Reference}), which are derived from the operating system definition itself. As a user you should @emph{never} need to touch this field."
  22161. msgstr ""
  22162. #. type: item
  22163. #: guix-git/doc/guix.texi:15215
  22164. #, no-wrap
  22165. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  22166. msgstr ""
  22167. #. type: cindex
  22168. #: guix-git/doc/guix.texi:15216
  22169. #, no-wrap
  22170. msgid "PAM"
  22171. msgstr ""
  22172. #. type: cindex
  22173. #: guix-git/doc/guix.texi:15217
  22174. #, no-wrap
  22175. msgid "pluggable authentication modules"
  22176. msgstr ""
  22177. #. type: table
  22178. #: guix-git/doc/guix.texi:15220
  22179. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  22180. msgstr ""
  22181. #. type: item
  22182. #: guix-git/doc/guix.texi:15221
  22183. #, no-wrap
  22184. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  22185. msgstr ""
  22186. #. type: table
  22187. #: guix-git/doc/guix.texi:15224
  22188. msgid "List of @code{<setuid-program>}. @xref{Setuid Programs}, for more information."
  22189. msgstr ""
  22190. #. type: item
  22191. #: guix-git/doc/guix.texi:15225
  22192. #, no-wrap
  22193. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  22194. msgstr ""
  22195. #. type: cindex
  22196. #: guix-git/doc/guix.texi:15226
  22197. #, no-wrap
  22198. msgid "sudoers file"
  22199. msgstr ""
  22200. #. type: table
  22201. #: guix-git/doc/guix.texi:15229
  22202. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  22203. msgstr ""
  22204. #. type: table
  22205. #: guix-git/doc/guix.texi:15234
  22206. 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}."
  22207. msgstr ""
  22208. #. type: deffn
  22209. #: guix-git/doc/guix.texi:15237
  22210. #, no-wrap
  22211. msgid "{Scheme Syntax} this-operating-system"
  22212. msgstr ""
  22213. #. type: deffn
  22214. #: guix-git/doc/guix.texi:15240
  22215. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  22216. msgstr ""
  22217. #. type: deffn
  22218. #: guix-git/doc/guix.texi:15243
  22219. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  22220. msgstr ""
  22221. #. type: lisp
  22222. #: guix-git/doc/guix.texi:15246 guix-git/doc/guix.texi:19198
  22223. #, no-wrap
  22224. msgid ""
  22225. "(use-modules (gnu) (guix))\n"
  22226. "\n"
  22227. msgstr ""
  22228. #. type: lisp
  22229. #: guix-git/doc/guix.texi:15251
  22230. #, no-wrap
  22231. msgid ""
  22232. "(operating-system\n"
  22233. " ;; ...\n"
  22234. " (label (package-full-name\n"
  22235. " (operating-system-kernel this-operating-system))))\n"
  22236. msgstr ""
  22237. #. type: deffn
  22238. #: guix-git/doc/guix.texi:15255
  22239. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  22240. msgstr ""
  22241. #. type: Plain text
  22242. #: guix-git/doc/guix.texi:15266
  22243. 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:"
  22244. msgstr ""
  22245. #. type: lisp
  22246. #: guix-git/doc/guix.texi:15272
  22247. #, no-wrap
  22248. msgid ""
  22249. "(file-system\n"
  22250. " (mount-point \"/home\")\n"
  22251. " (device \"/dev/sda3\")\n"
  22252. " (type \"ext4\"))\n"
  22253. msgstr ""
  22254. #. type: Plain text
  22255. #: guix-git/doc/guix.texi:15276
  22256. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  22257. msgstr ""
  22258. #. type: deftp
  22259. #: guix-git/doc/guix.texi:15277
  22260. #, no-wrap
  22261. msgid "{Data Type} file-system"
  22262. msgstr ""
  22263. #. type: deftp
  22264. #: guix-git/doc/guix.texi:15280
  22265. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  22266. msgstr ""
  22267. #. type: item
  22268. #: guix-git/doc/guix.texi:15282 guix-git/doc/guix.texi:15662
  22269. #: guix-git/doc/guix.texi:17804
  22270. #, no-wrap
  22271. msgid "type"
  22272. msgstr "tipo"
  22273. #. type: table
  22274. #: guix-git/doc/guix.texi:15285
  22275. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  22276. msgstr ""
  22277. #. type: code{#1}
  22278. #: guix-git/doc/guix.texi:15286
  22279. #, no-wrap
  22280. msgid "mount-point"
  22281. msgstr ""
  22282. #. type: table
  22283. #: guix-git/doc/guix.texi:15288
  22284. msgid "This designates the place where the file system is to be mounted."
  22285. msgstr ""
  22286. #. type: item
  22287. #: guix-git/doc/guix.texi:15289 guix-git/doc/guix.texi:17754
  22288. #, no-wrap
  22289. msgid "device"
  22290. msgstr ""
  22291. #. type: table
  22292. #: guix-git/doc/guix.texi:15299
  22293. 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.}."
  22294. msgstr ""
  22295. #. type: findex
  22296. #: guix-git/doc/guix.texi:15300
  22297. #, no-wrap
  22298. msgid "file-system-label"
  22299. msgstr ""
  22300. #. type: table
  22301. #: guix-git/doc/guix.texi:15305
  22302. 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:"
  22303. msgstr ""
  22304. #. type: lisp
  22305. #: guix-git/doc/guix.texi:15311
  22306. #, no-wrap
  22307. msgid ""
  22308. "(file-system\n"
  22309. " (mount-point \"/home\")\n"
  22310. " (type \"ext4\")\n"
  22311. " (device (file-system-label \"my-home\")))\n"
  22312. msgstr ""
  22313. #. type: code{#1}
  22314. #: guix-git/doc/guix.texi:15313 guix-git/doc/guix.texi:33595
  22315. #: guix-git/doc/guix.texi:33611
  22316. #, no-wrap
  22317. msgid "uuid"
  22318. msgstr "uuid"
  22319. #. type: table
  22320. #: guix-git/doc/guix.texi:15321
  22321. 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:"
  22322. msgstr ""
  22323. #. type: lisp
  22324. #: guix-git/doc/guix.texi:15327
  22325. #, no-wrap
  22326. msgid ""
  22327. "(file-system\n"
  22328. " (mount-point \"/home\")\n"
  22329. " (type \"ext4\")\n"
  22330. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  22331. msgstr ""
  22332. #. type: table
  22333. #: guix-git/doc/guix.texi:15335
  22334. 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."
  22335. msgstr ""
  22336. #. type: item
  22337. #: guix-git/doc/guix.texi:15336
  22338. #, no-wrap
  22339. msgid "@code{flags} (default: @code{'()})"
  22340. msgstr ""
  22341. #. type: table
  22342. #: guix-git/doc/guix.texi:15346
  22343. 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{strict-atime} (update file access time), @code{lazy-time} (only update time on the in-memory version of the file inode), and @code{no-exec} (disallow program execution). @xref{Mount-Unmount-Remount,,, libc, The GNU C Library Reference Manual}, for more information on these flags."
  22344. msgstr ""
  22345. #. type: item
  22346. #: guix-git/doc/guix.texi:15347
  22347. #, no-wrap
  22348. msgid "@code{options} (default: @code{#f})"
  22349. msgstr "@code{options} (default: @code{#f})"
  22350. #. type: table
  22351. #: guix-git/doc/guix.texi:15356
  22352. 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 and run @command{man 8 mount} for options for various file systems. Note that 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."
  22353. msgstr ""
  22354. #. type: item
  22355. #: guix-git/doc/guix.texi:15357
  22356. #, no-wrap
  22357. msgid "@code{mount?} (default: @code{#t})"
  22358. msgstr "@code{mount?} (default: @code{#t})"
  22359. #. type: table
  22360. #: guix-git/doc/guix.texi:15362
  22361. 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."
  22362. msgstr ""
  22363. #. type: item
  22364. #: guix-git/doc/guix.texi:15363
  22365. #, no-wrap
  22366. msgid "@code{needed-for-boot?} (default: @code{#f})"
  22367. msgstr ""
  22368. #. type: table
  22369. #: guix-git/doc/guix.texi:15368
  22370. 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."
  22371. msgstr ""
  22372. #. type: item
  22373. #: guix-git/doc/guix.texi:15369
  22374. #, no-wrap
  22375. msgid "@code{check?} (default: @code{#t})"
  22376. msgstr "@code{check?} (padrão: @code{#t})"
  22377. #. type: table
  22378. #: guix-git/doc/guix.texi:15373
  22379. 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."
  22380. msgstr ""
  22381. #. type: item
  22382. #: guix-git/doc/guix.texi:15374
  22383. #, fuzzy, no-wrap
  22384. #| msgid "@code{check?} (default: @code{#t})"
  22385. msgid "@code{skip-check-if-clean?} (default: @code{#t})"
  22386. msgstr "@code{check?} (padrão: @code{#t})"
  22387. #. type: table
  22388. #: guix-git/doc/guix.texi:15379
  22389. 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."
  22390. msgstr ""
  22391. #. type: table
  22392. #: guix-git/doc/guix.texi:15383
  22393. 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!"
  22394. msgstr ""
  22395. #. type: table
  22396. #: guix-git/doc/guix.texi:15387
  22397. 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."
  22398. msgstr ""
  22399. #. type: item
  22400. #: guix-git/doc/guix.texi:15388
  22401. #, fuzzy, no-wrap
  22402. #| msgid "@code{users} (default: @code{#f})"
  22403. msgid "@code{repair} (default: @code{'preen})"
  22404. msgstr "@code{users} (default: @code{#f})"
  22405. #. type: table
  22406. #: guix-git/doc/guix.texi:15391
  22407. msgid "When @code{check?} finds errors, it can (try to) repair them and continue booting. This option controls when and how to do so."
  22408. msgstr ""
  22409. #. type: table
  22410. #: guix-git/doc/guix.texi:15395
  22411. 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."
  22412. msgstr ""
  22413. #. type: table
  22414. #: guix-git/doc/guix.texi:15398
  22415. 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."
  22416. msgstr ""
  22417. #. type: table
  22418. #: guix-git/doc/guix.texi:15402
  22419. 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''."
  22420. msgstr ""
  22421. #. type: item
  22422. #: guix-git/doc/guix.texi:15403
  22423. #, no-wrap
  22424. msgid "@code{create-mount-point?} (default: @code{#f})"
  22425. msgstr ""
  22426. #. type: table
  22427. #: guix-git/doc/guix.texi:15405
  22428. msgid "When true, the mount point is created if it does not exist yet."
  22429. msgstr ""
  22430. #. type: item
  22431. #: guix-git/doc/guix.texi:15406
  22432. #, no-wrap
  22433. msgid "@code{mount-may-fail?} (default: @code{#f})"
  22434. msgstr ""
  22435. #. type: table
  22436. #: guix-git/doc/guix.texi:15411
  22437. 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."
  22438. msgstr ""
  22439. #. type: item
  22440. #: guix-git/doc/guix.texi:15412 guix-git/doc/guix.texi:15808
  22441. #, no-wrap
  22442. msgid "@code{dependencies} (default: @code{'()})"
  22443. msgstr ""
  22444. #. type: table
  22445. #: guix-git/doc/guix.texi:15416
  22446. 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."
  22447. msgstr ""
  22448. #. type: table
  22449. #: guix-git/doc/guix.texi:15420
  22450. 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}."
  22451. msgstr ""
  22452. #. type: table
  22453. #: guix-git/doc/guix.texi:15423
  22454. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  22455. msgstr ""
  22456. #. type: deffn
  22457. #: guix-git/doc/guix.texi:15426
  22458. #, no-wrap
  22459. msgid "{Scheme Procedure} file-system-label @var{str}"
  22460. msgstr ""
  22461. #. type: deffn
  22462. #: guix-git/doc/guix.texi:15429
  22463. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  22464. msgstr ""
  22465. #. type: lisp
  22466. #: guix-git/doc/guix.texi:15433
  22467. #, no-wrap
  22468. msgid ""
  22469. "(file-system-label \"home\")\n"
  22470. "@result{} #<file-system-label \"home\">\n"
  22471. msgstr ""
  22472. #. type: deffn
  22473. #: guix-git/doc/guix.texi:15437
  22474. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  22475. msgstr ""
  22476. #. type: Plain text
  22477. #: guix-git/doc/guix.texi:15441
  22478. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  22479. msgstr ""
  22480. #. type: defvr
  22481. #: guix-git/doc/guix.texi:15442
  22482. #, no-wrap
  22483. msgid "{Scheme Variable} %base-file-systems"
  22484. msgstr ""
  22485. #. type: defvr
  22486. #: guix-git/doc/guix.texi:15447
  22487. 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."
  22488. msgstr ""
  22489. #. type: defvr
  22490. #: guix-git/doc/guix.texi:15449
  22491. #, no-wrap
  22492. msgid "{Scheme Variable} %pseudo-terminal-file-system"
  22493. msgstr ""
  22494. #. type: defvr
  22495. #: guix-git/doc/guix.texi:15455
  22496. 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}."
  22497. msgstr ""
  22498. #. type: defvr
  22499. #: guix-git/doc/guix.texi:15457
  22500. #, no-wrap
  22501. msgid "{Scheme Variable} %shared-memory-file-system"
  22502. msgstr ""
  22503. #. type: defvr
  22504. #: guix-git/doc/guix.texi:15461
  22505. 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})."
  22506. msgstr ""
  22507. #. type: defvr
  22508. #: guix-git/doc/guix.texi:15463
  22509. #, no-wrap
  22510. msgid "{Scheme Variable} %immutable-store"
  22511. msgstr ""
  22512. #. type: defvr
  22513. #: guix-git/doc/guix.texi:15468
  22514. 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."
  22515. msgstr ""
  22516. #. type: defvr
  22517. #: guix-git/doc/guix.texi:15471
  22518. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  22519. msgstr ""
  22520. #. type: defvr
  22521. #: guix-git/doc/guix.texi:15473
  22522. #, no-wrap
  22523. msgid "{Scheme Variable} %binary-format-file-system"
  22524. msgstr ""
  22525. #. type: defvr
  22526. #: guix-git/doc/guix.texi:15477
  22527. 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."
  22528. msgstr ""
  22529. #. type: defvr
  22530. #: guix-git/doc/guix.texi:15479
  22531. #, no-wrap
  22532. msgid "{Scheme Variable} %fuse-control-file-system"
  22533. msgstr ""
  22534. #. type: defvr
  22535. #: guix-git/doc/guix.texi:15483
  22536. 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."
  22537. msgstr ""
  22538. #. type: Plain text
  22539. #: guix-git/doc/guix.texi:15487
  22540. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  22541. msgstr ""
  22542. #. type: deffn
  22543. #: guix-git/doc/guix.texi:15488
  22544. #, no-wrap
  22545. msgid "{Scheme Procedure} uuid @var{str} [@var{type}]"
  22546. msgstr ""
  22547. #. type: deffn
  22548. #: guix-git/doc/guix.texi:15491
  22549. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  22550. msgstr ""
  22551. #. type: lisp
  22552. #: guix-git/doc/guix.texi:15495
  22553. #, no-wrap
  22554. msgid ""
  22555. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  22556. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  22557. "\n"
  22558. msgstr ""
  22559. #. type: lisp
  22560. #: guix-git/doc/guix.texi:15498
  22561. #, no-wrap
  22562. msgid ""
  22563. "(uuid \"1234-ABCD\" 'fat)\n"
  22564. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  22565. msgstr ""
  22566. #. type: deffn
  22567. #: guix-git/doc/guix.texi:15502
  22568. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  22569. msgstr ""
  22570. #. type: deffn
  22571. #: guix-git/doc/guix.texi:15505
  22572. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  22573. msgstr ""
  22574. #. type: subsection
  22575. #: guix-git/doc/guix.texi:15508 guix-git/doc/guix.texi:15509
  22576. #, no-wrap
  22577. msgid "Btrfs file system"
  22578. msgstr ""
  22579. #. type: Plain text
  22580. #: guix-git/doc/guix.texi:15515
  22581. 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."
  22582. msgstr ""
  22583. #. type: Plain text
  22584. #: guix-git/doc/guix.texi:15518
  22585. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  22586. msgstr ""
  22587. #. type: lisp
  22588. #: guix-git/doc/guix.texi:15524
  22589. #, no-wrap
  22590. msgid ""
  22591. "(file-system\n"
  22592. " (mount-point \"/home\")\n"
  22593. " (type \"btrfs\")\n"
  22594. " (device (file-system-label \"my-home\")))\n"
  22595. msgstr ""
  22596. #. type: Plain text
  22597. #: guix-git/doc/guix.texi:15530
  22598. 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}):"
  22599. msgstr ""
  22600. #. type: lisp
  22601. #: guix-git/doc/guix.texi:15538
  22602. #, no-wrap
  22603. msgid ""
  22604. "(file-system\n"
  22605. " (device (file-system-label \"my-btrfs-pool\"))\n"
  22606. " (mount-point \"/\")\n"
  22607. " (type \"btrfs\")\n"
  22608. " (options \"subvol=rootfs\")\n"
  22609. " (dependencies mapped-devices))\n"
  22610. msgstr ""
  22611. #. type: Plain text
  22612. #: guix-git/doc/guix.texi:15549
  22613. 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."
  22614. msgstr ""
  22615. #. type: Plain text
  22616. #: guix-git/doc/guix.texi:15557
  22617. 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.:"
  22618. msgstr ""
  22619. #. type: example
  22620. #: guix-git/doc/guix.texi:15564
  22621. #, no-wrap
  22622. msgid ""
  22623. "/ (top level)\n"
  22624. "├── rootfs (subvolume directory)\n"
  22625. " ├── gnu (normal directory)\n"
  22626. " ├── store (normal directory)\n"
  22627. "[...]\n"
  22628. msgstr ""
  22629. #. type: Plain text
  22630. #: guix-git/doc/guix.texi:15569
  22631. 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."
  22632. msgstr ""
  22633. #. type: Plain text
  22634. #: guix-git/doc/guix.texi:15572
  22635. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  22636. msgstr ""
  22637. #. type: example
  22638. #: guix-git/doc/guix.texi:15579
  22639. #, no-wrap
  22640. msgid ""
  22641. "/ (top level)\n"
  22642. "├── rootfs (subvolume)\n"
  22643. " ├── gnu (normal directory)\n"
  22644. " ├── store (subvolume)\n"
  22645. "[...]\n"
  22646. msgstr ""
  22647. #. type: Plain text
  22648. #: guix-git/doc/guix.texi:15586
  22649. 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}."
  22650. msgstr ""
  22651. #. type: Plain text
  22652. #: guix-git/doc/guix.texi:15588
  22653. msgid "Finally, a more contrived example of nested subvolumes:"
  22654. msgstr ""
  22655. #. type: example
  22656. #: guix-git/doc/guix.texi:15595
  22657. #, no-wrap
  22658. msgid ""
  22659. "/ (top level)\n"
  22660. "├── root-snapshots (subvolume)\n"
  22661. " ├── root-current (subvolume)\n"
  22662. " ├── guix-store (subvolume)\n"
  22663. "[...]\n"
  22664. msgstr ""
  22665. #. type: Plain text
  22666. #: guix-git/doc/guix.texi:15602
  22667. 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:"
  22668. msgstr ""
  22669. #. type: lisp
  22670. #: guix-git/doc/guix.texi:15610
  22671. #, no-wrap
  22672. msgid ""
  22673. "(file-system\n"
  22674. " (device (file-system-label \"btrfs-pool-1\"))\n"
  22675. " (mount-point \"/gnu/store\")\n"
  22676. " (type \"btrfs\")\n"
  22677. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  22678. "compress-force=zstd,space_cache=v2\"))\n"
  22679. msgstr ""
  22680. #. type: cindex
  22681. #: guix-git/doc/guix.texi:15615
  22682. #, no-wrap
  22683. msgid "device mapping"
  22684. msgstr ""
  22685. #. type: cindex
  22686. #: guix-git/doc/guix.texi:15616
  22687. #, no-wrap
  22688. msgid "mapped devices"
  22689. msgstr ""
  22690. #. type: Plain text
  22691. #: guix-git/doc/guix.texi:15633
  22692. 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."
  22693. msgstr ""
  22694. #. type: Plain text
  22695. #: guix-git/doc/guix.texi:15636
  22696. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  22697. msgstr ""
  22698. #. type: deftp
  22699. #: guix-git/doc/guix.texi:15637
  22700. #, no-wrap
  22701. msgid "{Data Type} mapped-device"
  22702. msgstr ""
  22703. #. type: deftp
  22704. #: guix-git/doc/guix.texi:15640
  22705. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  22706. msgstr ""
  22707. #. type: table
  22708. #: guix-git/doc/guix.texi:15647
  22709. 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."
  22710. msgstr ""
  22711. #. type: code{#1}
  22712. #: guix-git/doc/guix.texi:15648 guix-git/doc/guix.texi:15803
  22713. #, no-wrap
  22714. msgid "target"
  22715. msgstr ""
  22716. #. type: table
  22717. #: guix-git/doc/guix.texi:15657
  22718. 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\"}."
  22719. msgstr ""
  22720. #. type: code{#1}
  22721. #: guix-git/doc/guix.texi:15658 guix-git/doc/guix.texi:35187
  22722. #, no-wrap
  22723. msgid "targets"
  22724. msgstr ""
  22725. #. type: table
  22726. #: guix-git/doc/guix.texi:15661
  22727. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  22728. msgstr ""
  22729. #. type: table
  22730. #: guix-git/doc/guix.texi:15665
  22731. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  22732. msgstr ""
  22733. #. type: defvr
  22734. #: guix-git/doc/guix.texi:15668
  22735. #, no-wrap
  22736. msgid "{Scheme Variable} luks-device-mapping"
  22737. msgstr ""
  22738. #. type: defvr
  22739. #: guix-git/doc/guix.texi:15672
  22740. 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."
  22741. msgstr ""
  22742. #. type: defvr
  22743. #: guix-git/doc/guix.texi:15674
  22744. #, no-wrap
  22745. msgid "{Scheme Variable} raid-device-mapping"
  22746. msgstr ""
  22747. #. type: defvr
  22748. #: guix-git/doc/guix.texi:15679
  22749. 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."
  22750. msgstr ""
  22751. #. type: cindex
  22752. #: guix-git/doc/guix.texi:15681
  22753. #, no-wrap
  22754. msgid "LVM, logical volume manager"
  22755. msgstr ""
  22756. #. type: defvr
  22757. #: guix-git/doc/guix.texi:15682
  22758. #, no-wrap
  22759. msgid "{Scheme Variable} lvm-device-mapping"
  22760. msgstr ""
  22761. #. type: defvr
  22762. #: guix-git/doc/guix.texi:15687
  22763. 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."
  22764. msgstr ""
  22765. #. type: cindex
  22766. #: guix-git/doc/guix.texi:15689
  22767. #, no-wrap
  22768. msgid "disk encryption"
  22769. msgstr ""
  22770. #. type: cindex
  22771. #: guix-git/doc/guix.texi:15690
  22772. #, no-wrap
  22773. msgid "LUKS"
  22774. msgstr "LUKS"
  22775. #. type: Plain text
  22776. #: guix-git/doc/guix.texi:15698
  22777. 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})."
  22778. msgstr ""
  22779. #. type: lisp
  22780. #: guix-git/doc/guix.texi:15704
  22781. #, no-wrap
  22782. msgid ""
  22783. "(mapped-device\n"
  22784. " (source \"/dev/sda3\")\n"
  22785. " (target \"home\")\n"
  22786. " (type luks-device-mapping))\n"
  22787. msgstr ""
  22788. #. type: Plain text
  22789. #: guix-git/doc/guix.texi:15709
  22790. 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:"
  22791. msgstr ""
  22792. #. type: example
  22793. #: guix-git/doc/guix.texi:15712
  22794. #, no-wrap
  22795. msgid "cryptsetup luksUUID /dev/sda3\n"
  22796. msgstr ""
  22797. #. type: Plain text
  22798. #: guix-git/doc/guix.texi:15715
  22799. msgid "and use it as follows:"
  22800. msgstr ""
  22801. #. type: lisp
  22802. #: guix-git/doc/guix.texi:15721
  22803. #, no-wrap
  22804. msgid ""
  22805. "(mapped-device\n"
  22806. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  22807. " (target \"home\")\n"
  22808. " (type luks-device-mapping))\n"
  22809. msgstr ""
  22810. #. type: cindex
  22811. #: guix-git/doc/guix.texi:15723
  22812. #, no-wrap
  22813. msgid "swap encryption"
  22814. msgstr ""
  22815. #. type: Plain text
  22816. #: guix-git/doc/guix.texi:15730
  22817. 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."
  22818. msgstr ""
  22819. #. type: Plain text
  22820. #: guix-git/doc/guix.texi:15733
  22821. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  22822. msgstr ""
  22823. #. type: lisp
  22824. #: guix-git/doc/guix.texi:15739
  22825. #, no-wrap
  22826. msgid ""
  22827. "(mapped-device\n"
  22828. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  22829. " (target \"/dev/md0\")\n"
  22830. " (type raid-device-mapping))\n"
  22831. msgstr ""
  22832. #. type: Plain text
  22833. #: guix-git/doc/guix.texi:15746
  22834. 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."
  22835. msgstr ""
  22836. #. type: Plain text
  22837. #: guix-git/doc/guix.texi:15749
  22838. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  22839. msgstr ""
  22840. #. type: lisp
  22841. #: guix-git/doc/guix.texi:15755
  22842. #, no-wrap
  22843. msgid ""
  22844. "(mapped-device\n"
  22845. " (source \"vg0\")\n"
  22846. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  22847. " (type lvm-device-mapping))\n"
  22848. msgstr ""
  22849. #. type: Plain text
  22850. #: guix-git/doc/guix.texi:15760
  22851. 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})."
  22852. msgstr ""
  22853. #. type: cindex
  22854. #: guix-git/doc/guix.texi:15763
  22855. #, no-wrap
  22856. msgid "swap space"
  22857. msgstr ""
  22858. #. type: Plain text
  22859. #: guix-git/doc/guix.texi:15773
  22860. 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."
  22861. msgstr ""
  22862. #. type: Plain text
  22863. #: guix-git/doc/guix.texi:15779
  22864. 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."
  22865. msgstr ""
  22866. #. type: Plain text
  22867. #: guix-git/doc/guix.texi:15783
  22868. msgid "For a more detailed description of how memory is managed from the viewpoint of a monolithic kernel, @xref{Memory Concepts,,, libc, The GNU C Library Reference Manual}."
  22869. msgstr ""
  22870. #. type: Plain text
  22871. #: guix-git/doc/guix.texi:15792
  22872. 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."
  22873. msgstr ""
  22874. #. type: Plain text
  22875. #: guix-git/doc/guix.texi:15797
  22876. 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})."
  22877. msgstr ""
  22878. #. type: deftp
  22879. #: guix-git/doc/guix.texi:15798
  22880. #, fuzzy, no-wrap
  22881. msgid "{Data Type} swap-space"
  22882. msgstr "build-machine {Data Type}"
  22883. #. type: deftp
  22884. #: guix-git/doc/guix.texi:15801
  22885. msgid "Objects of this type represent swap spaces. They contain the following members:"
  22886. msgstr ""
  22887. #. type: table
  22888. #: guix-git/doc/guix.texi:15807
  22889. 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})."
  22890. msgstr ""
  22891. #. type: table
  22892. #: guix-git/doc/guix.texi:15814
  22893. 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."
  22894. msgstr ""
  22895. #. type: item
  22896. #: guix-git/doc/guix.texi:15815
  22897. #, fuzzy, no-wrap
  22898. #| msgid "@code{chroot} (default: @code{#f})"
  22899. msgid "@code{priority} (default: @code{#f})"
  22900. msgstr "@code{chroot} (default: @code{#f})"
  22901. #. type: table
  22902. #: guix-git/doc/guix.texi:15822
  22903. 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)."
  22904. msgstr ""
  22905. #. type: item
  22906. #: guix-git/doc/guix.texi:15823
  22907. #, fuzzy, no-wrap
  22908. #| msgid "@code{id} (default: @code{#f})"
  22909. msgid "@code{discard?} (default: @code{#f})"
  22910. msgstr "@code{id} (default: @code{#f})"
  22911. #. type: table
  22912. #: guix-git/doc/guix.texi:15827
  22913. 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."
  22914. msgstr ""
  22915. #. type: Plain text
  22916. #: guix-git/doc/guix.texi:15832
  22917. msgid "Here are some examples:"
  22918. msgstr ""
  22919. #. type: lisp
  22920. #: guix-git/doc/guix.texi:15835
  22921. #, no-wrap
  22922. msgid "(swap-space (target (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  22923. msgstr ""
  22924. #. type: Plain text
  22925. #: guix-git/doc/guix.texi:15840
  22926. 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."
  22927. msgstr ""
  22928. #. type: lisp
  22929. #: guix-git/doc/guix.texi:15845
  22930. #, no-wrap
  22931. msgid ""
  22932. "(swap-space\n"
  22933. " (target (file-system-label \"swap\"))\n"
  22934. " (dependencies mapped-devices))\n"
  22935. msgstr ""
  22936. #. type: Plain text
  22937. #: guix-git/doc/guix.texi:15851
  22938. 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."
  22939. msgstr ""
  22940. #. type: Plain text
  22941. #: guix-git/doc/guix.texi:15854
  22942. msgid "Here's a more involved example with the corresponding @code{file-systems} part of an @code{operating-system} declaration."
  22943. msgstr ""
  22944. #. type: lisp
  22945. #: guix-git/doc/guix.texi:15865
  22946. #, no-wrap
  22947. msgid ""
  22948. "(file-systems\n"
  22949. " (list (file-system\n"
  22950. " (device (file-system-label \"root\"))\n"
  22951. " (mount-point \"/\")\n"
  22952. " (type \"ext4\"))\n"
  22953. " (file-system\n"
  22954. " (device (file-system-label \"btrfs\"))\n"
  22955. " (mount-point \"/btrfs\")\n"
  22956. " (type \"btrfs\"))))\n"
  22957. "\n"
  22958. msgstr ""
  22959. #. type: lisp
  22960. #: guix-git/doc/guix.texi:15872
  22961. #, no-wrap
  22962. msgid ""
  22963. "(swap-devices\n"
  22964. " (list\n"
  22965. " (swap-space\n"
  22966. " (target \"/btrfs/swapfile\")\n"
  22967. " (dependencies (filter (file-system-mount-point-predicate \"/btrfs\")\n"
  22968. " file-systems)))))\n"
  22969. msgstr ""
  22970. #. type: Plain text
  22971. #: guix-git/doc/guix.texi:15877
  22972. 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!"
  22973. msgstr ""
  22974. #. type: cindex
  22975. #: guix-git/doc/guix.texi:15881
  22976. #, no-wrap
  22977. msgid "users"
  22978. msgstr ""
  22979. #. type: cindex
  22980. #: guix-git/doc/guix.texi:15882
  22981. #, no-wrap
  22982. msgid "accounts"
  22983. msgstr ""
  22984. #. type: cindex
  22985. #: guix-git/doc/guix.texi:15883
  22986. #, no-wrap
  22987. msgid "user accounts"
  22988. msgstr ""
  22989. #. type: Plain text
  22990. #: guix-git/doc/guix.texi:15887
  22991. 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:"
  22992. msgstr ""
  22993. #. type: lisp
  22994. #: guix-git/doc/guix.texi:15897
  22995. #, no-wrap
  22996. msgid ""
  22997. "(user-account\n"
  22998. " (name \"alice\")\n"
  22999. " (group \"users\")\n"
  23000. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  23001. " \"audio\" ;sound card\n"
  23002. " \"video\" ;video devices such as webcams\n"
  23003. " \"cdrom\")) ;the good ol' CD-ROM\n"
  23004. " (comment \"Bob's sister\"))\n"
  23005. msgstr ""
  23006. #. type: Plain text
  23007. #: guix-git/doc/guix.texi:15901
  23008. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  23009. msgstr ""
  23010. #. type: lisp
  23011. #: guix-git/doc/guix.texi:15909
  23012. #, no-wrap
  23013. msgid ""
  23014. "(user-account\n"
  23015. " (name \"bob\")\n"
  23016. " (group \"users\")\n"
  23017. " (comment \"Alice's bro\")\n"
  23018. " (shell (file-append zsh \"/bin/zsh\"))\n"
  23019. " (home-directory \"/home/robert\"))\n"
  23020. msgstr ""
  23021. #. type: Plain text
  23022. #: guix-git/doc/guix.texi:15918
  23023. 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."
  23024. msgstr ""
  23025. #. type: deftp
  23026. #: guix-git/doc/guix.texi:15919
  23027. #, no-wrap
  23028. msgid "{Data Type} user-account"
  23029. msgstr ""
  23030. #. type: deftp
  23031. #: guix-git/doc/guix.texi:15922
  23032. msgid "Objects of this type represent user accounts. The following members may be specified:"
  23033. msgstr ""
  23034. #. type: table
  23035. #: guix-git/doc/guix.texi:15926
  23036. msgid "The name of the user account."
  23037. msgstr ""
  23038. #. type: itemx
  23039. #: guix-git/doc/guix.texi:15927 guix-git/doc/guix.texi:34851
  23040. #, no-wrap
  23041. msgid "group"
  23042. msgstr "grupo"
  23043. #. type: cindex
  23044. #: guix-git/doc/guix.texi:15928 guix-git/doc/guix.texi:16012
  23045. #, no-wrap
  23046. msgid "groups"
  23047. msgstr ""
  23048. #. type: table
  23049. #: guix-git/doc/guix.texi:15931
  23050. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  23051. msgstr ""
  23052. #. type: item
  23053. #: guix-git/doc/guix.texi:15932
  23054. #, no-wrap
  23055. msgid "@code{supplementary-groups} (default: @code{'()})"
  23056. msgstr ""
  23057. #. type: table
  23058. #: guix-git/doc/guix.texi:15935
  23059. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  23060. msgstr ""
  23061. #. type: item
  23062. #: guix-git/doc/guix.texi:15936
  23063. #, no-wrap
  23064. msgid "@code{uid} (default: @code{#f})"
  23065. msgstr "@code{uid} (default: @code{#f})"
  23066. #. type: table
  23067. #: guix-git/doc/guix.texi:15940
  23068. 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."
  23069. msgstr ""
  23070. #. type: item
  23071. #: guix-git/doc/guix.texi:15941 guix-git/doc/guix.texi:18704
  23072. #, no-wrap
  23073. msgid "@code{comment} (default: @code{\"\"})"
  23074. msgstr ""
  23075. #. type: table
  23076. #: guix-git/doc/guix.texi:15943
  23077. msgid "A comment about the account, such as the account owner's full name."
  23078. msgstr ""
  23079. #. type: table
  23080. #: guix-git/doc/guix.texi:15948
  23081. 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."
  23082. msgstr ""
  23083. #. type: code{#1}
  23084. #: guix-git/doc/guix.texi:15949
  23085. #, no-wrap
  23086. msgid "home-directory"
  23087. msgstr ""
  23088. #. type: table
  23089. #: guix-git/doc/guix.texi:15951
  23090. msgid "This is the name of the home directory for the account."
  23091. msgstr ""
  23092. #. type: item
  23093. #: guix-git/doc/guix.texi:15952
  23094. #, no-wrap
  23095. msgid "@code{create-home-directory?} (default: @code{#t})"
  23096. msgstr ""
  23097. #. type: table
  23098. #: guix-git/doc/guix.texi:15955
  23099. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  23100. msgstr ""
  23101. #. type: item
  23102. #: guix-git/doc/guix.texi:15956
  23103. #, no-wrap
  23104. msgid "@code{shell} (default: Bash)"
  23105. msgstr ""
  23106. #. type: table
  23107. #: guix-git/doc/guix.texi:15960
  23108. 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:"
  23109. msgstr ""
  23110. #. type: lisp
  23111. #: guix-git/doc/guix.texi:15963
  23112. #, no-wrap
  23113. msgid "(file-append bash \"/bin/bash\")\n"
  23114. msgstr ""
  23115. #. type: table
  23116. #: guix-git/doc/guix.texi:15967
  23117. msgid "... and to the Zsh executable like that:"
  23118. msgstr ""
  23119. #. type: lisp
  23120. #: guix-git/doc/guix.texi:15970
  23121. #, no-wrap
  23122. msgid "(file-append zsh \"/bin/zsh\")\n"
  23123. msgstr ""
  23124. #. type: item
  23125. #: guix-git/doc/guix.texi:15972 guix-git/doc/guix.texi:16030
  23126. #, no-wrap
  23127. msgid "@code{system?} (default: @code{#f})"
  23128. msgstr "@code{system?} (default: @code{#f})"
  23129. #. type: table
  23130. #: guix-git/doc/guix.texi:15976
  23131. 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."
  23132. msgstr ""
  23133. #. type: anchor{#1}
  23134. #: guix-git/doc/guix.texi:15978
  23135. msgid "user-account-password"
  23136. msgstr "user-account-password"
  23137. #. type: cindex
  23138. #: guix-git/doc/guix.texi:15978
  23139. #, no-wrap
  23140. msgid "password, for user accounts"
  23141. msgstr ""
  23142. #. type: item
  23143. #: guix-git/doc/guix.texi:15979 guix-git/doc/guix.texi:16034
  23144. #, no-wrap
  23145. msgid "@code{password} (default: @code{#f})"
  23146. msgstr "@code{password} (default: @code{#f})"
  23147. #. type: table
  23148. #: guix-git/doc/guix.texi:15985
  23149. 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."
  23150. msgstr ""
  23151. #. type: table
  23152. #: guix-git/doc/guix.texi:15989
  23153. 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:"
  23154. msgstr ""
  23155. #. type: lisp
  23156. #: guix-git/doc/guix.texi:15994
  23157. #, no-wrap
  23158. msgid ""
  23159. "(user-account\n"
  23160. " (name \"charlie\")\n"
  23161. " (group \"users\")\n"
  23162. "\n"
  23163. msgstr ""
  23164. #. type: lisp
  23165. #: guix-git/doc/guix.texi:15997
  23166. #, no-wrap
  23167. msgid ""
  23168. " ;; Specify a SHA-512-hashed initial password.\n"
  23169. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  23170. msgstr ""
  23171. #. type: quotation
  23172. #: guix-git/doc/guix.texi:16003
  23173. 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."
  23174. msgstr ""
  23175. #. type: table
  23176. #: guix-git/doc/guix.texi:16008
  23177. 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."
  23178. msgstr ""
  23179. #. type: Plain text
  23180. #: guix-git/doc/guix.texi:16014
  23181. msgid "User group declarations are even simpler:"
  23182. msgstr ""
  23183. #. type: lisp
  23184. #: guix-git/doc/guix.texi:16017
  23185. #, no-wrap
  23186. msgid "(user-group (name \"students\"))\n"
  23187. msgstr "(user-group (name \"students\"))\n"
  23188. #. type: deftp
  23189. #: guix-git/doc/guix.texi:16019
  23190. #, no-wrap
  23191. msgid "{Data Type} user-group"
  23192. msgstr ""
  23193. #. type: deftp
  23194. #: guix-git/doc/guix.texi:16021
  23195. msgid "This type is for, well, user groups. There are just a few fields:"
  23196. msgstr ""
  23197. #. type: table
  23198. #: guix-git/doc/guix.texi:16025
  23199. msgid "The name of the group."
  23200. msgstr ""
  23201. #. type: item
  23202. #: guix-git/doc/guix.texi:16026 guix-git/doc/guix.texi:31284
  23203. #, no-wrap
  23204. msgid "@code{id} (default: @code{#f})"
  23205. msgstr "@code{id} (default: @code{#f})"
  23206. #. type: table
  23207. #: guix-git/doc/guix.texi:16029
  23208. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  23209. msgstr ""
  23210. #. type: table
  23211. #: guix-git/doc/guix.texi:16033
  23212. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  23213. msgstr ""
  23214. #. type: table
  23215. #: guix-git/doc/guix.texi:16037
  23216. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  23217. msgstr ""
  23218. #. type: Plain text
  23219. #: guix-git/doc/guix.texi:16043
  23220. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  23221. msgstr ""
  23222. #. type: defvr
  23223. #: guix-git/doc/guix.texi:16044
  23224. #, no-wrap
  23225. msgid "{Scheme Variable} %base-groups"
  23226. msgstr ""
  23227. #. type: defvr
  23228. #: guix-git/doc/guix.texi:16049
  23229. 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''."
  23230. msgstr ""
  23231. #. type: defvr
  23232. #: guix-git/doc/guix.texi:16051
  23233. #, no-wrap
  23234. msgid "{Scheme Variable} %base-user-accounts"
  23235. msgstr ""
  23236. #. type: defvr
  23237. #: guix-git/doc/guix.texi:16054
  23238. 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."
  23239. msgstr ""
  23240. #. type: defvr
  23241. #: guix-git/doc/guix.texi:16057
  23242. 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."
  23243. msgstr ""
  23244. #. type: cindex
  23245. #: guix-git/doc/guix.texi:16063
  23246. #, no-wrap
  23247. msgid "keymap"
  23248. msgstr ""
  23249. #. type: Plain text
  23250. #: guix-git/doc/guix.texi:16071
  23251. 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."
  23252. msgstr ""
  23253. #. type: cindex
  23254. #: guix-git/doc/guix.texi:16072
  23255. #, no-wrap
  23256. msgid "keyboard layout, definition"
  23257. msgstr "disposição do teclado, definição"
  23258. #. type: Plain text
  23259. #: guix-git/doc/guix.texi:16074
  23260. msgid "There are three components that will want to know about your keyboard layout:"
  23261. msgstr ""
  23262. #. type: itemize
  23263. #: guix-git/doc/guix.texi:16081
  23264. 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."
  23265. msgstr ""
  23266. #. type: itemize
  23267. #: guix-git/doc/guix.texi:16086
  23268. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  23269. msgstr ""
  23270. #. type: itemize
  23271. #: guix-git/doc/guix.texi:16090
  23272. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  23273. msgstr ""
  23274. #. type: Plain text
  23275. #: guix-git/doc/guix.texi:16094
  23276. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  23277. msgstr ""
  23278. #. type: cindex
  23279. #: guix-git/doc/guix.texi:16095
  23280. #, no-wrap
  23281. msgid "XKB, keyboard layouts"
  23282. msgstr "XKB, disposições do teclado"
  23283. #. type: Plain text
  23284. #: guix-git/doc/guix.texi:16103
  23285. 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."
  23286. msgstr ""
  23287. #. type: deffn
  23288. #: guix-git/doc/guix.texi:16104
  23289. #, no-wrap
  23290. msgid "{Scheme Procedure} keyboard-layout @var{name} [@var{variant}] @"
  23291. msgstr ""
  23292. #. type: deffn
  23293. #: guix-git/doc/guix.texi:16107
  23294. msgid "[#:model] [#:options '()] Return a new keyboard layout with the given @var{name} and @var{variant}."
  23295. msgstr ""
  23296. #. type: deffn
  23297. #: guix-git/doc/guix.texi:16111
  23298. 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."
  23299. msgstr ""
  23300. #. type: Plain text
  23301. #: guix-git/doc/guix.texi:16114
  23302. msgid "Here are a few examples:"
  23303. msgstr ""
  23304. #. type: lisp
  23305. #: guix-git/doc/guix.texi:16119
  23306. #, no-wrap
  23307. msgid ""
  23308. ";; The German QWERTZ layout. Here we assume a standard\n"
  23309. ";; \"pc105\" keyboard model.\n"
  23310. "(keyboard-layout \"de\")\n"
  23311. "\n"
  23312. msgstr ""
  23313. #. type: lisp
  23314. #: guix-git/doc/guix.texi:16122
  23315. #, no-wrap
  23316. msgid ""
  23317. ";; The bépo variant of the French layout.\n"
  23318. "(keyboard-layout \"fr\" \"bepo\")\n"
  23319. "\n"
  23320. msgstr ""
  23321. #. type: lisp
  23322. #: guix-git/doc/guix.texi:16125
  23323. #, no-wrap
  23324. msgid ""
  23325. ";; The Catalan layout.\n"
  23326. "(keyboard-layout \"es\" \"cat\")\n"
  23327. "\n"
  23328. msgstr ""
  23329. #. type: lisp
  23330. #: guix-git/doc/guix.texi:16128
  23331. #, no-wrap
  23332. msgid ""
  23333. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  23334. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  23335. "\n"
  23336. msgstr ""
  23337. #. type: lisp
  23338. #: guix-git/doc/guix.texi:16135
  23339. #, no-wrap
  23340. msgid ""
  23341. ";; The Latin American Spanish layout. In addition, the\n"
  23342. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  23343. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  23344. ";; accented letters.\n"
  23345. "(keyboard-layout \"latam\"\n"
  23346. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  23347. "\n"
  23348. msgstr ""
  23349. #. type: lisp
  23350. #: guix-git/doc/guix.texi:16138
  23351. #, no-wrap
  23352. msgid ""
  23353. ";; The Russian layout for a ThinkPad keyboard.\n"
  23354. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  23355. "\n"
  23356. msgstr ""
  23357. #. type: lisp
  23358. #: guix-git/doc/guix.texi:16143
  23359. #, no-wrap
  23360. msgid ""
  23361. ";; The \"US international\" layout, which is the US layout plus\n"
  23362. ";; dead keys to enter accented characters. This is for an\n"
  23363. ";; Apple MacBook keyboard.\n"
  23364. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  23365. msgstr ""
  23366. #. type: Plain text
  23367. #: guix-git/doc/guix.texi:16147
  23368. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  23369. msgstr ""
  23370. #. type: cindex
  23371. #: guix-git/doc/guix.texi:16148
  23372. #, no-wrap
  23373. msgid "keyboard layout, configuration"
  23374. msgstr "disposição do teclado, configuração"
  23375. #. type: Plain text
  23376. #: guix-git/doc/guix.texi:16152
  23377. 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:"
  23378. msgstr ""
  23379. #. type: findex
  23380. #: guix-git/doc/guix.texi:16153
  23381. #, no-wrap
  23382. msgid "set-xorg-configuration"
  23383. msgstr ""
  23384. #. type: lisp
  23385. #: guix-git/doc/guix.texi:16157
  23386. #, no-wrap
  23387. msgid ""
  23388. ";; Using the Turkish layout for the bootloader, the console,\n"
  23389. ";; and for Xorg.\n"
  23390. "\n"
  23391. msgstr ""
  23392. #. type: lisp
  23393. #: guix-git/doc/guix.texi:16169
  23394. #, no-wrap
  23395. msgid ""
  23396. "(operating-system\n"
  23397. " ;; ...\n"
  23398. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  23399. " (bootloader (bootloader-configuration\n"
  23400. " (bootloader grub-efi-bootloader)\n"
  23401. " (targets '(\"/boot/efi\"))\n"
  23402. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  23403. " (services (cons (set-xorg-configuration\n"
  23404. " (xorg-configuration ;for Xorg\n"
  23405. " (keyboard-layout keyboard-layout)))\n"
  23406. " %desktop-services)))\n"
  23407. msgstr ""
  23408. #. type: Plain text
  23409. #: guix-git/doc/guix.texi:16176
  23410. 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."
  23411. msgstr ""
  23412. #. type: Plain text
  23413. #: guix-git/doc/guix.texi:16179
  23414. 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:"
  23415. msgstr ""
  23416. #. type: itemize
  23417. #: guix-git/doc/guix.texi:16184
  23418. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  23419. msgstr ""
  23420. #. type: itemize
  23421. #: guix-git/doc/guix.texi:16189
  23422. 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:"
  23423. msgstr ""
  23424. #. type: example
  23425. #: guix-git/doc/guix.texi:16192
  23426. #, no-wrap
  23427. msgid "setxkbmap us dvorak\n"
  23428. msgstr ""
  23429. #. type: itemize
  23430. #: guix-git/doc/guix.texi:16199
  23431. 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:"
  23432. msgstr ""
  23433. #. type: example
  23434. #: guix-git/doc/guix.texi:16202
  23435. #, no-wrap
  23436. msgid "loadkeys fr-bepo\n"
  23437. msgstr ""
  23438. #. type: cindex
  23439. #: guix-git/doc/guix.texi:16208
  23440. #, no-wrap
  23441. msgid "locale"
  23442. msgstr ""
  23443. #. type: Plain text
  23444. #: guix-git/doc/guix.texi:16215
  23445. 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."
  23446. msgstr ""
  23447. #. type: cindex
  23448. #: guix-git/doc/guix.texi:16216
  23449. #, no-wrap
  23450. msgid "locale definition"
  23451. msgstr ""
  23452. #. type: Plain text
  23453. #: guix-git/doc/guix.texi:16220
  23454. 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}})."
  23455. msgstr ""
  23456. #. type: Plain text
  23457. #: guix-git/doc/guix.texi:16229
  23458. 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."
  23459. msgstr ""
  23460. #. type: Plain text
  23461. #: guix-git/doc/guix.texi:16232
  23462. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  23463. msgstr ""
  23464. #. type: lisp
  23465. #: guix-git/doc/guix.texi:16237
  23466. #, no-wrap
  23467. msgid ""
  23468. "(cons (locale-definition\n"
  23469. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  23470. " %default-locale-definitions)\n"
  23471. msgstr ""
  23472. #. type: Plain text
  23473. #: guix-git/doc/guix.texi:16241
  23474. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  23475. msgstr ""
  23476. #. type: lisp
  23477. #: guix-git/doc/guix.texi:16246
  23478. #, no-wrap
  23479. msgid ""
  23480. "(list (locale-definition\n"
  23481. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  23482. " (charset \"EUC-JP\")))\n"
  23483. msgstr ""
  23484. #. type: Plain text
  23485. #: guix-git/doc/guix.texi:16255
  23486. 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})."
  23487. msgstr ""
  23488. #. type: Plain text
  23489. #: guix-git/doc/guix.texi:16258
  23490. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  23491. msgstr ""
  23492. #. type: deftp
  23493. #: guix-git/doc/guix.texi:16259
  23494. #, no-wrap
  23495. msgid "{Data Type} locale-definition"
  23496. msgstr ""
  23497. #. type: deftp
  23498. #: guix-git/doc/guix.texi:16261
  23499. msgid "This is the data type of a locale definition."
  23500. msgstr ""
  23501. #. type: table
  23502. #: guix-git/doc/guix.texi:16267
  23503. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  23504. msgstr ""
  23505. #. type: table
  23506. #: guix-git/doc/guix.texi:16271
  23507. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  23508. msgstr ""
  23509. #. type: item
  23510. #: guix-git/doc/guix.texi:16272
  23511. #, no-wrap
  23512. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  23513. msgstr ""
  23514. #. type: table
  23515. #: guix-git/doc/guix.texi:16276
  23516. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  23517. msgstr ""
  23518. #. type: defvr
  23519. #: guix-git/doc/guix.texi:16280
  23520. #, no-wrap
  23521. msgid "{Scheme Variable} %default-locale-definitions"
  23522. msgstr ""
  23523. #. type: defvr
  23524. #: guix-git/doc/guix.texi:16284
  23525. 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."
  23526. msgstr ""
  23527. #. type: cindex
  23528. #: guix-git/doc/guix.texi:16285
  23529. #, no-wrap
  23530. msgid "locale name"
  23531. msgstr ""
  23532. #. type: cindex
  23533. #: guix-git/doc/guix.texi:16286
  23534. #, no-wrap
  23535. msgid "normalized codeset in locale names"
  23536. msgstr ""
  23537. #. type: defvr
  23538. #: guix-git/doc/guix.texi:16292
  23539. 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}."
  23540. msgstr ""
  23541. #. type: subsection
  23542. #: guix-git/doc/guix.texi:16294
  23543. #, no-wrap
  23544. msgid "Locale Data Compatibility Considerations"
  23545. msgstr ""
  23546. #. type: cindex
  23547. #: guix-git/doc/guix.texi:16296
  23548. #, no-wrap
  23549. msgid "incompatibility, of locale data"
  23550. msgstr ""
  23551. #. type: Plain text
  23552. #: guix-git/doc/guix.texi:16303
  23553. 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."
  23554. msgstr ""
  23555. #. type: Plain text
  23556. #: guix-git/doc/guix.texi:16315
  23557. 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."
  23558. msgstr ""
  23559. #. type: Plain text
  23560. #: guix-git/doc/guix.texi:16320
  23561. 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."
  23562. msgstr ""
  23563. #. type: Plain text
  23564. #: guix-git/doc/guix.texi:16324
  23565. 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})."
  23566. msgstr ""
  23567. #. type: Plain text
  23568. #: guix-git/doc/guix.texi:16331
  23569. 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}:"
  23570. msgstr ""
  23571. #. type: lisp
  23572. #: guix-git/doc/guix.texi:16334
  23573. #, no-wrap
  23574. msgid ""
  23575. "(use-package-modules base)\n"
  23576. "\n"
  23577. msgstr ""
  23578. #. type: lisp
  23579. #: guix-git/doc/guix.texi:16338
  23580. #, no-wrap
  23581. msgid ""
  23582. "(operating-system\n"
  23583. " ;; @dots{}\n"
  23584. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  23585. msgstr ""
  23586. #. type: Plain text
  23587. #: guix-git/doc/guix.texi:16343
  23588. 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}."
  23589. msgstr ""
  23590. #. type: cindex
  23591. #: guix-git/doc/guix.texi:16348
  23592. #, no-wrap
  23593. msgid "system services"
  23594. msgstr ""
  23595. #. type: Plain text
  23596. #: guix-git/doc/guix.texi:16354
  23597. 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."
  23598. msgstr ""
  23599. #. type: Plain text
  23600. #: guix-git/doc/guix.texi:16361
  23601. 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:"
  23602. msgstr ""
  23603. #. type: example
  23604. #: guix-git/doc/guix.texi:16364
  23605. #, no-wrap
  23606. msgid "# herd status\n"
  23607. msgstr ""
  23608. #. type: Plain text
  23609. #: guix-git/doc/guix.texi:16369
  23610. 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:"
  23611. msgstr ""
  23612. #. type: example
  23613. #: guix-git/doc/guix.texi:16373
  23614. #, no-wrap
  23615. msgid ""
  23616. "# herd doc nscd\n"
  23617. "Run libc's name service cache daemon (nscd).\n"
  23618. "\n"
  23619. msgstr ""
  23620. #. type: example
  23621. #: guix-git/doc/guix.texi:16376
  23622. #, no-wrap
  23623. msgid ""
  23624. "# herd doc nscd action invalidate\n"
  23625. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  23626. msgstr ""
  23627. #. type: Plain text
  23628. #: guix-git/doc/guix.texi:16381
  23629. 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:"
  23630. msgstr ""
  23631. #. type: example
  23632. #: guix-git/doc/guix.texi:16388
  23633. #, no-wrap
  23634. msgid ""
  23635. "# herd stop nscd\n"
  23636. "Service nscd has been stopped.\n"
  23637. "# herd restart xorg-server\n"
  23638. "Service xorg-server has been stopped.\n"
  23639. "Service xorg-server has been started.\n"
  23640. msgstr ""
  23641. #. type: Plain text
  23642. #: guix-git/doc/guix.texi:16393
  23643. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  23644. msgstr ""
  23645. #. type: subsection
  23646. #: guix-git/doc/guix.texi:16429 guix-git/doc/guix.texi:24718
  23647. #: guix-git/doc/guix.texi:24719
  23648. #, no-wrap
  23649. msgid "File-Sharing Services"
  23650. msgstr ""
  23651. #. type: menuentry
  23652. #: guix-git/doc/guix.texi:16429
  23653. msgid "File-sharing services."
  23654. msgstr ""
  23655. #. type: Plain text
  23656. #: guix-git/doc/guix.texi:16437
  23657. 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."
  23658. msgstr ""
  23659. #. type: defvr
  23660. #: guix-git/doc/guix.texi:16438
  23661. #, no-wrap
  23662. msgid "{Scheme Variable} %base-services"
  23663. msgstr ""
  23664. #. type: defvr
  23665. #: guix-git/doc/guix.texi:16444
  23666. 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."
  23667. msgstr ""
  23668. #. type: defvr
  23669. #: guix-git/doc/guix.texi:16449
  23670. 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:"
  23671. msgstr ""
  23672. #. type: lisp
  23673. #: guix-git/doc/guix.texi:16454
  23674. #, no-wrap
  23675. msgid ""
  23676. "(append (list (service avahi-service-type)\n"
  23677. " (service openssh-service-type))\n"
  23678. " %base-services)\n"
  23679. msgstr ""
  23680. #. type: defvr
  23681. #: guix-git/doc/guix.texi:16457
  23682. #, no-wrap
  23683. msgid "{Scheme Variable} special-files-service-type"
  23684. msgstr ""
  23685. #. type: defvr
  23686. #: guix-git/doc/guix.texi:16460
  23687. 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}."
  23688. msgstr ""
  23689. #. type: defvr
  23690. #: guix-git/doc/guix.texi:16464
  23691. msgid "The value associated with @code{special-files-service-type} services must be a list of tuples where the first element is the ``special file'' and the second element is its target. By default it is:"
  23692. msgstr ""
  23693. #. type: file{#1}
  23694. #: guix-git/doc/guix.texi:16465
  23695. #, no-wrap
  23696. msgid "/bin/sh"
  23697. msgstr ""
  23698. #. type: cindex
  23699. #: guix-git/doc/guix.texi:16466
  23700. #, no-wrap
  23701. msgid "@file{sh}, in @file{/bin}"
  23702. msgstr ""
  23703. #. type: lisp
  23704. #: guix-git/doc/guix.texi:16469
  23705. #, no-wrap
  23706. msgid "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\")))\n"
  23707. msgstr ""
  23708. #. type: file{#1}
  23709. #: guix-git/doc/guix.texi:16471
  23710. #, no-wrap
  23711. msgid "/usr/bin/env"
  23712. msgstr "/usr/bin/env"
  23713. #. type: cindex
  23714. #: guix-git/doc/guix.texi:16472
  23715. #, no-wrap
  23716. msgid "@file{env}, in @file{/usr/bin}"
  23717. msgstr ""
  23718. #. type: defvr
  23719. #: guix-git/doc/guix.texi:16475
  23720. msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:"
  23721. msgstr ""
  23722. #. type: lisp
  23723. #: guix-git/doc/guix.texi:16479
  23724. #, no-wrap
  23725. msgid ""
  23726. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  23727. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  23728. msgstr ""
  23729. #. type: defvr
  23730. #: guix-git/doc/guix.texi:16486
  23731. 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)."
  23732. msgstr ""
  23733. #. type: deffn
  23734. #: guix-git/doc/guix.texi:16488
  23735. #, no-wrap
  23736. msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}"
  23737. msgstr ""
  23738. #. type: deffn
  23739. #: guix-git/doc/guix.texi:16490
  23740. msgid "Use @var{target} as the ``special file'' @var{file}."
  23741. msgstr ""
  23742. #. type: deffn
  23743. #: guix-git/doc/guix.texi:16494
  23744. 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:"
  23745. msgstr ""
  23746. #. type: lisp
  23747. #: guix-git/doc/guix.texi:16498
  23748. #, no-wrap
  23749. msgid ""
  23750. "(extra-special-file \"/usr/bin/env\"\n"
  23751. " (file-append coreutils \"/bin/env\"))\n"
  23752. msgstr ""
  23753. #. type: deffn
  23754. #: guix-git/doc/guix.texi:16501
  23755. #, no-wrap
  23756. msgid "{Scheme Procedure} host-name-service @var{name}"
  23757. msgstr ""
  23758. #. type: deffn
  23759. #: guix-git/doc/guix.texi:16503
  23760. msgid "Return a service that sets the host name to @var{name}."
  23761. msgstr ""
  23762. #. type: defvr
  23763. #: guix-git/doc/guix.texi:16505
  23764. #, no-wrap
  23765. msgid "{Scheme Variable} console-font-service-type"
  23766. msgstr ""
  23767. #. type: defvr
  23768. #: guix-git/doc/guix.texi:16510
  23769. 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:"
  23770. msgstr ""
  23771. #. type: lisp
  23772. #: guix-git/doc/guix.texi:16519
  23773. #, no-wrap
  23774. msgid ""
  23775. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  23776. " (\"tty2\" . ,(file-append\n"
  23777. " font-tamzen\n"
  23778. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  23779. " (\"tty3\" . ,(file-append\n"
  23780. " font-terminus\n"
  23781. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  23782. msgstr ""
  23783. #. type: deffn
  23784. #: guix-git/doc/guix.texi:16522
  23785. #, no-wrap
  23786. msgid "{Scheme Procedure} login-service @var{config}"
  23787. msgstr ""
  23788. #. type: deffn
  23789. #: guix-git/doc/guix.texi:16526
  23790. msgid "Return a service to run login according to @var{config}, a @code{<login-configuration>} object, which specifies the message of the day, among other things."
  23791. msgstr ""
  23792. #. type: deftp
  23793. #: guix-git/doc/guix.texi:16528
  23794. #, no-wrap
  23795. msgid "{Data Type} login-configuration"
  23796. msgstr ""
  23797. #. type: deftp
  23798. #: guix-git/doc/guix.texi:16530
  23799. msgid "This is the data type representing the configuration of login."
  23800. msgstr ""
  23801. #. type: code{#1}
  23802. #: guix-git/doc/guix.texi:16533
  23803. #, no-wrap
  23804. msgid "motd"
  23805. msgstr ""
  23806. #. type: cindex
  23807. #: guix-git/doc/guix.texi:16534
  23808. #, no-wrap
  23809. msgid "message of the day"
  23810. msgstr ""
  23811. #. type: table
  23812. #: guix-git/doc/guix.texi:16536
  23813. msgid "A file-like object containing the ``message of the day''."
  23814. msgstr ""
  23815. #. type: item
  23816. #: guix-git/doc/guix.texi:16537 guix-git/doc/guix.texi:19767
  23817. #, no-wrap
  23818. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  23819. msgstr ""
  23820. #. type: table
  23821. #: guix-git/doc/guix.texi:16540
  23822. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  23823. msgstr ""
  23824. #. type: deffn
  23825. #: guix-git/doc/guix.texi:16544
  23826. #, no-wrap
  23827. msgid "{Scheme Procedure} mingetty-service @var{config}"
  23828. msgstr ""
  23829. #. type: deffn
  23830. #: guix-git/doc/guix.texi:16548
  23831. msgid "Return a service to run mingetty according to @var{config}, a @code{<mingetty-configuration>} object, which specifies the tty to run, among other things."
  23832. msgstr ""
  23833. #. type: deftp
  23834. #: guix-git/doc/guix.texi:16550
  23835. #, no-wrap
  23836. msgid "{Data Type} mingetty-configuration"
  23837. msgstr ""
  23838. #. type: deftp
  23839. #: guix-git/doc/guix.texi:16553
  23840. msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in."
  23841. msgstr ""
  23842. #. type: code{#1}
  23843. #: guix-git/doc/guix.texi:16556 guix-git/doc/guix.texi:16595
  23844. #: guix-git/doc/guix.texi:34101
  23845. #, no-wrap
  23846. msgid "tty"
  23847. msgstr ""
  23848. #. type: table
  23849. #: guix-git/doc/guix.texi:16558
  23850. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  23851. msgstr ""
  23852. #. type: item
  23853. #: guix-git/doc/guix.texi:16559 guix-git/doc/guix.texi:16624
  23854. #: guix-git/doc/guix.texi:16787
  23855. #, no-wrap
  23856. msgid "@code{auto-login} (default: @code{#f})"
  23857. msgstr ""
  23858. #. type: table
  23859. #: guix-git/doc/guix.texi:16563
  23860. 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."
  23861. msgstr ""
  23862. #. type: item
  23863. #: guix-git/doc/guix.texi:16564
  23864. #, no-wrap
  23865. msgid "@code{login-program} (default: @code{#f})"
  23866. msgstr ""
  23867. #. type: table
  23868. #: guix-git/doc/guix.texi:16568
  23869. 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."
  23870. msgstr ""
  23871. #. type: item
  23872. #: guix-git/doc/guix.texi:16569
  23873. #, no-wrap
  23874. msgid "@code{login-pause?} (default: @code{#f})"
  23875. msgstr ""
  23876. #. type: table
  23877. #: guix-git/doc/guix.texi:16572
  23878. 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."
  23879. msgstr ""
  23880. #. type: item
  23881. #: guix-git/doc/guix.texi:16573
  23882. #, no-wrap
  23883. msgid "@code{clear-on-logout?} (default: @code{#t})"
  23884. msgstr ""
  23885. #. type: table
  23886. #: guix-git/doc/guix.texi:16575
  23887. msgid "When set to @code{#t}, the screen will be cleared after logout."
  23888. msgstr ""
  23889. #. type: item
  23890. #: guix-git/doc/guix.texi:16576
  23891. #, no-wrap
  23892. msgid "@code{mingetty} (default: @var{mingetty})"
  23893. msgstr ""
  23894. #. type: table
  23895. #: guix-git/doc/guix.texi:16578
  23896. msgid "The Mingetty package to use."
  23897. msgstr ""
  23898. #. type: deffn
  23899. #: guix-git/doc/guix.texi:16582
  23900. #, no-wrap
  23901. msgid "{Scheme Procedure} agetty-service @var{config}"
  23902. msgstr ""
  23903. #. type: deffn
  23904. #: guix-git/doc/guix.texi:16586
  23905. msgid "Return a service to run agetty according to @var{config}, an @code{<agetty-configuration>} object, which specifies the tty to run, among other things."
  23906. msgstr ""
  23907. #. type: deftp
  23908. #: guix-git/doc/guix.texi:16588
  23909. #, no-wrap
  23910. msgid "{Data Type} agetty-configuration"
  23911. msgstr ""
  23912. #. type: deftp
  23913. #: guix-git/doc/guix.texi:16592
  23914. msgid "This is the data type representing the configuration of agetty, which implements virtual and serial console log-in. See the @code{agetty(8)} man page for more information."
  23915. msgstr ""
  23916. #. type: table
  23917. #: guix-git/doc/guix.texi:16599
  23918. 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."
  23919. msgstr ""
  23920. #. type: table
  23921. #: guix-git/doc/guix.texi:16603
  23922. 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."
  23923. msgstr ""
  23924. #. type: table
  23925. #: guix-git/doc/guix.texi:16607
  23926. 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."
  23927. msgstr ""
  23928. #. type: table
  23929. #: guix-git/doc/guix.texi:16611
  23930. 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."
  23931. msgstr ""
  23932. #. type: item
  23933. #: guix-git/doc/guix.texi:16612 guix-git/doc/guix.texi:34262
  23934. #, no-wrap
  23935. msgid "@code{baud-rate} (default: @code{#f})"
  23936. msgstr ""
  23937. #. type: table
  23938. #: guix-git/doc/guix.texi:16615
  23939. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  23940. msgstr ""
  23941. #. type: item
  23942. #: guix-git/doc/guix.texi:16616
  23943. #, no-wrap
  23944. msgid "@code{term} (default: @code{#f})"
  23945. msgstr "@code{term} (default: @code{#f})"
  23946. #. type: table
  23947. #: guix-git/doc/guix.texi:16619
  23948. msgid "A string containing the value used for the @env{TERM} environment variable."
  23949. msgstr ""
  23950. #. type: item
  23951. #: guix-git/doc/guix.texi:16620
  23952. #, no-wrap
  23953. msgid "@code{eight-bits?} (default: @code{#f})"
  23954. msgstr ""
  23955. #. type: table
  23956. #: guix-git/doc/guix.texi:16623
  23957. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  23958. msgstr ""
  23959. #. type: table
  23960. #: guix-git/doc/guix.texi:16627 guix-git/doc/guix.texi:16790
  23961. 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."
  23962. msgstr ""
  23963. #. type: item
  23964. #: guix-git/doc/guix.texi:16628
  23965. #, no-wrap
  23966. msgid "@code{no-reset?} (default: @code{#f})"
  23967. msgstr "@code{no-reset?} (default: @code{#f})"
  23968. #. type: table
  23969. #: guix-git/doc/guix.texi:16630
  23970. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  23971. msgstr ""
  23972. #. type: item
  23973. #: guix-git/doc/guix.texi:16631
  23974. #, no-wrap
  23975. msgid "@code{host} (default: @code{#f})"
  23976. msgstr "@code{host} (default: @code{#f})"
  23977. #. type: table
  23978. #: guix-git/doc/guix.texi:16634
  23979. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  23980. msgstr ""
  23981. #. type: item
  23982. #: guix-git/doc/guix.texi:16635
  23983. #, no-wrap
  23984. msgid "@code{remote?} (default: @code{#f})"
  23985. msgstr "@code{remote?} (padrão: @code{#f})"
  23986. #. type: table
  23987. #: guix-git/doc/guix.texi:16639
  23988. 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}."
  23989. msgstr ""
  23990. #. type: item
  23991. #: guix-git/doc/guix.texi:16640
  23992. #, no-wrap
  23993. msgid "@code{flow-control?} (default: @code{#f})"
  23994. msgstr ""
  23995. #. type: table
  23996. #: guix-git/doc/guix.texi:16642
  23997. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  23998. msgstr ""
  23999. #. type: item
  24000. #: guix-git/doc/guix.texi:16643
  24001. #, no-wrap
  24002. msgid "@code{no-issue?} (default: @code{#f})"
  24003. msgstr "@code{no-issue?} (padrão: @code{#f})"
  24004. #. type: table
  24005. #: guix-git/doc/guix.texi:16646
  24006. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  24007. msgstr ""
  24008. #. type: item
  24009. #: guix-git/doc/guix.texi:16647
  24010. #, no-wrap
  24011. msgid "@code{init-string} (default: @code{#f})"
  24012. msgstr ""
  24013. #. type: table
  24014. #: guix-git/doc/guix.texi:16650
  24015. 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."
  24016. msgstr ""
  24017. #. type: item
  24018. #: guix-git/doc/guix.texi:16651
  24019. #, no-wrap
  24020. msgid "@code{no-clear?} (default: @code{#f})"
  24021. msgstr "@code{no-clear?} (padrão: @code{#f})"
  24022. #. type: table
  24023. #: guix-git/doc/guix.texi:16654
  24024. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  24025. msgstr ""
  24026. #. type: item
  24027. #: guix-git/doc/guix.texi:16655
  24028. #, no-wrap
  24029. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  24030. msgstr ""
  24031. #. type: table
  24032. #: guix-git/doc/guix.texi:16659
  24033. 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."
  24034. msgstr ""
  24035. #. type: item
  24036. #: guix-git/doc/guix.texi:16660
  24037. #, no-wrap
  24038. msgid "@code{local-line} (default: @code{#f})"
  24039. msgstr ""
  24040. #. type: table
  24041. #: guix-git/doc/guix.texi:16664
  24042. 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}."
  24043. msgstr ""
  24044. #. type: item
  24045. #: guix-git/doc/guix.texi:16665
  24046. #, no-wrap
  24047. msgid "@code{extract-baud?} (default: @code{#f})"
  24048. msgstr ""
  24049. #. type: table
  24050. #: guix-git/doc/guix.texi:16668
  24051. 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."
  24052. msgstr ""
  24053. #. type: item
  24054. #: guix-git/doc/guix.texi:16669
  24055. #, no-wrap
  24056. msgid "@code{skip-login?} (default: @code{#f})"
  24057. msgstr ""
  24058. #. type: table
  24059. #: guix-git/doc/guix.texi:16673
  24060. 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."
  24061. msgstr ""
  24062. #. type: item
  24063. #: guix-git/doc/guix.texi:16674
  24064. #, no-wrap
  24065. msgid "@code{no-newline?} (default: @code{#f})"
  24066. msgstr "@code{no-newline?} (padrão: @code{#f})"
  24067. #. type: table
  24068. #: guix-git/doc/guix.texi:16677
  24069. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  24070. msgstr ""
  24071. #. type: item
  24072. #: guix-git/doc/guix.texi:16679
  24073. #, no-wrap
  24074. msgid "@code{login-options} (default: @code{#f})"
  24075. msgstr ""
  24076. #. type: table
  24077. #: guix-git/doc/guix.texi:16684
  24078. 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."
  24079. msgstr ""
  24080. #. type: item
  24081. #: guix-git/doc/guix.texi:16685
  24082. #, no-wrap
  24083. msgid "@code{login-pause} (default: @code{#f})"
  24084. msgstr ""
  24085. #. type: table
  24086. #: guix-git/doc/guix.texi:16689
  24087. 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."
  24088. msgstr ""
  24089. #. type: item
  24090. #: guix-git/doc/guix.texi:16690
  24091. #, no-wrap
  24092. msgid "@code{chroot} (default: @code{#f})"
  24093. msgstr "@code{chroot} (default: @code{#f})"
  24094. #. type: table
  24095. #: guix-git/doc/guix.texi:16693
  24096. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  24097. msgstr ""
  24098. #. type: item
  24099. #: guix-git/doc/guix.texi:16694
  24100. #, no-wrap
  24101. msgid "@code{hangup?} (default: @code{#f})"
  24102. msgstr "@code{hangup?} (padrão: @code{#f})"
  24103. #. type: table
  24104. #: guix-git/doc/guix.texi:16697
  24105. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  24106. msgstr ""
  24107. #. type: item
  24108. #: guix-git/doc/guix.texi:16698
  24109. #, no-wrap
  24110. msgid "@code{keep-baud?} (default: @code{#f})"
  24111. msgstr ""
  24112. #. type: table
  24113. #: guix-git/doc/guix.texi:16702
  24114. 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."
  24115. msgstr ""
  24116. #. type: item
  24117. #: guix-git/doc/guix.texi:16703
  24118. #, no-wrap
  24119. msgid "@code{timeout} (default: @code{#f})"
  24120. msgstr ""
  24121. #. type: table
  24122. #: guix-git/doc/guix.texi:16706
  24123. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  24124. msgstr ""
  24125. #. type: item
  24126. #: guix-git/doc/guix.texi:16707
  24127. #, no-wrap
  24128. msgid "@code{detect-case?} (default: @code{#f})"
  24129. msgstr ""
  24130. #. type: table
  24131. #: guix-git/doc/guix.texi:16713
  24132. 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."
  24133. msgstr ""
  24134. #. type: item
  24135. #: guix-git/doc/guix.texi:16714
  24136. #, no-wrap
  24137. msgid "@code{wait-cr?} (default: @code{#f})"
  24138. msgstr ""
  24139. #. type: table
  24140. #: guix-git/doc/guix.texi:16719
  24141. 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."
  24142. msgstr ""
  24143. #. type: item
  24144. #: guix-git/doc/guix.texi:16720
  24145. #, no-wrap
  24146. msgid "@code{no-hints?} (default: @code{#f})"
  24147. msgstr "@code{no-hints?} (padrão: @code{#f})"
  24148. #. type: table
  24149. #: guix-git/doc/guix.texi:16723
  24150. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  24151. msgstr ""
  24152. #. type: item
  24153. #: guix-git/doc/guix.texi:16724
  24154. #, no-wrap
  24155. msgid "@code{no-hostname?} (default: @code{#f})"
  24156. msgstr "@code{no-hostname?} (default: @code{#f})"
  24157. #. type: table
  24158. #: guix-git/doc/guix.texi:16727
  24159. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  24160. msgstr ""
  24161. #. type: item
  24162. #: guix-git/doc/guix.texi:16728
  24163. #, no-wrap
  24164. msgid "@code{long-hostname?} (default: @code{#f})"
  24165. msgstr ""
  24166. #. type: table
  24167. #: guix-git/doc/guix.texi:16732
  24168. 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."
  24169. msgstr ""
  24170. #. type: item
  24171. #: guix-git/doc/guix.texi:16733
  24172. #, no-wrap
  24173. msgid "@code{erase-characters} (default: @code{#f})"
  24174. msgstr ""
  24175. #. type: table
  24176. #: guix-git/doc/guix.texi:16736
  24177. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  24178. msgstr ""
  24179. #. type: item
  24180. #: guix-git/doc/guix.texi:16737
  24181. #, no-wrap
  24182. msgid "@code{kill-characters} (default: @code{#f})"
  24183. msgstr ""
  24184. #. type: table
  24185. #: guix-git/doc/guix.texi:16741
  24186. 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."
  24187. msgstr ""
  24188. #. type: item
  24189. #: guix-git/doc/guix.texi:16742
  24190. #, no-wrap
  24191. msgid "@code{chdir} (default: @code{#f})"
  24192. msgstr "@code{chdir} (default: @code{#f})"
  24193. #. type: table
  24194. #: guix-git/doc/guix.texi:16745
  24195. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  24196. msgstr ""
  24197. #. type: item
  24198. #: guix-git/doc/guix.texi:16746
  24199. #, no-wrap
  24200. msgid "@code{delay} (default: @code{#f})"
  24201. msgstr "@code{delay} (default: @code{#f})"
  24202. #. type: table
  24203. #: guix-git/doc/guix.texi:16749
  24204. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  24205. msgstr ""
  24206. #. type: item
  24207. #: guix-git/doc/guix.texi:16750
  24208. #, no-wrap
  24209. msgid "@code{nice} (default: @code{#f})"
  24210. msgstr "@code{nice} (default: @code{#f})"
  24211. #. type: table
  24212. #: guix-git/doc/guix.texi:16753
  24213. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  24214. msgstr ""
  24215. #. type: item
  24216. #: guix-git/doc/guix.texi:16754 guix-git/doc/guix.texi:17046
  24217. #: guix-git/doc/guix.texi:17965 guix-git/doc/guix.texi:25702
  24218. #: guix-git/doc/guix.texi:27089 guix-git/doc/guix.texi:29507
  24219. #: guix-git/doc/guix.texi:30330 guix-git/doc/guix.texi:32087
  24220. #: guix-git/doc/guix.texi:34602
  24221. #, no-wrap
  24222. msgid "@code{extra-options} (default: @code{'()})"
  24223. msgstr ""
  24224. #. type: table
  24225. #: guix-git/doc/guix.texi:16757
  24226. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  24227. msgstr ""
  24228. #. type: item
  24229. #: guix-git/doc/guix.texi:16758
  24230. #, fuzzy, no-wrap
  24231. #| msgid "@code{features} (default: @code{'()})"
  24232. msgid "@code{shepherd-requirement} (default: @code{'()})"
  24233. msgstr "@code{features} (padrão: @code{'()})"
  24234. #. type: table
  24235. #: guix-git/doc/guix.texi:16761
  24236. msgid "The option can be used to provides extra shepherd requirements (for example @code{'syslogd}) to the respective @code{'term-}* shepherd service."
  24237. msgstr ""
  24238. #. type: deffn
  24239. #: guix-git/doc/guix.texi:16765
  24240. #, no-wrap
  24241. msgid "{Scheme Procedure} kmscon-service-type @var{config}"
  24242. msgstr ""
  24243. #. type: deffn
  24244. #: guix-git/doc/guix.texi:16769
  24245. msgid "Return a service to run @uref{https://www.freedesktop.org/wiki/Software/kmscon,kmscon} according to @var{config}, a @code{<kmscon-configuration>} object, which specifies the tty to run, among other things."
  24246. msgstr ""
  24247. #. type: deftp
  24248. #: guix-git/doc/guix.texi:16771
  24249. #, no-wrap
  24250. msgid "{Data Type} kmscon-configuration"
  24251. msgstr ""
  24252. #. type: deftp
  24253. #: guix-git/doc/guix.texi:16774
  24254. msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in."
  24255. msgstr ""
  24256. #. type: code{#1}
  24257. #: guix-git/doc/guix.texi:16777
  24258. #, no-wrap
  24259. msgid "virtual-terminal"
  24260. msgstr ""
  24261. #. type: table
  24262. #: guix-git/doc/guix.texi:16779
  24263. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  24264. msgstr ""
  24265. #. type: item
  24266. #: guix-git/doc/guix.texi:16780
  24267. #, no-wrap
  24268. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  24269. msgstr ""
  24270. #. type: table
  24271. #: guix-git/doc/guix.texi:16783
  24272. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  24273. msgstr ""
  24274. #. type: item
  24275. #: guix-git/doc/guix.texi:16784
  24276. #, no-wrap
  24277. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  24278. msgstr ""
  24279. #. type: table
  24280. #: guix-git/doc/guix.texi:16786
  24281. msgid "A list of arguments to pass to @command{login}."
  24282. msgstr ""
  24283. #. type: item
  24284. #: guix-git/doc/guix.texi:16791
  24285. #, no-wrap
  24286. msgid "@code{hardware-acceleration?} (default: #f)"
  24287. msgstr ""
  24288. #. type: table
  24289. #: guix-git/doc/guix.texi:16793
  24290. msgid "Whether to use hardware acceleration."
  24291. msgstr ""
  24292. #. type: item
  24293. #: guix-git/doc/guix.texi:16794
  24294. #, fuzzy, no-wrap
  24295. msgid "@code{font-engine} (default: @code{\"pango\"})"
  24296. msgstr "@code{no-newline?} (padrão: @code{#f})"
  24297. #. type: table
  24298. #: guix-git/doc/guix.texi:16796
  24299. msgid "Font engine used in Kmscon."
  24300. msgstr ""
  24301. #. type: item
  24302. #: guix-git/doc/guix.texi:16797
  24303. #, fuzzy, no-wrap
  24304. msgid "@code{font-size} (default: @code{12})"
  24305. msgstr "@code{max-zone-size} (default: @code{#f})"
  24306. #. type: table
  24307. #: guix-git/doc/guix.texi:16799
  24308. msgid "Font size used in Kmscon."
  24309. msgstr ""
  24310. #. type: table
  24311. #: guix-git/doc/guix.texi:16803
  24312. msgid "If this is @code{#f}, Kmscon uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  24313. msgstr ""
  24314. #. type: table
  24315. #: guix-git/doc/guix.texi:16807
  24316. 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."
  24317. msgstr ""
  24318. #. type: item
  24319. #: guix-git/doc/guix.texi:16808
  24320. #, no-wrap
  24321. msgid "@code{kmscon} (default: @var{kmscon})"
  24322. msgstr ""
  24323. #. type: table
  24324. #: guix-git/doc/guix.texi:16810
  24325. msgid "The Kmscon package to use."
  24326. msgstr ""
  24327. #. type: cindex
  24328. #: guix-git/doc/guix.texi:16814
  24329. #, no-wrap
  24330. msgid "name service cache daemon"
  24331. msgstr ""
  24332. #. type: cindex
  24333. #: guix-git/doc/guix.texi:16815
  24334. #, no-wrap
  24335. msgid "nscd"
  24336. msgstr ""
  24337. #. type: deffn
  24338. #: guix-git/doc/guix.texi:16816
  24339. #, no-wrap
  24340. msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @"
  24341. msgstr ""
  24342. #. type: deffn
  24343. #: guix-git/doc/guix.texi:16821
  24344. msgid "[#:name-services '()] Return a service that runs the libc name service cache daemon (nscd) with the given @var{config}---an @code{<nscd-configuration>} object. @xref{Name Service Switch}, for an example."
  24345. msgstr ""
  24346. #. type: deffn
  24347. #: guix-git/doc/guix.texi:16823
  24348. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  24349. msgstr ""
  24350. #. type: item
  24351. #: guix-git/doc/guix.texi:16825
  24352. #, no-wrap
  24353. msgid "invalidate"
  24354. msgstr ""
  24355. #. type: cindex
  24356. #: guix-git/doc/guix.texi:16826
  24357. #, no-wrap
  24358. msgid "cache invalidation, nscd"
  24359. msgstr ""
  24360. #. type: cindex
  24361. #: guix-git/doc/guix.texi:16827
  24362. #, no-wrap
  24363. msgid "nscd, cache invalidation"
  24364. msgstr ""
  24365. #. type: table
  24366. #: guix-git/doc/guix.texi:16829
  24367. msgid "This invalidate the given cache. For instance, running:"
  24368. msgstr ""
  24369. #. type: example
  24370. #: guix-git/doc/guix.texi:16832
  24371. #, no-wrap
  24372. msgid "herd invalidate nscd hosts\n"
  24373. msgstr ""
  24374. #. type: table
  24375. #: guix-git/doc/guix.texi:16836
  24376. msgid "invalidates the host name lookup cache of nscd."
  24377. msgstr ""
  24378. #. type: item
  24379. #: guix-git/doc/guix.texi:16837
  24380. #, no-wrap
  24381. msgid "statistics"
  24382. msgstr ""
  24383. #. type: table
  24384. #: guix-git/doc/guix.texi:16840
  24385. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  24386. msgstr ""
  24387. #. type: defvr
  24388. #: guix-git/doc/guix.texi:16844
  24389. #, no-wrap
  24390. msgid "{Scheme Variable} %nscd-default-configuration"
  24391. msgstr ""
  24392. #. type: defvr
  24393. #: guix-git/doc/guix.texi:16848
  24394. msgid "This is the default @code{<nscd-configuration>} value (see below) used by @code{nscd-service}. It uses the caches defined by @code{%nscd-default-caches}; see below."
  24395. msgstr ""
  24396. #. type: deftp
  24397. #: guix-git/doc/guix.texi:16850
  24398. #, no-wrap
  24399. msgid "{Data Type} nscd-configuration"
  24400. msgstr ""
  24401. #. type: deftp
  24402. #: guix-git/doc/guix.texi:16853
  24403. msgid "This is the data type representing the name service cache daemon (nscd) configuration."
  24404. msgstr ""
  24405. #. type: item
  24406. #: guix-git/doc/guix.texi:16856
  24407. #, no-wrap
  24408. msgid "@code{name-services} (default: @code{'()})"
  24409. msgstr ""
  24410. #. type: table
  24411. #: guix-git/doc/guix.texi:16859
  24412. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  24413. msgstr ""
  24414. #. type: item
  24415. #: guix-git/doc/guix.texi:16860
  24416. #, no-wrap
  24417. msgid "@code{glibc} (default: @var{glibc})"
  24418. msgstr ""
  24419. #. type: table
  24420. #: guix-git/doc/guix.texi:16863
  24421. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  24422. msgstr ""
  24423. #. type: item
  24424. #: guix-git/doc/guix.texi:16864
  24425. #, no-wrap
  24426. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  24427. msgstr ""
  24428. #. type: table
  24429. #: guix-git/doc/guix.texi:16867
  24430. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  24431. msgstr ""
  24432. #. type: item
  24433. #: guix-git/doc/guix.texi:16868
  24434. #, no-wrap
  24435. msgid "@code{debug-level} (default: @code{0})"
  24436. msgstr ""
  24437. #. type: table
  24438. #: guix-git/doc/guix.texi:16871
  24439. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  24440. msgstr ""
  24441. #. type: item
  24442. #: guix-git/doc/guix.texi:16872
  24443. #, no-wrap
  24444. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  24445. msgstr ""
  24446. #. type: table
  24447. #: guix-git/doc/guix.texi:16875
  24448. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  24449. msgstr ""
  24450. #. type: deftp
  24451. #: guix-git/doc/guix.texi:16879
  24452. #, no-wrap
  24453. msgid "{Data Type} nscd-cache"
  24454. msgstr ""
  24455. #. type: deftp
  24456. #: guix-git/doc/guix.texi:16881
  24457. msgid "Data type representing a cache database of nscd and its parameters."
  24458. msgstr ""
  24459. #. type: cindex
  24460. #: guix-git/doc/guix.texi:16884 guix-git/doc/guix.texi:21591
  24461. #, no-wrap
  24462. msgid "database"
  24463. msgstr ""
  24464. #. type: table
  24465. #: guix-git/doc/guix.texi:16889
  24466. 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})."
  24467. msgstr ""
  24468. #. type: code{#1}
  24469. #: guix-git/doc/guix.texi:16890
  24470. #, no-wrap
  24471. msgid "positive-time-to-live"
  24472. msgstr ""
  24473. #. type: itemx
  24474. #: guix-git/doc/guix.texi:16891
  24475. #, no-wrap
  24476. msgid "@code{negative-time-to-live} (default: @code{20})"
  24477. msgstr ""
  24478. #. type: table
  24479. #: guix-git/doc/guix.texi:16894
  24480. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  24481. msgstr ""
  24482. #. type: item
  24483. #: guix-git/doc/guix.texi:16895
  24484. #, no-wrap
  24485. msgid "@code{check-files?} (default: @code{#t})"
  24486. msgstr ""
  24487. #. type: table
  24488. #: guix-git/doc/guix.texi:16898
  24489. msgid "Whether to check for updates of the files corresponding to @var{database}."
  24490. msgstr ""
  24491. #. type: table
  24492. #: guix-git/doc/guix.texi:16902
  24493. 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."
  24494. msgstr ""
  24495. #. type: item
  24496. #: guix-git/doc/guix.texi:16903
  24497. #, no-wrap
  24498. msgid "@code{persistent?} (default: @code{#t})"
  24499. msgstr "@code{persistent?} (padrão: @code{#t})"
  24500. #. type: table
  24501. #: guix-git/doc/guix.texi:16905
  24502. msgid "Whether the cache should be stored persistently on disk."
  24503. msgstr ""
  24504. #. type: item
  24505. #: guix-git/doc/guix.texi:16906
  24506. #, no-wrap
  24507. msgid "@code{shared?} (default: @code{#t})"
  24508. msgstr "@code{shared?} (padrão: @code{#t})"
  24509. #. type: table
  24510. #: guix-git/doc/guix.texi:16908
  24511. msgid "Whether the cache should be shared among users."
  24512. msgstr ""
  24513. #. type: item
  24514. #: guix-git/doc/guix.texi:16909
  24515. #, no-wrap
  24516. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  24517. msgstr ""
  24518. #. type: table
  24519. #: guix-git/doc/guix.texi:16911
  24520. msgid "Maximum size in bytes of the database cache."
  24521. msgstr ""
  24522. #. type: defvr
  24523. #: guix-git/doc/guix.texi:16918
  24524. #, no-wrap
  24525. msgid "{Scheme Variable} %nscd-default-caches"
  24526. msgstr ""
  24527. #. type: defvr
  24528. #: guix-git/doc/guix.texi:16921
  24529. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  24530. msgstr ""
  24531. #. type: defvr
  24532. #: guix-git/doc/guix.texi:16927
  24533. 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."
  24534. msgstr ""
  24535. #. type: anchor{#1}
  24536. #: guix-git/doc/guix.texi:16930
  24537. msgid "syslog-configuration-type"
  24538. msgstr ""
  24539. #. type: cindex
  24540. #: guix-git/doc/guix.texi:16930 guix-git/doc/guix.texi:16946
  24541. #, no-wrap
  24542. msgid "syslog"
  24543. msgstr ""
  24544. #. type: cindex
  24545. #: guix-git/doc/guix.texi:16931 guix-git/doc/guix.texi:17522
  24546. #, no-wrap
  24547. msgid "logging"
  24548. msgstr ""
  24549. #. type: deftp
  24550. #: guix-git/doc/guix.texi:16932
  24551. #, no-wrap
  24552. msgid "{Data Type} syslog-configuration"
  24553. msgstr ""
  24554. #. type: deftp
  24555. #: guix-git/doc/guix.texi:16934
  24556. msgid "This data type represents the configuration of the syslog daemon."
  24557. msgstr ""
  24558. #. type: item
  24559. #: guix-git/doc/guix.texi:16936
  24560. #, no-wrap
  24561. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  24562. msgstr ""
  24563. #. type: table
  24564. #: guix-git/doc/guix.texi:16938
  24565. msgid "The syslog daemon to use."
  24566. msgstr ""
  24567. #. type: item
  24568. #: guix-git/doc/guix.texi:16939
  24569. #, no-wrap
  24570. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  24571. msgstr ""
  24572. #. type: table
  24573. #: guix-git/doc/guix.texi:16941
  24574. msgid "The syslog configuration file to use."
  24575. msgstr ""
  24576. #. type: anchor{#1}
  24577. #: guix-git/doc/guix.texi:16946
  24578. msgid "syslog-service"
  24579. msgstr ""
  24580. #. type: deffn
  24581. #: guix-git/doc/guix.texi:16947
  24582. #, no-wrap
  24583. msgid "{Scheme Procedure} syslog-service @var{config}"
  24584. msgstr ""
  24585. #. type: deffn
  24586. #: guix-git/doc/guix.texi:16949
  24587. msgid "Return a service that runs a syslog daemon according to @var{config}."
  24588. msgstr ""
  24589. #. type: deffn
  24590. #: guix-git/doc/guix.texi:16952
  24591. msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  24592. msgstr ""
  24593. #. type: defvr
  24594. #: guix-git/doc/guix.texi:16954
  24595. #, no-wrap
  24596. msgid "{Scheme Variable} guix-service-type"
  24597. msgstr ""
  24598. #. type: defvr
  24599. #: guix-git/doc/guix.texi:16958
  24600. 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."
  24601. msgstr ""
  24602. #. type: anchor{#1}
  24603. #: guix-git/doc/guix.texi:16961
  24604. msgid "guix-configuration-type"
  24605. msgstr "guix-configuration-type"
  24606. #. type: deftp
  24607. #: guix-git/doc/guix.texi:16961
  24608. #, no-wrap
  24609. msgid "{Data Type} guix-configuration"
  24610. msgstr ""
  24611. #. type: deftp
  24612. #: guix-git/doc/guix.texi:16964
  24613. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  24614. msgstr ""
  24615. #. type: item
  24616. #: guix-git/doc/guix.texi:16966
  24617. #, no-wrap
  24618. msgid "@code{guix} (default: @var{guix})"
  24619. msgstr "@code{guix} (default: @var{guix})"
  24620. #. type: table
  24621. #: guix-git/doc/guix.texi:16968 guix-git/doc/guix.texi:17245
  24622. msgid "The Guix package to use."
  24623. msgstr ""
  24624. #. type: item
  24625. #: guix-git/doc/guix.texi:16969
  24626. #, no-wrap
  24627. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  24628. msgstr ""
  24629. #. type: table
  24630. #: guix-git/doc/guix.texi:16971
  24631. msgid "Name of the group for build user accounts."
  24632. msgstr ""
  24633. #. type: item
  24634. #: guix-git/doc/guix.texi:16972
  24635. #, no-wrap
  24636. msgid "@code{build-accounts} (default: @code{10})"
  24637. msgstr ""
  24638. #. type: table
  24639. #: guix-git/doc/guix.texi:16974
  24640. msgid "Number of build user accounts to create."
  24641. msgstr ""
  24642. #. type: item
  24643. #: guix-git/doc/guix.texi:16975
  24644. #, no-wrap
  24645. msgid "@code{authorize-key?} (default: @code{#t})"
  24646. msgstr ""
  24647. #. type: table
  24648. #: guix-git/doc/guix.texi:16982
  24649. 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})."
  24650. msgstr ""
  24651. #. type: table
  24652. #: guix-git/doc/guix.texi:16988
  24653. 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."
  24654. msgstr ""
  24655. #. type: quotation
  24656. #: guix-git/doc/guix.texi:16995
  24657. 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}."
  24658. msgstr ""
  24659. #. type: vindex
  24660. #: guix-git/doc/guix.texi:16997
  24661. #, no-wrap
  24662. msgid "%default-authorized-guix-keys"
  24663. msgstr ""
  24664. #. type: item
  24665. #: guix-git/doc/guix.texi:16998
  24666. #, no-wrap
  24667. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  24668. msgstr ""
  24669. #. type: table
  24670. #: guix-git/doc/guix.texi:17004
  24671. 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."
  24672. msgstr ""
  24673. #. type: item
  24674. #: guix-git/doc/guix.texi:17005
  24675. #, no-wrap
  24676. msgid "@code{use-substitutes?} (default: @code{#t})"
  24677. msgstr ""
  24678. #. type: table
  24679. #: guix-git/doc/guix.texi:17007
  24680. msgid "Whether to use substitutes."
  24681. msgstr ""
  24682. #. type: item
  24683. #: guix-git/doc/guix.texi:17008 guix-git/doc/guix.texi:29604
  24684. #, no-wrap
  24685. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  24686. msgstr ""
  24687. #. type: table
  24688. #: guix-git/doc/guix.texi:17010 guix-git/doc/guix.texi:29606
  24689. msgid "The list of URLs where to look for substitutes by default."
  24690. msgstr ""
  24691. #. type: table
  24692. #: guix-git/doc/guix.texi:17017
  24693. 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:"
  24694. msgstr ""
  24695. #. type: lisp
  24696. #: guix-git/doc/guix.texi:17026
  24697. #, no-wrap
  24698. msgid ""
  24699. "(guix-configuration\n"
  24700. " (substitute-urls\n"
  24701. " (append (list \"https://guix.example.org\")\n"
  24702. " %default-substitute-urls))\n"
  24703. " (authorized-keys\n"
  24704. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  24705. " %default-authorized-guix-keys)))\n"
  24706. msgstr ""
  24707. #. type: table
  24708. #: guix-git/doc/guix.texi:17031
  24709. 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."
  24710. msgstr ""
  24711. #. type: item
  24712. #: guix-git/doc/guix.texi:17032
  24713. #, no-wrap
  24714. msgid "@code{max-silent-time} (default: @code{0})"
  24715. msgstr ""
  24716. #. type: itemx
  24717. #: guix-git/doc/guix.texi:17033
  24718. #, no-wrap
  24719. msgid "@code{timeout} (default: @code{0})"
  24720. msgstr ""
  24721. #. type: table
  24722. #: guix-git/doc/guix.texi:17037
  24723. 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."
  24724. msgstr ""
  24725. #. type: item
  24726. #: guix-git/doc/guix.texi:17038
  24727. #, fuzzy, no-wrap
  24728. #| msgid "@code{compression-level} (default: @code{3})"
  24729. msgid "@code{log-compression} (default: @code{'gzip})"
  24730. msgstr "@code{compression-level} (padrão: @code{3})"
  24731. #. type: table
  24732. #: guix-git/doc/guix.texi:17041
  24733. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  24734. msgstr ""
  24735. #. type: item
  24736. #: guix-git/doc/guix.texi:17042
  24737. #, no-wrap
  24738. msgid "@code{discover?} (default: @code{#f})"
  24739. msgstr ""
  24740. #. type: table
  24741. #: guix-git/doc/guix.texi:17048
  24742. msgid "List of extra command-line options for @command{guix-daemon}."
  24743. msgstr ""
  24744. #. type: item
  24745. #: guix-git/doc/guix.texi:17049
  24746. #, no-wrap
  24747. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  24748. msgstr ""
  24749. #. type: table
  24750. #: guix-git/doc/guix.texi:17052
  24751. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  24752. msgstr ""
  24753. #. type: cindex
  24754. #: guix-git/doc/guix.texi:17053
  24755. #, no-wrap
  24756. msgid "HTTP proxy, for @code{guix-daemon}"
  24757. msgstr ""
  24758. #. type: cindex
  24759. #: guix-git/doc/guix.texi:17054
  24760. #, no-wrap
  24761. msgid "proxy, for @code{guix-daemon} HTTP access"
  24762. msgstr ""
  24763. #. type: item
  24764. #: guix-git/doc/guix.texi:17055
  24765. #, no-wrap
  24766. msgid "@code{http-proxy} (default: @code{#f})"
  24767. msgstr ""
  24768. #. type: table
  24769. #: guix-git/doc/guix.texi:17058
  24770. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  24771. msgstr ""
  24772. #. type: table
  24773. #: guix-git/doc/guix.texi:17061
  24774. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  24775. msgstr ""
  24776. #. type: example
  24777. #: guix-git/doc/guix.texi:17064
  24778. #, no-wrap
  24779. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  24780. msgstr ""
  24781. #. type: table
  24782. #: guix-git/doc/guix.texi:17067
  24783. msgid "To clear the proxy settings, run:"
  24784. msgstr ""
  24785. #. type: example
  24786. #: guix-git/doc/guix.texi:17070
  24787. #, no-wrap
  24788. msgid "herd set-http-proxy guix-daemon\n"
  24789. msgstr ""
  24790. #. type: item
  24791. #: guix-git/doc/guix.texi:17072
  24792. #, no-wrap
  24793. msgid "@code{tmpdir} (default: @code{#f})"
  24794. msgstr "@code{tmpdir} (default: @code{#f})"
  24795. #. type: table
  24796. #: guix-git/doc/guix.texi:17074
  24797. msgid "A directory path where the @command{guix-daemon} will perform builds."
  24798. msgstr ""
  24799. #. type: deffn
  24800. #: guix-git/doc/guix.texi:17078
  24801. #, no-wrap
  24802. msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]"
  24803. msgstr ""
  24804. #. type: deffn
  24805. #: guix-git/doc/guix.texi:17084
  24806. msgid "Run @var{udev}, which populates the @file{/dev} directory dynamically. udev rules can be provided as a list of files through the @var{rules} variable. The procedures @code{udev-rule}, @code{udev-rules-service} and @code{file->udev-rule} from @code{(gnu services base)} simplify the creation of such rule files."
  24807. msgstr ""
  24808. #. type: deffn
  24809. #: guix-git/doc/guix.texi:17087
  24810. msgid "The @command{herd rules udev} command, as root, returns the name of the directory containing all the active udev rules."
  24811. msgstr ""
  24812. #. type: deffn
  24813. #: guix-git/doc/guix.texi:17089
  24814. #, no-wrap
  24815. msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]"
  24816. msgstr ""
  24817. #. type: deffn
  24818. #: guix-git/doc/guix.texi:17092
  24819. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  24820. msgstr ""
  24821. #. type: deffn
  24822. #: guix-git/doc/guix.texi:17096
  24823. 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."
  24824. msgstr ""
  24825. #. type: lisp
  24826. #: guix-git/doc/guix.texi:17104
  24827. #, no-wrap
  24828. msgid ""
  24829. "(define %example-udev-rule\n"
  24830. " (udev-rule\n"
  24831. " \"90-usb-thing.rules\"\n"
  24832. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  24833. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  24834. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  24835. msgstr ""
  24836. #. type: deffn
  24837. #: guix-git/doc/guix.texi:17107
  24838. #, no-wrap
  24839. msgid "{Scheme Procedure} udev-rules-service [@var{name} @var{rules}] @"
  24840. msgstr ""
  24841. #. type: deffn
  24842. #: guix-git/doc/guix.texi:17114
  24843. msgid "[#:groups @var{groups}] 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."
  24844. msgstr ""
  24845. #. type: deffn
  24846. #: guix-git/doc/guix.texi:17117
  24847. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  24848. msgstr ""
  24849. #. type: lisp
  24850. #: guix-git/doc/guix.texi:17124
  24851. #, no-wrap
  24852. msgid ""
  24853. "(operating-system\n"
  24854. " ;; @dots{}\n"
  24855. " (services\n"
  24856. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  24857. " %desktop-services)))\n"
  24858. msgstr ""
  24859. #. type: deffn
  24860. #: guix-git/doc/guix.texi:17127
  24861. #, no-wrap
  24862. msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]"
  24863. msgstr ""
  24864. #. type: deffn
  24865. #: guix-git/doc/guix.texi:17130
  24866. msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  24867. msgstr ""
  24868. #. type: deffn
  24869. #: guix-git/doc/guix.texi:17132
  24870. msgid "The following example showcases how we can use an existing rule file."
  24871. msgstr ""
  24872. #. type: lisp
  24873. #: guix-git/doc/guix.texi:17137
  24874. #, no-wrap
  24875. msgid ""
  24876. "(use-modules (guix download) ;for url-fetch\n"
  24877. " (guix packages) ;for origin\n"
  24878. " @dots{})\n"
  24879. "\n"
  24880. msgstr ""
  24881. #. type: lisp
  24882. #: guix-git/doc/guix.texi:17148
  24883. #, no-wrap
  24884. msgid ""
  24885. "(define %android-udev-rules\n"
  24886. " (file->udev-rule\n"
  24887. " \"51-android-udev.rules\"\n"
  24888. " (let ((version \"20170910\"))\n"
  24889. " (origin\n"
  24890. " (method url-fetch)\n"
  24891. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  24892. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  24893. " (sha256\n"
  24894. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  24895. msgstr ""
  24896. #. type: Plain text
  24897. #: guix-git/doc/guix.texi:17157
  24898. 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."
  24899. msgstr ""
  24900. #. type: Plain text
  24901. #: guix-git/doc/guix.texi:17166
  24902. 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."
  24903. msgstr ""
  24904. #. type: lisp
  24905. #: guix-git/doc/guix.texi:17171
  24906. #, no-wrap
  24907. msgid ""
  24908. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  24909. " (gnu system shadow) ;for user-group\n"
  24910. " @dots{})\n"
  24911. "\n"
  24912. msgstr ""
  24913. #. type: lisp
  24914. #: guix-git/doc/guix.texi:17184
  24915. #, no-wrap
  24916. msgid ""
  24917. "(operating-system\n"
  24918. " ;; @dots{}\n"
  24919. " (users (cons (user-account\n"
  24920. " ;; @dots{}\n"
  24921. " (supplementary-groups\n"
  24922. " '(\"adbusers\" ;for adb\n"
  24923. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  24924. " ;; @dots{}\n"
  24925. " (services\n"
  24926. " (cons (udev-rules-service 'android android-udev-rules\n"
  24927. " #:groups '(\"adbusers\"))\n"
  24928. " %desktop-services)))\n"
  24929. msgstr ""
  24930. #. type: defvr
  24931. #: guix-git/doc/guix.texi:17186
  24932. #, no-wrap
  24933. msgid "{Scheme Variable} urandom-seed-service-type"
  24934. msgstr ""
  24935. #. type: defvr
  24936. #: guix-git/doc/guix.texi:17191
  24937. 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."
  24938. msgstr ""
  24939. #. type: defvr
  24940. #: guix-git/doc/guix.texi:17193
  24941. #, no-wrap
  24942. msgid "{Scheme Variable} %random-seed-file"
  24943. msgstr ""
  24944. #. type: defvr
  24945. #: guix-git/doc/guix.texi:17197
  24946. 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}."
  24947. msgstr ""
  24948. #. type: cindex
  24949. #: guix-git/doc/guix.texi:17199
  24950. #, no-wrap
  24951. msgid "mouse"
  24952. msgstr "mouse"
  24953. #. type: cindex
  24954. #: guix-git/doc/guix.texi:17200
  24955. #, no-wrap
  24956. msgid "gpm"
  24957. msgstr ""
  24958. #. type: defvr
  24959. #: guix-git/doc/guix.texi:17201
  24960. #, no-wrap
  24961. msgid "{Scheme Variable} gpm-service-type"
  24962. msgstr ""
  24963. #. type: defvr
  24964. #: guix-git/doc/guix.texi:17206
  24965. 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."
  24966. msgstr ""
  24967. #. type: defvr
  24968. #: guix-git/doc/guix.texi:17209
  24969. 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}."
  24970. msgstr ""
  24971. #. type: deftp
  24972. #: guix-git/doc/guix.texi:17211
  24973. #, no-wrap
  24974. msgid "{Data Type} gpm-configuration"
  24975. msgstr ""
  24976. #. type: deftp
  24977. #: guix-git/doc/guix.texi:17213
  24978. msgid "Data type representing the configuration of GPM."
  24979. msgstr ""
  24980. #. type: item
  24981. #: guix-git/doc/guix.texi:17215
  24982. #, no-wrap
  24983. msgid "@code{options} (default: @code{%default-gpm-options})"
  24984. msgstr ""
  24985. #. type: table
  24986. #: guix-git/doc/guix.texi:17220
  24987. 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."
  24988. msgstr ""
  24989. #. type: item
  24990. #: guix-git/doc/guix.texi:17221
  24991. #, no-wrap
  24992. msgid "@code{gpm} (default: @code{gpm})"
  24993. msgstr ""
  24994. #. type: table
  24995. #: guix-git/doc/guix.texi:17223
  24996. msgid "The GPM package to use."
  24997. msgstr "O pacote GPM a ser usado."
  24998. #. type: anchor{#1}
  24999. #: guix-git/doc/guix.texi:17228
  25000. msgid "guix-publish-service-type"
  25001. msgstr "guix-publish-service-type"
  25002. #. type: deffn
  25003. #: guix-git/doc/guix.texi:17228
  25004. #, no-wrap
  25005. msgid "{Scheme Variable} guix-publish-service-type"
  25006. msgstr ""
  25007. #. type: deffn
  25008. #: guix-git/doc/guix.texi:17232
  25009. 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."
  25010. msgstr ""
  25011. #. type: deffn
  25012. #: guix-git/doc/guix.texi:17236
  25013. 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."
  25014. msgstr ""
  25015. #. type: deftp
  25016. #: guix-git/doc/guix.texi:17238
  25017. #, no-wrap
  25018. msgid "{Data Type} guix-publish-configuration"
  25019. msgstr ""
  25020. #. type: deftp
  25021. #: guix-git/doc/guix.texi:17241
  25022. msgid "Data type representing the configuration of the @code{guix publish} service."
  25023. msgstr ""
  25024. #. type: item
  25025. #: guix-git/doc/guix.texi:17243
  25026. #, no-wrap
  25027. msgid "@code{guix} (default: @code{guix})"
  25028. msgstr ""
  25029. #. type: item
  25030. #: guix-git/doc/guix.texi:17246 guix-git/doc/guix.texi:31942
  25031. #, no-wrap
  25032. msgid "@code{port} (default: @code{80})"
  25033. msgstr ""
  25034. #. type: table
  25035. #: guix-git/doc/guix.texi:17248
  25036. msgid "The TCP port to listen for connections."
  25037. msgstr ""
  25038. #. type: item
  25039. #: guix-git/doc/guix.texi:17249 guix-git/doc/guix.texi:29487
  25040. #: guix-git/doc/guix.texi:33323
  25041. #, no-wrap
  25042. msgid "@code{host} (default: @code{\"localhost\"})"
  25043. msgstr ""
  25044. #. type: table
  25045. #: guix-git/doc/guix.texi:17252
  25046. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  25047. msgstr ""
  25048. #. type: item
  25049. #: guix-git/doc/guix.texi:17253
  25050. #, no-wrap
  25051. msgid "@code{advertise?} (default: @code{#f})"
  25052. msgstr ""
  25053. #. type: table
  25054. #: guix-git/doc/guix.texi:17256
  25055. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  25056. msgstr ""
  25057. #. type: table
  25058. #: guix-git/doc/guix.texi:17260
  25059. 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."
  25060. msgstr ""
  25061. #. type: item
  25062. #: guix-git/doc/guix.texi:17261
  25063. #, fuzzy, no-wrap
  25064. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  25065. msgstr "@code{compression-level} (padrão: @code{3})"
  25066. #. type: table
  25067. #: guix-git/doc/guix.texi:17265
  25068. 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:"
  25069. msgstr ""
  25070. #. type: lisp
  25071. #: guix-git/doc/guix.texi:17268
  25072. #, no-wrap
  25073. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  25074. msgstr ""
  25075. #. type: table
  25076. #: guix-git/doc/guix.texi:17274
  25077. 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."
  25078. msgstr ""
  25079. #. type: table
  25080. #: guix-git/doc/guix.texi:17276
  25081. msgid "An empty list disables compression altogether."
  25082. msgstr ""
  25083. #. type: item
  25084. #: guix-git/doc/guix.texi:17277
  25085. #, no-wrap
  25086. msgid "@code{nar-path} (default: @code{\"nar\"})"
  25087. msgstr ""
  25088. #. type: table
  25089. #: guix-git/doc/guix.texi:17280
  25090. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  25091. msgstr ""
  25092. #. type: item
  25093. #: guix-git/doc/guix.texi:17281
  25094. #, no-wrap
  25095. msgid "@code{cache} (default: @code{#f})"
  25096. msgstr "@code{cache} (default: @code{#f})"
  25097. #. type: table
  25098. #: guix-git/doc/guix.texi:17287
  25099. 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."
  25100. msgstr ""
  25101. #. type: item
  25102. #: guix-git/doc/guix.texi:17288
  25103. #, no-wrap
  25104. msgid "@code{workers} (default: @code{#f})"
  25105. msgstr "@code{workers} (default: @code{#f})"
  25106. #. type: table
  25107. #: guix-git/doc/guix.texi:17292
  25108. 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."
  25109. msgstr ""
  25110. #. type: item
  25111. #: guix-git/doc/guix.texi:17293
  25112. #, no-wrap
  25113. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  25114. msgstr ""
  25115. #. type: table
  25116. #: guix-git/doc/guix.texi:17298
  25117. 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."
  25118. msgstr ""
  25119. #. type: item
  25120. #: guix-git/doc/guix.texi:17299 guix-git/doc/guix.texi:33824
  25121. #, no-wrap
  25122. msgid "@code{ttl} (default: @code{#f})"
  25123. msgstr "@code{ttl} (default: @code{#f})"
  25124. #. type: table
  25125. #: guix-git/doc/guix.texi:17303
  25126. 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."
  25127. msgstr ""
  25128. #. type: item
  25129. #: guix-git/doc/guix.texi:17304 guix-git/doc/guix.texi:33832
  25130. #, fuzzy, no-wrap
  25131. #| msgid "@code{ttl} (default: @code{#f})"
  25132. msgid "@code{negative-ttl} (default: @code{#f})"
  25133. msgstr "@code{ttl} (default: @code{#f})"
  25134. #. type: table
  25135. #: guix-git/doc/guix.texi:17308
  25136. 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."
  25137. msgstr ""
  25138. #. type: anchor{#1}
  25139. #: guix-git/doc/guix.texi:17312
  25140. msgid "rngd-service"
  25141. msgstr ""
  25142. #. type: deffn
  25143. #: guix-git/doc/guix.texi:17312
  25144. #, no-wrap
  25145. msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @"
  25146. msgstr ""
  25147. #. type: deffn
  25148. #: guix-git/doc/guix.texi:17317
  25149. msgid "[#:device \"/dev/hwrng\"] Return a service that runs the @command{rngd} program from @var{rng-tools} to add @var{device} to the kernel's entropy pool. The service will fail if @var{device} does not exist."
  25150. msgstr ""
  25151. #. type: anchor{#1}
  25152. #: guix-git/doc/guix.texi:17320
  25153. msgid "pam-limits-service"
  25154. msgstr ""
  25155. #. type: cindex
  25156. #: guix-git/doc/guix.texi:17320
  25157. #, no-wrap
  25158. msgid "session limits"
  25159. msgstr ""
  25160. #. type: cindex
  25161. #: guix-git/doc/guix.texi:17321
  25162. #, no-wrap
  25163. msgid "ulimit"
  25164. msgstr ""
  25165. #. type: cindex
  25166. #: guix-git/doc/guix.texi:17322
  25167. #, no-wrap
  25168. msgid "priority"
  25169. msgstr ""
  25170. #. type: cindex
  25171. #: guix-git/doc/guix.texi:17323
  25172. #, no-wrap
  25173. msgid "realtime"
  25174. msgstr ""
  25175. #. type: cindex
  25176. #: guix-git/doc/guix.texi:17324
  25177. #, no-wrap
  25178. msgid "jackd"
  25179. msgstr ""
  25180. #. type: cindex
  25181. #: guix-git/doc/guix.texi:17325
  25182. #, no-wrap
  25183. msgid "nofile"
  25184. msgstr ""
  25185. #. type: cindex
  25186. #: guix-git/doc/guix.texi:17326
  25187. #, no-wrap
  25188. msgid "open file descriptors"
  25189. msgstr ""
  25190. #. type: deffn
  25191. #: guix-git/doc/guix.texi:17327
  25192. #, no-wrap
  25193. msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]"
  25194. msgstr ""
  25195. #. type: deffn
  25196. #: guix-git/doc/guix.texi:17334
  25197. msgid "Return a 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 procedure optionally takes 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."
  25198. msgstr ""
  25199. #. type: deffn
  25200. #: guix-git/doc/guix.texi:17337
  25201. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  25202. msgstr ""
  25203. #. type: lisp
  25204. #: guix-git/doc/guix.texi:17343
  25205. #, no-wrap
  25206. msgid ""
  25207. "(pam-limits-service\n"
  25208. " (list\n"
  25209. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  25210. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  25211. msgstr ""
  25212. #. type: deffn
  25213. #: guix-git/doc/guix.texi:17349
  25214. 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."
  25215. msgstr ""
  25216. #. type: deffn
  25217. #: guix-git/doc/guix.texi:17352
  25218. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  25219. msgstr ""
  25220. #. type: lisp
  25221. #: guix-git/doc/guix.texi:17357
  25222. #, no-wrap
  25223. msgid ""
  25224. "(pam-limits-service\n"
  25225. " (list\n"
  25226. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  25227. msgstr ""
  25228. #. type: deffn
  25229. #: guix-git/doc/guix.texi:17365
  25230. 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."
  25231. msgstr ""
  25232. #. type: cindex
  25233. #: guix-git/doc/guix.texi:17370 guix-git/doc/guix.texi:38012
  25234. #, no-wrap
  25235. msgid "cron"
  25236. msgstr ""
  25237. #. type: cindex
  25238. #: guix-git/doc/guix.texi:17371 guix-git/doc/guix.texi:38013
  25239. #, no-wrap
  25240. msgid "mcron"
  25241. msgstr ""
  25242. #. type: cindex
  25243. #: guix-git/doc/guix.texi:17372 guix-git/doc/guix.texi:38014
  25244. #, no-wrap
  25245. msgid "scheduling jobs"
  25246. msgstr ""
  25247. #. type: Plain text
  25248. #: guix-git/doc/guix.texi:17379
  25249. 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."
  25250. msgstr ""
  25251. #. type: Plain text
  25252. #: guix-git/doc/guix.texi:17387
  25253. 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})."
  25254. msgstr ""
  25255. #. type: lisp
  25256. #: guix-git/doc/guix.texi:17391
  25257. #, no-wrap
  25258. msgid ""
  25259. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  25260. "(use-package-modules base idutils)\n"
  25261. "\n"
  25262. msgstr ""
  25263. #. type: lisp
  25264. #: guix-git/doc/guix.texi:17401
  25265. #, no-wrap
  25266. msgid ""
  25267. "(define updatedb-job\n"
  25268. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  25269. " ;; job's action as a Scheme procedure.\n"
  25270. " #~(job '(next-hour '(3))\n"
  25271. " (lambda ()\n"
  25272. " (execl (string-append #$findutils \"/bin/updatedb\")\n"
  25273. " \"updatedb\"\n"
  25274. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))\n"
  25275. " \"updatedb\"))\n"
  25276. "\n"
  25277. msgstr ""
  25278. #. type: lisp
  25279. #: guix-git/doc/guix.texi:17407
  25280. #, no-wrap
  25281. msgid ""
  25282. "(define garbage-collector-job\n"
  25283. " ;; Collect garbage 5 minutes after midnight every day.\n"
  25284. " ;; The job's action is a shell command.\n"
  25285. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  25286. " \"guix gc -F 1G\"))\n"
  25287. "\n"
  25288. msgstr ""
  25289. #. type: lisp
  25290. #: guix-git/doc/guix.texi:17414
  25291. #, no-wrap
  25292. msgid ""
  25293. "(define idutils-job\n"
  25294. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  25295. " ;; and 19:15PM. This runs from the user's home directory.\n"
  25296. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  25297. " (string-append #$idutils \"/bin/mkid src\")\n"
  25298. " #:user \"charlie\"))\n"
  25299. "\n"
  25300. msgstr ""
  25301. #. type: lisp
  25302. #: guix-git/doc/guix.texi:17417
  25303. #, no-wrap
  25304. msgid ""
  25305. "(operating-system\n"
  25306. " ;; @dots{}\n"
  25307. "\n"
  25308. msgstr ""
  25309. #. type: lisp
  25310. #: guix-git/doc/guix.texi:17427
  25311. #, no-wrap
  25312. msgid ""
  25313. " ;; %BASE-SERVICES already includes an instance of\n"
  25314. " ;; 'mcron-service-type', which we extend with additional\n"
  25315. " ;; jobs using 'simple-service'.\n"
  25316. " (services (cons (simple-service 'my-cron-jobs\n"
  25317. " mcron-service-type\n"
  25318. " (list garbage-collector-job\n"
  25319. " updatedb-job\n"
  25320. " idutils-job))\n"
  25321. " %base-services)))\n"
  25322. msgstr ""
  25323. #. type: quotation
  25324. #: guix-git/doc/guix.texi:17429
  25325. #, fuzzy, no-wrap
  25326. #| msgid "Top"
  25327. msgid "Tip"
  25328. msgstr "Top"
  25329. #. type: quotation
  25330. #: guix-git/doc/guix.texi:17435
  25331. 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!"
  25332. msgstr ""
  25333. #. type: Plain text
  25334. #: guix-git/doc/guix.texi:17442
  25335. 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."
  25336. msgstr ""
  25337. #. type: lisp
  25338. #: guix-git/doc/guix.texi:17458
  25339. #, no-wrap
  25340. msgid ""
  25341. "(define %battery-alert-job\n"
  25342. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  25343. " #~(job\n"
  25344. " '(next-minute (range 0 60 1))\n"
  25345. " #$(program-file\n"
  25346. " \"battery-alert.scm\"\n"
  25347. " (with-imported-modules (source-module-closure\n"
  25348. " '((guix build utils)))\n"
  25349. " #~(begin\n"
  25350. " (use-modules (guix build utils)\n"
  25351. " (ice-9 popen)\n"
  25352. " (ice-9 regex)\n"
  25353. " (ice-9 textual-ports)\n"
  25354. " (srfi srfi-2))\n"
  25355. "\n"
  25356. msgstr ""
  25357. #. type: lisp
  25358. #: guix-git/doc/guix.texi:17460
  25359. #, no-wrap
  25360. msgid ""
  25361. " (define %min-level 20)\n"
  25362. "\n"
  25363. msgstr ""
  25364. #. type: lisp
  25365. #: guix-git/doc/guix.texi:17471
  25366. #, no-wrap
  25367. msgid ""
  25368. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  25369. " (and-let* ((input-pipe (open-pipe*\n"
  25370. " OPEN_READ\n"
  25371. " #$(file-append acpi \"/bin/acpi\")))\n"
  25372. " (output (get-string-all input-pipe))\n"
  25373. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  25374. " (level (string->number (match:substring m 1)))\n"
  25375. " ((< level %min-level)))\n"
  25376. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  25377. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  25378. msgstr ""
  25379. #. type: Plain text
  25380. #: guix-git/doc/guix.texi:17476
  25381. 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."
  25382. msgstr ""
  25383. #. type: Plain text
  25384. #: guix-git/doc/guix.texi:17479
  25385. 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:"
  25386. msgstr ""
  25387. #. type: example
  25388. #: guix-git/doc/guix.texi:17482
  25389. #, no-wrap
  25390. msgid "# herd schedule mcron\n"
  25391. msgstr ""
  25392. #. type: Plain text
  25393. #: guix-git/doc/guix.texi:17487
  25394. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  25395. msgstr ""
  25396. #. type: example
  25397. #: guix-git/doc/guix.texi:17490
  25398. #, no-wrap
  25399. msgid "# herd schedule mcron 10\n"
  25400. msgstr ""
  25401. #. type: defvr
  25402. #: guix-git/doc/guix.texi:17492
  25403. #, no-wrap
  25404. msgid "{Scheme Variable} mcron-service-type"
  25405. msgstr ""
  25406. #. type: defvr
  25407. #: guix-git/doc/guix.texi:17495
  25408. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  25409. msgstr ""
  25410. #. type: defvr
  25411. #: guix-git/doc/guix.texi:17500 guix-git/doc/guix.texi:38033
  25412. 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."
  25413. msgstr ""
  25414. #. type: deftp
  25415. #: guix-git/doc/guix.texi:17502
  25416. #, no-wrap
  25417. msgid "{Data Type} mcron-configuration"
  25418. msgstr ""
  25419. #. type: deftp
  25420. #: guix-git/doc/guix.texi:17504 guix-git/doc/guix.texi:38037
  25421. msgid "Data type representing the configuration of mcron."
  25422. msgstr ""
  25423. #. type: item
  25424. #: guix-git/doc/guix.texi:17506 guix-git/doc/guix.texi:38039
  25425. #, no-wrap
  25426. msgid "@code{mcron} (default: @var{mcron})"
  25427. msgstr ""
  25428. #. type: table
  25429. #: guix-git/doc/guix.texi:17508 guix-git/doc/guix.texi:38041
  25430. msgid "The mcron package to use."
  25431. msgstr ""
  25432. #. type: code{#1}
  25433. #: guix-git/doc/guix.texi:17509 guix-git/doc/guix.texi:17578
  25434. #: guix-git/doc/guix.texi:38042
  25435. #, no-wrap
  25436. msgid "jobs"
  25437. msgstr ""
  25438. #. type: table
  25439. #: guix-git/doc/guix.texi:17513 guix-git/doc/guix.texi:38046
  25440. 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})."
  25441. msgstr ""
  25442. #. type: cindex
  25443. #: guix-git/doc/guix.texi:17520
  25444. #, no-wrap
  25445. msgid "rottlog"
  25446. msgstr ""
  25447. #. type: cindex
  25448. #: guix-git/doc/guix.texi:17521
  25449. #, no-wrap
  25450. msgid "log rotation"
  25451. msgstr ""
  25452. #. type: Plain text
  25453. #: guix-git/doc/guix.texi:17528
  25454. 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})."
  25455. msgstr ""
  25456. #. type: Plain text
  25457. #: guix-git/doc/guix.texi:17534
  25458. 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):"
  25459. msgstr ""
  25460. #. type: lisp
  25461. #: guix-git/doc/guix.texi:17538
  25462. #, no-wrap
  25463. msgid ""
  25464. "(use-modules (guix) (gnu))\n"
  25465. "(use-service-modules admin)\n"
  25466. "\n"
  25467. msgstr ""
  25468. #. type: lisp
  25469. #: guix-git/doc/guix.texi:17542
  25470. #, no-wrap
  25471. msgid ""
  25472. "(define my-log-files\n"
  25473. " ;; Log files that I want to rotate.\n"
  25474. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  25475. "\n"
  25476. msgstr ""
  25477. #. type: lisp
  25478. #: guix-git/doc/guix.texi:17551
  25479. #, no-wrap
  25480. msgid ""
  25481. "(operating-system\n"
  25482. " ;; @dots{}\n"
  25483. " (services (cons (simple-service 'rotate-my-stuff\n"
  25484. " rottlog-service-type\n"
  25485. " (list (log-rotation\n"
  25486. " (frequency 'daily)\n"
  25487. " (files my-log-files))))\n"
  25488. " %base-services)))\n"
  25489. msgstr ""
  25490. #. type: defvr
  25491. #: guix-git/doc/guix.texi:17553
  25492. #, no-wrap
  25493. msgid "{Scheme Variable} rottlog-service-type"
  25494. msgstr ""
  25495. #. type: defvr
  25496. #: guix-git/doc/guix.texi:17556
  25497. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  25498. msgstr ""
  25499. #. type: defvr
  25500. #: guix-git/doc/guix.texi:17559
  25501. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  25502. msgstr ""
  25503. #. type: defvr
  25504. #: guix-git/doc/guix.texi:17562
  25505. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  25506. msgstr ""
  25507. #. type: deftp
  25508. #: guix-git/doc/guix.texi:17564
  25509. #, no-wrap
  25510. msgid "{Data Type} rottlog-configuration"
  25511. msgstr ""
  25512. #. type: deftp
  25513. #: guix-git/doc/guix.texi:17566
  25514. msgid "Data type representing the configuration of rottlog."
  25515. msgstr ""
  25516. #. type: item
  25517. #: guix-git/doc/guix.texi:17568
  25518. #, no-wrap
  25519. msgid "@code{rottlog} (default: @code{rottlog})"
  25520. msgstr ""
  25521. #. type: table
  25522. #: guix-git/doc/guix.texi:17570
  25523. msgid "The Rottlog package to use."
  25524. msgstr ""
  25525. #. type: item
  25526. #: guix-git/doc/guix.texi:17571
  25527. #, no-wrap
  25528. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  25529. msgstr ""
  25530. #. type: table
  25531. #: guix-git/doc/guix.texi:17574
  25532. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  25533. msgstr ""
  25534. #. type: item
  25535. #: guix-git/doc/guix.texi:17575
  25536. #, no-wrap
  25537. msgid "@code{rotations} (default: @code{%default-rotations})"
  25538. msgstr ""
  25539. #. type: table
  25540. #: guix-git/doc/guix.texi:17577
  25541. msgid "A list of @code{log-rotation} objects as defined below."
  25542. msgstr ""
  25543. #. type: table
  25544. #: guix-git/doc/guix.texi:17581
  25545. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  25546. msgstr ""
  25547. #. type: deftp
  25548. #: guix-git/doc/guix.texi:17584
  25549. #, no-wrap
  25550. msgid "{Data Type} log-rotation"
  25551. msgstr ""
  25552. #. type: deftp
  25553. #: guix-git/doc/guix.texi:17586
  25554. msgid "Data type representing the rotation of a group of log files."
  25555. msgstr ""
  25556. #. type: deftp
  25557. #: guix-git/doc/guix.texi:17590
  25558. 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:"
  25559. msgstr ""
  25560. #. type: lisp
  25561. #: guix-git/doc/guix.texi:17599
  25562. #, no-wrap
  25563. msgid ""
  25564. "(log-rotation\n"
  25565. " (frequency 'daily)\n"
  25566. " (files '(\"/var/log/apache/*\"))\n"
  25567. " (options '(\"storedir apache-archives\"\n"
  25568. " \"rotate 6\"\n"
  25569. " \"notifempty\"\n"
  25570. " \"nocompress\")))\n"
  25571. msgstr ""
  25572. #. type: deftp
  25573. #: guix-git/doc/guix.texi:17602
  25574. msgid "The list of fields is as follows:"
  25575. msgstr ""
  25576. #. type: item
  25577. #: guix-git/doc/guix.texi:17604
  25578. #, no-wrap
  25579. msgid "@code{frequency} (default: @code{'weekly})"
  25580. msgstr ""
  25581. #. type: table
  25582. #: guix-git/doc/guix.texi:17606
  25583. msgid "The log rotation frequency, a symbol."
  25584. msgstr ""
  25585. #. type: table
  25586. #: guix-git/doc/guix.texi:17609
  25587. msgid "The list of files or file glob patterns to rotate."
  25588. msgstr ""
  25589. #. type: item
  25590. #: guix-git/doc/guix.texi:17610
  25591. #, no-wrap
  25592. msgid "@code{options} (default: @code{'()})"
  25593. msgstr ""
  25594. #. type: table
  25595. #: guix-git/doc/guix.texi:17613
  25596. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})."
  25597. msgstr ""
  25598. #. type: item
  25599. #: guix-git/doc/guix.texi:17614
  25600. #, no-wrap
  25601. msgid "@code{post-rotate} (default: @code{#f})"
  25602. msgstr ""
  25603. #. type: table
  25604. #: guix-git/doc/guix.texi:17616
  25605. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  25606. msgstr ""
  25607. #. type: defvr
  25608. #: guix-git/doc/guix.texi:17619
  25609. #, no-wrap
  25610. msgid "{Scheme Variable} %default-rotations"
  25611. msgstr ""
  25612. #. type: defvr
  25613. #: guix-git/doc/guix.texi:17622
  25614. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  25615. msgstr ""
  25616. #. type: defvr
  25617. #: guix-git/doc/guix.texi:17624
  25618. #, no-wrap
  25619. msgid "{Scheme Variable} %rotated-files"
  25620. msgstr ""
  25621. #. type: defvr
  25622. #: guix-git/doc/guix.texi:17628
  25623. 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\")}."
  25624. msgstr ""
  25625. #. type: Plain text
  25626. #: guix-git/doc/guix.texi:17641
  25627. 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."
  25628. msgstr ""
  25629. #. type: Plain text
  25630. #: guix-git/doc/guix.texi:17647
  25631. 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."
  25632. msgstr ""
  25633. #. type: Plain text
  25634. #: guix-git/doc/guix.texi:17650
  25635. msgid "This section describes the various network setup services available, starting with static network configuration."
  25636. msgstr ""
  25637. #. type: defvr
  25638. #: guix-git/doc/guix.texi:17651
  25639. #, no-wrap
  25640. msgid "{Scheme Variable} static-networking-service-type"
  25641. msgstr ""
  25642. #. type: defvr
  25643. #: guix-git/doc/guix.texi:17656
  25644. 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 show below."
  25645. msgstr ""
  25646. #. type: cindex
  25647. #: guix-git/doc/guix.texi:17657
  25648. #, no-wrap
  25649. msgid "network interface controller (NIC)"
  25650. msgstr ""
  25651. #. type: cindex
  25652. #: guix-git/doc/guix.texi:17658
  25653. #, no-wrap
  25654. msgid "NIC, networking interface controller"
  25655. msgstr ""
  25656. #. type: defvr
  25657. #: guix-git/doc/guix.texi:17661
  25658. msgid "Here is the simplest configuration, with only one network interface controller (NIC) and only IPv4 connectivity:"
  25659. msgstr ""
  25660. #. type: lisp
  25661. #: guix-git/doc/guix.texi:17675
  25662. #, no-wrap
  25663. msgid ""
  25664. ";; Static networking for one NIC, IPv4-only.\n"
  25665. "(service static-networking-service-type\n"
  25666. " (list (static-networking\n"
  25667. " (addresses\n"
  25668. " (list (network-address\n"
  25669. " (device \"eno1\")\n"
  25670. " (value \"10.0.2.15/24\"))))\n"
  25671. " (routes\n"
  25672. " (list (network-route\n"
  25673. " (destination \"default\")\n"
  25674. " (gateway \"10.0.2.2\"))))\n"
  25675. " (name-servers '(\"10.0.2.3\")))))\n"
  25676. msgstr ""
  25677. #. type: defvr
  25678. #: guix-git/doc/guix.texi:17684
  25679. 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."
  25680. msgstr ""
  25681. #. type: deftp
  25682. #: guix-git/doc/guix.texi:17686
  25683. #, fuzzy, no-wrap
  25684. #| msgid "{Data Type} build-machine"
  25685. msgid "{Data Type} static-networking"
  25686. msgstr "build-machine {Data Type}"
  25687. #. type: deftp
  25688. #: guix-git/doc/guix.texi:17688
  25689. #, fuzzy
  25690. msgid "This is the data type representing a static network configuration."
  25691. msgstr "Gerencie a configuração do sistema operacional."
  25692. #. type: deftp
  25693. #: guix-git/doc/guix.texi:17692
  25694. 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:"
  25695. msgstr ""
  25696. #. type: lisp
  25697. #: guix-git/doc/guix.texi:17709
  25698. #, no-wrap
  25699. msgid ""
  25700. ";; Network configuration for one NIC, IPv4 + IPv6.\n"
  25701. "(static-networking\n"
  25702. " (addresses (list (network-address\n"
  25703. " (device \"eno1\")\n"
  25704. " (value \"10.0.2.15/24\"))\n"
  25705. " (network-address\n"
  25706. " (device \"eno1\")\n"
  25707. " (value \"2001:123:4567:101::1/64\"))))\n"
  25708. " (routes (list (network-route\n"
  25709. " (destination \"default\")\n"
  25710. " (gateway \"10.0.2.2\"))\n"
  25711. " (network-route\n"
  25712. " (destination \"default\")\n"
  25713. " (gateway \"2020:321:4567:42::1\"))))\n"
  25714. " (name-servers '(\"10.0.2.3\")))\n"
  25715. msgstr ""
  25716. #. type: deftp
  25717. #: guix-git/doc/guix.texi:17715
  25718. 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:"
  25719. msgstr ""
  25720. #. type: example
  25721. #: guix-git/doc/guix.texi:17721
  25722. #, no-wrap
  25723. msgid ""
  25724. "ip address add 10.0.2.15/24 dev eno1\n"
  25725. "ip address add 2001:123:4567:101::1/64 dev eno1\n"
  25726. "ip route add default via inet 10.0.2.2\n"
  25727. "ip route add default via inet6 2020:321:4567:42::1\n"
  25728. msgstr ""
  25729. #. type: deftp
  25730. #: guix-git/doc/guix.texi:17726
  25731. 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."
  25732. msgstr ""
  25733. #. type: deftp
  25734. #: guix-git/doc/guix.texi:17728
  25735. msgid "The available fields of this data type are as follows:"
  25736. msgstr ""
  25737. #. type: code{#1}
  25738. #: guix-git/doc/guix.texi:17730
  25739. #, no-wrap
  25740. msgid "addresses"
  25741. msgstr ""
  25742. #. type: itemx
  25743. #: guix-git/doc/guix.texi:17731
  25744. #, fuzzy, no-wrap
  25745. #| msgid "@code{features} (default: @code{'()})"
  25746. msgid "@code{links} (default: @code{'()})"
  25747. msgstr "@code{features} (padrão: @code{'()})"
  25748. #. type: itemx
  25749. #: guix-git/doc/guix.texi:17732
  25750. #, fuzzy, no-wrap
  25751. #| msgid "@code{features} (default: @code{'()})"
  25752. msgid "@code{routes} (default: @code{'()})"
  25753. msgstr "@code{features} (padrão: @code{'()})"
  25754. #. type: table
  25755. #: guix-git/doc/guix.texi:17735
  25756. msgid "The list of @code{network-address}, @code{network-link}, and @code{network-route} records for this network (see below)."
  25757. msgstr ""
  25758. #. type: item
  25759. #: guix-git/doc/guix.texi:17736
  25760. #, fuzzy, no-wrap
  25761. msgid "@code{name-servers} (default: @code{'()})"
  25762. msgstr "@code{remote?} (padrão: @code{#f})"
  25763. #. type: table
  25764. #: guix-git/doc/guix.texi:17739
  25765. msgid "The list of IP addresses (strings) of domain name servers. These IP addresses go to @file{/etc/resolv.conf}."
  25766. msgstr ""
  25767. #. type: item
  25768. #: guix-git/doc/guix.texi:17740
  25769. #, fuzzy, no-wrap
  25770. #| msgid "@code{features} (default: @code{'()})"
  25771. msgid "@code{provision} (default: @code{'(networking)})"
  25772. msgstr "@code{features} (padrão: @code{'()})"
  25773. #. type: table
  25774. #: guix-git/doc/guix.texi:17743
  25775. msgid "If true, this should be a list of symbols for the Shepherd service corresponding to this network configuration."
  25776. msgstr ""
  25777. #. type: item
  25778. #: guix-git/doc/guix.texi:17744
  25779. #, fuzzy, no-wrap
  25780. #| msgid "@code{features} (default: @code{'()})"
  25781. msgid "@code{requirement} (default @code{'()})"
  25782. msgstr "@code{features} (padrão: @code{'()})"
  25783. #. type: table
  25784. #: guix-git/doc/guix.texi:17746
  25785. msgid "The list of Shepherd services depended on."
  25786. msgstr ""
  25787. #. type: deftp
  25788. #: guix-git/doc/guix.texi:17749
  25789. #, fuzzy, no-wrap
  25790. msgid "{Data Type} network-address"
  25791. msgstr "build-machine {Data Type}"
  25792. #. type: deftp
  25793. #: guix-git/doc/guix.texi:17752
  25794. msgid "This is the data type representing the IP address of a network interface."
  25795. msgstr ""
  25796. #. type: table
  25797. #: guix-git/doc/guix.texi:17757
  25798. msgid "The name of the network interface for this address---e.g., @code{\"eno1\"}."
  25799. msgstr ""
  25800. #. type: item
  25801. #: guix-git/doc/guix.texi:17758
  25802. #, no-wrap
  25803. msgid "value"
  25804. msgstr ""
  25805. #. type: table
  25806. #: guix-git/doc/guix.texi:17762
  25807. 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."
  25808. msgstr ""
  25809. #. type: table
  25810. #: guix-git/doc/guix.texi:17766
  25811. 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."
  25812. msgstr ""
  25813. #. type: item
  25814. #: guix-git/doc/guix.texi:17767
  25815. #, no-wrap
  25816. msgid "ipv6?"
  25817. msgstr ""
  25818. #. type: table
  25819. #: guix-git/doc/guix.texi:17770
  25820. msgid "Whether @code{value} denotes an IPv6 address. By default this is automatically determined."
  25821. msgstr ""
  25822. #. type: deftp
  25823. #: guix-git/doc/guix.texi:17773
  25824. #, fuzzy, no-wrap
  25825. #| msgid "{Data Type} build-machine"
  25826. msgid "{Data Type} network-route"
  25827. msgstr "build-machine {Data Type}"
  25828. #. type: deftp
  25829. #: guix-git/doc/guix.texi:17775
  25830. msgid "This is the data type representing a network route."
  25831. msgstr ""
  25832. #. type: code{#1}
  25833. #: guix-git/doc/guix.texi:17777
  25834. #, fuzzy, no-wrap
  25835. #| msgid "deduplication"
  25836. msgid "destination"
  25837. msgstr "deduplicação"
  25838. #. type: table
  25839. #: guix-git/doc/guix.texi:17780
  25840. msgid "The route destination (a string), either an IP address or @code{\"default\"} to denote the default route."
  25841. msgstr ""
  25842. #. type: item
  25843. #: guix-git/doc/guix.texi:17781
  25844. #, fuzzy, no-wrap
  25845. #| msgid "@code{chdir} (default: @code{#f})"
  25846. msgid "@code{source} (default: @code{#f})"
  25847. msgstr "@code{chdir} (default: @code{#f})"
  25848. #. type: table
  25849. #: guix-git/doc/guix.texi:17783
  25850. #, fuzzy
  25851. #| msgid "The rottlog service."
  25852. msgid "The route source."
  25853. msgstr "O serviço rottlog."
  25854. #. type: item
  25855. #: guix-git/doc/guix.texi:17784 guix-git/doc/guix.texi:35314
  25856. #, no-wrap
  25857. msgid "@code{device} (default: @code{#f})"
  25858. msgstr "@code{device} (default: @code{#f})"
  25859. #. type: table
  25860. #: guix-git/doc/guix.texi:17786
  25861. msgid "The device used for this route---e.g., @code{\"eno2\"}."
  25862. msgstr ""
  25863. #. type: item
  25864. #: guix-git/doc/guix.texi:17787
  25865. #, fuzzy, no-wrap
  25866. #| msgid "@code{ipv6?} (default: @code{#t})"
  25867. msgid "@code{ipv6?} (default: auto)"
  25868. msgstr "@code{ipv6?} (default: @code{#t})"
  25869. #. type: table
  25870. #: guix-git/doc/guix.texi:17790
  25871. msgid "Whether this is an IPv6 route. By default this is automatically determined based on @code{destination} or @code{gateway}."
  25872. msgstr ""
  25873. #. type: item
  25874. #: guix-git/doc/guix.texi:17791
  25875. #, fuzzy, no-wrap
  25876. #| msgid "@code{delay} (default: @code{#f})"
  25877. msgid "@code{gateway} (default: @code{#f})"
  25878. msgstr "@code{delay} (default: @code{#f})"
  25879. #. type: table
  25880. #: guix-git/doc/guix.texi:17793
  25881. msgid "IP address (a string) through which traffic is routed."
  25882. msgstr ""
  25883. #. type: deftp
  25884. #: guix-git/doc/guix.texi:17796
  25885. #, fuzzy, no-wrap
  25886. #| msgid "{Data Type} build-machine"
  25887. msgid "{Data Type} network-link"
  25888. msgstr "build-machine {Data Type}"
  25889. #. type: deftp
  25890. #: guix-git/doc/guix.texi:17799
  25891. msgid "Data type for a network link (@pxref{Link,,, guile-netlink, Guile-Netlink Manual})."
  25892. msgstr ""
  25893. #. type: table
  25894. #: guix-git/doc/guix.texi:17803
  25895. msgid "The name of the link---e.g., @code{\"v0p0\"}."
  25896. msgstr ""
  25897. #. type: table
  25898. #: guix-git/doc/guix.texi:17806
  25899. msgid "A symbol denoting the type of the link---e.g., @code{'veth}."
  25900. msgstr ""
  25901. #. type: item
  25902. #: guix-git/doc/guix.texi:17807
  25903. #, no-wrap
  25904. msgid "arguments"
  25905. msgstr ""
  25906. #. type: table
  25907. #: guix-git/doc/guix.texi:17809
  25908. msgid "List of arguments for this type of link."
  25909. msgstr ""
  25910. #. type: cindex
  25911. #: guix-git/doc/guix.texi:17812
  25912. #, no-wrap
  25913. msgid "loopback device"
  25914. msgstr ""
  25915. #. type: defvr
  25916. #: guix-git/doc/guix.texi:17813
  25917. #, fuzzy, no-wrap
  25918. msgid "{Scheme Variable} %loopback-static-networking"
  25919. msgstr "guix-publish-service-type"
  25920. #. type: defvr
  25921. #: guix-git/doc/guix.texi:17817
  25922. 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."
  25923. msgstr ""
  25924. #. type: cindex
  25925. #: guix-git/doc/guix.texi:17819
  25926. #, no-wrap
  25927. msgid "networking, with QEMU"
  25928. msgstr ""
  25929. #. type: cindex
  25930. #: guix-git/doc/guix.texi:17820
  25931. #, fuzzy, no-wrap
  25932. #| msgid "Networking"
  25933. msgid "QEMU, networking"
  25934. msgstr "Rede"
  25935. #. type: defvr
  25936. #: guix-git/doc/guix.texi:17821
  25937. #, fuzzy, no-wrap
  25938. msgid "{Scheme Variable} %qemu-static-networking"
  25939. msgstr "guix-publish-service-type"
  25940. #. type: defvr
  25941. #: guix-git/doc/guix.texi:17825
  25942. 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})."
  25943. msgstr ""
  25944. #. type: cindex
  25945. #: guix-git/doc/guix.texi:17827
  25946. #, no-wrap
  25947. msgid "DHCP, networking service"
  25948. msgstr ""
  25949. #. type: defvr
  25950. #: guix-git/doc/guix.texi:17828
  25951. #, no-wrap
  25952. msgid "{Scheme Variable} dhcp-client-service-type"
  25953. msgstr ""
  25954. #. type: defvr
  25955. #: guix-git/doc/guix.texi:17832
  25956. msgid "This is the type of services that run @var{dhcp}, a Dynamic Host Configuration Protocol (DHCP) client, on all the non-loopback network interfaces. Its value is the DHCP client package to use, @code{isc-dhcp} by default."
  25957. msgstr ""
  25958. #. type: cindex
  25959. #: guix-git/doc/guix.texi:17834
  25960. #, no-wrap
  25961. msgid "NetworkManager"
  25962. msgstr ""
  25963. #. type: defvr
  25964. #: guix-git/doc/guix.texi:17836
  25965. #, no-wrap
  25966. msgid "{Scheme Variable} network-manager-service-type"
  25967. msgstr ""
  25968. #. type: defvr
  25969. #: guix-git/doc/guix.texi:17841
  25970. 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."
  25971. msgstr ""
  25972. #. type: defvr
  25973. #: guix-git/doc/guix.texi:17844 guix-git/doc/guix.texi:17996
  25974. #: guix-git/doc/guix.texi:18025
  25975. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  25976. msgstr ""
  25977. #. type: deftp
  25978. #: guix-git/doc/guix.texi:17846
  25979. #, no-wrap
  25980. msgid "{Data Type} network-manager-configuration"
  25981. msgstr ""
  25982. #. type: deftp
  25983. #: guix-git/doc/guix.texi:17848
  25984. msgid "Data type representing the configuration of NetworkManager."
  25985. msgstr ""
  25986. #. type: item
  25987. #: guix-git/doc/guix.texi:17850
  25988. #, no-wrap
  25989. msgid "@code{network-manager} (default: @code{network-manager})"
  25990. msgstr ""
  25991. #. type: table
  25992. #: guix-git/doc/guix.texi:17852
  25993. msgid "The NetworkManager package to use."
  25994. msgstr ""
  25995. #. type: item
  25996. #: guix-git/doc/guix.texi:17853
  25997. #, no-wrap
  25998. msgid "@code{dns} (default: @code{\"default\"})"
  25999. msgstr ""
  26000. #. type: table
  26001. #: guix-git/doc/guix.texi:17856
  26002. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  26003. msgstr ""
  26004. #. type: table
  26005. #: guix-git/doc/guix.texi:17861
  26006. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  26007. msgstr ""
  26008. #. type: item
  26009. #: guix-git/doc/guix.texi:17862
  26010. #, no-wrap
  26011. msgid "dnsmasq"
  26012. msgstr ""
  26013. #. type: table
  26014. #: guix-git/doc/guix.texi:17866
  26015. 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."
  26016. msgstr ""
  26017. #. type: table
  26018. #: guix-git/doc/guix.texi:17872
  26019. 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)."
  26020. msgstr ""
  26021. #. type: table
  26022. #: guix-git/doc/guix.texi:17879
  26023. 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:"
  26024. msgstr ""
  26025. #. type: example
  26026. #: guix-git/doc/guix.texi:17886
  26027. #, no-wrap
  26028. msgid ""
  26029. "nmcli connection add type tun \\\n"
  26030. " connection.interface-name tap0 \\\n"
  26031. " tun.mode tap tun.owner $(id -u) \\\n"
  26032. " ipv4.method shared \\\n"
  26033. " ipv4.addresses 172.28.112.1/24\n"
  26034. msgstr ""
  26035. #. type: table
  26036. #: guix-git/doc/guix.texi:17891
  26037. 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-...}."
  26038. msgstr ""
  26039. #. type: table
  26040. #: guix-git/doc/guix.texi:17894
  26041. msgid "NetworkManager will not modify @code{resolv.conf}."
  26042. msgstr ""
  26043. #. type: item
  26044. #: guix-git/doc/guix.texi:17896
  26045. #, no-wrap
  26046. msgid "@code{vpn-plugins} (default: @code{'()})"
  26047. msgstr ""
  26048. #. type: table
  26049. #: guix-git/doc/guix.texi:17900
  26050. 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."
  26051. msgstr ""
  26052. #. type: cindex
  26053. #: guix-git/doc/guix.texi:17904
  26054. #, no-wrap
  26055. msgid "Connman"
  26056. msgstr ""
  26057. #. type: deffn
  26058. #: guix-git/doc/guix.texi:17905
  26059. #, no-wrap
  26060. msgid "{Scheme Variable} connman-service-type"
  26061. msgstr ""
  26062. #. type: deffn
  26063. #: guix-git/doc/guix.texi:17908
  26064. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  26065. msgstr ""
  26066. #. type: deffn
  26067. #: guix-git/doc/guix.texi:17911
  26068. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  26069. msgstr ""
  26070. #. type: lisp
  26071. #: guix-git/doc/guix.texi:17916
  26072. #, no-wrap
  26073. msgid ""
  26074. "(service connman-service-type\n"
  26075. " (connman-configuration\n"
  26076. " (disable-vpn? #t)))\n"
  26077. msgstr ""
  26078. #. type: deffn
  26079. #: guix-git/doc/guix.texi:17919
  26080. msgid "See below for details about @code{connman-configuration}."
  26081. msgstr ""
  26082. #. type: deftp
  26083. #: guix-git/doc/guix.texi:17921
  26084. #, no-wrap
  26085. msgid "{Data Type} connman-configuration"
  26086. msgstr ""
  26087. #. type: deftp
  26088. #: guix-git/doc/guix.texi:17923
  26089. msgid "Data Type representing the configuration of connman."
  26090. msgstr ""
  26091. #. type: item
  26092. #: guix-git/doc/guix.texi:17925
  26093. #, no-wrap
  26094. msgid "@code{connman} (default: @var{connman})"
  26095. msgstr ""
  26096. #. type: table
  26097. #: guix-git/doc/guix.texi:17927
  26098. msgid "The connman package to use."
  26099. msgstr ""
  26100. #. type: item
  26101. #: guix-git/doc/guix.texi:17928
  26102. #, no-wrap
  26103. msgid "@code{disable-vpn?} (default: @code{#f})"
  26104. msgstr ""
  26105. #. type: table
  26106. #: guix-git/doc/guix.texi:17930
  26107. msgid "When true, disable connman's vpn plugin."
  26108. msgstr ""
  26109. #. type: cindex
  26110. #: guix-git/doc/guix.texi:17933
  26111. #, no-wrap
  26112. msgid "WPA Supplicant"
  26113. msgstr ""
  26114. #. type: defvr
  26115. #: guix-git/doc/guix.texi:17934
  26116. #, no-wrap
  26117. msgid "{Scheme Variable} wpa-supplicant-service-type"
  26118. msgstr ""
  26119. #. type: defvr
  26120. #: guix-git/doc/guix.texi:17938
  26121. 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."
  26122. msgstr ""
  26123. #. type: deftp
  26124. #: guix-git/doc/guix.texi:17940
  26125. #, no-wrap
  26126. msgid "{Data Type} wpa-supplicant-configuration"
  26127. msgstr ""
  26128. #. type: deftp
  26129. #: guix-git/doc/guix.texi:17942
  26130. msgid "Data type representing the configuration of WPA Supplicant."
  26131. msgstr ""
  26132. #. type: deftp
  26133. #: guix-git/doc/guix.texi:17944 guix-git/doc/guix.texi:33410
  26134. msgid "It takes the following parameters:"
  26135. msgstr ""
  26136. #. type: item
  26137. #: guix-git/doc/guix.texi:17946
  26138. #, no-wrap
  26139. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  26140. msgstr ""
  26141. #. type: table
  26142. #: guix-git/doc/guix.texi:17948
  26143. msgid "The WPA Supplicant package to use."
  26144. msgstr ""
  26145. #. type: item
  26146. #: guix-git/doc/guix.texi:17949
  26147. #, no-wrap
  26148. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  26149. msgstr ""
  26150. #. type: table
  26151. #: guix-git/doc/guix.texi:17951
  26152. msgid "List of services that should be started before WPA Supplicant starts."
  26153. msgstr ""
  26154. #. type: item
  26155. #: guix-git/doc/guix.texi:17952
  26156. #, no-wrap
  26157. msgid "@code{dbus?} (default: @code{#t})"
  26158. msgstr "@code{dbus?} (padrão: @code{#t})"
  26159. #. type: table
  26160. #: guix-git/doc/guix.texi:17954
  26161. msgid "Whether to listen for requests on D-Bus."
  26162. msgstr ""
  26163. #. type: item
  26164. #: guix-git/doc/guix.texi:17955
  26165. #, no-wrap
  26166. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  26167. msgstr ""
  26168. #. type: table
  26169. #: guix-git/doc/guix.texi:17957
  26170. msgid "Where to store the PID file."
  26171. msgstr ""
  26172. #. type: item
  26173. #: guix-git/doc/guix.texi:17958 guix-git/doc/guix.texi:31711
  26174. #: guix-git/doc/guix.texi:31853
  26175. #, no-wrap
  26176. msgid "@code{interface} (default: @code{#f})"
  26177. msgstr ""
  26178. #. type: table
  26179. #: guix-git/doc/guix.texi:17961
  26180. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  26181. msgstr ""
  26182. #. type: item
  26183. #: guix-git/doc/guix.texi:17962 guix-git/doc/guix.texi:18078
  26184. #: guix-git/doc/guix.texi:23399
  26185. #, no-wrap
  26186. msgid "@code{config-file} (default: @code{#f})"
  26187. msgstr ""
  26188. #. type: table
  26189. #: guix-git/doc/guix.texi:17964
  26190. msgid "Optional configuration file to use."
  26191. msgstr ""
  26192. #. type: table
  26193. #: guix-git/doc/guix.texi:17967
  26194. msgid "List of additional command-line arguments to pass to the daemon."
  26195. msgstr ""
  26196. #. type: cindex
  26197. #: guix-git/doc/guix.texi:17970
  26198. #, no-wrap
  26199. msgid "wicd"
  26200. msgstr ""
  26201. #. type: cindex
  26202. #: guix-git/doc/guix.texi:17973
  26203. #, no-wrap
  26204. msgid "network management"
  26205. msgstr ""
  26206. #. type: deffn
  26207. #: guix-git/doc/guix.texi:17974
  26208. #, no-wrap
  26209. msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]"
  26210. msgstr ""
  26211. #. type: deffn
  26212. #: guix-git/doc/guix.texi:17977
  26213. msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking."
  26214. msgstr ""
  26215. #. type: deffn
  26216. #: guix-git/doc/guix.texi:17982
  26217. msgid "This service adds the @var{wicd} package to the global profile, providing several commands to interact with the daemon and configure networking: @command{wicd-client}, a graphical user interface, and the @command{wicd-cli} and @command{wicd-curses} user interfaces."
  26218. msgstr ""
  26219. #. type: cindex
  26220. #: guix-git/doc/guix.texi:17984
  26221. #, no-wrap
  26222. msgid "ModemManager"
  26223. msgstr ""
  26224. #. type: Plain text
  26225. #: guix-git/doc/guix.texi:17987
  26226. msgid "Some networking devices such as modems require special care, and this is what the services below focus on."
  26227. msgstr ""
  26228. #. type: defvr
  26229. #: guix-git/doc/guix.texi:17988
  26230. #, no-wrap
  26231. msgid "{Scheme Variable} modem-manager-service-type"
  26232. msgstr ""
  26233. #. type: defvr
  26234. #: guix-git/doc/guix.texi:17993
  26235. 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."
  26236. msgstr ""
  26237. #. type: deftp
  26238. #: guix-git/doc/guix.texi:17998
  26239. #, no-wrap
  26240. msgid "{Data Type} modem-manager-configuration"
  26241. msgstr ""
  26242. #. type: deftp
  26243. #: guix-git/doc/guix.texi:18000
  26244. msgid "Data type representing the configuration of ModemManager."
  26245. msgstr ""
  26246. #. type: item
  26247. #: guix-git/doc/guix.texi:18002
  26248. #, no-wrap
  26249. msgid "@code{modem-manager} (default: @code{modem-manager})"
  26250. msgstr ""
  26251. #. type: table
  26252. #: guix-git/doc/guix.texi:18004
  26253. msgid "The ModemManager package to use."
  26254. msgstr ""
  26255. #. type: cindex
  26256. #: guix-git/doc/guix.texi:18008
  26257. #, no-wrap
  26258. msgid "USB_ModeSwitch"
  26259. msgstr ""
  26260. #. type: cindex
  26261. #: guix-git/doc/guix.texi:18009
  26262. #, no-wrap
  26263. msgid "Modeswitching"
  26264. msgstr ""
  26265. #. type: defvr
  26266. #: guix-git/doc/guix.texi:18011
  26267. #, no-wrap
  26268. msgid "{Scheme Variable} usb-modeswitch-service-type"
  26269. msgstr ""
  26270. #. type: defvr
  26271. #: guix-git/doc/guix.texi:18016
  26272. 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."
  26273. msgstr ""
  26274. #. type: defvr
  26275. #: guix-git/doc/guix.texi:18022
  26276. 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."
  26277. msgstr ""
  26278. #. type: deftp
  26279. #: guix-git/doc/guix.texi:18027
  26280. #, no-wrap
  26281. msgid "{Data Type} usb-modeswitch-configuration"
  26282. msgstr ""
  26283. #. type: deftp
  26284. #: guix-git/doc/guix.texi:18029
  26285. msgid "Data type representing the configuration of USB_ModeSwitch."
  26286. msgstr ""
  26287. #. type: item
  26288. #: guix-git/doc/guix.texi:18031
  26289. #, no-wrap
  26290. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  26291. msgstr ""
  26292. #. type: table
  26293. #: guix-git/doc/guix.texi:18033
  26294. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  26295. msgstr ""
  26296. #. type: item
  26297. #: guix-git/doc/guix.texi:18034
  26298. #, no-wrap
  26299. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  26300. msgstr ""
  26301. #. type: table
  26302. #: guix-git/doc/guix.texi:18037
  26303. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  26304. msgstr ""
  26305. #. type: item
  26306. #: guix-git/doc/guix.texi:18038
  26307. #, no-wrap
  26308. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  26309. msgstr ""
  26310. #. type: table
  26311. #: guix-git/doc/guix.texi:18043
  26312. 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."
  26313. msgstr ""
  26314. #. type: Plain text
  26315. #: guix-git/doc/guix.texi:18057
  26316. 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."
  26317. msgstr ""
  26318. #. type: deffn
  26319. #: guix-git/doc/guix.texi:18058
  26320. #, no-wrap
  26321. msgid "{Scheme Procedure} dhcpd-service-type"
  26322. msgstr ""
  26323. #. type: deffn
  26324. #: guix-git/doc/guix.texi:18062
  26325. 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:"
  26326. msgstr ""
  26327. #. type: lisp
  26328. #: guix-git/doc/guix.texi:18068
  26329. #, no-wrap
  26330. msgid ""
  26331. "(service dhcpd-service-type\n"
  26332. " (dhcpd-configuration\n"
  26333. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  26334. " (interfaces '(\"enp0s25\"))))\n"
  26335. msgstr ""
  26336. #. type: deftp
  26337. #: guix-git/doc/guix.texi:18071
  26338. #, no-wrap
  26339. msgid "{Data Type} dhcpd-configuration"
  26340. msgstr ""
  26341. #. type: item
  26342. #: guix-git/doc/guix.texi:18073
  26343. #, no-wrap
  26344. msgid "@code{package} (default: @code{isc-dhcp})"
  26345. msgstr ""
  26346. #. type: table
  26347. #: guix-git/doc/guix.texi:18078
  26348. 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/products/DHCP, ISC's DHCP server}."
  26349. msgstr ""
  26350. #. type: table
  26351. #: guix-git/doc/guix.texi:18083
  26352. 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."
  26353. msgstr ""
  26354. #. type: item
  26355. #: guix-git/doc/guix.texi:18083
  26356. #, no-wrap
  26357. msgid "@code{version} (default: @code{\"4\"})"
  26358. msgstr ""
  26359. #. type: table
  26360. #: guix-git/doc/guix.texi:18088
  26361. 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."
  26362. msgstr ""
  26363. #. type: item
  26364. #: guix-git/doc/guix.texi:18088
  26365. #, no-wrap
  26366. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  26367. msgstr ""
  26368. #. type: table
  26369. #: guix-git/doc/guix.texi:18091
  26370. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  26371. msgstr ""
  26372. #. type: item
  26373. #: guix-git/doc/guix.texi:18091
  26374. #, no-wrap
  26375. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  26376. msgstr ""
  26377. #. type: table
  26378. #: guix-git/doc/guix.texi:18094
  26379. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  26380. msgstr ""
  26381. #. type: item
  26382. #: guix-git/doc/guix.texi:18094
  26383. #, no-wrap
  26384. msgid "@code{interfaces} (default: @code{'()})"
  26385. msgstr ""
  26386. #. type: table
  26387. #: guix-git/doc/guix.texi:18100
  26388. 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."
  26389. msgstr ""
  26390. #. type: cindex
  26391. #: guix-git/doc/guix.texi:18103
  26392. #, no-wrap
  26393. msgid "hostapd service, for Wi-Fi access points"
  26394. msgstr ""
  26395. #. type: cindex
  26396. #: guix-git/doc/guix.texi:18104
  26397. #, no-wrap
  26398. msgid "Wi-Fi access points, hostapd service"
  26399. msgstr ""
  26400. #. type: defvr
  26401. #: guix-git/doc/guix.texi:18105
  26402. #, no-wrap
  26403. msgid "{Scheme Variable} hostapd-service-type"
  26404. msgstr ""
  26405. #. type: defvr
  26406. #: guix-git/doc/guix.texi:18110
  26407. 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:"
  26408. msgstr ""
  26409. #. type: lisp
  26410. #: guix-git/doc/guix.texi:18118
  26411. #, no-wrap
  26412. msgid ""
  26413. ";; Use wlan1 to run the access point for \"My Network\".\n"
  26414. "(service hostapd-service-type\n"
  26415. " (hostapd-configuration\n"
  26416. " (interface \"wlan1\")\n"
  26417. " (ssid \"My Network\")\n"
  26418. " (channel 12)))\n"
  26419. msgstr ""
  26420. #. type: deftp
  26421. #: guix-git/doc/guix.texi:18121
  26422. #, no-wrap
  26423. msgid "{Data Type} hostapd-configuration"
  26424. msgstr ""
  26425. #. type: deftp
  26426. #: guix-git/doc/guix.texi:18124
  26427. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  26428. msgstr ""
  26429. #. type: item
  26430. #: guix-git/doc/guix.texi:18126
  26431. #, no-wrap
  26432. msgid "@code{package} (default: @code{hostapd})"
  26433. msgstr ""
  26434. #. type: table
  26435. #: guix-git/doc/guix.texi:18128
  26436. msgid "The hostapd package to use."
  26437. msgstr ""
  26438. #. type: item
  26439. #: guix-git/doc/guix.texi:18129
  26440. #, no-wrap
  26441. msgid "@code{interface} (default: @code{\"wlan0\"})"
  26442. msgstr ""
  26443. #. type: table
  26444. #: guix-git/doc/guix.texi:18131
  26445. msgid "The network interface to run the WiFi access point."
  26446. msgstr ""
  26447. #. type: code{#1}
  26448. #: guix-git/doc/guix.texi:18132
  26449. #, no-wrap
  26450. msgid "ssid"
  26451. msgstr ""
  26452. #. type: table
  26453. #: guix-git/doc/guix.texi:18135
  26454. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  26455. msgstr ""
  26456. #. type: item
  26457. #: guix-git/doc/guix.texi:18136
  26458. #, no-wrap
  26459. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  26460. msgstr ""
  26461. #. type: table
  26462. #: guix-git/doc/guix.texi:18138
  26463. msgid "Whether to broadcast this SSID."
  26464. msgstr ""
  26465. #. type: item
  26466. #: guix-git/doc/guix.texi:18139
  26467. #, no-wrap
  26468. msgid "@code{channel} (default: @code{1})"
  26469. msgstr ""
  26470. #. type: table
  26471. #: guix-git/doc/guix.texi:18141
  26472. msgid "The WiFi channel to use."
  26473. msgstr ""
  26474. #. type: item
  26475. #: guix-git/doc/guix.texi:18142
  26476. #, no-wrap
  26477. msgid "@code{driver} (default: @code{\"nl80211\"})"
  26478. msgstr ""
  26479. #. type: table
  26480. #: guix-git/doc/guix.texi:18146
  26481. 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."
  26482. msgstr ""
  26483. #. type: item
  26484. #: guix-git/doc/guix.texi:18147 guix-git/doc/guix.texi:24248
  26485. #: guix-git/doc/guix.texi:27238
  26486. #, no-wrap
  26487. msgid "@code{extra-settings} (default: @code{\"\"})"
  26488. msgstr ""
  26489. #. type: table
  26490. #: guix-git/doc/guix.texi:18151
  26491. 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."
  26492. msgstr ""
  26493. #. type: defvr
  26494. #: guix-git/doc/guix.texi:18154
  26495. #, no-wrap
  26496. msgid "{Scheme Variable} simulated-wifi-service-type"
  26497. msgstr ""
  26498. #. type: defvr
  26499. #: guix-git/doc/guix.texi:18161
  26500. 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."
  26501. msgstr ""
  26502. #. type: defvr
  26503. #: guix-git/doc/guix.texi:18163
  26504. msgid "The service's value is a @code{hostapd-configuration} record."
  26505. msgstr ""
  26506. #. type: cindex
  26507. #: guix-git/doc/guix.texi:18166
  26508. #, no-wrap
  26509. msgid "iptables"
  26510. msgstr ""
  26511. #. type: defvr
  26512. #: guix-git/doc/guix.texi:18167
  26513. #, no-wrap
  26514. msgid "{Scheme Variable} iptables-service-type"
  26515. msgstr ""
  26516. #. type: defvr
  26517. #: guix-git/doc/guix.texi:18173
  26518. 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."
  26519. msgstr ""
  26520. #. type: lisp
  26521. #: guix-git/doc/guix.texi:18195
  26522. #, no-wrap
  26523. msgid ""
  26524. "(service iptables-service-type\n"
  26525. " (iptables-configuration\n"
  26526. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  26527. ":INPUT ACCEPT\n"
  26528. ":FORWARD ACCEPT\n"
  26529. ":OUTPUT ACCEPT\n"
  26530. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  26531. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  26532. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  26533. "COMMIT\n"
  26534. "\"))\n"
  26535. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  26536. ":INPUT ACCEPT\n"
  26537. ":FORWARD ACCEPT\n"
  26538. ":OUTPUT ACCEPT\n"
  26539. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  26540. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  26541. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  26542. "COMMIT\n"
  26543. "\"))))\n"
  26544. msgstr ""
  26545. #. type: deftp
  26546. #: guix-git/doc/guix.texi:18198
  26547. #, no-wrap
  26548. msgid "{Data Type} iptables-configuration"
  26549. msgstr ""
  26550. #. type: deftp
  26551. #: guix-git/doc/guix.texi:18200
  26552. msgid "The data type representing the configuration of iptables."
  26553. msgstr ""
  26554. #. type: item
  26555. #: guix-git/doc/guix.texi:18202
  26556. #, no-wrap
  26557. msgid "@code{iptables} (default: @code{iptables})"
  26558. msgstr ""
  26559. #. type: table
  26560. #: guix-git/doc/guix.texi:18205
  26561. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  26562. msgstr ""
  26563. #. type: item
  26564. #: guix-git/doc/guix.texi:18205
  26565. #, no-wrap
  26566. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  26567. msgstr ""
  26568. #. type: table
  26569. #: guix-git/doc/guix.texi:18209
  26570. 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})."
  26571. msgstr ""
  26572. #. type: item
  26573. #: guix-git/doc/guix.texi:18209
  26574. #, no-wrap
  26575. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  26576. msgstr ""
  26577. #. type: table
  26578. #: guix-git/doc/guix.texi:18213
  26579. 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})."
  26580. msgstr ""
  26581. #. type: cindex
  26582. #: guix-git/doc/guix.texi:18216
  26583. #, no-wrap
  26584. msgid "nftables"
  26585. msgstr ""
  26586. #. type: defvr
  26587. #: guix-git/doc/guix.texi:18217
  26588. #, no-wrap
  26589. msgid "{Scheme Variable} nftables-service-type"
  26590. msgstr ""
  26591. #. type: defvr
  26592. #: guix-git/doc/guix.texi:18225
  26593. 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:"
  26594. msgstr ""
  26595. #. type: lisp
  26596. #: guix-git/doc/guix.texi:18228
  26597. #, no-wrap
  26598. msgid "(service nftables-service-type)\n"
  26599. msgstr ""
  26600. #. type: deftp
  26601. #: guix-git/doc/guix.texi:18231
  26602. #, no-wrap
  26603. msgid "{Data Type} nftables-configuration"
  26604. msgstr ""
  26605. #. type: deftp
  26606. #: guix-git/doc/guix.texi:18233
  26607. msgid "The data type representing the configuration of nftables."
  26608. msgstr ""
  26609. #. type: item
  26610. #: guix-git/doc/guix.texi:18235
  26611. #, no-wrap
  26612. msgid "@code{package} (default: @code{nftables})"
  26613. msgstr ""
  26614. #. type: table
  26615. #: guix-git/doc/guix.texi:18237
  26616. msgid "The nftables package that provides @command{nft}."
  26617. msgstr ""
  26618. #. type: item
  26619. #: guix-git/doc/guix.texi:18237
  26620. #, no-wrap
  26621. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  26622. msgstr ""
  26623. #. type: table
  26624. #: guix-git/doc/guix.texi:18240
  26625. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  26626. msgstr ""
  26627. #. type: cindex
  26628. #: guix-git/doc/guix.texi:18243
  26629. #, no-wrap
  26630. msgid "NTP (Network Time Protocol), service"
  26631. msgstr ""
  26632. #. type: cindex
  26633. #: guix-git/doc/guix.texi:18244
  26634. #, no-wrap
  26635. msgid "ntpd, service for the Network Time Protocol daemon"
  26636. msgstr ""
  26637. #. type: cindex
  26638. #: guix-git/doc/guix.texi:18245
  26639. #, no-wrap
  26640. msgid "real time clock"
  26641. msgstr ""
  26642. #. type: defvr
  26643. #: guix-git/doc/guix.texi:18246
  26644. #, no-wrap
  26645. msgid "{Scheme Variable} ntp-service-type"
  26646. msgstr ""
  26647. #. type: defvr
  26648. #: guix-git/doc/guix.texi:18250
  26649. 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."
  26650. msgstr ""
  26651. #. type: defvr
  26652. #: guix-git/doc/guix.texi:18253
  26653. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  26654. msgstr ""
  26655. #. type: deftp
  26656. #: guix-git/doc/guix.texi:18255
  26657. #, no-wrap
  26658. msgid "{Data Type} ntp-configuration"
  26659. msgstr ""
  26660. #. type: deftp
  26661. #: guix-git/doc/guix.texi:18257
  26662. msgid "This is the data type for the NTP service configuration."
  26663. msgstr ""
  26664. #. type: item
  26665. #: guix-git/doc/guix.texi:18259
  26666. #, no-wrap
  26667. msgid "@code{servers} (default: @code{%ntp-servers})"
  26668. msgstr ""
  26669. #. type: table
  26670. #: guix-git/doc/guix.texi:18263
  26671. 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."
  26672. msgstr ""
  26673. #. type: item
  26674. #: guix-git/doc/guix.texi:18264
  26675. #, no-wrap
  26676. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  26677. msgstr ""
  26678. #. type: table
  26679. #: guix-git/doc/guix.texi:18267
  26680. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  26681. msgstr ""
  26682. #. type: item
  26683. #: guix-git/doc/guix.texi:18268
  26684. #, no-wrap
  26685. msgid "@code{ntp} (default: @code{ntp})"
  26686. msgstr ""
  26687. #. type: table
  26688. #: guix-git/doc/guix.texi:18270
  26689. msgid "The NTP package to use."
  26690. msgstr ""
  26691. #. type: defvr
  26692. #: guix-git/doc/guix.texi:18273
  26693. #, no-wrap
  26694. msgid "{Scheme Variable} %ntp-servers"
  26695. msgstr ""
  26696. #. type: defvr
  26697. #: guix-git/doc/guix.texi:18276
  26698. 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}."
  26699. msgstr ""
  26700. #. type: deftp
  26701. #: guix-git/doc/guix.texi:18278
  26702. #, no-wrap
  26703. msgid "{Data Type} ntp-server"
  26704. msgstr ""
  26705. #. type: deftp
  26706. #: guix-git/doc/guix.texi:18280
  26707. msgid "The data type representing the configuration of a NTP server."
  26708. msgstr ""
  26709. #. type: item
  26710. #: guix-git/doc/guix.texi:18282
  26711. #, no-wrap
  26712. msgid "@code{type} (default: @code{'server})"
  26713. msgstr ""
  26714. #. type: table
  26715. #: guix-git/doc/guix.texi:18285
  26716. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  26717. msgstr ""
  26718. #. type: code{#1}
  26719. #: guix-git/doc/guix.texi:18286
  26720. #, no-wrap
  26721. msgid "address"
  26722. msgstr ""
  26723. #. type: table
  26724. #: guix-git/doc/guix.texi:18288
  26725. msgid "The address of the server, as a string."
  26726. msgstr ""
  26727. #. type: code{#1}
  26728. #: guix-git/doc/guix.texi:18289 guix-git/doc/guix.texi:34325
  26729. #: guix-git/doc/guix.texi:34345
  26730. #, no-wrap
  26731. msgid "options"
  26732. msgstr ""
  26733. #. type: table
  26734. #: guix-git/doc/guix.texi:18294
  26735. 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."
  26736. msgstr ""
  26737. #. type: example
  26738. #: guix-git/doc/guix.texi:18300
  26739. #, no-wrap
  26740. msgid ""
  26741. "(ntp-server\n"
  26742. " (type 'server)\n"
  26743. " (address \"some.ntp.server.org\")\n"
  26744. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  26745. msgstr ""
  26746. #. type: cindex
  26747. #: guix-git/doc/guix.texi:18304
  26748. #, no-wrap
  26749. msgid "OpenNTPD"
  26750. msgstr ""
  26751. #. type: deffn
  26752. #: guix-git/doc/guix.texi:18305
  26753. #, no-wrap
  26754. msgid "{Scheme Procedure} openntpd-service-type"
  26755. msgstr ""
  26756. #. type: deffn
  26757. #: guix-git/doc/guix.texi:18309
  26758. 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."
  26759. msgstr ""
  26760. #. type: lisp
  26761. #: guix-git/doc/guix.texi:18318
  26762. #, no-wrap
  26763. msgid ""
  26764. "(service\n"
  26765. " openntpd-service-type\n"
  26766. " (openntpd-configuration\n"
  26767. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  26768. " (sensor '(\"udcf0 correction 70000\"))\n"
  26769. " (constraint-from '(\"www.gnu.org\"))\n"
  26770. " (constraints-from '(\"https://www.google.com/\"))))\n"
  26771. "\n"
  26772. msgstr ""
  26773. #. type: defvr
  26774. #: guix-git/doc/guix.texi:18322
  26775. #, no-wrap
  26776. msgid "{Scheme Variable} %openntpd-servers"
  26777. msgstr ""
  26778. #. type: defvr
  26779. #: guix-git/doc/guix.texi:18325
  26780. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  26781. msgstr ""
  26782. #. type: deftp
  26783. #: guix-git/doc/guix.texi:18327
  26784. #, no-wrap
  26785. msgid "{Data Type} openntpd-configuration"
  26786. msgstr ""
  26787. #. type: item
  26788. #: guix-git/doc/guix.texi:18329
  26789. #, no-wrap
  26790. msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})"
  26791. msgstr ""
  26792. #. type: table
  26793. #: guix-git/doc/guix.texi:18331
  26794. msgid "The openntpd executable to use."
  26795. msgstr ""
  26796. #. type: item
  26797. #: guix-git/doc/guix.texi:18331
  26798. #, no-wrap
  26799. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  26800. msgstr ""
  26801. #. type: table
  26802. #: guix-git/doc/guix.texi:18333
  26803. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  26804. msgstr ""
  26805. #. type: item
  26806. #: guix-git/doc/guix.texi:18333
  26807. #, no-wrap
  26808. msgid "@code{query-from} (default: @code{'()})"
  26809. msgstr ""
  26810. #. type: table
  26811. #: guix-git/doc/guix.texi:18335
  26812. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  26813. msgstr ""
  26814. #. type: item
  26815. #: guix-git/doc/guix.texi:18335
  26816. #, no-wrap
  26817. msgid "@code{sensor} (default: @code{'()})"
  26818. msgstr ""
  26819. #. type: table
  26820. #: guix-git/doc/guix.texi:18340
  26821. 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."
  26822. msgstr ""
  26823. #. type: item
  26824. #: guix-git/doc/guix.texi:18340
  26825. #, no-wrap
  26826. msgid "@code{server} (default: @code{'()})"
  26827. msgstr ""
  26828. #. type: table
  26829. #: guix-git/doc/guix.texi:18342
  26830. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  26831. msgstr ""
  26832. #. type: item
  26833. #: guix-git/doc/guix.texi:18342
  26834. #, no-wrap
  26835. msgid "@code{servers} (default: @code{%openntp-servers})"
  26836. msgstr ""
  26837. #. type: table
  26838. #: guix-git/doc/guix.texi:18344
  26839. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  26840. msgstr ""
  26841. #. type: item
  26842. #: guix-git/doc/guix.texi:18344
  26843. #, no-wrap
  26844. msgid "@code{constraint-from} (default: @code{'()})"
  26845. msgstr ""
  26846. #. type: table
  26847. #: guix-git/doc/guix.texi:18351
  26848. 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."
  26849. msgstr ""
  26850. #. type: item
  26851. #: guix-git/doc/guix.texi:18351
  26852. #, no-wrap
  26853. msgid "@code{constraints-from} (default: @code{'()})"
  26854. msgstr ""
  26855. #. type: table
  26856. #: guix-git/doc/guix.texi:18355
  26857. 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."
  26858. msgstr ""
  26859. #. type: cindex
  26860. #: guix-git/doc/guix.texi:18358
  26861. #, no-wrap
  26862. msgid "inetd"
  26863. msgstr ""
  26864. #. type: deffn
  26865. #: guix-git/doc/guix.texi:18359
  26866. #, no-wrap
  26867. msgid "{Scheme variable} inetd-service-type"
  26868. msgstr ""
  26869. #. type: deffn
  26870. #: guix-git/doc/guix.texi:18364
  26871. 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."
  26872. msgstr ""
  26873. #. type: deffn
  26874. #: guix-git/doc/guix.texi:18370
  26875. 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}:"
  26876. msgstr ""
  26877. #. type: lisp
  26878. #: guix-git/doc/guix.texi:18393
  26879. #, no-wrap
  26880. msgid ""
  26881. "(service\n"
  26882. " inetd-service-type\n"
  26883. " (inetd-configuration\n"
  26884. " (entries (list\n"
  26885. " (inetd-entry\n"
  26886. " (name \"echo\")\n"
  26887. " (socket-type 'stream)\n"
  26888. " (protocol \"tcp\")\n"
  26889. " (wait? #f)\n"
  26890. " (user \"root\"))\n"
  26891. " (inetd-entry\n"
  26892. " (node \"127.0.0.1\")\n"
  26893. " (name \"smtp\")\n"
  26894. " (socket-type 'stream)\n"
  26895. " (protocol \"tcp\")\n"
  26896. " (wait? #f)\n"
  26897. " (user \"root\")\n"
  26898. " (program (file-append openssh \"/bin/ssh\"))\n"
  26899. " (arguments\n"
  26900. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  26901. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  26902. msgstr ""
  26903. #. type: deffn
  26904. #: guix-git/doc/guix.texi:18396
  26905. msgid "See below for more details about @code{inetd-configuration}."
  26906. msgstr ""
  26907. #. type: deftp
  26908. #: guix-git/doc/guix.texi:18398
  26909. #, no-wrap
  26910. msgid "{Data Type} inetd-configuration"
  26911. msgstr ""
  26912. #. type: deftp
  26913. #: guix-git/doc/guix.texi:18400
  26914. msgid "Data type representing the configuration of @command{inetd}."
  26915. msgstr ""
  26916. #. type: item
  26917. #: guix-git/doc/guix.texi:18402
  26918. #, no-wrap
  26919. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  26920. msgstr ""
  26921. #. type: table
  26922. #: guix-git/doc/guix.texi:18404
  26923. msgid "The @command{inetd} executable to use."
  26924. msgstr ""
  26925. #. type: item
  26926. #: guix-git/doc/guix.texi:18405 guix-git/doc/guix.texi:28088
  26927. #, no-wrap
  26928. msgid "@code{entries} (default: @code{'()})"
  26929. msgstr ""
  26930. #. type: table
  26931. #: guix-git/doc/guix.texi:18408
  26932. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  26933. msgstr ""
  26934. #. type: deftp
  26935. #: guix-git/doc/guix.texi:18411
  26936. #, no-wrap
  26937. msgid "{Data Type} inetd-entry"
  26938. msgstr ""
  26939. #. type: deftp
  26940. #: guix-git/doc/guix.texi:18415
  26941. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  26942. msgstr ""
  26943. #. type: item
  26944. #: guix-git/doc/guix.texi:18417
  26945. #, no-wrap
  26946. msgid "@code{node} (default: @code{#f})"
  26947. msgstr "@code{node} (default: @code{#f})"
  26948. #. type: table
  26949. #: guix-git/doc/guix.texi:18422
  26950. 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."
  26951. msgstr ""
  26952. #. type: table
  26953. #: guix-git/doc/guix.texi:18424
  26954. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  26955. msgstr ""
  26956. #. type: code{#1}
  26957. #: guix-git/doc/guix.texi:18424
  26958. #, no-wrap
  26959. msgid "socket-type"
  26960. msgstr ""
  26961. #. type: table
  26962. #: guix-git/doc/guix.texi:18427
  26963. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  26964. msgstr ""
  26965. #. type: code{#1}
  26966. #: guix-git/doc/guix.texi:18427
  26967. #, no-wrap
  26968. msgid "protocol"
  26969. msgstr ""
  26970. #. type: table
  26971. #: guix-git/doc/guix.texi:18429
  26972. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  26973. msgstr ""
  26974. #. type: item
  26975. #: guix-git/doc/guix.texi:18429
  26976. #, no-wrap
  26977. msgid "@code{wait?} (default: @code{#t})"
  26978. msgstr "@code{wait?} (padrão: @code{#t})"
  26979. #. type: table
  26980. #: guix-git/doc/guix.texi:18432
  26981. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  26982. msgstr ""
  26983. #. type: table
  26984. #: guix-git/doc/guix.texi:18437
  26985. 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\"}."
  26986. msgstr ""
  26987. #. type: item
  26988. #: guix-git/doc/guix.texi:18437
  26989. #, no-wrap
  26990. msgid "@code{program} (default: @code{\"internal\"})"
  26991. msgstr ""
  26992. #. type: table
  26993. #: guix-git/doc/guix.texi:18440
  26994. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  26995. msgstr ""
  26996. #. type: table
  26997. #: guix-git/doc/guix.texi:18445
  26998. 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\")}."
  26999. msgstr ""
  27000. #. type: deftp
  27001. #: guix-git/doc/guix.texi:18449
  27002. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  27003. msgstr ""
  27004. #. type: cindex
  27005. #: guix-git/doc/guix.texi:18451
  27006. #, no-wrap
  27007. msgid "opendht, distributed hash table network service"
  27008. msgstr ""
  27009. #. type: cindex
  27010. #: guix-git/doc/guix.texi:18452
  27011. #, no-wrap
  27012. msgid "dhtproxy, for use with jami"
  27013. msgstr ""
  27014. #. type: defvr
  27015. #: guix-git/doc/guix.texi:18453
  27016. #, fuzzy, no-wrap
  27017. msgid "{Scheme Variable} opendht-service-type"
  27018. msgstr "guix-publish-service-type"
  27019. #. type: defvr
  27020. #: guix-git/doc/guix.texi:18458
  27021. 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."
  27022. msgstr ""
  27023. #. type: quotation
  27024. #: guix-git/doc/guix.texi:18468
  27025. 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."
  27026. msgstr ""
  27027. #. type: defvr
  27028. #: guix-git/doc/guix.texi:18472
  27029. msgid "The value of this service is a @code{opendht-configuration} object, as described below."
  27030. msgstr ""
  27031. #. type: deftp
  27032. #: guix-git/doc/guix.texi:18474
  27033. #, fuzzy, no-wrap
  27034. msgid "{Data Type} opendht-configuration"
  27035. msgstr "build-machine {Data Type}"
  27036. #. type: deftp
  27037. #: guix-git/doc/guix.texi:18476
  27038. msgid "This is the data type for the OpenDHT service configuration."
  27039. msgstr ""
  27040. #. type: deftp
  27041. #: guix-git/doc/guix.texi:18481
  27042. msgid "Available @code{opendht-configuration} fields are:"
  27043. msgstr ""
  27044. #. type: deftypevr
  27045. #: guix-git/doc/guix.texi:18482
  27046. #, no-wrap
  27047. msgid "{@code{opendht-configuration} parameter} package opendht"
  27048. msgstr ""
  27049. #. type: deftypevr
  27050. #: guix-git/doc/guix.texi:18484
  27051. #, fuzzy
  27052. #| msgid "The GPM package to use."
  27053. msgid "The @code{opendht} package to use."
  27054. msgstr "O pacote GPM a ser usado."
  27055. #. type: deftypevr
  27056. #: guix-git/doc/guix.texi:18487
  27057. #, no-wrap
  27058. msgid "{@code{opendht-configuration} parameter} boolean peer-discovery?"
  27059. msgstr ""
  27060. #. type: deftypevr
  27061. #: guix-git/doc/guix.texi:18489
  27062. msgid "Whether to enable the multicast local peer discovery mechanism."
  27063. msgstr ""
  27064. #. type: deftypevr
  27065. #: guix-git/doc/guix.texi:18491 guix-git/doc/guix.texi:18499
  27066. #: guix-git/doc/guix.texi:18507 guix-git/doc/guix.texi:20199
  27067. #: guix-git/doc/guix.texi:20275 guix-git/doc/guix.texi:20317
  27068. #: guix-git/doc/guix.texi:20337 guix-git/doc/guix.texi:20343
  27069. #: guix-git/doc/guix.texi:20359 guix-git/doc/guix.texi:20447
  27070. #: guix-git/doc/guix.texi:20535 guix-git/doc/guix.texi:20848
  27071. #: guix-git/doc/guix.texi:20861 guix-git/doc/guix.texi:22012
  27072. #: guix-git/doc/guix.texi:23490 guix-git/doc/guix.texi:23596
  27073. #: guix-git/doc/guix.texi:23661 guix-git/doc/guix.texi:23670
  27074. #: guix-git/doc/guix.texi:24903 guix-git/doc/guix.texi:24947
  27075. #: guix-git/doc/guix.texi:24964 guix-git/doc/guix.texi:24972
  27076. #: guix-git/doc/guix.texi:24987 guix-git/doc/guix.texi:25005
  27077. #: guix-git/doc/guix.texi:25029 guix-git/doc/guix.texi:25082
  27078. #: guix-git/doc/guix.texi:25215 guix-git/doc/guix.texi:25249
  27079. #: guix-git/doc/guix.texi:25285 guix-git/doc/guix.texi:25301
  27080. #: guix-git/doc/guix.texi:25329 guix-git/doc/guix.texi:25390
  27081. #: guix-git/doc/guix.texi:25473 guix-git/doc/guix.texi:28800
  27082. #: guix-git/doc/guix.texi:28814 guix-git/doc/guix.texi:28836
  27083. #: guix-git/doc/guix.texi:28955 guix-git/doc/guix.texi:28969
  27084. #: guix-git/doc/guix.texi:28990 guix-git/doc/guix.texi:29011
  27085. #: guix-git/doc/guix.texi:29018 guix-git/doc/guix.texi:29063
  27086. #: guix-git/doc/guix.texi:29070 guix-git/doc/guix.texi:29859
  27087. #: guix-git/doc/guix.texi:29873 guix-git/doc/guix.texi:30073
  27088. #: guix-git/doc/guix.texi:30118 guix-git/doc/guix.texi:30205
  27089. #: guix-git/doc/guix.texi:30407 guix-git/doc/guix.texi:30440
  27090. #: guix-git/doc/guix.texi:30580 guix-git/doc/guix.texi:30591
  27091. #: guix-git/doc/guix.texi:30842 guix-git/doc/guix.texi:32365
  27092. #: guix-git/doc/guix.texi:32374 guix-git/doc/guix.texi:32382
  27093. #: guix-git/doc/guix.texi:32390 guix-git/doc/guix.texi:32406
  27094. #: guix-git/doc/guix.texi:32422 guix-git/doc/guix.texi:32430
  27095. #: guix-git/doc/guix.texi:32438 guix-git/doc/guix.texi:32447
  27096. #: guix-git/doc/guix.texi:32456 guix-git/doc/guix.texi:32472
  27097. #: guix-git/doc/guix.texi:32536 guix-git/doc/guix.texi:32642
  27098. #: guix-git/doc/guix.texi:32650 guix-git/doc/guix.texi:32658
  27099. #: guix-git/doc/guix.texi:32683 guix-git/doc/guix.texi:32737
  27100. #: guix-git/doc/guix.texi:32785 guix-git/doc/guix.texi:32986
  27101. #: guix-git/doc/guix.texi:32993
  27102. msgid "Defaults to @samp{#f}."
  27103. msgstr ""
  27104. #. type: deftypevr
  27105. #: guix-git/doc/guix.texi:18494
  27106. #, no-wrap
  27107. msgid "{@code{opendht-configuration} parameter} boolean enable-logging?"
  27108. msgstr ""
  27109. #. type: deftypevr
  27110. #: guix-git/doc/guix.texi:18497
  27111. msgid "Whether to enable logging messages to syslog. It is disabled by default as it is rather verbose."
  27112. msgstr ""
  27113. #. type: deftypevr
  27114. #: guix-git/doc/guix.texi:18502
  27115. #, no-wrap
  27116. msgid "{@code{opendht-configuration} parameter} boolean debug?"
  27117. msgstr ""
  27118. #. type: deftypevr
  27119. #: guix-git/doc/guix.texi:18505
  27120. msgid "Whether to enable debug-level logging messages. This has no effect if logging is disabled."
  27121. msgstr ""
  27122. #. type: deftypevr
  27123. #: guix-git/doc/guix.texi:18510
  27124. #, no-wrap
  27125. msgid "{@code{opendht-configuration} parameter} maybe-string bootstrap-host"
  27126. msgstr ""
  27127. #. type: deftypevr
  27128. #: guix-git/doc/guix.texi:18516
  27129. 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 bootsrapping by setting this to the @code{'disabled} symbol."
  27130. msgstr ""
  27131. #. type: deftypevr
  27132. #: guix-git/doc/guix.texi:18518
  27133. msgid "Defaults to @samp{\"bootstrap.jami.net:4222\"}."
  27134. msgstr ""
  27135. #. type: deftypevr
  27136. #: guix-git/doc/guix.texi:18521
  27137. #, no-wrap
  27138. msgid "{@code{opendht-configuration} parameter} maybe-number port"
  27139. msgstr ""
  27140. #. type: deftypevr
  27141. #: guix-git/doc/guix.texi:18524
  27142. msgid "The UDP port to bind to. When set to @code{'disabled}, an available port is automatically selected."
  27143. msgstr ""
  27144. #. type: deftypevr
  27145. #: guix-git/doc/guix.texi:18526
  27146. msgid "Defaults to @samp{4222}."
  27147. msgstr ""
  27148. #. type: deftypevr
  27149. #: guix-git/doc/guix.texi:18529
  27150. #, no-wrap
  27151. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port"
  27152. msgstr ""
  27153. #. type: deftypevr
  27154. #: guix-git/doc/guix.texi:18531
  27155. msgid "Spawn a proxy server listening on the specified port."
  27156. msgstr ""
  27157. #. type: deftypevr
  27158. #: guix-git/doc/guix.texi:18533 guix-git/doc/guix.texi:18540
  27159. #: guix-git/doc/guix.texi:24911 guix-git/doc/guix.texi:24955
  27160. #: guix-git/doc/guix.texi:25168 guix-git/doc/guix.texi:25224
  27161. #: guix-git/doc/guix.texi:25398 guix-git/doc/guix.texi:25409
  27162. #: guix-git/doc/guix.texi:25482 guix-git/doc/guix.texi:26117
  27163. #: guix-git/doc/guix.texi:26160 guix-git/doc/guix.texi:26168
  27164. #: guix-git/doc/guix.texi:26176 guix-git/doc/guix.texi:26184
  27165. #: guix-git/doc/guix.texi:26193 guix-git/doc/guix.texi:26201
  27166. #: guix-git/doc/guix.texi:26208 guix-git/doc/guix.texi:26216
  27167. #: guix-git/doc/guix.texi:26224 guix-git/doc/guix.texi:26234
  27168. #: guix-git/doc/guix.texi:26241 guix-git/doc/guix.texi:26265
  27169. #: guix-git/doc/guix.texi:26273 guix-git/doc/guix.texi:26299
  27170. #: guix-git/doc/guix.texi:26308 guix-git/doc/guix.texi:26317
  27171. #: guix-git/doc/guix.texi:26326 guix-git/doc/guix.texi:26335
  27172. #: guix-git/doc/guix.texi:26344 guix-git/doc/guix.texi:26352
  27173. #: guix-git/doc/guix.texi:26360 guix-git/doc/guix.texi:26367
  27174. #: guix-git/doc/guix.texi:26375 guix-git/doc/guix.texi:26382
  27175. #: guix-git/doc/guix.texi:26390 guix-git/doc/guix.texi:26398
  27176. #: guix-git/doc/guix.texi:26407 guix-git/doc/guix.texi:26416
  27177. #: guix-git/doc/guix.texi:26424 guix-git/doc/guix.texi:26432
  27178. #: guix-git/doc/guix.texi:26440 guix-git/doc/guix.texi:26451
  27179. #: guix-git/doc/guix.texi:26461 guix-git/doc/guix.texi:26472
  27180. #: guix-git/doc/guix.texi:26481 guix-git/doc/guix.texi:26491
  27181. #: guix-git/doc/guix.texi:26499 guix-git/doc/guix.texi:26510
  27182. #: guix-git/doc/guix.texi:26519 guix-git/doc/guix.texi:26529
  27183. #: guix-git/doc/guix.texi:29772 guix-git/doc/guix.texi:29779
  27184. #: guix-git/doc/guix.texi:29786 guix-git/doc/guix.texi:29793
  27185. #: guix-git/doc/guix.texi:29800 guix-git/doc/guix.texi:29807
  27186. #: guix-git/doc/guix.texi:29815 guix-git/doc/guix.texi:29823
  27187. #: guix-git/doc/guix.texi:29830 guix-git/doc/guix.texi:29837
  27188. #: guix-git/doc/guix.texi:29844 guix-git/doc/guix.texi:29851
  27189. #: guix-git/doc/guix.texi:29881 guix-git/doc/guix.texi:29919
  27190. #: guix-git/doc/guix.texi:29926 guix-git/doc/guix.texi:29935
  27191. #: guix-git/doc/guix.texi:29957 guix-git/doc/guix.texi:29965
  27192. #: guix-git/doc/guix.texi:29972 guix-git/doc/guix.texi:30001
  27193. #: guix-git/doc/guix.texi:30008 guix-git/doc/guix.texi:30015
  27194. #: guix-git/doc/guix.texi:30022 guix-git/doc/guix.texi:30155
  27195. #: guix-git/doc/guix.texi:30175 guix-git/doc/guix.texi:30190
  27196. #: guix-git/doc/guix.texi:30197 guix-git/doc/guix.texi:32938
  27197. #: guix-git/doc/guix.texi:32946 guix-git/doc/guix.texi:32954
  27198. #: guix-git/doc/guix.texi:32962 guix-git/doc/guix.texi:32970
  27199. #: guix-git/doc/guix.texi:32978
  27200. msgid "Defaults to @samp{disabled}."
  27201. msgstr ""
  27202. #. type: deftypevr
  27203. #: guix-git/doc/guix.texi:18536
  27204. #, no-wrap
  27205. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port-tls"
  27206. msgstr ""
  27207. #. type: deftypevr
  27208. #: guix-git/doc/guix.texi:18538
  27209. msgid "Spawn a proxy server listening to TLS connections on the specified port."
  27210. msgstr ""
  27211. #. type: cindex
  27212. #: guix-git/doc/guix.texi:18544
  27213. #, no-wrap
  27214. msgid "Tor"
  27215. msgstr ""
  27216. #. type: defvr
  27217. #: guix-git/doc/guix.texi:18545
  27218. #, no-wrap
  27219. msgid "{Scheme Variable} tor-service-type"
  27220. msgstr ""
  27221. #. type: defvr
  27222. #: guix-git/doc/guix.texi:18550
  27223. msgid "This is the 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."
  27224. msgstr ""
  27225. #. type: deftp
  27226. #: guix-git/doc/guix.texi:18553
  27227. #, no-wrap
  27228. msgid "{Data Type} tor-configuration"
  27229. msgstr ""
  27230. #. type: item
  27231. #: guix-git/doc/guix.texi:18555
  27232. #, no-wrap
  27233. msgid "@code{tor} (default: @code{tor})"
  27234. msgstr "@code{tor} (default: @code{tor})"
  27235. #. type: table
  27236. #: guix-git/doc/guix.texi:18560
  27237. 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."
  27238. msgstr ""
  27239. #. type: item
  27240. #: guix-git/doc/guix.texi:18561
  27241. #, no-wrap
  27242. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  27243. msgstr ""
  27244. #. type: table
  27245. #: guix-git/doc/guix.texi:18567
  27246. 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."
  27247. msgstr ""
  27248. #. type: item
  27249. #: guix-git/doc/guix.texi:18568
  27250. #, no-wrap
  27251. msgid "@code{hidden-services} (default: @code{'()})"
  27252. msgstr ""
  27253. #. type: table
  27254. #: guix-git/doc/guix.texi:18574
  27255. msgid "The list of @code{<hidden-service>} records to use. For any hidden service you include in this list, appropriate configuration to enable the hidden service will be automatically added to the default configuration file. You may conveniently create @code{<hidden-service>} records using the @code{tor-hidden-service} procedure described below."
  27256. msgstr ""
  27257. #. type: item
  27258. #: guix-git/doc/guix.texi:18575
  27259. #, no-wrap
  27260. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  27261. msgstr ""
  27262. #. type: table
  27263. #: guix-git/doc/guix.texi:18582
  27264. 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."
  27265. msgstr ""
  27266. #. type: table
  27267. #: guix-git/doc/guix.texi:18587
  27268. 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."
  27269. msgstr ""
  27270. #. type: item
  27271. #: guix-git/doc/guix.texi:18588
  27272. #, no-wrap
  27273. msgid "@code{control-socket?} (default: @code{#f})"
  27274. msgstr ""
  27275. #. type: table
  27276. #: guix-git/doc/guix.texi:18594
  27277. 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."
  27278. msgstr ""
  27279. #. type: cindex
  27280. #: guix-git/doc/guix.texi:18598
  27281. #, no-wrap
  27282. msgid "hidden service"
  27283. msgstr ""
  27284. #. type: deffn
  27285. #: guix-git/doc/guix.texi:18599
  27286. #, no-wrap
  27287. msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}"
  27288. msgstr ""
  27289. #. type: deffn
  27290. #: guix-git/doc/guix.texi:18602
  27291. msgid "Define a new Tor @dfn{hidden service} called @var{name} and implementing @var{mapping}. @var{mapping} is a list of port/host tuples, such as:"
  27292. msgstr ""
  27293. #. type: example
  27294. #: guix-git/doc/guix.texi:18606
  27295. #, no-wrap
  27296. msgid ""
  27297. " '((22 \"127.0.0.1:22\")\n"
  27298. " (80 \"127.0.0.1:8080\"))\n"
  27299. msgstr ""
  27300. #. type: deffn
  27301. #: guix-git/doc/guix.texi:18610
  27302. msgid "In this example, port 22 of the hidden service is mapped to local port 22, and port 80 is mapped to local port 8080."
  27303. msgstr ""
  27304. #. type: deffn
  27305. #: guix-git/doc/guix.texi:18614
  27306. msgid "This creates a @file{/var/lib/tor/hidden-services/@var{name}} directory, where the @file{hostname} file contains the @code{.onion} host name for the hidden service."
  27307. msgstr ""
  27308. #. type: deffn
  27309. #: guix-git/doc/guix.texi:18617
  27310. msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information."
  27311. msgstr ""
  27312. #. type: Plain text
  27313. #: guix-git/doc/guix.texi:18620
  27314. msgid "The @code{(gnu services rsync)} module provides the following services:"
  27315. msgstr ""
  27316. #. type: Plain text
  27317. #: guix-git/doc/guix.texi:18624
  27318. 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."
  27319. msgstr ""
  27320. #. type: deffn
  27321. #: guix-git/doc/guix.texi:18625
  27322. #, no-wrap
  27323. msgid "{Scheme Variable} rsync-service-type"
  27324. msgstr ""
  27325. #. type: deffn
  27326. #: guix-git/doc/guix.texi:18629
  27327. 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:"
  27328. msgstr ""
  27329. #. type: lisp
  27330. #: guix-git/doc/guix.texi:18642
  27331. #, no-wrap
  27332. msgid ""
  27333. ";; Export two directories over rsync. By default rsync listens on\n"
  27334. ";; all the network interfaces.\n"
  27335. "(service rsync-service-type\n"
  27336. " (rsync-configuration\n"
  27337. " (modules (list (rsync-module\n"
  27338. " (name \"music\")\n"
  27339. " (file-name \"/srv/zik\")\n"
  27340. " (read-only? #f))\n"
  27341. " (rsync-module\n"
  27342. " (name \"movies\")\n"
  27343. " (file-name \"/home/charlie/movies\"))))))\n"
  27344. msgstr ""
  27345. #. type: deffn
  27346. #: guix-git/doc/guix.texi:18645
  27347. msgid "See below for details about @code{rsync-configuration}."
  27348. msgstr ""
  27349. #. type: deftp
  27350. #: guix-git/doc/guix.texi:18647
  27351. #, no-wrap
  27352. msgid "{Data Type} rsync-configuration"
  27353. msgstr ""
  27354. #. type: deftp
  27355. #: guix-git/doc/guix.texi:18649
  27356. msgid "Data type representing the configuration for @code{rsync-service}."
  27357. msgstr ""
  27358. #. type: item
  27359. #: guix-git/doc/guix.texi:18651
  27360. #, no-wrap
  27361. msgid "@code{package} (default: @var{rsync})"
  27362. msgstr ""
  27363. #. type: table
  27364. #: guix-git/doc/guix.texi:18653
  27365. msgid "@code{rsync} package to use."
  27366. msgstr ""
  27367. #. type: item
  27368. #: guix-git/doc/guix.texi:18654 guix-git/doc/guix.texi:31945
  27369. #, no-wrap
  27370. msgid "@code{address} (default: @code{#f})"
  27371. msgstr ""
  27372. #. type: table
  27373. #: guix-git/doc/guix.texi:18657
  27374. msgid "IP address on which @command{rsync} listens for incoming connections. If unspecified, it defaults to listening on all available addresses."
  27375. msgstr ""
  27376. #. type: item
  27377. #: guix-git/doc/guix.texi:18658
  27378. #, no-wrap
  27379. msgid "@code{port-number} (default: @code{873})"
  27380. msgstr ""
  27381. #. type: table
  27382. #: guix-git/doc/guix.texi:18662
  27383. 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."
  27384. msgstr ""
  27385. #. type: item
  27386. #: guix-git/doc/guix.texi:18663
  27387. #, no-wrap
  27388. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  27389. msgstr ""
  27390. #. type: table
  27391. #: guix-git/doc/guix.texi:18665
  27392. msgid "Name of the file where @command{rsync} writes its PID."
  27393. msgstr ""
  27394. #. type: item
  27395. #: guix-git/doc/guix.texi:18666
  27396. #, no-wrap
  27397. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  27398. msgstr ""
  27399. #. type: table
  27400. #: guix-git/doc/guix.texi:18668
  27401. msgid "Name of the file where @command{rsync} writes its lock file."
  27402. msgstr ""
  27403. #. type: item
  27404. #: guix-git/doc/guix.texi:18669
  27405. #, no-wrap
  27406. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  27407. msgstr ""
  27408. #. type: table
  27409. #: guix-git/doc/guix.texi:18671
  27410. msgid "Name of the file where @command{rsync} writes its log file."
  27411. msgstr ""
  27412. #. type: item
  27413. #: guix-git/doc/guix.texi:18672 guix-git/doc/guix.texi:36176
  27414. #, no-wrap
  27415. msgid "@code{user} (default: @code{\"root\"})"
  27416. msgstr ""
  27417. #. type: table
  27418. #: guix-git/doc/guix.texi:18674
  27419. msgid "Owner of the @code{rsync} process."
  27420. msgstr ""
  27421. #. type: item
  27422. #: guix-git/doc/guix.texi:18675
  27423. #, fuzzy, no-wrap
  27424. #| msgid "@code{hangup?} (default: @code{#f})"
  27425. msgid "@code{group} (default: @code{\"root\"})"
  27426. msgstr "@code{hangup?} (padrão: @code{#f})"
  27427. #. type: table
  27428. #: guix-git/doc/guix.texi:18677
  27429. msgid "Group of the @code{rsync} process."
  27430. msgstr ""
  27431. #. type: item
  27432. #: guix-git/doc/guix.texi:18678
  27433. #, fuzzy, no-wrap
  27434. #| msgid "@code{uid} (default: @code{#f})"
  27435. msgid "@code{uid} (default: @code{\"rsyncd\"})"
  27436. msgstr "@code{uid} (default: @code{#f})"
  27437. #. type: table
  27438. #: guix-git/doc/guix.texi:18681
  27439. 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}."
  27440. msgstr ""
  27441. #. type: item
  27442. #: guix-git/doc/guix.texi:18682
  27443. #, fuzzy, no-wrap
  27444. #| msgid "@code{gdm} (default: @code{gdm})"
  27445. msgid "@code{gid} (default: @code{\"rsyncd\"})"
  27446. msgstr "@code{gdm} (default: @code{gdm})"
  27447. #. type: table
  27448. #: guix-git/doc/guix.texi:18684 guix-git/doc/guix.texi:19163
  27449. msgid "Group name or group ID that will be used when accessing the module."
  27450. msgstr ""
  27451. #. type: item
  27452. #: guix-git/doc/guix.texi:18685 guix-git/doc/guix.texi:36982
  27453. #, no-wrap
  27454. msgid "@code{modules} (default: @code{%default-modules})"
  27455. msgstr ""
  27456. #. type: table
  27457. #: guix-git/doc/guix.texi:18688
  27458. msgid "List of ``modules''---i.e., directories exported over rsync. Each element must be a @code{rsync-module} record, as described below."
  27459. msgstr ""
  27460. #. type: deftp
  27461. #: guix-git/doc/guix.texi:18691
  27462. #, fuzzy, no-wrap
  27463. #| msgid "{Data Type} build-machine"
  27464. msgid "{Data Type} rsync-module"
  27465. msgstr "build-machine {Data Type}"
  27466. #. type: deftp
  27467. #: guix-git/doc/guix.texi:18694
  27468. 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:"
  27469. msgstr ""
  27470. #. type: table
  27471. #: guix-git/doc/guix.texi:18700
  27472. 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}."
  27473. msgstr ""
  27474. #. type: code{#1}
  27475. #: guix-git/doc/guix.texi:18701
  27476. #, fuzzy, no-wrap
  27477. #| msgid "name"
  27478. msgid "file-name"
  27479. msgstr "name"
  27480. #. type: table
  27481. #: guix-git/doc/guix.texi:18703
  27482. msgid "Name of the directory being exported."
  27483. msgstr ""
  27484. #. type: table
  27485. #: guix-git/doc/guix.texi:18707
  27486. msgid "Comment associated with the module. Client user interfaces may display it when they obtain the list of available modules."
  27487. msgstr ""
  27488. #. type: item
  27489. #: guix-git/doc/guix.texi:18708
  27490. #, fuzzy, no-wrap
  27491. #| msgid "@code{respawn?} (default: @code{#t})"
  27492. msgid "@code{read-only?} (default: @code{#t})"
  27493. msgstr "@code{respawn?} (padrão: @code{#t})"
  27494. #. type: table
  27495. #: guix-git/doc/guix.texi:18712
  27496. 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."
  27497. msgstr ""
  27498. #. type: item
  27499. #: guix-git/doc/guix.texi:18713
  27500. #, fuzzy, no-wrap
  27501. #| msgid "@code{chroot} (default: @code{#f})"
  27502. msgid "@code{chroot?} (default: @code{#t})"
  27503. msgstr "@code{chroot} (default: @code{#f})"
  27504. #. type: table
  27505. #: guix-git/doc/guix.texi:18717
  27506. 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."
  27507. msgstr ""
  27508. #. type: item
  27509. #: guix-git/doc/guix.texi:18718
  27510. #, no-wrap
  27511. msgid "@code{timeout} (default: @code{300})"
  27512. msgstr ""
  27513. #. type: table
  27514. #: guix-git/doc/guix.texi:18721
  27515. msgid "Idle time in seconds after which the daemon closes a connection with the client."
  27516. msgstr ""
  27517. #. type: Plain text
  27518. #: guix-git/doc/guix.texi:18725
  27519. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  27520. msgstr ""
  27521. #. type: cindex
  27522. #: guix-git/doc/guix.texi:18725
  27523. #, no-wrap
  27524. msgid "syncthing"
  27525. msgstr ""
  27526. #. type: Plain text
  27527. #: guix-git/doc/guix.texi:18730
  27528. 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."
  27529. msgstr ""
  27530. #. type: deffn
  27531. #: guix-git/doc/guix.texi:18731
  27532. #, no-wrap
  27533. msgid "{Scheme Variable} syncthing-service-type"
  27534. msgstr ""
  27535. #. type: deffn
  27536. #: guix-git/doc/guix.texi:18735
  27537. 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:"
  27538. msgstr ""
  27539. #. type: lisp
  27540. #: guix-git/doc/guix.texi:18739
  27541. #, no-wrap
  27542. msgid ""
  27543. "(service syncthing-service-type\n"
  27544. " (syncthing-configuration (user \"alice\")))\n"
  27545. msgstr ""
  27546. #. type: deffn
  27547. #: guix-git/doc/guix.texi:18742
  27548. msgid "See below for details about @code{syncthing-configuration}."
  27549. msgstr ""
  27550. #. type: deftp
  27551. #: guix-git/doc/guix.texi:18743
  27552. #, no-wrap
  27553. msgid "{Data Type} syncthing-configuration"
  27554. msgstr ""
  27555. #. type: deftp
  27556. #: guix-git/doc/guix.texi:18745
  27557. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  27558. msgstr ""
  27559. #. type: item
  27560. #: guix-git/doc/guix.texi:18747
  27561. #, no-wrap
  27562. msgid "@code{syncthing} (default: @var{syncthing})"
  27563. msgstr ""
  27564. #. type: table
  27565. #: guix-git/doc/guix.texi:18749
  27566. msgid "@code{syncthing} package to use."
  27567. msgstr ""
  27568. #. type: item
  27569. #: guix-git/doc/guix.texi:18750
  27570. #, no-wrap
  27571. msgid "@code{arguments} (default: @var{'()})"
  27572. msgstr ""
  27573. #. type: table
  27574. #: guix-git/doc/guix.texi:18752
  27575. msgid "List of command-line arguments passing to @code{syncthing} binary."
  27576. msgstr ""
  27577. #. type: item
  27578. #: guix-git/doc/guix.texi:18753
  27579. #, no-wrap
  27580. msgid "@code{logflags} (default: @var{0})"
  27581. msgstr ""
  27582. #. type: table
  27583. #: guix-git/doc/guix.texi:18756
  27584. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  27585. msgstr ""
  27586. #. type: item
  27587. #: guix-git/doc/guix.texi:18757
  27588. #, no-wrap
  27589. msgid "@code{user} (default: @var{#f})"
  27590. msgstr ""
  27591. #. type: table
  27592. #: guix-git/doc/guix.texi:18760
  27593. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  27594. msgstr ""
  27595. #. type: item
  27596. #: guix-git/doc/guix.texi:18761
  27597. #, no-wrap
  27598. msgid "@code{group} (default: @var{\"users\"})"
  27599. msgstr ""
  27600. #. type: table
  27601. #: guix-git/doc/guix.texi:18764
  27602. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  27603. msgstr ""
  27604. #. type: item
  27605. #: guix-git/doc/guix.texi:18765
  27606. #, no-wrap
  27607. msgid "@code{home} (default: @var{#f})"
  27608. msgstr ""
  27609. #. type: table
  27610. #: guix-git/doc/guix.texi:18768
  27611. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  27612. msgstr ""
  27613. #. type: Plain text
  27614. #: guix-git/doc/guix.texi:18774
  27615. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  27616. msgstr ""
  27617. #. type: cindex
  27618. #: guix-git/doc/guix.texi:18774 guix-git/doc/guix.texi:18813
  27619. #: guix-git/doc/guix.texi:36319
  27620. #, no-wrap
  27621. msgid "SSH"
  27622. msgstr ""
  27623. #. type: cindex
  27624. #: guix-git/doc/guix.texi:18775 guix-git/doc/guix.texi:18814
  27625. #: guix-git/doc/guix.texi:36320
  27626. #, no-wrap
  27627. msgid "SSH server"
  27628. msgstr ""
  27629. #. type: deffn
  27630. #: guix-git/doc/guix.texi:18777
  27631. #, no-wrap
  27632. msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @"
  27633. msgstr ""
  27634. #. type: deffn
  27635. #: guix-git/doc/guix.texi:18786
  27636. msgid "[#:daemonic? #t] [#:interfaces '()] [#:port-number 22] @ [#:allow-empty-passwords? #f] [#:root-login? #f] @ [#:syslog-output? #t] [#:x11-forwarding? #t] @ [#:tcp/ip-forwarding? #t] [#:password-authentication? #t] @ [#:public-key-authentication? #t] [#:initialize? #t] Run the @command{lshd} program from @var{lsh} to listen on port @var{port-number}. @var{host-key} must designate a file containing the host key, and readable only by root."
  27637. msgstr ""
  27638. #. type: deffn
  27639. #: guix-git/doc/guix.texi:18792
  27640. msgid "When @var{daemonic?} is true, @command{lshd} will detach from the controlling terminal and log its output to syslogd, unless one sets @var{syslog-output?} to false. Obviously, it also makes lsh-service depend on existence of syslogd service. When @var{pid-file?} is true, @command{lshd} writes its PID to the file called @var{pid-file}."
  27641. msgstr ""
  27642. #. type: deffn
  27643. #: guix-git/doc/guix.texi:18796
  27644. msgid "When @var{initialize?} is true, automatically create the seed and host key upon service activation if they do not exist yet. This may take long and require interaction."
  27645. msgstr ""
  27646. #. type: deffn
  27647. #: guix-git/doc/guix.texi:18801
  27648. msgid "When @var{initialize?} is false, 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})."
  27649. msgstr ""
  27650. #. type: deffn
  27651. #: guix-git/doc/guix.texi:18805
  27652. msgid "When @var{interfaces} is empty, lshd listens for connections on all the network interfaces; otherwise, @var{interfaces} must be a list of host names or addresses."
  27653. msgstr ""
  27654. #. type: deffn
  27655. #: guix-git/doc/guix.texi:18809
  27656. msgid "@var{allow-empty-passwords?} specifies whether to accept log-ins with empty passwords, and @var{root-login?} specifies whether to accept log-ins as root."
  27657. msgstr ""
  27658. #. type: deffn
  27659. #: guix-git/doc/guix.texi:18811
  27660. msgid "The other options should be self-descriptive."
  27661. msgstr ""
  27662. #. type: deffn
  27663. #: guix-git/doc/guix.texi:18815
  27664. #, no-wrap
  27665. msgid "{Scheme Variable} openssh-service-type"
  27666. msgstr ""
  27667. #. type: deffn
  27668. #: guix-git/doc/guix.texi:18819
  27669. 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:"
  27670. msgstr ""
  27671. #. type: lisp
  27672. #: guix-git/doc/guix.texi:18828
  27673. #, no-wrap
  27674. msgid ""
  27675. "(service openssh-service-type\n"
  27676. " (openssh-configuration\n"
  27677. " (x11-forwarding? #t)\n"
  27678. " (permit-root-login 'prohibit-password)\n"
  27679. " (authorized-keys\n"
  27680. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  27681. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  27682. msgstr ""
  27683. #. type: deffn
  27684. #: guix-git/doc/guix.texi:18831
  27685. msgid "See below for details about @code{openssh-configuration}."
  27686. msgstr ""
  27687. #. type: deffn
  27688. #: guix-git/doc/guix.texi:18834
  27689. msgid "This service can be extended with extra authorized keys, as in this example:"
  27690. msgstr ""
  27691. #. type: lisp
  27692. #: guix-git/doc/guix.texi:18839
  27693. #, no-wrap
  27694. msgid ""
  27695. "(service-extension openssh-service-type\n"
  27696. " (const `((\"charlie\"\n"
  27697. " ,(local-file \"charlie.pub\")))))\n"
  27698. msgstr ""
  27699. #. type: deftp
  27700. #: guix-git/doc/guix.texi:18842
  27701. #, no-wrap
  27702. msgid "{Data Type} openssh-configuration"
  27703. msgstr ""
  27704. #. type: deftp
  27705. #: guix-git/doc/guix.texi:18844
  27706. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  27707. msgstr ""
  27708. #. type: item
  27709. #: guix-git/doc/guix.texi:18846
  27710. #, no-wrap
  27711. msgid "@code{openssh} (default @var{openssh})"
  27712. msgstr ""
  27713. #. type: table
  27714. #: guix-git/doc/guix.texi:18848
  27715. msgid "The Openssh package to use."
  27716. msgstr ""
  27717. #. type: item
  27718. #: guix-git/doc/guix.texi:18849
  27719. #, no-wrap
  27720. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  27721. msgstr ""
  27722. #. type: table
  27723. #: guix-git/doc/guix.texi:18851
  27724. msgid "Name of the file where @command{sshd} writes its PID."
  27725. msgstr ""
  27726. #. type: item
  27727. #: guix-git/doc/guix.texi:18852
  27728. #, no-wrap
  27729. msgid "@code{port-number} (default: @code{22})"
  27730. msgstr ""
  27731. #. type: table
  27732. #: guix-git/doc/guix.texi:18854
  27733. msgid "TCP port on which @command{sshd} listens for incoming connections."
  27734. msgstr ""
  27735. #. type: item
  27736. #: guix-git/doc/guix.texi:18855
  27737. #, no-wrap
  27738. msgid "@code{permit-root-login} (default: @code{#f})"
  27739. msgstr ""
  27740. #. type: table
  27741. #: guix-git/doc/guix.texi:18860
  27742. 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."
  27743. msgstr ""
  27744. #. type: item
  27745. #: guix-git/doc/guix.texi:18861 guix-git/doc/guix.texi:19022
  27746. #, no-wrap
  27747. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  27748. msgstr ""
  27749. #. type: table
  27750. #: guix-git/doc/guix.texi:18864
  27751. msgid "When true, users with empty passwords may log in. When false, they may not."
  27752. msgstr ""
  27753. #. type: item
  27754. #: guix-git/doc/guix.texi:18865 guix-git/doc/guix.texi:19025
  27755. #, no-wrap
  27756. msgid "@code{password-authentication?} (default: @code{#t})"
  27757. msgstr ""
  27758. #. type: table
  27759. #: guix-git/doc/guix.texi:18868
  27760. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  27761. msgstr ""
  27762. #. type: item
  27763. #: guix-git/doc/guix.texi:18869
  27764. #, no-wrap
  27765. msgid "@code{public-key-authentication?} (default: @code{#t})"
  27766. msgstr ""
  27767. #. type: table
  27768. #: guix-git/doc/guix.texi:18872
  27769. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  27770. msgstr ""
  27771. #. type: table
  27772. #: guix-git/doc/guix.texi:18875
  27773. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  27774. msgstr ""
  27775. #. type: item
  27776. #: guix-git/doc/guix.texi:18876
  27777. #, no-wrap
  27778. msgid "@code{x11-forwarding?} (default: @code{#f})"
  27779. msgstr "@code{x11-forwarding?} (padrão: @code{#f})"
  27780. #. type: table
  27781. #: guix-git/doc/guix.texi:18880
  27782. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  27783. msgstr ""
  27784. #. type: item
  27785. #: guix-git/doc/guix.texi:18881
  27786. #, no-wrap
  27787. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  27788. msgstr "@code{allow-agent-forwarding?} (padrão: @code{#t})"
  27789. #. type: table
  27790. #: guix-git/doc/guix.texi:18883
  27791. msgid "Whether to allow agent forwarding."
  27792. msgstr ""
  27793. #. type: item
  27794. #: guix-git/doc/guix.texi:18884
  27795. #, no-wrap
  27796. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  27797. msgstr "@code{allow-tcp-forwarding?} (padrão: @code{#t})"
  27798. #. type: table
  27799. #: guix-git/doc/guix.texi:18886
  27800. msgid "Whether to allow TCP forwarding."
  27801. msgstr ""
  27802. #. type: item
  27803. #: guix-git/doc/guix.texi:18887
  27804. #, no-wrap
  27805. msgid "@code{gateway-ports?} (default: @code{#f})"
  27806. msgstr "@code{gateway-ports?} (padrão: @code{#f})"
  27807. #. type: table
  27808. #: guix-git/doc/guix.texi:18889
  27809. msgid "Whether to allow gateway ports."
  27810. msgstr ""
  27811. #. type: item
  27812. #: guix-git/doc/guix.texi:18890
  27813. #, no-wrap
  27814. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  27815. msgstr ""
  27816. #. type: table
  27817. #: guix-git/doc/guix.texi:18893
  27818. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  27819. msgstr ""
  27820. #. type: item
  27821. #: guix-git/doc/guix.texi:18894
  27822. #, no-wrap
  27823. msgid "@code{use-pam?} (default: @code{#t})"
  27824. msgstr ""
  27825. #. type: table
  27826. #: guix-git/doc/guix.texi:18900
  27827. 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."
  27828. msgstr ""
  27829. #. type: table
  27830. #: guix-git/doc/guix.texi:18905
  27831. 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?}."
  27832. msgstr ""
  27833. #. type: item
  27834. #: guix-git/doc/guix.texi:18906
  27835. #, no-wrap
  27836. msgid "@code{print-last-log?} (default: @code{#t})"
  27837. msgstr ""
  27838. #. type: table
  27839. #: guix-git/doc/guix.texi:18909
  27840. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  27841. msgstr ""
  27842. #. type: item
  27843. #: guix-git/doc/guix.texi:18910
  27844. #, no-wrap
  27845. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  27846. msgstr ""
  27847. #. type: table
  27848. #: guix-git/doc/guix.texi:18912
  27849. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  27850. msgstr ""
  27851. #. type: table
  27852. #: guix-git/doc/guix.texi:18916
  27853. 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."
  27854. msgstr ""
  27855. #. type: table
  27856. #: guix-git/doc/guix.texi:18919
  27857. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  27858. msgstr ""
  27859. #. type: lisp
  27860. #: guix-git/doc/guix.texi:18924
  27861. #, no-wrap
  27862. msgid ""
  27863. "(service openssh-service-type\n"
  27864. " (openssh-configuration\n"
  27865. " (subsystems\n"
  27866. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  27867. msgstr ""
  27868. #. type: item
  27869. #: guix-git/doc/guix.texi:18926
  27870. #, no-wrap
  27871. msgid "@code{accepted-environment} (default: @code{'()})"
  27872. msgstr ""
  27873. #. type: table
  27874. #: guix-git/doc/guix.texi:18928
  27875. msgid "List of strings describing which environment variables may be exported."
  27876. msgstr ""
  27877. #. type: table
  27878. #: guix-git/doc/guix.texi:18931
  27879. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  27880. msgstr ""
  27881. #. type: table
  27882. #: guix-git/doc/guix.texi:18936
  27883. 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."
  27884. msgstr ""
  27885. #. type: lisp
  27886. #: guix-git/doc/guix.texi:18941
  27887. #, no-wrap
  27888. msgid ""
  27889. "(service openssh-service-type\n"
  27890. " (openssh-configuration\n"
  27891. " (accepted-environment '(\"COLORTERM\"))))\n"
  27892. msgstr ""
  27893. #. type: item
  27894. #: guix-git/doc/guix.texi:18943
  27895. #, no-wrap
  27896. msgid "@code{authorized-keys} (default: @code{'()})"
  27897. msgstr ""
  27898. #. type: cindex
  27899. #: guix-git/doc/guix.texi:18944
  27900. #, no-wrap
  27901. msgid "authorized keys, SSH"
  27902. msgstr ""
  27903. #. type: cindex
  27904. #: guix-git/doc/guix.texi:18945
  27905. #, no-wrap
  27906. msgid "SSH authorized keys"
  27907. msgstr ""
  27908. #. type: table
  27909. #: guix-git/doc/guix.texi:18949
  27910. 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:"
  27911. msgstr ""
  27912. #. type: lisp
  27913. #: guix-git/doc/guix.texi:18956
  27914. #, no-wrap
  27915. msgid ""
  27916. "(openssh-configuration\n"
  27917. " (authorized-keys\n"
  27918. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  27919. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  27920. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  27921. msgstr ""
  27922. #. type: table
  27923. #: guix-git/doc/guix.texi:18961
  27924. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  27925. msgstr ""
  27926. #. type: table
  27927. #: guix-git/doc/guix.texi:18964
  27928. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  27929. msgstr ""
  27930. #. type: table
  27931. #: guix-git/doc/guix.texi:18967
  27932. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  27933. msgstr ""
  27934. #. type: item
  27935. #: guix-git/doc/guix.texi:18968 guix-git/doc/guix.texi:19399
  27936. #, no-wrap
  27937. msgid "@code{log-level} (default: @code{'info})"
  27938. msgstr "@code{log-level} (default: @code{'info})"
  27939. #. type: table
  27940. #: guix-git/doc/guix.texi:18972
  27941. 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."
  27942. msgstr ""
  27943. #. type: item
  27944. #: guix-git/doc/guix.texi:18973 guix-git/doc/guix.texi:21848
  27945. #: guix-git/doc/guix.texi:26899
  27946. #, no-wrap
  27947. msgid "@code{extra-content} (default: @code{\"\"})"
  27948. msgstr ""
  27949. #. type: table
  27950. #: guix-git/doc/guix.texi:18978
  27951. 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:"
  27952. msgstr ""
  27953. #. type: lisp
  27954. #: guix-git/doc/guix.texi:18984
  27955. #, no-wrap
  27956. msgid ""
  27957. "(openssh-configuration\n"
  27958. " (extra-content \"\\\n"
  27959. "Match Address 192.168.0.1\n"
  27960. " PermitRootLogin yes\"))\n"
  27961. msgstr ""
  27962. #. type: deffn
  27963. #: guix-git/doc/guix.texi:18989
  27964. #, no-wrap
  27965. msgid "{Scheme Procedure} dropbear-service [@var{config}]"
  27966. msgstr ""
  27967. #. type: deffn
  27968. #: guix-git/doc/guix.texi:18993
  27969. msgid "Run the @uref{https://matt.ucc.asn.au/dropbear/dropbear.html,Dropbear SSH daemon} with the given @var{config}, a @code{<dropbear-configuration>} object."
  27970. msgstr ""
  27971. #. type: deffn
  27972. #: guix-git/doc/guix.texi:18996
  27973. msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:"
  27974. msgstr ""
  27975. #. type: lisp
  27976. #: guix-git/doc/guix.texi:19000
  27977. #, no-wrap
  27978. msgid ""
  27979. "(dropbear-service (dropbear-configuration\n"
  27980. " (port-number 1234)))\n"
  27981. msgstr ""
  27982. #. type: deftp
  27983. #: guix-git/doc/guix.texi:19003
  27984. #, no-wrap
  27985. msgid "{Data Type} dropbear-configuration"
  27986. msgstr ""
  27987. #. type: deftp
  27988. #: guix-git/doc/guix.texi:19005
  27989. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  27990. msgstr ""
  27991. #. type: item
  27992. #: guix-git/doc/guix.texi:19007
  27993. #, no-wrap
  27994. msgid "@code{dropbear} (default: @var{dropbear})"
  27995. msgstr ""
  27996. #. type: table
  27997. #: guix-git/doc/guix.texi:19009
  27998. msgid "The Dropbear package to use."
  27999. msgstr ""
  28000. #. type: item
  28001. #: guix-git/doc/guix.texi:19010
  28002. #, no-wrap
  28003. msgid "@code{port-number} (default: 22)"
  28004. msgstr ""
  28005. #. type: table
  28006. #: guix-git/doc/guix.texi:19012
  28007. msgid "The TCP port where the daemon waits for incoming connections."
  28008. msgstr ""
  28009. #. type: item
  28010. #: guix-git/doc/guix.texi:19013
  28011. #, no-wrap
  28012. msgid "@code{syslog-output?} (default: @code{#t})"
  28013. msgstr "@code{syslog-output?} (padrão: @code{#t})"
  28014. #. type: table
  28015. #: guix-git/doc/guix.texi:19015
  28016. msgid "Whether to enable syslog output."
  28017. msgstr ""
  28018. #. type: item
  28019. #: guix-git/doc/guix.texi:19016
  28020. #, no-wrap
  28021. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  28022. msgstr ""
  28023. #. type: table
  28024. #: guix-git/doc/guix.texi:19018
  28025. msgid "File name of the daemon's PID file."
  28026. msgstr ""
  28027. #. type: item
  28028. #: guix-git/doc/guix.texi:19019
  28029. #, no-wrap
  28030. msgid "@code{root-login?} (default: @code{#f})"
  28031. msgstr ""
  28032. #. type: table
  28033. #: guix-git/doc/guix.texi:19021
  28034. msgid "Whether to allow @code{root} logins."
  28035. msgstr ""
  28036. #. type: table
  28037. #: guix-git/doc/guix.texi:19024
  28038. msgid "Whether to allow empty passwords."
  28039. msgstr ""
  28040. #. type: table
  28041. #: guix-git/doc/guix.texi:19027
  28042. msgid "Whether to enable password-based authentication."
  28043. msgstr ""
  28044. #. type: cindex
  28045. #: guix-git/doc/guix.texi:19030
  28046. #, no-wrap
  28047. msgid "AutoSSH"
  28048. msgstr ""
  28049. #. type: deffn
  28050. #: guix-git/doc/guix.texi:19031
  28051. #, no-wrap
  28052. msgid "{Scheme Variable} autossh-service-type"
  28053. msgstr ""
  28054. #. type: deffn
  28055. #: guix-git/doc/guix.texi:19039
  28056. 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."
  28057. msgstr ""
  28058. #. type: deffn
  28059. #: guix-git/doc/guix.texi:19043
  28060. 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."
  28061. msgstr ""
  28062. #. type: deffn
  28063. #: guix-git/doc/guix.texi:19048
  28064. 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:"
  28065. msgstr ""
  28066. #. type: lisp
  28067. #: guix-git/doc/guix.texi:19054
  28068. #, no-wrap
  28069. msgid ""
  28070. "(service autossh-service-type\n"
  28071. " (autossh-configuration\n"
  28072. " (user \"pino\")\n"
  28073. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  28074. msgstr ""
  28075. #. type: deftp
  28076. #: guix-git/doc/guix.texi:19057
  28077. #, no-wrap
  28078. msgid "{Data Type} autossh-configuration"
  28079. msgstr ""
  28080. #. type: deftp
  28081. #: guix-git/doc/guix.texi:19059
  28082. msgid "This data type represents the configuration of an AutoSSH service."
  28083. msgstr ""
  28084. #. type: item
  28085. #: guix-git/doc/guix.texi:19062
  28086. #, no-wrap
  28087. msgid "@code{user} (default @code{\"autossh\"})"
  28088. msgstr ""
  28089. #. type: table
  28090. #: guix-git/doc/guix.texi:19065
  28091. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  28092. msgstr ""
  28093. #. type: item
  28094. #: guix-git/doc/guix.texi:19066
  28095. #, no-wrap
  28096. msgid "@code{poll} (default @code{600})"
  28097. msgstr ""
  28098. #. type: table
  28099. #: guix-git/doc/guix.texi:19068
  28100. msgid "Specifies the connection poll time in seconds."
  28101. msgstr ""
  28102. #. type: item
  28103. #: guix-git/doc/guix.texi:19069
  28104. #, no-wrap
  28105. msgid "@code{first-poll} (default @code{#f})"
  28106. msgstr ""
  28107. #. type: table
  28108. #: guix-git/doc/guix.texi:19075
  28109. 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}."
  28110. msgstr ""
  28111. #. type: item
  28112. #: guix-git/doc/guix.texi:19076
  28113. #, no-wrap
  28114. msgid "@code{gate-time} (default @code{30})"
  28115. msgstr ""
  28116. #. type: table
  28117. #: guix-git/doc/guix.texi:19079
  28118. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  28119. msgstr ""
  28120. #. type: item
  28121. #: guix-git/doc/guix.texi:19080
  28122. #, no-wrap
  28123. msgid "@code{log-level} (default @code{1})"
  28124. msgstr ""
  28125. #. type: table
  28126. #: guix-git/doc/guix.texi:19083
  28127. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  28128. msgstr ""
  28129. #. type: item
  28130. #: guix-git/doc/guix.texi:19084
  28131. #, no-wrap
  28132. msgid "@code{max-start} (default @code{#f})"
  28133. msgstr ""
  28134. #. type: table
  28135. #: guix-git/doc/guix.texi:19087
  28136. 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."
  28137. msgstr ""
  28138. #. type: item
  28139. #: guix-git/doc/guix.texi:19088
  28140. #, no-wrap
  28141. msgid "@code{message} (default @code{\"\"})"
  28142. msgstr ""
  28143. #. type: table
  28144. #: guix-git/doc/guix.texi:19090
  28145. msgid "The message to append to the echo message sent when testing connections."
  28146. msgstr ""
  28147. #. type: item
  28148. #: guix-git/doc/guix.texi:19091
  28149. #, no-wrap
  28150. msgid "@code{port} (default @code{\"0\"})"
  28151. msgstr ""
  28152. #. type: table
  28153. #: guix-git/doc/guix.texi:19101
  28154. 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."
  28155. msgstr ""
  28156. #. type: item
  28157. #: guix-git/doc/guix.texi:19102
  28158. #, no-wrap
  28159. msgid "@code{ssh-options} (default @code{'()})"
  28160. msgstr ""
  28161. #. type: table
  28162. #: guix-git/doc/guix.texi:19106
  28163. 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."
  28164. msgstr ""
  28165. #. type: cindex
  28166. #: guix-git/doc/guix.texi:19110
  28167. #, no-wrap
  28168. msgid "WebSSH"
  28169. msgstr ""
  28170. #. type: deffn
  28171. #: guix-git/doc/guix.texi:19111
  28172. #, no-wrap
  28173. msgid "{Scheme Variable} webssh-service-type"
  28174. msgstr ""
  28175. #. type: deffn
  28176. #: guix-git/doc/guix.texi:19117
  28177. 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."
  28178. msgstr ""
  28179. #. type: deffn
  28180. #: guix-git/doc/guix.texi:19123
  28181. 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:"
  28182. msgstr ""
  28183. #. type: lisp
  28184. #: guix-git/doc/guix.texi:19131
  28185. #, no-wrap
  28186. msgid ""
  28187. "(service webssh-service-type\n"
  28188. " (webssh-configuration (address \"127.0.0.1\")\n"
  28189. " (port 8888)\n"
  28190. " (policy 'reject)\n"
  28191. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  28192. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  28193. "\n"
  28194. msgstr ""
  28195. #. type: lisp
  28196. #: guix-git/doc/guix.texi:19147
  28197. #, no-wrap
  28198. msgid ""
  28199. "(service nginx-service-type\n"
  28200. " (nginx-configuration\n"
  28201. " (server-blocks\n"
  28202. " (list\n"
  28203. " (nginx-server-configuration\n"
  28204. " (inherit %webssh-configuration-nginx)\n"
  28205. " (server-name '(\"webssh.example.com\"))\n"
  28206. " (listen '(\"443 ssl\"))\n"
  28207. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  28208. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  28209. " (locations\n"
  28210. " (cons (nginx-location-configuration\n"
  28211. " (uri \"/.well-known\")\n"
  28212. " (body '(\"root /var/www;\")))\n"
  28213. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  28214. msgstr ""
  28215. #. type: deftp
  28216. #: guix-git/doc/guix.texi:19150
  28217. #, no-wrap
  28218. msgid "{Data Type} webssh-configuration"
  28219. msgstr ""
  28220. #. type: deftp
  28221. #: guix-git/doc/guix.texi:19152
  28222. msgid "Data type representing the configuration for @code{webssh-service}."
  28223. msgstr ""
  28224. #. type: item
  28225. #: guix-git/doc/guix.texi:19154
  28226. #, no-wrap
  28227. msgid "@code{package} (default: @var{webssh})"
  28228. msgstr ""
  28229. #. type: table
  28230. #: guix-git/doc/guix.texi:19156
  28231. msgid "@code{webssh} package to use."
  28232. msgstr ""
  28233. #. type: item
  28234. #: guix-git/doc/guix.texi:19157
  28235. #, no-wrap
  28236. msgid "@code{user-name} (default: @var{\"webssh\"})"
  28237. msgstr ""
  28238. #. type: table
  28239. #: guix-git/doc/guix.texi:19160
  28240. msgid "User name or user ID that file transfers to and from that module should take place."
  28241. msgstr ""
  28242. #. type: item
  28243. #: guix-git/doc/guix.texi:19161
  28244. #, no-wrap
  28245. msgid "@code{group-name} (default: @var{\"webssh\"})"
  28246. msgstr ""
  28247. #. type: item
  28248. #: guix-git/doc/guix.texi:19164
  28249. #, no-wrap
  28250. msgid "@code{address} (default: @var{#f})"
  28251. msgstr ""
  28252. #. type: table
  28253. #: guix-git/doc/guix.texi:19166
  28254. msgid "IP address on which @command{webssh} listens for incoming connections."
  28255. msgstr ""
  28256. #. type: item
  28257. #: guix-git/doc/guix.texi:19167
  28258. #, no-wrap
  28259. msgid "@code{port} (default: @var{8888})"
  28260. msgstr ""
  28261. #. type: table
  28262. #: guix-git/doc/guix.texi:19169
  28263. msgid "TCP port on which @command{webssh} listens for incoming connections."
  28264. msgstr ""
  28265. #. type: item
  28266. #: guix-git/doc/guix.texi:19170
  28267. #, no-wrap
  28268. msgid "@code{policy} (default: @var{#f})"
  28269. msgstr ""
  28270. #. type: table
  28271. #: guix-git/doc/guix.texi:19172
  28272. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  28273. msgstr ""
  28274. #. type: item
  28275. #: guix-git/doc/guix.texi:19173
  28276. #, no-wrap
  28277. msgid "@code{known-hosts} (default: @var{'()})"
  28278. msgstr ""
  28279. #. type: table
  28280. #: guix-git/doc/guix.texi:19175
  28281. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  28282. msgstr ""
  28283. #. type: item
  28284. #: guix-git/doc/guix.texi:19176
  28285. #, no-wrap
  28286. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  28287. msgstr ""
  28288. #. type: table
  28289. #: guix-git/doc/guix.texi:19178
  28290. msgid "Name of the file where @command{webssh} writes its log file."
  28291. msgstr ""
  28292. #. type: item
  28293. #: guix-git/doc/guix.texi:19179
  28294. #, no-wrap
  28295. msgid "@code{log-level} (default: @var{#f})"
  28296. msgstr ""
  28297. #. type: table
  28298. #: guix-git/doc/guix.texi:19181
  28299. msgid "Logging level."
  28300. msgstr ""
  28301. #. type: defvr
  28302. #: guix-git/doc/guix.texi:19185
  28303. #, no-wrap
  28304. msgid "{Scheme Variable} %facebook-host-aliases"
  28305. msgstr ""
  28306. #. type: defvr
  28307. #: guix-git/doc/guix.texi:19191
  28308. msgid "This variable contains a string for use in @file{/etc/hosts} (@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}."
  28309. msgstr ""
  28310. #. type: defvr
  28311. #: guix-git/doc/guix.texi:19195
  28312. msgid "This variable is typically used in the @code{hosts-file} field of an @code{operating-system} declaration (@pxref{operating-system Reference, @file{/etc/hosts}}):"
  28313. msgstr ""
  28314. #. type: lisp
  28315. #: guix-git/doc/guix.texi:19208
  28316. #, no-wrap
  28317. msgid ""
  28318. "(operating-system\n"
  28319. " (host-name \"mymachine\")\n"
  28320. " ;; ...\n"
  28321. " (hosts-file\n"
  28322. " ;; Create a /etc/hosts file with aliases for \"localhost\"\n"
  28323. " ;; and \"mymachine\", as well as for Facebook servers.\n"
  28324. " (plain-file \"hosts\"\n"
  28325. " (string-append (local-host-aliases host-name)\n"
  28326. " %facebook-host-aliases))))\n"
  28327. msgstr ""
  28328. #. type: defvr
  28329. #: guix-git/doc/guix.texi:19212
  28330. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  28331. msgstr ""
  28332. #. type: Plain text
  28333. #: guix-git/doc/guix.texi:19215
  28334. msgid "The @code{(gnu services avahi)} provides the following definition."
  28335. msgstr ""
  28336. #. type: defvr
  28337. #: guix-git/doc/guix.texi:19216
  28338. #, no-wrap
  28339. msgid "{Scheme Variable} avahi-service-type"
  28340. msgstr ""
  28341. #. type: defvr
  28342. #: guix-git/doc/guix.texi:19221
  28343. 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."
  28344. msgstr ""
  28345. #. type: defvr
  28346. #: guix-git/doc/guix.texi:19226
  28347. 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."
  28348. msgstr ""
  28349. #. type: defvr
  28350. #: guix-git/doc/guix.texi:19229
  28351. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  28352. msgstr ""
  28353. #. type: deftp
  28354. #: guix-git/doc/guix.texi:19231
  28355. #, no-wrap
  28356. msgid "{Data Type} avahi-configuration"
  28357. msgstr ""
  28358. #. type: deftp
  28359. #: guix-git/doc/guix.texi:19233
  28360. msgid "Data type representation the configuration for Avahi."
  28361. msgstr ""
  28362. #. type: item
  28363. #: guix-git/doc/guix.texi:19236
  28364. #, no-wrap
  28365. msgid "@code{host-name} (default: @code{#f})"
  28366. msgstr "@code{host-name} (default: @code{#f})"
  28367. #. type: table
  28368. #: guix-git/doc/guix.texi:19239
  28369. 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."
  28370. msgstr ""
  28371. #. type: item
  28372. #: guix-git/doc/guix.texi:19240 guix-git/doc/guix.texi:29565
  28373. #, no-wrap
  28374. msgid "@code{publish?} (default: @code{#t})"
  28375. msgstr "@code{publish?} (padrão: @code{#t})"
  28376. #. type: table
  28377. #: guix-git/doc/guix.texi:19243
  28378. msgid "When true, allow host names and services to be published (broadcast) over the network."
  28379. msgstr ""
  28380. #. type: item
  28381. #: guix-git/doc/guix.texi:19244
  28382. #, no-wrap
  28383. msgid "@code{publish-workstation?} (default: @code{#t})"
  28384. msgstr "@code{publish-workstation?} (padrão: @code{#t})"
  28385. #. type: table
  28386. #: guix-git/doc/guix.texi:19248
  28387. 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:"
  28388. msgstr ""
  28389. #. type: example
  28390. #: guix-git/doc/guix.texi:19251
  28391. #, no-wrap
  28392. msgid "avahi-browse _workstation._tcp\n"
  28393. msgstr ""
  28394. #. type: item
  28395. #: guix-git/doc/guix.texi:19253
  28396. #, no-wrap
  28397. msgid "@code{wide-area?} (default: @code{#f})"
  28398. msgstr "@code{wide-area?} (padrão: @code{#f})"
  28399. #. type: table
  28400. #: guix-git/doc/guix.texi:19255
  28401. msgid "When true, DNS-SD over unicast DNS is enabled."
  28402. msgstr ""
  28403. #. type: item
  28404. #: guix-git/doc/guix.texi:19256
  28405. #, no-wrap
  28406. msgid "@code{ipv4?} (default: @code{#t})"
  28407. msgstr "@code{ipv4?} (default: @code{#t})"
  28408. #. type: itemx
  28409. #: guix-git/doc/guix.texi:19257
  28410. #, no-wrap
  28411. msgid "@code{ipv6?} (default: @code{#t})"
  28412. msgstr "@code{ipv6?} (default: @code{#t})"
  28413. #. type: table
  28414. #: guix-git/doc/guix.texi:19259
  28415. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  28416. msgstr ""
  28417. #. type: item
  28418. #: guix-git/doc/guix.texi:19260
  28419. #, no-wrap
  28420. msgid "@code{domains-to-browse} (default: @code{'()})"
  28421. msgstr ""
  28422. #. type: table
  28423. #: guix-git/doc/guix.texi:19262
  28424. msgid "This is a list of domains to browse."
  28425. msgstr ""
  28426. #. type: deffn
  28427. #: guix-git/doc/guix.texi:19265
  28428. #, no-wrap
  28429. msgid "{Scheme Variable} openvswitch-service-type"
  28430. msgstr ""
  28431. #. type: deffn
  28432. #: guix-git/doc/guix.texi:19269
  28433. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  28434. msgstr ""
  28435. #. type: deftp
  28436. #: guix-git/doc/guix.texi:19271
  28437. #, no-wrap
  28438. msgid "{Data Type} openvswitch-configuration"
  28439. msgstr ""
  28440. #. type: deftp
  28441. #: guix-git/doc/guix.texi:19275
  28442. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  28443. msgstr ""
  28444. #. type: item
  28445. #: guix-git/doc/guix.texi:19277
  28446. #, no-wrap
  28447. msgid "@code{package} (default: @var{openvswitch})"
  28448. msgstr ""
  28449. #. type: table
  28450. #: guix-git/doc/guix.texi:19279
  28451. msgid "Package object of the Open vSwitch."
  28452. msgstr ""
  28453. #. type: defvr
  28454. #: guix-git/doc/guix.texi:19283
  28455. #, no-wrap
  28456. msgid "{Scheme Variable} pagekite-service-type"
  28457. msgstr ""
  28458. #. type: defvr
  28459. #: guix-git/doc/guix.texi:19288
  28460. 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."
  28461. msgstr ""
  28462. #. type: defvr
  28463. #: guix-git/doc/guix.texi:19290
  28464. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  28465. msgstr ""
  28466. #. type: lisp
  28467. #: guix-git/doc/guix.texi:19297
  28468. #, no-wrap
  28469. msgid ""
  28470. "(service pagekite-service-type\n"
  28471. " (pagekite-configuration\n"
  28472. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  28473. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  28474. " (extra-file \"/etc/pagekite.rc\")))\n"
  28475. msgstr ""
  28476. #. type: deftp
  28477. #: guix-git/doc/guix.texi:19300
  28478. #, no-wrap
  28479. msgid "{Data Type} pagekite-configuration"
  28480. msgstr ""
  28481. #. type: deftp
  28482. #: guix-git/doc/guix.texi:19302
  28483. msgid "Data type representing the configuration of PageKite."
  28484. msgstr ""
  28485. #. type: item
  28486. #: guix-git/doc/guix.texi:19304
  28487. #, no-wrap
  28488. msgid "@code{package} (default: @var{pagekite})"
  28489. msgstr ""
  28490. #. type: table
  28491. #: guix-git/doc/guix.texi:19306
  28492. msgid "Package object of PageKite."
  28493. msgstr ""
  28494. #. type: item
  28495. #: guix-git/doc/guix.texi:19307
  28496. #, no-wrap
  28497. msgid "@code{kitename} (default: @code{#f})"
  28498. msgstr ""
  28499. #. type: table
  28500. #: guix-git/doc/guix.texi:19309
  28501. msgid "PageKite name for authenticating to the frontend server."
  28502. msgstr ""
  28503. #. type: item
  28504. #: guix-git/doc/guix.texi:19310
  28505. #, no-wrap
  28506. msgid "@code{kitesecret} (default: @code{#f})"
  28507. msgstr ""
  28508. #. type: table
  28509. #: guix-git/doc/guix.texi:19313
  28510. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  28511. msgstr ""
  28512. #. type: item
  28513. #: guix-git/doc/guix.texi:19314
  28514. #, no-wrap
  28515. msgid "@code{frontend} (default: @code{#f})"
  28516. msgstr ""
  28517. #. type: table
  28518. #: guix-git/doc/guix.texi:19317
  28519. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  28520. msgstr ""
  28521. #. type: item
  28522. #: guix-git/doc/guix.texi:19318
  28523. #, no-wrap
  28524. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  28525. msgstr ""
  28526. #. type: table
  28527. #: guix-git/doc/guix.texi:19321
  28528. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  28529. msgstr ""
  28530. #. type: item
  28531. #: guix-git/doc/guix.texi:19322
  28532. #, no-wrap
  28533. msgid "@code{extra-file} (default: @code{#f})"
  28534. msgstr ""
  28535. #. type: table
  28536. #: guix-git/doc/guix.texi:19325
  28537. 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."
  28538. msgstr ""
  28539. #. type: defvr
  28540. #: guix-git/doc/guix.texi:19329
  28541. #, no-wrap
  28542. msgid "{Scheme Variable} yggdrasil-service-type"
  28543. msgstr ""
  28544. #. type: defvr
  28545. #: guix-git/doc/guix.texi:19333
  28546. 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."
  28547. msgstr ""
  28548. #. type: quotation
  28549. #: guix-git/doc/guix.texi:19340
  28550. 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}"
  28551. msgstr ""
  28552. #. type: defvr
  28553. #: guix-git/doc/guix.texi:19344
  28554. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  28555. msgstr ""
  28556. #. type: defvr
  28557. #: guix-git/doc/guix.texi:19348
  28558. 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})."
  28559. msgstr ""
  28560. #. type: lisp
  28561. #: guix-git/doc/guix.texi:19360
  28562. #, no-wrap
  28563. msgid ""
  28564. ";; part of the operating-system declaration\n"
  28565. "(service yggdrasil-service-type\n"
  28566. " (yggdrasil-configuration\n"
  28567. " (autoconf? #f) ;; use only the public peers\n"
  28568. " (json-config\n"
  28569. " ;; choose one from\n"
  28570. " ;; https://github.com/yggdrasil-network/public-peers\n"
  28571. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  28572. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  28573. " ))\n"
  28574. msgstr ""
  28575. #. type: example
  28576. #: guix-git/doc/guix.texi:19367
  28577. #, no-wrap
  28578. msgid ""
  28579. "# sample content for /etc/yggdrasil-private.conf\n"
  28580. "@{\n"
  28581. " # Your public encryption key. Your peers may ask you for this to put\n"
  28582. " # into their AllowedEncryptionPublicKeys configuration.\n"
  28583. " EncryptionPublicKey: 378dc5...\n"
  28584. "\n"
  28585. msgstr ""
  28586. #. type: example
  28587. #: guix-git/doc/guix.texi:19370
  28588. #, no-wrap
  28589. msgid ""
  28590. " # Your private encryption key. DO NOT share this with anyone!\n"
  28591. " EncryptionPrivateKey: 0777...\n"
  28592. "\n"
  28593. msgstr ""
  28594. #. type: example
  28595. #: guix-git/doc/guix.texi:19374
  28596. #, no-wrap
  28597. msgid ""
  28598. " # Your public signing key. You should not ordinarily need to share\n"
  28599. " # this with anyone.\n"
  28600. " SigningPublicKey: e1664...\n"
  28601. "\n"
  28602. msgstr ""
  28603. #. type: example
  28604. #: guix-git/doc/guix.texi:19378
  28605. #, no-wrap
  28606. msgid ""
  28607. " # Your private signing key. DO NOT share this with anyone!\n"
  28608. " SigningPrivateKey: 0589d...\n"
  28609. "@}\n"
  28610. msgstr ""
  28611. #. type: deftp
  28612. #: guix-git/doc/guix.texi:19381
  28613. #, no-wrap
  28614. msgid "{Data Type} yggdrasil-configuration"
  28615. msgstr ""
  28616. #. type: deftp
  28617. #: guix-git/doc/guix.texi:19383
  28618. msgid "Data type representing the configuration of Yggdrasil."
  28619. msgstr ""
  28620. #. type: item
  28621. #: guix-git/doc/guix.texi:19385
  28622. #, no-wrap
  28623. msgid "@code{package} (default: @code{yggdrasil})"
  28624. msgstr ""
  28625. #. type: table
  28626. #: guix-git/doc/guix.texi:19387
  28627. msgid "Package object of Yggdrasil."
  28628. msgstr ""
  28629. #. type: item
  28630. #: guix-git/doc/guix.texi:19388
  28631. #, no-wrap
  28632. msgid "@code{json-config} (default: @code{'()})"
  28633. msgstr ""
  28634. #. type: table
  28635. #: guix-git/doc/guix.texi:19394
  28636. 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."
  28637. msgstr ""
  28638. #. type: item
  28639. #: guix-git/doc/guix.texi:19395
  28640. #, no-wrap
  28641. msgid "@code{autoconf?} (default: @code{#f})"
  28642. msgstr ""
  28643. #. type: table
  28644. #: guix-git/doc/guix.texi:19398
  28645. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  28646. msgstr ""
  28647. #. type: table
  28648. #: guix-git/doc/guix.texi:19401
  28649. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  28650. msgstr ""
  28651. #. type: item
  28652. #: guix-git/doc/guix.texi:19402
  28653. #, no-wrap
  28654. msgid "@code{log-to} (default: @code{'stdout})"
  28655. msgstr ""
  28656. #. type: table
  28657. #: guix-git/doc/guix.texi:19406
  28658. 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."
  28659. msgstr ""
  28660. #. type: item
  28661. #: guix-git/doc/guix.texi:19407
  28662. #, no-wrap
  28663. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  28664. msgstr ""
  28665. #. type: table
  28666. #: guix-git/doc/guix.texi:19414
  28667. 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:"
  28668. msgstr ""
  28669. #. type: code{#1}
  28670. #: guix-git/doc/guix.texi:19416
  28671. #, no-wrap
  28672. msgid "EncryptionPublicKey"
  28673. msgstr ""
  28674. #. type: code{#1}
  28675. #: guix-git/doc/guix.texi:19417
  28676. #, no-wrap
  28677. msgid "EncryptionPrivateKey"
  28678. msgstr ""
  28679. #. type: code{#1}
  28680. #: guix-git/doc/guix.texi:19418
  28681. #, no-wrap
  28682. msgid "SigningPublicKey"
  28683. msgstr ""
  28684. #. type: code{#1}
  28685. #: guix-git/doc/guix.texi:19419
  28686. #, no-wrap
  28687. msgid "SigningPrivateKey"
  28688. msgstr ""
  28689. #. type: cindex
  28690. #: guix-git/doc/guix.texi:19424
  28691. #, no-wrap
  28692. msgid "IPFS"
  28693. msgstr ""
  28694. #. type: defvr
  28695. #: guix-git/doc/guix.texi:19425
  28696. #, fuzzy, no-wrap
  28697. msgid "{Scheme Variable} ipfs-service-type"
  28698. msgstr "guix-publish-service-type"
  28699. #. type: defvr
  28700. #: guix-git/doc/guix.texi:19429
  28701. 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."
  28702. msgstr ""
  28703. #. type: defvr
  28704. #: guix-git/doc/guix.texi:19431
  28705. msgid "Here's an example configuration, using some non-standard ports:"
  28706. msgstr ""
  28707. #. type: lisp
  28708. #: guix-git/doc/guix.texi:19437
  28709. #, no-wrap
  28710. msgid ""
  28711. "(service ipfs-service-type\n"
  28712. " (ipfs-configuration\n"
  28713. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  28714. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  28715. msgstr ""
  28716. #. type: deftp
  28717. #: guix-git/doc/guix.texi:19440
  28718. #, fuzzy, no-wrap
  28719. msgid "{Data Type} ipfs-configuration"
  28720. msgstr "build-machine {Data Type}"
  28721. #. type: deftp
  28722. #: guix-git/doc/guix.texi:19442
  28723. #, fuzzy
  28724. msgid "Data type representing the configuration of IPFS."
  28725. msgstr "Gerencie a configuração do sistema operacional."
  28726. #. type: item
  28727. #: guix-git/doc/guix.texi:19444
  28728. #, fuzzy, no-wrap
  28729. msgid "@code{package} (default: @code{go-ipfs})"
  28730. msgstr "@code{cache} (default: @code{#f})"
  28731. #. type: table
  28732. #: guix-git/doc/guix.texi:19446
  28733. msgid "Package object of IPFS."
  28734. msgstr ""
  28735. #. type: item
  28736. #: guix-git/doc/guix.texi:19447
  28737. #, fuzzy, no-wrap
  28738. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  28739. msgstr "@code{porta} (default: @code{15000})"
  28740. #. type: table
  28741. #: guix-git/doc/guix.texi:19449
  28742. msgid "Address of the gateway, in ‘multiaddress’ format."
  28743. msgstr ""
  28744. #. type: item
  28745. #: guix-git/doc/guix.texi:19450
  28746. #, fuzzy, no-wrap
  28747. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  28748. msgstr "@code{porta} (default: @code{15000})"
  28749. #. type: table
  28750. #: guix-git/doc/guix.texi:19452
  28751. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  28752. msgstr ""
  28753. #. type: cindex
  28754. #: guix-git/doc/guix.texi:19455
  28755. #, no-wrap
  28756. msgid "keepalived"
  28757. msgstr ""
  28758. #. type: deffn
  28759. #: guix-git/doc/guix.texi:19456
  28760. #, no-wrap
  28761. msgid "{Scheme Variable} keepalived-service-type"
  28762. msgstr ""
  28763. #. type: deffn
  28764. #: guix-git/doc/guix.texi:19461
  28765. 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:"
  28766. msgstr ""
  28767. #. type: lisp
  28768. #: guix-git/doc/guix.texi:19466
  28769. #, no-wrap
  28770. msgid ""
  28771. "(service keepalived-service-type\n"
  28772. " (keepalived-configuration\n"
  28773. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  28774. msgstr ""
  28775. #. type: deffn
  28776. #: guix-git/doc/guix.texi:19469
  28777. msgid "where @file{keepalived-master.conf}:"
  28778. msgstr ""
  28779. #. type: example
  28780. #: guix-git/doc/guix.texi:19481
  28781. #, no-wrap
  28782. msgid ""
  28783. "vrrp_instance my-group @{\n"
  28784. " state MASTER\n"
  28785. " interface enp9s0\n"
  28786. " virtual_router_id 100\n"
  28787. " priority 100\n"
  28788. " unicast_peer @{ 10.0.0.2 @}\n"
  28789. " virtual_ipaddress @{\n"
  28790. " 10.0.0.4/24\n"
  28791. " @}\n"
  28792. "@}\n"
  28793. msgstr ""
  28794. #. type: deffn
  28795. #: guix-git/doc/guix.texi:19484
  28796. msgid "and for backup machine:"
  28797. msgstr ""
  28798. #. type: lisp
  28799. #: guix-git/doc/guix.texi:19489
  28800. #, no-wrap
  28801. msgid ""
  28802. "(service keepalived-service-type\n"
  28803. " (keepalived-configuration\n"
  28804. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  28805. msgstr ""
  28806. #. type: deffn
  28807. #: guix-git/doc/guix.texi:19492
  28808. msgid "where @file{keepalived-backup.conf}:"
  28809. msgstr ""
  28810. #. type: example
  28811. #: guix-git/doc/guix.texi:19504
  28812. #, no-wrap
  28813. msgid ""
  28814. "vrrp_instance my-group @{\n"
  28815. " state BACKUP\n"
  28816. " interface enp9s0\n"
  28817. " virtual_router_id 100\n"
  28818. " priority 99\n"
  28819. " unicast_peer @{ 10.0.0.3 @}\n"
  28820. " virtual_ipaddress @{\n"
  28821. " 10.0.0.4/24\n"
  28822. " @}\n"
  28823. "@}\n"
  28824. msgstr ""
  28825. #. type: cindex
  28826. #: guix-git/doc/guix.texi:19510
  28827. #, no-wrap
  28828. msgid "unattended upgrades"
  28829. msgstr ""
  28830. #. type: cindex
  28831. #: guix-git/doc/guix.texi:19511
  28832. #, no-wrap
  28833. msgid "upgrades, unattended"
  28834. msgstr ""
  28835. #. type: Plain text
  28836. #: guix-git/doc/guix.texi:19516
  28837. 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:"
  28838. msgstr ""
  28839. #. type: itemize
  28840. #: guix-git/doc/guix.texi:19521
  28841. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  28842. msgstr ""
  28843. #. type: itemize
  28844. #: guix-git/doc/guix.texi:19525
  28845. 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;"
  28846. msgstr ""
  28847. #. type: itemize
  28848. #: guix-git/doc/guix.texi:19528
  28849. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  28850. msgstr ""
  28851. #. type: itemize
  28852. #: guix-git/doc/guix.texi:19531
  28853. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  28854. msgstr ""
  28855. #. type: Plain text
  28856. #: guix-git/doc/guix.texi:19536
  28857. 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:"
  28858. msgstr ""
  28859. #. type: lisp
  28860. #: guix-git/doc/guix.texi:19539
  28861. #, no-wrap
  28862. msgid "(service unattended-upgrade-service-type)\n"
  28863. msgstr ""
  28864. #. type: Plain text
  28865. #: guix-git/doc/guix.texi:19546
  28866. 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."
  28867. msgstr ""
  28868. #. type: Plain text
  28869. #: guix-git/doc/guix.texi:19552
  28870. 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."
  28871. msgstr ""
  28872. #. type: Plain text
  28873. #: guix-git/doc/guix.texi:19556
  28874. 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)."
  28875. msgstr ""
  28876. #. type: defvr
  28877. #: guix-git/doc/guix.texi:19557
  28878. #, no-wrap
  28879. msgid "{Scheme Variable} unattended-upgrade-service-type"
  28880. msgstr ""
  28881. #. type: defvr
  28882. #: guix-git/doc/guix.texi:19561
  28883. 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."
  28884. msgstr ""
  28885. #. type: defvr
  28886. #: guix-git/doc/guix.texi:19564
  28887. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  28888. msgstr ""
  28889. #. type: deftp
  28890. #: guix-git/doc/guix.texi:19566
  28891. #, no-wrap
  28892. msgid "{Data Type} unattended-upgrade-configuration"
  28893. msgstr ""
  28894. #. type: deftp
  28895. #: guix-git/doc/guix.texi:19569
  28896. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  28897. msgstr ""
  28898. #. type: item
  28899. #: guix-git/doc/guix.texi:19571
  28900. #, no-wrap
  28901. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  28902. msgstr ""
  28903. #. type: table
  28904. #: guix-git/doc/guix.texi:19575
  28905. 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})."
  28906. msgstr ""
  28907. #. type: item
  28908. #: guix-git/doc/guix.texi:19576
  28909. #, no-wrap
  28910. msgid "@code{channels} (default: @code{#~%default-channels})"
  28911. msgstr ""
  28912. #. type: table
  28913. #: guix-git/doc/guix.texi:19580
  28914. 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."
  28915. msgstr ""
  28916. #. type: item
  28917. #: guix-git/doc/guix.texi:19581
  28918. #, no-wrap
  28919. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  28920. msgstr ""
  28921. #. type: table
  28922. #: guix-git/doc/guix.texi:19584
  28923. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  28924. msgstr ""
  28925. #. type: table
  28926. #: guix-git/doc/guix.texi:19590
  28927. 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:"
  28928. msgstr ""
  28929. #. type: lisp
  28930. #: guix-git/doc/guix.texi:19596
  28931. #, no-wrap
  28932. msgid ""
  28933. "(unattended-upgrade-configuration\n"
  28934. " (operating-system-file\n"
  28935. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  28936. " \"/config.scm\")))\n"
  28937. msgstr ""
  28938. #. type: table
  28939. #: guix-git/doc/guix.texi:19603
  28940. 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}."
  28941. msgstr ""
  28942. #. type: item
  28943. #: guix-git/doc/guix.texi:19604
  28944. #, no-wrap
  28945. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  28946. msgstr ""
  28947. #. type: table
  28948. #: guix-git/doc/guix.texi:19607
  28949. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  28950. msgstr ""
  28951. #. type: table
  28952. #: guix-git/doc/guix.texi:19614
  28953. 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."
  28954. msgstr ""
  28955. #. type: table
  28956. #: guix-git/doc/guix.texi:19618
  28957. 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}."
  28958. msgstr ""
  28959. #. type: table
  28960. #: guix-git/doc/guix.texi:19621
  28961. 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."
  28962. msgstr ""
  28963. #. type: item
  28964. #: guix-git/doc/guix.texi:19622
  28965. #, no-wrap
  28966. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  28967. msgstr ""
  28968. #. type: table
  28969. #: guix-git/doc/guix.texi:19626
  28970. 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."
  28971. msgstr ""
  28972. #. type: quotation
  28973. #: guix-git/doc/guix.texi:19631
  28974. 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."
  28975. msgstr ""
  28976. #. type: item
  28977. #: guix-git/doc/guix.texi:19633
  28978. #, no-wrap
  28979. msgid "@code{maximum-duration} (default: @code{3600})"
  28980. msgstr ""
  28981. #. type: table
  28982. #: guix-git/doc/guix.texi:19636
  28983. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  28984. msgstr ""
  28985. #. type: table
  28986. #: guix-git/doc/guix.texi:19639
  28987. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  28988. msgstr ""
  28989. #. type: item
  28990. #: guix-git/doc/guix.texi:19640
  28991. #, no-wrap
  28992. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  28993. msgstr ""
  28994. #. type: table
  28995. #: guix-git/doc/guix.texi:19642
  28996. msgid "File where unattended upgrades are logged."
  28997. msgstr ""
  28998. #. type: cindex
  28999. #: guix-git/doc/guix.texi:19648
  29000. #, no-wrap
  29001. msgid "X11"
  29002. msgstr ""
  29003. #. type: cindex
  29004. #: guix-git/doc/guix.texi:19649
  29005. #, no-wrap
  29006. msgid "X Window System"
  29007. msgstr ""
  29008. #. type: cindex
  29009. #: guix-git/doc/guix.texi:19650 guix-git/doc/guix.texi:19923
  29010. #, no-wrap
  29011. msgid "login manager"
  29012. msgstr ""
  29013. #. type: Plain text
  29014. #: guix-git/doc/guix.texi:19655
  29015. 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)."
  29016. msgstr ""
  29017. #. type: cindex
  29018. #: guix-git/doc/guix.texi:19656
  29019. #, no-wrap
  29020. msgid "GDM"
  29021. msgstr ""
  29022. #. type: cindex
  29023. #: guix-git/doc/guix.texi:19657
  29024. #, no-wrap
  29025. msgid "GNOME, login manager"
  29026. msgstr ""
  29027. #. type: Plain text
  29028. #: guix-git/doc/guix.texi:19661
  29029. 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."
  29030. msgstr ""
  29031. #. type: cindex
  29032. #: guix-git/doc/guix.texi:19662
  29033. #, no-wrap
  29034. msgid "window manager"
  29035. msgstr ""
  29036. #. type: Plain text
  29037. #: guix-git/doc/guix.texi:19667
  29038. 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})."
  29039. msgstr ""
  29040. #. type: anchor{#1}
  29041. #: guix-git/doc/guix.texi:19673
  29042. msgid "wayland-gdm"
  29043. msgstr ""
  29044. #. type: Plain text
  29045. #: guix-git/doc/guix.texi:19673
  29046. 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}."
  29047. msgstr ""
  29048. #. type: defvr
  29049. #: guix-git/doc/guix.texi:19674
  29050. #, no-wrap
  29051. msgid "{Scheme Variable} gdm-service-type"
  29052. msgstr ""
  29053. #. type: defvr
  29054. #: guix-git/doc/guix.texi:19679
  29055. 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)."
  29056. msgstr ""
  29057. #. type: cindex
  29058. #: guix-git/doc/guix.texi:19680
  29059. #, no-wrap
  29060. msgid "session types"
  29061. msgstr ""
  29062. #. type: defvr
  29063. #: guix-git/doc/guix.texi:19688
  29064. 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."
  29065. msgstr ""
  29066. #. type: defvr
  29067. #: guix-git/doc/guix.texi:19692
  29068. 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."
  29069. msgstr ""
  29070. #. type: deftp
  29071. #: guix-git/doc/guix.texi:19694
  29072. #, no-wrap
  29073. msgid "{Data Type} gdm-configuration"
  29074. msgstr ""
  29075. #. type: item
  29076. #: guix-git/doc/guix.texi:19696 guix-git/doc/guix.texi:19778
  29077. #, no-wrap
  29078. msgid "@code{auto-login?} (default: @code{#f})"
  29079. msgstr ""
  29080. #. type: itemx
  29081. #: guix-git/doc/guix.texi:19697
  29082. #, no-wrap
  29083. msgid "@code{default-user} (default: @code{#f})"
  29084. msgstr ""
  29085. #. type: table
  29086. #: guix-git/doc/guix.texi:19699
  29087. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  29088. msgstr ""
  29089. #. type: table
  29090. #: guix-git/doc/guix.texi:19702
  29091. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  29092. msgstr ""
  29093. #. type: item
  29094. #: guix-git/doc/guix.texi:19703 guix-git/doc/guix.texi:25597
  29095. #: guix-git/doc/guix.texi:27217 guix-git/doc/guix.texi:31731
  29096. #: guix-git/doc/guix.texi:31760 guix-git/doc/guix.texi:31789
  29097. #: guix-git/doc/guix.texi:31816 guix-git/doc/guix.texi:31871
  29098. #: guix-git/doc/guix.texi:31896 guix-git/doc/guix.texi:31923
  29099. #: guix-git/doc/guix.texi:31949 guix-git/doc/guix.texi:31991
  29100. #, no-wrap
  29101. msgid "@code{debug?} (default: @code{#f})"
  29102. msgstr "@code{debug?} (default: @code{#f})"
  29103. #. type: table
  29104. #: guix-git/doc/guix.texi:19705
  29105. msgid "When true, GDM writes debug messages to its log."
  29106. msgstr ""
  29107. #. type: item
  29108. #: guix-git/doc/guix.texi:19706
  29109. #, no-wrap
  29110. msgid "@code{gnome-shell-assets} (default: ...)"
  29111. msgstr ""
  29112. #. type: table
  29113. #: guix-git/doc/guix.texi:19708
  29114. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  29115. msgstr ""
  29116. #. type: item
  29117. #: guix-git/doc/guix.texi:19709
  29118. #, no-wrap
  29119. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  29120. msgstr ""
  29121. #. type: table
  29122. #: guix-git/doc/guix.texi:19711 guix-git/doc/guix.texi:19805
  29123. #: guix-git/doc/guix.texi:19889
  29124. msgid "Configuration of the Xorg graphical server."
  29125. msgstr ""
  29126. #. type: item
  29127. #: guix-git/doc/guix.texi:19712
  29128. #, no-wrap
  29129. msgid "@code{xsession} (default: @code{(xinitrc)})"
  29130. msgstr ""
  29131. #. type: table
  29132. #: guix-git/doc/guix.texi:19714 guix-git/doc/guix.texi:19904
  29133. msgid "Script to run before starting a X session."
  29134. msgstr ""
  29135. #. type: item
  29136. #: guix-git/doc/guix.texi:19715
  29137. #, no-wrap
  29138. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  29139. msgstr ""
  29140. #. type: table
  29141. #: guix-git/doc/guix.texi:19717
  29142. msgid "File name of the @code{dbus-daemon} executable."
  29143. msgstr ""
  29144. #. type: item
  29145. #: guix-git/doc/guix.texi:19718
  29146. #, no-wrap
  29147. msgid "@code{gdm} (default: @code{gdm})"
  29148. msgstr "@code{gdm} (default: @code{gdm})"
  29149. #. type: table
  29150. #: guix-git/doc/guix.texi:19720
  29151. msgid "The GDM package to use."
  29152. msgstr ""
  29153. #. type: item
  29154. #: guix-git/doc/guix.texi:19721
  29155. #, fuzzy, no-wrap
  29156. #| msgid "@code{node} (default: @code{#f})"
  29157. msgid "@code{wayland?} (default: @code{#f})"
  29158. msgstr "@code{node} (default: @code{#f})"
  29159. #. type: table
  29160. #: guix-git/doc/guix.texi:19723
  29161. msgid "When true, enables Wayland in GDM, necessary to use Wayland sessions."
  29162. msgstr ""
  29163. #. type: item
  29164. #: guix-git/doc/guix.texi:19724
  29165. #, fuzzy, no-wrap
  29166. msgid "@code{wayland-session} (default: @code{gdm-wayland-session-wrapper})"
  29167. msgstr "@code{tmpdir} (default: @code{#f})"
  29168. #. type: table
  29169. #: guix-git/doc/guix.texi:19727
  29170. msgid "The Wayland session wrapper to use, needed to setup the environment."
  29171. msgstr ""
  29172. #. type: defvr
  29173. #: guix-git/doc/guix.texi:19730
  29174. #, no-wrap
  29175. msgid "{Scheme Variable} slim-service-type"
  29176. msgstr ""
  29177. #. type: defvr
  29178. #: guix-git/doc/guix.texi:19732
  29179. msgid "This is the type for the SLiM graphical login manager for X11."
  29180. msgstr ""
  29181. #. type: defvr
  29182. #: guix-git/doc/guix.texi:19736
  29183. 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."
  29184. msgstr ""
  29185. #. type: defvr
  29186. #: guix-git/doc/guix.texi:19743
  29187. 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."
  29188. msgstr ""
  29189. #. type: lisp
  29190. #: guix-git/doc/guix.texi:19748
  29191. #, no-wrap
  29192. msgid ""
  29193. "(use-modules (gnu services)\n"
  29194. " (gnu services desktop)\n"
  29195. " (gnu services xorg))\n"
  29196. "\n"
  29197. msgstr ""
  29198. #. type: lisp
  29199. #: guix-git/doc/guix.texi:19759
  29200. #, no-wrap
  29201. msgid ""
  29202. "(operating-system\n"
  29203. " ;; ...\n"
  29204. " (services (cons* (service slim-service-type (slim-configuration\n"
  29205. " (display \":0\")\n"
  29206. " (vt \"vt7\")))\n"
  29207. " (service slim-service-type (slim-configuration\n"
  29208. " (display \":1\")\n"
  29209. " (vt \"vt8\")))\n"
  29210. " (modify-services %desktop-services\n"
  29211. " (delete gdm-service-type)))))\n"
  29212. msgstr ""
  29213. #. type: deftp
  29214. #: guix-git/doc/guix.texi:19763
  29215. #, no-wrap
  29216. msgid "{Data Type} slim-configuration"
  29217. msgstr ""
  29218. #. type: deftp
  29219. #: guix-git/doc/guix.texi:19765
  29220. msgid "Data type representing the configuration of @code{slim-service-type}."
  29221. msgstr ""
  29222. #. type: table
  29223. #: guix-git/doc/guix.texi:19769
  29224. msgid "Whether to allow logins with empty passwords."
  29225. msgstr ""
  29226. #. type: item
  29227. #: guix-git/doc/guix.texi:19770
  29228. #, fuzzy, no-wrap
  29229. #| msgid "@code{hangup?} (default: @code{#f})"
  29230. msgid "@code{gnupg?} (default: @code{#f})"
  29231. msgstr "@code{hangup?} (padrão: @code{#f})"
  29232. #. type: table
  29233. #: guix-git/doc/guix.texi:19777
  29234. 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}."
  29235. msgstr ""
  29236. #. type: itemx
  29237. #: guix-git/doc/guix.texi:19779
  29238. #, no-wrap
  29239. msgid "@code{default-user} (default: @code{\"\"})"
  29240. msgstr ""
  29241. #. type: table
  29242. #: guix-git/doc/guix.texi:19781
  29243. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  29244. msgstr ""
  29245. #. type: table
  29246. #: guix-git/doc/guix.texi:19784
  29247. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  29248. msgstr ""
  29249. #. type: item
  29250. #: guix-git/doc/guix.texi:19785
  29251. #, no-wrap
  29252. msgid "@code{theme} (default: @code{%default-slim-theme})"
  29253. msgstr ""
  29254. #. type: itemx
  29255. #: guix-git/doc/guix.texi:19786
  29256. #, no-wrap
  29257. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  29258. msgstr ""
  29259. #. type: table
  29260. #: guix-git/doc/guix.texi:19788
  29261. msgid "The graphical theme to use and its name."
  29262. msgstr ""
  29263. #. type: item
  29264. #: guix-git/doc/guix.texi:19789
  29265. #, no-wrap
  29266. msgid "@code{auto-login-session} (default: @code{#f})"
  29267. msgstr ""
  29268. #. type: table
  29269. #: guix-git/doc/guix.texi:19792
  29270. 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\")}."
  29271. msgstr ""
  29272. #. type: table
  29273. #: guix-git/doc/guix.texi:19796
  29274. 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."
  29275. msgstr ""
  29276. #. type: quotation
  29277. #: guix-git/doc/guix.texi:19801
  29278. 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."
  29279. msgstr ""
  29280. #. type: item
  29281. #: guix-git/doc/guix.texi:19803 guix-git/doc/guix.texi:19887
  29282. #, no-wrap
  29283. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  29284. msgstr ""
  29285. #. type: item
  29286. #: guix-git/doc/guix.texi:19806
  29287. #, no-wrap
  29288. msgid "@code{display} (default @code{\":0\"})"
  29289. msgstr ""
  29290. #. type: table
  29291. #: guix-git/doc/guix.texi:19808
  29292. msgid "The display on which to start the Xorg graphical server."
  29293. msgstr ""
  29294. #. type: item
  29295. #: guix-git/doc/guix.texi:19809
  29296. #, no-wrap
  29297. msgid "@code{vt} (default @code{\"vt7\"})"
  29298. msgstr ""
  29299. #. type: table
  29300. #: guix-git/doc/guix.texi:19811
  29301. msgid "The VT on which to start the Xorg graphical server."
  29302. msgstr ""
  29303. #. type: item
  29304. #: guix-git/doc/guix.texi:19812
  29305. #, no-wrap
  29306. msgid "@code{xauth} (default: @code{xauth})"
  29307. msgstr ""
  29308. #. type: table
  29309. #: guix-git/doc/guix.texi:19814
  29310. msgid "The XAuth package to use."
  29311. msgstr ""
  29312. #. type: item
  29313. #: guix-git/doc/guix.texi:19815
  29314. #, no-wrap
  29315. msgid "@code{shepherd} (default: @code{shepherd})"
  29316. msgstr ""
  29317. #. type: table
  29318. #: guix-git/doc/guix.texi:19818
  29319. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  29320. msgstr ""
  29321. #. type: item
  29322. #: guix-git/doc/guix.texi:19819
  29323. #, no-wrap
  29324. msgid "@code{sessreg} (default: @code{sessreg})"
  29325. msgstr ""
  29326. #. type: table
  29327. #: guix-git/doc/guix.texi:19821
  29328. msgid "The sessreg package used in order to register the session."
  29329. msgstr ""
  29330. #. type: item
  29331. #: guix-git/doc/guix.texi:19822
  29332. #, no-wrap
  29333. msgid "@code{slim} (default: @code{slim})"
  29334. msgstr ""
  29335. #. type: table
  29336. #: guix-git/doc/guix.texi:19824
  29337. msgid "The SLiM package to use."
  29338. msgstr ""
  29339. #. type: defvr
  29340. #: guix-git/doc/guix.texi:19827
  29341. #, no-wrap
  29342. msgid "{Scheme Variable} %default-theme"
  29343. msgstr ""
  29344. #. type: defvrx
  29345. #: guix-git/doc/guix.texi:19828
  29346. #, no-wrap
  29347. msgid "{Scheme Variable} %default-theme-name"
  29348. msgstr ""
  29349. #. type: defvr
  29350. #: guix-git/doc/guix.texi:19830
  29351. msgid "The default SLiM theme and its name."
  29352. msgstr ""
  29353. #. type: deftp
  29354. #: guix-git/doc/guix.texi:19833 guix-git/doc/guix.texi:19940
  29355. #, no-wrap
  29356. msgid "{Data Type} sddm-configuration"
  29357. msgstr ""
  29358. #. type: deftp
  29359. #: guix-git/doc/guix.texi:19835
  29360. msgid "This is the data type representing the SDDM service configuration."
  29361. msgstr ""
  29362. #. type: item
  29363. #: guix-git/doc/guix.texi:19837
  29364. #, no-wrap
  29365. msgid "@code{display-server} (default: \"x11\")"
  29366. msgstr ""
  29367. #. type: table
  29368. #: guix-git/doc/guix.texi:19840
  29369. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  29370. msgstr ""
  29371. #. type: item
  29372. #: guix-git/doc/guix.texi:19841
  29373. #, no-wrap
  29374. msgid "@code{numlock} (default: \"on\")"
  29375. msgstr ""
  29376. #. type: table
  29377. #: guix-git/doc/guix.texi:19843
  29378. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  29379. msgstr ""
  29380. #. type: item
  29381. #: guix-git/doc/guix.texi:19844
  29382. #, no-wrap
  29383. msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})"
  29384. msgstr ""
  29385. #. type: table
  29386. #: guix-git/doc/guix.texi:19846
  29387. msgid "Command to run when halting."
  29388. msgstr ""
  29389. #. type: item
  29390. #: guix-git/doc/guix.texi:19847
  29391. #, no-wrap
  29392. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  29393. msgstr ""
  29394. #. type: table
  29395. #: guix-git/doc/guix.texi:19849
  29396. msgid "Command to run when rebooting."
  29397. msgstr ""
  29398. #. type: item
  29399. #: guix-git/doc/guix.texi:19850
  29400. #, no-wrap
  29401. msgid "@code{theme} (default \"maldives\")"
  29402. msgstr ""
  29403. #. type: table
  29404. #: guix-git/doc/guix.texi:19853
  29405. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  29406. msgstr ""
  29407. #. type: item
  29408. #: guix-git/doc/guix.texi:19854
  29409. #, no-wrap
  29410. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  29411. msgstr ""
  29412. #. type: table
  29413. #: guix-git/doc/guix.texi:19856
  29414. msgid "Directory to look for themes."
  29415. msgstr ""
  29416. #. type: item
  29417. #: guix-git/doc/guix.texi:19857
  29418. #, no-wrap
  29419. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  29420. msgstr ""
  29421. #. type: table
  29422. #: guix-git/doc/guix.texi:19859
  29423. msgid "Directory to look for faces."
  29424. msgstr ""
  29425. #. type: item
  29426. #: guix-git/doc/guix.texi:19860
  29427. #, no-wrap
  29428. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  29429. msgstr ""
  29430. #. type: table
  29431. #: guix-git/doc/guix.texi:19862
  29432. msgid "Default PATH to use."
  29433. msgstr ""
  29434. #. type: item
  29435. #: guix-git/doc/guix.texi:19863
  29436. #, no-wrap
  29437. msgid "@code{minimum-uid} (default: 1000)"
  29438. msgstr ""
  29439. #. type: table
  29440. #: guix-git/doc/guix.texi:19865
  29441. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  29442. msgstr ""
  29443. #. type: item
  29444. #: guix-git/doc/guix.texi:19866
  29445. #, no-wrap
  29446. msgid "@code{maximum-uid} (default: 2000)"
  29447. msgstr ""
  29448. #. type: table
  29449. #: guix-git/doc/guix.texi:19868
  29450. msgid "Maximum UID to display in SDDM."
  29451. msgstr ""
  29452. #. type: item
  29453. #: guix-git/doc/guix.texi:19869
  29454. #, no-wrap
  29455. msgid "@code{remember-last-user?} (default #t)"
  29456. msgstr ""
  29457. #. type: table
  29458. #: guix-git/doc/guix.texi:19871
  29459. msgid "Remember last user."
  29460. msgstr ""
  29461. #. type: item
  29462. #: guix-git/doc/guix.texi:19872
  29463. #, no-wrap
  29464. msgid "@code{remember-last-session?} (default #t)"
  29465. msgstr ""
  29466. #. type: table
  29467. #: guix-git/doc/guix.texi:19874
  29468. msgid "Remember last session."
  29469. msgstr ""
  29470. #. type: item
  29471. #: guix-git/doc/guix.texi:19875
  29472. #, no-wrap
  29473. msgid "@code{hide-users} (default \"\")"
  29474. msgstr ""
  29475. #. type: table
  29476. #: guix-git/doc/guix.texi:19877
  29477. msgid "Usernames to hide from SDDM greeter."
  29478. msgstr ""
  29479. #. type: item
  29480. #: guix-git/doc/guix.texi:19878
  29481. #, no-wrap
  29482. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  29483. msgstr ""
  29484. #. type: table
  29485. #: guix-git/doc/guix.texi:19880
  29486. msgid "Users with shells listed will be hidden from the SDDM greeter."
  29487. msgstr ""
  29488. #. type: item
  29489. #: guix-git/doc/guix.texi:19881
  29490. #, no-wrap
  29491. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  29492. msgstr ""
  29493. #. type: table
  29494. #: guix-git/doc/guix.texi:19883
  29495. msgid "Script to run before starting a wayland session."
  29496. msgstr ""
  29497. #. type: item
  29498. #: guix-git/doc/guix.texi:19884
  29499. #, no-wrap
  29500. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  29501. msgstr ""
  29502. #. type: table
  29503. #: guix-git/doc/guix.texi:19886
  29504. msgid "Directory to look for desktop files starting wayland sessions."
  29505. msgstr ""
  29506. #. type: item
  29507. #: guix-git/doc/guix.texi:19890
  29508. #, no-wrap
  29509. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  29510. msgstr ""
  29511. #. type: table
  29512. #: guix-git/doc/guix.texi:19892
  29513. msgid "Path to xauth."
  29514. msgstr ""
  29515. #. type: item
  29516. #: guix-git/doc/guix.texi:19893
  29517. #, no-wrap
  29518. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  29519. msgstr ""
  29520. #. type: table
  29521. #: guix-git/doc/guix.texi:19895
  29522. msgid "Path to Xephyr."
  29523. msgstr ""
  29524. #. type: item
  29525. #: guix-git/doc/guix.texi:19896
  29526. #, no-wrap
  29527. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  29528. msgstr ""
  29529. #. type: table
  29530. #: guix-git/doc/guix.texi:19898
  29531. msgid "Script to run after starting xorg-server."
  29532. msgstr ""
  29533. #. type: item
  29534. #: guix-git/doc/guix.texi:19899
  29535. #, no-wrap
  29536. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  29537. msgstr ""
  29538. #. type: table
  29539. #: guix-git/doc/guix.texi:19901
  29540. msgid "Script to run before stopping xorg-server."
  29541. msgstr ""
  29542. #. type: item
  29543. #: guix-git/doc/guix.texi:19902
  29544. #, no-wrap
  29545. msgid "@code{xsession-command} (default: @code{xinitrc})"
  29546. msgstr ""
  29547. #. type: item
  29548. #: guix-git/doc/guix.texi:19905
  29549. #, no-wrap
  29550. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  29551. msgstr ""
  29552. #. type: table
  29553. #: guix-git/doc/guix.texi:19907
  29554. msgid "Directory to look for desktop files starting X sessions."
  29555. msgstr ""
  29556. #. type: item
  29557. #: guix-git/doc/guix.texi:19908
  29558. #, no-wrap
  29559. msgid "@code{minimum-vt} (default: 7)"
  29560. msgstr ""
  29561. #. type: table
  29562. #: guix-git/doc/guix.texi:19910
  29563. msgid "Minimum VT to use."
  29564. msgstr ""
  29565. #. type: item
  29566. #: guix-git/doc/guix.texi:19911
  29567. #, no-wrap
  29568. msgid "@code{auto-login-user} (default \"\")"
  29569. msgstr ""
  29570. #. type: table
  29571. #: guix-git/doc/guix.texi:19913
  29572. msgid "User to use for auto-login."
  29573. msgstr ""
  29574. #. type: item
  29575. #: guix-git/doc/guix.texi:19914
  29576. #, no-wrap
  29577. msgid "@code{auto-login-session} (default \"\")"
  29578. msgstr ""
  29579. #. type: table
  29580. #: guix-git/doc/guix.texi:19916
  29581. msgid "Desktop file to use for auto-login."
  29582. msgstr ""
  29583. #. type: item
  29584. #: guix-git/doc/guix.texi:19917
  29585. #, no-wrap
  29586. msgid "@code{relogin?} (default #f)"
  29587. msgstr ""
  29588. #. type: table
  29589. #: guix-git/doc/guix.texi:19919
  29590. msgid "Relogin after logout."
  29591. msgstr ""
  29592. #. type: cindex
  29593. #: guix-git/doc/guix.texi:19924
  29594. #, no-wrap
  29595. msgid "X11 login"
  29596. msgstr ""
  29597. #. type: defvr
  29598. #: guix-git/doc/guix.texi:19925
  29599. #, no-wrap
  29600. msgid "{Scheme Variable} sddm-service-type"
  29601. msgstr ""
  29602. #. type: defvr
  29603. #: guix-git/doc/guix.texi:19929
  29604. 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)."
  29605. msgstr ""
  29606. #. type: defvr
  29607. #: guix-git/doc/guix.texi:19931
  29608. msgid "Here's an example use:"
  29609. msgstr ""
  29610. #. type: lisp
  29611. #: guix-git/doc/guix.texi:19937
  29612. #, no-wrap
  29613. msgid ""
  29614. "(service sddm-service-type\n"
  29615. " (sddm-configuration\n"
  29616. " (auto-login-user \"alice\")\n"
  29617. " (auto-login-session \"xfce.desktop\")))\n"
  29618. msgstr ""
  29619. #. type: deftp
  29620. #: guix-git/doc/guix.texi:19943
  29621. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  29622. msgstr ""
  29623. #. type: item
  29624. #: guix-git/doc/guix.texi:19945
  29625. #, no-wrap
  29626. msgid "@code{sddm} (default: @code{sddm})"
  29627. msgstr ""
  29628. #. type: table
  29629. #: guix-git/doc/guix.texi:19947
  29630. msgid "The SDDM package to use."
  29631. msgstr ""
  29632. #. type: item
  29633. #: guix-git/doc/guix.texi:19948
  29634. #, no-wrap
  29635. msgid "@code{display-server} (default: @code{\"x11\"})"
  29636. msgstr ""
  29637. #. type: table
  29638. #: guix-git/doc/guix.texi:19950
  29639. msgid "This must be either @code{\"x11\"} or @code{\"wayland\"}."
  29640. msgstr ""
  29641. #. type: item
  29642. #: guix-git/doc/guix.texi:19953
  29643. #, no-wrap
  29644. msgid "@code{auto-login-user} (default: @code{\"\"})"
  29645. msgstr ""
  29646. #. type: table
  29647. #: guix-git/doc/guix.texi:19956
  29648. msgid "If non-empty, this is the user account under which to log in automatically."
  29649. msgstr ""
  29650. #. type: item
  29651. #: guix-git/doc/guix.texi:19957
  29652. #, no-wrap
  29653. msgid "@code{auto-login-session} (default: @code{\"\"})"
  29654. msgstr ""
  29655. #. type: table
  29656. #: guix-git/doc/guix.texi:19960
  29657. msgid "If non-empty, this is the @file{.desktop} file name to use as the auto-login session."
  29658. msgstr ""
  29659. #. type: cindex
  29660. #: guix-git/doc/guix.texi:19963
  29661. #, no-wrap
  29662. msgid "Xorg, configuration"
  29663. msgstr ""
  29664. #. type: deftp
  29665. #: guix-git/doc/guix.texi:19964
  29666. #, no-wrap
  29667. msgid "{Data Type} xorg-configuration"
  29668. msgstr ""
  29669. #. type: deftp
  29670. #: guix-git/doc/guix.texi:19969
  29671. 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, and SLiM@. Thus, the configuration of these display managers aggregates an @code{xorg-configuration} record."
  29672. msgstr ""
  29673. #. type: item
  29674. #: guix-git/doc/guix.texi:19971
  29675. #, no-wrap
  29676. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  29677. msgstr ""
  29678. #. type: table
  29679. #: guix-git/doc/guix.texi:19974
  29680. 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."
  29681. msgstr ""
  29682. #. type: item
  29683. #: guix-git/doc/guix.texi:19975
  29684. #, no-wrap
  29685. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  29686. msgstr ""
  29687. #. type: table
  29688. #: guix-git/doc/guix.texi:19977
  29689. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  29690. msgstr ""
  29691. #. type: item
  29692. #: guix-git/doc/guix.texi:19978
  29693. #, no-wrap
  29694. msgid "@code{drivers} (default: @code{'()})"
  29695. msgstr ""
  29696. #. type: table
  29697. #: guix-git/doc/guix.texi:19982
  29698. 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\")}."
  29699. msgstr ""
  29700. #. type: item
  29701. #: guix-git/doc/guix.texi:19983
  29702. #, no-wrap
  29703. msgid "@code{resolutions} (default: @code{'()})"
  29704. msgstr ""
  29705. #. type: table
  29706. #: guix-git/doc/guix.texi:19987
  29707. 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))}."
  29708. msgstr ""
  29709. #. type: cindex
  29710. #: guix-git/doc/guix.texi:19988
  29711. #, no-wrap
  29712. msgid "keyboard layout, for Xorg"
  29713. msgstr "disposição do teclado, para Xorg"
  29714. #. type: cindex
  29715. #: guix-git/doc/guix.texi:19989
  29716. #, no-wrap
  29717. msgid "keymap, for Xorg"
  29718. msgstr ""
  29719. #. type: table
  29720. #: guix-git/doc/guix.texi:19993
  29721. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  29722. msgstr ""
  29723. #. type: table
  29724. #: guix-git/doc/guix.texi:19997
  29725. 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."
  29726. msgstr ""
  29727. #. type: item
  29728. #: guix-git/doc/guix.texi:19998 guix-git/doc/guix.texi:21743
  29729. #: guix-git/doc/guix.texi:34597
  29730. #, no-wrap
  29731. msgid "@code{extra-config} (default: @code{'()})"
  29732. msgstr ""
  29733. #. type: table
  29734. #: guix-git/doc/guix.texi:20001 guix-git/doc/guix.texi:34601
  29735. 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."
  29736. msgstr ""
  29737. #. type: item
  29738. #: guix-git/doc/guix.texi:20002
  29739. #, no-wrap
  29740. msgid "@code{server} (default: @code{xorg-server})"
  29741. msgstr ""
  29742. #. type: table
  29743. #: guix-git/doc/guix.texi:20004
  29744. msgid "This is the package providing the Xorg server."
  29745. msgstr ""
  29746. #. type: item
  29747. #: guix-git/doc/guix.texi:20005
  29748. #, no-wrap
  29749. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  29750. msgstr ""
  29751. #. type: table
  29752. #: guix-git/doc/guix.texi:20008
  29753. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  29754. msgstr ""
  29755. #. type: deffn
  29756. #: guix-git/doc/guix.texi:20011
  29757. #, no-wrap
  29758. msgid "{Scheme Procedure} set-xorg-configuration @var{config} @"
  29759. msgstr ""
  29760. #. type: deffn
  29761. #: guix-git/doc/guix.texi:20015
  29762. msgid "[@var{login-manager-service-type}] Tell the log-in manager (of type @var{login-manager-service-type}) to use @var{config}, an @code{<xorg-configuration>} record."
  29763. msgstr ""
  29764. #. type: deffn
  29765. #: guix-git/doc/guix.texi:20019
  29766. 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."
  29767. msgstr ""
  29768. #. type: deffn
  29769. #: guix-git/doc/guix.texi:20021
  29770. #, no-wrap
  29771. msgid "{Scheme Procedure} xorg-start-command [@var{config}]"
  29772. msgstr ""
  29773. #. type: deffn
  29774. #: guix-git/doc/guix.texi:20025
  29775. 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}."
  29776. msgstr ""
  29777. #. type: deffn
  29778. #: guix-git/doc/guix.texi:20027
  29779. msgid "Usually the X server is started by a login manager."
  29780. msgstr ""
  29781. #. type: deffn
  29782. #: guix-git/doc/guix.texi:20030
  29783. #, no-wrap
  29784. msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]"
  29785. msgstr ""
  29786. #. type: deffn
  29787. #: guix-git/doc/guix.texi:20034
  29788. msgid "Add @var{package}, a package for a screen locker or screen saver whose command is @var{program}, to the set of setuid programs and add a PAM entry for it. For example:"
  29789. msgstr ""
  29790. #. type: lisp
  29791. #: guix-git/doc/guix.texi:20037
  29792. #, no-wrap
  29793. msgid "(screen-locker-service xlockmore \"xlock\")\n"
  29794. msgstr ""
  29795. #. type: deffn
  29796. #: guix-git/doc/guix.texi:20040
  29797. msgid "makes the good ol' XlockMore usable."
  29798. msgstr ""
  29799. #. type: cindex
  29800. #: guix-git/doc/guix.texi:20046
  29801. #, no-wrap
  29802. msgid "printer support with CUPS"
  29803. msgstr ""
  29804. #. type: Plain text
  29805. #: guix-git/doc/guix.texi:20050
  29806. 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:"
  29807. msgstr ""
  29808. #. type: deffn
  29809. #: guix-git/doc/guix.texi:20051
  29810. #, no-wrap
  29811. msgid "{Scheme Variable} cups-service-type"
  29812. msgstr ""
  29813. #. type: deffn
  29814. #: guix-git/doc/guix.texi:20055
  29815. 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:"
  29816. msgstr ""
  29817. #. type: lisp
  29818. #: guix-git/doc/guix.texi:20057
  29819. #, no-wrap
  29820. msgid "(service cups-service-type)\n"
  29821. msgstr ""
  29822. #. type: Plain text
  29823. #: guix-git/doc/guix.texi:20067
  29824. 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."
  29825. msgstr ""
  29826. #. type: Plain text
  29827. #: guix-git/doc/guix.texi:20073
  29828. 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):"
  29829. msgstr ""
  29830. #. type: lisp
  29831. #: guix-git/doc/guix.texi:20080
  29832. #, no-wrap
  29833. msgid ""
  29834. "(service cups-service-type\n"
  29835. " (cups-configuration\n"
  29836. " (web-interface? #t)\n"
  29837. " (extensions\n"
  29838. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  29839. msgstr ""
  29840. #. type: Plain text
  29841. #: guix-git/doc/guix.texi:20085
  29842. msgid "Note: 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."
  29843. msgstr ""
  29844. #. type: Plain text
  29845. #: guix-git/doc/guix.texi:20092
  29846. 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."
  29847. msgstr ""
  29848. #. type: Plain text
  29849. #: guix-git/doc/guix.texi:20103
  29850. msgid "Available @code{cups-configuration} fields are:"
  29851. msgstr ""
  29852. #. type: deftypevr
  29853. #: guix-git/doc/guix.texi:20104
  29854. #, no-wrap
  29855. msgid "{@code{cups-configuration} parameter} package cups"
  29856. msgstr ""
  29857. #. type: deftypevr
  29858. #: guix-git/doc/guix.texi:20106 guix-git/doc/guix.texi:20874
  29859. msgid "The CUPS package."
  29860. msgstr ""
  29861. #. type: deftypevr
  29862. #: guix-git/doc/guix.texi:20108
  29863. #, no-wrap
  29864. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  29865. msgstr ""
  29866. #. type: deftypevr
  29867. #: guix-git/doc/guix.texi:20110
  29868. msgid "Drivers and other extensions to the CUPS package."
  29869. msgstr ""
  29870. #. type: deftypevr
  29871. #: guix-git/doc/guix.texi:20112
  29872. #, no-wrap
  29873. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  29874. msgstr ""
  29875. #. type: deftypevr
  29876. #: guix-git/doc/guix.texi:20115
  29877. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  29878. msgstr ""
  29879. #. type: deftypevr
  29880. #: guix-git/doc/guix.texi:20117
  29881. msgid "Available @code{files-configuration} fields are:"
  29882. msgstr ""
  29883. #. type: deftypevr
  29884. #: guix-git/doc/guix.texi:20118
  29885. #, no-wrap
  29886. msgid "{@code{files-configuration} parameter} log-location access-log"
  29887. msgstr ""
  29888. #. type: deftypevr
  29889. #: guix-git/doc/guix.texi:20126
  29890. 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}."
  29891. msgstr ""
  29892. #. type: deftypevr
  29893. #: guix-git/doc/guix.texi:20128
  29894. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  29895. msgstr ""
  29896. #. type: deftypevr
  29897. #: guix-git/doc/guix.texi:20130
  29898. #, no-wrap
  29899. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  29900. msgstr ""
  29901. #. type: deftypevr
  29902. #: guix-git/doc/guix.texi:20132
  29903. msgid "Where CUPS should cache data."
  29904. msgstr ""
  29905. #. type: deftypevr
  29906. #: guix-git/doc/guix.texi:20134
  29907. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  29908. msgstr ""
  29909. #. type: deftypevr
  29910. #: guix-git/doc/guix.texi:20136
  29911. #, no-wrap
  29912. msgid "{@code{files-configuration} parameter} string config-file-perm"
  29913. msgstr ""
  29914. #. type: deftypevr
  29915. #: guix-git/doc/guix.texi:20139
  29916. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  29917. msgstr ""
  29918. #. type: deftypevr
  29919. #: guix-git/doc/guix.texi:20145
  29920. 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."
  29921. msgstr ""
  29922. #. type: deftypevr
  29923. #: guix-git/doc/guix.texi:20147
  29924. msgid "Defaults to @samp{\"0640\"}."
  29925. msgstr ""
  29926. #. type: deftypevr
  29927. #: guix-git/doc/guix.texi:20149
  29928. #, no-wrap
  29929. msgid "{@code{files-configuration} parameter} log-location error-log"
  29930. msgstr ""
  29931. #. type: deftypevr
  29932. #: guix-git/doc/guix.texi:20157
  29933. 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}."
  29934. msgstr ""
  29935. #. type: deftypevr
  29936. #: guix-git/doc/guix.texi:20159
  29937. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  29938. msgstr ""
  29939. #. type: deftypevr
  29940. #: guix-git/doc/guix.texi:20161
  29941. #, no-wrap
  29942. msgid "{@code{files-configuration} parameter} string fatal-errors"
  29943. msgstr ""
  29944. #. type: deftypevr
  29945. #: guix-git/doc/guix.texi:20164
  29946. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  29947. msgstr ""
  29948. #. type: table
  29949. #: guix-git/doc/guix.texi:20168
  29950. msgid "No errors are fatal."
  29951. msgstr ""
  29952. #. type: table
  29953. #: guix-git/doc/guix.texi:20171
  29954. msgid "All of the errors below are fatal."
  29955. msgstr ""
  29956. #. type: item
  29957. #: guix-git/doc/guix.texi:20172
  29958. #, no-wrap
  29959. msgid "browse"
  29960. msgstr ""
  29961. #. type: table
  29962. #: guix-git/doc/guix.texi:20175
  29963. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  29964. msgstr ""
  29965. #. type: item
  29966. #: guix-git/doc/guix.texi:20176
  29967. #, no-wrap
  29968. msgid "config"
  29969. msgstr "config"
  29970. #. type: table
  29971. #: guix-git/doc/guix.texi:20178
  29972. msgid "Configuration file syntax errors are fatal."
  29973. msgstr ""
  29974. #. type: item
  29975. #: guix-git/doc/guix.texi:20179
  29976. #, no-wrap
  29977. msgid "listen"
  29978. msgstr ""
  29979. #. type: table
  29980. #: guix-git/doc/guix.texi:20182
  29981. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  29982. msgstr ""
  29983. #. type: item
  29984. #: guix-git/doc/guix.texi:20183
  29985. #, no-wrap
  29986. msgid "log"
  29987. msgstr ""
  29988. #. type: table
  29989. #: guix-git/doc/guix.texi:20185
  29990. msgid "Log file creation or write errors are fatal."
  29991. msgstr ""
  29992. #. type: item
  29993. #: guix-git/doc/guix.texi:20186
  29994. #, no-wrap
  29995. msgid "permissions"
  29996. msgstr ""
  29997. #. type: table
  29998. #: guix-git/doc/guix.texi:20189
  29999. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  30000. msgstr ""
  30001. #. type: deftypevr
  30002. #: guix-git/doc/guix.texi:20192
  30003. msgid "Defaults to @samp{\"all -browse\"}."
  30004. msgstr ""
  30005. #. type: deftypevr
  30006. #: guix-git/doc/guix.texi:20194
  30007. #, no-wrap
  30008. msgid "{@code{files-configuration} parameter} boolean file-device?"
  30009. msgstr ""
  30010. #. type: deftypevr
  30011. #: guix-git/doc/guix.texi:20197
  30012. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  30013. msgstr ""
  30014. #. type: deftypevr
  30015. #: guix-git/doc/guix.texi:20201
  30016. #, no-wrap
  30017. msgid "{@code{files-configuration} parameter} string group"
  30018. msgstr ""
  30019. #. type: deftypevr
  30020. #: guix-git/doc/guix.texi:20204
  30021. msgid "Specifies the group name or ID that will be used when executing external programs."
  30022. msgstr ""
  30023. #. type: deftypevr
  30024. #: guix-git/doc/guix.texi:20206 guix-git/doc/guix.texi:20292
  30025. msgid "Defaults to @samp{\"lp\"}."
  30026. msgstr ""
  30027. #. type: deftypevr
  30028. #: guix-git/doc/guix.texi:20208
  30029. #, no-wrap
  30030. msgid "{@code{files-configuration} parameter} string log-file-group"
  30031. msgstr ""
  30032. #. type: deftypevr
  30033. #: guix-git/doc/guix.texi:20210
  30034. msgid "Specifies the group name or ID that will be used for log files."
  30035. msgstr ""
  30036. #. type: deftypevr
  30037. #: guix-git/doc/guix.texi:20212
  30038. msgid "Defaults to @samp{\"lpadmin\"}."
  30039. msgstr ""
  30040. #. type: deftypevr
  30041. #: guix-git/doc/guix.texi:20214
  30042. #, no-wrap
  30043. msgid "{@code{files-configuration} parameter} string log-file-perm"
  30044. msgstr ""
  30045. #. type: deftypevr
  30046. #: guix-git/doc/guix.texi:20216
  30047. msgid "Specifies the permissions for all log files that the scheduler writes."
  30048. msgstr ""
  30049. #. type: deftypevr
  30050. #: guix-git/doc/guix.texi:20218
  30051. msgid "Defaults to @samp{\"0644\"}."
  30052. msgstr ""
  30053. #. type: deftypevr
  30054. #: guix-git/doc/guix.texi:20220
  30055. #, no-wrap
  30056. msgid "{@code{files-configuration} parameter} log-location page-log"
  30057. msgstr ""
  30058. #. type: deftypevr
  30059. #: guix-git/doc/guix.texi:20228
  30060. 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}."
  30061. msgstr ""
  30062. #. type: deftypevr
  30063. #: guix-git/doc/guix.texi:20230
  30064. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  30065. msgstr ""
  30066. #. type: deftypevr
  30067. #: guix-git/doc/guix.texi:20232
  30068. #, no-wrap
  30069. msgid "{@code{files-configuration} parameter} string remote-root"
  30070. msgstr ""
  30071. #. type: deftypevr
  30072. #: guix-git/doc/guix.texi:20235
  30073. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  30074. msgstr ""
  30075. #. type: deftypevr
  30076. #: guix-git/doc/guix.texi:20237
  30077. msgid "Defaults to @samp{\"remroot\"}."
  30078. msgstr ""
  30079. #. type: deftypevr
  30080. #: guix-git/doc/guix.texi:20239
  30081. #, no-wrap
  30082. msgid "{@code{files-configuration} parameter} file-name request-root"
  30083. msgstr ""
  30084. #. type: deftypevr
  30085. #: guix-git/doc/guix.texi:20242
  30086. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  30087. msgstr ""
  30088. #. type: deftypevr
  30089. #: guix-git/doc/guix.texi:20244
  30090. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  30091. msgstr ""
  30092. #. type: deftypevr
  30093. #: guix-git/doc/guix.texi:20246
  30094. #, no-wrap
  30095. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  30096. msgstr ""
  30097. #. type: deftypevr
  30098. #: guix-git/doc/guix.texi:20251
  30099. 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."
  30100. msgstr ""
  30101. #. type: deftypevr
  30102. #: guix-git/doc/guix.texi:20253
  30103. msgid "Defaults to @samp{strict}."
  30104. msgstr ""
  30105. #. type: deftypevr
  30106. #: guix-git/doc/guix.texi:20255
  30107. #, no-wrap
  30108. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  30109. msgstr ""
  30110. #. type: deftypevr
  30111. #: guix-git/doc/guix.texi:20260
  30112. 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."
  30113. msgstr ""
  30114. #. type: deftypevr
  30115. #: guix-git/doc/guix.texi:20262
  30116. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  30117. msgstr ""
  30118. #. type: deftypevr
  30119. #: guix-git/doc/guix.texi:20264
  30120. #, no-wrap
  30121. msgid "{@code{files-configuration} parameter} file-name server-root"
  30122. msgstr ""
  30123. #. type: deftypevr
  30124. #: guix-git/doc/guix.texi:20266
  30125. msgid "Specifies the directory containing the server configuration files."
  30126. msgstr ""
  30127. #. type: deftypevr
  30128. #: guix-git/doc/guix.texi:20268
  30129. msgid "Defaults to @samp{\"/etc/cups\"}."
  30130. msgstr ""
  30131. #. type: deftypevr
  30132. #: guix-git/doc/guix.texi:20270
  30133. #, no-wrap
  30134. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  30135. msgstr ""
  30136. #. type: deftypevr
  30137. #: guix-git/doc/guix.texi:20273
  30138. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  30139. msgstr ""
  30140. #. type: deftypevr
  30141. #: guix-git/doc/guix.texi:20277
  30142. #, no-wrap
  30143. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  30144. msgstr ""
  30145. #. type: deftypevr
  30146. #: guix-git/doc/guix.texi:20279
  30147. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  30148. msgstr ""
  30149. #. type: deftypevr
  30150. #: guix-git/doc/guix.texi:20281
  30151. #, no-wrap
  30152. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  30153. msgstr ""
  30154. #. type: deftypevr
  30155. #: guix-git/doc/guix.texi:20283
  30156. msgid "Specifies the directory where temporary files are stored."
  30157. msgstr ""
  30158. #. type: deftypevr
  30159. #: guix-git/doc/guix.texi:20285
  30160. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  30161. msgstr ""
  30162. #. type: deftypevr
  30163. #: guix-git/doc/guix.texi:20287
  30164. #, no-wrap
  30165. msgid "{@code{files-configuration} parameter} string user"
  30166. msgstr ""
  30167. #. type: deftypevr
  30168. #: guix-git/doc/guix.texi:20290
  30169. msgid "Specifies the user name or ID that is used when running external programs."
  30170. msgstr ""
  30171. #. type: deftypevr
  30172. #: guix-git/doc/guix.texi:20294
  30173. #, no-wrap
  30174. msgid "{@code{files-configuration} parameter} string set-env"
  30175. msgstr ""
  30176. #. type: deftypevr
  30177. #: guix-git/doc/guix.texi:20296
  30178. msgid "Set the specified environment variable to be passed to child processes."
  30179. msgstr ""
  30180. #. type: deftypevr
  30181. #: guix-git/doc/guix.texi:20298
  30182. msgid "Defaults to @samp{\"variable value\"}."
  30183. msgstr ""
  30184. #. type: deftypevr
  30185. #: guix-git/doc/guix.texi:20301
  30186. #, no-wrap
  30187. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  30188. msgstr ""
  30189. #. type: deftypevr
  30190. #: guix-git/doc/guix.texi:20308
  30191. 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."
  30192. msgstr ""
  30193. #. type: deftypevr
  30194. #: guix-git/doc/guix.texi:20310
  30195. msgid "Defaults to @samp{actions}."
  30196. msgstr ""
  30197. #. type: deftypevr
  30198. #: guix-git/doc/guix.texi:20312
  30199. #, no-wrap
  30200. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  30201. msgstr ""
  30202. #. type: deftypevr
  30203. #: guix-git/doc/guix.texi:20315
  30204. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  30205. msgstr ""
  30206. #. type: deftypevr
  30207. #: guix-git/doc/guix.texi:20319
  30208. #, no-wrap
  30209. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  30210. msgstr ""
  30211. #. type: deftypevr
  30212. #: guix-git/doc/guix.texi:20323
  30213. msgid "Specifies a list of DNS-SD sub-types to advertise for each shared printer. For example, @samp{\"_cups\" \"_print\"} will tell network clients that both CUPS sharing and IPP Everywhere are supported."
  30214. msgstr ""
  30215. #. type: deftypevr
  30216. #: guix-git/doc/guix.texi:20325
  30217. msgid "Defaults to @samp{\"_cups\"}."
  30218. msgstr ""
  30219. #. type: deftypevr
  30220. #: guix-git/doc/guix.texi:20327
  30221. #, no-wrap
  30222. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  30223. msgstr ""
  30224. #. type: deftypevr
  30225. #: guix-git/doc/guix.texi:20329
  30226. msgid "Specifies which protocols to use for local printer sharing."
  30227. msgstr ""
  30228. #. type: deftypevr
  30229. #: guix-git/doc/guix.texi:20331
  30230. msgid "Defaults to @samp{dnssd}."
  30231. msgstr ""
  30232. #. type: deftypevr
  30233. #: guix-git/doc/guix.texi:20333
  30234. #, no-wrap
  30235. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  30236. msgstr ""
  30237. #. type: deftypevr
  30238. #: guix-git/doc/guix.texi:20335
  30239. msgid "Specifies whether the CUPS web interface is advertised."
  30240. msgstr ""
  30241. #. type: deftypevr
  30242. #: guix-git/doc/guix.texi:20339
  30243. #, no-wrap
  30244. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  30245. msgstr ""
  30246. #. type: deftypevr
  30247. #: guix-git/doc/guix.texi:20341
  30248. msgid "Specifies whether shared printers are advertised."
  30249. msgstr ""
  30250. #. type: deftypevr
  30251. #: guix-git/doc/guix.texi:20345
  30252. #, no-wrap
  30253. msgid "{@code{cups-configuration} parameter} string classification"
  30254. msgstr ""
  30255. #. type: deftypevr
  30256. #: guix-git/doc/guix.texi:20350
  30257. msgid "Specifies the security classification of the server. Any valid banner name can be used, including @samp{\"classified\"}, @samp{\"confidential\"}, @samp{\"secret\"}, @samp{\"topsecret\"}, and @samp{\"unclassified\"}, or the banner can be omitted to disable secure printing functions."
  30258. msgstr ""
  30259. #. type: deftypevr
  30260. #: guix-git/doc/guix.texi:20352 guix-git/doc/guix.texi:20683
  30261. #: guix-git/doc/guix.texi:22700 guix-git/doc/guix.texi:22712
  30262. #: guix-git/doc/guix.texi:22740 guix-git/doc/guix.texi:23497
  30263. #: guix-git/doc/guix.texi:23511 guix-git/doc/guix.texi:23518
  30264. #: guix-git/doc/guix.texi:23525 guix-git/doc/guix.texi:23555
  30265. #: guix-git/doc/guix.texi:23653 guix-git/doc/guix.texi:30546
  30266. #: guix-git/doc/guix.texi:30554 guix-git/doc/guix.texi:30562
  30267. #: guix-git/doc/guix.texi:30570 guix-git/doc/guix.texi:30849
  30268. #: guix-git/doc/guix.texi:32208 guix-git/doc/guix.texi:32216
  30269. #: guix-git/doc/guix.texi:32224 guix-git/doc/guix.texi:32332
  30270. #: guix-git/doc/guix.texi:32357 guix-git/doc/guix.texi:32488
  30271. #: guix-git/doc/guix.texi:32496 guix-git/doc/guix.texi:32504
  30272. #: guix-git/doc/guix.texi:32512 guix-git/doc/guix.texi:32520
  30273. #: guix-git/doc/guix.texi:32528 guix-git/doc/guix.texi:32551
  30274. #: guix-git/doc/guix.texi:32559 guix-git/doc/guix.texi:32611
  30275. #: guix-git/doc/guix.texi:32627 guix-git/doc/guix.texi:32635
  30276. #: guix-git/doc/guix.texi:32674 guix-git/doc/guix.texi:32697
  30277. #: guix-git/doc/guix.texi:32719 guix-git/doc/guix.texi:32726
  30278. #: guix-git/doc/guix.texi:32761 guix-git/doc/guix.texi:32769
  30279. #: guix-git/doc/guix.texi:32793 guix-git/doc/guix.texi:32825
  30280. #: guix-git/doc/guix.texi:32854 guix-git/doc/guix.texi:32861
  30281. #: guix-git/doc/guix.texi:32868 guix-git/doc/guix.texi:32876
  30282. #: guix-git/doc/guix.texi:32890 guix-git/doc/guix.texi:32899
  30283. #: guix-git/doc/guix.texi:32909 guix-git/doc/guix.texi:32916
  30284. #: guix-git/doc/guix.texi:32923 guix-git/doc/guix.texi:32930
  30285. #: guix-git/doc/guix.texi:33001 guix-git/doc/guix.texi:33008
  30286. #: guix-git/doc/guix.texi:33015 guix-git/doc/guix.texi:33024
  30287. #: guix-git/doc/guix.texi:33040 guix-git/doc/guix.texi:33047
  30288. #: guix-git/doc/guix.texi:33054 guix-git/doc/guix.texi:33061
  30289. #: guix-git/doc/guix.texi:33069 guix-git/doc/guix.texi:33077
  30290. msgid "Defaults to @samp{\"\"}."
  30291. msgstr ""
  30292. #. type: deftypevr
  30293. #: guix-git/doc/guix.texi:20354
  30294. #, no-wrap
  30295. msgid "{@code{cups-configuration} parameter} boolean classify-override?"
  30296. msgstr ""
  30297. #. type: deftypevr
  30298. #: guix-git/doc/guix.texi:20357
  30299. msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option."
  30300. msgstr ""
  30301. #. type: deftypevr
  30302. #: guix-git/doc/guix.texi:20361
  30303. #, no-wrap
  30304. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  30305. msgstr ""
  30306. #. type: deftypevr
  30307. #: guix-git/doc/guix.texi:20363
  30308. msgid "Specifies the default type of authentication to use."
  30309. msgstr ""
  30310. #. type: deftypevr
  30311. #: guix-git/doc/guix.texi:20365
  30312. msgid "Defaults to @samp{Basic}."
  30313. msgstr ""
  30314. #. type: deftypevr
  30315. #: guix-git/doc/guix.texi:20367
  30316. #, no-wrap
  30317. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  30318. msgstr ""
  30319. #. type: deftypevr
  30320. #: guix-git/doc/guix.texi:20369
  30321. msgid "Specifies whether encryption will be used for authenticated requests."
  30322. msgstr ""
  30323. #. type: deftypevr
  30324. #: guix-git/doc/guix.texi:20371
  30325. msgid "Defaults to @samp{Required}."
  30326. msgstr ""
  30327. #. type: deftypevr
  30328. #: guix-git/doc/guix.texi:20373
  30329. #, no-wrap
  30330. msgid "{@code{cups-configuration} parameter} string default-language"
  30331. msgstr ""
  30332. #. type: deftypevr
  30333. #: guix-git/doc/guix.texi:20375
  30334. msgid "Specifies the default language to use for text and web content."
  30335. msgstr ""
  30336. #. type: deftypevr
  30337. #: guix-git/doc/guix.texi:20377
  30338. msgid "Defaults to @samp{\"en\"}."
  30339. msgstr ""
  30340. #. type: deftypevr
  30341. #: guix-git/doc/guix.texi:20379
  30342. #, no-wrap
  30343. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  30344. msgstr ""
  30345. #. type: deftypevr
  30346. #: guix-git/doc/guix.texi:20384
  30347. 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\"}."
  30348. msgstr ""
  30349. #. type: deftypevr
  30350. #: guix-git/doc/guix.texi:20386
  30351. msgid "Defaults to @samp{\"Auto\"}."
  30352. msgstr ""
  30353. #. type: deftypevr
  30354. #: guix-git/doc/guix.texi:20388
  30355. #, no-wrap
  30356. msgid "{@code{cups-configuration} parameter} string default-policy"
  30357. msgstr ""
  30358. #. type: deftypevr
  30359. #: guix-git/doc/guix.texi:20390
  30360. msgid "Specifies the default access policy to use."
  30361. msgstr ""
  30362. #. type: deftypevr
  30363. #: guix-git/doc/guix.texi:20392
  30364. msgid "Defaults to @samp{\"default\"}."
  30365. msgstr ""
  30366. #. type: deftypevr
  30367. #: guix-git/doc/guix.texi:20394
  30368. #, no-wrap
  30369. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  30370. msgstr ""
  30371. #. type: deftypevr
  30372. #: guix-git/doc/guix.texi:20396
  30373. msgid "Specifies whether local printers are shared by default."
  30374. msgstr ""
  30375. #. type: deftypevr
  30376. #: guix-git/doc/guix.texi:20398 guix-git/doc/guix.texi:20478
  30377. #: guix-git/doc/guix.texi:20768 guix-git/doc/guix.texi:23587
  30378. #: guix-git/doc/guix.texi:23638 guix-git/doc/guix.texi:23645
  30379. #: guix-git/doc/guix.texi:24927 guix-git/doc/guix.texi:25115
  30380. #: guix-git/doc/guix.texi:25232 guix-git/doc/guix.texi:25268
  30381. #: guix-git/doc/guix.texi:25319 guix-git/doc/guix.texi:25338
  30382. #: guix-git/doc/guix.texi:25348 guix-git/doc/guix.texi:25358
  30383. #: guix-git/doc/guix.texi:25417 guix-git/doc/guix.texi:25439
  30384. #: guix-git/doc/guix.texi:25464 guix-git/doc/guix.texi:25490
  30385. #: guix-git/doc/guix.texi:25508 guix-git/doc/guix.texi:28613
  30386. #: guix-git/doc/guix.texi:28641 guix-git/doc/guix.texi:28777
  30387. #: guix-git/doc/guix.texi:28784 guix-git/doc/guix.texi:28792
  30388. #: guix-git/doc/guix.texi:28829 guix-git/doc/guix.texi:28843
  30389. #: guix-git/doc/guix.texi:28932 guix-git/doc/guix.texi:28939
  30390. #: guix-git/doc/guix.texi:28947 guix-git/doc/guix.texi:29726
  30391. #: guix-git/doc/guix.texi:29866 guix-git/doc/guix.texi:30080
  30392. #: guix-git/doc/guix.texi:30087 guix-git/doc/guix.texi:30109
  30393. #: guix-git/doc/guix.texi:30148 guix-git/doc/guix.texi:30168
  30394. #: guix-git/doc/guix.texi:30182 guix-git/doc/guix.texi:30395
  30395. #: guix-git/doc/guix.texi:32310 guix-git/doc/guix.texi:32398
  30396. #: guix-git/doc/guix.texi:32414 guix-git/doc/guix.texi:32464
  30397. msgid "Defaults to @samp{#t}."
  30398. msgstr ""
  30399. #. type: deftypevr
  30400. #: guix-git/doc/guix.texi:20400
  30401. #, no-wrap
  30402. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  30403. msgstr ""
  30404. #. type: deftypevr
  30405. #: guix-git/doc/guix.texi:20404
  30406. 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."
  30407. msgstr ""
  30408. #. type: deftypevr
  30409. #: guix-git/doc/guix.texi:20406 guix-git/doc/guix.texi:20454
  30410. #: guix-git/doc/guix.texi:20463 guix-git/doc/guix.texi:20775
  30411. #: guix-git/doc/guix.texi:25277 guix-git/doc/guix.texi:25310
  30412. msgid "Defaults to @samp{30}."
  30413. msgstr ""
  30414. #. type: deftypevr
  30415. #: guix-git/doc/guix.texi:20408
  30416. #, no-wrap
  30417. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  30418. msgstr ""
  30419. #. type: deftypevr
  30420. #: guix-git/doc/guix.texi:20414
  30421. 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."
  30422. msgstr ""
  30423. #. type: deftypevr
  30424. #: guix-git/doc/guix.texi:20416
  30425. msgid "Defaults to @samp{stop-printer}."
  30426. msgstr ""
  30427. #. type: deftypevr
  30428. #: guix-git/doc/guix.texi:20418
  30429. #, no-wrap
  30430. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  30431. msgstr ""
  30432. #. type: deftypevr
  30433. #: guix-git/doc/guix.texi:20426
  30434. 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."
  30435. msgstr ""
  30436. #. type: deftypevr
  30437. #: guix-git/doc/guix.texi:20428 guix-git/doc/guix.texi:20436
  30438. #: guix-git/doc/guix.texi:20485 guix-git/doc/guix.texi:20601
  30439. #: guix-git/doc/guix.texi:20615 guix-git/doc/guix.texi:20622
  30440. #: guix-git/doc/guix.texi:22142 guix-git/doc/guix.texi:22158
  30441. #: guix-git/doc/guix.texi:22815 guix-git/doc/guix.texi:22827
  30442. #: guix-git/doc/guix.texi:23606 guix-git/doc/guix.texi:23615
  30443. #: guix-git/doc/guix.texi:23623 guix-git/doc/guix.texi:23631
  30444. #: guix-git/doc/guix.texi:29742 guix-git/doc/guix.texi:30095
  30445. #: guix-git/doc/guix.texi:32303 guix-git/doc/guix.texi:32603
  30446. #: guix-git/doc/guix.texi:32777
  30447. msgid "Defaults to @samp{0}."
  30448. msgstr ""
  30449. #. type: deftypevr
  30450. #: guix-git/doc/guix.texi:20430
  30451. #, no-wrap
  30452. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  30453. msgstr ""
  30454. #. type: deftypevr
  30455. #: guix-git/doc/guix.texi:20434
  30456. 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."
  30457. msgstr ""
  30458. #. type: deftypevr
  30459. #: guix-git/doc/guix.texi:20438
  30460. #, no-wrap
  30461. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  30462. msgstr ""
  30463. #. type: deftypevr
  30464. #: guix-git/doc/guix.texi:20445
  30465. 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."
  30466. msgstr ""
  30467. #. type: deftypevr
  30468. #: guix-git/doc/guix.texi:20449
  30469. #, no-wrap
  30470. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  30471. msgstr ""
  30472. #. type: deftypevr
  30473. #: guix-git/doc/guix.texi:20452
  30474. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  30475. msgstr ""
  30476. #. type: deftypevr
  30477. #: guix-git/doc/guix.texi:20456
  30478. #, no-wrap
  30479. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  30480. msgstr ""
  30481. #. type: deftypevr
  30482. #: guix-git/doc/guix.texi:20461
  30483. 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}."
  30484. msgstr ""
  30485. #. type: deftypevr
  30486. #: guix-git/doc/guix.texi:20465
  30487. #, no-wrap
  30488. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  30489. msgstr ""
  30490. #. type: deftypevr
  30491. #: guix-git/doc/guix.texi:20470
  30492. 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}."
  30493. msgstr ""
  30494. #. type: deftypevr
  30495. #: guix-git/doc/guix.texi:20472 guix-git/doc/guix.texi:25241
  30496. #: guix-git/doc/guix.texi:30647 guix-git/doc/guix.texi:30667
  30497. #: guix-git/doc/guix.texi:30683 guix-git/doc/guix.texi:30697
  30498. #: guix-git/doc/guix.texi:30704 guix-git/doc/guix.texi:30711
  30499. #: guix-git/doc/guix.texi:30718 guix-git/doc/guix.texi:30878
  30500. #: guix-git/doc/guix.texi:30894 guix-git/doc/guix.texi:30901
  30501. #: guix-git/doc/guix.texi:30908 guix-git/doc/guix.texi:30919
  30502. #: guix-git/doc/guix.texi:32255 guix-git/doc/guix.texi:32263
  30503. #: guix-git/doc/guix.texi:32271 guix-git/doc/guix.texi:32295
  30504. msgid "Defaults to @samp{5}."
  30505. msgstr ""
  30506. #. type: deftypevr
  30507. #: guix-git/doc/guix.texi:20474
  30508. #, no-wrap
  30509. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  30510. msgstr ""
  30511. #. type: deftypevr
  30512. #: guix-git/doc/guix.texi:20476
  30513. msgid "Specifies whether to support HTTP keep-alive connections."
  30514. msgstr ""
  30515. #. type: deftypevr
  30516. #: guix-git/doc/guix.texi:20480
  30517. #, no-wrap
  30518. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  30519. msgstr ""
  30520. #. type: deftypevr
  30521. #: guix-git/doc/guix.texi:20483
  30522. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  30523. msgstr ""
  30524. #. type: deftypevr
  30525. #: guix-git/doc/guix.texi:20487
  30526. #, no-wrap
  30527. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  30528. msgstr ""
  30529. #. type: deftypevr
  30530. #: guix-git/doc/guix.texi:20494
  30531. 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."
  30532. msgstr ""
  30533. #. type: deftypevr
  30534. #: guix-git/doc/guix.texi:20496
  30535. #, no-wrap
  30536. msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log"
  30537. msgstr ""
  30538. #. type: deftypevr
  30539. #: guix-git/doc/guix.texi:20503
  30540. msgid "Specifies the number of pending connections that will be allowed. This normally only affects very busy servers that have reached the MaxClients limit, but can also be triggered by large numbers of simultaneous connections. When the limit is reached, the operating system will refuse additional connections until the scheduler can accept the pending ones."
  30541. msgstr ""
  30542. #. type: deftypevr
  30543. #: guix-git/doc/guix.texi:20505
  30544. msgid "Defaults to @samp{128}."
  30545. msgstr ""
  30546. #. type: deftypevr
  30547. #: guix-git/doc/guix.texi:20507
  30548. #, no-wrap
  30549. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  30550. msgstr ""
  30551. #. type: deftypevr
  30552. #: guix-git/doc/guix.texi:20509
  30553. msgid "Specifies a set of additional access controls."
  30554. msgstr ""
  30555. #. type: deftypevr
  30556. #: guix-git/doc/guix.texi:20511
  30557. msgid "Available @code{location-access-controls} fields are:"
  30558. msgstr ""
  30559. #. type: deftypevr
  30560. #: guix-git/doc/guix.texi:20512
  30561. #, no-wrap
  30562. msgid "{@code{location-access-controls} parameter} file-name path"
  30563. msgstr ""
  30564. #. type: deftypevr
  30565. #: guix-git/doc/guix.texi:20514
  30566. msgid "Specifies the URI path to which the access control applies."
  30567. msgstr ""
  30568. #. type: deftypevr
  30569. #: guix-git/doc/guix.texi:20516
  30570. #, no-wrap
  30571. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  30572. msgstr ""
  30573. #. type: deftypevr
  30574. #: guix-git/doc/guix.texi:20519
  30575. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  30576. msgstr ""
  30577. #. type: deftypevr
  30578. #: guix-git/doc/guix.texi:20521 guix-git/doc/guix.texi:20527
  30579. #: guix-git/doc/guix.texi:20541 guix-git/doc/guix.texi:20548
  30580. #: guix-git/doc/guix.texi:20690 guix-git/doc/guix.texi:20749
  30581. #: guix-git/doc/guix.texi:20827 guix-git/doc/guix.texi:20841
  30582. #: guix-git/doc/guix.texi:22022 guix-git/doc/guix.texi:22031
  30583. #: guix-git/doc/guix.texi:23301 guix-git/doc/guix.texi:23504
  30584. #: guix-git/doc/guix.texi:23532 guix-git/doc/guix.texi:23562
  30585. #: guix-git/doc/guix.texi:23677 guix-git/doc/guix.texi:23690
  30586. #: guix-git/doc/guix.texi:23697 guix-git/doc/guix.texi:25447
  30587. #: guix-git/doc/guix.texi:26283 guix-git/doc/guix.texi:26291
  30588. #: guix-git/doc/guix.texi:26536 guix-git/doc/guix.texi:28672
  30589. #: guix-git/doc/guix.texi:28850 guix-git/doc/guix.texi:29049
  30590. #: guix-git/doc/guix.texi:30538 guix-git/doc/guix.texi:30598
  30591. #: guix-git/doc/guix.texi:30606 guix-git/doc/guix.texi:32318
  30592. #: guix-git/doc/guix.texi:32325 guix-git/doc/guix.texi:32667
  30593. #: guix-git/doc/guix.texi:32745 guix-git/doc/guix.texi:32839
  30594. #: guix-git/doc/guix.texi:32847 guix-git/doc/guix.texi:32883
  30595. #: guix-git/doc/guix.texi:33033 guix-git/doc/guix.texi:33084
  30596. #: guix-git/doc/guix.texi:33093
  30597. msgid "Defaults to @samp{()}."
  30598. msgstr ""
  30599. #. type: deftypevr
  30600. #: guix-git/doc/guix.texi:20523
  30601. #, no-wrap
  30602. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  30603. msgstr ""
  30604. #. type: deftypevr
  30605. #: guix-git/doc/guix.texi:20525
  30606. msgid "Access controls for method-specific access to this path."
  30607. msgstr ""
  30608. #. type: deftypevr
  30609. #: guix-git/doc/guix.texi:20529
  30610. msgid "Available @code{method-access-controls} fields are:"
  30611. msgstr ""
  30612. #. type: deftypevr
  30613. #: guix-git/doc/guix.texi:20530
  30614. #, no-wrap
  30615. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  30616. msgstr ""
  30617. #. type: deftypevr
  30618. #: guix-git/doc/guix.texi:20533
  30619. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  30620. msgstr ""
  30621. #. type: deftypevr
  30622. #: guix-git/doc/guix.texi:20537
  30623. #, no-wrap
  30624. msgid "{@code{method-access-controls} parameter} method-list methods"
  30625. msgstr ""
  30626. #. type: deftypevr
  30627. #: guix-git/doc/guix.texi:20539
  30628. msgid "Methods to which this access control applies."
  30629. msgstr ""
  30630. #. type: deftypevr
  30631. #: guix-git/doc/guix.texi:20543
  30632. #, no-wrap
  30633. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  30634. msgstr ""
  30635. #. type: deftypevr
  30636. #: guix-git/doc/guix.texi:20546
  30637. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  30638. msgstr ""
  30639. #. type: deftypevr
  30640. #: guix-git/doc/guix.texi:20552
  30641. #, no-wrap
  30642. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  30643. msgstr ""
  30644. #. type: deftypevr
  30645. #: guix-git/doc/guix.texi:20556
  30646. 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."
  30647. msgstr ""
  30648. #. type: deftypevr
  30649. #: guix-git/doc/guix.texi:20558 guix-git/doc/guix.texi:20579
  30650. #: guix-git/doc/guix.texi:20586 guix-git/doc/guix.texi:23061
  30651. #: guix-git/doc/guix.texi:24979 guix-git/doc/guix.texi:24994
  30652. #: guix-git/doc/guix.texi:29034
  30653. msgid "Defaults to @samp{100}."
  30654. msgstr ""
  30655. #. type: deftypevr
  30656. #: guix-git/doc/guix.texi:20560
  30657. #, no-wrap
  30658. msgid "{@code{cups-configuration} parameter} log-level log-level"
  30659. msgstr ""
  30660. #. type: deftypevr
  30661. #: guix-git/doc/guix.texi:20563
  30662. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  30663. msgstr ""
  30664. #. type: deftypevr
  30665. #: guix-git/doc/guix.texi:20565 guix-git/doc/guix.texi:25456
  30666. msgid "Defaults to @samp{info}."
  30667. msgstr ""
  30668. #. type: deftypevr
  30669. #: guix-git/doc/guix.texi:20567
  30670. #, no-wrap
  30671. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  30672. msgstr ""
  30673. #. type: deftypevr
  30674. #: guix-git/doc/guix.texi:20570
  30675. 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."
  30676. msgstr ""
  30677. #. type: deftypevr
  30678. #: guix-git/doc/guix.texi:20572
  30679. msgid "Defaults to @samp{standard}."
  30680. msgstr ""
  30681. #. type: deftypevr
  30682. #: guix-git/doc/guix.texi:20574
  30683. #, no-wrap
  30684. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  30685. msgstr ""
  30686. #. type: deftypevr
  30687. #: guix-git/doc/guix.texi:20577
  30688. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  30689. msgstr ""
  30690. #. type: deftypevr
  30691. #: guix-git/doc/guix.texi:20581
  30692. #, no-wrap
  30693. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  30694. msgstr ""
  30695. #. type: deftypevr
  30696. #: guix-git/doc/guix.texi:20584
  30697. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  30698. msgstr ""
  30699. #. type: deftypevr
  30700. #: guix-git/doc/guix.texi:20588
  30701. #, no-wrap
  30702. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  30703. msgstr ""
  30704. #. type: deftypevr
  30705. #: guix-git/doc/guix.texi:20591
  30706. msgid "Specifies the maximum number of copies that a user can print of each job."
  30707. msgstr ""
  30708. #. type: deftypevr
  30709. #: guix-git/doc/guix.texi:20593
  30710. msgid "Defaults to @samp{9999}."
  30711. msgstr ""
  30712. #. type: deftypevr
  30713. #: guix-git/doc/guix.texi:20595
  30714. #, no-wrap
  30715. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  30716. msgstr ""
  30717. #. type: deftypevr
  30718. #: guix-git/doc/guix.texi:20599
  30719. 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."
  30720. msgstr ""
  30721. #. type: deftypevr
  30722. #: guix-git/doc/guix.texi:20603
  30723. #, no-wrap
  30724. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  30725. msgstr ""
  30726. #. type: deftypevr
  30727. #: guix-git/doc/guix.texi:20606
  30728. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  30729. msgstr ""
  30730. #. type: deftypevr
  30731. #: guix-git/doc/guix.texi:20608
  30732. msgid "Defaults to @samp{500}."
  30733. msgstr ""
  30734. #. type: deftypevr
  30735. #: guix-git/doc/guix.texi:20610
  30736. #, no-wrap
  30737. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  30738. msgstr ""
  30739. #. type: deftypevr
  30740. #: guix-git/doc/guix.texi:20613
  30741. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer."
  30742. msgstr ""
  30743. #. type: deftypevr
  30744. #: guix-git/doc/guix.texi:20617
  30745. #, no-wrap
  30746. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  30747. msgstr ""
  30748. #. type: deftypevr
  30749. #: guix-git/doc/guix.texi:20620
  30750. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user."
  30751. msgstr ""
  30752. #. type: deftypevr
  30753. #: guix-git/doc/guix.texi:20624
  30754. #, no-wrap
  30755. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  30756. msgstr ""
  30757. #. type: deftypevr
  30758. #: guix-git/doc/guix.texi:20627
  30759. 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."
  30760. msgstr ""
  30761. #. type: deftypevr
  30762. #: guix-git/doc/guix.texi:20629
  30763. msgid "Defaults to @samp{10800}."
  30764. msgstr ""
  30765. #. type: deftypevr
  30766. #: guix-git/doc/guix.texi:20631
  30767. #, no-wrap
  30768. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  30769. msgstr ""
  30770. #. type: deftypevr
  30771. #: guix-git/doc/guix.texi:20634
  30772. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  30773. msgstr ""
  30774. #. type: deftypevr
  30775. #: guix-git/doc/guix.texi:20636
  30776. msgid "Defaults to @samp{1048576}."
  30777. msgstr ""
  30778. #. type: deftypevr
  30779. #: guix-git/doc/guix.texi:20638
  30780. #, no-wrap
  30781. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  30782. msgstr ""
  30783. #. type: deftypevr
  30784. #: guix-git/doc/guix.texi:20641
  30785. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  30786. msgstr ""
  30787. #. type: deftypevr
  30788. #: guix-git/doc/guix.texi:20643 guix-git/doc/guix.texi:20854
  30789. msgid "Defaults to @samp{900}."
  30790. msgstr ""
  30791. #. type: deftypevr
  30792. #: guix-git/doc/guix.texi:20645
  30793. #, no-wrap
  30794. msgid "{@code{cups-configuration} parameter} string page-log-format"
  30795. msgstr ""
  30796. #. type: deftypevr
  30797. #: guix-git/doc/guix.texi:20650
  30798. msgid "Specifies the format of PageLog lines. Sequences beginning with percent (@samp{%}) characters are replaced with the corresponding information, while all other characters are copied literally. The following percent sequences are recognized:"
  30799. msgstr ""
  30800. #. type: item
  30801. #: guix-git/doc/guix.texi:20652
  30802. #, no-wrap
  30803. msgid "%%"
  30804. msgstr ""
  30805. #. type: table
  30806. #: guix-git/doc/guix.texi:20654
  30807. msgid "insert a single percent character"
  30808. msgstr ""
  30809. #. type: item
  30810. #: guix-git/doc/guix.texi:20655
  30811. #, no-wrap
  30812. msgid "%@{name@}"
  30813. msgstr "%@{name@}"
  30814. #. type: table
  30815. #: guix-git/doc/guix.texi:20657
  30816. msgid "insert the value of the specified IPP attribute"
  30817. msgstr ""
  30818. #. type: item
  30819. #: guix-git/doc/guix.texi:20658
  30820. #, no-wrap
  30821. msgid "%C"
  30822. msgstr "%C"
  30823. #. type: table
  30824. #: guix-git/doc/guix.texi:20660
  30825. msgid "insert the number of copies for the current page"
  30826. msgstr ""
  30827. #. type: item
  30828. #: guix-git/doc/guix.texi:20661
  30829. #, no-wrap
  30830. msgid "%P"
  30831. msgstr ""
  30832. #. type: table
  30833. #: guix-git/doc/guix.texi:20663
  30834. msgid "insert the current page number"
  30835. msgstr ""
  30836. #. type: item
  30837. #: guix-git/doc/guix.texi:20664
  30838. #, no-wrap
  30839. msgid "%T"
  30840. msgstr "%T"
  30841. #. type: table
  30842. #: guix-git/doc/guix.texi:20666
  30843. msgid "insert the current date and time in common log format"
  30844. msgstr ""
  30845. #. type: item
  30846. #: guix-git/doc/guix.texi:20667
  30847. #, no-wrap
  30848. msgid "%j"
  30849. msgstr ""
  30850. #. type: table
  30851. #: guix-git/doc/guix.texi:20669
  30852. msgid "insert the job ID"
  30853. msgstr ""
  30854. #. type: item
  30855. #: guix-git/doc/guix.texi:20670 guix-git/doc/guix.texi:22660
  30856. #, no-wrap
  30857. msgid "%p"
  30858. msgstr ""
  30859. #. type: table
  30860. #: guix-git/doc/guix.texi:20672
  30861. msgid "insert the printer name"
  30862. msgstr ""
  30863. #. type: item
  30864. #: guix-git/doc/guix.texi:20673 guix-git/doc/guix.texi:22683
  30865. #, no-wrap
  30866. msgid "%u"
  30867. msgstr ""
  30868. #. type: table
  30869. #: guix-git/doc/guix.texi:20675
  30870. msgid "insert the username"
  30871. msgstr ""
  30872. #. type: deftypevr
  30873. #: guix-git/doc/guix.texi:20681
  30874. msgid "A value of the empty string disables page logging. The string @code{%p %u %j %T %P %C %@{job-billing@} %@{job-originating-host-name@} %@{job-name@} %@{media@} %@{sides@}} creates a page log with the standard items."
  30875. msgstr ""
  30876. #. type: deftypevr
  30877. #: guix-git/doc/guix.texi:20685
  30878. #, no-wrap
  30879. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  30880. msgstr ""
  30881. #. type: deftypevr
  30882. #: guix-git/doc/guix.texi:20688
  30883. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  30884. msgstr ""
  30885. #. type: deftypevr
  30886. #: guix-git/doc/guix.texi:20692
  30887. #, no-wrap
  30888. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  30889. msgstr ""
  30890. #. type: deftypevr
  30891. #: guix-git/doc/guix.texi:20694
  30892. msgid "Specifies named access control policies."
  30893. msgstr ""
  30894. #. type: deftypevr
  30895. #: guix-git/doc/guix.texi:20696
  30896. msgid "Available @code{policy-configuration} fields are:"
  30897. msgstr ""
  30898. #. type: deftypevr
  30899. #: guix-git/doc/guix.texi:20697
  30900. #, no-wrap
  30901. msgid "{@code{policy-configuration} parameter} string name"
  30902. msgstr ""
  30903. #. type: deftypevr
  30904. #: guix-git/doc/guix.texi:20699
  30905. msgid "Name of the policy."
  30906. msgstr ""
  30907. #. type: deftypevr
  30908. #: guix-git/doc/guix.texi:20701
  30909. #, no-wrap
  30910. msgid "{@code{policy-configuration} parameter} string job-private-access"
  30911. msgstr ""
  30912. #. type: deftypevr
  30913. #: guix-git/doc/guix.texi:20711
  30914. 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}."
  30915. msgstr ""
  30916. #. type: deftypevr
  30917. #: guix-git/doc/guix.texi:20713 guix-git/doc/guix.texi:20735
  30918. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  30919. msgstr ""
  30920. #. type: deftypevr
  30921. #: guix-git/doc/guix.texi:20715
  30922. #, no-wrap
  30923. msgid "{@code{policy-configuration} parameter} string job-private-values"
  30924. msgstr ""
  30925. #. type: deftypevr
  30926. #: guix-git/doc/guix.texi:20718 guix-git/doc/guix.texi:20740
  30927. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  30928. msgstr ""
  30929. #. type: deftypevr
  30930. #: guix-git/doc/guix.texi:20721
  30931. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  30932. msgstr ""
  30933. #. type: deftypevr
  30934. #: guix-git/doc/guix.texi:20723
  30935. #, no-wrap
  30936. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  30937. msgstr ""
  30938. #. type: deftypevr
  30939. #: guix-git/doc/guix.texi:20733
  30940. 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}."
  30941. msgstr ""
  30942. #. type: deftypevr
  30943. #: guix-git/doc/guix.texi:20737
  30944. #, no-wrap
  30945. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  30946. msgstr ""
  30947. #. type: deftypevr
  30948. #: guix-git/doc/guix.texi:20743
  30949. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  30950. msgstr ""
  30951. #. type: deftypevr
  30952. #: guix-git/doc/guix.texi:20745
  30953. #, no-wrap
  30954. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  30955. msgstr ""
  30956. #. type: deftypevr
  30957. #: guix-git/doc/guix.texi:20747
  30958. msgid "Access control by IPP operation."
  30959. msgstr ""
  30960. #. type: deftypevr
  30961. #: guix-git/doc/guix.texi:20752
  30962. #, no-wrap
  30963. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  30964. msgstr ""
  30965. #. type: deftypevr
  30966. #: guix-git/doc/guix.texi:20757
  30967. 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."
  30968. msgstr ""
  30969. #. type: deftypevr
  30970. #: guix-git/doc/guix.texi:20759
  30971. msgid "Defaults to @samp{86400}."
  30972. msgstr ""
  30973. #. type: deftypevr
  30974. #: guix-git/doc/guix.texi:20761
  30975. #, no-wrap
  30976. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  30977. msgstr ""
  30978. #. type: deftypevr
  30979. #: guix-git/doc/guix.texi:20766
  30980. 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."
  30981. msgstr ""
  30982. #. type: deftypevr
  30983. #: guix-git/doc/guix.texi:20770
  30984. #, no-wrap
  30985. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  30986. msgstr ""
  30987. #. type: deftypevr
  30988. #: guix-git/doc/guix.texi:20773
  30989. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  30990. msgstr ""
  30991. #. type: deftypevr
  30992. #: guix-git/doc/guix.texi:20777
  30993. #, no-wrap
  30994. msgid "{@code{cups-configuration} parameter} string rip-cache"
  30995. msgstr ""
  30996. #. type: deftypevr
  30997. #: guix-git/doc/guix.texi:20780
  30998. msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer."
  30999. msgstr ""
  31000. #. type: deftypevr
  31001. #: guix-git/doc/guix.texi:20782
  31002. msgid "Defaults to @samp{\"128m\"}."
  31003. msgstr ""
  31004. #. type: deftypevr
  31005. #: guix-git/doc/guix.texi:20784
  31006. #, no-wrap
  31007. msgid "{@code{cups-configuration} parameter} string server-admin"
  31008. msgstr ""
  31009. #. type: deftypevr
  31010. #: guix-git/doc/guix.texi:20786
  31011. msgid "Specifies the email address of the server administrator."
  31012. msgstr ""
  31013. #. type: deftypevr
  31014. #: guix-git/doc/guix.texi:20788
  31015. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  31016. msgstr ""
  31017. #. type: deftypevr
  31018. #: guix-git/doc/guix.texi:20790
  31019. #, no-wrap
  31020. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  31021. msgstr ""
  31022. #. type: deftypevr
  31023. #: guix-git/doc/guix.texi:20798
  31024. 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{*}."
  31025. msgstr ""
  31026. #. type: deftypevr
  31027. #: guix-git/doc/guix.texi:20800
  31028. msgid "Defaults to @samp{*}."
  31029. msgstr ""
  31030. #. type: deftypevr
  31031. #: guix-git/doc/guix.texi:20802
  31032. #, no-wrap
  31033. msgid "{@code{cups-configuration} parameter} string server-name"
  31034. msgstr ""
  31035. #. type: deftypevr
  31036. #: guix-git/doc/guix.texi:20804
  31037. msgid "Specifies the fully-qualified host name of the server."
  31038. msgstr ""
  31039. #. type: deftypevr
  31040. #: guix-git/doc/guix.texi:20806
  31041. msgid "Defaults to @samp{\"localhost\"}."
  31042. msgstr ""
  31043. #. type: deftypevr
  31044. #: guix-git/doc/guix.texi:20808
  31045. #, no-wrap
  31046. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  31047. msgstr ""
  31048. #. type: deftypevr
  31049. #: guix-git/doc/guix.texi:20816
  31050. 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}."
  31051. msgstr ""
  31052. #. type: deftypevr
  31053. #: guix-git/doc/guix.texi:20818
  31054. msgid "Defaults to @samp{Minimal}."
  31055. msgstr ""
  31056. #. type: deftypevr
  31057. #: guix-git/doc/guix.texi:20820
  31058. #, no-wrap
  31059. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  31060. msgstr ""
  31061. #. type: deftypevr
  31062. #: guix-git/doc/guix.texi:20825
  31063. 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."
  31064. msgstr ""
  31065. #. type: deftypevr
  31066. #: guix-git/doc/guix.texi:20829
  31067. #, no-wrap
  31068. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  31069. msgstr ""
  31070. #. type: deftypevr
  31071. #: guix-git/doc/guix.texi:20839
  31072. 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."
  31073. msgstr ""
  31074. #. type: deftypevr
  31075. #: guix-git/doc/guix.texi:20843
  31076. #, no-wrap
  31077. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  31078. msgstr ""
  31079. #. type: deftypevr
  31080. #: guix-git/doc/guix.texi:20846
  31081. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  31082. msgstr ""
  31083. #. type: deftypevr
  31084. #: guix-git/doc/guix.texi:20850
  31085. #, no-wrap
  31086. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  31087. msgstr ""
  31088. #. type: deftypevr
  31089. #: guix-git/doc/guix.texi:20852
  31090. msgid "Specifies the HTTP request timeout, in seconds."
  31091. msgstr ""
  31092. #. type: deftypevr
  31093. #: guix-git/doc/guix.texi:20857
  31094. #, no-wrap
  31095. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  31096. msgstr ""
  31097. #. type: deftypevr
  31098. #: guix-git/doc/guix.texi:20859
  31099. msgid "Specifies whether the web interface is enabled."
  31100. msgstr ""
  31101. #. type: Plain text
  31102. #: guix-git/doc/guix.texi:20869
  31103. 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}."
  31104. msgstr ""
  31105. #. type: Plain text
  31106. #: guix-git/doc/guix.texi:20871
  31107. msgid "Available @code{opaque-cups-configuration} fields are:"
  31108. msgstr ""
  31109. #. type: deftypevr
  31110. #: guix-git/doc/guix.texi:20872
  31111. #, no-wrap
  31112. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  31113. msgstr ""
  31114. #. type: deftypevr
  31115. #: guix-git/doc/guix.texi:20876
  31116. #, no-wrap
  31117. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  31118. msgstr ""
  31119. #. type: deftypevr
  31120. #: guix-git/doc/guix.texi:20878
  31121. msgid "The contents of the @code{cupsd.conf}, as a string."
  31122. msgstr ""
  31123. #. type: deftypevr
  31124. #: guix-git/doc/guix.texi:20880
  31125. #, no-wrap
  31126. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  31127. msgstr ""
  31128. #. type: deftypevr
  31129. #: guix-git/doc/guix.texi:20882
  31130. msgid "The contents of the @code{cups-files.conf} file, as a string."
  31131. msgstr ""
  31132. #. type: Plain text
  31133. #: guix-git/doc/guix.texi:20887
  31134. 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:"
  31135. msgstr ""
  31136. #. type: lisp
  31137. #: guix-git/doc/guix.texi:20893
  31138. #, no-wrap
  31139. msgid ""
  31140. "(service cups-service-type\n"
  31141. " (opaque-cups-configuration\n"
  31142. " (cupsd.conf cupsd.conf)\n"
  31143. " (cups-files.conf cups-files.conf)))\n"
  31144. msgstr ""
  31145. #. type: Plain text
  31146. #: guix-git/doc/guix.texi:20904
  31147. 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."
  31148. msgstr ""
  31149. #. type: Plain text
  31150. #: guix-git/doc/guix.texi:20908
  31151. 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:"
  31152. msgstr ""
  31153. #. type: defvr
  31154. #: guix-git/doc/guix.texi:20909
  31155. #, no-wrap
  31156. msgid "{Scheme Variable} %desktop-services"
  31157. msgstr ""
  31158. #. type: defvr
  31159. #: guix-git/doc/guix.texi:20912
  31160. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  31161. msgstr ""
  31162. #. type: defvr
  31163. #: guix-git/doc/guix.texi:20923
  31164. 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, an NTP client (@pxref{Networking Services}), the Avahi daemon, and has the name service switch service configured to be able to use @code{nss-mdns} (@pxref{Name Service Switch, mDNS})."
  31165. msgstr ""
  31166. #. type: Plain text
  31167. #: guix-git/doc/guix.texi:20928
  31168. 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}})."
  31169. msgstr ""
  31170. #. type: Plain text
  31171. #: guix-git/doc/guix.texi:20951
  31172. 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."
  31173. msgstr ""
  31174. #. type: Plain text
  31175. #: guix-git/doc/guix.texi:20961
  31176. 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."
  31177. msgstr ""
  31178. #. type: defvr
  31179. #: guix-git/doc/guix.texi:20962
  31180. #, no-wrap
  31181. msgid "{Scheme Variable} gnome-desktop-service-type"
  31182. msgstr ""
  31183. #. type: defvr
  31184. #: guix-git/doc/guix.texi:20966
  31185. 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)."
  31186. msgstr ""
  31187. #. type: defvr
  31188. #: guix-git/doc/guix.texi:20969
  31189. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  31190. msgstr ""
  31191. #. type: deftp
  31192. #: guix-git/doc/guix.texi:20971
  31193. #, no-wrap
  31194. msgid "{Data Type} gnome-desktop-configuration"
  31195. msgstr ""
  31196. #. type: deftp
  31197. #: guix-git/doc/guix.texi:20973
  31198. msgid "Configuration record for the GNOME desktop environment."
  31199. msgstr ""
  31200. #. type: item
  31201. #: guix-git/doc/guix.texi:20975
  31202. #, no-wrap
  31203. msgid "@code{gnome} (default: @code{gnome})"
  31204. msgstr ""
  31205. #. type: table
  31206. #: guix-git/doc/guix.texi:20977
  31207. msgid "The GNOME package to use."
  31208. msgstr ""
  31209. #. type: defvr
  31210. #: guix-git/doc/guix.texi:20980
  31211. #, no-wrap
  31212. msgid "{Scheme Variable} xfce-desktop-service-type"
  31213. msgstr ""
  31214. #. type: defvr
  31215. #: guix-git/doc/guix.texi:20984
  31216. 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)."
  31217. msgstr ""
  31218. #. type: defvr
  31219. #: guix-git/doc/guix.texi:20989
  31220. 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."
  31221. msgstr ""
  31222. #. type: defvr
  31223. #: guix-git/doc/guix.texi:20995
  31224. 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}."
  31225. msgstr ""
  31226. #. type: deftp
  31227. #: guix-git/doc/guix.texi:20997
  31228. #, no-wrap
  31229. msgid "{Data Type} xfce-desktop-configuration"
  31230. msgstr ""
  31231. #. type: deftp
  31232. #: guix-git/doc/guix.texi:20999
  31233. msgid "Configuration record for the Xfce desktop environment."
  31234. msgstr ""
  31235. #. type: item
  31236. #: guix-git/doc/guix.texi:21001
  31237. #, no-wrap
  31238. msgid "@code{xfce} (default: @code{xfce})"
  31239. msgstr "@code{xfce} (default: @code{xfce})"
  31240. #. type: table
  31241. #: guix-git/doc/guix.texi:21003
  31242. msgid "The Xfce package to use."
  31243. msgstr ""
  31244. #. type: deffn
  31245. #: guix-git/doc/guix.texi:21006
  31246. #, no-wrap
  31247. msgid "{Scheme Variable} mate-desktop-service-type"
  31248. msgstr ""
  31249. #. type: deffn
  31250. #: guix-git/doc/guix.texi:21010
  31251. 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)."
  31252. msgstr ""
  31253. #. type: deffn
  31254. #: guix-git/doc/guix.texi:21014
  31255. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  31256. msgstr ""
  31257. #. type: deftp
  31258. #: guix-git/doc/guix.texi:21016
  31259. #, no-wrap
  31260. msgid "{Data Type} mate-desktop-configuration"
  31261. msgstr ""
  31262. #. type: deftp
  31263. #: guix-git/doc/guix.texi:21018
  31264. msgid "Configuration record for the MATE desktop environment."
  31265. msgstr ""
  31266. #. type: item
  31267. #: guix-git/doc/guix.texi:21020
  31268. #, no-wrap
  31269. msgid "@code{mate} (default: @code{mate})"
  31270. msgstr ""
  31271. #. type: table
  31272. #: guix-git/doc/guix.texi:21022
  31273. msgid "The MATE package to use."
  31274. msgstr ""
  31275. #. type: deffn
  31276. #: guix-git/doc/guix.texi:21025
  31277. #, no-wrap
  31278. msgid "{Scheme Variable} lxqt-desktop-service-type"
  31279. msgstr ""
  31280. #. type: deffn
  31281. #: guix-git/doc/guix.texi:21029
  31282. 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)."
  31283. msgstr ""
  31284. #. type: deffn
  31285. #: guix-git/doc/guix.texi:21032
  31286. msgid "This service adds the @code{lxqt} package to the system profile."
  31287. msgstr ""
  31288. #. type: deftp
  31289. #: guix-git/doc/guix.texi:21034
  31290. #, no-wrap
  31291. msgid "{Data Type} lxqt-desktop-configuration"
  31292. msgstr ""
  31293. #. type: deftp
  31294. #: guix-git/doc/guix.texi:21036
  31295. msgid "Configuration record for the LXQt desktop environment."
  31296. msgstr ""
  31297. #. type: item
  31298. #: guix-git/doc/guix.texi:21038
  31299. #, no-wrap
  31300. msgid "@code{lxqt} (default: @code{lxqt})"
  31301. msgstr ""
  31302. #. type: table
  31303. #: guix-git/doc/guix.texi:21040
  31304. msgid "The LXQT package to use."
  31305. msgstr ""
  31306. #. type: deffn
  31307. #: guix-git/doc/guix.texi:21043
  31308. #, no-wrap
  31309. msgid "{Scheme Variable} enlightenment-desktop-service-type"
  31310. msgstr ""
  31311. #. type: deffn
  31312. #: guix-git/doc/guix.texi:21046
  31313. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  31314. msgstr ""
  31315. #. type: deftp
  31316. #: guix-git/doc/guix.texi:21048
  31317. #, no-wrap
  31318. msgid "{Data Type} enlightenment-desktop-service-configuration"
  31319. msgstr ""
  31320. #. type: item
  31321. #: guix-git/doc/guix.texi:21050
  31322. #, no-wrap
  31323. msgid "@code{enlightenment} (default: @code{enlightenment})"
  31324. msgstr ""
  31325. #. type: table
  31326. #: guix-git/doc/guix.texi:21052
  31327. msgid "The enlightenment package to use."
  31328. msgstr ""
  31329. #. type: Plain text
  31330. #: guix-git/doc/guix.texi:21060
  31331. 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}:"
  31332. msgstr ""
  31333. #. type: lisp
  31334. #: guix-git/doc/guix.texi:21071
  31335. #, no-wrap
  31336. msgid ""
  31337. "(use-modules (gnu))\n"
  31338. "(use-service-modules desktop)\n"
  31339. "(operating-system\n"
  31340. " ...\n"
  31341. " ;; cons* adds items to the list given as its last argument.\n"
  31342. " (services (cons* (service gnome-desktop-service-type)\n"
  31343. " (service xfce-desktop-service)\n"
  31344. " %desktop-services))\n"
  31345. " ...)\n"
  31346. msgstr ""
  31347. #. type: Plain text
  31348. #: guix-git/doc/guix.texi:21075
  31349. msgid "These desktop environments will then be available as options in the graphical login window."
  31350. msgstr ""
  31351. #. type: Plain text
  31352. #: guix-git/doc/guix.texi:21079
  31353. 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."
  31354. msgstr ""
  31355. #. type: deffn
  31356. #: guix-git/doc/guix.texi:21080
  31357. #, no-wrap
  31358. msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]"
  31359. msgstr ""
  31360. #. type: deffn
  31361. #: guix-git/doc/guix.texi:21083
  31362. msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}."
  31363. msgstr ""
  31364. #. type: deffn
  31365. #: guix-git/doc/guix.texi:21087
  31366. msgid "@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."
  31367. msgstr ""
  31368. #. type: deffn
  31369. #: guix-git/doc/guix.texi:21092
  31370. msgid "@var{services} must be a 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)}."
  31371. msgstr ""
  31372. #. type: deffn
  31373. #: guix-git/doc/guix.texi:21094
  31374. #, no-wrap
  31375. msgid "{Scheme Procedure} elogind-service [#:config @var{config}]"
  31376. msgstr ""
  31377. #. type: deffn
  31378. #: guix-git/doc/guix.texi:21100
  31379. msgid "Return a service that runs the @code{elogind} login and seat management daemon. @uref{https://github.com/elogind/elogind, Elogind} exposes 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."
  31380. msgstr ""
  31381. #. type: deffn
  31382. #: guix-git/doc/guix.texi:21104
  31383. msgid "Elogind 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."
  31384. msgstr ""
  31385. #. type: deffn
  31386. #: guix-git/doc/guix.texi:21109
  31387. msgid "The @var{config} keyword argument specifies the configuration for elogind, and should be the result of an @code{(elogind-configuration (@var{parameter} @var{value})...)} invocation. Available parameters and their default values are:"
  31388. msgstr ""
  31389. #. type: item
  31390. #: guix-git/doc/guix.texi:21111
  31391. #, no-wrap
  31392. msgid "kill-user-processes?"
  31393. msgstr ""
  31394. #. type: code{#1}
  31395. #: guix-git/doc/guix.texi:21113 guix-git/doc/guix.texi:21133
  31396. #: guix-git/doc/guix.texi:21135 guix-git/doc/guix.texi:21137
  31397. #: guix-git/doc/guix.texi:21149
  31398. msgid "#f"
  31399. msgstr ""
  31400. #. type: item
  31401. #: guix-git/doc/guix.texi:21113
  31402. #, no-wrap
  31403. msgid "kill-only-users"
  31404. msgstr ""
  31405. #. type: code{#1}
  31406. #: guix-git/doc/guix.texi:21115 guix-git/doc/guix.texi:21155
  31407. msgid "()"
  31408. msgstr ""
  31409. #. type: item
  31410. #: guix-git/doc/guix.texi:21115
  31411. #, no-wrap
  31412. msgid "kill-exclude-users"
  31413. msgstr ""
  31414. #. type: code{#1}
  31415. #: guix-git/doc/guix.texi:21117
  31416. msgid "(\"root\")"
  31417. msgstr ""
  31418. #. type: item
  31419. #: guix-git/doc/guix.texi:21117
  31420. #, no-wrap
  31421. msgid "inhibit-delay-max-seconds"
  31422. msgstr ""
  31423. #. type: code{#1}
  31424. #: guix-git/doc/guix.texi:21119
  31425. msgid "5"
  31426. msgstr "5"
  31427. #. type: item
  31428. #: guix-git/doc/guix.texi:21119
  31429. #, no-wrap
  31430. msgid "handle-power-key"
  31431. msgstr ""
  31432. #. type: code{#1}
  31433. #: guix-git/doc/guix.texi:21121
  31434. msgid "poweroff"
  31435. msgstr ""
  31436. #. type: item
  31437. #: guix-git/doc/guix.texi:21121
  31438. #, no-wrap
  31439. msgid "handle-suspend-key"
  31440. msgstr ""
  31441. #. type: code{#1}
  31442. #: guix-git/doc/guix.texi:21123 guix-git/doc/guix.texi:21127
  31443. msgid "suspend"
  31444. msgstr ""
  31445. #. type: item
  31446. #: guix-git/doc/guix.texi:21123
  31447. #, no-wrap
  31448. msgid "handle-hibernate-key"
  31449. msgstr ""
  31450. #. type: code{#1}
  31451. #: guix-git/doc/guix.texi:21125
  31452. msgid "hibernate"
  31453. msgstr ""
  31454. #. type: item
  31455. #: guix-git/doc/guix.texi:21125
  31456. #, no-wrap
  31457. msgid "handle-lid-switch"
  31458. msgstr ""
  31459. #. type: item
  31460. #: guix-git/doc/guix.texi:21127
  31461. #, no-wrap
  31462. msgid "handle-lid-switch-docked"
  31463. msgstr ""
  31464. #. type: code{#1}
  31465. #: guix-git/doc/guix.texi:21129 guix-git/doc/guix.texi:21131
  31466. #: guix-git/doc/guix.texi:21143
  31467. msgid "ignore"
  31468. msgstr ""
  31469. #. type: item
  31470. #: guix-git/doc/guix.texi:21129
  31471. #, no-wrap
  31472. msgid "handle-lid-switch-external-power"
  31473. msgstr ""
  31474. #. type: item
  31475. #: guix-git/doc/guix.texi:21131
  31476. #, no-wrap
  31477. msgid "power-key-ignore-inhibited?"
  31478. msgstr ""
  31479. #. type: item
  31480. #: guix-git/doc/guix.texi:21133
  31481. #, no-wrap
  31482. msgid "suspend-key-ignore-inhibited?"
  31483. msgstr ""
  31484. #. type: item
  31485. #: guix-git/doc/guix.texi:21135
  31486. #, no-wrap
  31487. msgid "hibernate-key-ignore-inhibited?"
  31488. msgstr ""
  31489. #. type: item
  31490. #: guix-git/doc/guix.texi:21137
  31491. #, no-wrap
  31492. msgid "lid-switch-ignore-inhibited?"
  31493. msgstr ""
  31494. #. type: code{#1}
  31495. #: guix-git/doc/guix.texi:21139 guix-git/doc/guix.texi:21151
  31496. msgid "#t"
  31497. msgstr ""
  31498. #. type: item
  31499. #: guix-git/doc/guix.texi:21139
  31500. #, no-wrap
  31501. msgid "holdoff-timeout-seconds"
  31502. msgstr ""
  31503. #. type: code{#1}
  31504. #: guix-git/doc/guix.texi:21141
  31505. msgid "30"
  31506. msgstr ""
  31507. #. type: item
  31508. #: guix-git/doc/guix.texi:21141
  31509. #, no-wrap
  31510. msgid "idle-action"
  31511. msgstr ""
  31512. #. type: item
  31513. #: guix-git/doc/guix.texi:21143
  31514. #, no-wrap
  31515. msgid "idle-action-seconds"
  31516. msgstr ""
  31517. #. type: code{#1}
  31518. #: guix-git/doc/guix.texi:21145
  31519. msgid "(* 30 60)"
  31520. msgstr ""
  31521. #. type: item
  31522. #: guix-git/doc/guix.texi:21145
  31523. #, no-wrap
  31524. msgid "runtime-directory-size-percent"
  31525. msgstr ""
  31526. #. type: code{#1}
  31527. #: guix-git/doc/guix.texi:21147
  31528. msgid "10"
  31529. msgstr ""
  31530. #. type: item
  31531. #: guix-git/doc/guix.texi:21147
  31532. #, no-wrap
  31533. msgid "runtime-directory-size"
  31534. msgstr ""
  31535. #. type: item
  31536. #: guix-git/doc/guix.texi:21149
  31537. #, no-wrap
  31538. msgid "remove-ipc?"
  31539. msgstr ""
  31540. #. type: item
  31541. #: guix-git/doc/guix.texi:21151
  31542. #, no-wrap
  31543. msgid "suspend-state"
  31544. msgstr ""
  31545. #. type: code{#1}
  31546. #: guix-git/doc/guix.texi:21153
  31547. msgid "(\"mem\" \"standby\" \"freeze\")"
  31548. msgstr ""
  31549. #. type: item
  31550. #: guix-git/doc/guix.texi:21153
  31551. #, no-wrap
  31552. msgid "suspend-mode"
  31553. msgstr ""
  31554. #. type: item
  31555. #: guix-git/doc/guix.texi:21155
  31556. #, no-wrap
  31557. msgid "hibernate-state"
  31558. msgstr ""
  31559. #. type: code{#1}
  31560. #: guix-git/doc/guix.texi:21157 guix-git/doc/guix.texi:21161
  31561. msgid "(\"disk\")"
  31562. msgstr ""
  31563. #. type: item
  31564. #: guix-git/doc/guix.texi:21157
  31565. #, no-wrap
  31566. msgid "hibernate-mode"
  31567. msgstr ""
  31568. #. type: code{#1}
  31569. #: guix-git/doc/guix.texi:21159
  31570. msgid "(\"platform\" \"shutdown\")"
  31571. msgstr ""
  31572. #. type: item
  31573. #: guix-git/doc/guix.texi:21159
  31574. #, no-wrap
  31575. msgid "hybrid-sleep-state"
  31576. msgstr ""
  31577. #. type: item
  31578. #: guix-git/doc/guix.texi:21161
  31579. #, no-wrap
  31580. msgid "hybrid-sleep-mode"
  31581. msgstr ""
  31582. #. type: code{#1}
  31583. #: guix-git/doc/guix.texi:21163
  31584. msgid "(\"suspend\" \"platform\" \"shutdown\")"
  31585. msgstr ""
  31586. #. type: deffn
  31587. #: guix-git/doc/guix.texi:21166
  31588. #, no-wrap
  31589. msgid "{Scheme Procedure} accountsservice-service @"
  31590. msgstr ""
  31591. #. type: deffn
  31592. #: guix-git/doc/guix.texi:21174
  31593. msgid "[#:accountsservice @var{accountsservice}] Return a 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. @uref{https://www.freedesktop.org/wiki/Software/AccountsService/, the accountsservice web site} for more information."
  31594. msgstr ""
  31595. #. type: deffn
  31596. #: guix-git/doc/guix.texi:21177
  31597. msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service."
  31598. msgstr ""
  31599. #. type: deffn
  31600. #: guix-git/doc/guix.texi:21179
  31601. #, no-wrap
  31602. msgid "{Scheme Procedure} polkit-service @"
  31603. msgstr ""
  31604. #. type: deffn
  31605. #: guix-git/doc/guix.texi:21188
  31606. msgid "[#:polkit @var{polkit}] Return a service that runs the @uref{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."
  31607. msgstr ""
  31608. #. type: defvr
  31609. #: guix-git/doc/guix.texi:21190
  31610. #, no-wrap
  31611. msgid "{Scheme Variable} polkit-wheel-service"
  31612. msgstr ""
  31613. #. type: defvr
  31614. #: guix-git/doc/guix.texi:21195
  31615. 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}."
  31616. msgstr ""
  31617. #. type: defvr
  31618. #: guix-git/doc/guix.texi:21197
  31619. #, no-wrap
  31620. msgid "{Scheme Variable} upower-service-type"
  31621. msgstr ""
  31622. #. type: defvr
  31623. #: guix-git/doc/guix.texi:21201
  31624. 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."
  31625. msgstr ""
  31626. #. type: defvr
  31627. #: guix-git/doc/guix.texi:21204
  31628. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  31629. msgstr ""
  31630. #. type: deftp
  31631. #: guix-git/doc/guix.texi:21206
  31632. #, no-wrap
  31633. msgid "{Data Type} upower-configuration"
  31634. msgstr ""
  31635. #. type: deftp
  31636. #: guix-git/doc/guix.texi:21208
  31637. msgid "Data type representation the configuration for UPower."
  31638. msgstr ""
  31639. #. type: item
  31640. #: guix-git/doc/guix.texi:21211
  31641. #, no-wrap
  31642. msgid "@code{upower} (default: @var{upower})"
  31643. msgstr "@code{upower} (default: @var{upower})"
  31644. #. type: table
  31645. #: guix-git/doc/guix.texi:21213
  31646. msgid "Package to use for @code{upower}."
  31647. msgstr ""
  31648. #. type: item
  31649. #: guix-git/doc/guix.texi:21214
  31650. #, no-wrap
  31651. msgid "@code{watts-up-pro?} (default: @code{#f})"
  31652. msgstr "@code{watts-up-pro?} (padrão: @code{#f})"
  31653. #. type: table
  31654. #: guix-git/doc/guix.texi:21216
  31655. msgid "Enable the Watts Up Pro device."
  31656. msgstr ""
  31657. #. type: item
  31658. #: guix-git/doc/guix.texi:21217
  31659. #, no-wrap
  31660. msgid "@code{poll-batteries?} (default: @code{#t})"
  31661. msgstr "@code{poll-batteries?} (padrão: @code{#t})"
  31662. #. type: table
  31663. #: guix-git/doc/guix.texi:21219
  31664. msgid "Enable polling the kernel for battery level changes."
  31665. msgstr ""
  31666. #. type: item
  31667. #: guix-git/doc/guix.texi:21220
  31668. #, no-wrap
  31669. msgid "@code{ignore-lid?} (default: @code{#f})"
  31670. msgstr "@code{ignore-lid?} (padrão: @code{#f})"
  31671. #. type: table
  31672. #: guix-git/doc/guix.texi:21222
  31673. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  31674. msgstr ""
  31675. #. type: item
  31676. #: guix-git/doc/guix.texi:21223
  31677. #, no-wrap
  31678. msgid "@code{use-percentage-for-policy?} (default: @code{#f})"
  31679. msgstr ""
  31680. #. type: table
  31681. #: guix-git/doc/guix.texi:21226
  31682. msgid "Whether battery percentage based policy should be used. The default is to use the time left, change to @code{#t} to use the percentage."
  31683. msgstr ""
  31684. #. type: item
  31685. #: guix-git/doc/guix.texi:21227
  31686. #, no-wrap
  31687. msgid "@code{percentage-low} (default: @code{10})"
  31688. msgstr ""
  31689. #. type: table
  31690. #: guix-git/doc/guix.texi:21230
  31691. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  31692. msgstr ""
  31693. #. type: item
  31694. #: guix-git/doc/guix.texi:21231
  31695. #, no-wrap
  31696. msgid "@code{percentage-critical} (default: @code{3})"
  31697. msgstr ""
  31698. #. type: table
  31699. #: guix-git/doc/guix.texi:21234
  31700. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  31701. msgstr ""
  31702. #. type: item
  31703. #: guix-git/doc/guix.texi:21235
  31704. #, no-wrap
  31705. msgid "@code{percentage-action} (default: @code{2})"
  31706. msgstr ""
  31707. #. type: table
  31708. #: guix-git/doc/guix.texi:21238
  31709. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  31710. msgstr ""
  31711. #. type: item
  31712. #: guix-git/doc/guix.texi:21239
  31713. #, no-wrap
  31714. msgid "@code{time-low} (default: @code{1200})"
  31715. msgstr ""
  31716. #. type: table
  31717. #: guix-git/doc/guix.texi:21242
  31718. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  31719. msgstr ""
  31720. #. type: item
  31721. #: guix-git/doc/guix.texi:21243
  31722. #, no-wrap
  31723. msgid "@code{time-critical} (default: @code{300})"
  31724. msgstr ""
  31725. #. type: table
  31726. #: guix-git/doc/guix.texi:21246
  31727. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  31728. msgstr ""
  31729. #. type: item
  31730. #: guix-git/doc/guix.texi:21247
  31731. #, no-wrap
  31732. msgid "@code{time-action} (default: @code{120})"
  31733. msgstr ""
  31734. #. type: table
  31735. #: guix-git/doc/guix.texi:21250
  31736. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  31737. msgstr ""
  31738. #. type: item
  31739. #: guix-git/doc/guix.texi:21251
  31740. #, no-wrap
  31741. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  31742. msgstr ""
  31743. #. type: table
  31744. #: guix-git/doc/guix.texi:21254
  31745. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  31746. msgstr ""
  31747. #. type: table
  31748. #: guix-git/doc/guix.texi:21256
  31749. msgid "Possible values are:"
  31750. msgstr ""
  31751. #. type: code{#1}
  31752. #: guix-git/doc/guix.texi:21260
  31753. msgid "'power-off"
  31754. msgstr ""
  31755. #. type: code{#1}
  31756. #: guix-git/doc/guix.texi:21263
  31757. msgid "'hibernate"
  31758. msgstr ""
  31759. #. type: itemize
  31760. #: guix-git/doc/guix.texi:21266
  31761. msgid "@code{'hybrid-sleep}."
  31762. msgstr ""
  31763. #. type: deffn
  31764. #: guix-git/doc/guix.texi:21271
  31765. #, no-wrap
  31766. msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]"
  31767. msgstr ""
  31768. #. type: deffn
  31769. #: guix-git/doc/guix.texi:21281
  31770. msgid "Return a service for @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."
  31771. msgstr ""
  31772. #. type: deffn
  31773. #: guix-git/doc/guix.texi:21283
  31774. #, no-wrap
  31775. msgid "{Scheme Variable} colord-service-type"
  31776. msgstr ""
  31777. #. type: deffn
  31778. #: guix-git/doc/guix.texi:21290
  31779. 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."
  31780. msgstr ""
  31781. #. type: cindex
  31782. #: guix-git/doc/guix.texi:21292
  31783. #, no-wrap
  31784. msgid "scanner access"
  31785. msgstr ""
  31786. #. type: defvr
  31787. #: guix-git/doc/guix.texi:21293
  31788. #, no-wrap
  31789. msgid "{Scheme Variable} sane-service-type"
  31790. msgstr ""
  31791. #. type: defvr
  31792. #: guix-git/doc/guix.texi:21299
  31793. 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."
  31794. msgstr ""
  31795. #. type: defvr
  31796. #: guix-git/doc/guix.texi:21301
  31797. #, no-wrap
  31798. msgid "{Scheme Variable} sane-backends-minimal"
  31799. msgstr ""
  31800. #. type: defvr
  31801. #: guix-git/doc/guix.texi:21304
  31802. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  31803. msgstr ""
  31804. #. type: defvr
  31805. #: guix-git/doc/guix.texi:21306
  31806. #, no-wrap
  31807. msgid "{Scheme Variable} sane-backends"
  31808. msgstr ""
  31809. #. type: defvr
  31810. #: guix-git/doc/guix.texi:21313
  31811. 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:"
  31812. msgstr ""
  31813. #. type: lisp
  31814. #: guix-git/doc/guix.texi:21322
  31815. #, no-wrap
  31816. msgid ""
  31817. "(use-modules (gnu))\n"
  31818. "(use-service-modules\n"
  31819. " @dots{}\n"
  31820. " desktop)\n"
  31821. "(use-package-modules\n"
  31822. " @dots{}\n"
  31823. " scanner)\n"
  31824. "\n"
  31825. msgstr ""
  31826. #. type: lisp
  31827. #: guix-git/doc/guix.texi:21327
  31828. #, no-wrap
  31829. msgid ""
  31830. "(define %my-desktop-services\n"
  31831. " ;; List of desktop services that supports a broader range of scanners.\n"
  31832. " (modify-services %desktop-services\n"
  31833. " (sane-service-type _ => sane-backends)))\n"
  31834. "\n"
  31835. msgstr ""
  31836. #. type: lisp
  31837. #: guix-git/doc/guix.texi:21331
  31838. #, no-wrap
  31839. msgid ""
  31840. "(operating-system\n"
  31841. " @dots{}\n"
  31842. " (services %my-desktop-services))\n"
  31843. msgstr ""
  31844. #. type: deffn
  31845. #: guix-git/doc/guix.texi:21334
  31846. #, no-wrap
  31847. msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  31848. msgstr ""
  31849. #. type: deffn
  31850. #: guix-git/doc/guix.texi:21343
  31851. 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."
  31852. msgstr ""
  31853. #. type: defvr
  31854. #: guix-git/doc/guix.texi:21345
  31855. #, no-wrap
  31856. msgid "{Scheme Variable} %standard-geoclue-applications"
  31857. msgstr ""
  31858. #. type: defvr
  31859. #: guix-git/doc/guix.texi:21352
  31860. 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."
  31861. msgstr ""
  31862. #. type: deffn
  31863. #: guix-git/doc/guix.texi:21354
  31864. #, no-wrap
  31865. msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @"
  31866. msgstr ""
  31867. #. type: deffn
  31868. #: guix-git/doc/guix.texi:21367
  31869. msgid "[#:whitelist '()] @ [#:wifi-geolocation-url \"https://location.services.mozilla.com/v1/geolocate?key=geoclue\"] @ [#:submit-data? #f] [#:wifi-submission-url \"https://location.services.mozilla.com/v1/submit?key=geoclue\"] @ [#:submission-nick \"geoclue\"] @ [#:applications %standard-geoclue-applications] Return a service that runs the 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. See @uref{https://wiki.freedesktop.org/www/Software/GeoClue/, the GeoClue web site} for more information."
  31870. msgstr ""
  31871. #. type: deffn
  31872. #: guix-git/doc/guix.texi:21369
  31873. #, no-wrap
  31874. msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @"
  31875. msgstr ""
  31876. #. type: deffn
  31877. #: guix-git/doc/guix.texi:21376
  31878. msgid "[@w{#:auto-enable? #f}] Return a service that runs the @command{bluetoothd} daemon, which manages all the Bluetooth devices and provides a number of D-Bus interfaces. When AUTO-ENABLE? is true, the bluetooth controller is powered automatically at boot, which can be useful when using a bluetooth keyboard or mouse."
  31879. msgstr ""
  31880. #. type: deffn
  31881. #: guix-git/doc/guix.texi:21378
  31882. msgid "Users need to be in the @code{lp} group to access the D-Bus service."
  31883. msgstr ""
  31884. #. type: defvr
  31885. #: guix-git/doc/guix.texi:21380
  31886. #, no-wrap
  31887. msgid "{Scheme Variable} gnome-keyring-service-type"
  31888. msgstr ""
  31889. #. type: defvr
  31890. #: guix-git/doc/guix.texi:21384
  31891. 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)."
  31892. msgstr ""
  31893. #. type: defvr
  31894. #: guix-git/doc/guix.texi:21388
  31895. 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."
  31896. msgstr ""
  31897. #. type: deftp
  31898. #: guix-git/doc/guix.texi:21390
  31899. #, no-wrap
  31900. msgid "{Data Type} gnome-keyring-configuration"
  31901. msgstr ""
  31902. #. type: deftp
  31903. #: guix-git/doc/guix.texi:21392
  31904. msgid "Configuration record for the GNOME Keyring service."
  31905. msgstr ""
  31906. #. type: item
  31907. #: guix-git/doc/guix.texi:21394
  31908. #, no-wrap
  31909. msgid "@code{keyring} (default: @code{gnome-keyring})"
  31910. msgstr ""
  31911. #. type: table
  31912. #: guix-git/doc/guix.texi:21396
  31913. msgid "The GNOME keyring package to use."
  31914. msgstr ""
  31915. #. type: code{#1}
  31916. #: guix-git/doc/guix.texi:21397
  31917. #, no-wrap
  31918. msgid "pam-services"
  31919. msgstr ""
  31920. #. type: table
  31921. #: guix-git/doc/guix.texi:21402
  31922. 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}."
  31923. msgstr ""
  31924. #. type: table
  31925. #: guix-git/doc/guix.texi:21408
  31926. 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."
  31927. msgstr ""
  31928. #. type: table
  31929. #: guix-git/doc/guix.texi:21411
  31930. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  31931. msgstr ""
  31932. #. type: cindex
  31933. #: guix-git/doc/guix.texi:21418
  31934. #, no-wrap
  31935. msgid "sound support"
  31936. msgstr ""
  31937. #. type: cindex
  31938. #: guix-git/doc/guix.texi:21419
  31939. #, no-wrap
  31940. msgid "ALSA"
  31941. msgstr ""
  31942. #. type: cindex
  31943. #: guix-git/doc/guix.texi:21420
  31944. #, no-wrap
  31945. msgid "PulseAudio, sound support"
  31946. msgstr ""
  31947. #. type: Plain text
  31948. #: guix-git/doc/guix.texi:21425
  31949. 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."
  31950. msgstr ""
  31951. #. type: deffn
  31952. #: guix-git/doc/guix.texi:21426
  31953. #, no-wrap
  31954. msgid "{Scheme Variable} alsa-service-type"
  31955. msgstr ""
  31956. #. type: deffn
  31957. #: guix-git/doc/guix.texi:21431
  31958. 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:"
  31959. msgstr ""
  31960. #. type: lisp
  31961. #: guix-git/doc/guix.texi:21434
  31962. #, no-wrap
  31963. msgid "(service alsa-service-type)\n"
  31964. msgstr ""
  31965. #. type: deffn
  31966. #: guix-git/doc/guix.texi:21437
  31967. msgid "See below for details about @code{alsa-configuration}."
  31968. msgstr ""
  31969. #. type: deftp
  31970. #: guix-git/doc/guix.texi:21439
  31971. #, no-wrap
  31972. msgid "{Data Type} alsa-configuration"
  31973. msgstr ""
  31974. #. type: deftp
  31975. #: guix-git/doc/guix.texi:21441
  31976. msgid "Data type representing the configuration for @code{alsa-service}."
  31977. msgstr ""
  31978. #. type: item
  31979. #: guix-git/doc/guix.texi:21443
  31980. #, no-wrap
  31981. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  31982. msgstr "@code{alsa-plugins} (default: @var{alsa-plugins})"
  31983. #. type: table
  31984. #: guix-git/doc/guix.texi:21445
  31985. msgid "@code{alsa-plugins} package to use."
  31986. msgstr ""
  31987. #. type: item
  31988. #: guix-git/doc/guix.texi:21446
  31989. #, no-wrap
  31990. msgid "@code{pulseaudio?} (default: @var{#t})"
  31991. msgstr ""
  31992. #. type: table
  31993. #: guix-git/doc/guix.texi:21449
  31994. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  31995. msgstr ""
  31996. #. type: table
  31997. #: guix-git/doc/guix.texi:21453
  31998. 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."
  31999. msgstr ""
  32000. #. type: item
  32001. #: guix-git/doc/guix.texi:21454
  32002. #, no-wrap
  32003. msgid "@code{extra-options} (default: @var{\"\"})"
  32004. msgstr ""
  32005. #. type: table
  32006. #: guix-git/doc/guix.texi:21456
  32007. msgid "String to append to the @file{/etc/asound.conf} file."
  32008. msgstr ""
  32009. #. type: Plain text
  32010. #: guix-git/doc/guix.texi:21462
  32011. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  32012. msgstr ""
  32013. #. type: example
  32014. #: guix-git/doc/guix.texi:21468
  32015. #, no-wrap
  32016. msgid ""
  32017. "# In guix, we have to specify the absolute path for plugins.\n"
  32018. "pcm_type.jack @{\n"
  32019. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  32020. "@}\n"
  32021. "\n"
  32022. msgstr ""
  32023. #. type: example
  32024. #: guix-git/doc/guix.texi:21477
  32025. #, no-wrap
  32026. msgid ""
  32027. "# Routing ALSA to jack:\n"
  32028. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  32029. "pcm.rawjack @{\n"
  32030. " type jack\n"
  32031. " playback_ports @{\n"
  32032. " 0 system:playback_1\n"
  32033. " 1 system:playback_2\n"
  32034. " @}\n"
  32035. "\n"
  32036. msgstr ""
  32037. #. type: example
  32038. #: guix-git/doc/guix.texi:21483
  32039. #, no-wrap
  32040. msgid ""
  32041. " capture_ports @{\n"
  32042. " 0 system:capture_1\n"
  32043. " 1 system:capture_2\n"
  32044. " @}\n"
  32045. "@}\n"
  32046. "\n"
  32047. msgstr ""
  32048. #. type: example
  32049. #: guix-git/doc/guix.texi:21490
  32050. #, no-wrap
  32051. msgid ""
  32052. "pcm.!default @{\n"
  32053. " type plug\n"
  32054. " slave @{\n"
  32055. " pcm \"rawjack\"\n"
  32056. " @}\n"
  32057. "@}\n"
  32058. msgstr ""
  32059. #. type: Plain text
  32060. #: guix-git/doc/guix.texi:21494
  32061. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  32062. msgstr ""
  32063. #. type: deffn
  32064. #: guix-git/doc/guix.texi:21495
  32065. #, no-wrap
  32066. msgid "{Scheme Variable} pulseaudio-service-type"
  32067. msgstr ""
  32068. #. type: deffn
  32069. #: guix-git/doc/guix.texi:21499
  32070. 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."
  32071. msgstr ""
  32072. #. type: quotation
  32073. #: guix-git/doc/guix.texi:21505
  32074. 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}."
  32075. msgstr ""
  32076. #. type: quotation
  32077. #: guix-git/doc/guix.texi:21513
  32078. 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."
  32079. msgstr ""
  32080. #. type: deftp
  32081. #: guix-git/doc/guix.texi:21516
  32082. #, no-wrap
  32083. msgid "{Data Type} pulseaudio-configuration"
  32084. msgstr ""
  32085. #. type: deftp
  32086. #: guix-git/doc/guix.texi:21518
  32087. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  32088. msgstr ""
  32089. #. type: item
  32090. #: guix-git/doc/guix.texi:21520
  32091. #, no-wrap
  32092. msgid "@code{client-conf} (default: @code{'()})"
  32093. msgstr ""
  32094. #. type: table
  32095. #: guix-git/doc/guix.texi:21525
  32096. 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."
  32097. msgstr ""
  32098. #. type: item
  32099. #: guix-git/doc/guix.texi:21526
  32100. #, no-wrap
  32101. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  32102. msgstr ""
  32103. #. type: table
  32104. #: guix-git/doc/guix.texi:21529
  32105. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  32106. msgstr ""
  32107. #. type: item
  32108. #: guix-git/doc/guix.texi:21530
  32109. #, no-wrap
  32110. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  32111. msgstr ""
  32112. #. type: table
  32113. #: guix-git/doc/guix.texi:21535
  32114. 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."
  32115. msgstr ""
  32116. #. type: item
  32117. #: guix-git/doc/guix.texi:21536
  32118. #, fuzzy, no-wrap
  32119. #| msgid "@code{features} (default: @code{'()})"
  32120. msgid "@code{extra-script-files} (default: @code{'())})"
  32121. msgstr "@code{features} (padrão: @code{'()})"
  32122. #. type: table
  32123. #: guix-git/doc/guix.texi:21543
  32124. 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}."
  32125. msgstr ""
  32126. #. type: item
  32127. #: guix-git/doc/guix.texi:21544
  32128. #, no-wrap
  32129. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  32130. msgstr ""
  32131. #. type: table
  32132. #: guix-git/doc/guix.texi:21546
  32133. msgid "Script file to use as @file{system.pa}."
  32134. msgstr ""
  32135. #. type: deftp
  32136. #: guix-git/doc/guix.texi:21551
  32137. 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:"
  32138. msgstr ""
  32139. #. type: lisp
  32140. #: guix-git/doc/guix.texi:21560
  32141. #, no-wrap
  32142. msgid ""
  32143. "(pulseaudio-configuration\n"
  32144. " (extra-script-files\n"
  32145. " (list (plain-file \"audigy.pa\"\n"
  32146. " (string-append \"\\\n"
  32147. "set-card-profile alsa_card.pci-0000_01_01.0 \\\n"
  32148. " output:analog-surround-40+input:analog-mono\n"
  32149. "set-default-source alsa_input.pci-0000_01_01.0.analog-mono\n"
  32150. "set-default-sink alsa_output.pci-0000_01_01.0.analog-surround-40\\n\")))))\n"
  32151. msgstr ""
  32152. #. type: deftp
  32153. #: guix-git/doc/guix.texi:21568
  32154. 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."
  32155. msgstr ""
  32156. #. type: deffn
  32157. #: guix-git/doc/guix.texi:21571
  32158. #, no-wrap
  32159. msgid "{Scheme Variable} ladspa-service-type"
  32160. msgstr ""
  32161. #. type: deffn
  32162. #: guix-git/doc/guix.texi:21574
  32163. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  32164. msgstr ""
  32165. #. type: deffn
  32166. #: guix-git/doc/guix.texi:21577
  32167. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  32168. msgstr ""
  32169. #. type: lisp
  32170. #: guix-git/doc/guix.texi:21581
  32171. #, no-wrap
  32172. msgid ""
  32173. "(service ladspa-service-type\n"
  32174. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  32175. msgstr ""
  32176. #. type: deffn
  32177. #: guix-git/doc/guix.texi:21585
  32178. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  32179. msgstr ""
  32180. #. type: cindex
  32181. #: guix-git/doc/guix.texi:21592
  32182. #, no-wrap
  32183. msgid "SQL"
  32184. msgstr ""
  32185. #. type: Plain text
  32186. #: guix-git/doc/guix.texi:21594
  32187. msgid "The @code{(gnu services databases)} module provides the following services."
  32188. msgstr ""
  32189. #. type: subsubheading
  32190. #: guix-git/doc/guix.texi:21595
  32191. #, no-wrap
  32192. msgid "PostgreSQL"
  32193. msgstr ""
  32194. #. type: Plain text
  32195. #: guix-git/doc/guix.texi:21599
  32196. msgid "The following example describes a PostgreSQL service with the default configuration."
  32197. msgstr ""
  32198. #. type: lisp
  32199. #: guix-git/doc/guix.texi:21604
  32200. #, no-wrap
  32201. msgid ""
  32202. "(service postgresql-service-type\n"
  32203. " (postgresql-configuration\n"
  32204. " (postgresql postgresql-10)))\n"
  32205. msgstr ""
  32206. #. type: Plain text
  32207. #: guix-git/doc/guix.texi:21610
  32208. 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."
  32209. msgstr ""
  32210. #. type: Plain text
  32211. #: guix-git/doc/guix.texi:21617
  32212. 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."
  32213. msgstr ""
  32214. #. type: example
  32215. #: guix-git/doc/guix.texi:21622
  32216. #, no-wrap
  32217. msgid ""
  32218. "sudo -u postgres -s /bin/sh\n"
  32219. "createuser --interactive\n"
  32220. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  32221. msgstr ""
  32222. #. type: deftp
  32223. #: guix-git/doc/guix.texi:21624
  32224. #, no-wrap
  32225. msgid "{Data Type} postgresql-configuration"
  32226. msgstr ""
  32227. #. type: deftp
  32228. #: guix-git/doc/guix.texi:21627
  32229. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  32230. msgstr ""
  32231. #. type: code{#1}
  32232. #: guix-git/doc/guix.texi:21629
  32233. #, no-wrap
  32234. msgid "postgresql"
  32235. msgstr ""
  32236. #. type: table
  32237. #: guix-git/doc/guix.texi:21631
  32238. msgid "PostgreSQL package to use for the service."
  32239. msgstr ""
  32240. #. type: item
  32241. #: guix-git/doc/guix.texi:21632
  32242. #, no-wrap
  32243. msgid "@code{port} (default: @code{5432})"
  32244. msgstr ""
  32245. #. type: table
  32246. #: guix-git/doc/guix.texi:21634
  32247. msgid "Port on which PostgreSQL should listen."
  32248. msgstr ""
  32249. #. type: table
  32250. #: guix-git/doc/guix.texi:21637
  32251. msgid "Locale to use as the default when creating the database cluster."
  32252. msgstr ""
  32253. #. type: item
  32254. #: guix-git/doc/guix.texi:21638
  32255. #, no-wrap
  32256. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  32257. msgstr ""
  32258. #. type: table
  32259. #: guix-git/doc/guix.texi:21642
  32260. 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."
  32261. msgstr ""
  32262. #. type: item
  32263. #: guix-git/doc/guix.texi:21643
  32264. #, no-wrap
  32265. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  32266. msgstr ""
  32267. #. type: table
  32268. #: guix-git/doc/guix.texi:21647
  32269. 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."
  32270. msgstr ""
  32271. #. type: item
  32272. #: guix-git/doc/guix.texi:21648
  32273. #, no-wrap
  32274. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  32275. msgstr ""
  32276. #. type: table
  32277. #: guix-git/doc/guix.texi:21650
  32278. msgid "Directory in which to store the data."
  32279. msgstr ""
  32280. #. type: item
  32281. #: guix-git/doc/guix.texi:21651
  32282. #, no-wrap
  32283. msgid "@code{extension-packages} (default: @code{'()})"
  32284. msgstr ""
  32285. #. type: cindex
  32286. #: guix-git/doc/guix.texi:21652
  32287. #, no-wrap
  32288. msgid "postgresql extension-packages"
  32289. msgstr ""
  32290. #. type: table
  32291. #: guix-git/doc/guix.texi:21657
  32292. 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:"
  32293. msgstr ""
  32294. #. type: cindex
  32295. #: guix-git/doc/guix.texi:21658
  32296. #, no-wrap
  32297. msgid "postgis"
  32298. msgstr ""
  32299. #. type: lisp
  32300. #: guix-git/doc/guix.texi:21661
  32301. #, no-wrap
  32302. msgid ""
  32303. "(use-package-modules databases geo)\n"
  32304. "\n"
  32305. msgstr ""
  32306. #. type: lisp
  32307. #: guix-git/doc/guix.texi:21674
  32308. #, no-wrap
  32309. msgid ""
  32310. "(operating-system\n"
  32311. " ...\n"
  32312. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  32313. " ;; proper operation.\n"
  32314. " (packages (cons* postgresql %base-packages))\n"
  32315. " (services\n"
  32316. " (cons*\n"
  32317. " (service postgresql-service-type\n"
  32318. " (postgresql-configuration\n"
  32319. " (postgresql postgresql-10)\n"
  32320. " (extension-packages (list postgis))))\n"
  32321. " %base-services)))\n"
  32322. msgstr ""
  32323. #. type: table
  32324. #: guix-git/doc/guix.texi:21678
  32325. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  32326. msgstr ""
  32327. #. type: example
  32328. #: guix-git/doc/guix.texi:21685
  32329. #, no-wrap
  32330. msgid ""
  32331. "psql -U postgres\n"
  32332. "> create database postgistest;\n"
  32333. "> \\connect postgistest;\n"
  32334. "> create extension postgis;\n"
  32335. "> create extension postgis_topology;\n"
  32336. msgstr ""
  32337. #. type: table
  32338. #: guix-git/doc/guix.texi:21690
  32339. 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."
  32340. msgstr ""
  32341. #. type: deftp
  32342. #: guix-git/doc/guix.texi:21694
  32343. #, no-wrap
  32344. msgid "{Data Type} postgresql-config-file"
  32345. msgstr ""
  32346. #. type: deftp
  32347. #: guix-git/doc/guix.texi:21700
  32348. 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."
  32349. msgstr ""
  32350. #. type: lisp
  32351. #: guix-git/doc/guix.texi:21720
  32352. #, no-wrap
  32353. msgid ""
  32354. "(service postgresql-service-type\n"
  32355. " (postgresql-configuration\n"
  32356. " (config-file\n"
  32357. " (postgresql-config-file\n"
  32358. " (log-destination \"stderr\")\n"
  32359. " (hba-file\n"
  32360. " (plain-file \"pg_hba.conf\"\n"
  32361. " \"\n"
  32362. "local\tall\tall\t\t\ttrust\n"
  32363. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  32364. "host\tall\tall\t::1/128 \tmd5\"))\n"
  32365. " (extra-config\n"
  32366. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  32367. " (\"random_page_cost\" 2)\n"
  32368. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  32369. " (\"work_mem\" \"500 MB\")\n"
  32370. " (\"logging_collector\" #t)\n"
  32371. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  32372. msgstr ""
  32373. #. type: item
  32374. #: guix-git/doc/guix.texi:21723
  32375. #, no-wrap
  32376. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  32377. msgstr ""
  32378. #. type: table
  32379. #: guix-git/doc/guix.texi:21726
  32380. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  32381. msgstr ""
  32382. #. type: item
  32383. #: guix-git/doc/guix.texi:21727
  32384. #, no-wrap
  32385. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  32386. msgstr ""
  32387. #. type: table
  32388. #: guix-git/doc/guix.texi:21730
  32389. msgid "Filename or G-expression for the host-based authentication configuration."
  32390. msgstr ""
  32391. #. type: item
  32392. #: guix-git/doc/guix.texi:21731
  32393. #, no-wrap
  32394. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  32395. msgstr ""
  32396. #. type: table
  32397. #: guix-git/doc/guix.texi:21733
  32398. msgid "Filename or G-expression for the user name mapping configuration."
  32399. msgstr ""
  32400. #. type: item
  32401. #: guix-git/doc/guix.texi:21734
  32402. #, fuzzy, no-wrap
  32403. msgid "@code{socket-directory} (default: @code{\"/var/run/postgresql\"})"
  32404. msgstr "@code{chdir} (default: @code{#f})"
  32405. #. type: table
  32406. #: guix-git/doc/guix.texi:21739
  32407. 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."
  32408. msgstr ""
  32409. #. type: table
  32410. #: guix-git/doc/guix.texi:21742
  32411. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  32412. msgstr ""
  32413. #. type: table
  32414. #: guix-git/doc/guix.texi:21747
  32415. 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."
  32416. msgstr ""
  32417. #. type: table
  32418. #: guix-git/doc/guix.texi:21753
  32419. 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}."
  32420. msgstr ""
  32421. #. type: deffn
  32422. #: guix-git/doc/guix.texi:21757
  32423. #, no-wrap
  32424. msgid "{Scheme Variable} postgresql-role-service-type"
  32425. msgstr ""
  32426. #. type: deffn
  32427. #: guix-git/doc/guix.texi:21760
  32428. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  32429. msgstr ""
  32430. #. type: lisp
  32431. #: guix-git/doc/guix.texi:21768
  32432. #, no-wrap
  32433. msgid ""
  32434. "(service postgresql-role-service-type\n"
  32435. " (postgresql-role-configuration\n"
  32436. " (roles\n"
  32437. " (list (postgresql-role\n"
  32438. " (name \"test\")\n"
  32439. " (create-database? #t))))))\n"
  32440. msgstr ""
  32441. #. type: deffn
  32442. #: guix-git/doc/guix.texi:21772
  32443. msgid "This service can be extended with extra roles, as in this example:"
  32444. msgstr ""
  32445. #. type: lisp
  32446. #: guix-git/doc/guix.texi:21778
  32447. #, no-wrap
  32448. msgid ""
  32449. "(service-extension postgresql-role-service-type\n"
  32450. " (const (postgresql-role\n"
  32451. " (name \"alice\")\n"
  32452. " (create-database? #t))))\n"
  32453. msgstr ""
  32454. #. type: deftp
  32455. #: guix-git/doc/guix.texi:21781
  32456. #, no-wrap
  32457. msgid "{Data Type} postgresql-role"
  32458. msgstr ""
  32459. #. type: deftp
  32460. #: guix-git/doc/guix.texi:21787
  32461. 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."
  32462. msgstr ""
  32463. #. type: table
  32464. #: guix-git/doc/guix.texi:21791
  32465. msgid "The role name."
  32466. msgstr ""
  32467. #. type: item
  32468. #: guix-git/doc/guix.texi:21792
  32469. #, no-wrap
  32470. msgid "@code{permissions} (default: @code{'(createdb login)})"
  32471. msgstr ""
  32472. #. type: table
  32473. #: guix-git/doc/guix.texi:21796
  32474. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  32475. msgstr ""
  32476. #. type: item
  32477. #: guix-git/doc/guix.texi:21797
  32478. #, no-wrap
  32479. msgid "@code{create-database?} (default: @code{#f})"
  32480. msgstr ""
  32481. #. type: table
  32482. #: guix-git/doc/guix.texi:21799
  32483. msgid "Whether to create a database with the same name as the role."
  32484. msgstr ""
  32485. #. type: deftp
  32486. #: guix-git/doc/guix.texi:21803
  32487. #, no-wrap
  32488. msgid "{Data Type} postgresql-role-configuration"
  32489. msgstr ""
  32490. #. type: deftp
  32491. #: guix-git/doc/guix.texi:21806
  32492. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  32493. msgstr ""
  32494. #. type: item
  32495. #: guix-git/doc/guix.texi:21808
  32496. #, no-wrap
  32497. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  32498. msgstr ""
  32499. #. type: table
  32500. #: guix-git/doc/guix.texi:21810
  32501. msgid "The PostgreSQL host to connect to."
  32502. msgstr ""
  32503. #. type: item
  32504. #: guix-git/doc/guix.texi:21811
  32505. #, no-wrap
  32506. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  32507. msgstr ""
  32508. #. type: table
  32509. #: guix-git/doc/guix.texi:21813
  32510. msgid "File name of the log file."
  32511. msgstr ""
  32512. #. type: item
  32513. #: guix-git/doc/guix.texi:21814
  32514. #, no-wrap
  32515. msgid "@code{roles} (default: @code{'()})"
  32516. msgstr ""
  32517. #. type: table
  32518. #: guix-git/doc/guix.texi:21816
  32519. msgid "The initial PostgreSQL roles to create."
  32520. msgstr ""
  32521. #. type: subsubheading
  32522. #: guix-git/doc/guix.texi:21819
  32523. #, no-wrap
  32524. msgid "MariaDB/MySQL"
  32525. msgstr ""
  32526. #. type: defvr
  32527. #: guix-git/doc/guix.texi:21821
  32528. #, no-wrap
  32529. msgid "{Scheme Variable} mysql-service-type"
  32530. msgstr ""
  32531. #. type: defvr
  32532. #: guix-git/doc/guix.texi:21825
  32533. 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."
  32534. msgstr ""
  32535. #. type: deftp
  32536. #: guix-git/doc/guix.texi:21827
  32537. #, no-wrap
  32538. msgid "{Data Type} mysql-configuration"
  32539. msgstr ""
  32540. #. type: deftp
  32541. #: guix-git/doc/guix.texi:21829
  32542. msgid "Data type representing the configuration of @var{mysql-service-type}."
  32543. msgstr ""
  32544. #. type: item
  32545. #: guix-git/doc/guix.texi:21831
  32546. #, no-wrap
  32547. msgid "@code{mysql} (default: @var{mariadb})"
  32548. msgstr ""
  32549. #. type: table
  32550. #: guix-git/doc/guix.texi:21834
  32551. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  32552. msgstr ""
  32553. #. type: table
  32554. #: guix-git/doc/guix.texi:21837
  32555. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  32556. msgstr ""
  32557. #. type: item
  32558. #: guix-git/doc/guix.texi:21838 guix-git/doc/guix.texi:25658
  32559. #, no-wrap
  32560. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  32561. msgstr ""
  32562. #. type: table
  32563. #: guix-git/doc/guix.texi:21841
  32564. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  32565. msgstr ""
  32566. #. type: item
  32567. #: guix-git/doc/guix.texi:21842
  32568. #, no-wrap
  32569. msgid "@code{port} (default: @code{3306})"
  32570. msgstr "@code{porta} (default: @code{3306})"
  32571. #. type: table
  32572. #: guix-git/doc/guix.texi:21844
  32573. msgid "TCP port on which the database server listens for incoming connections."
  32574. msgstr ""
  32575. #. type: item
  32576. #: guix-git/doc/guix.texi:21845
  32577. #, no-wrap
  32578. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  32579. msgstr ""
  32580. #. type: table
  32581. #: guix-git/doc/guix.texi:21847
  32582. msgid "Socket file to use for local (non-network) connections."
  32583. msgstr ""
  32584. #. type: table
  32585. #: guix-git/doc/guix.texi:21850
  32586. msgid "Additional settings for the @file{my.cnf} configuration file."
  32587. msgstr ""
  32588. #. type: item
  32589. #: guix-git/doc/guix.texi:21851
  32590. #, fuzzy, no-wrap
  32591. #| msgid "@code{replacement} (default: @code{#f})"
  32592. msgid "@code{extra-environment} (default: @code{#~'()})"
  32593. msgstr "@code{replacement} (default: @code{#f})"
  32594. #. type: table
  32595. #: guix-git/doc/guix.texi:21853
  32596. msgid "List of environment variables passed to the @command{mysqld} process."
  32597. msgstr ""
  32598. #. type: item
  32599. #: guix-git/doc/guix.texi:21854
  32600. #, no-wrap
  32601. msgid "@code{auto-upgrade?} (default: @code{#t})"
  32602. msgstr ""
  32603. #. type: table
  32604. #: guix-git/doc/guix.texi:21859
  32605. 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."
  32606. msgstr ""
  32607. #. type: subsubheading
  32608. #: guix-git/doc/guix.texi:21863
  32609. #, no-wrap
  32610. msgid "Memcached"
  32611. msgstr ""
  32612. #. type: defvr
  32613. #: guix-git/doc/guix.texi:21865
  32614. #, no-wrap
  32615. msgid "{Scheme Variable} memcached-service-type"
  32616. msgstr ""
  32617. #. type: defvr
  32618. #: guix-git/doc/guix.texi:21869
  32619. 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."
  32620. msgstr ""
  32621. #. type: lisp
  32622. #: guix-git/doc/guix.texi:21873
  32623. #, no-wrap
  32624. msgid "(service memcached-service-type)\n"
  32625. msgstr ""
  32626. #. type: deftp
  32627. #: guix-git/doc/guix.texi:21875
  32628. #, no-wrap
  32629. msgid "{Data Type} memcached-configuration"
  32630. msgstr ""
  32631. #. type: deftp
  32632. #: guix-git/doc/guix.texi:21877
  32633. msgid "Data type representing the configuration of memcached."
  32634. msgstr ""
  32635. #. type: item
  32636. #: guix-git/doc/guix.texi:21879
  32637. #, no-wrap
  32638. msgid "@code{memcached} (default: @code{memcached})"
  32639. msgstr ""
  32640. #. type: table
  32641. #: guix-git/doc/guix.texi:21881
  32642. msgid "The Memcached package to use."
  32643. msgstr ""
  32644. #. type: item
  32645. #: guix-git/doc/guix.texi:21882
  32646. #, no-wrap
  32647. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  32648. msgstr ""
  32649. #. type: table
  32650. #: guix-git/doc/guix.texi:21884
  32651. msgid "Network interfaces on which to listen."
  32652. msgstr ""
  32653. #. type: item
  32654. #: guix-git/doc/guix.texi:21885
  32655. #, no-wrap
  32656. msgid "@code{tcp-port} (default: @code{11211})"
  32657. msgstr ""
  32658. #. type: table
  32659. #: guix-git/doc/guix.texi:21887
  32660. msgid "Port on which to accept connections."
  32661. msgstr ""
  32662. #. type: item
  32663. #: guix-git/doc/guix.texi:21888
  32664. #, no-wrap
  32665. msgid "@code{udp-port} (default: @code{11211})"
  32666. msgstr ""
  32667. #. type: table
  32668. #: guix-git/doc/guix.texi:21891
  32669. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  32670. msgstr ""
  32671. #. type: item
  32672. #: guix-git/doc/guix.texi:21892
  32673. #, no-wrap
  32674. msgid "@code{additional-options} (default: @code{'()})"
  32675. msgstr ""
  32676. #. type: table
  32677. #: guix-git/doc/guix.texi:21894
  32678. msgid "Additional command line options to pass to @code{memcached}."
  32679. msgstr ""
  32680. #. type: subsubheading
  32681. #: guix-git/doc/guix.texi:21897
  32682. #, no-wrap
  32683. msgid "Redis"
  32684. msgstr ""
  32685. #. type: defvr
  32686. #: guix-git/doc/guix.texi:21899
  32687. #, no-wrap
  32688. msgid "{Scheme Variable} redis-service-type"
  32689. msgstr ""
  32690. #. type: defvr
  32691. #: guix-git/doc/guix.texi:21902
  32692. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  32693. msgstr ""
  32694. #. type: deftp
  32695. #: guix-git/doc/guix.texi:21904
  32696. #, no-wrap
  32697. msgid "{Data Type} redis-configuration"
  32698. msgstr ""
  32699. #. type: deftp
  32700. #: guix-git/doc/guix.texi:21906
  32701. msgid "Data type representing the configuration of redis."
  32702. msgstr ""
  32703. #. type: item
  32704. #: guix-git/doc/guix.texi:21908
  32705. #, no-wrap
  32706. msgid "@code{redis} (default: @code{redis})"
  32707. msgstr ""
  32708. #. type: table
  32709. #: guix-git/doc/guix.texi:21910
  32710. msgid "The Redis package to use."
  32711. msgstr ""
  32712. #. type: item
  32713. #: guix-git/doc/guix.texi:21911
  32714. #, no-wrap
  32715. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  32716. msgstr ""
  32717. #. type: table
  32718. #: guix-git/doc/guix.texi:21913
  32719. msgid "Network interface on which to listen."
  32720. msgstr ""
  32721. #. type: item
  32722. #: guix-git/doc/guix.texi:21914
  32723. #, no-wrap
  32724. msgid "@code{port} (default: @code{6379})"
  32725. msgstr "@code{porta} (default: @code{6379})"
  32726. #. type: table
  32727. #: guix-git/doc/guix.texi:21917
  32728. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  32729. msgstr ""
  32730. #. type: item
  32731. #: guix-git/doc/guix.texi:21918
  32732. #, no-wrap
  32733. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  32734. msgstr ""
  32735. #. type: table
  32736. #: guix-git/doc/guix.texi:21920
  32737. msgid "Directory in which to store the database and related files."
  32738. msgstr ""
  32739. #. type: cindex
  32740. #: guix-git/doc/guix.texi:21926
  32741. #, no-wrap
  32742. msgid "mail"
  32743. msgstr ""
  32744. #. type: cindex
  32745. #: guix-git/doc/guix.texi:21927
  32746. #, no-wrap
  32747. msgid "email"
  32748. msgstr "e-mail"
  32749. #. type: Plain text
  32750. #: guix-git/doc/guix.texi:21932
  32751. 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."
  32752. msgstr ""
  32753. #. type: subsubheading
  32754. #: guix-git/doc/guix.texi:21933
  32755. #, no-wrap
  32756. msgid "Dovecot Service"
  32757. msgstr ""
  32758. #. type: deffn
  32759. #: guix-git/doc/guix.texi:21935
  32760. #, no-wrap
  32761. msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]"
  32762. msgstr ""
  32763. #. type: deffn
  32764. #: guix-git/doc/guix.texi:21937
  32765. msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server."
  32766. msgstr ""
  32767. #. type: Plain text
  32768. #: guix-git/doc/guix.texi:21947
  32769. 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."
  32770. msgstr ""
  32771. #. type: Plain text
  32772. #: guix-git/doc/guix.texi:21950
  32773. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  32774. msgstr ""
  32775. #. type: lisp
  32776. #: guix-git/doc/guix.texi:21955
  32777. #, no-wrap
  32778. msgid ""
  32779. "(dovecot-service #:config\n"
  32780. " (dovecot-configuration\n"
  32781. " (mail-location \"maildir:~/.mail\")))\n"
  32782. msgstr ""
  32783. #. type: Plain text
  32784. #: guix-git/doc/guix.texi:21963
  32785. 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."
  32786. msgstr ""
  32787. #. type: Plain text
  32788. #: guix-git/doc/guix.texi:21973
  32789. msgid "Available @code{dovecot-configuration} fields are:"
  32790. msgstr ""
  32791. #. type: deftypevr
  32792. #: guix-git/doc/guix.texi:21974
  32793. #, no-wrap
  32794. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  32795. msgstr ""
  32796. #. type: deftypevr
  32797. #: guix-git/doc/guix.texi:21976 guix-git/doc/guix.texi:23325
  32798. msgid "The dovecot package."
  32799. msgstr ""
  32800. #. type: deftypevr
  32801. #: guix-git/doc/guix.texi:21978
  32802. #, no-wrap
  32803. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  32804. msgstr ""
  32805. #. type: deftypevr
  32806. #: guix-git/doc/guix.texi:21984
  32807. 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."
  32808. msgstr ""
  32809. #. type: deftypevr
  32810. #: guix-git/doc/guix.texi:21986
  32811. #, no-wrap
  32812. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  32813. msgstr ""
  32814. #. type: deftypevr
  32815. #: guix-git/doc/guix.texi:21989
  32816. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  32817. msgstr ""
  32818. #. type: deftypevr
  32819. #: guix-git/doc/guix.texi:21991
  32820. msgid "Available @code{protocol-configuration} fields are:"
  32821. msgstr ""
  32822. #. type: deftypevr
  32823. #: guix-git/doc/guix.texi:21992
  32824. #, no-wrap
  32825. msgid "{@code{protocol-configuration} parameter} string name"
  32826. msgstr ""
  32827. #. type: deftypevr
  32828. #: guix-git/doc/guix.texi:21994
  32829. msgid "The name of the protocol."
  32830. msgstr ""
  32831. #. type: deftypevr
  32832. #: guix-git/doc/guix.texi:21996
  32833. #, no-wrap
  32834. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  32835. msgstr ""
  32836. #. type: deftypevr
  32837. #: guix-git/doc/guix.texi:22000
  32838. 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\"}."
  32839. msgstr ""
  32840. #. type: deftypevr
  32841. #: guix-git/doc/guix.texi:22002
  32842. #, no-wrap
  32843. msgid "{@code{protocol-configuration} parameter} boolean imap-metadata?"
  32844. msgstr ""
  32845. #. type: deftypevr
  32846. #: guix-git/doc/guix.texi:22007
  32847. 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."
  32848. msgstr ""
  32849. #. type: deftypevr
  32850. #: guix-git/doc/guix.texi:22010
  32851. msgid "If this is @samp{#t}, you must also specify a dictionary @i{via} the @code{mail-attribute-dict} setting."
  32852. msgstr ""
  32853. #. type: deftypevr
  32854. #: guix-git/doc/guix.texi:22015
  32855. #, no-wrap
  32856. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-notify-capabilities"
  32857. msgstr ""
  32858. #. type: deftypevr
  32859. #: guix-git/doc/guix.texi:22020
  32860. 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."
  32861. msgstr ""
  32862. #. type: deftypevr
  32863. #: guix-git/doc/guix.texi:22024
  32864. #, no-wrap
  32865. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-sieve-capability"
  32866. msgstr ""
  32867. #. type: deftypevr
  32868. #: guix-git/doc/guix.texi:22029
  32869. 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."
  32870. msgstr ""
  32871. #. type: deftypevr
  32872. #: guix-git/doc/guix.texi:22034
  32873. #, no-wrap
  32874. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  32875. msgstr ""
  32876. #. type: deftypevr
  32877. #: guix-git/doc/guix.texi:22036
  32878. msgid "Space separated list of plugins to load."
  32879. msgstr ""
  32880. #. type: deftypevr
  32881. #: guix-git/doc/guix.texi:22038
  32882. #, no-wrap
  32883. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  32884. msgstr ""
  32885. #. type: deftypevr
  32886. #: guix-git/doc/guix.texi:22042
  32887. 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}."
  32888. msgstr ""
  32889. #. type: deftypevr
  32890. #: guix-git/doc/guix.texi:22046
  32891. #, no-wrap
  32892. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  32893. msgstr ""
  32894. #. type: deftypevr
  32895. #: guix-git/doc/guix.texi:22050
  32896. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  32897. msgstr ""
  32898. #. type: deftypevr
  32899. #: guix-git/doc/guix.texi:22052
  32900. msgid "Available @code{service-configuration} fields are:"
  32901. msgstr ""
  32902. #. type: deftypevr
  32903. #: guix-git/doc/guix.texi:22053
  32904. #, no-wrap
  32905. msgid "{@code{service-configuration} parameter} string kind"
  32906. msgstr ""
  32907. #. type: deftypevr
  32908. #: guix-git/doc/guix.texi:22058
  32909. 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."
  32910. msgstr ""
  32911. #. type: deftypevr
  32912. #: guix-git/doc/guix.texi:22060
  32913. #, no-wrap
  32914. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  32915. msgstr ""
  32916. #. type: deftypevr
  32917. #: guix-git/doc/guix.texi:22065
  32918. 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{()}."
  32919. msgstr ""
  32920. #. type: deftypevr
  32921. #: guix-git/doc/guix.texi:22067
  32922. msgid "Available @code{unix-listener-configuration} fields are:"
  32923. msgstr ""
  32924. #. type: deftypevr
  32925. #: guix-git/doc/guix.texi:22068
  32926. #, no-wrap
  32927. msgid "{@code{unix-listener-configuration} parameter} string path"
  32928. msgstr ""
  32929. #. type: deftypevr
  32930. #: guix-git/doc/guix.texi:22071 guix-git/doc/guix.texi:22094
  32931. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  32932. msgstr ""
  32933. #. type: deftypevr
  32934. #: guix-git/doc/guix.texi:22073
  32935. #, no-wrap
  32936. msgid "{@code{unix-listener-configuration} parameter} string mode"
  32937. msgstr ""
  32938. #. type: deftypevr
  32939. #: guix-git/doc/guix.texi:22076 guix-git/doc/guix.texi:22099
  32940. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  32941. msgstr ""
  32942. #. type: deftypevr
  32943. #: guix-git/doc/guix.texi:22078
  32944. #, no-wrap
  32945. msgid "{@code{unix-listener-configuration} parameter} string user"
  32946. msgstr ""
  32947. #. type: deftypevr
  32948. #: guix-git/doc/guix.texi:22081 guix-git/doc/guix.texi:22104
  32949. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  32950. msgstr ""
  32951. #. type: deftypevr
  32952. #: guix-git/doc/guix.texi:22083
  32953. #, no-wrap
  32954. msgid "{@code{unix-listener-configuration} parameter} string group"
  32955. msgstr ""
  32956. #. type: deftypevr
  32957. #: guix-git/doc/guix.texi:22086 guix-git/doc/guix.texi:22109
  32958. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  32959. msgstr ""
  32960. #. type: deftypevr
  32961. #: guix-git/doc/guix.texi:22090
  32962. msgid "Available @code{fifo-listener-configuration} fields are:"
  32963. msgstr ""
  32964. #. type: deftypevr
  32965. #: guix-git/doc/guix.texi:22091
  32966. #, no-wrap
  32967. msgid "{@code{fifo-listener-configuration} parameter} string path"
  32968. msgstr ""
  32969. #. type: deftypevr
  32970. #: guix-git/doc/guix.texi:22096
  32971. #, no-wrap
  32972. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  32973. msgstr ""
  32974. #. type: deftypevr
  32975. #: guix-git/doc/guix.texi:22101
  32976. #, no-wrap
  32977. msgid "{@code{fifo-listener-configuration} parameter} string user"
  32978. msgstr ""
  32979. #. type: deftypevr
  32980. #: guix-git/doc/guix.texi:22106
  32981. #, no-wrap
  32982. msgid "{@code{fifo-listener-configuration} parameter} string group"
  32983. msgstr ""
  32984. #. type: deftypevr
  32985. #: guix-git/doc/guix.texi:22113
  32986. msgid "Available @code{inet-listener-configuration} fields are:"
  32987. msgstr ""
  32988. #. type: deftypevr
  32989. #: guix-git/doc/guix.texi:22114
  32990. #, no-wrap
  32991. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  32992. msgstr ""
  32993. #. type: deftypevr
  32994. #: guix-git/doc/guix.texi:22116
  32995. msgid "The protocol to listen for."
  32996. msgstr ""
  32997. #. type: deftypevr
  32998. #: guix-git/doc/guix.texi:22118
  32999. #, no-wrap
  33000. msgid "{@code{inet-listener-configuration} parameter} string address"
  33001. msgstr ""
  33002. #. type: deftypevr
  33003. #: guix-git/doc/guix.texi:22121
  33004. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  33005. msgstr ""
  33006. #. type: deftypevr
  33007. #: guix-git/doc/guix.texi:22123
  33008. #, no-wrap
  33009. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  33010. msgstr ""
  33011. #. type: deftypevr
  33012. #: guix-git/doc/guix.texi:22125
  33013. msgid "The port on which to listen."
  33014. msgstr ""
  33015. #. type: deftypevr
  33016. #: guix-git/doc/guix.texi:22127
  33017. #, no-wrap
  33018. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  33019. msgstr ""
  33020. #. type: deftypevr
  33021. #: guix-git/doc/guix.texi:22131
  33022. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  33023. msgstr ""
  33024. #. type: deftypevr
  33025. #: guix-git/doc/guix.texi:22135
  33026. #, no-wrap
  33027. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  33028. msgstr ""
  33029. #. type: deftypevr
  33030. #: guix-git/doc/guix.texi:22140
  33031. 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."
  33032. msgstr ""
  33033. #. type: deftypevr
  33034. #: guix-git/doc/guix.texi:22145
  33035. #, no-wrap
  33036. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  33037. msgstr ""
  33038. #. type: deftypevr
  33039. #: guix-git/doc/guix.texi:22150
  33040. 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}."
  33041. msgstr ""
  33042. #. type: deftypevr
  33043. #: guix-git/doc/guix.texi:22153
  33044. #, no-wrap
  33045. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  33046. msgstr ""
  33047. #. type: deftypevr
  33048. #: guix-git/doc/guix.texi:22156
  33049. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  33050. msgstr ""
  33051. #. type: deftypevr
  33052. #: guix-git/doc/guix.texi:22161
  33053. #, no-wrap
  33054. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  33055. msgstr ""
  33056. #. type: deftypevr
  33057. #: guix-git/doc/guix.texi:22164
  33058. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  33059. msgstr ""
  33060. #. type: deftypevr
  33061. #: guix-git/doc/guix.texi:22166
  33062. #, no-wrap
  33063. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  33064. msgstr ""
  33065. #. type: deftypevr
  33066. #: guix-git/doc/guix.texi:22170
  33067. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  33068. msgstr ""
  33069. #. type: deftypevr
  33070. #: guix-git/doc/guix.texi:22174
  33071. #, no-wrap
  33072. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  33073. msgstr ""
  33074. #. type: deftypevr
  33075. #: guix-git/doc/guix.texi:22177
  33076. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  33077. msgstr ""
  33078. #. type: deftypevr
  33079. #: guix-git/doc/guix.texi:22179
  33080. msgid "Available @code{dict-configuration} fields are:"
  33081. msgstr ""
  33082. #. type: deftypevr
  33083. #: guix-git/doc/guix.texi:22180
  33084. #, no-wrap
  33085. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  33086. msgstr ""
  33087. #. type: deftypevr
  33088. #: guix-git/doc/guix.texi:22183
  33089. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}."
  33090. msgstr ""
  33091. #. type: deftypevr
  33092. #: guix-git/doc/guix.texi:22187
  33093. #, no-wrap
  33094. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  33095. msgstr ""
  33096. #. type: deftypevr
  33097. #: guix-git/doc/guix.texi:22190
  33098. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  33099. msgstr ""
  33100. #. type: deftypevr
  33101. #: guix-git/doc/guix.texi:22192
  33102. msgid "Available @code{passdb-configuration} fields are:"
  33103. msgstr ""
  33104. #. type: deftypevr
  33105. #: guix-git/doc/guix.texi:22193
  33106. #, no-wrap
  33107. msgid "{@code{passdb-configuration} parameter} string driver"
  33108. msgstr ""
  33109. #. type: deftypevr
  33110. #: guix-git/doc/guix.texi:22198
  33111. 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\"}."
  33112. msgstr ""
  33113. #. type: deftypevr
  33114. #: guix-git/doc/guix.texi:22200
  33115. #, no-wrap
  33116. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  33117. msgstr ""
  33118. #. type: deftypevr
  33119. #: guix-git/doc/guix.texi:22203
  33120. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  33121. msgstr ""
  33122. #. type: deftypevr
  33123. #: guix-git/doc/guix.texi:22207
  33124. #, no-wrap
  33125. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  33126. msgstr ""
  33127. #. type: deftypevr
  33128. #: guix-git/doc/guix.texi:22210
  33129. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  33130. msgstr ""
  33131. #. type: deftypevr
  33132. #: guix-git/doc/guix.texi:22212
  33133. msgid "Available @code{userdb-configuration} fields are:"
  33134. msgstr ""
  33135. #. type: deftypevr
  33136. #: guix-git/doc/guix.texi:22213
  33137. #, no-wrap
  33138. msgid "{@code{userdb-configuration} parameter} string driver"
  33139. msgstr ""
  33140. #. type: deftypevr
  33141. #: guix-git/doc/guix.texi:22217
  33142. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  33143. msgstr ""
  33144. #. type: deftypevr
  33145. #: guix-git/doc/guix.texi:22219
  33146. #, no-wrap
  33147. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  33148. msgstr ""
  33149. #. type: deftypevr
  33150. #: guix-git/doc/guix.texi:22222
  33151. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  33152. msgstr ""
  33153. #. type: deftypevr
  33154. #: guix-git/doc/guix.texi:22224
  33155. #, no-wrap
  33156. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  33157. msgstr ""
  33158. #. type: deftypevr
  33159. #: guix-git/doc/guix.texi:22227
  33160. msgid "Override fields from passwd. Defaults to @samp{()}."
  33161. msgstr ""
  33162. #. type: deftypevr
  33163. #: guix-git/doc/guix.texi:22231
  33164. #, no-wrap
  33165. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  33166. msgstr ""
  33167. #. type: deftypevr
  33168. #: guix-git/doc/guix.texi:22234
  33169. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  33170. msgstr ""
  33171. #. type: deftypevr
  33172. #: guix-git/doc/guix.texi:22236
  33173. #, no-wrap
  33174. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  33175. msgstr ""
  33176. #. type: deftypevr
  33177. #: guix-git/doc/guix.texi:22239
  33178. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  33179. msgstr ""
  33180. #. type: deftypevr
  33181. #: guix-git/doc/guix.texi:22241
  33182. msgid "Available @code{namespace-configuration} fields are:"
  33183. msgstr ""
  33184. #. type: deftypevr
  33185. #: guix-git/doc/guix.texi:22242
  33186. #, no-wrap
  33187. msgid "{@code{namespace-configuration} parameter} string name"
  33188. msgstr ""
  33189. #. type: deftypevr
  33190. #: guix-git/doc/guix.texi:22244
  33191. msgid "Name for this namespace."
  33192. msgstr ""
  33193. #. type: deftypevr
  33194. #: guix-git/doc/guix.texi:22246
  33195. #, no-wrap
  33196. msgid "{@code{namespace-configuration} parameter} string type"
  33197. msgstr ""
  33198. #. type: deftypevr
  33199. #: guix-git/doc/guix.texi:22249
  33200. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  33201. msgstr ""
  33202. #. type: deftypevr
  33203. #: guix-git/doc/guix.texi:22251
  33204. #, no-wrap
  33205. msgid "{@code{namespace-configuration} parameter} string separator"
  33206. msgstr ""
  33207. #. type: deftypevr
  33208. #: guix-git/doc/guix.texi:22257
  33209. 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{\"\"}."
  33210. msgstr ""
  33211. #. type: deftypevr
  33212. #: guix-git/doc/guix.texi:22259
  33213. #, no-wrap
  33214. msgid "{@code{namespace-configuration} parameter} string prefix"
  33215. msgstr ""
  33216. #. type: deftypevr
  33217. #: guix-git/doc/guix.texi:22263
  33218. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  33219. msgstr ""
  33220. #. type: deftypevr
  33221. #: guix-git/doc/guix.texi:22265
  33222. #, no-wrap
  33223. msgid "{@code{namespace-configuration} parameter} string location"
  33224. msgstr ""
  33225. #. type: deftypevr
  33226. #: guix-git/doc/guix.texi:22269
  33227. 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{\"\"}."
  33228. msgstr ""
  33229. #. type: deftypevr
  33230. #: guix-git/doc/guix.texi:22271
  33231. #, no-wrap
  33232. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  33233. msgstr ""
  33234. #. type: deftypevr
  33235. #: guix-git/doc/guix.texi:22275
  33236. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  33237. msgstr ""
  33238. #. type: deftypevr
  33239. #: guix-git/doc/guix.texi:22277
  33240. #, no-wrap
  33241. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  33242. msgstr ""
  33243. #. type: deftypevr
  33244. #: guix-git/doc/guix.texi:22285
  33245. 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}."
  33246. msgstr ""
  33247. #. type: deftypevr
  33248. #: guix-git/doc/guix.texi:22287
  33249. #, no-wrap
  33250. msgid "{@code{namespace-configuration} parameter} boolean list?"
  33251. msgstr ""
  33252. #. type: deftypevr
  33253. #: guix-git/doc/guix.texi:22293
  33254. 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}."
  33255. msgstr ""
  33256. #. type: deftypevr
  33257. #: guix-git/doc/guix.texi:22295
  33258. #, no-wrap
  33259. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  33260. msgstr ""
  33261. #. type: deftypevr
  33262. #: guix-git/doc/guix.texi:22300
  33263. 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}."
  33264. msgstr ""
  33265. #. type: deftypevr
  33266. #: guix-git/doc/guix.texi:22302
  33267. #, no-wrap
  33268. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  33269. msgstr ""
  33270. #. type: deftypevr
  33271. #: guix-git/doc/guix.texi:22305
  33272. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}."
  33273. msgstr ""
  33274. #. type: deftypevr
  33275. #: guix-git/doc/guix.texi:22307
  33276. msgid "Available @code{mailbox-configuration} fields are:"
  33277. msgstr ""
  33278. #. type: deftypevr
  33279. #: guix-git/doc/guix.texi:22308
  33280. #, no-wrap
  33281. msgid "{@code{mailbox-configuration} parameter} string name"
  33282. msgstr ""
  33283. #. type: deftypevr
  33284. #: guix-git/doc/guix.texi:22310
  33285. msgid "Name for this mailbox."
  33286. msgstr ""
  33287. #. type: deftypevr
  33288. #: guix-git/doc/guix.texi:22312
  33289. #, no-wrap
  33290. msgid "{@code{mailbox-configuration} parameter} string auto"
  33291. msgstr ""
  33292. #. type: deftypevr
  33293. #: guix-git/doc/guix.texi:22316
  33294. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  33295. msgstr ""
  33296. #. type: deftypevr
  33297. #: guix-git/doc/guix.texi:22318
  33298. #, no-wrap
  33299. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  33300. msgstr ""
  33301. #. type: deftypevr
  33302. #: guix-git/doc/guix.texi:22323
  33303. 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{()}."
  33304. msgstr ""
  33305. #. type: deftypevr
  33306. #: guix-git/doc/guix.texi:22329
  33307. #, no-wrap
  33308. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  33309. msgstr ""
  33310. #. type: deftypevr
  33311. #: guix-git/doc/guix.texi:22332
  33312. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  33313. msgstr ""
  33314. #. type: deftypevr
  33315. #: guix-git/doc/guix.texi:22334
  33316. #, no-wrap
  33317. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  33318. msgstr ""
  33319. #. type: deftypevr
  33320. #: guix-git/doc/guix.texi:22337
  33321. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  33322. msgstr ""
  33323. #. type: deftypevr
  33324. #: guix-git/doc/guix.texi:22339
  33325. #, no-wrap
  33326. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  33327. msgstr ""
  33328. #. type: deftypevr
  33329. #: guix-git/doc/guix.texi:22346
  33330. 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{()}."
  33331. msgstr ""
  33332. #. type: deftypevr
  33333. #: guix-git/doc/guix.texi:22348
  33334. #, no-wrap
  33335. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  33336. msgstr ""
  33337. #. type: deftypevr
  33338. #: guix-git/doc/guix.texi:22351
  33339. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}."
  33340. msgstr ""
  33341. #. type: deftypevr
  33342. #: guix-git/doc/guix.texi:22353
  33343. #, no-wrap
  33344. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  33345. msgstr ""
  33346. #. type: deftypevr
  33347. #: guix-git/doc/guix.texi:22359
  33348. 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}."
  33349. msgstr ""
  33350. #. type: deftypevr
  33351. #: guix-git/doc/guix.texi:22361
  33352. #, no-wrap
  33353. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  33354. msgstr ""
  33355. #. type: deftypevr
  33356. #: guix-git/doc/guix.texi:22367
  33357. 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}."
  33358. msgstr ""
  33359. #. type: deftypevr
  33360. #: guix-git/doc/guix.texi:22369
  33361. #, no-wrap
  33362. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  33363. msgstr ""
  33364. #. type: deftypevr
  33365. #: guix-git/doc/guix.texi:22373
  33366. 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}."
  33367. msgstr ""
  33368. #. type: deftypevr
  33369. #: guix-git/doc/guix.texi:22375
  33370. #, no-wrap
  33371. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  33372. msgstr ""
  33373. #. type: deftypevr
  33374. #: guix-git/doc/guix.texi:22378
  33375. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  33376. msgstr ""
  33377. #. type: deftypevr
  33378. #: guix-git/doc/guix.texi:22380
  33379. #, no-wrap
  33380. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  33381. msgstr ""
  33382. #. type: deftypevr
  33383. #: guix-git/doc/guix.texi:22384
  33384. 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."
  33385. msgstr ""
  33386. #. type: deftypevr
  33387. #: guix-git/doc/guix.texi:22386
  33388. #, no-wrap
  33389. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  33390. msgstr ""
  33391. #. type: deftypevr
  33392. #: guix-git/doc/guix.texi:22393
  33393. 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}."
  33394. msgstr ""
  33395. #. type: deftypevr
  33396. #: guix-git/doc/guix.texi:22395
  33397. #, no-wrap
  33398. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  33399. msgstr ""
  33400. #. type: deftypevr
  33401. #: guix-git/doc/guix.texi:22400
  33402. 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}."
  33403. msgstr ""
  33404. #. type: deftypevr
  33405. #: guix-git/doc/guix.texi:22402
  33406. #, no-wrap
  33407. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  33408. msgstr ""
  33409. #. type: deftypevr
  33410. #: guix-git/doc/guix.texi:22410
  33411. 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\"}."
  33412. msgstr ""
  33413. #. type: deftypevr
  33414. #: guix-git/doc/guix.texi:22412
  33415. #, no-wrap
  33416. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  33417. msgstr ""
  33418. #. type: deftypevr
  33419. #: guix-git/doc/guix.texi:22416
  33420. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  33421. msgstr ""
  33422. #. type: deftypevr
  33423. #: guix-git/doc/guix.texi:22418
  33424. #, no-wrap
  33425. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  33426. msgstr ""
  33427. #. type: deftypevr
  33428. #: guix-git/doc/guix.texi:22424
  33429. 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{()}."
  33430. msgstr ""
  33431. #. type: deftypevr
  33432. #: guix-git/doc/guix.texi:22426
  33433. #, no-wrap
  33434. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  33435. msgstr ""
  33436. #. type: deftypevr
  33437. #: guix-git/doc/guix.texi:22431
  33438. 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{\"\"}."
  33439. msgstr ""
  33440. #. type: deftypevr
  33441. #: guix-git/doc/guix.texi:22433
  33442. #, no-wrap
  33443. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  33444. msgstr ""
  33445. #. type: deftypevr
  33446. #: guix-git/doc/guix.texi:22440
  33447. 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.-_@@\"}."
  33448. msgstr ""
  33449. #. type: deftypevr
  33450. #: guix-git/doc/guix.texi:22442
  33451. #, no-wrap
  33452. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  33453. msgstr ""
  33454. #. type: deftypevr
  33455. #: guix-git/doc/guix.texi:22448
  33456. 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{\"\"}."
  33457. msgstr ""
  33458. #. type: deftypevr
  33459. #: guix-git/doc/guix.texi:22450
  33460. #, no-wrap
  33461. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  33462. msgstr ""
  33463. #. type: deftypevr
  33464. #: guix-git/doc/guix.texi:22457
  33465. 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\"}."
  33466. msgstr ""
  33467. #. type: deftypevr
  33468. #: guix-git/doc/guix.texi:22459
  33469. #, no-wrap
  33470. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  33471. msgstr ""
  33472. #. type: deftypevr
  33473. #: guix-git/doc/guix.texi:22467
  33474. 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{\"\"}."
  33475. msgstr ""
  33476. #. type: deftypevr
  33477. #: guix-git/doc/guix.texi:22469
  33478. #, no-wrap
  33479. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  33480. msgstr ""
  33481. #. type: deftypevr
  33482. #: guix-git/doc/guix.texi:22473
  33483. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  33484. msgstr ""
  33485. #. type: deftypevr
  33486. #: guix-git/doc/guix.texi:22475
  33487. #, no-wrap
  33488. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  33489. msgstr ""
  33490. #. type: deftypevr
  33491. #: guix-git/doc/guix.texi:22480
  33492. 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}."
  33493. msgstr ""
  33494. #. type: deftypevr
  33495. #: guix-git/doc/guix.texi:22482
  33496. #, no-wrap
  33497. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  33498. msgstr ""
  33499. #. type: deftypevr
  33500. #: guix-git/doc/guix.texi:22487
  33501. 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{\"\"}."
  33502. msgstr ""
  33503. #. type: deftypevr
  33504. #: guix-git/doc/guix.texi:22489
  33505. #, no-wrap
  33506. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  33507. msgstr ""
  33508. #. type: deftypevr
  33509. #: guix-git/doc/guix.texi:22495
  33510. 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{\"\"}."
  33511. msgstr ""
  33512. #. type: deftypevr
  33513. #: guix-git/doc/guix.texi:22497
  33514. #, no-wrap
  33515. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  33516. msgstr ""
  33517. #. type: deftypevr
  33518. #: guix-git/doc/guix.texi:22502
  33519. 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}."
  33520. msgstr ""
  33521. #. type: deftypevr
  33522. #: guix-git/doc/guix.texi:22504
  33523. #, no-wrap
  33524. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  33525. msgstr ""
  33526. #. type: deftypevr
  33527. #: guix-git/doc/guix.texi:22507
  33528. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  33529. msgstr ""
  33530. #. type: deftypevr
  33531. #: guix-git/doc/guix.texi:22509
  33532. #, no-wrap
  33533. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  33534. msgstr ""
  33535. #. type: deftypevr
  33536. #: guix-git/doc/guix.texi:22512
  33537. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  33538. msgstr ""
  33539. #. type: deftypevr
  33540. #: guix-git/doc/guix.texi:22514
  33541. #, no-wrap
  33542. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  33543. msgstr ""
  33544. #. type: deftypevr
  33545. #: guix-git/doc/guix.texi:22518
  33546. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  33547. msgstr ""
  33548. #. type: deftypevr
  33549. #: guix-git/doc/guix.texi:22520
  33550. #, no-wrap
  33551. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  33552. msgstr ""
  33553. #. type: deftypevr
  33554. #: guix-git/doc/guix.texi:22525
  33555. 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}."
  33556. msgstr ""
  33557. #. type: deftypevr
  33558. #: guix-git/doc/guix.texi:22527
  33559. #, no-wrap
  33560. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  33561. msgstr ""
  33562. #. type: deftypevr
  33563. #: guix-git/doc/guix.texi:22533
  33564. 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."
  33565. msgstr ""
  33566. #. type: deftypevr
  33567. #: guix-git/doc/guix.texi:22535
  33568. #, no-wrap
  33569. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  33570. msgstr ""
  33571. #. type: deftypevr
  33572. #: guix-git/doc/guix.texi:22540
  33573. 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{()}."
  33574. msgstr ""
  33575. #. type: deftypevr
  33576. #: guix-git/doc/guix.texi:22542
  33577. #, no-wrap
  33578. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  33579. msgstr ""
  33580. #. type: deftypevr
  33581. #: guix-git/doc/guix.texi:22546
  33582. 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{()}."
  33583. msgstr ""
  33584. #. type: deftypevr
  33585. #: guix-git/doc/guix.texi:22548
  33586. #, no-wrap
  33587. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  33588. msgstr ""
  33589. #. type: deftypevr
  33590. #: guix-git/doc/guix.texi:22552
  33591. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  33592. msgstr ""
  33593. #. type: deftypevr
  33594. #: guix-git/doc/guix.texi:22554
  33595. #, no-wrap
  33596. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  33597. msgstr ""
  33598. #. type: deftypevr
  33599. #: guix-git/doc/guix.texi:22559
  33600. 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\"}."
  33601. msgstr ""
  33602. #. type: deftypevr
  33603. #: guix-git/doc/guix.texi:22561
  33604. #, no-wrap
  33605. msgid "{@code{dovecot-configuration} parameter} string log-path"
  33606. msgstr ""
  33607. #. type: deftypevr
  33608. #: guix-git/doc/guix.texi:22565
  33609. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  33610. msgstr ""
  33611. #. type: deftypevr
  33612. #: guix-git/doc/guix.texi:22567
  33613. #, no-wrap
  33614. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  33615. msgstr ""
  33616. #. type: deftypevr
  33617. #: guix-git/doc/guix.texi:22571
  33618. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  33619. msgstr ""
  33620. #. type: deftypevr
  33621. #: guix-git/doc/guix.texi:22573
  33622. #, no-wrap
  33623. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  33624. msgstr ""
  33625. #. type: deftypevr
  33626. #: guix-git/doc/guix.texi:22577
  33627. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  33628. msgstr ""
  33629. #. type: deftypevr
  33630. #: guix-git/doc/guix.texi:22579
  33631. #, no-wrap
  33632. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  33633. msgstr ""
  33634. #. type: deftypevr
  33635. #: guix-git/doc/guix.texi:22584
  33636. 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\"}."
  33637. msgstr ""
  33638. #. type: deftypevr
  33639. #: guix-git/doc/guix.texi:22586
  33640. #, no-wrap
  33641. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  33642. msgstr ""
  33643. #. type: deftypevr
  33644. #: guix-git/doc/guix.texi:22590
  33645. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  33646. msgstr ""
  33647. #. type: deftypevr
  33648. #: guix-git/doc/guix.texi:22592
  33649. #, no-wrap
  33650. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  33651. msgstr ""
  33652. #. type: deftypevr
  33653. #: guix-git/doc/guix.texi:22599
  33654. 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\"}."
  33655. msgstr ""
  33656. #. type: deftypevr
  33657. #: guix-git/doc/guix.texi:22601
  33658. #, no-wrap
  33659. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  33660. msgstr ""
  33661. #. type: deftypevr
  33662. #: guix-git/doc/guix.texi:22605
  33663. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  33664. msgstr ""
  33665. #. type: deftypevr
  33666. #: guix-git/doc/guix.texi:22607
  33667. #, no-wrap
  33668. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  33669. msgstr ""
  33670. #. type: deftypevr
  33671. #: guix-git/doc/guix.texi:22612
  33672. 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}."
  33673. msgstr ""
  33674. #. type: deftypevr
  33675. #: guix-git/doc/guix.texi:22614
  33676. #, no-wrap
  33677. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  33678. msgstr ""
  33679. #. type: deftypevr
  33680. #: guix-git/doc/guix.texi:22618
  33681. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  33682. msgstr ""
  33683. #. type: deftypevr
  33684. #: guix-git/doc/guix.texi:22620
  33685. #, no-wrap
  33686. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  33687. msgstr ""
  33688. #. type: deftypevr
  33689. #: guix-git/doc/guix.texi:22623
  33690. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  33691. msgstr ""
  33692. #. type: deftypevr
  33693. #: guix-git/doc/guix.texi:22625
  33694. #, no-wrap
  33695. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  33696. msgstr ""
  33697. #. type: deftypevr
  33698. #: guix-git/doc/guix.texi:22629
  33699. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  33700. msgstr ""
  33701. #. type: deftypevr
  33702. #: guix-git/doc/guix.texi:22631
  33703. #, no-wrap
  33704. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  33705. msgstr ""
  33706. #. type: deftypevr
  33707. #: guix-git/doc/guix.texi:22635
  33708. 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."
  33709. msgstr ""
  33710. #. type: deftypevr
  33711. #: guix-git/doc/guix.texi:22637
  33712. #, no-wrap
  33713. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  33714. msgstr ""
  33715. #. type: deftypevr
  33716. #: guix-git/doc/guix.texi:22641
  33717. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  33718. msgstr ""
  33719. #. type: deftypevr
  33720. #: guix-git/doc/guix.texi:22643
  33721. #, no-wrap
  33722. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  33723. msgstr ""
  33724. #. type: deftypevr
  33725. #: guix-git/doc/guix.texi:22647
  33726. 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@}>: \\\"\"}."
  33727. msgstr ""
  33728. #. type: deftypevr
  33729. #: guix-git/doc/guix.texi:22649
  33730. #, no-wrap
  33731. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  33732. msgstr ""
  33733. #. type: deftypevr
  33734. #: guix-git/doc/guix.texi:22651
  33735. msgid "Format to use for logging mail deliveries. You can use variables:"
  33736. msgstr ""
  33737. #. type: item
  33738. #: guix-git/doc/guix.texi:22652
  33739. #, no-wrap
  33740. msgid "%$"
  33741. msgstr ""
  33742. #. type: table
  33743. #: guix-git/doc/guix.texi:22654
  33744. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  33745. msgstr ""
  33746. #. type: item
  33747. #: guix-git/doc/guix.texi:22654
  33748. #, no-wrap
  33749. msgid "%m"
  33750. msgstr ""
  33751. #. type: table
  33752. #: guix-git/doc/guix.texi:22656
  33753. msgid "Message-ID"
  33754. msgstr "Mensagem-ID"
  33755. #. type: item
  33756. #: guix-git/doc/guix.texi:22656 guix-git/doc/guix.texi:23199
  33757. #, no-wrap
  33758. msgid "%s"
  33759. msgstr ""
  33760. #. type: table
  33761. #: guix-git/doc/guix.texi:22658
  33762. msgid "Subject"
  33763. msgstr "Assunto"
  33764. #. type: item
  33765. #: guix-git/doc/guix.texi:22658
  33766. #, no-wrap
  33767. msgid "%f"
  33768. msgstr ""
  33769. #. type: table
  33770. #: guix-git/doc/guix.texi:22660
  33771. msgid "From address"
  33772. msgstr ""
  33773. #. type: table
  33774. #: guix-git/doc/guix.texi:22662
  33775. msgid "Physical size"
  33776. msgstr ""
  33777. #. type: item
  33778. #: guix-git/doc/guix.texi:22662
  33779. #, no-wrap
  33780. msgid "%w"
  33781. msgstr ""
  33782. #. type: table
  33783. #: guix-git/doc/guix.texi:22664
  33784. msgid "Virtual size."
  33785. msgstr ""
  33786. #. type: deftypevr
  33787. #: guix-git/doc/guix.texi:22666
  33788. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  33789. msgstr ""
  33790. #. type: deftypevr
  33791. #: guix-git/doc/guix.texi:22668
  33792. #, no-wrap
  33793. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  33794. msgstr ""
  33795. #. type: deftypevr
  33796. #: guix-git/doc/guix.texi:22673
  33797. 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."
  33798. msgstr ""
  33799. #. type: deftypevr
  33800. #: guix-git/doc/guix.texi:22679
  33801. 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."
  33802. msgstr ""
  33803. #. type: deftypevr
  33804. #: guix-git/doc/guix.texi:22681
  33805. msgid "There are a few special variables you can use, e.g.:"
  33806. msgstr ""
  33807. #. type: table
  33808. #: guix-git/doc/guix.texi:22685
  33809. msgid "username"
  33810. msgstr "nome de usuário"
  33811. #. type: item
  33812. #: guix-git/doc/guix.texi:22685 guix-git/doc/guix.texi:23195
  33813. #, no-wrap
  33814. msgid "%n"
  33815. msgstr ""
  33816. #. type: table
  33817. #: guix-git/doc/guix.texi:22687
  33818. msgid "user part in user@@domain, same as %u if there's no domain"
  33819. msgstr ""
  33820. #. type: item
  33821. #: guix-git/doc/guix.texi:22687
  33822. #, no-wrap
  33823. msgid "%d"
  33824. msgstr "%d"
  33825. #. type: table
  33826. #: guix-git/doc/guix.texi:22689
  33827. msgid "domain part in user@@domain, empty if there's no domain"
  33828. msgstr ""
  33829. #. type: item
  33830. #: guix-git/doc/guix.texi:22689
  33831. #, no-wrap
  33832. msgid "%h"
  33833. msgstr ""
  33834. #. type: table
  33835. #: guix-git/doc/guix.texi:22691
  33836. msgid "home director"
  33837. msgstr ""
  33838. #. type: deftypevr
  33839. #: guix-git/doc/guix.texi:22694
  33840. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  33841. msgstr ""
  33842. #. type: item
  33843. #: guix-git/doc/guix.texi:22695
  33844. #, no-wrap
  33845. msgid "maildir:~/Maildir"
  33846. msgstr ""
  33847. #. type: item
  33848. #: guix-git/doc/guix.texi:22696
  33849. #, no-wrap
  33850. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  33851. msgstr ""
  33852. #. type: item
  33853. #: guix-git/doc/guix.texi:22697
  33854. #, no-wrap
  33855. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  33856. msgstr ""
  33857. #. type: deftypevr
  33858. #: guix-git/doc/guix.texi:22702
  33859. #, no-wrap
  33860. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  33861. msgstr ""
  33862. #. type: deftypevr
  33863. #: guix-git/doc/guix.texi:22707
  33864. 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{\"\"}."
  33865. msgstr ""
  33866. #. type: deftypevr
  33867. #: guix-git/doc/guix.texi:22709
  33868. #, no-wrap
  33869. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  33870. msgstr ""
  33871. #. type: deftypevr
  33872. #: guix-git/doc/guix.texi:22714
  33873. #, no-wrap
  33874. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  33875. msgstr ""
  33876. #. type: deftypevr
  33877. #: guix-git/doc/guix.texi:22720
  33878. 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{\"\"}."
  33879. msgstr ""
  33880. #. type: deftypevr
  33881. #: guix-git/doc/guix.texi:22722
  33882. #, no-wrap
  33883. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  33884. msgstr ""
  33885. #. type: deftypevr
  33886. #: guix-git/doc/guix.texi:22730
  33887. 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{\"\"}."
  33888. msgstr ""
  33889. #. type: deftypevr
  33890. #: guix-git/doc/guix.texi:22732
  33891. #, no-wrap
  33892. msgid "{@code{dovecot-configuration} parameter} string mail-attribute-dict"
  33893. msgstr ""
  33894. #. type: deftypevr
  33895. #: guix-git/doc/guix.texi:22735
  33896. 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}."
  33897. msgstr ""
  33898. #. type: deftypevr
  33899. #: guix-git/doc/guix.texi:22738
  33900. msgid "The IMAP METADATA commands are available only if the ``imap'' protocol configuration's @code{imap-metadata?} field is @samp{#t}."
  33901. msgstr ""
  33902. #. type: deftypevr
  33903. #: guix-git/doc/guix.texi:22743
  33904. #, no-wrap
  33905. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  33906. msgstr ""
  33907. #. type: deftypevr
  33908. #: guix-git/doc/guix.texi:22749
  33909. 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}."
  33910. msgstr ""
  33911. #. type: deftypevr
  33912. #: guix-git/doc/guix.texi:22751
  33913. #, no-wrap
  33914. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  33915. msgstr ""
  33916. #. type: deftypevr
  33917. #: guix-git/doc/guix.texi:22755
  33918. 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}."
  33919. msgstr ""
  33920. #. type: deftypevr
  33921. #: guix-git/doc/guix.texi:22757
  33922. #, no-wrap
  33923. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  33924. msgstr ""
  33925. #. type: deftypevr
  33926. #: guix-git/doc/guix.texi:22762
  33927. 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}."
  33928. msgstr ""
  33929. #. type: deftypevr
  33930. #: guix-git/doc/guix.texi:22764
  33931. #, no-wrap
  33932. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  33933. msgstr ""
  33934. #. type: deftypevr
  33935. #: guix-git/doc/guix.texi:22766
  33936. msgid "When to use fsync() or fdatasync() calls:"
  33937. msgstr ""
  33938. #. type: item
  33939. #: guix-git/doc/guix.texi:22767
  33940. #, no-wrap
  33941. msgid "optimized"
  33942. msgstr ""
  33943. #. type: table
  33944. #: guix-git/doc/guix.texi:22769
  33945. msgid "Whenever necessary to avoid losing important data"
  33946. msgstr ""
  33947. #. type: table
  33948. #: guix-git/doc/guix.texi:22771
  33949. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  33950. msgstr ""
  33951. #. type: table
  33952. #: guix-git/doc/guix.texi:22773
  33953. msgid "Never use it (best performance, but crashes can lose data)."
  33954. msgstr ""
  33955. #. type: deftypevr
  33956. #: guix-git/doc/guix.texi:22775
  33957. msgid "Defaults to @samp{\"optimized\"}."
  33958. msgstr ""
  33959. #. type: deftypevr
  33960. #: guix-git/doc/guix.texi:22777
  33961. #, no-wrap
  33962. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  33963. msgstr ""
  33964. #. type: deftypevr
  33965. #: guix-git/doc/guix.texi:22782
  33966. 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}."
  33967. msgstr ""
  33968. #. type: deftypevr
  33969. #: guix-git/doc/guix.texi:22784
  33970. #, no-wrap
  33971. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  33972. msgstr ""
  33973. #. type: deftypevr
  33974. #: guix-git/doc/guix.texi:22788
  33975. 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}."
  33976. msgstr ""
  33977. #. type: deftypevr
  33978. #: guix-git/doc/guix.texi:22790
  33979. #, no-wrap
  33980. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  33981. msgstr ""
  33982. #. type: deftypevr
  33983. #: guix-git/doc/guix.texi:22796
  33984. 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\"}."
  33985. msgstr ""
  33986. #. type: deftypevr
  33987. #: guix-git/doc/guix.texi:22798
  33988. #, no-wrap
  33989. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  33990. msgstr ""
  33991. #. type: deftypevr
  33992. #: guix-git/doc/guix.texi:22802
  33993. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  33994. msgstr ""
  33995. #. type: deftypevr
  33996. #: guix-git/doc/guix.texi:22804
  33997. #, no-wrap
  33998. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  33999. msgstr ""
  34000. #. type: deftypevr
  34001. #: guix-git/doc/guix.texi:22810
  34002. 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}."
  34003. msgstr ""
  34004. #. type: deftypevr
  34005. #: guix-git/doc/guix.texi:22812
  34006. #, no-wrap
  34007. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  34008. msgstr ""
  34009. #. type: deftypevr
  34010. #: guix-git/doc/guix.texi:22817
  34011. #, no-wrap
  34012. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  34013. msgstr ""
  34014. #. type: deftypevr
  34015. #: guix-git/doc/guix.texi:22822
  34016. 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}."
  34017. msgstr ""
  34018. #. type: deftypevr
  34019. #: guix-git/doc/guix.texi:22824
  34020. #, no-wrap
  34021. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  34022. msgstr ""
  34023. #. type: deftypevr
  34024. #: guix-git/doc/guix.texi:22829
  34025. #, no-wrap
  34026. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  34027. msgstr ""
  34028. #. type: deftypevr
  34029. #: guix-git/doc/guix.texi:22833
  34030. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  34031. msgstr ""
  34032. #. type: deftypevr
  34033. #: guix-git/doc/guix.texi:22835
  34034. #, no-wrap
  34035. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  34036. msgstr ""
  34037. #. type: deftypevr
  34038. #: guix-git/doc/guix.texi:22845
  34039. 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{()}."
  34040. msgstr ""
  34041. #. type: deftypevr
  34042. #: guix-git/doc/guix.texi:22847
  34043. #, no-wrap
  34044. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  34045. msgstr ""
  34046. #. type: deftypevr
  34047. #: guix-git/doc/guix.texi:22856
  34048. 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{\"\"}."
  34049. msgstr ""
  34050. #. type: deftypevr
  34051. #: guix-git/doc/guix.texi:22858
  34052. #, no-wrap
  34053. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  34054. msgstr ""
  34055. #. type: deftypevr
  34056. #: guix-git/doc/guix.texi:22862
  34057. 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\"}."
  34058. msgstr ""
  34059. #. type: deftypevr
  34060. #: guix-git/doc/guix.texi:22864
  34061. #, no-wrap
  34062. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  34063. msgstr ""
  34064. #. type: deftypevr
  34065. #: guix-git/doc/guix.texi:22867
  34066. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  34067. msgstr ""
  34068. #. type: deftypevr
  34069. #: guix-git/doc/guix.texi:22869
  34070. #, no-wrap
  34071. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  34072. msgstr ""
  34073. #. type: deftypevr
  34074. #: guix-git/doc/guix.texi:22873
  34075. 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{()}."
  34076. msgstr ""
  34077. #. type: deftypevr
  34078. #: guix-git/doc/guix.texi:22875
  34079. #, no-wrap
  34080. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  34081. msgstr ""
  34082. #. type: deftypevr
  34083. #: guix-git/doc/guix.texi:22880
  34084. 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}."
  34085. msgstr ""
  34086. #. type: deftypevr
  34087. #: guix-git/doc/guix.texi:22882
  34088. #, no-wrap
  34089. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  34090. msgstr ""
  34091. #. type: deftypevr
  34092. #: guix-git/doc/guix.texi:22889
  34093. 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\"}."
  34094. msgstr ""
  34095. #. type: deftypevr
  34096. #: guix-git/doc/guix.texi:22891
  34097. #, no-wrap
  34098. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  34099. msgstr ""
  34100. #. type: deftypevr
  34101. #: guix-git/doc/guix.texi:22898
  34102. 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}."
  34103. msgstr ""
  34104. #. type: deftypevr
  34105. #: guix-git/doc/guix.texi:22900
  34106. #, no-wrap
  34107. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  34108. msgstr ""
  34109. #. type: deftypevr
  34110. #: guix-git/doc/guix.texi:22908
  34111. 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}."
  34112. msgstr ""
  34113. #. type: deftypevr
  34114. #: guix-git/doc/guix.texi:22910
  34115. #, no-wrap
  34116. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  34117. msgstr ""
  34118. #. type: deftypevr
  34119. #: guix-git/doc/guix.texi:22915
  34120. 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}."
  34121. msgstr ""
  34122. #. type: deftypevr
  34123. #: guix-git/doc/guix.texi:22917
  34124. #, no-wrap
  34125. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  34126. msgstr ""
  34127. #. type: deftypevr
  34128. #: guix-git/doc/guix.texi:22922
  34129. 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}."
  34130. msgstr ""
  34131. #. type: deftypevr
  34132. #: guix-git/doc/guix.texi:22924
  34133. #, no-wrap
  34134. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  34135. msgstr ""
  34136. #. type: deftypevr
  34137. #: guix-git/doc/guix.texi:22927
  34138. msgid "Which locking methods to use for locking mbox. There are four available:"
  34139. msgstr ""
  34140. #. type: item
  34141. #: guix-git/doc/guix.texi:22929
  34142. #, no-wrap
  34143. msgid "dotlock"
  34144. msgstr ""
  34145. #. type: table
  34146. #: guix-git/doc/guix.texi:22933
  34147. 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."
  34148. msgstr ""
  34149. #. type: item
  34150. #: guix-git/doc/guix.texi:22933
  34151. #, no-wrap
  34152. msgid "dotlock-try"
  34153. msgstr ""
  34154. #. type: table
  34155. #: guix-git/doc/guix.texi:22936
  34156. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  34157. msgstr ""
  34158. #. type: item
  34159. #: guix-git/doc/guix.texi:22936
  34160. #, no-wrap
  34161. msgid "fcntl"
  34162. msgstr ""
  34163. #. type: table
  34164. #: guix-git/doc/guix.texi:22938
  34165. msgid "Use this if possible. Works with NFS too if lockd is used."
  34166. msgstr ""
  34167. #. type: item
  34168. #: guix-git/doc/guix.texi:22938
  34169. #, no-wrap
  34170. msgid "flock"
  34171. msgstr ""
  34172. #. type: table
  34173. #: guix-git/doc/guix.texi:22940 guix-git/doc/guix.texi:22942
  34174. msgid "May not exist in all systems. Doesn't work with NFS."
  34175. msgstr ""
  34176. #. type: item
  34177. #: guix-git/doc/guix.texi:22940
  34178. #, no-wrap
  34179. msgid "lockf"
  34180. msgstr ""
  34181. #. type: deftypevr
  34182. #: guix-git/doc/guix.texi:22948
  34183. 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."
  34184. msgstr ""
  34185. #. type: deftypevr
  34186. #: guix-git/doc/guix.texi:22950
  34187. #, no-wrap
  34188. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  34189. msgstr ""
  34190. #. type: deftypevr
  34191. #: guix-git/doc/guix.texi:22954
  34192. #, no-wrap
  34193. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  34194. msgstr ""
  34195. #. type: deftypevr
  34196. #: guix-git/doc/guix.texi:22957
  34197. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  34198. msgstr ""
  34199. #. type: deftypevr
  34200. #: guix-git/doc/guix.texi:22959
  34201. #, no-wrap
  34202. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  34203. msgstr ""
  34204. #. type: deftypevr
  34205. #: guix-git/doc/guix.texi:22963
  34206. 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\"}."
  34207. msgstr ""
  34208. #. type: deftypevr
  34209. #: guix-git/doc/guix.texi:22965
  34210. #, no-wrap
  34211. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  34212. msgstr ""
  34213. #. type: deftypevr
  34214. #: guix-git/doc/guix.texi:22976
  34215. 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}."
  34216. msgstr ""
  34217. #. type: deftypevr
  34218. #: guix-git/doc/guix.texi:22978
  34219. #, no-wrap
  34220. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  34221. msgstr ""
  34222. #. type: deftypevr
  34223. #: guix-git/doc/guix.texi:22983
  34224. 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}."
  34225. msgstr ""
  34226. #. type: deftypevr
  34227. #: guix-git/doc/guix.texi:22985
  34228. #, no-wrap
  34229. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  34230. msgstr ""
  34231. #. type: deftypevr
  34232. #: guix-git/doc/guix.texi:22991
  34233. 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}."
  34234. msgstr ""
  34235. #. type: deftypevr
  34236. #: guix-git/doc/guix.texi:22993
  34237. #, no-wrap
  34238. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  34239. msgstr ""
  34240. #. type: deftypevr
  34241. #: guix-git/doc/guix.texi:22998
  34242. 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}."
  34243. msgstr ""
  34244. #. type: deftypevr
  34245. #: guix-git/doc/guix.texi:23000
  34246. #, no-wrap
  34247. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  34248. msgstr ""
  34249. #. type: deftypevr
  34250. #: guix-git/doc/guix.texi:23003
  34251. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  34252. msgstr ""
  34253. #. type: deftypevr
  34254. #: guix-git/doc/guix.texi:23005
  34255. #, no-wrap
  34256. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  34257. msgstr ""
  34258. #. type: deftypevr
  34259. #: guix-git/doc/guix.texi:23010
  34260. 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\"}."
  34261. msgstr ""
  34262. #. type: deftypevr
  34263. #: guix-git/doc/guix.texi:23012
  34264. #, no-wrap
  34265. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  34266. msgstr ""
  34267. #. type: deftypevr
  34268. #: guix-git/doc/guix.texi:23017
  34269. 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}."
  34270. msgstr ""
  34271. #. type: deftypevr
  34272. #: guix-git/doc/guix.texi:23019
  34273. #, no-wrap
  34274. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  34275. msgstr ""
  34276. #. type: deftypevr
  34277. #: guix-git/doc/guix.texi:23023
  34278. 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."
  34279. msgstr ""
  34280. #. type: deftypevr
  34281. #: guix-git/doc/guix.texi:23025
  34282. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  34283. msgstr ""
  34284. #. type: deftypevr
  34285. #: guix-git/doc/guix.texi:23028
  34286. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  34287. msgstr ""
  34288. #. type: deftypevr
  34289. #: guix-git/doc/guix.texi:23030
  34290. #, no-wrap
  34291. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  34292. msgstr ""
  34293. #. type: deftypevr
  34294. #: guix-git/doc/guix.texi:23035
  34295. 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}."
  34296. msgstr ""
  34297. #. type: deftypevr
  34298. #: guix-git/doc/guix.texi:23037
  34299. #, no-wrap
  34300. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  34301. msgstr ""
  34302. #. type: deftypevr
  34303. #: guix-git/doc/guix.texi:23039
  34304. msgid "File system backend to use for saving attachments:"
  34305. msgstr ""
  34306. #. type: item
  34307. #: guix-git/doc/guix.texi:23040
  34308. #, no-wrap
  34309. msgid "posix"
  34310. msgstr ""
  34311. #. type: table
  34312. #: guix-git/doc/guix.texi:23042
  34313. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  34314. msgstr ""
  34315. #. type: item
  34316. #: guix-git/doc/guix.texi:23042
  34317. #, no-wrap
  34318. msgid "sis posix"
  34319. msgstr ""
  34320. #. type: table
  34321. #: guix-git/doc/guix.texi:23044
  34322. msgid "SiS with immediate byte-by-byte comparison during saving"
  34323. msgstr ""
  34324. #. type: item
  34325. #: guix-git/doc/guix.texi:23044
  34326. #, no-wrap
  34327. msgid "sis-queue posix"
  34328. msgstr ""
  34329. #. type: table
  34330. #: guix-git/doc/guix.texi:23046
  34331. msgid "SiS with delayed comparison and deduplication."
  34332. msgstr ""
  34333. #. type: deftypevr
  34334. #: guix-git/doc/guix.texi:23048
  34335. msgid "Defaults to @samp{\"sis posix\"}."
  34336. msgstr ""
  34337. #. type: deftypevr
  34338. #: guix-git/doc/guix.texi:23050
  34339. #, no-wrap
  34340. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  34341. msgstr ""
  34342. #. type: deftypevr
  34343. #: guix-git/doc/guix.texi:23056
  34344. 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@}\"}."
  34345. msgstr ""
  34346. #. type: deftypevr
  34347. #: guix-git/doc/guix.texi:23058
  34348. #, no-wrap
  34349. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  34350. msgstr ""
  34351. #. type: deftypevr
  34352. #: guix-git/doc/guix.texi:23063
  34353. #, no-wrap
  34354. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  34355. msgstr ""
  34356. #. type: deftypevr
  34357. #: guix-git/doc/guix.texi:23066 guix-git/doc/guix.texi:30632
  34358. msgid "Defaults to @samp{1000}."
  34359. msgstr ""
  34360. #. type: deftypevr
  34361. #: guix-git/doc/guix.texi:23068
  34362. #, no-wrap
  34363. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  34364. msgstr ""
  34365. #. type: deftypevr
  34366. #: guix-git/doc/guix.texi:23073
  34367. 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}."
  34368. msgstr ""
  34369. #. type: deftypevr
  34370. #: guix-git/doc/guix.texi:23075
  34371. #, no-wrap
  34372. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  34373. msgstr ""
  34374. #. type: deftypevr
  34375. #: guix-git/doc/guix.texi:23080
  34376. 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\"}."
  34377. msgstr ""
  34378. #. type: deftypevr
  34379. #: guix-git/doc/guix.texi:23082
  34380. #, no-wrap
  34381. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  34382. msgstr ""
  34383. #. type: deftypevr
  34384. #: guix-git/doc/guix.texi:23087
  34385. 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\"}."
  34386. msgstr ""
  34387. #. type: deftypevr
  34388. #: guix-git/doc/guix.texi:23089
  34389. #, no-wrap
  34390. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  34391. msgstr ""
  34392. #. type: deftypevr
  34393. #: guix-git/doc/guix.texi:23092
  34394. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  34395. msgstr ""
  34396. #. type: deftypevr
  34397. #: guix-git/doc/guix.texi:23094
  34398. #, no-wrap
  34399. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  34400. msgstr ""
  34401. #. type: deftypevr
  34402. #: guix-git/doc/guix.texi:23097
  34403. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  34404. msgstr ""
  34405. #. type: deftypevr
  34406. #: guix-git/doc/guix.texi:23099
  34407. #, no-wrap
  34408. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  34409. msgstr ""
  34410. #. type: deftypevr
  34411. #: guix-git/doc/guix.texi:23104
  34412. 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\"}."
  34413. msgstr ""
  34414. #. type: deftypevr
  34415. #: guix-git/doc/guix.texi:23106
  34416. #, no-wrap
  34417. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  34418. msgstr ""
  34419. #. type: deftypevr
  34420. #: guix-git/doc/guix.texi:23112
  34421. 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{\"\"}."
  34422. msgstr ""
  34423. #. type: deftypevr
  34424. #: guix-git/doc/guix.texi:23114
  34425. #, no-wrap
  34426. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  34427. msgstr ""
  34428. #. type: deftypevr
  34429. #: guix-git/doc/guix.texi:23120
  34430. 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{\"\"}."
  34431. msgstr ""
  34432. #. type: deftypevr
  34433. #: guix-git/doc/guix.texi:23122
  34434. #, no-wrap
  34435. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  34436. msgstr ""
  34437. #. type: deftypevr
  34438. #: guix-git/doc/guix.texi:23125
  34439. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  34440. msgstr ""
  34441. #. type: deftypevr
  34442. #: guix-git/doc/guix.texi:23127
  34443. #, no-wrap
  34444. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  34445. msgstr ""
  34446. #. type: deftypevr
  34447. #: guix-git/doc/guix.texi:23131
  34448. 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}."
  34449. msgstr ""
  34450. #. type: deftypevr
  34451. #: guix-git/doc/guix.texi:23133
  34452. #, no-wrap
  34453. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  34454. msgstr ""
  34455. #. type: deftypevr
  34456. #: guix-git/doc/guix.texi:23138
  34457. 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\"}."
  34458. msgstr ""
  34459. #. type: deftypevr
  34460. #: guix-git/doc/guix.texi:23140
  34461. #, no-wrap
  34462. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  34463. msgstr ""
  34464. #. type: deftypevr
  34465. #: guix-git/doc/guix.texi:23143
  34466. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  34467. msgstr ""
  34468. #. type: deftypevr
  34469. #: guix-git/doc/guix.texi:23145
  34470. #, no-wrap
  34471. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  34472. msgstr ""
  34473. #. type: deftypevr
  34474. #: guix-git/doc/guix.texi:23148
  34475. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  34476. msgstr ""
  34477. #. type: deftypevr
  34478. #: guix-git/doc/guix.texi:23150
  34479. #, no-wrap
  34480. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  34481. msgstr ""
  34482. #. type: deftypevr
  34483. #: guix-git/doc/guix.texi:23153
  34484. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  34485. msgstr ""
  34486. #. type: deftypevr
  34487. #: guix-git/doc/guix.texi:23155
  34488. #, no-wrap
  34489. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  34490. msgstr ""
  34491. #. type: deftypevr
  34492. #: guix-git/doc/guix.texi:23159
  34493. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  34494. msgstr ""
  34495. #. type: deftypevr
  34496. #: guix-git/doc/guix.texi:23161
  34497. #, no-wrap
  34498. msgid "{@code{dovecot-configuration} parameter} string hostname"
  34499. msgstr ""
  34500. #. type: deftypevr
  34501. #: guix-git/doc/guix.texi:23165
  34502. 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{\"\"}."
  34503. msgstr ""
  34504. #. type: deftypevr
  34505. #: guix-git/doc/guix.texi:23167
  34506. #, no-wrap
  34507. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  34508. msgstr ""
  34509. #. type: deftypevr
  34510. #: guix-git/doc/guix.texi:23171
  34511. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  34512. msgstr ""
  34513. #. type: deftypevr
  34514. #: guix-git/doc/guix.texi:23173
  34515. #, no-wrap
  34516. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  34517. msgstr ""
  34518. #. type: deftypevr
  34519. #: guix-git/doc/guix.texi:23176
  34520. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  34521. msgstr ""
  34522. #. type: deftypevr
  34523. #: guix-git/doc/guix.texi:23178
  34524. #, no-wrap
  34525. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  34526. msgstr ""
  34527. #. type: deftypevr
  34528. #: guix-git/doc/guix.texi:23182
  34529. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  34530. msgstr ""
  34531. #. type: deftypevr
  34532. #: guix-git/doc/guix.texi:23184
  34533. #, no-wrap
  34534. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  34535. msgstr ""
  34536. #. type: deftypevr
  34537. #: guix-git/doc/guix.texi:23188
  34538. 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\"}."
  34539. msgstr ""
  34540. #. type: deftypevr
  34541. #: guix-git/doc/guix.texi:23190
  34542. #, no-wrap
  34543. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  34544. msgstr ""
  34545. #. type: deftypevr
  34546. #: guix-git/doc/guix.texi:23193
  34547. msgid "Human readable error message for rejection mails. You can use variables:"
  34548. msgstr ""
  34549. #. type: table
  34550. #: guix-git/doc/guix.texi:23197
  34551. msgid "CRLF"
  34552. msgstr ""
  34553. #. type: item
  34554. #: guix-git/doc/guix.texi:23197
  34555. #, no-wrap
  34556. msgid "%r"
  34557. msgstr ""
  34558. #. type: table
  34559. #: guix-git/doc/guix.texi:23199
  34560. msgid "reason"
  34561. msgstr ""
  34562. #. type: table
  34563. #: guix-git/doc/guix.texi:23201
  34564. msgid "original subject"
  34565. msgstr ""
  34566. #. type: item
  34567. #: guix-git/doc/guix.texi:23201
  34568. #, no-wrap
  34569. msgid "%t"
  34570. msgstr ""
  34571. #. type: table
  34572. #: guix-git/doc/guix.texi:23203
  34573. msgid "recipient"
  34574. msgstr "destinatário"
  34575. #. type: deftypevr
  34576. #: guix-git/doc/guix.texi:23205
  34577. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  34578. msgstr ""
  34579. #. type: deftypevr
  34580. #: guix-git/doc/guix.texi:23207
  34581. #, no-wrap
  34582. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  34583. msgstr ""
  34584. #. type: deftypevr
  34585. #: guix-git/doc/guix.texi:23211
  34586. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  34587. msgstr ""
  34588. #. type: deftypevr
  34589. #: guix-git/doc/guix.texi:23213
  34590. #, no-wrap
  34591. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  34592. msgstr ""
  34593. #. type: deftypevr
  34594. #: guix-git/doc/guix.texi:23219
  34595. 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{\"\"}."
  34596. msgstr ""
  34597. #. type: deftypevr
  34598. #: guix-git/doc/guix.texi:23221
  34599. #, no-wrap
  34600. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  34601. msgstr ""
  34602. #. type: deftypevr
  34603. #: guix-git/doc/guix.texi:23225
  34604. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  34605. msgstr ""
  34606. #. type: deftypevr
  34607. #: guix-git/doc/guix.texi:23227
  34608. #, no-wrap
  34609. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  34610. msgstr ""
  34611. #. type: deftypevr
  34612. #: guix-git/doc/guix.texi:23231
  34613. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  34614. msgstr ""
  34615. #. type: deftypevr
  34616. #: guix-git/doc/guix.texi:23233
  34617. #, no-wrap
  34618. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  34619. msgstr ""
  34620. #. type: deftypevr
  34621. #: guix-git/doc/guix.texi:23239
  34622. 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}."
  34623. msgstr ""
  34624. #. type: deftypevr
  34625. #: guix-git/doc/guix.texi:23241
  34626. #, no-wrap
  34627. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  34628. msgstr ""
  34629. #. type: deftypevr
  34630. #: guix-git/doc/guix.texi:23243
  34631. msgid "IMAP logout format string:"
  34632. msgstr ""
  34633. #. type: item
  34634. #: guix-git/doc/guix.texi:23244
  34635. #, no-wrap
  34636. msgid "%i"
  34637. msgstr ""
  34638. #. type: table
  34639. #: guix-git/doc/guix.texi:23246
  34640. msgid "total number of bytes read from client"
  34641. msgstr ""
  34642. #. type: item
  34643. #: guix-git/doc/guix.texi:23246
  34644. #, no-wrap
  34645. msgid "%o"
  34646. msgstr ""
  34647. #. type: table
  34648. #: guix-git/doc/guix.texi:23248
  34649. msgid "total number of bytes sent to client."
  34650. msgstr ""
  34651. #. type: deftypevr
  34652. #: guix-git/doc/guix.texi:23251
  34653. 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@}\"}."
  34654. msgstr ""
  34655. #. type: deftypevr
  34656. #: guix-git/doc/guix.texi:23253
  34657. #, no-wrap
  34658. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  34659. msgstr ""
  34660. #. type: deftypevr
  34661. #: guix-git/doc/guix.texi:23257
  34662. 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{\"\"}."
  34663. msgstr ""
  34664. #. type: deftypevr
  34665. #: guix-git/doc/guix.texi:23259
  34666. #, no-wrap
  34667. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  34668. msgstr ""
  34669. #. type: deftypevr
  34670. #: guix-git/doc/guix.texi:23263
  34671. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  34672. msgstr ""
  34673. #. type: deftypevr
  34674. #: guix-git/doc/guix.texi:23265
  34675. #, no-wrap
  34676. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  34677. msgstr ""
  34678. #. type: deftypevr
  34679. #: guix-git/doc/guix.texi:23271
  34680. 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{\"\"}."
  34681. msgstr ""
  34682. #. type: deftypevr
  34683. #: guix-git/doc/guix.texi:23273
  34684. #, no-wrap
  34685. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  34686. msgstr ""
  34687. #. type: deftypevr
  34688. #: guix-git/doc/guix.texi:23276
  34689. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  34690. msgstr ""
  34691. #. type: deftypevr
  34692. #: guix-git/doc/guix.texi:23278
  34693. #, no-wrap
  34694. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  34695. msgstr ""
  34696. #. type: deftypevr
  34697. #: guix-git/doc/guix.texi:23280
  34698. msgid "Workarounds for various client bugs:"
  34699. msgstr ""
  34700. #. type: item
  34701. #: guix-git/doc/guix.texi:23282
  34702. #, no-wrap
  34703. msgid "delay-newmail"
  34704. msgstr ""
  34705. #. type: table
  34706. #: guix-git/doc/guix.texi:23289
  34707. 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\"."
  34708. msgstr ""
  34709. #. type: item
  34710. #: guix-git/doc/guix.texi:23290
  34711. #, no-wrap
  34712. msgid "tb-extra-mailbox-sep"
  34713. msgstr ""
  34714. #. type: table
  34715. #: guix-git/doc/guix.texi:23294
  34716. 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."
  34717. msgstr ""
  34718. #. type: item
  34719. #: guix-git/doc/guix.texi:23295
  34720. #, no-wrap
  34721. msgid "tb-lsub-flags"
  34722. msgstr ""
  34723. #. type: table
  34724. #: guix-git/doc/guix.texi:23299
  34725. 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."
  34726. msgstr ""
  34727. #. type: deftypevr
  34728. #: guix-git/doc/guix.texi:23303
  34729. #, no-wrap
  34730. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  34731. msgstr ""
  34732. #. type: deftypevr
  34733. #: guix-git/doc/guix.texi:23306
  34734. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  34735. msgstr ""
  34736. #. type: Plain text
  34737. #: guix-git/doc/guix.texi:23314
  34738. 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."
  34739. msgstr ""
  34740. #. type: Plain text
  34741. #: guix-git/doc/guix.texi:23320
  34742. 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."
  34743. msgstr ""
  34744. #. type: Plain text
  34745. #: guix-git/doc/guix.texi:23322
  34746. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  34747. msgstr ""
  34748. #. type: deftypevr
  34749. #: guix-git/doc/guix.texi:23323
  34750. #, no-wrap
  34751. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  34752. msgstr ""
  34753. #. type: deftypevr
  34754. #: guix-git/doc/guix.texi:23327
  34755. #, no-wrap
  34756. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  34757. msgstr ""
  34758. #. type: deftypevr
  34759. #: guix-git/doc/guix.texi:23329
  34760. msgid "The contents of the @code{dovecot.conf}, as a string."
  34761. msgstr ""
  34762. #. type: Plain text
  34763. #: guix-git/doc/guix.texi:23333
  34764. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  34765. msgstr ""
  34766. #. type: lisp
  34767. #: guix-git/doc/guix.texi:23338
  34768. #, no-wrap
  34769. msgid ""
  34770. "(dovecot-service #:config\n"
  34771. " (opaque-dovecot-configuration\n"
  34772. " (string \"\")))\n"
  34773. msgstr ""
  34774. #. type: subsubheading
  34775. #: guix-git/doc/guix.texi:23340
  34776. #, no-wrap
  34777. msgid "OpenSMTPD Service"
  34778. msgstr ""
  34779. #. type: deffn
  34780. #: guix-git/doc/guix.texi:23342
  34781. #, no-wrap
  34782. msgid "{Scheme Variable} opensmtpd-service-type"
  34783. msgstr ""
  34784. #. type: deffn
  34785. #: guix-git/doc/guix.texi:23346
  34786. 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:"
  34787. msgstr ""
  34788. #. type: lisp
  34789. #: guix-git/doc/guix.texi:23351
  34790. #, no-wrap
  34791. msgid ""
  34792. "(service opensmtpd-service-type\n"
  34793. " (opensmtpd-configuration\n"
  34794. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  34795. msgstr ""
  34796. #. type: deftp
  34797. #: guix-git/doc/guix.texi:23354
  34798. #, no-wrap
  34799. msgid "{Data Type} opensmtpd-configuration"
  34800. msgstr ""
  34801. #. type: deftp
  34802. #: guix-git/doc/guix.texi:23356
  34803. msgid "Data type representing the configuration of opensmtpd."
  34804. msgstr ""
  34805. #. type: item
  34806. #: guix-git/doc/guix.texi:23358
  34807. #, no-wrap
  34808. msgid "@code{package} (default: @var{opensmtpd})"
  34809. msgstr ""
  34810. #. type: table
  34811. #: guix-git/doc/guix.texi:23360
  34812. msgid "Package object of the OpenSMTPD SMTP server."
  34813. msgstr ""
  34814. #. type: item
  34815. #: guix-git/doc/guix.texi:23361
  34816. #, no-wrap
  34817. msgid "@code{config-file} (default: @code{%default-opensmtpd-file})"
  34818. msgstr ""
  34819. #. type: table
  34820. #: guix-git/doc/guix.texi:23366
  34821. 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."
  34822. msgstr ""
  34823. #. type: subsubheading
  34824. #: guix-git/doc/guix.texi:23370
  34825. #, no-wrap
  34826. msgid "Exim Service"
  34827. msgstr ""
  34828. #. type: cindex
  34829. #: guix-git/doc/guix.texi:23372
  34830. #, no-wrap
  34831. msgid "mail transfer agent (MTA)"
  34832. msgstr ""
  34833. #. type: cindex
  34834. #: guix-git/doc/guix.texi:23373
  34835. #, no-wrap
  34836. msgid "MTA (mail transfer agent)"
  34837. msgstr ""
  34838. #. type: cindex
  34839. #: guix-git/doc/guix.texi:23374
  34840. #, no-wrap
  34841. msgid "SMTP"
  34842. msgstr ""
  34843. #. type: deffn
  34844. #: guix-git/doc/guix.texi:23376
  34845. #, no-wrap
  34846. msgid "{Scheme Variable} exim-service-type"
  34847. msgstr ""
  34848. #. type: deffn
  34849. #: guix-git/doc/guix.texi:23380
  34850. 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:"
  34851. msgstr ""
  34852. #. type: lisp
  34853. #: guix-git/doc/guix.texi:23385
  34854. #, no-wrap
  34855. msgid ""
  34856. "(service exim-service-type\n"
  34857. " (exim-configuration\n"
  34858. " (config-file (local-file \"./my-exim.conf\"))))\n"
  34859. msgstr ""
  34860. #. type: Plain text
  34861. #: guix-git/doc/guix.texi:23391
  34862. 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)."
  34863. msgstr ""
  34864. #. type: deftp
  34865. #: guix-git/doc/guix.texi:23392
  34866. #, no-wrap
  34867. msgid "{Data Type} exim-configuration"
  34868. msgstr ""
  34869. #. type: deftp
  34870. #: guix-git/doc/guix.texi:23394
  34871. msgid "Data type representing the configuration of exim."
  34872. msgstr ""
  34873. #. type: item
  34874. #: guix-git/doc/guix.texi:23396
  34875. #, no-wrap
  34876. msgid "@code{package} (default: @var{exim})"
  34877. msgstr ""
  34878. #. type: table
  34879. #: guix-git/doc/guix.texi:23398
  34880. msgid "Package object of the Exim server."
  34881. msgstr ""
  34882. #. type: table
  34883. #: guix-git/doc/guix.texi:23405
  34884. 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."
  34885. msgstr ""
  34886. #. type: subsubheading
  34887. #: guix-git/doc/guix.texi:23409
  34888. #, no-wrap
  34889. msgid "Getmail service"
  34890. msgstr ""
  34891. #. type: cindex
  34892. #: guix-git/doc/guix.texi:23411
  34893. #, no-wrap
  34894. msgid "IMAP"
  34895. msgstr ""
  34896. #. type: cindex
  34897. #: guix-git/doc/guix.texi:23412
  34898. #, no-wrap
  34899. msgid "POP"
  34900. msgstr ""
  34901. #. type: deffn
  34902. #: guix-git/doc/guix.texi:23414
  34903. #, no-wrap
  34904. msgid "{Scheme Variable} getmail-service-type"
  34905. msgstr ""
  34906. #. type: deffn
  34907. #: guix-git/doc/guix.texi:23417
  34908. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be an @code{getmail-configuration}."
  34909. msgstr ""
  34910. #. type: Plain text
  34911. #: guix-git/doc/guix.texi:23420
  34912. msgid "Available @code{getmail-configuration} fields are:"
  34913. msgstr ""
  34914. #. type: deftypevr
  34915. #: guix-git/doc/guix.texi:23421
  34916. #, no-wrap
  34917. msgid "{@code{getmail-configuration} parameter} symbol name"
  34918. msgstr ""
  34919. #. type: deftypevr
  34920. #: guix-git/doc/guix.texi:23423
  34921. msgid "A symbol to identify the getmail service."
  34922. msgstr ""
  34923. #. type: deftypevr
  34924. #: guix-git/doc/guix.texi:23425
  34925. msgid "Defaults to @samp{\"unset\"}."
  34926. msgstr ""
  34927. #. type: deftypevr
  34928. #: guix-git/doc/guix.texi:23428
  34929. #, no-wrap
  34930. msgid "{@code{getmail-configuration} parameter} package package"
  34931. msgstr ""
  34932. #. type: deftypevr
  34933. #: guix-git/doc/guix.texi:23430
  34934. msgid "The getmail package to use."
  34935. msgstr ""
  34936. #. type: deftypevr
  34937. #: guix-git/doc/guix.texi:23433
  34938. #, no-wrap
  34939. msgid "{@code{getmail-configuration} parameter} string user"
  34940. msgstr ""
  34941. #. type: deftypevr
  34942. #: guix-git/doc/guix.texi:23435
  34943. msgid "The user to run getmail as."
  34944. msgstr ""
  34945. #. type: deftypevr
  34946. #: guix-git/doc/guix.texi:23437 guix-git/doc/guix.texi:23444
  34947. msgid "Defaults to @samp{\"getmail\"}."
  34948. msgstr ""
  34949. #. type: deftypevr
  34950. #: guix-git/doc/guix.texi:23440
  34951. #, no-wrap
  34952. msgid "{@code{getmail-configuration} parameter} string group"
  34953. msgstr ""
  34954. #. type: deftypevr
  34955. #: guix-git/doc/guix.texi:23442
  34956. msgid "The group to run getmail as."
  34957. msgstr ""
  34958. #. type: deftypevr
  34959. #: guix-git/doc/guix.texi:23447
  34960. #, no-wrap
  34961. msgid "{@code{getmail-configuration} parameter} string directory"
  34962. msgstr ""
  34963. #. type: deftypevr
  34964. #: guix-git/doc/guix.texi:23449
  34965. msgid "The getmail directory to use."
  34966. msgstr ""
  34967. #. type: deftypevr
  34968. #: guix-git/doc/guix.texi:23451
  34969. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  34970. msgstr ""
  34971. #. type: deftypevr
  34972. #: guix-git/doc/guix.texi:23454
  34973. #, no-wrap
  34974. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  34975. msgstr ""
  34976. #. type: deftypevr
  34977. #: guix-git/doc/guix.texi:23456
  34978. msgid "The getmail configuration file to use."
  34979. msgstr ""
  34980. #. type: deftypevr
  34981. #: guix-git/doc/guix.texi:23458
  34982. msgid "Available @code{getmail-configuration-file} fields are:"
  34983. msgstr ""
  34984. #. type: deftypevr
  34985. #: guix-git/doc/guix.texi:23459
  34986. #, no-wrap
  34987. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  34988. msgstr ""
  34989. #. type: deftypevr
  34990. #: guix-git/doc/guix.texi:23461
  34991. msgid "What mail account to retrieve mail from, and how to access that account."
  34992. msgstr ""
  34993. #. type: deftypevr
  34994. #: guix-git/doc/guix.texi:23463
  34995. msgid "Available @code{getmail-retriever-configuration} fields are:"
  34996. msgstr ""
  34997. #. type: deftypevr
  34998. #: guix-git/doc/guix.texi:23464
  34999. #, no-wrap
  35000. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  35001. msgstr ""
  35002. #. type: deftypevr
  35003. #: guix-git/doc/guix.texi:23467
  35004. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  35005. msgstr ""
  35006. #. type: deftypevr
  35007. #: guix-git/doc/guix.texi:23469
  35008. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  35009. msgstr ""
  35010. #. type: deftypevr
  35011. #: guix-git/doc/guix.texi:23472
  35012. #, no-wrap
  35013. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  35014. msgstr ""
  35015. #. type: deftypevr
  35016. #: guix-git/doc/guix.texi:23474 guix-git/doc/guix.texi:23481
  35017. msgid "Username to login to the mail server with."
  35018. msgstr ""
  35019. #. type: deftypevr
  35020. #: guix-git/doc/guix.texi:23476 guix-git/doc/guix.texi:23483
  35021. #: guix-git/doc/guix.texi:23547
  35022. msgid "Defaults to @samp{unset}."
  35023. msgstr ""
  35024. #. type: deftypevr
  35025. #: guix-git/doc/guix.texi:23479
  35026. #, no-wrap
  35027. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  35028. msgstr ""
  35029. #. type: deftypevr
  35030. #: guix-git/doc/guix.texi:23486
  35031. #, no-wrap
  35032. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  35033. msgstr ""
  35034. #. type: deftypevr
  35035. #: guix-git/doc/guix.texi:23488
  35036. msgid "Port number to connect to."
  35037. msgstr ""
  35038. #. type: deftypevr
  35039. #: guix-git/doc/guix.texi:23493
  35040. #, no-wrap
  35041. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  35042. msgstr ""
  35043. #. type: deftypevr
  35044. #: guix-git/doc/guix.texi:23495 guix-git/doc/guix.texi:23502
  35045. msgid "Override fields from passwd."
  35046. msgstr ""
  35047. #. type: deftypevr
  35048. #: guix-git/doc/guix.texi:23500
  35049. #, no-wrap
  35050. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  35051. msgstr ""
  35052. #. type: deftypevr
  35053. #: guix-git/doc/guix.texi:23507
  35054. #, no-wrap
  35055. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  35056. msgstr ""
  35057. #. type: deftypevr
  35058. #: guix-git/doc/guix.texi:23509
  35059. msgid "PEM-formatted key file to use for the TLS negotiation."
  35060. msgstr ""
  35061. #. type: deftypevr
  35062. #: guix-git/doc/guix.texi:23514
  35063. #, no-wrap
  35064. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  35065. msgstr ""
  35066. #. type: deftypevr
  35067. #: guix-git/doc/guix.texi:23516
  35068. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  35069. msgstr ""
  35070. #. type: deftypevr
  35071. #: guix-git/doc/guix.texi:23521
  35072. #, no-wrap
  35073. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  35074. msgstr ""
  35075. #. type: deftypevr
  35076. #: guix-git/doc/guix.texi:23523
  35077. msgid "CA certificates to use."
  35078. msgstr ""
  35079. #. type: deftypevr
  35080. #: guix-git/doc/guix.texi:23528
  35081. #, no-wrap
  35082. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  35083. msgstr ""
  35084. #. type: deftypevr
  35085. #: guix-git/doc/guix.texi:23530
  35086. msgid "Extra retriever parameters."
  35087. msgstr ""
  35088. #. type: deftypevr
  35089. #: guix-git/doc/guix.texi:23537
  35090. #, no-wrap
  35091. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  35092. msgstr ""
  35093. #. type: deftypevr
  35094. #: guix-git/doc/guix.texi:23539
  35095. msgid "What to do with retrieved messages."
  35096. msgstr ""
  35097. #. type: deftypevr
  35098. #: guix-git/doc/guix.texi:23541
  35099. msgid "Available @code{getmail-destination-configuration} fields are:"
  35100. msgstr ""
  35101. #. type: deftypevr
  35102. #: guix-git/doc/guix.texi:23542
  35103. #, no-wrap
  35104. msgid "{@code{getmail-destination-configuration} parameter} string type"
  35105. msgstr ""
  35106. #. type: deftypevr
  35107. #: guix-git/doc/guix.texi:23545
  35108. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  35109. msgstr ""
  35110. #. type: deftypevr
  35111. #: guix-git/doc/guix.texi:23550
  35112. #, no-wrap
  35113. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  35114. msgstr ""
  35115. #. type: deftypevr
  35116. #: guix-git/doc/guix.texi:23553
  35117. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  35118. msgstr ""
  35119. #. type: deftypevr
  35120. #: guix-git/doc/guix.texi:23558
  35121. #, no-wrap
  35122. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  35123. msgstr ""
  35124. #. type: deftypevr
  35125. #: guix-git/doc/guix.texi:23560
  35126. msgid "Extra destination parameters"
  35127. msgstr ""
  35128. #. type: deftypevr
  35129. #: guix-git/doc/guix.texi:23567
  35130. #, no-wrap
  35131. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  35132. msgstr ""
  35133. #. type: deftypevr
  35134. #: guix-git/doc/guix.texi:23569
  35135. msgid "Configure getmail."
  35136. msgstr ""
  35137. #. type: deftypevr
  35138. #: guix-git/doc/guix.texi:23571
  35139. msgid "Available @code{getmail-options-configuration} fields are:"
  35140. msgstr ""
  35141. #. type: deftypevr
  35142. #: guix-git/doc/guix.texi:23572
  35143. #, no-wrap
  35144. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  35145. msgstr ""
  35146. #. type: deftypevr
  35147. #: guix-git/doc/guix.texi:23577
  35148. 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."
  35149. msgstr ""
  35150. #. type: deftypevr
  35151. #: guix-git/doc/guix.texi:23579 guix-git/doc/guix.texi:30102
  35152. #: guix-git/doc/guix.texi:30690 guix-git/doc/guix.texi:30835
  35153. msgid "Defaults to @samp{1}."
  35154. msgstr ""
  35155. #. type: deftypevr
  35156. #: guix-git/doc/guix.texi:23582
  35157. #, no-wrap
  35158. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  35159. msgstr ""
  35160. #. type: deftypevr
  35161. #: guix-git/doc/guix.texi:23585
  35162. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  35163. msgstr ""
  35164. #. type: deftypevr
  35165. #: guix-git/doc/guix.texi:23590
  35166. #, no-wrap
  35167. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  35168. msgstr ""
  35169. #. type: deftypevr
  35170. #: guix-git/doc/guix.texi:23594
  35171. 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."
  35172. msgstr ""
  35173. #. type: deftypevr
  35174. #: guix-git/doc/guix.texi:23599
  35175. #, no-wrap
  35176. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  35177. msgstr ""
  35178. #. type: deftypevr
  35179. #: guix-git/doc/guix.texi:23604
  35180. 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."
  35181. msgstr ""
  35182. #. type: deftypevr
  35183. #: guix-git/doc/guix.texi:23609
  35184. #, no-wrap
  35185. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  35186. msgstr ""
  35187. #. type: deftypevr
  35188. #: guix-git/doc/guix.texi:23613
  35189. 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."
  35190. msgstr ""
  35191. #. type: deftypevr
  35192. #: guix-git/doc/guix.texi:23618
  35193. #, no-wrap
  35194. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  35195. msgstr ""
  35196. #. type: deftypevr
  35197. #: guix-git/doc/guix.texi:23621
  35198. 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."
  35199. msgstr ""
  35200. #. type: deftypevr
  35201. #: guix-git/doc/guix.texi:23626
  35202. #, no-wrap
  35203. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  35204. msgstr ""
  35205. #. type: deftypevr
  35206. #: guix-git/doc/guix.texi:23629
  35207. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  35208. msgstr ""
  35209. #. type: deftypevr
  35210. #: guix-git/doc/guix.texi:23634
  35211. #, no-wrap
  35212. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  35213. msgstr ""
  35214. #. type: deftypevr
  35215. #: guix-git/doc/guix.texi:23636
  35216. msgid "If true, getmail will add a Delivered-To header to messages."
  35217. msgstr ""
  35218. #. type: deftypevr
  35219. #: guix-git/doc/guix.texi:23641
  35220. #, no-wrap
  35221. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  35222. msgstr ""
  35223. #. type: deftypevr
  35224. #: guix-git/doc/guix.texi:23643
  35225. msgid "If set, getmail adds a Received header to the messages."
  35226. msgstr ""
  35227. #. type: deftypevr
  35228. #: guix-git/doc/guix.texi:23648
  35229. #, no-wrap
  35230. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  35231. msgstr ""
  35232. #. type: deftypevr
  35233. #: guix-git/doc/guix.texi:23651
  35234. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  35235. msgstr ""
  35236. #. type: deftypevr
  35237. #: guix-git/doc/guix.texi:23656
  35238. #, no-wrap
  35239. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  35240. msgstr ""
  35241. #. type: deftypevr
  35242. #: guix-git/doc/guix.texi:23659
  35243. msgid "If true, getmail will record a log of its actions using the system logger."
  35244. msgstr ""
  35245. #. type: deftypevr
  35246. #: guix-git/doc/guix.texi:23664
  35247. #, no-wrap
  35248. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  35249. msgstr ""
  35250. #. type: deftypevr
  35251. #: guix-git/doc/guix.texi:23668
  35252. 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."
  35253. msgstr ""
  35254. #. type: deftypevr
  35255. #: guix-git/doc/guix.texi:23673
  35256. #, no-wrap
  35257. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  35258. msgstr ""
  35259. #. type: deftypevr
  35260. #: guix-git/doc/guix.texi:23675
  35261. msgid "Extra options to include."
  35262. msgstr ""
  35263. #. type: deftypevr
  35264. #: guix-git/doc/guix.texi:23684
  35265. #, no-wrap
  35266. msgid "{@code{getmail-configuration} parameter} list idle"
  35267. msgstr ""
  35268. #. type: deftypevr
  35269. #: guix-git/doc/guix.texi:23688
  35270. 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."
  35271. msgstr ""
  35272. #. type: deftypevr
  35273. #: guix-git/doc/guix.texi:23693
  35274. #, no-wrap
  35275. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  35276. msgstr ""
  35277. #. type: deftypevr
  35278. #: guix-git/doc/guix.texi:23695
  35279. msgid "Environment variables to set for getmail."
  35280. msgstr ""
  35281. #. type: subsubheading
  35282. #: guix-git/doc/guix.texi:23700
  35283. #, no-wrap
  35284. msgid "Mail Aliases Service"
  35285. msgstr ""
  35286. #. type: cindex
  35287. #: guix-git/doc/guix.texi:23702
  35288. #, no-wrap
  35289. msgid "email aliases"
  35290. msgstr ""
  35291. #. type: cindex
  35292. #: guix-git/doc/guix.texi:23703
  35293. #, no-wrap
  35294. msgid "aliases, for email addresses"
  35295. msgstr ""
  35296. #. type: deffn
  35297. #: guix-git/doc/guix.texi:23705
  35298. #, no-wrap
  35299. msgid "{Scheme Variable} mail-aliases-service-type"
  35300. msgstr ""
  35301. #. type: deffn
  35302. #: guix-git/doc/guix.texi:23708
  35303. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  35304. msgstr ""
  35305. #. type: lisp
  35306. #: guix-git/doc/guix.texi:23713
  35307. #, no-wrap
  35308. msgid ""
  35309. "(service mail-aliases-service-type\n"
  35310. " '((\"postmaster\" \"bob\")\n"
  35311. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  35312. msgstr ""
  35313. #. type: Plain text
  35314. #: guix-git/doc/guix.texi:23721
  35315. 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."
  35316. msgstr ""
  35317. #. type: Plain text
  35318. #: guix-git/doc/guix.texi:23727
  35319. 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})."
  35320. msgstr ""
  35321. #. type: cindex
  35322. #: guix-git/doc/guix.texi:23728 guix-git/doc/guix.texi:23729
  35323. #, no-wrap
  35324. msgid "GNU Mailutils IMAP4 Daemon"
  35325. msgstr ""
  35326. #. type: deffn
  35327. #: guix-git/doc/guix.texi:23731
  35328. #, no-wrap
  35329. msgid "{Scheme Variable} imap4d-service-type"
  35330. msgstr ""
  35331. #. type: deffn
  35332. #: guix-git/doc/guix.texi:23735
  35333. 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:"
  35334. msgstr ""
  35335. #. type: lisp
  35336. #: guix-git/doc/guix.texi:23740
  35337. #, no-wrap
  35338. msgid ""
  35339. "(service imap4d-service-type\n"
  35340. " (imap4d-configuration\n"
  35341. " (config-file (local-file \"imap4d.conf\"))))\n"
  35342. msgstr ""
  35343. #. type: deftp
  35344. #: guix-git/doc/guix.texi:23743
  35345. #, no-wrap
  35346. msgid "{Data Type} imap4d-configuration"
  35347. msgstr ""
  35348. #. type: deftp
  35349. #: guix-git/doc/guix.texi:23745
  35350. msgid "Data type representing the configuration of @command{imap4d}."
  35351. msgstr ""
  35352. #. type: item
  35353. #: guix-git/doc/guix.texi:23747
  35354. #, no-wrap
  35355. msgid "@code{package} (default: @code{mailutils})"
  35356. msgstr ""
  35357. #. type: table
  35358. #: guix-git/doc/guix.texi:23749
  35359. msgid "The package that provides @command{imap4d}."
  35360. msgstr ""
  35361. #. type: item
  35362. #: guix-git/doc/guix.texi:23750
  35363. #, no-wrap
  35364. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  35365. msgstr ""
  35366. #. type: table
  35367. #: guix-git/doc/guix.texi:23754
  35368. 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."
  35369. msgstr ""
  35370. #. type: subsubheading
  35371. #: guix-git/doc/guix.texi:23758
  35372. #, no-wrap
  35373. msgid "Radicale Service"
  35374. msgstr ""
  35375. #. type: cindex
  35376. #: guix-git/doc/guix.texi:23759
  35377. #, no-wrap
  35378. msgid "CalDAV"
  35379. msgstr ""
  35380. #. type: cindex
  35381. #: guix-git/doc/guix.texi:23760
  35382. #, no-wrap
  35383. msgid "CardDAV"
  35384. msgstr ""
  35385. #. type: deffn
  35386. #: guix-git/doc/guix.texi:23762
  35387. #, no-wrap
  35388. msgid "{Scheme Variable} radicale-service-type"
  35389. msgstr ""
  35390. #. type: deffn
  35391. #: guix-git/doc/guix.texi:23765
  35392. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  35393. msgstr ""
  35394. #. type: deftp
  35395. #: guix-git/doc/guix.texi:23767
  35396. #, no-wrap
  35397. msgid "{Data Type} radicale-configuration"
  35398. msgstr ""
  35399. #. type: deftp
  35400. #: guix-git/doc/guix.texi:23769
  35401. msgid "Data type representing the configuration of @command{radicale}."
  35402. msgstr ""
  35403. #. type: item
  35404. #: guix-git/doc/guix.texi:23771
  35405. #, no-wrap
  35406. msgid "@code{package} (default: @code{radicale})"
  35407. msgstr ""
  35408. #. type: table
  35409. #: guix-git/doc/guix.texi:23773
  35410. msgid "The package that provides @command{radicale}."
  35411. msgstr ""
  35412. #. type: item
  35413. #: guix-git/doc/guix.texi:23774
  35414. #, no-wrap
  35415. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  35416. msgstr ""
  35417. #. type: table
  35418. #: guix-git/doc/guix.texi:23778
  35419. 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."
  35420. msgstr ""
  35421. #. type: cindex
  35422. #: guix-git/doc/guix.texi:23785
  35423. #, no-wrap
  35424. msgid "messaging"
  35425. msgstr ""
  35426. #. type: cindex
  35427. #: guix-git/doc/guix.texi:23786
  35428. #, no-wrap
  35429. msgid "jabber"
  35430. msgstr ""
  35431. #. type: cindex
  35432. #: guix-git/doc/guix.texi:23787
  35433. #, no-wrap
  35434. msgid "XMPP"
  35435. msgstr "XMPP"
  35436. #. type: Plain text
  35437. #: guix-git/doc/guix.texi:23791
  35438. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  35439. msgstr ""
  35440. #. type: subsubheading
  35441. #: guix-git/doc/guix.texi:23792
  35442. #, no-wrap
  35443. msgid "Prosody Service"
  35444. msgstr ""
  35445. #. type: deffn
  35446. #: guix-git/doc/guix.texi:23794
  35447. #, no-wrap
  35448. msgid "{Scheme Variable} prosody-service-type"
  35449. msgstr ""
  35450. #. type: deffn
  35451. #: guix-git/doc/guix.texi:23798
  35452. 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:"
  35453. msgstr ""
  35454. #. type: lisp
  35455. #: guix-git/doc/guix.texi:23813
  35456. #, no-wrap
  35457. msgid ""
  35458. "(service prosody-service-type\n"
  35459. " (prosody-configuration\n"
  35460. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  35461. " (int-components\n"
  35462. " (list\n"
  35463. " (int-component-configuration\n"
  35464. " (hostname \"conference.example.net\")\n"
  35465. " (plugin \"muc\")\n"
  35466. " (mod-muc (mod-muc-configuration)))))\n"
  35467. " (virtualhosts\n"
  35468. " (list\n"
  35469. " (virtualhost-configuration\n"
  35470. " (domain \"example.net\"))))))\n"
  35471. msgstr ""
  35472. #. type: deffn
  35473. #: guix-git/doc/guix.texi:23816
  35474. msgid "See below for details about @code{prosody-configuration}."
  35475. msgstr ""
  35476. #. type: Plain text
  35477. #: guix-git/doc/guix.texi:23822
  35478. 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."
  35479. msgstr ""
  35480. #. type: Plain text
  35481. #: guix-git/doc/guix.texi:23825
  35482. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  35483. msgstr ""
  35484. #. type: Plain text
  35485. #: guix-git/doc/guix.texi:23829
  35486. 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}."
  35487. msgstr ""
  35488. #. type: example
  35489. #: guix-git/doc/guix.texi:23832
  35490. #, no-wrap
  35491. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  35492. msgstr ""
  35493. #. type: Plain text
  35494. #: guix-git/doc/guix.texi:23839
  35495. 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 @code{'disabled}."
  35496. msgstr ""
  35497. #. type: Plain text
  35498. #: guix-git/doc/guix.texi:23843
  35499. 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."
  35500. msgstr ""
  35501. #. type: Plain text
  35502. #: guix-git/doc/guix.texi:23846
  35503. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  35504. msgstr ""
  35505. #. type: Plain text
  35506. #: guix-git/doc/guix.texi:23856
  35507. msgid "Available @code{prosody-configuration} fields are:"
  35508. msgstr ""
  35509. #. type: deftypevr
  35510. #: guix-git/doc/guix.texi:23857
  35511. #, no-wrap
  35512. msgid "{@code{prosody-configuration} parameter} package prosody"
  35513. msgstr ""
  35514. #. type: deftypevr
  35515. #: guix-git/doc/guix.texi:23859
  35516. msgid "The Prosody package."
  35517. msgstr ""
  35518. #. type: deftypevr
  35519. #: guix-git/doc/guix.texi:23861
  35520. #, no-wrap
  35521. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  35522. msgstr ""
  35523. #. type: deftypevr
  35524. #: guix-git/doc/guix.texi:23865
  35525. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  35526. msgstr ""
  35527. #. type: deftypevr
  35528. #: guix-git/doc/guix.texi:23867
  35529. #, no-wrap
  35530. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  35531. msgstr ""
  35532. #. type: deftypevr
  35533. #: guix-git/doc/guix.texi:23871
  35534. 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{()}."
  35535. msgstr ""
  35536. #. type: deftypevr
  35537. #: guix-git/doc/guix.texi:23873
  35538. #, no-wrap
  35539. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  35540. msgstr ""
  35541. #. type: deftypevr
  35542. #: guix-git/doc/guix.texi:23878
  35543. 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\"}."
  35544. msgstr ""
  35545. #. type: deftypevr
  35546. #: guix-git/doc/guix.texi:23880
  35547. #, no-wrap
  35548. msgid "{@code{prosody-configuration} parameter} string-list admins"
  35549. msgstr ""
  35550. #. type: deftypevr
  35551. #: guix-git/doc/guix.texi:23886
  35552. 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{()}."
  35553. msgstr ""
  35554. #. type: deftypevr
  35555. #: guix-git/doc/guix.texi:23888
  35556. #, no-wrap
  35557. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  35558. msgstr ""
  35559. #. type: deftypevr
  35560. #: guix-git/doc/guix.texi:23892
  35561. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  35562. msgstr ""
  35563. #. type: deftypevr
  35564. #: guix-git/doc/guix.texi:23894
  35565. #, no-wrap
  35566. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  35567. msgstr ""
  35568. #. type: deftypevr
  35569. #: guix-git/doc/guix.texi:23900
  35570. 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\")}."
  35571. msgstr ""
  35572. #. type: deftypevr
  35573. #: guix-git/doc/guix.texi:23902
  35574. #, no-wrap
  35575. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  35576. msgstr ""
  35577. #. type: deftypevr
  35578. #: guix-git/doc/guix.texi:23906
  35579. 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{()}."
  35580. msgstr ""
  35581. #. type: deftypevr
  35582. #: guix-git/doc/guix.texi:23908
  35583. #, no-wrap
  35584. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  35585. msgstr ""
  35586. #. type: deftypevr
  35587. #: guix-git/doc/guix.texi:23913
  35588. 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\"}."
  35589. msgstr ""
  35590. #. type: deftypevr
  35591. #: guix-git/doc/guix.texi:23915
  35592. #, no-wrap
  35593. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  35594. msgstr ""
  35595. #. type: deftypevr
  35596. #: guix-git/doc/guix.texi:23919
  35597. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  35598. msgstr ""
  35599. #. type: deftypevr
  35600. #: guix-git/doc/guix.texi:23921
  35601. #, no-wrap
  35602. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  35603. msgstr ""
  35604. #. type: deftypevr
  35605. #: guix-git/doc/guix.texi:23926
  35606. 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}."
  35607. msgstr ""
  35608. #. type: deftypevr
  35609. #: guix-git/doc/guix.texi:23928
  35610. msgid "Available @code{ssl-configuration} fields are:"
  35611. msgstr ""
  35612. #. type: deftypevr
  35613. #: guix-git/doc/guix.texi:23929
  35614. #, no-wrap
  35615. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  35616. msgstr ""
  35617. #. type: deftypevr
  35618. #: guix-git/doc/guix.texi:23931
  35619. msgid "This determines what handshake to use."
  35620. msgstr ""
  35621. #. type: deftypevr
  35622. #: guix-git/doc/guix.texi:23933
  35623. #, no-wrap
  35624. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  35625. msgstr ""
  35626. #. type: deftypevr
  35627. #: guix-git/doc/guix.texi:23935
  35628. msgid "Path to your private key file."
  35629. msgstr ""
  35630. #. type: deftypevr
  35631. #: guix-git/doc/guix.texi:23937
  35632. #, no-wrap
  35633. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  35634. msgstr ""
  35635. #. type: deftypevr
  35636. #: guix-git/doc/guix.texi:23939
  35637. msgid "Path to your certificate file."
  35638. msgstr ""
  35639. #. type: deftypevr
  35640. #: guix-git/doc/guix.texi:23941
  35641. #, no-wrap
  35642. msgid "{@code{ssl-configuration} parameter} file-object capath"
  35643. msgstr ""
  35644. #. type: deftypevr
  35645. #: guix-git/doc/guix.texi:23945
  35646. 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\"}."
  35647. msgstr ""
  35648. #. type: deftypevr
  35649. #: guix-git/doc/guix.texi:23947
  35650. #, no-wrap
  35651. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  35652. msgstr ""
  35653. #. type: deftypevr
  35654. #: guix-git/doc/guix.texi:23950
  35655. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  35656. msgstr ""
  35657. #. type: deftypevr
  35658. #: guix-git/doc/guix.texi:23952
  35659. #, no-wrap
  35660. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  35661. msgstr ""
  35662. #. type: deftypevr
  35663. #: guix-git/doc/guix.texi:23955
  35664. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  35665. msgstr ""
  35666. #. type: deftypevr
  35667. #: guix-git/doc/guix.texi:23957
  35668. #, no-wrap
  35669. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  35670. msgstr ""
  35671. #. type: deftypevr
  35672. #: guix-git/doc/guix.texi:23961
  35673. 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."
  35674. msgstr ""
  35675. #. type: deftypevr
  35676. #: guix-git/doc/guix.texi:23963
  35677. #, no-wrap
  35678. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  35679. msgstr ""
  35680. #. type: deftypevr
  35681. #: guix-git/doc/guix.texi:23966
  35682. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  35683. msgstr ""
  35684. #. type: deftypevr
  35685. #: guix-git/doc/guix.texi:23968
  35686. #, no-wrap
  35687. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  35688. msgstr ""
  35689. #. type: deftypevr
  35690. #: guix-git/doc/guix.texi:23971
  35691. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  35692. msgstr ""
  35693. #. type: deftypevr
  35694. #: guix-git/doc/guix.texi:23973
  35695. #, no-wrap
  35696. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  35697. msgstr ""
  35698. #. type: deftypevr
  35699. #: guix-git/doc/guix.texi:23977
  35700. 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}"
  35701. msgstr ""
  35702. #. type: deftypevr
  35703. #: guix-git/doc/guix.texi:23979
  35704. #, no-wrap
  35705. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  35706. msgstr ""
  35707. #. type: deftypevr
  35708. #: guix-git/doc/guix.texi:23982
  35709. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  35710. msgstr ""
  35711. #. type: deftypevr
  35712. #: guix-git/doc/guix.texi:23984
  35713. #, no-wrap
  35714. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  35715. msgstr ""
  35716. #. type: deftypevr
  35717. #: guix-git/doc/guix.texi:23986
  35718. msgid "A list of ``extra'' verification options."
  35719. msgstr ""
  35720. #. type: deftypevr
  35721. #: guix-git/doc/guix.texi:23988
  35722. #, no-wrap
  35723. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  35724. msgstr ""
  35725. #. type: deftypevr
  35726. #: guix-git/doc/guix.texi:23990
  35727. msgid "Password for encrypted private keys."
  35728. msgstr ""
  35729. #. type: deftypevr
  35730. #: guix-git/doc/guix.texi:23994
  35731. #, no-wrap
  35732. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  35733. msgstr ""
  35734. #. type: deftypevr
  35735. #: guix-git/doc/guix.texi:23998
  35736. 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}."
  35737. msgstr ""
  35738. #. type: deftypevr
  35739. #: guix-git/doc/guix.texi:24000
  35740. #, no-wrap
  35741. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  35742. msgstr ""
  35743. #. type: deftypevr
  35744. #: guix-git/doc/guix.texi:24004
  35745. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}."
  35746. msgstr ""
  35747. #. type: deftypevr
  35748. #: guix-git/doc/guix.texi:24006
  35749. #, no-wrap
  35750. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  35751. msgstr ""
  35752. #. type: deftypevr
  35753. #: guix-git/doc/guix.texi:24010
  35754. 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}."
  35755. msgstr ""
  35756. #. type: deftypevr
  35757. #: guix-git/doc/guix.texi:24012
  35758. #, no-wrap
  35759. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  35760. msgstr ""
  35761. #. type: deftypevr
  35762. #: guix-git/doc/guix.texi:24018
  35763. 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}."
  35764. msgstr ""
  35765. #. type: deftypevr
  35766. #: guix-git/doc/guix.texi:24020
  35767. #, no-wrap
  35768. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  35769. msgstr ""
  35770. #. type: deftypevr
  35771. #: guix-git/doc/guix.texi:24026
  35772. 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{()}."
  35773. msgstr ""
  35774. #. type: deftypevr
  35775. #: guix-git/doc/guix.texi:24028
  35776. #, no-wrap
  35777. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  35778. msgstr ""
  35779. #. type: deftypevr
  35780. #: guix-git/doc/guix.texi:24033
  35781. 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{()}."
  35782. msgstr ""
  35783. #. type: deftypevr
  35784. #: guix-git/doc/guix.texi:24035
  35785. #, no-wrap
  35786. msgid "{@code{prosody-configuration} parameter} string authentication"
  35787. msgstr ""
  35788. #. type: deftypevr
  35789. #: guix-git/doc/guix.texi:24043
  35790. 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\"}."
  35791. msgstr ""
  35792. #. type: deftypevr
  35793. #: guix-git/doc/guix.texi:24045
  35794. #, no-wrap
  35795. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  35796. msgstr ""
  35797. #. type: deftypevr
  35798. #: guix-git/doc/guix.texi:24049
  35799. 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\"}."
  35800. msgstr ""
  35801. #. type: deftypevr
  35802. #: guix-git/doc/guix.texi:24051
  35803. #, no-wrap
  35804. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  35805. msgstr ""
  35806. #. type: deftypevr
  35807. #: guix-git/doc/guix.texi:24054
  35808. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  35809. msgstr ""
  35810. #. type: deftypevr
  35811. #: guix-git/doc/guix.texi:24056
  35812. #, no-wrap
  35813. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  35814. msgstr ""
  35815. #. type: deftypevr
  35816. #: guix-git/doc/guix.texi:24058
  35817. msgid "Maximum allowed size of the HTTP body (in bytes)."
  35818. msgstr ""
  35819. #. type: deftypevr
  35820. #: guix-git/doc/guix.texi:24060
  35821. #, no-wrap
  35822. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  35823. msgstr ""
  35824. #. type: deftypevr
  35825. #: guix-git/doc/guix.texi:24065
  35826. 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}."
  35827. msgstr ""
  35828. #. type: deftypevr
  35829. #: guix-git/doc/guix.texi:24067
  35830. #, no-wrap
  35831. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  35832. msgstr ""
  35833. #. type: deftypevr
  35834. #: guix-git/doc/guix.texi:24072
  35835. 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."
  35836. msgstr ""
  35837. #. type: deftypevr
  35838. #: guix-git/doc/guix.texi:24078
  35839. msgid "Note: 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."
  35840. msgstr ""
  35841. #. type: deftypevr
  35842. #: guix-git/doc/guix.texi:24080
  35843. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  35844. msgstr ""
  35845. #. type: deftypevr
  35846. #: guix-git/doc/guix.texi:24082
  35847. msgid "Available @code{virtualhost-configuration} fields are:"
  35848. msgstr ""
  35849. #. type: deftypevr
  35850. #: guix-git/doc/guix.texi:24084 guix-git/doc/guix.texi:24106
  35851. #: guix-git/doc/guix.texi:24159
  35852. 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:"
  35853. msgstr ""
  35854. #. type: deftypevr
  35855. #: guix-git/doc/guix.texi:24084
  35856. #, no-wrap
  35857. msgid "{@code{virtualhost-configuration} parameter} string domain"
  35858. msgstr ""
  35859. #. type: deftypevr
  35860. #: guix-git/doc/guix.texi:24086
  35861. msgid "Domain you wish Prosody to serve."
  35862. msgstr ""
  35863. #. type: deftypevr
  35864. #: guix-git/doc/guix.texi:24090
  35865. #, no-wrap
  35866. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  35867. msgstr ""
  35868. #. type: deftypevr
  35869. #: guix-git/doc/guix.texi:24095
  35870. 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."
  35871. msgstr ""
  35872. #. type: deftypevr
  35873. #: guix-git/doc/guix.texi:24099
  35874. 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."
  35875. msgstr ""
  35876. #. type: deftypevr
  35877. #: guix-git/doc/guix.texi:24102
  35878. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  35879. msgstr ""
  35880. #. type: deftypevr
  35881. #: guix-git/doc/guix.texi:24104
  35882. msgid "Available @code{int-component-configuration} fields are:"
  35883. msgstr ""
  35884. #. type: deftypevr
  35885. #: guix-git/doc/guix.texi:24106
  35886. #, no-wrap
  35887. msgid "{@code{int-component-configuration} parameter} string hostname"
  35888. msgstr ""
  35889. #. type: deftypevr
  35890. #: guix-git/doc/guix.texi:24108 guix-git/doc/guix.texi:24165
  35891. msgid "Hostname of the component."
  35892. msgstr ""
  35893. #. type: deftypevr
  35894. #: guix-git/doc/guix.texi:24110
  35895. #, no-wrap
  35896. msgid "{@code{int-component-configuration} parameter} string plugin"
  35897. msgstr ""
  35898. #. type: deftypevr
  35899. #: guix-git/doc/guix.texi:24112
  35900. msgid "Plugin you wish to use for the component."
  35901. msgstr ""
  35902. #. type: deftypevr
  35903. #: guix-git/doc/guix.texi:24114
  35904. #, no-wrap
  35905. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  35906. msgstr ""
  35907. #. type: deftypevr
  35908. #: guix-git/doc/guix.texi:24117
  35909. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  35910. msgstr ""
  35911. #. type: deftypevr
  35912. #: guix-git/doc/guix.texi:24121
  35913. 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."
  35914. msgstr ""
  35915. #. type: deftypevr
  35916. #: guix-git/doc/guix.texi:24123
  35917. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  35918. msgstr ""
  35919. #. type: deftypevr
  35920. #: guix-git/doc/guix.texi:24125
  35921. msgid "Available @code{mod-muc-configuration} fields are:"
  35922. msgstr ""
  35923. #. type: deftypevr
  35924. #: guix-git/doc/guix.texi:24126
  35925. #, no-wrap
  35926. msgid "{@code{mod-muc-configuration} parameter} string name"
  35927. msgstr ""
  35928. #. type: deftypevr
  35929. #: guix-git/doc/guix.texi:24129
  35930. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  35931. msgstr ""
  35932. #. type: deftypevr
  35933. #: guix-git/doc/guix.texi:24131
  35934. #, no-wrap
  35935. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  35936. msgstr ""
  35937. #. type: deftypevr
  35938. #: guix-git/doc/guix.texi:24138
  35939. 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}."
  35940. msgstr ""
  35941. #. type: deftypevr
  35942. #: guix-git/doc/guix.texi:24140
  35943. #, no-wrap
  35944. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  35945. msgstr ""
  35946. #. type: deftypevr
  35947. #: guix-git/doc/guix.texi:24144
  35948. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  35949. msgstr ""
  35950. #. type: deftypevr
  35951. #: guix-git/doc/guix.texi:24150
  35952. #, no-wrap
  35953. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  35954. msgstr ""
  35955. #. type: deftypevr
  35956. #: guix-git/doc/guix.texi:24155
  35957. 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{()}."
  35958. msgstr ""
  35959. #. type: deftypevr
  35960. #: guix-git/doc/guix.texi:24157
  35961. msgid "Available @code{ext-component-configuration} fields are:"
  35962. msgstr ""
  35963. #. type: deftypevr
  35964. #: guix-git/doc/guix.texi:24159
  35965. #, no-wrap
  35966. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  35967. msgstr ""
  35968. #. type: deftypevr
  35969. #: guix-git/doc/guix.texi:24161
  35970. msgid "Password which the component will use to log in."
  35971. msgstr ""
  35972. #. type: deftypevr
  35973. #: guix-git/doc/guix.texi:24163
  35974. #, no-wrap
  35975. msgid "{@code{ext-component-configuration} parameter} string hostname"
  35976. msgstr ""
  35977. #. type: deftypevr
  35978. #: guix-git/doc/guix.texi:24169
  35979. #, no-wrap
  35980. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  35981. msgstr ""
  35982. #. type: deftypevr
  35983. #: guix-git/doc/guix.texi:24172
  35984. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{(5347)}."
  35985. msgstr ""
  35986. #. type: deftypevr
  35987. #: guix-git/doc/guix.texi:24174
  35988. #, no-wrap
  35989. msgid "{@code{prosody-configuration} parameter} string component-interface"
  35990. msgstr ""
  35991. #. type: deftypevr
  35992. #: guix-git/doc/guix.texi:24177
  35993. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  35994. msgstr ""
  35995. #. type: deftypevr
  35996. #: guix-git/doc/guix.texi:24179
  35997. #, no-wrap
  35998. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  35999. msgstr ""
  36000. #. type: deftypevr
  36001. #: guix-git/doc/guix.texi:24181
  36002. msgid "Raw content that will be added to the configuration file."
  36003. msgstr ""
  36004. #. type: Plain text
  36005. #: guix-git/doc/guix.texi:24189
  36006. 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:"
  36007. msgstr ""
  36008. #. type: deftypevr
  36009. #: guix-git/doc/guix.texi:24190
  36010. #, no-wrap
  36011. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  36012. msgstr ""
  36013. #. type: deftypevr
  36014. #: guix-git/doc/guix.texi:24192
  36015. msgid "The prosody package."
  36016. msgstr ""
  36017. #. type: deftypevr
  36018. #: guix-git/doc/guix.texi:24194
  36019. #, no-wrap
  36020. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  36021. msgstr ""
  36022. #. type: deftypevr
  36023. #: guix-git/doc/guix.texi:24196
  36024. msgid "The contents of the @code{prosody.cfg.lua} to use."
  36025. msgstr ""
  36026. #. type: Plain text
  36027. #: guix-git/doc/guix.texi:24200
  36028. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  36029. msgstr ""
  36030. #. type: lisp
  36031. #: guix-git/doc/guix.texi:24205
  36032. #, no-wrap
  36033. msgid ""
  36034. "(service prosody-service-type\n"
  36035. " (opaque-prosody-configuration\n"
  36036. " (prosody.cfg.lua \"\")))\n"
  36037. msgstr ""
  36038. #. type: subsubheading
  36039. #: guix-git/doc/guix.texi:24209
  36040. #, no-wrap
  36041. msgid "BitlBee Service"
  36042. msgstr ""
  36043. #. type: cindex
  36044. #: guix-git/doc/guix.texi:24211 guix-git/doc/guix.texi:24255
  36045. #, no-wrap
  36046. msgid "IRC (Internet Relay Chat)"
  36047. msgstr ""
  36048. #. type: cindex
  36049. #: guix-git/doc/guix.texi:24212
  36050. #, no-wrap
  36051. msgid "IRC gateway"
  36052. msgstr ""
  36053. #. type: Plain text
  36054. #: guix-git/doc/guix.texi:24215
  36055. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  36056. msgstr ""
  36057. #. type: defvr
  36058. #: guix-git/doc/guix.texi:24216
  36059. #, no-wrap
  36060. msgid "{Scheme Variable} bitlbee-service-type"
  36061. msgstr ""
  36062. #. type: defvr
  36063. #: guix-git/doc/guix.texi:24220
  36064. 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)."
  36065. msgstr ""
  36066. #. type: defvr
  36067. #: guix-git/doc/guix.texi:24223
  36068. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  36069. msgstr ""
  36070. #. type: lisp
  36071. #: guix-git/doc/guix.texi:24226
  36072. #, no-wrap
  36073. msgid "(service bitlbee-service-type)\n"
  36074. msgstr ""
  36075. #. type: deftp
  36076. #: guix-git/doc/guix.texi:24229
  36077. #, no-wrap
  36078. msgid "{Data Type} bitlbee-configuration"
  36079. msgstr ""
  36080. #. type: deftp
  36081. #: guix-git/doc/guix.texi:24231
  36082. msgid "This is the configuration for BitlBee, with the following fields:"
  36083. msgstr ""
  36084. #. type: item
  36085. #: guix-git/doc/guix.texi:24233
  36086. #, no-wrap
  36087. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  36088. msgstr ""
  36089. #. type: itemx
  36090. #: guix-git/doc/guix.texi:24234
  36091. #, no-wrap
  36092. msgid "@code{port} (default: @code{6667})"
  36093. msgstr "@code{porta} (default: @code{6667})"
  36094. #. type: table
  36095. #: guix-git/doc/guix.texi:24237
  36096. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  36097. msgstr ""
  36098. #. type: table
  36099. #: guix-git/doc/guix.texi:24241
  36100. 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."
  36101. msgstr ""
  36102. #. type: item
  36103. #: guix-git/doc/guix.texi:24242
  36104. #, no-wrap
  36105. msgid "@code{bitlbee} (default: @code{bitlbee})"
  36106. msgstr ""
  36107. #. type: table
  36108. #: guix-git/doc/guix.texi:24244
  36109. msgid "The BitlBee package to use."
  36110. msgstr ""
  36111. #. type: item
  36112. #: guix-git/doc/guix.texi:24245
  36113. #, no-wrap
  36114. msgid "@code{plugins} (default: @code{'()})"
  36115. msgstr ""
  36116. #. type: table
  36117. #: guix-git/doc/guix.texi:24247
  36118. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  36119. msgstr ""
  36120. #. type: table
  36121. #: guix-git/doc/guix.texi:24250
  36122. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  36123. msgstr ""
  36124. #. type: subsubheading
  36125. #: guix-git/doc/guix.texi:24253
  36126. #, no-wrap
  36127. msgid "Quassel Service"
  36128. msgstr ""
  36129. #. type: Plain text
  36130. #: guix-git/doc/guix.texi:24259
  36131. 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."
  36132. msgstr ""
  36133. #. type: defvr
  36134. #: guix-git/doc/guix.texi:24260
  36135. #, no-wrap
  36136. msgid "{Scheme Variable} quassel-service-type"
  36137. msgstr ""
  36138. #. type: defvr
  36139. #: guix-git/doc/guix.texi:24264
  36140. 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)."
  36141. msgstr ""
  36142. #. type: deftp
  36143. #: guix-git/doc/guix.texi:24266
  36144. #, no-wrap
  36145. msgid "{Data Type} quassel-configuration"
  36146. msgstr ""
  36147. #. type: deftp
  36148. #: guix-git/doc/guix.texi:24268
  36149. msgid "This is the configuration for Quassel, with the following fields:"
  36150. msgstr ""
  36151. #. type: item
  36152. #: guix-git/doc/guix.texi:24270
  36153. #, no-wrap
  36154. msgid "@code{quassel} (default: @code{quassel})"
  36155. msgstr ""
  36156. #. type: table
  36157. #: guix-git/doc/guix.texi:24272
  36158. msgid "The Quassel package to use."
  36159. msgstr ""
  36160. #. type: item
  36161. #: guix-git/doc/guix.texi:24273
  36162. #, no-wrap
  36163. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  36164. msgstr ""
  36165. #. type: item
  36166. #: guix-git/doc/guix.texi:24274
  36167. #, no-wrap
  36168. msgid "@code{port} (default: @code{4242})"
  36169. msgstr ""
  36170. #. type: table
  36171. #: guix-git/doc/guix.texi:24278
  36172. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  36173. msgstr ""
  36174. #. type: item
  36175. #: guix-git/doc/guix.texi:24279
  36176. #, no-wrap
  36177. msgid "@code{loglevel} (default: @code{\"Info\"})"
  36178. msgstr ""
  36179. #. type: table
  36180. #: guix-git/doc/guix.texi:24282
  36181. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  36182. msgstr ""
  36183. #. type: cindex
  36184. #: guix-git/doc/guix.texi:24288
  36185. #, no-wrap
  36186. msgid "telephony, services"
  36187. msgstr "telefonia, serviços"
  36188. #. type: Plain text
  36189. #: guix-git/doc/guix.texi:24292
  36190. msgid "The @code{(gnu services telephony)} module contains Guix service definitions for telephony services. Currently it provides the following services:"
  36191. msgstr ""
  36192. #. type: subsubheading
  36193. #: guix-git/doc/guix.texi:24293
  36194. #, no-wrap
  36195. msgid "Jami"
  36196. msgstr ""
  36197. #. type: cindex
  36198. #: guix-git/doc/guix.texi:24295
  36199. #, fuzzy, no-wrap
  36200. #| msgid "Mail Services"
  36201. msgid "jami, service"
  36202. msgstr "Serviços de correio"
  36203. #. type: Plain text
  36204. #: guix-git/doc/guix.texi:24301
  36205. 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:"
  36206. msgstr ""
  36207. #. type: lisp
  36208. #: guix-git/doc/guix.texi:24310
  36209. #, no-wrap
  36210. msgid ""
  36211. "(service jami-service-type\n"
  36212. " (jami-configuration\n"
  36213. " (accounts\n"
  36214. " (list (jami-account\n"
  36215. " (archive \"/etc/jami/unencrypted-account-1.gz\"))\n"
  36216. " (jami-account\n"
  36217. " (archive \"/etc/jami/unencrypted-account-2.gz\"))))))\n"
  36218. msgstr ""
  36219. #. type: Plain text
  36220. #: guix-git/doc/guix.texi:24315
  36221. 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."
  36222. msgstr ""
  36223. #. type: Plain text
  36224. #: guix-git/doc/guix.texi:24320
  36225. 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}."
  36226. msgstr ""
  36227. #. type: Plain text
  36228. #: guix-git/doc/guix.texi:24323
  36229. msgid "The next example shows how to declare that only some contacts should be allowed to communicate with a given account:"
  36230. msgstr ""
  36231. #. type: lisp
  36232. #: guix-git/doc/guix.texi:24335
  36233. #, no-wrap
  36234. msgid ""
  36235. "(service jami-service-type\n"
  36236. " (jami-configuration\n"
  36237. " (accounts\n"
  36238. " (list (jami-account\n"
  36239. " (archive \"/etc/jami/unencrypted-account-1.gz\")\n"
  36240. " (peer-discovery? #t)\n"
  36241. " (rendezvous-point? #t)\n"
  36242. " (allowed-contacts\n"
  36243. " '(\"1dbcb0f5f37324228235564b79f2b9737e9a008f\"\n"
  36244. " \"2dbcb0f5f37324228235564b79f2b9737e9a008f\")))))))\n"
  36245. msgstr ""
  36246. #. type: Plain text
  36247. #: guix-git/doc/guix.texi:24341
  36248. 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."
  36249. msgstr ""
  36250. #. type: Plain text
  36251. #: guix-git/doc/guix.texi:24344
  36252. msgid "To put the system administrator in full control of the conferences hosted on their system, the Jami service supports the following actions:"
  36253. msgstr ""
  36254. #. type: example
  36255. #: guix-git/doc/guix.texi:24356
  36256. #, no-wrap
  36257. msgid ""
  36258. "# herd doc jami list-actions\n"
  36259. "(list-accounts\n"
  36260. " list-account-details\n"
  36261. " list-banned-contacts\n"
  36262. " list-contacts\n"
  36263. " list-moderators\n"
  36264. " add-moderator\n"
  36265. " ban-contact\n"
  36266. " enable-account\n"
  36267. " disable-account)\n"
  36268. msgstr ""
  36269. #. type: Plain text
  36270. #: guix-git/doc/guix.texi:24363
  36271. 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."
  36272. msgstr ""
  36273. #. type: Plain text
  36274. #: guix-git/doc/guix.texi:24369
  36275. 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:"
  36276. msgstr ""
  36277. #. type: example
  36278. #: guix-git/doc/guix.texi:24373
  36279. #, no-wrap
  36280. msgid ""
  36281. "# herd add-moderator jami 1dbcb0f5f37324228235564b79f2b9737e9a008f \\\n"
  36282. " f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  36283. "\n"
  36284. msgstr ""
  36285. #. type: example
  36286. #: guix-git/doc/guix.texi:24377
  36287. #, no-wrap
  36288. msgid ""
  36289. "# herd list-moderators jami\n"
  36290. "Moderators for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  36291. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  36292. "\n"
  36293. msgstr ""
  36294. #. type: Plain text
  36295. #: guix-git/doc/guix.texi:24382
  36296. msgid "In the case of @code{ban-contact}, the second username argument is optional; when omitted, the account is banned from all Jami accounts:"
  36297. msgstr ""
  36298. #. type: example
  36299. #: guix-git/doc/guix.texi:24385
  36300. #, no-wrap
  36301. msgid ""
  36302. "# herd ban-contact jami 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  36303. "\n"
  36304. msgstr ""
  36305. #. type: example
  36306. #: guix-git/doc/guix.texi:24389
  36307. #, no-wrap
  36308. msgid ""
  36309. "# herd list-banned-contacts jami\n"
  36310. "Banned contacts for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  36311. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  36312. "\n"
  36313. msgstr ""
  36314. #. type: Plain text
  36315. #: guix-git/doc/guix.texi:24393
  36316. msgid "Banned contacts are also stripped from their moderation privileges."
  36317. msgstr ""
  36318. #. type: Plain text
  36319. #: guix-git/doc/guix.texi:24398
  36320. 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:"
  36321. msgstr ""
  36322. #. type: example
  36323. #: guix-git/doc/guix.texi:24401
  36324. #, no-wrap
  36325. msgid ""
  36326. "# herd disable-account jami f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  36327. "\n"
  36328. msgstr ""
  36329. #. type: example
  36330. #: guix-git/doc/guix.texi:24405
  36331. #, no-wrap
  36332. msgid ""
  36333. "# herd list-accounts jami\n"
  36334. "The following Jami accounts are available:\n"
  36335. " - f3345f2775ddfe07a4b0d95daea111d15fbc1199 (dummy) [disabled]\n"
  36336. "\n"
  36337. msgstr ""
  36338. #. type: Plain text
  36339. #: guix-git/doc/guix.texi:24416
  36340. 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:"
  36341. msgstr ""
  36342. #. type: example
  36343. #: guix-git/doc/guix.texi:24421
  36344. #, no-wrap
  36345. msgid ""
  36346. "# herd list-account-details jami | \\\n"
  36347. " recsel -p Account.username -e 'Account.rendezVous ~ \"true\"'\n"
  36348. "Account_username: f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  36349. msgstr ""
  36350. #. type: Plain text
  36351. #: guix-git/doc/guix.texi:24424
  36352. msgid "The remaining actions should be self-explanatory."
  36353. msgstr ""
  36354. #. type: Plain text
  36355. #: guix-git/doc/guix.texi:24426
  36356. msgid "The complete set of available configuration options is detailed below."
  36357. msgstr ""
  36358. #. type: deftp
  36359. #: guix-git/doc/guix.texi:24430
  36360. #, fuzzy, no-wrap
  36361. msgid "{Data Type} jami-configuration"
  36362. msgstr "build-machine {Data Type}"
  36363. #. type: deftp
  36364. #: guix-git/doc/guix.texi:24432
  36365. msgid "Available @code{jami-configuration} fields are:"
  36366. msgstr ""
  36367. #. type: item
  36368. #: guix-git/doc/guix.texi:24434
  36369. #, fuzzy, no-wrap
  36370. msgid "@code{jamid} (default: @code{libjami}) (type: package)"
  36371. msgstr "@code{tmpdir} (default: @code{#f})"
  36372. #. type: table
  36373. #: guix-git/doc/guix.texi:24436
  36374. #, fuzzy
  36375. msgid "The Jami daemon package to use."
  36376. msgstr "O pacote GPM a ser usado."
  36377. #. type: item
  36378. #: guix-git/doc/guix.texi:24437
  36379. #, fuzzy, no-wrap
  36380. #| msgid "@code{dbus?} (default: @code{#t})"
  36381. msgid "@code{dbus} (default: @code{dbus}) (type: package)"
  36382. msgstr "@code{dbus?} (padrão: @code{#t})"
  36383. #. type: table
  36384. #: guix-git/doc/guix.texi:24439
  36385. msgid "The D-Bus package to use to start the required D-Bus session."
  36386. msgstr ""
  36387. #. type: item
  36388. #: guix-git/doc/guix.texi:24440
  36389. #, fuzzy, no-wrap
  36390. #| msgid "@code{users} (default: @code{#f})"
  36391. msgid "@code{nss-certs} (default: @code{nss-certs}) (type: package)"
  36392. msgstr "@code{users} (default: @code{#f})"
  36393. #. type: table
  36394. #: guix-git/doc/guix.texi:24442
  36395. msgid "The nss-certs package to use to provide TLS certificates."
  36396. msgstr ""
  36397. #. type: item
  36398. #: guix-git/doc/guix.texi:24443
  36399. #, fuzzy, no-wrap
  36400. #| msgid "@code{wait?} (default: @code{#t})"
  36401. msgid "@code{enable-logging?} (default: @code{#t}) (type: boolean)"
  36402. msgstr "@code{wait?} (padrão: @code{#t})"
  36403. #. type: table
  36404. #: guix-git/doc/guix.texi:24445
  36405. msgid "Whether to enable logging to syslog."
  36406. msgstr ""
  36407. #. type: item
  36408. #: guix-git/doc/guix.texi:24446
  36409. #, fuzzy, no-wrap
  36410. #| msgid "@code{debug?} (default: @code{#f})"
  36411. msgid "@code{debug?} (default: @code{#f}) (type: boolean)"
  36412. msgstr "@code{debug?} (default: @code{#f})"
  36413. #. type: table
  36414. #: guix-git/doc/guix.texi:24448
  36415. msgid "Whether to enable debug level messages."
  36416. msgstr ""
  36417. #. type: item
  36418. #: guix-git/doc/guix.texi:24449
  36419. #, fuzzy, no-wrap
  36420. #| msgid "@code{users} (default: @code{#f})"
  36421. msgid "@code{auto-answer?} (default: @code{#f}) (type: boolean)"
  36422. msgstr "@code{users} (default: @code{#f})"
  36423. #. type: table
  36424. #: guix-git/doc/guix.texi:24451
  36425. msgid "Whether to force automatic answer to incoming calls."
  36426. msgstr ""
  36427. #. type: item
  36428. #: guix-git/doc/guix.texi:24452
  36429. #, no-wrap
  36430. msgid "@code{accounts} (default: @code{disabled}) (type: maybe-jami-account-list)"
  36431. msgstr ""
  36432. #. type: table
  36433. #: guix-git/doc/guix.texi:24457
  36434. 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."
  36435. msgstr ""
  36436. #. type: deftp
  36437. #: guix-git/doc/guix.texi:24463
  36438. #, fuzzy, no-wrap
  36439. msgid "{Data Type} jami-account"
  36440. msgstr "build-machine {Data Type}"
  36441. #. type: deftp
  36442. #: guix-git/doc/guix.texi:24465
  36443. msgid "Available @code{jami-account} fields are:"
  36444. msgstr ""
  36445. #. type: item
  36446. #: guix-git/doc/guix.texi:24467
  36447. #, no-wrap
  36448. msgid "@code{archive} (type: string-or-computed-file)"
  36449. msgstr ""
  36450. #. type: table
  36451. #: guix-git/doc/guix.texi:24473
  36452. 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."
  36453. msgstr ""
  36454. #. type: item
  36455. #: guix-git/doc/guix.texi:24474
  36456. #, no-wrap
  36457. msgid "@code{allowed-contacts} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  36458. msgstr ""
  36459. #. type: table
  36460. #: guix-git/doc/guix.texi:24481
  36461. 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 unspecified, 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."
  36462. msgstr ""
  36463. #. type: item
  36464. #: guix-git/doc/guix.texi:24482
  36465. #, no-wrap
  36466. msgid "@code{moderators} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  36467. msgstr ""
  36468. #. type: table
  36469. #: guix-git/doc/guix.texi:24488
  36470. 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 unspecified, the configuration of the account archive is used as-is with respect to moderation, which typically defaults to allow anyone to moderate."
  36471. msgstr ""
  36472. #. type: item
  36473. #: guix-git/doc/guix.texi:24489
  36474. #, fuzzy, no-wrap
  36475. #| msgid "@code{no-hints?} (default: @code{#f})"
  36476. msgid "@code{rendezvous-point?} (default: @code{disabled}) (type: maybe-boolean)"
  36477. msgstr "@code{no-hints?} (padrão: @code{#f})"
  36478. #. type: table
  36479. #: guix-git/doc/guix.texi:24493
  36480. 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."
  36481. msgstr ""
  36482. #. type: item
  36483. #: guix-git/doc/guix.texi:24494
  36484. #, fuzzy, no-wrap
  36485. msgid "@code{peer-discovery?} (default: @code{disabled}) (type: maybe-boolean)"
  36486. msgstr "@code{chdir} (default: @code{#f})"
  36487. #. type: table
  36488. #: guix-git/doc/guix.texi:24500
  36489. 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 the Internet has been lost. When left unspecified, the value from the account archive prevails."
  36490. msgstr ""
  36491. #. type: item
  36492. #: guix-git/doc/guix.texi:24501
  36493. #, fuzzy, no-wrap
  36494. msgid "@code{bootstrap-hostnames} (default: @code{disabled}) (type: maybe-string-list)"
  36495. msgstr "@code{options} (default: @code{#f})"
  36496. #. type: table
  36497. #: guix-git/doc/guix.texi:24505
  36498. 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."
  36499. msgstr ""
  36500. #. type: item
  36501. #: guix-git/doc/guix.texi:24506
  36502. #, fuzzy, no-wrap
  36503. msgid "@code{name-server-uri} (default: @code{disabled}) (type: maybe-string)"
  36504. msgstr "@code{remote?} (padrão: @code{#f})"
  36505. #. type: table
  36506. #: guix-git/doc/guix.texi:24509
  36507. msgid "The URI of the name server to use, that can be used to retrieve the account fingerprint for a registered username."
  36508. msgstr ""
  36509. #. type: cindex
  36510. #: guix-git/doc/guix.texi:24514 guix-git/doc/guix.texi:24516
  36511. #, no-wrap
  36512. msgid "Murmur (VoIP server)"
  36513. msgstr ""
  36514. #. type: cindex
  36515. #: guix-git/doc/guix.texi:24517
  36516. #, no-wrap
  36517. msgid "VoIP server"
  36518. msgstr ""
  36519. #. type: Plain text
  36520. #: guix-git/doc/guix.texi:24521
  36521. msgid "This section describes how to set up and run a Murmur server. Murmur is the server of the @uref{https://mumble.info, Mumble} voice-over-IP (VoIP) suite."
  36522. msgstr ""
  36523. #. type: deftp
  36524. #: guix-git/doc/guix.texi:24522
  36525. #, no-wrap
  36526. msgid "{Data Type} murmur-configuration"
  36527. msgstr ""
  36528. #. type: deftp
  36529. #: guix-git/doc/guix.texi:24525
  36530. msgid "The service type for the Murmur server. An example configuration can look like this:"
  36531. msgstr ""
  36532. #. type: lisp
  36533. #: guix-git/doc/guix.texi:24534
  36534. #, no-wrap
  36535. msgid ""
  36536. "(service murmur-service-type\n"
  36537. " (murmur-configuration\n"
  36538. " (welcome-text\n"
  36539. " \"Welcome to this Mumble server running on Guix!\")\n"
  36540. " (cert-required? #t) ;disallow text password logins\n"
  36541. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  36542. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  36543. msgstr ""
  36544. #. type: deftp
  36545. #: guix-git/doc/guix.texi:24538
  36546. msgid "After reconfiguring your system, you can manually set the murmur @code{SuperUser} password with the command that is printed during the activation phase."
  36547. msgstr ""
  36548. #. type: deftp
  36549. #: guix-git/doc/guix.texi:24547
  36550. 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."
  36551. msgstr ""
  36552. #. type: deftp
  36553. #: guix-git/doc/guix.texi:24549
  36554. msgid "Available @code{murmur-configuration} fields are:"
  36555. msgstr ""
  36556. #. type: item
  36557. #: guix-git/doc/guix.texi:24551
  36558. #, no-wrap
  36559. msgid "@code{package} (default: @code{mumble})"
  36560. msgstr ""
  36561. #. type: table
  36562. #: guix-git/doc/guix.texi:24553
  36563. msgid "Package that contains @code{bin/murmurd}."
  36564. msgstr ""
  36565. #. type: item
  36566. #: guix-git/doc/guix.texi:24554
  36567. #, no-wrap
  36568. msgid "@code{user} (default: @code{\"murmur\"})"
  36569. msgstr ""
  36570. #. type: table
  36571. #: guix-git/doc/guix.texi:24556
  36572. msgid "User who will run the Murmur server."
  36573. msgstr ""
  36574. #. type: item
  36575. #: guix-git/doc/guix.texi:24557
  36576. #, no-wrap
  36577. msgid "@code{group} (default: @code{\"murmur\"})"
  36578. msgstr ""
  36579. #. type: table
  36580. #: guix-git/doc/guix.texi:24559
  36581. msgid "Group of the user who will run the murmur server."
  36582. msgstr ""
  36583. #. type: item
  36584. #: guix-git/doc/guix.texi:24560
  36585. #, no-wrap
  36586. msgid "@code{port} (default: @code{64738})"
  36587. msgstr "@code{porta} (default: @code{64738})"
  36588. #. type: table
  36589. #: guix-git/doc/guix.texi:24562
  36590. msgid "Port on which the server will listen."
  36591. msgstr ""
  36592. #. type: item
  36593. #: guix-git/doc/guix.texi:24563
  36594. #, no-wrap
  36595. msgid "@code{welcome-text} (default: @code{\"\"})"
  36596. msgstr ""
  36597. #. type: table
  36598. #: guix-git/doc/guix.texi:24565
  36599. msgid "Welcome text sent to clients when they connect."
  36600. msgstr ""
  36601. #. type: item
  36602. #: guix-git/doc/guix.texi:24566
  36603. #, no-wrap
  36604. msgid "@code{server-password} (default: @code{\"\"})"
  36605. msgstr ""
  36606. #. type: table
  36607. #: guix-git/doc/guix.texi:24568
  36608. msgid "Password the clients have to enter in order to connect."
  36609. msgstr ""
  36610. #. type: item
  36611. #: guix-git/doc/guix.texi:24569
  36612. #, no-wrap
  36613. msgid "@code{max-users} (default: @code{100})"
  36614. msgstr ""
  36615. #. type: table
  36616. #: guix-git/doc/guix.texi:24571
  36617. msgid "Maximum of users that can be connected to the server at once."
  36618. msgstr ""
  36619. #. type: item
  36620. #: guix-git/doc/guix.texi:24572
  36621. #, no-wrap
  36622. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  36623. msgstr ""
  36624. #. type: table
  36625. #: guix-git/doc/guix.texi:24574
  36626. msgid "Maximum voice traffic a user can send per second."
  36627. msgstr ""
  36628. #. type: item
  36629. #: guix-git/doc/guix.texi:24575
  36630. #, no-wrap
  36631. msgid "@code{database-file} (default: @code{\"/var/lib/murmur/db.sqlite\"})"
  36632. msgstr ""
  36633. #. type: table
  36634. #: guix-git/doc/guix.texi:24578
  36635. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  36636. msgstr ""
  36637. #. type: item
  36638. #: guix-git/doc/guix.texi:24579
  36639. #, no-wrap
  36640. msgid "@code{log-file} (default: @code{\"/var/log/murmur/murmur.log\"})"
  36641. msgstr ""
  36642. #. type: table
  36643. #: guix-git/doc/guix.texi:24582
  36644. msgid "File name of the log file. The service's user will become the owner of the directory."
  36645. msgstr ""
  36646. #. type: item
  36647. #: guix-git/doc/guix.texi:24583
  36648. #, no-wrap
  36649. msgid "@code{autoban-attempts} (default: @code{10})"
  36650. msgstr ""
  36651. #. type: table
  36652. #: guix-git/doc/guix.texi:24586
  36653. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  36654. msgstr ""
  36655. #. type: item
  36656. #: guix-git/doc/guix.texi:24587
  36657. #, no-wrap
  36658. msgid "@code{autoban-timeframe} (default: @code{120})"
  36659. msgstr ""
  36660. #. type: table
  36661. #: guix-git/doc/guix.texi:24589
  36662. msgid "Timeframe for autoban in seconds."
  36663. msgstr ""
  36664. #. type: item
  36665. #: guix-git/doc/guix.texi:24590
  36666. #, no-wrap
  36667. msgid "@code{autoban-time} (default: @code{300})"
  36668. msgstr ""
  36669. #. type: table
  36670. #: guix-git/doc/guix.texi:24593
  36671. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  36672. msgstr ""
  36673. #. type: item
  36674. #: guix-git/doc/guix.texi:24594
  36675. #, no-wrap
  36676. msgid "@code{opus-threshold} (default: @code{100})"
  36677. msgstr ""
  36678. #. type: table
  36679. #: guix-git/doc/guix.texi:24597
  36680. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  36681. msgstr ""
  36682. #. type: item
  36683. #: guix-git/doc/guix.texi:24598
  36684. #, no-wrap
  36685. msgid "@code{channel-nesting-limit} (default: @code{10})"
  36686. msgstr ""
  36687. #. type: table
  36688. #: guix-git/doc/guix.texi:24600
  36689. msgid "How deep channels can be nested at maximum."
  36690. msgstr ""
  36691. #. type: item
  36692. #: guix-git/doc/guix.texi:24601
  36693. #, no-wrap
  36694. msgid "@code{channelname-regex} (default: @code{#f})"
  36695. msgstr ""
  36696. #. type: table
  36697. #: guix-git/doc/guix.texi:24603
  36698. msgid "A string in form of a Qt regular expression that channel names must conform to."
  36699. msgstr ""
  36700. #. type: item
  36701. #: guix-git/doc/guix.texi:24604
  36702. #, no-wrap
  36703. msgid "@code{username-regex} (default: @code{#f})"
  36704. msgstr ""
  36705. #. type: table
  36706. #: guix-git/doc/guix.texi:24606
  36707. msgid "A string in form of a Qt regular expression that user names must conform to."
  36708. msgstr ""
  36709. #. type: item
  36710. #: guix-git/doc/guix.texi:24607
  36711. #, no-wrap
  36712. msgid "@code{text-message-length} (default: @code{5000})"
  36713. msgstr ""
  36714. #. type: table
  36715. #: guix-git/doc/guix.texi:24609
  36716. msgid "Maximum size in bytes that a user can send in one text chat message."
  36717. msgstr ""
  36718. #. type: item
  36719. #: guix-git/doc/guix.texi:24610
  36720. #, no-wrap
  36721. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  36722. msgstr ""
  36723. #. type: table
  36724. #: guix-git/doc/guix.texi:24612
  36725. msgid "Maximum size in bytes that a user can send in one image message."
  36726. msgstr ""
  36727. #. type: item
  36728. #: guix-git/doc/guix.texi:24613
  36729. #, no-wrap
  36730. msgid "@code{cert-required?} (default: @code{#f})"
  36731. msgstr ""
  36732. #. type: table
  36733. #: guix-git/doc/guix.texi:24616
  36734. 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."
  36735. msgstr ""
  36736. #. type: item
  36737. #: guix-git/doc/guix.texi:24617
  36738. #, no-wrap
  36739. msgid "@code{remember-channel?} (default: @code{#f})"
  36740. msgstr "@code{remember-channel?} (padrão: @code{#f})"
  36741. #. type: table
  36742. #: guix-git/doc/guix.texi:24620
  36743. msgid "Should murmur remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  36744. msgstr ""
  36745. #. type: item
  36746. #: guix-git/doc/guix.texi:24621
  36747. #, no-wrap
  36748. msgid "@code{allow-html?} (default: @code{#f})"
  36749. msgstr ""
  36750. #. type: table
  36751. #: guix-git/doc/guix.texi:24623
  36752. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  36753. msgstr ""
  36754. #. type: item
  36755. #: guix-git/doc/guix.texi:24624
  36756. #, no-wrap
  36757. msgid "@code{allow-ping?} (default: @code{#f})"
  36758. msgstr ""
  36759. #. type: table
  36760. #: guix-git/doc/guix.texi:24628
  36761. 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."
  36762. msgstr ""
  36763. #. type: table
  36764. #: guix-git/doc/guix.texi:24630
  36765. msgid "Disabling this setting will prevent public listing of the server."
  36766. msgstr ""
  36767. #. type: item
  36768. #: guix-git/doc/guix.texi:24631
  36769. #, no-wrap
  36770. msgid "@code{bonjour?} (default: @code{#f})"
  36771. msgstr "@code{bonjour?} (padrão: @code{#f})"
  36772. #. type: table
  36773. #: guix-git/doc/guix.texi:24633
  36774. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  36775. msgstr ""
  36776. #. type: item
  36777. #: guix-git/doc/guix.texi:24634
  36778. #, no-wrap
  36779. msgid "@code{send-version?} (default: @code{#f})"
  36780. msgstr ""
  36781. #. type: table
  36782. #: guix-git/doc/guix.texi:24636
  36783. msgid "Should the murmur server version be exposed in ping requests."
  36784. msgstr ""
  36785. #. type: item
  36786. #: guix-git/doc/guix.texi:24637
  36787. #, no-wrap
  36788. msgid "@code{log-days} (default: @code{31})"
  36789. msgstr ""
  36790. #. type: table
  36791. #: guix-git/doc/guix.texi:24641
  36792. msgid "Murmur 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."
  36793. msgstr ""
  36794. #. type: item
  36795. #: guix-git/doc/guix.texi:24642
  36796. #, no-wrap
  36797. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  36798. msgstr ""
  36799. #. type: table
  36800. #: guix-git/doc/guix.texi:24644
  36801. msgid "Should logged ips be obfuscated to protect the privacy of users."
  36802. msgstr ""
  36803. #. type: item
  36804. #: guix-git/doc/guix.texi:24645
  36805. #, no-wrap
  36806. msgid "@code{ssl-cert} (default: @code{#f})"
  36807. msgstr ""
  36808. #. type: table
  36809. #: guix-git/doc/guix.texi:24647
  36810. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  36811. msgstr ""
  36812. #. type: lisp
  36813. #: guix-git/doc/guix.texi:24650
  36814. #, no-wrap
  36815. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  36816. msgstr ""
  36817. #. type: item
  36818. #: guix-git/doc/guix.texi:24651
  36819. #, no-wrap
  36820. msgid "@code{ssl-key} (default: @code{#f})"
  36821. msgstr ""
  36822. #. type: table
  36823. #: guix-git/doc/guix.texi:24653
  36824. msgid "Filepath to the ssl private key used for encrypted connections."
  36825. msgstr ""
  36826. #. type: lisp
  36827. #: guix-git/doc/guix.texi:24655
  36828. #, no-wrap
  36829. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  36830. msgstr ""
  36831. #. type: item
  36832. #: guix-git/doc/guix.texi:24657
  36833. #, no-wrap
  36834. msgid "@code{ssl-dh-params} (default: @code{#f})"
  36835. msgstr ""
  36836. #. type: table
  36837. #: guix-git/doc/guix.texi:24662
  36838. 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."
  36839. msgstr ""
  36840. #. type: item
  36841. #: guix-git/doc/guix.texi:24663
  36842. #, no-wrap
  36843. msgid "@code{ssl-ciphers} (default: @code{#f})"
  36844. msgstr ""
  36845. #. type: table
  36846. #: guix-git/doc/guix.texi:24666
  36847. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  36848. msgstr ""
  36849. #. type: table
  36850. #: guix-git/doc/guix.texi:24670
  36851. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  36852. msgstr ""
  36853. #. type: table
  36854. #: guix-git/doc/guix.texi:24675
  36855. 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 Murmur log to ensure that Murmur is using the cipher suites that you expected it to."
  36856. msgstr ""
  36857. #. type: table
  36858. #: guix-git/doc/guix.texi:24679
  36859. msgid "Note: Changing this option may impact the backwards compatibility of your Murmur server, and can remove the ability for older Mumble clients to be able to connect to it."
  36860. msgstr ""
  36861. #. type: item
  36862. #: guix-git/doc/guix.texi:24680
  36863. #, no-wrap
  36864. msgid "@code{public-registration} (default: @code{#f})"
  36865. msgstr ""
  36866. #. type: table
  36867. #: guix-git/doc/guix.texi:24682
  36868. msgid "Must be a @code{<murmur-public-registration-configuration>} record or @code{#f}."
  36869. msgstr ""
  36870. #. type: table
  36871. #: guix-git/doc/guix.texi:24687
  36872. 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}."
  36873. msgstr ""
  36874. #. type: table
  36875. #: guix-git/doc/guix.texi:24689
  36876. msgid "It might take a few hours until it shows up in the public list."
  36877. msgstr ""
  36878. #. type: item
  36879. #: guix-git/doc/guix.texi:24690 guix-git/doc/guix.texi:26837
  36880. #, no-wrap
  36881. msgid "@code{file} (default: @code{#f})"
  36882. msgstr "@code{file} (default: @code{#f})"
  36883. #. type: table
  36884. #: guix-git/doc/guix.texi:24692
  36885. msgid "Optional alternative override for this configuration."
  36886. msgstr ""
  36887. #. type: deftp
  36888. #: guix-git/doc/guix.texi:24695
  36889. #, no-wrap
  36890. msgid "{Data Type} murmur-public-registration-configuration"
  36891. msgstr ""
  36892. #. type: deftp
  36893. #: guix-git/doc/guix.texi:24697
  36894. msgid "Configuration for public registration of a murmur service."
  36895. msgstr ""
  36896. #. type: table
  36897. #: guix-git/doc/guix.texi:24701
  36898. msgid "This is a display name for your server. Not to be confused with the hostname."
  36899. msgstr ""
  36900. #. type: itemx
  36901. #: guix-git/doc/guix.texi:24702 guix-git/doc/guix.texi:33600
  36902. #: guix-git/doc/guix.texi:34857
  36903. #, no-wrap
  36904. msgid "password"
  36905. msgstr "senha"
  36906. #. type: table
  36907. #: guix-git/doc/guix.texi:24705
  36908. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  36909. msgstr ""
  36910. #. type: table
  36911. #: guix-git/doc/guix.texi:24709
  36912. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  36913. msgstr ""
  36914. #. type: item
  36915. #: guix-git/doc/guix.texi:24710 guix-git/doc/guix.texi:27725
  36916. #, no-wrap
  36917. msgid "@code{hostname} (default: @code{#f})"
  36918. msgstr "@code{hostname} (default: @code{#f})"
  36919. #. type: table
  36920. #: guix-git/doc/guix.texi:24713
  36921. 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."
  36922. msgstr ""
  36923. #. type: Plain text
  36924. #: guix-git/doc/guix.texi:24723
  36925. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  36926. msgstr ""
  36927. #. type: subsubheading
  36928. #: guix-git/doc/guix.texi:24724
  36929. #, no-wrap
  36930. msgid "Transmission Daemon Service"
  36931. msgstr ""
  36932. #. type: Plain text
  36933. #: guix-git/doc/guix.texi:24732
  36934. 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."
  36935. msgstr ""
  36936. #. type: deffn
  36937. #: guix-git/doc/guix.texi:24733
  36938. #, no-wrap
  36939. msgid "{Scheme Variable} transmission-daemon-service-type"
  36940. msgstr ""
  36941. #. type: deffn
  36942. #: guix-git/doc/guix.texi:24737
  36943. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  36944. msgstr ""
  36945. #. type: lisp
  36946. #: guix-git/doc/guix.texi:24748
  36947. #, no-wrap
  36948. msgid ""
  36949. "(service transmission-daemon-service-type\n"
  36950. " (transmission-daemon-configuration\n"
  36951. " ;; Restrict access to the RPC (\"control\") interface\n"
  36952. " (rpc-authentication-required? #t)\n"
  36953. " (rpc-username \"transmission\")\n"
  36954. " (rpc-password\n"
  36955. " (transmission-password-hash\n"
  36956. " \"transmission\" ; desired password\n"
  36957. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  36958. "\n"
  36959. msgstr ""
  36960. #. type: lisp
  36961. #: guix-git/doc/guix.texi:24753
  36962. #, no-wrap
  36963. msgid ""
  36964. " ;; Accept requests from this and other hosts on the\n"
  36965. " ;; local network\n"
  36966. " (rpc-whitelist-enabled? #t)\n"
  36967. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  36968. "\n"
  36969. msgstr ""
  36970. #. type: lisp
  36971. #: guix-git/doc/guix.texi:24757
  36972. #, no-wrap
  36973. msgid ""
  36974. " ;; Limit bandwidth use during work hours\n"
  36975. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  36976. " (alt-speed-up 512) ; 512 kB/s\n"
  36977. "\n"
  36978. msgstr ""
  36979. #. type: lisp
  36980. #: guix-git/doc/guix.texi:24764
  36981. #, no-wrap
  36982. msgid ""
  36983. " (alt-speed-time-enabled? #t)\n"
  36984. " (alt-speed-time-day 'weekdays)\n"
  36985. " (alt-speed-time-begin\n"
  36986. " (+ (* 60 8) 30)) ; 8:30 am\n"
  36987. " (alt-speed-time-end\n"
  36988. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  36989. msgstr ""
  36990. #. type: Plain text
  36991. #: guix-git/doc/guix.texi:24777
  36992. 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."
  36993. msgstr ""
  36994. #. type: Plain text
  36995. #: guix-git/doc/guix.texi:24785
  36996. 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."
  36997. msgstr ""
  36998. #. type: deffn
  36999. #: guix-git/doc/guix.texi:24786
  37000. #, no-wrap
  37001. msgid "{Scheme Procedure} transmission-password-hash @var{password} @var{salt}"
  37002. msgstr ""
  37003. #. type: deffn
  37004. #: guix-git/doc/guix.texi:24790
  37005. 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."
  37006. msgstr ""
  37007. #. type: deffn
  37008. #: guix-git/doc/guix.texi:24794
  37009. 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."
  37010. msgstr ""
  37011. #. type: deffn
  37012. #: guix-git/doc/guix.texi:24796
  37013. #, no-wrap
  37014. msgid "{Scheme Procedure} transmission-random-salt"
  37015. msgstr ""
  37016. #. type: deffn
  37017. #: guix-git/doc/guix.texi:24800
  37018. 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."
  37019. msgstr ""
  37020. #. type: Plain text
  37021. #: guix-git/doc/guix.texi:24806
  37022. 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:"
  37023. msgstr ""
  37024. #. type: example
  37025. #: guix-git/doc/guix.texi:24812
  37026. #, no-wrap
  37027. msgid ""
  37028. "$ guix repl\n"
  37029. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  37030. "scheme@@(guix-user)> (transmission-random-salt)\n"
  37031. "$1 = \"uKd1uMs9\"\n"
  37032. msgstr ""
  37033. #. type: Plain text
  37034. #: guix-git/doc/guix.texi:24815
  37035. msgid "Alternatively, a complete password hash can generated in a single step:"
  37036. msgstr ""
  37037. #. type: example
  37038. #: guix-git/doc/guix.texi:24820
  37039. #, no-wrap
  37040. msgid ""
  37041. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  37042. "(transmission-random-salt))\n"
  37043. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  37044. msgstr ""
  37045. #. type: Plain text
  37046. #: guix-git/doc/guix.texi:24825
  37047. 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."
  37048. msgstr ""
  37049. #. type: Plain text
  37050. #: guix-git/doc/guix.texi:24834
  37051. 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."
  37052. msgstr ""
  37053. #. type: Plain text
  37054. #: guix-git/doc/guix.texi:24841
  37055. 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.)"
  37056. msgstr ""
  37057. #. type: Plain text
  37058. #: guix-git/doc/guix.texi:24846
  37059. 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:"
  37060. msgstr ""
  37061. #. type: example
  37062. #: guix-git/doc/guix.texi:24849
  37063. #, no-wrap
  37064. msgid "# herd reload transmission-daemon\n"
  37065. msgstr ""
  37066. #. type: Plain text
  37067. #: guix-git/doc/guix.texi:24853
  37068. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  37069. msgstr ""
  37070. #. type: deftp
  37071. #: guix-git/doc/guix.texi:24854
  37072. #, no-wrap
  37073. msgid "{Data Type} transmission-daemon-configuration"
  37074. msgstr ""
  37075. #. type: deftp
  37076. #: guix-git/doc/guix.texi:24858
  37077. 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."
  37078. msgstr ""
  37079. #. type: Plain text
  37080. #: guix-git/doc/guix.texi:24872
  37081. msgid "Available @code{transmission-daemon-configuration} fields are:"
  37082. msgstr ""
  37083. #. type: deftypevr
  37084. #: guix-git/doc/guix.texi:24873
  37085. #, no-wrap
  37086. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  37087. msgstr ""
  37088. #. type: deftypevr
  37089. #: guix-git/doc/guix.texi:24875
  37090. msgid "The Transmission package to use."
  37091. msgstr ""
  37092. #. type: deftypevr
  37093. #: guix-git/doc/guix.texi:24878
  37094. #, no-wrap
  37095. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  37096. msgstr ""
  37097. #. type: deftypevr
  37098. #: guix-git/doc/guix.texi:24884
  37099. 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."
  37100. msgstr ""
  37101. #. type: deftypevr
  37102. #: guix-git/doc/guix.texi:24886 guix-git/doc/guix.texi:25258
  37103. #: guix-git/doc/guix.texi:32566 guix-git/doc/guix.texi:32801
  37104. #: guix-git/doc/guix.texi:32809 guix-git/doc/guix.texi:32817
  37105. msgid "Defaults to @samp{10}."
  37106. msgstr ""
  37107. #. type: deftypevr
  37108. #: guix-git/doc/guix.texi:24889
  37109. #, no-wrap
  37110. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  37111. msgstr ""
  37112. #. type: deftypevr
  37113. #: guix-git/doc/guix.texi:24891
  37114. msgid "The directory to which torrent files are downloaded."
  37115. msgstr ""
  37116. #. type: deftypevr
  37117. #: guix-git/doc/guix.texi:24893
  37118. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  37119. msgstr ""
  37120. #. type: deftypevr
  37121. #: guix-git/doc/guix.texi:24896
  37122. #, no-wrap
  37123. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  37124. msgstr ""
  37125. #. type: deftypevr
  37126. #: guix-git/doc/guix.texi:24901
  37127. 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}."
  37128. msgstr ""
  37129. #. type: deftypevr
  37130. #: guix-git/doc/guix.texi:24906
  37131. #, no-wrap
  37132. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  37133. msgstr ""
  37134. #. type: deftypevr
  37135. #: guix-git/doc/guix.texi:24909
  37136. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  37137. msgstr ""
  37138. #. type: deftypevr
  37139. #: guix-git/doc/guix.texi:24914
  37140. #, no-wrap
  37141. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  37142. msgstr ""
  37143. #. type: deftypevr
  37144. #: guix-git/doc/guix.texi:24917
  37145. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  37146. msgstr ""
  37147. #. type: deftypevr
  37148. #: guix-git/doc/guix.texi:24919
  37149. msgid "Defaults to @samp{18}."
  37150. msgstr ""
  37151. #. type: deftypevr
  37152. #: guix-git/doc/guix.texi:24922
  37153. #, no-wrap
  37154. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  37155. msgstr ""
  37156. #. type: deftypevr
  37157. #: guix-git/doc/guix.texi:24925
  37158. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  37159. msgstr ""
  37160. #. type: deftypevr
  37161. #: guix-git/doc/guix.texi:24930
  37162. #, no-wrap
  37163. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  37164. msgstr ""
  37165. #. type: deftypevr
  37166. #: guix-git/doc/guix.texi:24935
  37167. 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."
  37168. msgstr ""
  37169. #. type: deftypevr
  37170. #: guix-git/doc/guix.texi:24937
  37171. msgid "Defaults to @samp{fast}."
  37172. msgstr ""
  37173. #. type: deftypevr
  37174. #: guix-git/doc/guix.texi:24940
  37175. #, no-wrap
  37176. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  37177. msgstr ""
  37178. #. type: deftypevr
  37179. #: guix-git/doc/guix.texi:24945
  37180. 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})."
  37181. msgstr ""
  37182. #. type: deftypevr
  37183. #: guix-git/doc/guix.texi:24950
  37184. #, no-wrap
  37185. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  37186. msgstr ""
  37187. #. type: deftypevr
  37188. #: guix-git/doc/guix.texi:24953
  37189. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  37190. msgstr ""
  37191. #. type: deftypevr
  37192. #: guix-git/doc/guix.texi:24958
  37193. #, no-wrap
  37194. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  37195. msgstr ""
  37196. #. type: deftypevr
  37197. #: guix-git/doc/guix.texi:24962
  37198. 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?})."
  37199. msgstr ""
  37200. #. type: deftypevr
  37201. #: guix-git/doc/guix.texi:24967
  37202. #, no-wrap
  37203. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  37204. msgstr ""
  37205. #. type: deftypevr
  37206. #: guix-git/doc/guix.texi:24970
  37207. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  37208. msgstr ""
  37209. #. type: deftypevr
  37210. #: guix-git/doc/guix.texi:24975
  37211. #, no-wrap
  37212. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  37213. msgstr ""
  37214. #. type: deftypevr
  37215. #: guix-git/doc/guix.texi:24977
  37216. msgid "The default global-maximum download speed, in kilobytes per second."
  37217. msgstr ""
  37218. #. type: deftypevr
  37219. #: guix-git/doc/guix.texi:24982
  37220. #, no-wrap
  37221. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  37222. msgstr ""
  37223. #. type: deftypevr
  37224. #: guix-git/doc/guix.texi:24985
  37225. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  37226. msgstr ""
  37227. #. type: deftypevr
  37228. #: guix-git/doc/guix.texi:24990
  37229. #, no-wrap
  37230. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  37231. msgstr ""
  37232. #. type: deftypevr
  37233. #: guix-git/doc/guix.texi:24992
  37234. msgid "The default global-maximum upload speed, in kilobytes per second."
  37235. msgstr ""
  37236. #. type: deftypevr
  37237. #: guix-git/doc/guix.texi:24997
  37238. #, no-wrap
  37239. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  37240. msgstr ""
  37241. #. type: deftypevr
  37242. #: guix-git/doc/guix.texi:25003
  37243. 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?}."
  37244. msgstr ""
  37245. #. type: deftypevr
  37246. #: guix-git/doc/guix.texi:25008
  37247. #, no-wrap
  37248. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  37249. msgstr ""
  37250. #. type: deftypevr
  37251. #: guix-git/doc/guix.texi:25010
  37252. msgid "The alternate global-maximum download speed, in kilobytes per second."
  37253. msgstr ""
  37254. #. type: deftypevr
  37255. #: guix-git/doc/guix.texi:25012 guix-git/doc/guix.texi:25019
  37256. #: guix-git/doc/guix.texi:25191 guix-git/doc/guix.texi:32573
  37257. #: guix-git/doc/guix.texi:32588
  37258. msgid "Defaults to @samp{50}."
  37259. msgstr ""
  37260. #. type: deftypevr
  37261. #: guix-git/doc/guix.texi:25015
  37262. #, no-wrap
  37263. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  37264. msgstr ""
  37265. #. type: deftypevr
  37266. #: guix-git/doc/guix.texi:25017
  37267. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  37268. msgstr ""
  37269. #. type: deftypevr
  37270. #: guix-git/doc/guix.texi:25022
  37271. #, no-wrap
  37272. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  37273. msgstr ""
  37274. #. type: deftypevr
  37275. #: guix-git/doc/guix.texi:25027
  37276. 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}."
  37277. msgstr ""
  37278. #. type: deftypevr
  37279. #: guix-git/doc/guix.texi:25032
  37280. #, no-wrap
  37281. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  37282. msgstr ""
  37283. #. type: deftypevr
  37284. #: guix-git/doc/guix.texi:25037
  37285. 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}."
  37286. msgstr ""
  37287. #. type: deftypevr
  37288. #: guix-git/doc/guix.texi:25039
  37289. msgid "Defaults to @samp{all}."
  37290. msgstr ""
  37291. #. type: deftypevr
  37292. #: guix-git/doc/guix.texi:25042
  37293. #, no-wrap
  37294. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  37295. msgstr ""
  37296. #. type: deftypevr
  37297. #: guix-git/doc/guix.texi:25045
  37298. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  37299. msgstr ""
  37300. #. type: deftypevr
  37301. #: guix-git/doc/guix.texi:25047
  37302. msgid "Defaults to @samp{540}."
  37303. msgstr ""
  37304. #. type: deftypevr
  37305. #: guix-git/doc/guix.texi:25050
  37306. #, no-wrap
  37307. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  37308. msgstr ""
  37309. #. type: deftypevr
  37310. #: guix-git/doc/guix.texi:25053
  37311. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  37312. msgstr ""
  37313. #. type: deftypevr
  37314. #: guix-git/doc/guix.texi:25055
  37315. msgid "Defaults to @samp{1020}."
  37316. msgstr ""
  37317. #. type: deftypevr
  37318. #: guix-git/doc/guix.texi:25058
  37319. #, no-wrap
  37320. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  37321. msgstr ""
  37322. #. type: deftypevr
  37323. #: guix-git/doc/guix.texi:25061
  37324. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  37325. msgstr ""
  37326. #. type: deftypevr
  37327. #: guix-git/doc/guix.texi:25063 guix-git/doc/guix.texi:25366
  37328. #: guix-git/doc/guix.texi:30430
  37329. msgid "Defaults to @samp{\"0.0.0.0\"}."
  37330. msgstr ""
  37331. #. type: deftypevr
  37332. #: guix-git/doc/guix.texi:25066
  37333. #, no-wrap
  37334. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  37335. msgstr ""
  37336. #. type: deftypevr
  37337. #: guix-git/doc/guix.texi:25069
  37338. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  37339. msgstr ""
  37340. #. type: deftypevr
  37341. #: guix-git/doc/guix.texi:25071
  37342. msgid "Defaults to @samp{\"::\"}."
  37343. msgstr ""
  37344. #. type: deftypevr
  37345. #: guix-git/doc/guix.texi:25074
  37346. #, no-wrap
  37347. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  37348. msgstr ""
  37349. #. type: deftypevr
  37350. #: guix-git/doc/guix.texi:25080
  37351. 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}."
  37352. msgstr ""
  37353. #. type: deftypevr
  37354. #: guix-git/doc/guix.texi:25085
  37355. #, no-wrap
  37356. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  37357. msgstr ""
  37358. #. type: deftypevr
  37359. #: guix-git/doc/guix.texi:25088
  37360. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  37361. msgstr ""
  37362. #. type: deftypevr
  37363. #: guix-git/doc/guix.texi:25090
  37364. msgid "Defaults to @samp{49152}."
  37365. msgstr ""
  37366. #. type: deftypevr
  37367. #: guix-git/doc/guix.texi:25093
  37368. #, no-wrap
  37369. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  37370. msgstr ""
  37371. #. type: deftypevr
  37372. #: guix-git/doc/guix.texi:25096
  37373. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  37374. msgstr ""
  37375. #. type: deftypevr
  37376. #: guix-git/doc/guix.texi:25098
  37377. msgid "Defaults to @samp{65535}."
  37378. msgstr ""
  37379. #. type: deftypevr
  37380. #: guix-git/doc/guix.texi:25101
  37381. #, no-wrap
  37382. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  37383. msgstr ""
  37384. #. type: deftypevr
  37385. #: guix-git/doc/guix.texi:25104
  37386. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  37387. msgstr ""
  37388. #. type: deftypevr
  37389. #: guix-git/doc/guix.texi:25106
  37390. msgid "Defaults to @samp{51413}."
  37391. msgstr ""
  37392. #. type: deftypevr
  37393. #: guix-git/doc/guix.texi:25109
  37394. #, no-wrap
  37395. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  37396. msgstr ""
  37397. #. type: deftypevr
  37398. #: guix-git/doc/guix.texi:25113
  37399. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  37400. msgstr ""
  37401. #. type: deftypevr
  37402. #: guix-git/doc/guix.texi:25118
  37403. #, no-wrap
  37404. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  37405. msgstr ""
  37406. #. type: deftypevr
  37407. #: guix-git/doc/guix.texi:25123
  37408. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  37409. msgstr ""
  37410. #. type: deftypevr
  37411. #: guix-git/doc/guix.texi:25125
  37412. msgid "Defaults to @samp{prefer-encrypted-connections}."
  37413. msgstr ""
  37414. #. type: deftypevr
  37415. #: guix-git/doc/guix.texi:25128
  37416. #, no-wrap
  37417. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  37418. msgstr ""
  37419. #. type: deftypevr
  37420. #: guix-git/doc/guix.texi:25133
  37421. 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} (or set to @code{disabled}, in which case the operating-system default is used)."
  37422. msgstr ""
  37423. #. type: deftypevr
  37424. #: guix-git/doc/guix.texi:25142
  37425. 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."
  37426. msgstr ""
  37427. #. type: deftypevr
  37428. #: guix-git/doc/guix.texi:25150
  37429. 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:"
  37430. msgstr ""
  37431. #. type: lisp
  37432. #: guix-git/doc/guix.texi:25157
  37433. #, no-wrap
  37434. msgid ""
  37435. "(service sysctl-service-type\n"
  37436. " (sysctl-configuration\n"
  37437. " (settings\n"
  37438. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  37439. " \"reno cubic lp\"))))\n"
  37440. msgstr ""
  37441. #. type: deftypevr
  37442. #: guix-git/doc/guix.texi:25160
  37443. msgid "The Transmission Daemon configuration can then be updated with"
  37444. msgstr ""
  37445. #. type: lisp
  37446. #: guix-git/doc/guix.texi:25163
  37447. #, no-wrap
  37448. msgid "(peer-congestion-algorithm \"lp\")\n"
  37449. msgstr ""
  37450. #. type: deftypevr
  37451. #: guix-git/doc/guix.texi:25166
  37452. msgid "and the system reconfigured to have the changes take effect."
  37453. msgstr ""
  37454. #. type: deftypevr
  37455. #: guix-git/doc/guix.texi:25171
  37456. #, no-wrap
  37457. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  37458. msgstr ""
  37459. #. type: deftypevr
  37460. #: guix-git/doc/guix.texi:25175
  37461. 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}."
  37462. msgstr ""
  37463. #. type: deftypevr
  37464. #: guix-git/doc/guix.texi:25177
  37465. msgid "Defaults to @samp{default}."
  37466. msgstr ""
  37467. #. type: deftypevr
  37468. #: guix-git/doc/guix.texi:25180
  37469. #, no-wrap
  37470. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  37471. msgstr ""
  37472. #. type: deftypevr
  37473. #: guix-git/doc/guix.texi:25182
  37474. msgid "The global limit on the number of connected peers."
  37475. msgstr ""
  37476. #. type: deftypevr
  37477. #: guix-git/doc/guix.texi:25184
  37478. msgid "Defaults to @samp{200}."
  37479. msgstr ""
  37480. #. type: deftypevr
  37481. #: guix-git/doc/guix.texi:25187
  37482. #, no-wrap
  37483. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  37484. msgstr ""
  37485. #. type: deftypevr
  37486. #: guix-git/doc/guix.texi:25189
  37487. msgid "The per-torrent limit on the number of connected peers."
  37488. msgstr ""
  37489. #. type: deftypevr
  37490. #: guix-git/doc/guix.texi:25194
  37491. #, no-wrap
  37492. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  37493. msgstr ""
  37494. #. type: deftypevr
  37495. #: guix-git/doc/guix.texi:25197
  37496. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  37497. msgstr ""
  37498. #. type: deftypevr
  37499. #: guix-git/doc/guix.texi:25199
  37500. msgid "Defaults to @samp{14}."
  37501. msgstr ""
  37502. #. type: deftypevr
  37503. #: guix-git/doc/guix.texi:25202
  37504. #, no-wrap
  37505. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  37506. msgstr ""
  37507. #. type: deftypevr
  37508. #: guix-git/doc/guix.texi:25205
  37509. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  37510. msgstr ""
  37511. #. type: deftypevr
  37512. #: guix-git/doc/guix.texi:25207
  37513. msgid "Defaults to @samp{6}."
  37514. msgstr ""
  37515. #. type: deftypevr
  37516. #: guix-git/doc/guix.texi:25210
  37517. #, no-wrap
  37518. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  37519. msgstr ""
  37520. #. type: deftypevr
  37521. #: guix-git/doc/guix.texi:25213
  37522. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  37523. msgstr ""
  37524. #. type: deftypevr
  37525. #: guix-git/doc/guix.texi:25218
  37526. #, no-wrap
  37527. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  37528. msgstr ""
  37529. #. type: deftypevr
  37530. #: guix-git/doc/guix.texi:25222
  37531. 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}."
  37532. msgstr ""
  37533. #. type: deftypevr
  37534. #: guix-git/doc/guix.texi:25227
  37535. #, no-wrap
  37536. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  37537. msgstr ""
  37538. #. type: deftypevr
  37539. #: guix-git/doc/guix.texi:25230
  37540. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  37541. msgstr ""
  37542. #. type: deftypevr
  37543. #: guix-git/doc/guix.texi:25235
  37544. #, no-wrap
  37545. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  37546. msgstr ""
  37547. #. type: deftypevr
  37548. #: guix-git/doc/guix.texi:25239
  37549. 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}."
  37550. msgstr ""
  37551. #. type: deftypevr
  37552. #: guix-git/doc/guix.texi:25244
  37553. #, no-wrap
  37554. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  37555. msgstr ""
  37556. #. type: deftypevr
  37557. #: guix-git/doc/guix.texi:25247
  37558. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  37559. msgstr ""
  37560. #. type: deftypevr
  37561. #: guix-git/doc/guix.texi:25252
  37562. #, no-wrap
  37563. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  37564. msgstr ""
  37565. #. type: deftypevr
  37566. #: guix-git/doc/guix.texi:25256
  37567. 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}."
  37568. msgstr ""
  37569. #. type: deftypevr
  37570. #: guix-git/doc/guix.texi:25261
  37571. #, no-wrap
  37572. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  37573. msgstr ""
  37574. #. type: deftypevr
  37575. #: guix-git/doc/guix.texi:25266
  37576. 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."
  37577. msgstr ""
  37578. #. type: deftypevr
  37579. #: guix-git/doc/guix.texi:25271
  37580. #, no-wrap
  37581. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  37582. msgstr ""
  37583. #. type: deftypevr
  37584. #: guix-git/doc/guix.texi:25275
  37585. 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}."
  37586. msgstr ""
  37587. #. type: deftypevr
  37588. #: guix-git/doc/guix.texi:25280
  37589. #, no-wrap
  37590. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  37591. msgstr ""
  37592. #. type: deftypevr
  37593. #: guix-git/doc/guix.texi:25283
  37594. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  37595. msgstr ""
  37596. #. type: deftypevr
  37597. #: guix-git/doc/guix.texi:25288
  37598. #, no-wrap
  37599. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  37600. msgstr ""
  37601. #. type: deftypevr
  37602. #: guix-git/doc/guix.texi:25291
  37603. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  37604. msgstr ""
  37605. #. type: deftypevr
  37606. #: guix-git/doc/guix.texi:25293
  37607. msgid "Defaults to @samp{2.0}."
  37608. msgstr ""
  37609. #. type: deftypevr
  37610. #: guix-git/doc/guix.texi:25296
  37611. #, no-wrap
  37612. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  37613. msgstr ""
  37614. #. type: deftypevr
  37615. #: guix-git/doc/guix.texi:25299
  37616. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  37617. msgstr ""
  37618. #. type: deftypevr
  37619. #: guix-git/doc/guix.texi:25304
  37620. #, no-wrap
  37621. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  37622. msgstr ""
  37623. #. type: deftypevr
  37624. #: guix-git/doc/guix.texi:25308
  37625. 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}."
  37626. msgstr ""
  37627. #. type: deftypevr
  37628. #: guix-git/doc/guix.texi:25313
  37629. #, no-wrap
  37630. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  37631. msgstr ""
  37632. #. type: deftypevr
  37633. #: guix-git/doc/guix.texi:25317
  37634. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  37635. msgstr ""
  37636. #. type: deftypevr
  37637. #: guix-git/doc/guix.texi:25322
  37638. #, no-wrap
  37639. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  37640. msgstr ""
  37641. #. type: deftypevr
  37642. #: guix-git/doc/guix.texi:25327
  37643. 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."
  37644. msgstr ""
  37645. #. type: deftypevr
  37646. #: guix-git/doc/guix.texi:25332
  37647. #, no-wrap
  37648. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  37649. msgstr ""
  37650. #. type: deftypevr
  37651. #: guix-git/doc/guix.texi:25336
  37652. 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."
  37653. msgstr ""
  37654. #. type: deftypevr
  37655. #: guix-git/doc/guix.texi:25341
  37656. #, no-wrap
  37657. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  37658. msgstr ""
  37659. #. type: deftypevr
  37660. #: guix-git/doc/guix.texi:25346
  37661. 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."
  37662. msgstr ""
  37663. #. type: deftypevr
  37664. #: guix-git/doc/guix.texi:25351
  37665. #, no-wrap
  37666. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  37667. msgstr ""
  37668. #. type: deftypevr
  37669. #: guix-git/doc/guix.texi:25356
  37670. 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."
  37671. msgstr ""
  37672. #. type: deftypevr
  37673. #: guix-git/doc/guix.texi:25361
  37674. #, no-wrap
  37675. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  37676. msgstr ""
  37677. #. type: deftypevr
  37678. #: guix-git/doc/guix.texi:25364
  37679. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  37680. msgstr ""
  37681. #. type: deftypevr
  37682. #: guix-git/doc/guix.texi:25369
  37683. #, no-wrap
  37684. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  37685. msgstr ""
  37686. #. type: deftypevr
  37687. #: guix-git/doc/guix.texi:25371
  37688. msgid "The port on which to listen for @acronym{RPC} connections."
  37689. msgstr ""
  37690. #. type: deftypevr
  37691. #: guix-git/doc/guix.texi:25373
  37692. msgid "Defaults to @samp{9091}."
  37693. msgstr ""
  37694. #. type: deftypevr
  37695. #: guix-git/doc/guix.texi:25376
  37696. #, no-wrap
  37697. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  37698. msgstr ""
  37699. #. type: deftypevr
  37700. #: guix-git/doc/guix.texi:25378
  37701. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  37702. msgstr ""
  37703. #. type: deftypevr
  37704. #: guix-git/doc/guix.texi:25380
  37705. msgid "Defaults to @samp{\"/transmission/\"}."
  37706. msgstr ""
  37707. #. type: deftypevr
  37708. #: guix-git/doc/guix.texi:25383
  37709. #, no-wrap
  37710. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  37711. msgstr ""
  37712. #. type: deftypevr
  37713. #: guix-git/doc/guix.texi:25388
  37714. 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?}."
  37715. msgstr ""
  37716. #. type: deftypevr
  37717. #: guix-git/doc/guix.texi:25393
  37718. #, no-wrap
  37719. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  37720. msgstr ""
  37721. #. type: deftypevr
  37722. #: guix-git/doc/guix.texi:25396
  37723. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  37724. msgstr ""
  37725. #. type: deftypevr
  37726. #: guix-git/doc/guix.texi:25401
  37727. #, no-wrap
  37728. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  37729. msgstr ""
  37730. #. type: deftypevr
  37731. #: guix-git/doc/guix.texi:25407
  37732. 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."
  37733. msgstr ""
  37734. #. type: deftypevr
  37735. #: guix-git/doc/guix.texi:25412
  37736. #, no-wrap
  37737. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  37738. msgstr ""
  37739. #. type: deftypevr
  37740. #: guix-git/doc/guix.texi:25415
  37741. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  37742. msgstr ""
  37743. #. type: deftypevr
  37744. #: guix-git/doc/guix.texi:25420
  37745. #, no-wrap
  37746. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  37747. msgstr ""
  37748. #. type: deftypevr
  37749. #: guix-git/doc/guix.texi:25424
  37750. 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{*}."
  37751. msgstr ""
  37752. #. type: deftypevr
  37753. #: guix-git/doc/guix.texi:25426
  37754. msgid "Defaults to @samp{(\"127.0.0.1\" \"::1\")}."
  37755. msgstr ""
  37756. #. type: deftypevr
  37757. #: guix-git/doc/guix.texi:25429
  37758. #, no-wrap
  37759. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  37760. msgstr ""
  37761. #. type: deftypevr
  37762. #: guix-git/doc/guix.texi:25434
  37763. 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."
  37764. msgstr ""
  37765. #. type: deftypevr
  37766. #: guix-git/doc/guix.texi:25437
  37767. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  37768. msgstr ""
  37769. #. type: deftypevr
  37770. #: guix-git/doc/guix.texi:25442
  37771. #, no-wrap
  37772. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  37773. msgstr ""
  37774. #. type: deftypevr
  37775. #: guix-git/doc/guix.texi:25445
  37776. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  37777. msgstr ""
  37778. #. type: deftypevr
  37779. #: guix-git/doc/guix.texi:25450
  37780. #, no-wrap
  37781. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  37782. msgstr ""
  37783. #. type: deftypevr
  37784. #: guix-git/doc/guix.texi:25454
  37785. 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}."
  37786. msgstr ""
  37787. #. type: deftypevr
  37788. #: guix-git/doc/guix.texi:25459
  37789. #, no-wrap
  37790. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  37791. msgstr ""
  37792. #. type: deftypevr
  37793. #: guix-git/doc/guix.texi:25462
  37794. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  37795. msgstr ""
  37796. #. type: deftypevr
  37797. #: guix-git/doc/guix.texi:25467
  37798. #, no-wrap
  37799. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  37800. msgstr ""
  37801. #. type: deftypevr
  37802. #: guix-git/doc/guix.texi:25471
  37803. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  37804. msgstr ""
  37805. #. type: deftypevr
  37806. #: guix-git/doc/guix.texi:25476
  37807. #, no-wrap
  37808. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  37809. msgstr ""
  37810. #. type: deftypevr
  37811. #: guix-git/doc/guix.texi:25480
  37812. 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}."
  37813. msgstr ""
  37814. #. type: deftypevr
  37815. #: guix-git/doc/guix.texi:25485
  37816. #, no-wrap
  37817. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  37818. msgstr ""
  37819. #. type: deftypevr
  37820. #: guix-git/doc/guix.texi:25488
  37821. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  37822. msgstr ""
  37823. #. type: deftypevr
  37824. #: guix-git/doc/guix.texi:25493
  37825. #, no-wrap
  37826. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  37827. msgstr ""
  37828. #. type: deftypevr
  37829. #: guix-git/doc/guix.texi:25497
  37830. 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."
  37831. msgstr ""
  37832. #. type: deftypevr
  37833. #: guix-git/doc/guix.texi:25499
  37834. msgid "Defaults to @samp{4}."
  37835. msgstr ""
  37836. #. type: deftypevr
  37837. #: guix-git/doc/guix.texi:25502
  37838. #, no-wrap
  37839. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  37840. msgstr ""
  37841. #. type: deftypevr
  37842. #: guix-git/doc/guix.texi:25506
  37843. 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."
  37844. msgstr ""
  37845. #. type: subsubheading
  37846. #: guix-git/doc/guix.texi:25519
  37847. #, no-wrap
  37848. msgid "Tailon Service"
  37849. msgstr ""
  37850. #. type: Plain text
  37851. #: guix-git/doc/guix.texi:25523
  37852. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  37853. msgstr ""
  37854. #. type: Plain text
  37855. #: guix-git/doc/guix.texi:25526
  37856. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  37857. msgstr ""
  37858. #. type: lisp
  37859. #: guix-git/doc/guix.texi:25529
  37860. #, no-wrap
  37861. msgid "(service tailon-service-type)\n"
  37862. msgstr ""
  37863. #. type: Plain text
  37864. #: guix-git/doc/guix.texi:25533
  37865. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  37866. msgstr ""
  37867. #. type: lisp
  37868. #: guix-git/doc/guix.texi:25540
  37869. #, no-wrap
  37870. msgid ""
  37871. "(service tailon-service-type\n"
  37872. " (tailon-configuration\n"
  37873. " (config-file\n"
  37874. " (tailon-configuration-file\n"
  37875. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  37876. msgstr ""
  37877. #. type: deftp
  37878. #: guix-git/doc/guix.texi:25543
  37879. #, no-wrap
  37880. msgid "{Data Type} tailon-configuration"
  37881. msgstr ""
  37882. #. type: deftp
  37883. #: guix-git/doc/guix.texi:25546
  37884. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  37885. msgstr ""
  37886. #. type: item
  37887. #: guix-git/doc/guix.texi:25548
  37888. #, no-wrap
  37889. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  37890. msgstr ""
  37891. #. type: table
  37892. #: guix-git/doc/guix.texi:25552
  37893. 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})."
  37894. msgstr ""
  37895. #. type: table
  37896. #: guix-git/doc/guix.texi:25555
  37897. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  37898. msgstr ""
  37899. #. type: lisp
  37900. #: guix-git/doc/guix.texi:25560
  37901. #, no-wrap
  37902. msgid ""
  37903. "(service tailon-service-type\n"
  37904. " (tailon-configuration\n"
  37905. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  37906. msgstr ""
  37907. #. type: item
  37908. #: guix-git/doc/guix.texi:25562
  37909. #, no-wrap
  37910. msgid "@code{package} (default: @code{tailon})"
  37911. msgstr ""
  37912. #. type: table
  37913. #: guix-git/doc/guix.texi:25564
  37914. msgid "The tailon package to use."
  37915. msgstr ""
  37916. #. type: deftp
  37917. #: guix-git/doc/guix.texi:25568
  37918. #, no-wrap
  37919. msgid "{Data Type} tailon-configuration-file"
  37920. msgstr ""
  37921. #. type: deftp
  37922. #: guix-git/doc/guix.texi:25571
  37923. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  37924. msgstr ""
  37925. #. type: item
  37926. #: guix-git/doc/guix.texi:25573
  37927. #, no-wrap
  37928. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  37929. msgstr ""
  37930. #. type: table
  37931. #: guix-git/doc/guix.texi:25578
  37932. 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."
  37933. msgstr ""
  37934. #. type: item
  37935. #: guix-git/doc/guix.texi:25579
  37936. #, no-wrap
  37937. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  37938. msgstr ""
  37939. #. type: table
  37940. #: guix-git/doc/guix.texi:25581
  37941. msgid "Address and port to which Tailon should bind on."
  37942. msgstr ""
  37943. #. type: item
  37944. #: guix-git/doc/guix.texi:25582
  37945. #, no-wrap
  37946. msgid "@code{relative-root} (default: @code{#f})"
  37947. msgstr ""
  37948. #. type: table
  37949. #: guix-git/doc/guix.texi:25584
  37950. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  37951. msgstr ""
  37952. #. type: item
  37953. #: guix-git/doc/guix.texi:25585
  37954. #, no-wrap
  37955. msgid "@code{allow-transfers?} (default: @code{#t})"
  37956. msgstr ""
  37957. #. type: table
  37958. #: guix-git/doc/guix.texi:25587
  37959. msgid "Allow downloading the log files in the web interface."
  37960. msgstr ""
  37961. #. type: item
  37962. #: guix-git/doc/guix.texi:25588
  37963. #, no-wrap
  37964. msgid "@code{follow-names?} (default: @code{#t})"
  37965. msgstr ""
  37966. #. type: table
  37967. #: guix-git/doc/guix.texi:25590
  37968. msgid "Allow tailing of not-yet existent files."
  37969. msgstr ""
  37970. #. type: item
  37971. #: guix-git/doc/guix.texi:25591
  37972. #, no-wrap
  37973. msgid "@code{tail-lines} (default: @code{200})"
  37974. msgstr ""
  37975. #. type: table
  37976. #: guix-git/doc/guix.texi:25593
  37977. msgid "Number of lines to read initially from each file."
  37978. msgstr ""
  37979. #. type: item
  37980. #: guix-git/doc/guix.texi:25594
  37981. #, no-wrap
  37982. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  37983. msgstr ""
  37984. #. type: table
  37985. #: guix-git/doc/guix.texi:25596
  37986. msgid "Commands to allow running. By default, @code{sed} is disabled."
  37987. msgstr ""
  37988. #. type: table
  37989. #: guix-git/doc/guix.texi:25599
  37990. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  37991. msgstr ""
  37992. #. type: item
  37993. #: guix-git/doc/guix.texi:25600
  37994. #, no-wrap
  37995. msgid "@code{wrap-lines} (default: @code{#t})"
  37996. msgstr ""
  37997. #. type: table
  37998. #: guix-git/doc/guix.texi:25604
  37999. 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."
  38000. msgstr ""
  38001. #. type: item
  38002. #: guix-git/doc/guix.texi:25605
  38003. #, no-wrap
  38004. msgid "@code{http-auth} (default: @code{#f})"
  38005. msgstr ""
  38006. #. type: table
  38007. #: guix-git/doc/guix.texi:25609
  38008. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  38009. msgstr ""
  38010. #. type: item
  38011. #: guix-git/doc/guix.texi:25610
  38012. #, no-wrap
  38013. msgid "@code{users} (default: @code{#f})"
  38014. msgstr "@code{users} (default: @code{#f})"
  38015. #. type: table
  38016. #: guix-git/doc/guix.texi:25615
  38017. 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."
  38018. msgstr ""
  38019. #. type: lisp
  38020. #: guix-git/doc/guix.texi:25621
  38021. #, no-wrap
  38022. msgid ""
  38023. "(tailon-configuration-file\n"
  38024. " (http-auth \"basic\")\n"
  38025. " (users '((\"user1\" . \"password1\")\n"
  38026. " (\"user2\" . \"password2\"))))\n"
  38027. msgstr ""
  38028. #. type: subsubheading
  38029. #: guix-git/doc/guix.texi:25627
  38030. #, no-wrap
  38031. msgid "Darkstat Service"
  38032. msgstr ""
  38033. #. type: cindex
  38034. #: guix-git/doc/guix.texi:25628
  38035. #, no-wrap
  38036. msgid "darkstat"
  38037. msgstr ""
  38038. #. type: Plain text
  38039. #: guix-git/doc/guix.texi:25631
  38040. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  38041. msgstr ""
  38042. #. type: defvar
  38043. #: guix-git/doc/guix.texi:25632
  38044. #, no-wrap
  38045. msgid "{Scheme Variable} darkstat-service-type"
  38046. msgstr ""
  38047. #. type: defvar
  38048. #: guix-git/doc/guix.texi:25637
  38049. 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:"
  38050. msgstr ""
  38051. #. type: lisp
  38052. #: guix-git/doc/guix.texi:25642
  38053. #, no-wrap
  38054. msgid ""
  38055. "(service darkstat-service-type\n"
  38056. " (darkstat-configuration\n"
  38057. " (interface \"eno1\")))\n"
  38058. msgstr ""
  38059. #. type: deftp
  38060. #: guix-git/doc/guix.texi:25645
  38061. #, no-wrap
  38062. msgid "{Data Type} darkstat-configuration"
  38063. msgstr ""
  38064. #. type: deftp
  38065. #: guix-git/doc/guix.texi:25647
  38066. msgid "Data type representing the configuration of @command{darkstat}."
  38067. msgstr ""
  38068. #. type: item
  38069. #: guix-git/doc/guix.texi:25649
  38070. #, no-wrap
  38071. msgid "@code{package} (default: @code{darkstat})"
  38072. msgstr ""
  38073. #. type: table
  38074. #: guix-git/doc/guix.texi:25651
  38075. msgid "The darkstat package to use."
  38076. msgstr ""
  38077. #. type: code{#1}
  38078. #: guix-git/doc/guix.texi:25652
  38079. #, no-wrap
  38080. msgid "interface"
  38081. msgstr ""
  38082. #. type: table
  38083. #: guix-git/doc/guix.texi:25654
  38084. msgid "Capture traffic on the specified network interface."
  38085. msgstr ""
  38086. #. type: item
  38087. #: guix-git/doc/guix.texi:25655
  38088. #, no-wrap
  38089. msgid "@code{port} (default: @code{\"667\"})"
  38090. msgstr "@code{porta} (default: @code{\"667\"})"
  38091. #. type: table
  38092. #: guix-git/doc/guix.texi:25657
  38093. msgid "Bind the web interface to the specified port."
  38094. msgstr ""
  38095. #. type: table
  38096. #: guix-git/doc/guix.texi:25660 guix-git/doc/guix.texi:25696
  38097. msgid "Bind the web interface to the specified address."
  38098. msgstr ""
  38099. #. type: item
  38100. #: guix-git/doc/guix.texi:25661
  38101. #, no-wrap
  38102. msgid "@code{base} (default: @code{\"/\"})"
  38103. msgstr ""
  38104. #. type: table
  38105. #: guix-git/doc/guix.texi:25664
  38106. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  38107. msgstr ""
  38108. #. type: cindex
  38109. #: guix-git/doc/guix.texi:25669 guix-git/doc/guix.texi:25670
  38110. #, no-wrap
  38111. msgid "prometheus-node-exporter"
  38112. msgstr ""
  38113. #. type: subsubheading
  38114. #: guix-git/doc/guix.texi:25669
  38115. #, no-wrap
  38116. msgid "Prometheus Node Exporter Service"
  38117. msgstr ""
  38118. #. type: Plain text
  38119. #: guix-git/doc/guix.texi:25676
  38120. 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."
  38121. msgstr ""
  38122. #. type: defvar
  38123. #: guix-git/doc/guix.texi:25677
  38124. #, no-wrap
  38125. msgid "{Scheme variable} prometheus-node-exporter-service-type"
  38126. msgstr ""
  38127. #. type: defvar
  38128. #: guix-git/doc/guix.texi:25681
  38129. 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}."
  38130. msgstr ""
  38131. #. type: lisp
  38132. #: guix-git/doc/guix.texi:25684
  38133. #, no-wrap
  38134. msgid "(service prometheus-node-exporter-service-type)\n"
  38135. msgstr ""
  38136. #. type: deftp
  38137. #: guix-git/doc/guix.texi:25687
  38138. #, no-wrap
  38139. msgid "{Data Type} prometheus-node-exporter-configuration"
  38140. msgstr ""
  38141. #. type: deftp
  38142. #: guix-git/doc/guix.texi:25689
  38143. msgid "Data type representing the configuration of @command{node_exporter}."
  38144. msgstr ""
  38145. #. type: item
  38146. #: guix-git/doc/guix.texi:25691
  38147. #, no-wrap
  38148. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  38149. msgstr ""
  38150. #. type: table
  38151. #: guix-git/doc/guix.texi:25693
  38152. msgid "The prometheus-node-exporter package to use."
  38153. msgstr ""
  38154. #. type: item
  38155. #: guix-git/doc/guix.texi:25694
  38156. #, no-wrap
  38157. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  38158. msgstr ""
  38159. #. type: item
  38160. #: guix-git/doc/guix.texi:25697
  38161. #, no-wrap
  38162. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  38163. msgstr ""
  38164. #. type: table
  38165. #: guix-git/doc/guix.texi:25701
  38166. 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."
  38167. msgstr ""
  38168. #. type: table
  38169. #: guix-git/doc/guix.texi:25704
  38170. msgid "Extra options to pass to the Prometheus node exporter."
  38171. msgstr ""
  38172. #. type: subsubheading
  38173. #: guix-git/doc/guix.texi:25708
  38174. #, no-wrap
  38175. msgid "Zabbix server"
  38176. msgstr ""
  38177. #. type: cindex
  38178. #: guix-git/doc/guix.texi:25709
  38179. #, no-wrap
  38180. msgid "zabbix zabbix-server"
  38181. msgstr ""
  38182. #. type: Plain text
  38183. #: guix-git/doc/guix.texi:25714
  38184. 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."
  38185. msgstr ""
  38186. #. type: Plain text
  38187. #: guix-git/doc/guix.texi:25721
  38188. 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})."
  38189. msgstr ""
  38190. #. type: defvar
  38191. #: guix-git/doc/guix.texi:25722
  38192. #, fuzzy, no-wrap
  38193. msgid "{Scheme variable} zabbix-server-service-type"
  38194. msgstr "guix-publish-service-type"
  38195. #. type: defvar
  38196. #: guix-git/doc/guix.texi:25725
  38197. msgid "This is the service type for the Zabbix server service. Its value must be a @code{zabbix-server-configuration} record, shown below."
  38198. msgstr ""
  38199. #. type: deftp
  38200. #: guix-git/doc/guix.texi:25729
  38201. #, fuzzy, no-wrap
  38202. msgid "{Data Type} zabbix-server-configuration"
  38203. msgstr "build-machine {Data Type}"
  38204. #. type: deftp
  38205. #: guix-git/doc/guix.texi:25731
  38206. msgid "Available @code{zabbix-server-configuration} fields are:"
  38207. msgstr ""
  38208. #. type: item
  38209. #: guix-git/doc/guix.texi:25733 guix-git/doc/guix.texi:25896
  38210. #, fuzzy, no-wrap
  38211. msgid "@code{zabbix-server} (default: @code{zabbix-server}) (type: file-like)"
  38212. msgstr "@code{remote?} (padrão: @code{#f})"
  38213. #. type: table
  38214. #: guix-git/doc/guix.texi:25735
  38215. msgid "The zabbix-server package."
  38216. msgstr ""
  38217. #. type: item
  38218. #: guix-git/doc/guix.texi:25736 guix-git/doc/guix.texi:25822
  38219. #, fuzzy, no-wrap
  38220. #| msgid "@code{dbus?} (default: @code{#t})"
  38221. msgid "@code{user} (default: @code{\"zabbix\"}) (type: string)"
  38222. msgstr "@code{dbus?} (padrão: @code{#t})"
  38223. #. type: table
  38224. #: guix-git/doc/guix.texi:25738
  38225. msgid "User who will run the Zabbix server."
  38226. msgstr ""
  38227. #. type: item
  38228. #: guix-git/doc/guix.texi:25739 guix-git/doc/guix.texi:25825
  38229. #, fuzzy, no-wrap
  38230. #| msgid "@code{dbus?} (default: @code{#t})"
  38231. msgid "@code{group} (default: @code{\"zabbix\"}) (type: group)"
  38232. msgstr "@code{dbus?} (padrão: @code{#t})"
  38233. #. type: table
  38234. #: guix-git/doc/guix.texi:25741
  38235. msgid "Group who will run the Zabbix server."
  38236. msgstr ""
  38237. #. type: item
  38238. #: guix-git/doc/guix.texi:25742
  38239. #, fuzzy, no-wrap
  38240. #| msgid "@code{dbus?} (default: @code{#t})"
  38241. msgid "@code{db-host} (default: @code{\"127.0.0.1\"}) (type: string)"
  38242. msgstr "@code{dbus?} (padrão: @code{#t})"
  38243. #. type: table
  38244. #: guix-git/doc/guix.texi:25744 guix-git/doc/guix.texi:25906
  38245. msgid "Database host name."
  38246. msgstr ""
  38247. #. type: item
  38248. #: guix-git/doc/guix.texi:25745 guix-git/doc/guix.texi:25910
  38249. #, fuzzy, no-wrap
  38250. msgid "@code{db-name} (default: @code{\"zabbix\"}) (type: string)"
  38251. msgstr "@code{remote?} (padrão: @code{#f})"
  38252. #. type: table
  38253. #: guix-git/doc/guix.texi:25747 guix-git/doc/guix.texi:25912
  38254. msgid "Database name."
  38255. msgstr ""
  38256. #. type: item
  38257. #: guix-git/doc/guix.texi:25748 guix-git/doc/guix.texi:25913
  38258. #, fuzzy, no-wrap
  38259. #| msgid "@code{dbus?} (default: @code{#t})"
  38260. msgid "@code{db-user} (default: @code{\"zabbix\"}) (type: string)"
  38261. msgstr "@code{dbus?} (padrão: @code{#t})"
  38262. #. type: table
  38263. #: guix-git/doc/guix.texi:25750 guix-git/doc/guix.texi:25915
  38264. msgid "Database user."
  38265. msgstr ""
  38266. #. type: item
  38267. #: guix-git/doc/guix.texi:25751 guix-git/doc/guix.texi:25916
  38268. #, fuzzy, no-wrap
  38269. #| msgid "@code{dbus?} (default: @code{#t})"
  38270. msgid "@code{db-password} (default: @code{\"\"}) (type: string)"
  38271. msgstr "@code{dbus?} (padrão: @code{#t})"
  38272. #. type: table
  38273. #: guix-git/doc/guix.texi:25754
  38274. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  38275. msgstr ""
  38276. #. type: item
  38277. #: guix-git/doc/guix.texi:25755 guix-git/doc/guix.texi:25907
  38278. #, fuzzy, no-wrap
  38279. #| msgid "@code{debug?} (default: @code{#f})"
  38280. msgid "@code{db-port} (default: @code{5432}) (type: number)"
  38281. msgstr "@code{debug?} (default: @code{#f})"
  38282. #. type: table
  38283. #: guix-git/doc/guix.texi:25757 guix-git/doc/guix.texi:25909
  38284. msgid "Database port."
  38285. msgstr ""
  38286. #. type: item
  38287. #: guix-git/doc/guix.texi:25758 guix-git/doc/guix.texi:25832
  38288. #, fuzzy, no-wrap
  38289. #| msgid "@code{dbus?} (default: @code{#t})"
  38290. msgid "@code{log-type} (default: @code{\"\"}) (type: string)"
  38291. msgstr "@code{dbus?} (padrão: @code{#t})"
  38292. #. type: table
  38293. #: guix-git/doc/guix.texi:25760 guix-git/doc/guix.texi:25834
  38294. msgid "Specifies where log messages are written to:"
  38295. msgstr ""
  38296. #. type: itemize
  38297. #: guix-git/doc/guix.texi:25763 guix-git/doc/guix.texi:25838
  38298. #, no-wrap
  38299. msgid "@code{system} - syslog."
  38300. msgstr ""
  38301. #. type: item
  38302. #: guix-git/doc/guix.texi:25765
  38303. #, no-wrap
  38304. msgid "@code{file} - file specified with @code{log-file} parameter."
  38305. msgstr ""
  38306. #. type: item
  38307. #: guix-git/doc/guix.texi:25767 guix-git/doc/guix.texi:25842
  38308. #, no-wrap
  38309. msgid "@code{console} - standard output."
  38310. msgstr ""
  38311. #. type: item
  38312. #: guix-git/doc/guix.texi:25771
  38313. #, fuzzy, no-wrap
  38314. msgid "@code{log-file} (default: @code{\"/var/log/zabbix/server.log\"}) (type: string)"
  38315. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  38316. #. type: table
  38317. #: guix-git/doc/guix.texi:25773 guix-git/doc/guix.texi:25848
  38318. msgid "Log file name for @code{log-type} @code{file} parameter."
  38319. msgstr ""
  38320. #. type: item
  38321. #: guix-git/doc/guix.texi:25774
  38322. #, fuzzy, no-wrap
  38323. msgid "@code{pid-file} (default: @code{\"/var/run/zabbix/zabbix_server.pid\"}) (type: string)"
  38324. msgstr "@code{remote?} (padrão: @code{#f})"
  38325. #. type: table
  38326. #: guix-git/doc/guix.texi:25776 guix-git/doc/guix.texi:25851
  38327. msgid "Name of PID file."
  38328. msgstr ""
  38329. #. type: item
  38330. #: guix-git/doc/guix.texi:25777
  38331. #, fuzzy, no-wrap
  38332. #| msgid "@code{dbus?} (default: @code{#t})"
  38333. msgid "@code{ssl-ca-location} (default: @code{\"/etc/ssl/certs/ca-certificates.crt\"}) (type: string)"
  38334. msgstr "@code{dbus?} (padrão: @code{#t})"
  38335. #. type: table
  38336. #: guix-git/doc/guix.texi:25780
  38337. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  38338. msgstr ""
  38339. #. type: item
  38340. #: guix-git/doc/guix.texi:25781
  38341. #, fuzzy, no-wrap
  38342. #| msgid "@code{users} (default: @code{#f})"
  38343. msgid "@code{ssl-cert-location} (default: @code{\"/etc/ssl/certs\"}) (type: string)"
  38344. msgstr "@code{users} (default: @code{#f})"
  38345. #. type: table
  38346. #: guix-git/doc/guix.texi:25783
  38347. msgid "Location of SSL client certificates."
  38348. msgstr ""
  38349. #. type: item
  38350. #: guix-git/doc/guix.texi:25784 guix-git/doc/guix.texi:25862
  38351. #, fuzzy, no-wrap
  38352. #| msgid "@code{dbus?} (default: @code{#t})"
  38353. msgid "@code{extra-options} (default: @code{\"\"}) (type: extra-options)"
  38354. msgstr "@code{dbus?} (padrão: @code{#t})"
  38355. #. type: table
  38356. #: guix-git/doc/guix.texi:25786 guix-git/doc/guix.texi:25864
  38357. msgid "Extra options will be appended to Zabbix server configuration file."
  38358. msgstr ""
  38359. #. type: item
  38360. #: guix-git/doc/guix.texi:25787 guix-git/doc/guix.texi:25865
  38361. #, fuzzy, no-wrap
  38362. #| msgid "@code{replacement} (default: @code{#f})"
  38363. msgid "@code{include-files} (default: @code{()}) (type: include-files)"
  38364. msgstr "@code{replacement} (default: @code{#f})"
  38365. #. type: table
  38366. #: guix-git/doc/guix.texi:25790 guix-git/doc/guix.texi:25868
  38367. msgid "You may include individual files or all files in a directory in the configuration file."
  38368. msgstr ""
  38369. #. type: anchor{#1}
  38370. #: guix-git/doc/guix.texi:25799
  38371. msgid "zabbix-agent"
  38372. msgstr ""
  38373. #. type: subsubheading
  38374. #: guix-git/doc/guix.texi:25799
  38375. #, no-wrap
  38376. msgid "Zabbix agent"
  38377. msgstr ""
  38378. #. type: cindex
  38379. #: guix-git/doc/guix.texi:25800
  38380. #, no-wrap
  38381. msgid "zabbix zabbix-agent"
  38382. msgstr ""
  38383. #. type: Plain text
  38384. #: guix-git/doc/guix.texi:25807
  38385. 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}}."
  38386. msgstr ""
  38387. #. type: defvar
  38388. #: guix-git/doc/guix.texi:25808
  38389. #, fuzzy, no-wrap
  38390. msgid "{Scheme variable} zabbix-agent-service-type"
  38391. msgstr "guix-publish-service-type"
  38392. #. type: defvar
  38393. #: guix-git/doc/guix.texi:25811
  38394. msgid "This is the service type for the Zabbix agent service. Its value must be a @code{zabbix-agent-configuration} record, shown below."
  38395. msgstr ""
  38396. #. type: deftp
  38397. #: guix-git/doc/guix.texi:25815
  38398. #, fuzzy, no-wrap
  38399. msgid "{Data Type} zabbix-agent-configuration"
  38400. msgstr "build-machine {Data Type}"
  38401. #. type: deftp
  38402. #: guix-git/doc/guix.texi:25817
  38403. msgid "Available @code{zabbix-agent-configuration} fields are:"
  38404. msgstr ""
  38405. #. type: item
  38406. #: guix-git/doc/guix.texi:25819
  38407. #, fuzzy, no-wrap
  38408. msgid "@code{zabbix-agent} (default: @code{zabbix-agentd}) (type: file-like)"
  38409. msgstr "@code{remote?} (padrão: @code{#f})"
  38410. #. type: table
  38411. #: guix-git/doc/guix.texi:25821
  38412. msgid "The zabbix-agent package."
  38413. msgstr ""
  38414. #. type: table
  38415. #: guix-git/doc/guix.texi:25824
  38416. msgid "User who will run the Zabbix agent."
  38417. msgstr ""
  38418. #. type: table
  38419. #: guix-git/doc/guix.texi:25827
  38420. msgid "Group who will run the Zabbix agent."
  38421. msgstr ""
  38422. #. type: item
  38423. #: guix-git/doc/guix.texi:25828
  38424. #, fuzzy, no-wrap
  38425. msgid "@code{hostname} (default: @code{\"\"}) (type: string)"
  38426. msgstr "@code{remote?} (padrão: @code{#f})"
  38427. #. type: table
  38428. #: guix-git/doc/guix.texi:25831
  38429. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  38430. msgstr ""
  38431. #. type: item
  38432. #: guix-git/doc/guix.texi:25839
  38433. #, no-wrap
  38434. msgid "@code{file} - file specified with"
  38435. msgstr ""
  38436. #. type: itemize
  38437. #: guix-git/doc/guix.texi:25841
  38438. #, fuzzy
  38439. #| msgid "@code{log-file} (default: @code{#f})"
  38440. msgid "@code{log-file} parameter."
  38441. msgstr "@code{log-file} (default: @code{#f})"
  38442. #. type: item
  38443. #: guix-git/doc/guix.texi:25846
  38444. #, fuzzy, no-wrap
  38445. msgid "@code{log-file} (default: @code{\"/var/log/zabbix/agent.log\"}) (type: string)"
  38446. msgstr "@code{remote?} (padrão: @code{#f})"
  38447. #. type: item
  38448. #: guix-git/doc/guix.texi:25849
  38449. #, fuzzy, no-wrap
  38450. msgid "@code{pid-file} (default: @code{\"/var/run/zabbix/zabbix_agent.pid\"}) (type: string)"
  38451. msgstr "@code{remote?} (padrão: @code{#f})"
  38452. #. type: item
  38453. #: guix-git/doc/guix.texi:25852
  38454. #, fuzzy, no-wrap
  38455. #| msgid "@code{replacement} (default: @code{#f})"
  38456. msgid "@code{server} (default: @code{(\"127.0.0.1\")}) (type: list)"
  38457. msgstr "@code{replacement} (default: @code{#f})"
  38458. #. type: table
  38459. #: guix-git/doc/guix.texi:25856
  38460. 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."
  38461. msgstr ""
  38462. #. type: item
  38463. #: guix-git/doc/guix.texi:25857
  38464. #, fuzzy, no-wrap
  38465. #| msgid "@code{replacement} (default: @code{#f})"
  38466. msgid "@code{server-active} (default: @code{(\"127.0.0.1\")}) (type: list)"
  38467. msgstr "@code{replacement} (default: @code{#f})"
  38468. #. type: table
  38469. #: guix-git/doc/guix.texi:25861
  38470. 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."
  38471. msgstr ""
  38472. #. type: anchor{#1}
  38473. #: guix-git/doc/guix.texi:25877
  38474. msgid "zabbix-front-end"
  38475. msgstr ""
  38476. #. type: subsubheading
  38477. #: guix-git/doc/guix.texi:25877
  38478. #, no-wrap
  38479. msgid "Zabbix front-end"
  38480. msgstr ""
  38481. #. type: cindex
  38482. #: guix-git/doc/guix.texi:25878
  38483. #, no-wrap
  38484. msgid "zabbix zabbix-front-end"
  38485. msgstr ""
  38486. #. type: Plain text
  38487. #: guix-git/doc/guix.texi:25884
  38488. 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."
  38489. msgstr ""
  38490. #. type: defvar
  38491. #: guix-git/doc/guix.texi:25885
  38492. #, fuzzy, no-wrap
  38493. msgid "{Scheme variable} zabbix-front-end-service-type"
  38494. msgstr "guix-publish-service-type"
  38495. #. type: defvar
  38496. #: guix-git/doc/guix.texi:25888
  38497. msgid "This is the service type for the Zabbix web frontend. Its value must be a @code{zabbix-front-end-configuration} record, shown below."
  38498. msgstr ""
  38499. #. type: deftp
  38500. #: guix-git/doc/guix.texi:25892
  38501. #, fuzzy, no-wrap
  38502. msgid "{Data Type} zabbix-front-end-configuration"
  38503. msgstr "build-machine {Data Type}"
  38504. #. type: deftp
  38505. #: guix-git/doc/guix.texi:25894
  38506. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  38507. msgstr ""
  38508. #. type: table
  38509. #: guix-git/doc/guix.texi:25898
  38510. #, fuzzy
  38511. #| msgid "The GPM package to use."
  38512. msgid "The Zabbix server package to use."
  38513. msgstr "O pacote GPM a ser usado."
  38514. #. type: item
  38515. #: guix-git/doc/guix.texi:25899
  38516. #, fuzzy, no-wrap
  38517. #| msgid "@code{replacement} (default: @code{#f})"
  38518. msgid "@code{nginx} (default: @code{()}) (type: list)"
  38519. msgstr "@code{replacement} (default: @code{#f})"
  38520. #. type: table
  38521. #: guix-git/doc/guix.texi:25903
  38522. 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."
  38523. msgstr ""
  38524. #. type: item
  38525. #: guix-git/doc/guix.texi:25904
  38526. #, fuzzy, no-wrap
  38527. #| msgid "@code{dbus?} (default: @code{#t})"
  38528. msgid "@code{db-host} (default: @code{\"localhost\"}) (type: string)"
  38529. msgstr "@code{dbus?} (padrão: @code{#t})"
  38530. #. type: table
  38531. #: guix-git/doc/guix.texi:25918
  38532. msgid "Database password. Please, use @code{db-secret-file} instead."
  38533. msgstr ""
  38534. #. type: item
  38535. #: guix-git/doc/guix.texi:25919
  38536. #, fuzzy, no-wrap
  38537. #| msgid "@code{dbus?} (default: @code{#t})"
  38538. msgid "@code{db-secret-file} (default: @code{\"\"}) (type: string)"
  38539. msgstr "@code{dbus?} (padrão: @code{#t})"
  38540. #. type: table
  38541. #: guix-git/doc/guix.texi:25923
  38542. 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."
  38543. msgstr ""
  38544. #. type: item
  38545. #: guix-git/doc/guix.texi:25924
  38546. #, fuzzy, no-wrap
  38547. #| msgid "@code{replacement} (default: @code{#f})"
  38548. msgid "@code{zabbix-host} (default: @code{\"localhost\"}) (type: string)"
  38549. msgstr "@code{replacement} (default: @code{#f})"
  38550. #. type: table
  38551. #: guix-git/doc/guix.texi:25926
  38552. msgid "Zabbix server hostname."
  38553. msgstr ""
  38554. #. type: item
  38555. #: guix-git/doc/guix.texi:25927
  38556. #, fuzzy, no-wrap
  38557. #| msgid "@code{debug?} (default: @code{#f})"
  38558. msgid "@code{zabbix-port} (default: @code{10051}) (type: number)"
  38559. msgstr "@code{debug?} (default: @code{#f})"
  38560. #. type: table
  38561. #: guix-git/doc/guix.texi:25929
  38562. msgid "Zabbix server port."
  38563. msgstr ""
  38564. #. type: cindex
  38565. #: guix-git/doc/guix.texi:25939
  38566. #, no-wrap
  38567. msgid "Kerberos"
  38568. msgstr ""
  38569. #. type: Plain text
  38570. #: guix-git/doc/guix.texi:25943
  38571. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  38572. msgstr ""
  38573. #. type: subsubheading
  38574. #: guix-git/doc/guix.texi:25944
  38575. #, no-wrap
  38576. msgid "Krb5 Service"
  38577. msgstr ""
  38578. #. type: Plain text
  38579. #: guix-git/doc/guix.texi:25951
  38580. 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."
  38581. msgstr ""
  38582. #. type: Plain text
  38583. #: guix-git/doc/guix.texi:25955
  38584. 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."
  38585. msgstr ""
  38586. #. type: defvr
  38587. #: guix-git/doc/guix.texi:25956
  38588. #, no-wrap
  38589. msgid "{Scheme Variable} krb5-service-type"
  38590. msgstr ""
  38591. #. type: defvr
  38592. #: guix-git/doc/guix.texi:25958
  38593. msgid "A service type for Kerberos 5 clients."
  38594. msgstr ""
  38595. #. type: Plain text
  38596. #: guix-git/doc/guix.texi:25962
  38597. msgid "Here is an example of its use:"
  38598. msgstr ""
  38599. #. type: lisp
  38600. #: guix-git/doc/guix.texi:25976
  38601. #, no-wrap
  38602. msgid ""
  38603. "(service krb5-service-type\n"
  38604. " (krb5-configuration\n"
  38605. " (default-realm \"EXAMPLE.COM\")\n"
  38606. " (allow-weak-crypto? #t)\n"
  38607. " (realms (list\n"
  38608. " (krb5-realm\n"
  38609. " (name \"EXAMPLE.COM\")\n"
  38610. " (admin-server \"groucho.example.com\")\n"
  38611. " (kdc \"karl.example.com\"))\n"
  38612. " (krb5-realm\n"
  38613. " (name \"ARGRX.EDU\")\n"
  38614. " (admin-server \"kerb-admin.argrx.edu\")\n"
  38615. " (kdc \"keys.argrx.edu\"))))))\n"
  38616. msgstr ""
  38617. #. type: Plain text
  38618. #: guix-git/doc/guix.texi:25980
  38619. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  38620. msgstr ""
  38621. #. type: item
  38622. #: guix-git/doc/guix.texi:25981
  38623. #, no-wrap
  38624. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  38625. msgstr ""
  38626. #. type: itemize
  38627. #: guix-git/doc/guix.texi:25983
  38628. msgid "of which have distinct administration servers and key distribution centers;"
  38629. msgstr ""
  38630. #. type: item
  38631. #: guix-git/doc/guix.texi:25983
  38632. #, no-wrap
  38633. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  38634. msgstr ""
  38635. #. type: itemize
  38636. #: guix-git/doc/guix.texi:25985
  38637. msgid "specified by clients;"
  38638. msgstr ""
  38639. #. type: item
  38640. #: guix-git/doc/guix.texi:25985
  38641. #, no-wrap
  38642. msgid "Accepts services which only support encryption types known to be weak."
  38643. msgstr ""
  38644. #. type: Plain text
  38645. #: guix-git/doc/guix.texi:25993
  38646. 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."
  38647. msgstr ""
  38648. #. type: deftp
  38649. #: guix-git/doc/guix.texi:25995
  38650. #, no-wrap
  38651. msgid "{Data Type} krb5-realm"
  38652. msgstr ""
  38653. #. type: cindex
  38654. #: guix-git/doc/guix.texi:25996
  38655. #, no-wrap
  38656. msgid "realm, kerberos"
  38657. msgstr ""
  38658. #. type: table
  38659. #: guix-git/doc/guix.texi:26002
  38660. 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."
  38661. msgstr ""
  38662. #. type: code{#1}
  38663. #: guix-git/doc/guix.texi:26003
  38664. #, no-wrap
  38665. msgid "admin-server"
  38666. msgstr ""
  38667. #. type: table
  38668. #: guix-git/doc/guix.texi:26006
  38669. msgid "This field is a string identifying the host where the administration server is running."
  38670. msgstr ""
  38671. #. type: code{#1}
  38672. #: guix-git/doc/guix.texi:26007
  38673. #, no-wrap
  38674. msgid "kdc"
  38675. msgstr ""
  38676. #. type: table
  38677. #: guix-git/doc/guix.texi:26010
  38678. msgid "This field is a string identifying the key distribution center for the realm."
  38679. msgstr ""
  38680. #. type: deftp
  38681. #: guix-git/doc/guix.texi:26013
  38682. #, no-wrap
  38683. msgid "{Data Type} krb5-configuration"
  38684. msgstr ""
  38685. #. type: item
  38686. #: guix-git/doc/guix.texi:26016
  38687. #, no-wrap
  38688. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  38689. msgstr ""
  38690. #. type: table
  38691. #: guix-git/doc/guix.texi:26019
  38692. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  38693. msgstr ""
  38694. #. type: item
  38695. #: guix-git/doc/guix.texi:26020
  38696. #, no-wrap
  38697. msgid "@code{default-realm} (default: @code{#f})"
  38698. msgstr ""
  38699. #. type: table
  38700. #: guix-git/doc/guix.texi:26027
  38701. 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}."
  38702. msgstr ""
  38703. #. type: code{#1}
  38704. #: guix-git/doc/guix.texi:26028
  38705. #, no-wrap
  38706. msgid "realms"
  38707. msgstr ""
  38708. #. type: table
  38709. #: guix-git/doc/guix.texi:26033
  38710. 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."
  38711. msgstr ""
  38712. #. type: subsubheading
  38713. #: guix-git/doc/guix.texi:26037
  38714. #, no-wrap
  38715. msgid "PAM krb5 Service"
  38716. msgstr ""
  38717. #. type: cindex
  38718. #: guix-git/doc/guix.texi:26038
  38719. #, no-wrap
  38720. msgid "pam-krb5"
  38721. msgstr ""
  38722. #. type: Plain text
  38723. #: guix-git/doc/guix.texi:26044
  38724. 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."
  38725. msgstr ""
  38726. #. type: defvr
  38727. #: guix-git/doc/guix.texi:26045
  38728. #, no-wrap
  38729. msgid "{Scheme Variable} pam-krb5-service-type"
  38730. msgstr ""
  38731. #. type: defvr
  38732. #: guix-git/doc/guix.texi:26047
  38733. msgid "A service type for the Kerberos 5 PAM module."
  38734. msgstr ""
  38735. #. type: deftp
  38736. #: guix-git/doc/guix.texi:26049
  38737. #, no-wrap
  38738. msgid "{Data Type} pam-krb5-configuration"
  38739. msgstr ""
  38740. #. type: deftp
  38741. #: guix-git/doc/guix.texi:26052
  38742. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  38743. msgstr ""
  38744. #. type: item
  38745. #: guix-git/doc/guix.texi:26053
  38746. #, no-wrap
  38747. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  38748. msgstr ""
  38749. #. type: table
  38750. #: guix-git/doc/guix.texi:26055
  38751. msgid "The pam-krb5 package to use."
  38752. msgstr ""
  38753. #. type: item
  38754. #: guix-git/doc/guix.texi:26056
  38755. #, no-wrap
  38756. msgid "@code{minimum-uid} (default: @code{1000})"
  38757. msgstr ""
  38758. #. type: table
  38759. #: guix-git/doc/guix.texi:26059
  38760. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  38761. msgstr ""
  38762. #. type: cindex
  38763. #: guix-git/doc/guix.texi:26065
  38764. #, no-wrap
  38765. msgid "LDAP"
  38766. msgstr ""
  38767. #. type: cindex
  38768. #: guix-git/doc/guix.texi:26066
  38769. #, no-wrap
  38770. msgid "nslcd, LDAP service"
  38771. msgstr ""
  38772. #. type: Plain text
  38773. #: guix-git/doc/guix.texi:26073
  38774. 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."
  38775. msgstr ""
  38776. #. type: Plain text
  38777. #: guix-git/doc/guix.texi:26077
  38778. 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:"
  38779. msgstr ""
  38780. #. type: lisp
  38781. #: guix-git/doc/guix.texi:26100
  38782. #, no-wrap
  38783. msgid ""
  38784. "(use-service-modules authentication)\n"
  38785. "(use-modules (gnu system nss))\n"
  38786. "...\n"
  38787. "(operating-system\n"
  38788. " ...\n"
  38789. " (services\n"
  38790. " (cons*\n"
  38791. " (service nslcd-service-type)\n"
  38792. " (service dhcp-client-service-type)\n"
  38793. " %base-services))\n"
  38794. " (name-service-switch\n"
  38795. " (let ((services (list (name-service (name \"db\"))\n"
  38796. " (name-service (name \"files\"))\n"
  38797. " (name-service (name \"ldap\")))))\n"
  38798. " (name-service-switch\n"
  38799. " (inherit %mdns-host-lookup-nss)\n"
  38800. " (password services)\n"
  38801. " (shadow services)\n"
  38802. " (group services)\n"
  38803. " (netgroup services)\n"
  38804. " (gshadow services)))))\n"
  38805. msgstr ""
  38806. #. type: Plain text
  38807. #: guix-git/doc/guix.texi:26105
  38808. msgid "Available @code{nslcd-configuration} fields are:"
  38809. msgstr ""
  38810. #. type: deftypevr
  38811. #: guix-git/doc/guix.texi:26106
  38812. #, no-wrap
  38813. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  38814. msgstr ""
  38815. #. type: deftypevr
  38816. #: guix-git/doc/guix.texi:26108
  38817. msgid "The @code{nss-pam-ldapd} package to use."
  38818. msgstr ""
  38819. #. type: deftypevr
  38820. #: guix-git/doc/guix.texi:26111
  38821. #, no-wrap
  38822. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  38823. msgstr ""
  38824. #. type: deftypevr
  38825. #: guix-git/doc/guix.texi:26115
  38826. 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."
  38827. msgstr ""
  38828. #. type: deftypevr
  38829. #: guix-git/doc/guix.texi:26120
  38830. #, no-wrap
  38831. msgid "{@code{nslcd-configuration} parameter} string uid"
  38832. msgstr ""
  38833. #. type: deftypevr
  38834. #: guix-git/doc/guix.texi:26122
  38835. msgid "This specifies the user id with which the daemon should be run."
  38836. msgstr ""
  38837. #. type: deftypevr
  38838. #: guix-git/doc/guix.texi:26124 guix-git/doc/guix.texi:26131
  38839. msgid "Defaults to @samp{\"nslcd\"}."
  38840. msgstr ""
  38841. #. type: deftypevr
  38842. #: guix-git/doc/guix.texi:26127
  38843. #, no-wrap
  38844. msgid "{@code{nslcd-configuration} parameter} string gid"
  38845. msgstr ""
  38846. #. type: deftypevr
  38847. #: guix-git/doc/guix.texi:26129
  38848. msgid "This specifies the group id with which the daemon should be run."
  38849. msgstr ""
  38850. #. type: deftypevr
  38851. #: guix-git/doc/guix.texi:26134
  38852. #, no-wrap
  38853. msgid "{@code{nslcd-configuration} parameter} log-option log"
  38854. msgstr ""
  38855. #. type: deftypevr
  38856. #: guix-git/doc/guix.texi:26142
  38857. 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."
  38858. msgstr ""
  38859. #. type: deftypevr
  38860. #: guix-git/doc/guix.texi:26144
  38861. msgid "Defaults to @samp{(\"/var/log/nslcd\" info)}."
  38862. msgstr ""
  38863. #. type: deftypevr
  38864. #: guix-git/doc/guix.texi:26147
  38865. #, no-wrap
  38866. msgid "{@code{nslcd-configuration} parameter} list uri"
  38867. msgstr ""
  38868. #. type: deftypevr
  38869. #: guix-git/doc/guix.texi:26150
  38870. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  38871. msgstr ""
  38872. #. type: deftypevr
  38873. #: guix-git/doc/guix.texi:26152
  38874. msgid "Defaults to @samp{(\"ldap://localhost:389/\")}."
  38875. msgstr ""
  38876. #. type: deftypevr
  38877. #: guix-git/doc/guix.texi:26155
  38878. #, no-wrap
  38879. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  38880. msgstr ""
  38881. #. type: deftypevr
  38882. #: guix-git/doc/guix.texi:26158
  38883. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  38884. msgstr ""
  38885. #. type: deftypevr
  38886. #: guix-git/doc/guix.texi:26163
  38887. #, no-wrap
  38888. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  38889. msgstr ""
  38890. #. type: deftypevr
  38891. #: guix-git/doc/guix.texi:26166
  38892. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  38893. msgstr ""
  38894. #. type: deftypevr
  38895. #: guix-git/doc/guix.texi:26171
  38896. #, no-wrap
  38897. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  38898. msgstr ""
  38899. #. type: deftypevr
  38900. #: guix-git/doc/guix.texi:26174
  38901. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  38902. msgstr ""
  38903. #. type: deftypevr
  38904. #: guix-git/doc/guix.texi:26179
  38905. #, no-wrap
  38906. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  38907. msgstr ""
  38908. #. type: deftypevr
  38909. #: guix-git/doc/guix.texi:26182
  38910. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  38911. msgstr ""
  38912. #. type: deftypevr
  38913. #: guix-git/doc/guix.texi:26187
  38914. #, no-wrap
  38915. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  38916. msgstr ""
  38917. #. type: deftypevr
  38918. #: guix-git/doc/guix.texi:26191
  38919. 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"
  38920. msgstr ""
  38921. #. type: deftypevr
  38922. #: guix-git/doc/guix.texi:26196
  38923. #, no-wrap
  38924. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  38925. msgstr ""
  38926. #. type: deftypevr
  38927. #: guix-git/doc/guix.texi:26199
  38928. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  38929. msgstr ""
  38930. #. type: deftypevr
  38931. #: guix-git/doc/guix.texi:26204
  38932. #, no-wrap
  38933. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  38934. msgstr ""
  38935. #. type: deftypevr
  38936. #: guix-git/doc/guix.texi:26206
  38937. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  38938. msgstr ""
  38939. #. type: deftypevr
  38940. #: guix-git/doc/guix.texi:26211
  38941. #, no-wrap
  38942. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  38943. msgstr ""
  38944. #. type: deftypevr
  38945. #: guix-git/doc/guix.texi:26214
  38946. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  38947. msgstr ""
  38948. #. type: deftypevr
  38949. #: guix-git/doc/guix.texi:26219
  38950. #, no-wrap
  38951. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  38952. msgstr ""
  38953. #. type: deftypevr
  38954. #: guix-git/doc/guix.texi:26222
  38955. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  38956. msgstr ""
  38957. #. type: deftypevr
  38958. #: guix-git/doc/guix.texi:26227
  38959. #, no-wrap
  38960. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  38961. msgstr ""
  38962. #. type: deftypevr
  38963. #: guix-git/doc/guix.texi:26232
  38964. 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."
  38965. msgstr ""
  38966. #. type: deftypevr
  38967. #: guix-git/doc/guix.texi:26237
  38968. #, no-wrap
  38969. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  38970. msgstr ""
  38971. #. type: deftypevr
  38972. #: guix-git/doc/guix.texi:26239
  38973. msgid "Set the name for the GSS-API Kerberos credentials cache."
  38974. msgstr ""
  38975. #. type: deftypevr
  38976. #: guix-git/doc/guix.texi:26244
  38977. #, no-wrap
  38978. msgid "{@code{nslcd-configuration} parameter} string base"
  38979. msgstr ""
  38980. #. type: deftypevr
  38981. #: guix-git/doc/guix.texi:26246
  38982. msgid "The directory search base."
  38983. msgstr ""
  38984. #. type: deftypevr
  38985. #: guix-git/doc/guix.texi:26248
  38986. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  38987. msgstr ""
  38988. #. type: deftypevr
  38989. #: guix-git/doc/guix.texi:26251
  38990. #, no-wrap
  38991. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  38992. msgstr ""
  38993. #. type: deftypevr
  38994. #: guix-git/doc/guix.texi:26255
  38995. 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."
  38996. msgstr ""
  38997. #. type: deftypevr
  38998. #: guix-git/doc/guix.texi:26257
  38999. msgid "Defaults to @samp{(subtree)}."
  39000. msgstr ""
  39001. #. type: deftypevr
  39002. #: guix-git/doc/guix.texi:26260
  39003. #, no-wrap
  39004. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  39005. msgstr ""
  39006. #. type: deftypevr
  39007. #: guix-git/doc/guix.texi:26263
  39008. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  39009. msgstr ""
  39010. #. type: deftypevr
  39011. #: guix-git/doc/guix.texi:26268
  39012. #, no-wrap
  39013. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  39014. msgstr ""
  39015. #. type: deftypevr
  39016. #: guix-git/doc/guix.texi:26271
  39017. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  39018. msgstr ""
  39019. #. type: deftypevr
  39020. #: guix-git/doc/guix.texi:26276
  39021. #, no-wrap
  39022. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  39023. msgstr ""
  39024. #. type: deftypevr
  39025. #: guix-git/doc/guix.texi:26281
  39026. 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."
  39027. msgstr ""
  39028. #. type: deftypevr
  39029. #: guix-git/doc/guix.texi:26286
  39030. #, no-wrap
  39031. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  39032. msgstr ""
  39033. #. type: deftypevr
  39034. #: guix-git/doc/guix.texi:26289
  39035. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  39036. msgstr ""
  39037. #. type: deftypevr
  39038. #: guix-git/doc/guix.texi:26294
  39039. #, no-wrap
  39040. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  39041. msgstr ""
  39042. #. type: deftypevr
  39043. #: guix-git/doc/guix.texi:26297
  39044. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  39045. msgstr ""
  39046. #. type: deftypevr
  39047. #: guix-git/doc/guix.texi:26302
  39048. #, no-wrap
  39049. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  39050. msgstr ""
  39051. #. type: deftypevr
  39052. #: guix-git/doc/guix.texi:26306
  39053. 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."
  39054. msgstr ""
  39055. #. type: deftypevr
  39056. #: guix-git/doc/guix.texi:26311
  39057. #, no-wrap
  39058. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  39059. msgstr ""
  39060. #. type: deftypevr
  39061. #: guix-git/doc/guix.texi:26315
  39062. 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."
  39063. msgstr ""
  39064. #. type: deftypevr
  39065. #: guix-git/doc/guix.texi:26320
  39066. #, no-wrap
  39067. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  39068. msgstr ""
  39069. #. type: deftypevr
  39070. #: guix-git/doc/guix.texi:26324
  39071. 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."
  39072. msgstr ""
  39073. #. type: deftypevr
  39074. #: guix-git/doc/guix.texi:26329
  39075. #, no-wrap
  39076. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  39077. msgstr ""
  39078. #. type: deftypevr
  39079. #: guix-git/doc/guix.texi:26333
  39080. 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."
  39081. msgstr ""
  39082. #. type: deftypevr
  39083. #: guix-git/doc/guix.texi:26338
  39084. #, no-wrap
  39085. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  39086. msgstr ""
  39087. #. type: deftypevr
  39088. #: guix-git/doc/guix.texi:26342
  39089. 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."
  39090. msgstr ""
  39091. #. type: deftypevr
  39092. #: guix-git/doc/guix.texi:26347
  39093. #, no-wrap
  39094. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  39095. msgstr ""
  39096. #. type: deftypevr
  39097. #: guix-git/doc/guix.texi:26350
  39098. 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."
  39099. msgstr ""
  39100. #. type: deftypevr
  39101. #: guix-git/doc/guix.texi:26355
  39102. #, no-wrap
  39103. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  39104. msgstr ""
  39105. #. type: deftypevr
  39106. #: guix-git/doc/guix.texi:26358
  39107. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  39108. msgstr ""
  39109. #. type: deftypevr
  39110. #: guix-git/doc/guix.texi:26363
  39111. #, no-wrap
  39112. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  39113. msgstr ""
  39114. #. type: deftypevr
  39115. #: guix-git/doc/guix.texi:26365
  39116. msgid "Specifies the path to the X.509 certificate for peer authentication."
  39117. msgstr ""
  39118. #. type: deftypevr
  39119. #: guix-git/doc/guix.texi:26370
  39120. #, no-wrap
  39121. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  39122. msgstr ""
  39123. #. type: deftypevr
  39124. #: guix-git/doc/guix.texi:26373
  39125. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  39126. msgstr ""
  39127. #. type: deftypevr
  39128. #: guix-git/doc/guix.texi:26378
  39129. #, no-wrap
  39130. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  39131. msgstr ""
  39132. #. type: deftypevr
  39133. #: guix-git/doc/guix.texi:26380
  39134. msgid "Specifies the ciphers to use for TLS as a string."
  39135. msgstr ""
  39136. #. type: deftypevr
  39137. #: guix-git/doc/guix.texi:26385
  39138. #, no-wrap
  39139. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  39140. msgstr ""
  39141. #. type: deftypevr
  39142. #: guix-git/doc/guix.texi:26388
  39143. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  39144. msgstr ""
  39145. #. type: deftypevr
  39146. #: guix-git/doc/guix.texi:26393
  39147. #, no-wrap
  39148. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  39149. msgstr ""
  39150. #. type: deftypevr
  39151. #: guix-git/doc/guix.texi:26396
  39152. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  39153. msgstr ""
  39154. #. type: deftypevr
  39155. #: guix-git/doc/guix.texi:26401
  39156. #, no-wrap
  39157. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  39158. msgstr ""
  39159. #. type: deftypevr
  39160. #: guix-git/doc/guix.texi:26405
  39161. 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."
  39162. msgstr ""
  39163. #. type: deftypevr
  39164. #: guix-git/doc/guix.texi:26410
  39165. #, no-wrap
  39166. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  39167. msgstr ""
  39168. #. type: deftypevr
  39169. #: guix-git/doc/guix.texi:26414
  39170. 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."
  39171. msgstr ""
  39172. #. type: deftypevr
  39173. #: guix-git/doc/guix.texi:26419
  39174. #, no-wrap
  39175. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  39176. msgstr ""
  39177. #. type: deftypevr
  39178. #: guix-git/doc/guix.texi:26422
  39179. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  39180. msgstr ""
  39181. #. type: deftypevr
  39182. #: guix-git/doc/guix.texi:26427
  39183. #, no-wrap
  39184. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  39185. msgstr ""
  39186. #. type: deftypevr
  39187. #: guix-git/doc/guix.texi:26430
  39188. 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."
  39189. msgstr ""
  39190. #. type: deftypevr
  39191. #: guix-git/doc/guix.texi:26435
  39192. #, no-wrap
  39193. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  39194. msgstr ""
  39195. #. type: deftypevr
  39196. #: guix-git/doc/guix.texi:26438
  39197. 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."
  39198. msgstr ""
  39199. #. type: deftypevr
  39200. #: guix-git/doc/guix.texi:26443
  39201. #, no-wrap
  39202. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  39203. msgstr ""
  39204. #. type: deftypevr
  39205. #: guix-git/doc/guix.texi:26449
  39206. 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."
  39207. msgstr ""
  39208. #. type: deftypevr
  39209. #: guix-git/doc/guix.texi:26454
  39210. #, no-wrap
  39211. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  39212. msgstr ""
  39213. #. type: deftypevr
  39214. #: guix-git/doc/guix.texi:26459
  39215. 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."
  39216. msgstr ""
  39217. #. type: deftypevr
  39218. #: guix-git/doc/guix.texi:26464
  39219. #, no-wrap
  39220. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  39221. msgstr ""
  39222. #. type: deftypevr
  39223. #: guix-git/doc/guix.texi:26470
  39224. 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."
  39225. msgstr ""
  39226. #. type: deftypevr
  39227. #: guix-git/doc/guix.texi:26475
  39228. #, no-wrap
  39229. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  39230. msgstr ""
  39231. #. type: deftypevr
  39232. #: guix-git/doc/guix.texi:26479
  39233. 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."
  39234. msgstr ""
  39235. #. type: deftypevr
  39236. #: guix-git/doc/guix.texi:26484
  39237. #, no-wrap
  39238. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  39239. msgstr ""
  39240. #. type: deftypevr
  39241. #: guix-git/doc/guix.texi:26489
  39242. 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."
  39243. msgstr ""
  39244. #. type: deftypevr
  39245. #: guix-git/doc/guix.texi:26494
  39246. #, no-wrap
  39247. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  39248. msgstr ""
  39249. #. type: deftypevr
  39250. #: guix-git/doc/guix.texi:26497
  39251. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  39252. msgstr ""
  39253. #. type: deftypevr
  39254. #: guix-git/doc/guix.texi:26502
  39255. #, no-wrap
  39256. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  39257. msgstr ""
  39258. #. type: deftypevr
  39259. #: guix-git/doc/guix.texi:26508
  39260. 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."
  39261. msgstr ""
  39262. #. type: deftypevr
  39263. #: guix-git/doc/guix.texi:26513
  39264. #, no-wrap
  39265. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  39266. msgstr ""
  39267. #. type: deftypevr
  39268. #: guix-git/doc/guix.texi:26517
  39269. 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."
  39270. msgstr ""
  39271. #. type: deftypevr
  39272. #: guix-git/doc/guix.texi:26522
  39273. #, no-wrap
  39274. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  39275. msgstr ""
  39276. #. type: deftypevr
  39277. #: guix-git/doc/guix.texi:26527
  39278. 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."
  39279. msgstr ""
  39280. #. type: deftypevr
  39281. #: guix-git/doc/guix.texi:26532
  39282. #, no-wrap
  39283. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  39284. msgstr ""
  39285. #. type: deftypevr
  39286. #: guix-git/doc/guix.texi:26534
  39287. msgid "List of pam service names for which LDAP authentication should suffice."
  39288. msgstr ""
  39289. #. type: cindex
  39290. #: guix-git/doc/guix.texi:26545
  39291. #, no-wrap
  39292. msgid "web"
  39293. msgstr "web"
  39294. #. type: cindex
  39295. #: guix-git/doc/guix.texi:26546
  39296. #, no-wrap
  39297. msgid "www"
  39298. msgstr ""
  39299. #. type: cindex
  39300. #: guix-git/doc/guix.texi:26547
  39301. #, no-wrap
  39302. msgid "HTTP"
  39303. msgstr "HTTP"
  39304. #. type: Plain text
  39305. #: guix-git/doc/guix.texi:26550
  39306. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  39307. msgstr ""
  39308. #. type: subsubheading
  39309. #: guix-git/doc/guix.texi:26551
  39310. #, no-wrap
  39311. msgid "Apache HTTP Server"
  39312. msgstr ""
  39313. #. type: deffn
  39314. #: guix-git/doc/guix.texi:26553
  39315. #, no-wrap
  39316. msgid "{Scheme Variable} httpd-service-type"
  39317. msgstr ""
  39318. #. type: deffn
  39319. #: guix-git/doc/guix.texi:26557
  39320. 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."
  39321. msgstr ""
  39322. #. type: deffn
  39323. #: guix-git/doc/guix.texi:26559 guix-git/doc/guix.texi:26741
  39324. msgid "A simple example configuration is given below."
  39325. msgstr ""
  39326. #. type: lisp
  39327. #: guix-git/doc/guix.texi:26567
  39328. #, no-wrap
  39329. msgid ""
  39330. "(service httpd-service-type\n"
  39331. " (httpd-configuration\n"
  39332. " (config\n"
  39333. " (httpd-config-file\n"
  39334. " (server-name \"www.example.com\")\n"
  39335. " (document-root \"/srv/http/www.example.com\")))))\n"
  39336. msgstr ""
  39337. #. type: deffn
  39338. #: guix-git/doc/guix.texi:26571
  39339. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  39340. msgstr ""
  39341. #. type: lisp
  39342. #: guix-git/doc/guix.texi:26580 guix-git/doc/guix.texi:26720
  39343. #, no-wrap
  39344. msgid ""
  39345. "(simple-service 'www.example.com-server httpd-service-type\n"
  39346. " (list\n"
  39347. " (httpd-virtualhost\n"
  39348. " \"*:80\"\n"
  39349. " (list (string-join '(\"ServerName www.example.com\"\n"
  39350. " \"DocumentRoot /srv/http/www.example.com\")\n"
  39351. " \"\\n\")))))\n"
  39352. msgstr ""
  39353. #. type: Plain text
  39354. #: guix-git/doc/guix.texi:26586
  39355. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  39356. msgstr ""
  39357. #. type: deffn
  39358. #: guix-git/doc/guix.texi:26587
  39359. #, no-wrap
  39360. msgid "{Data Type} httpd-configuration"
  39361. msgstr ""
  39362. #. type: deffn
  39363. #: guix-git/doc/guix.texi:26589
  39364. msgid "This data type represents the configuration for the httpd service."
  39365. msgstr ""
  39366. #. type: item
  39367. #: guix-git/doc/guix.texi:26591
  39368. #, no-wrap
  39369. msgid "@code{package} (default: @code{httpd})"
  39370. msgstr ""
  39371. #. type: table
  39372. #: guix-git/doc/guix.texi:26593
  39373. msgid "The httpd package to use."
  39374. msgstr ""
  39375. #. type: item
  39376. #: guix-git/doc/guix.texi:26594 guix-git/doc/guix.texi:26683
  39377. #, no-wrap
  39378. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  39379. msgstr ""
  39380. #. type: table
  39381. #: guix-git/doc/guix.texi:26596
  39382. msgid "The pid file used by the shepherd-service."
  39383. msgstr ""
  39384. #. type: item
  39385. #: guix-git/doc/guix.texi:26597
  39386. #, no-wrap
  39387. msgid "@code{config} (default: @code{(httpd-config-file)})"
  39388. msgstr ""
  39389. #. type: table
  39390. #: guix-git/doc/guix.texi:26602
  39391. 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."
  39392. msgstr ""
  39393. #. type: deffn
  39394. #: guix-git/doc/guix.texi:26606
  39395. #, no-wrap
  39396. msgid "{Data Type} httpd-module"
  39397. msgstr ""
  39398. #. type: deffn
  39399. #: guix-git/doc/guix.texi:26608
  39400. msgid "This data type represents a module for the httpd service."
  39401. msgstr ""
  39402. #. type: table
  39403. #: guix-git/doc/guix.texi:26612
  39404. msgid "The name of the module."
  39405. msgstr ""
  39406. #. type: table
  39407. #: guix-git/doc/guix.texi:26618
  39408. 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\")}."
  39409. msgstr ""
  39410. #. type: defvr
  39411. #: guix-git/doc/guix.texi:26622
  39412. #, no-wrap
  39413. msgid "{Scheme Variable} %default-httpd-modules"
  39414. msgstr ""
  39415. #. type: defvr
  39416. #: guix-git/doc/guix.texi:26624
  39417. msgid "A default list of @code{httpd-module} objects."
  39418. msgstr ""
  39419. #. type: deffn
  39420. #: guix-git/doc/guix.texi:26626
  39421. #, no-wrap
  39422. msgid "{Data Type} httpd-config-file"
  39423. msgstr ""
  39424. #. type: deffn
  39425. #: guix-git/doc/guix.texi:26628
  39426. msgid "This data type represents a configuration file for the httpd service."
  39427. msgstr ""
  39428. #. type: item
  39429. #: guix-git/doc/guix.texi:26630
  39430. #, no-wrap
  39431. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  39432. msgstr ""
  39433. #. type: table
  39434. #: guix-git/doc/guix.texi:26633
  39435. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  39436. msgstr ""
  39437. #. type: table
  39438. #: guix-git/doc/guix.texi:26636
  39439. 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}:"
  39440. msgstr ""
  39441. #. type: lisp
  39442. #: guix-git/doc/guix.texi:26658
  39443. #, no-wrap
  39444. msgid ""
  39445. "(service httpd-service-type\n"
  39446. " (httpd-configuration\n"
  39447. " (config\n"
  39448. " (httpd-config-file\n"
  39449. " (modules (cons*\n"
  39450. " (httpd-module\n"
  39451. " (name \"proxy_module\")\n"
  39452. " (file \"modules/mod_proxy.so\"))\n"
  39453. " (httpd-module\n"
  39454. " (name \"proxy_fcgi_module\")\n"
  39455. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  39456. " %default-httpd-modules))\n"
  39457. " (extra-config (list \"\\\n"
  39458. "<FilesMatch \\\\.php$>\n"
  39459. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  39460. "</FilesMatch>\"))))))\n"
  39461. "(service php-fpm-service-type\n"
  39462. " (php-fpm-configuration\n"
  39463. " (socket \"/var/run/php-fpm.sock\")\n"
  39464. " (socket-group \"httpd\")))\n"
  39465. msgstr ""
  39466. #. type: item
  39467. #: guix-git/doc/guix.texi:26660
  39468. #, no-wrap
  39469. msgid "@code{server-root} (default: @code{httpd})"
  39470. msgstr ""
  39471. #. type: table
  39472. #: guix-git/doc/guix.texi:26664
  39473. 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."
  39474. msgstr ""
  39475. #. type: item
  39476. #: guix-git/doc/guix.texi:26665
  39477. #, no-wrap
  39478. msgid "@code{server-name} (default: @code{#f})"
  39479. msgstr ""
  39480. #. type: table
  39481. #: guix-git/doc/guix.texi:26669
  39482. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  39483. msgstr ""
  39484. #. type: table
  39485. #: guix-git/doc/guix.texi:26673
  39486. 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}."
  39487. msgstr ""
  39488. #. type: item
  39489. #: guix-git/doc/guix.texi:26674
  39490. #, no-wrap
  39491. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  39492. msgstr ""
  39493. #. type: table
  39494. #: guix-git/doc/guix.texi:26676
  39495. msgid "The @code{DocumentRoot} from which files will be served."
  39496. msgstr ""
  39497. #. type: item
  39498. #: guix-git/doc/guix.texi:26677
  39499. #, no-wrap
  39500. msgid "@code{listen} (default: @code{'(\"80\")})"
  39501. msgstr ""
  39502. #. type: table
  39503. #: guix-git/doc/guix.texi:26682
  39504. 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."
  39505. msgstr ""
  39506. #. type: table
  39507. #: guix-git/doc/guix.texi:26687
  39508. 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."
  39509. msgstr ""
  39510. #. type: item
  39511. #: guix-git/doc/guix.texi:26688
  39512. #, no-wrap
  39513. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  39514. msgstr ""
  39515. #. type: table
  39516. #: guix-git/doc/guix.texi:26690
  39517. msgid "The @code{ErrorLog} to which the server will log errors."
  39518. msgstr ""
  39519. #. type: item
  39520. #: guix-git/doc/guix.texi:26691 guix-git/doc/guix.texi:27254
  39521. #, no-wrap
  39522. msgid "@code{user} (default: @code{\"httpd\"})"
  39523. msgstr ""
  39524. #. type: table
  39525. #: guix-git/doc/guix.texi:26693
  39526. msgid "The @code{User} which the server will answer requests as."
  39527. msgstr ""
  39528. #. type: item
  39529. #: guix-git/doc/guix.texi:26694
  39530. #, no-wrap
  39531. msgid "@code{group} (default: @code{\"httpd\"})"
  39532. msgstr ""
  39533. #. type: table
  39534. #: guix-git/doc/guix.texi:26696
  39535. msgid "The @code{Group} which the server will answer requests as."
  39536. msgstr ""
  39537. #. type: item
  39538. #: guix-git/doc/guix.texi:26697
  39539. #, no-wrap
  39540. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  39541. msgstr ""
  39542. #. type: table
  39543. #: guix-git/doc/guix.texi:26700
  39544. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  39545. msgstr ""
  39546. #. type: table
  39547. #: guix-git/doc/guix.texi:26703
  39548. msgid "Any values which the service is extended with will be appended to this list."
  39549. msgstr ""
  39550. #. type: deffn
  39551. #: guix-git/doc/guix.texi:26707
  39552. #, no-wrap
  39553. msgid "{Data Type} httpd-virtualhost"
  39554. msgstr ""
  39555. #. type: deffn
  39556. #: guix-git/doc/guix.texi:26709
  39557. msgid "This data type represents a virtualhost configuration block for the httpd service."
  39558. msgstr ""
  39559. #. type: deffn
  39560. #: guix-git/doc/guix.texi:26711
  39561. msgid "These should be added to the extra-config for the httpd-service."
  39562. msgstr ""
  39563. #. type: code{#1}
  39564. #: guix-git/doc/guix.texi:26723
  39565. #, no-wrap
  39566. msgid "addresses-and-ports"
  39567. msgstr ""
  39568. #. type: table
  39569. #: guix-git/doc/guix.texi:26725
  39570. msgid "The addresses and ports for the @code{VirtualHost} directive."
  39571. msgstr ""
  39572. #. type: code{#1}
  39573. #: guix-git/doc/guix.texi:26726
  39574. #, no-wrap
  39575. msgid "contents"
  39576. msgstr "conteúdo"
  39577. #. type: table
  39578. #: guix-git/doc/guix.texi:26729
  39579. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  39580. msgstr ""
  39581. #. type: subsubheading
  39582. #: guix-git/doc/guix.texi:26734
  39583. #, no-wrap
  39584. msgid "NGINX"
  39585. msgstr ""
  39586. #. type: deffn
  39587. #: guix-git/doc/guix.texi:26736
  39588. #, no-wrap
  39589. msgid "{Scheme Variable} nginx-service-type"
  39590. msgstr ""
  39591. #. type: deffn
  39592. #: guix-git/doc/guix.texi:26739
  39593. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  39594. msgstr ""
  39595. #. type: lisp
  39596. #: guix-git/doc/guix.texi:26749 guix-git/doc/guix.texi:26803
  39597. #, no-wrap
  39598. msgid ""
  39599. "(service nginx-service-type\n"
  39600. " (nginx-configuration\n"
  39601. " (server-blocks\n"
  39602. " (list (nginx-server-configuration\n"
  39603. " (server-name '(\"www.example.com\"))\n"
  39604. " (root \"/srv/http/www.example.com\"))))))\n"
  39605. msgstr ""
  39606. #. type: deffn
  39607. #: guix-git/doc/guix.texi:26754
  39608. 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:"
  39609. msgstr ""
  39610. #. type: lisp
  39611. #: guix-git/doc/guix.texi:26760
  39612. #, no-wrap
  39613. msgid ""
  39614. "(simple-service 'my-extra-server nginx-service-type\n"
  39615. " (list (nginx-server-configuration\n"
  39616. " (root \"/srv/http/extra-website\")\n"
  39617. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  39618. msgstr ""
  39619. #. type: Plain text
  39620. #: guix-git/doc/guix.texi:26771
  39621. 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."
  39622. msgstr ""
  39623. #. type: deffn
  39624. #: guix-git/doc/guix.texi:26772
  39625. #, no-wrap
  39626. msgid "{Data Type} nginx-configuration"
  39627. msgstr ""
  39628. #. type: deffn
  39629. #: guix-git/doc/guix.texi:26776
  39630. 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."
  39631. msgstr ""
  39632. #. type: item
  39633. #: guix-git/doc/guix.texi:26778
  39634. #, no-wrap
  39635. msgid "@code{nginx} (default: @code{nginx})"
  39636. msgstr ""
  39637. #. type: table
  39638. #: guix-git/doc/guix.texi:26780
  39639. msgid "The nginx package to use."
  39640. msgstr ""
  39641. #. type: item
  39642. #: guix-git/doc/guix.texi:26781
  39643. #, no-wrap
  39644. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  39645. msgstr ""
  39646. #. type: table
  39647. #: guix-git/doc/guix.texi:26783
  39648. msgid "The directory to which NGinx will write log files."
  39649. msgstr ""
  39650. #. type: item
  39651. #: guix-git/doc/guix.texi:26784
  39652. #, no-wrap
  39653. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  39654. msgstr ""
  39655. #. type: table
  39656. #: guix-git/doc/guix.texi:26787
  39657. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  39658. msgstr ""
  39659. #. type: item
  39660. #: guix-git/doc/guix.texi:26788
  39661. #, no-wrap
  39662. msgid "@code{server-blocks} (default: @code{'()})"
  39663. msgstr ""
  39664. #. type: table
  39665. #: guix-git/doc/guix.texi:26792
  39666. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  39667. msgstr ""
  39668. #. type: table
  39669. #: guix-git/doc/guix.texi:26796
  39670. 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."
  39671. msgstr ""
  39672. #. type: item
  39673. #: guix-git/doc/guix.texi:26805
  39674. #, no-wrap
  39675. msgid "@code{upstream-blocks} (default: @code{'()})"
  39676. msgstr ""
  39677. #. type: table
  39678. #: guix-git/doc/guix.texi:26809
  39679. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  39680. msgstr ""
  39681. #. type: table
  39682. #: guix-git/doc/guix.texi:26816
  39683. 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."
  39684. msgstr ""
  39685. #. type: lisp
  39686. #: guix-git/doc/guix.texi:26835
  39687. #, no-wrap
  39688. msgid ""
  39689. "(service\n"
  39690. " nginx-service-type\n"
  39691. " (nginx-configuration\n"
  39692. " (server-blocks\n"
  39693. " (list (nginx-server-configuration\n"
  39694. " (server-name '(\"www.example.com\"))\n"
  39695. " (root \"/srv/http/www.example.com\")\n"
  39696. " (locations\n"
  39697. " (list\n"
  39698. " (nginx-location-configuration\n"
  39699. " (uri \"/path1\")\n"
  39700. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  39701. " (upstream-blocks\n"
  39702. " (list (nginx-upstream-configuration\n"
  39703. " (name \"server-proxy\")\n"
  39704. " (servers (list \"server1.example.com\"\n"
  39705. " \"server2.example.com\")))))))\n"
  39706. msgstr ""
  39707. #. type: table
  39708. #: guix-git/doc/guix.texi:26843
  39709. 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."
  39710. msgstr ""
  39711. #. type: table
  39712. #: guix-git/doc/guix.texi:26847
  39713. 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."
  39714. msgstr ""
  39715. #. type: item
  39716. #: guix-git/doc/guix.texi:26848
  39717. #, no-wrap
  39718. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  39719. msgstr ""
  39720. #. type: table
  39721. #: guix-git/doc/guix.texi:26851
  39722. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  39723. msgstr ""
  39724. #. type: item
  39725. #: guix-git/doc/guix.texi:26852
  39726. #, no-wrap
  39727. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  39728. msgstr ""
  39729. #. type: table
  39730. #: guix-git/doc/guix.texi:26854
  39731. msgid "Maximum bucket size for the server names hash tables."
  39732. msgstr ""
  39733. #. type: table
  39734. #: guix-git/doc/guix.texi:26858
  39735. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  39736. msgstr ""
  39737. #. type: lisp
  39738. #: guix-git/doc/guix.texi:26866
  39739. #, no-wrap
  39740. msgid ""
  39741. "(modules\n"
  39742. " (list\n"
  39743. " (file-append nginx-accept-language-module \"\\\n"
  39744. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  39745. " (file-append nginx-lua-module \"\\\n"
  39746. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  39747. msgstr ""
  39748. #. type: item
  39749. #: guix-git/doc/guix.texi:26868
  39750. #, no-wrap
  39751. msgid "@code{lua-package-path} (default: @code{'()})"
  39752. msgstr ""
  39753. #. type: table
  39754. #: guix-git/doc/guix.texi:26871
  39755. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  39756. msgstr ""
  39757. #. type: lisp
  39758. #: guix-git/doc/guix.texi:26878
  39759. #, no-wrap
  39760. msgid ""
  39761. "(lua-package-path (list lua-resty-core\n"
  39762. " lua-resty-lrucache\n"
  39763. " lua-resty-signal\n"
  39764. " lua-tablepool\n"
  39765. " lua-resty-shell))\n"
  39766. msgstr ""
  39767. #. type: item
  39768. #: guix-git/doc/guix.texi:26880
  39769. #, no-wrap
  39770. msgid "@code{lua-package-cpath} (default: @code{'()})"
  39771. msgstr ""
  39772. #. type: table
  39773. #: guix-git/doc/guix.texi:26883
  39774. 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:"
  39775. msgstr ""
  39776. #. type: lisp
  39777. #: guix-git/doc/guix.texi:26886
  39778. #, no-wrap
  39779. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  39780. msgstr ""
  39781. #. type: item
  39782. #: guix-git/doc/guix.texi:26888
  39783. #, no-wrap
  39784. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  39785. msgstr ""
  39786. #. type: table
  39787. #: guix-git/doc/guix.texi:26891
  39788. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  39789. msgstr ""
  39790. #. type: lisp
  39791. #: guix-git/doc/guix.texi:26897
  39792. #, no-wrap
  39793. msgid ""
  39794. "(global-directives\n"
  39795. " `((worker_processes . 16)\n"
  39796. " (pcre_jit . on)\n"
  39797. " (events . ((worker_connections . 1024)))))\n"
  39798. msgstr ""
  39799. #. type: table
  39800. #: guix-git/doc/guix.texi:26902
  39801. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  39802. msgstr ""
  39803. #. type: anchor{#1}
  39804. #: guix-git/doc/guix.texi:26907
  39805. #, fuzzy
  39806. msgid "nginx-server-configuration"
  39807. msgstr "build-machine {Data Type}"
  39808. #. type: deftp
  39809. #: guix-git/doc/guix.texi:26907
  39810. #, no-wrap
  39811. msgid "{Data Type} nginx-server-configuration"
  39812. msgstr ""
  39813. #. type: deftp
  39814. #: guix-git/doc/guix.texi:26910
  39815. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  39816. msgstr ""
  39817. #. type: item
  39818. #: guix-git/doc/guix.texi:26912
  39819. #, no-wrap
  39820. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  39821. msgstr ""
  39822. #. type: table
  39823. #: guix-git/doc/guix.texi:26917
  39824. 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:"
  39825. msgstr ""
  39826. #. type: lisp
  39827. #: guix-git/doc/guix.texi:26920
  39828. #, no-wrap
  39829. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  39830. msgstr ""
  39831. #. type: item
  39832. #: guix-git/doc/guix.texi:26922
  39833. #, no-wrap
  39834. msgid "@code{server-name} (default: @code{(list 'default)})"
  39835. msgstr ""
  39836. #. type: table
  39837. #: guix-git/doc/guix.texi:26925
  39838. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  39839. msgstr ""
  39840. #. type: item
  39841. #: guix-git/doc/guix.texi:26926
  39842. #, no-wrap
  39843. msgid "@code{root} (default: @code{\"/srv/http\"})"
  39844. msgstr ""
  39845. #. type: table
  39846. #: guix-git/doc/guix.texi:26928
  39847. msgid "Root of the website nginx will serve."
  39848. msgstr ""
  39849. #. type: item
  39850. #: guix-git/doc/guix.texi:26929
  39851. #, no-wrap
  39852. msgid "@code{locations} (default: @code{'()})"
  39853. msgstr ""
  39854. #. type: table
  39855. #: guix-git/doc/guix.texi:26933
  39856. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  39857. msgstr ""
  39858. #. type: item
  39859. #: guix-git/doc/guix.texi:26934
  39860. #, no-wrap
  39861. msgid "@code{index} (default: @code{(list \"index.html\")})"
  39862. msgstr ""
  39863. #. type: table
  39864. #: guix-git/doc/guix.texi:26937
  39865. 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."
  39866. msgstr ""
  39867. #. type: item
  39868. #: guix-git/doc/guix.texi:26938
  39869. #, no-wrap
  39870. msgid "@code{try-files} (default: @code{'()})"
  39871. msgstr ""
  39872. #. type: table
  39873. #: guix-git/doc/guix.texi:26941
  39874. 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."
  39875. msgstr ""
  39876. #. type: item
  39877. #: guix-git/doc/guix.texi:26942
  39878. #, no-wrap
  39879. msgid "@code{ssl-certificate} (default: @code{#f})"
  39880. msgstr ""
  39881. #. type: table
  39882. #: guix-git/doc/guix.texi:26945
  39883. 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."
  39884. msgstr ""
  39885. #. type: item
  39886. #: guix-git/doc/guix.texi:26946
  39887. #, no-wrap
  39888. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  39889. msgstr ""
  39890. #. type: table
  39891. #: guix-git/doc/guix.texi:26949
  39892. 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."
  39893. msgstr ""
  39894. #. type: item
  39895. #: guix-git/doc/guix.texi:26950
  39896. #, no-wrap
  39897. msgid "@code{server-tokens?} (default: @code{#f})"
  39898. msgstr ""
  39899. #. type: table
  39900. #: guix-git/doc/guix.texi:26952
  39901. msgid "Whether the server should add its configuration to response."
  39902. msgstr ""
  39903. #. type: item
  39904. #: guix-git/doc/guix.texi:26953
  39905. #, no-wrap
  39906. msgid "@code{raw-content} (default: @code{'()})"
  39907. msgstr ""
  39908. #. type: table
  39909. #: guix-git/doc/guix.texi:26955
  39910. msgid "A list of raw lines added to the server block."
  39911. msgstr ""
  39912. #. type: deftp
  39913. #: guix-git/doc/guix.texi:26959
  39914. #, no-wrap
  39915. msgid "{Data Type} nginx-upstream-configuration"
  39916. msgstr ""
  39917. #. type: deftp
  39918. #: guix-git/doc/guix.texi:26962
  39919. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  39920. msgstr ""
  39921. #. type: table
  39922. #: guix-git/doc/guix.texi:26966
  39923. msgid "Name for this group of servers."
  39924. msgstr ""
  39925. #. type: code{#1}
  39926. #: guix-git/doc/guix.texi:26967
  39927. #, no-wrap
  39928. msgid "servers"
  39929. msgstr ""
  39930. #. type: table
  39931. #: guix-git/doc/guix.texi:26974
  39932. 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."
  39933. msgstr ""
  39934. #. type: deftp
  39935. #: guix-git/doc/guix.texi:26978
  39936. #, no-wrap
  39937. msgid "{Data Type} nginx-location-configuration"
  39938. msgstr ""
  39939. #. type: deftp
  39940. #: guix-git/doc/guix.texi:26981
  39941. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  39942. msgstr ""
  39943. #. type: table
  39944. #: guix-git/doc/guix.texi:26985
  39945. msgid "URI which this location block matches."
  39946. msgstr ""
  39947. #. type: anchor{#1}
  39948. #: guix-git/doc/guix.texi:26987
  39949. msgid "nginx-location-configuration body"
  39950. msgstr "nginx-location-configuration body"
  39951. #. type: code{#1}
  39952. #: guix-git/doc/guix.texi:26987 guix-git/doc/guix.texi:27008
  39953. #, no-wrap
  39954. msgid "body"
  39955. msgstr "corpo"
  39956. #. type: table
  39957. #: guix-git/doc/guix.texi:26994
  39958. 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;\")}."
  39959. msgstr ""
  39960. #. type: deftp
  39961. #: guix-git/doc/guix.texi:26998
  39962. #, no-wrap
  39963. msgid "{Data Type} nginx-named-location-configuration"
  39964. msgstr ""
  39965. #. type: deftp
  39966. #: guix-git/doc/guix.texi:27003
  39967. 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:"
  39968. msgstr ""
  39969. #. type: table
  39970. #: guix-git/doc/guix.texi:27007
  39971. msgid "Name to identify this location block."
  39972. msgstr ""
  39973. #. type: table
  39974. #: guix-git/doc/guix.texi:27013
  39975. 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."
  39976. msgstr ""
  39977. #. type: subsubheading
  39978. #: guix-git/doc/guix.texi:27017
  39979. #, no-wrap
  39980. msgid "Varnish Cache"
  39981. msgstr ""
  39982. #. type: cindex
  39983. #: guix-git/doc/guix.texi:27018
  39984. #, no-wrap
  39985. msgid "Varnish"
  39986. msgstr ""
  39987. #. type: Plain text
  39988. #: guix-git/doc/guix.texi:27023
  39989. 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."
  39990. msgstr ""
  39991. #. type: defvr
  39992. #: guix-git/doc/guix.texi:27024
  39993. #, no-wrap
  39994. msgid "{Scheme Variable} varnish-service-type"
  39995. msgstr ""
  39996. #. type: defvr
  39997. #: guix-git/doc/guix.texi:27026
  39998. msgid "Service type for the Varnish daemon."
  39999. msgstr ""
  40000. #. type: deftp
  40001. #: guix-git/doc/guix.texi:27028
  40002. #, no-wrap
  40003. msgid "{Data Type} varnish-configuration"
  40004. msgstr ""
  40005. #. type: deftp
  40006. #: guix-git/doc/guix.texi:27031
  40007. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  40008. msgstr ""
  40009. #. type: item
  40010. #: guix-git/doc/guix.texi:27033
  40011. #, no-wrap
  40012. msgid "@code{package} (default: @code{varnish})"
  40013. msgstr ""
  40014. #. type: table
  40015. #: guix-git/doc/guix.texi:27035
  40016. msgid "The Varnish package to use."
  40017. msgstr ""
  40018. #. type: item
  40019. #: guix-git/doc/guix.texi:27036
  40020. #, no-wrap
  40021. msgid "@code{name} (default: @code{\"default\"})"
  40022. msgstr ""
  40023. #. type: table
  40024. #: guix-git/doc/guix.texi:27041
  40025. 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."
  40026. msgstr ""
  40027. #. type: table
  40028. #: guix-git/doc/guix.texi:27044
  40029. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  40030. msgstr ""
  40031. #. type: item
  40032. #: guix-git/doc/guix.texi:27045
  40033. #, no-wrap
  40034. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  40035. msgstr ""
  40036. #. type: table
  40037. #: guix-git/doc/guix.texi:27047
  40038. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  40039. msgstr ""
  40040. #. type: item
  40041. #: guix-git/doc/guix.texi:27048
  40042. #, no-wrap
  40043. msgid "@code{vcl} (default: #f)"
  40044. msgstr ""
  40045. #. type: table
  40046. #: guix-git/doc/guix.texi:27053
  40047. 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."
  40048. msgstr ""
  40049. #. type: table
  40050. #: guix-git/doc/guix.texi:27057
  40051. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  40052. msgstr ""
  40053. #. type: lisp
  40054. #: guix-git/doc/guix.texi:27063
  40055. #, no-wrap
  40056. msgid ""
  40057. "(define %gnu-mirror\n"
  40058. " (plain-file \"gnu.vcl\"\n"
  40059. " \"vcl 4.1;\n"
  40060. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  40061. "\n"
  40062. msgstr ""
  40063. #. type: lisp
  40064. #: guix-git/doc/guix.texi:27071
  40065. #, no-wrap
  40066. msgid ""
  40067. "(operating-system\n"
  40068. " ;; @dots{}\n"
  40069. " (services (cons (service varnish-service-type\n"
  40070. " (varnish-configuration\n"
  40071. " (listen '(\":80\"))\n"
  40072. " (vcl %gnu-mirror)))\n"
  40073. " %base-services)))\n"
  40074. msgstr ""
  40075. #. type: table
  40076. #: guix-git/doc/guix.texi:27075
  40077. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  40078. msgstr ""
  40079. #. type: table
  40080. #: guix-git/doc/guix.texi:27079
  40081. 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."
  40082. msgstr ""
  40083. #. type: item
  40084. #: guix-git/doc/guix.texi:27080
  40085. #, no-wrap
  40086. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  40087. msgstr ""
  40088. #. type: table
  40089. #: guix-git/doc/guix.texi:27082
  40090. msgid "List of addresses Varnish will listen on."
  40091. msgstr ""
  40092. #. type: item
  40093. #: guix-git/doc/guix.texi:27083
  40094. #, no-wrap
  40095. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  40096. msgstr ""
  40097. #. type: table
  40098. #: guix-git/doc/guix.texi:27085
  40099. msgid "List of storage backends that will be available in VCL."
  40100. msgstr ""
  40101. #. type: item
  40102. #: guix-git/doc/guix.texi:27086
  40103. #, no-wrap
  40104. msgid "@code{parameters} (default: @code{'()})"
  40105. msgstr ""
  40106. #. type: table
  40107. #: guix-git/doc/guix.texi:27088
  40108. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  40109. msgstr ""
  40110. #. type: table
  40111. #: guix-git/doc/guix.texi:27091
  40112. msgid "Additional arguments to pass to the @command{varnishd} process."
  40113. msgstr ""
  40114. #. type: cindex
  40115. #: guix-git/doc/guix.texi:27095 guix-git/doc/guix.texi:27096
  40116. #, no-wrap
  40117. msgid "Patchwork"
  40118. msgstr ""
  40119. #. type: Plain text
  40120. #: guix-git/doc/guix.texi:27099
  40121. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  40122. msgstr ""
  40123. #. type: defvr
  40124. #: guix-git/doc/guix.texi:27100
  40125. #, no-wrap
  40126. msgid "{Scheme Variable} patchwork-service-type"
  40127. msgstr ""
  40128. #. type: defvr
  40129. #: guix-git/doc/guix.texi:27102
  40130. msgid "Service type for Patchwork."
  40131. msgstr ""
  40132. #. type: Plain text
  40133. #: guix-git/doc/guix.texi:27106
  40134. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  40135. msgstr ""
  40136. #. type: lisp
  40137. #: guix-git/doc/guix.texi:27126
  40138. #, no-wrap
  40139. msgid ""
  40140. "(service patchwork-service-type\n"
  40141. " (patchwork-configuration\n"
  40142. " (domain \"patchwork.example.com\")\n"
  40143. " (settings-module\n"
  40144. " (patchwork-settings-module\n"
  40145. " (allowed-hosts (list domain))\n"
  40146. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  40147. " (getmail-retriever-config\n"
  40148. " (getmail-retriever-configuration\n"
  40149. " (type \"SimpleIMAPSSLRetriever\")\n"
  40150. " (server \"imap.example.com\")\n"
  40151. " (port 993)\n"
  40152. " (username \"patchwork\")\n"
  40153. " (password-command\n"
  40154. " (list (file-append coreutils \"/bin/cat\")\n"
  40155. " \"/etc/getmail-patchwork-imap-password\"))\n"
  40156. " (extra-parameters\n"
  40157. " '((mailboxes . (\"Patches\"))))))))\n"
  40158. "\n"
  40159. msgstr ""
  40160. #. type: Plain text
  40161. #: guix-git/doc/guix.texi:27132
  40162. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  40163. msgstr ""
  40164. #. type: Plain text
  40165. #: guix-git/doc/guix.texi:27136
  40166. 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."
  40167. msgstr ""
  40168. #. type: Plain text
  40169. #: guix-git/doc/guix.texi:27140
  40170. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  40171. msgstr ""
  40172. #. type: deftp
  40173. #: guix-git/doc/guix.texi:27141
  40174. #, no-wrap
  40175. msgid "{Data Type} patchwork-configuration"
  40176. msgstr ""
  40177. #. type: deftp
  40178. #: guix-git/doc/guix.texi:27144
  40179. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  40180. msgstr ""
  40181. #. type: item
  40182. #: guix-git/doc/guix.texi:27146
  40183. #, no-wrap
  40184. msgid "@code{patchwork} (default: @code{patchwork})"
  40185. msgstr ""
  40186. #. type: table
  40187. #: guix-git/doc/guix.texi:27148
  40188. msgid "The Patchwork package to use."
  40189. msgstr ""
  40190. #. type: code{#1}
  40191. #: guix-git/doc/guix.texi:27149
  40192. #, no-wrap
  40193. msgid "domain"
  40194. msgstr ""
  40195. #. type: table
  40196. #: guix-git/doc/guix.texi:27152
  40197. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  40198. msgstr ""
  40199. #. type: code{#1}
  40200. #: guix-git/doc/guix.texi:27153
  40201. #, no-wrap
  40202. msgid "settings-module"
  40203. msgstr ""
  40204. #. type: table
  40205. #: guix-git/doc/guix.texi:27159
  40206. 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."
  40207. msgstr ""
  40208. #. type: item
  40209. #: guix-git/doc/guix.texi:27160
  40210. #, no-wrap
  40211. msgid "@code{static-path} (default: @code{\"/static/\"})"
  40212. msgstr ""
  40213. #. type: table
  40214. #: guix-git/doc/guix.texi:27162
  40215. msgid "The path under which the HTTPD service should serve the static files."
  40216. msgstr ""
  40217. #. type: code{#1}
  40218. #: guix-git/doc/guix.texi:27163
  40219. #, no-wrap
  40220. msgid "getmail-retriever-config"
  40221. msgstr ""
  40222. #. type: table
  40223. #: guix-git/doc/guix.texi:27167
  40224. 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."
  40225. msgstr ""
  40226. #. type: deftp
  40227. #: guix-git/doc/guix.texi:27171
  40228. #, no-wrap
  40229. msgid "{Data Type} patchwork-settings-module"
  40230. msgstr ""
  40231. #. type: deftp
  40232. #: guix-git/doc/guix.texi:27176
  40233. 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:"
  40234. msgstr ""
  40235. #. type: item
  40236. #: guix-git/doc/guix.texi:27178
  40237. #, no-wrap
  40238. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  40239. msgstr ""
  40240. #. type: table
  40241. #: guix-git/doc/guix.texi:27181
  40242. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  40243. msgstr ""
  40244. #. type: item
  40245. #: guix-git/doc/guix.texi:27182
  40246. #, no-wrap
  40247. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  40248. msgstr ""
  40249. #. type: table
  40250. #: guix-git/doc/guix.texi:27185
  40251. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  40252. msgstr ""
  40253. #. type: table
  40254. #: guix-git/doc/guix.texi:27188
  40255. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  40256. msgstr ""
  40257. #. type: table
  40258. #: guix-git/doc/guix.texi:27190
  40259. msgid "This setting relates to Django."
  40260. msgstr ""
  40261. #. type: code{#1}
  40262. #: guix-git/doc/guix.texi:27191
  40263. #, no-wrap
  40264. msgid "allowed-hosts"
  40265. msgstr ""
  40266. #. type: table
  40267. #: guix-git/doc/guix.texi:27194
  40268. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  40269. msgstr ""
  40270. #. type: table
  40271. #: guix-git/doc/guix.texi:27196 guix-git/doc/guix.texi:27210
  40272. #: guix-git/doc/guix.texi:27216 guix-git/doc/guix.texi:27222
  40273. msgid "This is a Django setting."
  40274. msgstr ""
  40275. #. type: code{#1}
  40276. #: guix-git/doc/guix.texi:27197
  40277. #, no-wrap
  40278. msgid "default-from-email"
  40279. msgstr ""
  40280. #. type: table
  40281. #: guix-git/doc/guix.texi:27199
  40282. msgid "The email address from which Patchwork should send email by default."
  40283. msgstr ""
  40284. #. type: table
  40285. #: guix-git/doc/guix.texi:27201 guix-git/doc/guix.texi:27227
  40286. #: guix-git/doc/guix.texi:27232 guix-git/doc/guix.texi:27237
  40287. msgid "This is a Patchwork setting."
  40288. msgstr ""
  40289. #. type: item
  40290. #: guix-git/doc/guix.texi:27202
  40291. #, no-wrap
  40292. msgid "@code{static-url} (default: @code{#f})"
  40293. msgstr ""
  40294. #. type: table
  40295. #: guix-git/doc/guix.texi:27205
  40296. 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{/}."
  40297. msgstr ""
  40298. #. type: table
  40299. #: guix-git/doc/guix.texi:27208
  40300. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  40301. msgstr ""
  40302. #. type: item
  40303. #: guix-git/doc/guix.texi:27211
  40304. #, no-wrap
  40305. msgid "@code{admins} (default: @code{'()})"
  40306. msgstr ""
  40307. #. type: table
  40308. #: guix-git/doc/guix.texi:27214
  40309. 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."
  40310. msgstr ""
  40311. #. type: table
  40312. #: guix-git/doc/guix.texi:27220
  40313. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  40314. msgstr ""
  40315. #. type: item
  40316. #: guix-git/doc/guix.texi:27223
  40317. #, no-wrap
  40318. msgid "@code{enable-rest-api?} (default: @code{#t})"
  40319. msgstr ""
  40320. #. type: table
  40321. #: guix-git/doc/guix.texi:27225
  40322. msgid "Whether to enable the Patchwork REST API."
  40323. msgstr ""
  40324. #. type: item
  40325. #: guix-git/doc/guix.texi:27228
  40326. #, no-wrap
  40327. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  40328. msgstr ""
  40329. #. type: table
  40330. #: guix-git/doc/guix.texi:27230
  40331. msgid "Whether to enable the XML RPC API."
  40332. msgstr ""
  40333. #. type: item
  40334. #: guix-git/doc/guix.texi:27233
  40335. #, no-wrap
  40336. msgid "@code{force-https-links?} (default: @code{#t})"
  40337. msgstr ""
  40338. #. type: table
  40339. #: guix-git/doc/guix.texi:27235
  40340. msgid "Whether to use HTTPS links on Patchwork pages."
  40341. msgstr ""
  40342. #. type: table
  40343. #: guix-git/doc/guix.texi:27240
  40344. msgid "Extra code to place at the end of the Patchwork settings module."
  40345. msgstr ""
  40346. #. type: deftp
  40347. #: guix-git/doc/guix.texi:27244
  40348. #, no-wrap
  40349. msgid "{Data Type} patchwork-database-configuration"
  40350. msgstr ""
  40351. #. type: deftp
  40352. #: guix-git/doc/guix.texi:27246
  40353. msgid "Data type representing the database configuration for Patchwork."
  40354. msgstr ""
  40355. #. type: item
  40356. #: guix-git/doc/guix.texi:27248
  40357. #, no-wrap
  40358. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  40359. msgstr ""
  40360. #. type: table
  40361. #: guix-git/doc/guix.texi:27250
  40362. msgid "The database engine to use."
  40363. msgstr ""
  40364. #. type: item
  40365. #: guix-git/doc/guix.texi:27251
  40366. #, no-wrap
  40367. msgid "@code{name} (default: @code{\"patchwork\"})"
  40368. msgstr ""
  40369. #. type: table
  40370. #: guix-git/doc/guix.texi:27253
  40371. msgid "The name of the database to use."
  40372. msgstr ""
  40373. #. type: table
  40374. #: guix-git/doc/guix.texi:27256
  40375. msgid "The user to connect to the database as."
  40376. msgstr ""
  40377. #. type: item
  40378. #: guix-git/doc/guix.texi:27257
  40379. #, no-wrap
  40380. msgid "@code{password} (default: @code{\"\"})"
  40381. msgstr ""
  40382. #. type: table
  40383. #: guix-git/doc/guix.texi:27259
  40384. msgid "The password to use when connecting to the database."
  40385. msgstr ""
  40386. #. type: item
  40387. #: guix-git/doc/guix.texi:27260
  40388. #, no-wrap
  40389. msgid "@code{host} (default: @code{\"\"})"
  40390. msgstr ""
  40391. #. type: table
  40392. #: guix-git/doc/guix.texi:27262
  40393. msgid "The host to make the database connection to."
  40394. msgstr ""
  40395. #. type: item
  40396. #: guix-git/doc/guix.texi:27263
  40397. #, no-wrap
  40398. msgid "@code{port} (default: @code{\"\"})"
  40399. msgstr ""
  40400. #. type: table
  40401. #: guix-git/doc/guix.texi:27265
  40402. msgid "The port on which to connect to the database."
  40403. msgstr ""
  40404. #. type: subsubheading
  40405. #: guix-git/doc/guix.texi:27269
  40406. #, no-wrap
  40407. msgid "Mumi"
  40408. msgstr ""
  40409. #. type: cindex
  40410. #: guix-git/doc/guix.texi:27271
  40411. #, no-wrap
  40412. msgid "Mumi, Debbugs Web interface"
  40413. msgstr ""
  40414. #. type: cindex
  40415. #: guix-git/doc/guix.texi:27272
  40416. #, no-wrap
  40417. msgid "Debbugs, Mumi Web interface"
  40418. msgstr ""
  40419. #. type: Plain text
  40420. #: guix-git/doc/guix.texi:27277
  40421. 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."
  40422. msgstr ""
  40423. #. type: defvr
  40424. #: guix-git/doc/guix.texi:27278
  40425. #, no-wrap
  40426. msgid "{Scheme Variable} mumi-service-type"
  40427. msgstr ""
  40428. #. type: defvr
  40429. #: guix-git/doc/guix.texi:27280
  40430. msgid "This is the service type for Mumi."
  40431. msgstr ""
  40432. #. type: deftp
  40433. #: guix-git/doc/guix.texi:27282
  40434. #, no-wrap
  40435. msgid "{Data Type} mumi-configuration"
  40436. msgstr ""
  40437. #. type: deftp
  40438. #: guix-git/doc/guix.texi:27285
  40439. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  40440. msgstr ""
  40441. #. type: item
  40442. #: guix-git/doc/guix.texi:27287
  40443. #, no-wrap
  40444. msgid "@code{mumi} (default: @code{mumi})"
  40445. msgstr ""
  40446. #. type: table
  40447. #: guix-git/doc/guix.texi:27289
  40448. msgid "The Mumi package to use."
  40449. msgstr ""
  40450. #. type: item
  40451. #: guix-git/doc/guix.texi:27290
  40452. #, no-wrap
  40453. msgid "@code{mailer?} (default: @code{#true})"
  40454. msgstr ""
  40455. #. type: table
  40456. #: guix-git/doc/guix.texi:27292
  40457. msgid "Whether to enable or disable the mailer component."
  40458. msgstr ""
  40459. #. type: code{#1}
  40460. #: guix-git/doc/guix.texi:27293
  40461. #, no-wrap
  40462. msgid "mumi-configuration-sender"
  40463. msgstr ""
  40464. #. type: table
  40465. #: guix-git/doc/guix.texi:27295
  40466. msgid "The email address used as the sender for comments."
  40467. msgstr ""
  40468. #. type: code{#1}
  40469. #: guix-git/doc/guix.texi:27296
  40470. #, no-wrap
  40471. msgid "mumi-configuration-smtp"
  40472. msgstr ""
  40473. #. type: table
  40474. #: guix-git/doc/guix.texi:27301
  40475. 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}."
  40476. msgstr ""
  40477. #. type: subsubheading
  40478. #: guix-git/doc/guix.texi:27306
  40479. #, no-wrap
  40480. msgid "FastCGI"
  40481. msgstr ""
  40482. #. type: cindex
  40483. #: guix-git/doc/guix.texi:27307
  40484. #, no-wrap
  40485. msgid "fastcgi"
  40486. msgstr ""
  40487. #. type: cindex
  40488. #: guix-git/doc/guix.texi:27308
  40489. #, no-wrap
  40490. msgid "fcgiwrap"
  40491. msgstr ""
  40492. #. type: Plain text
  40493. #: guix-git/doc/guix.texi:27315
  40494. 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."
  40495. msgstr ""
  40496. #. type: Plain text
  40497. #: guix-git/doc/guix.texi:27322
  40498. 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."
  40499. msgstr ""
  40500. #. type: defvr
  40501. #: guix-git/doc/guix.texi:27323
  40502. #, no-wrap
  40503. msgid "{Scheme Variable} fcgiwrap-service-type"
  40504. msgstr ""
  40505. #. type: defvr
  40506. #: guix-git/doc/guix.texi:27325
  40507. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  40508. msgstr ""
  40509. #. type: deftp
  40510. #: guix-git/doc/guix.texi:27327
  40511. #, no-wrap
  40512. msgid "{Data Type} fcgiwrap-configuration"
  40513. msgstr ""
  40514. #. type: deftp
  40515. #: guix-git/doc/guix.texi:27330
  40516. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  40517. msgstr ""
  40518. #. type: item
  40519. #: guix-git/doc/guix.texi:27331
  40520. #, no-wrap
  40521. msgid "@code{package} (default: @code{fcgiwrap})"
  40522. msgstr ""
  40523. #. type: table
  40524. #: guix-git/doc/guix.texi:27333
  40525. msgid "The fcgiwrap package to use."
  40526. msgstr ""
  40527. #. type: item
  40528. #: guix-git/doc/guix.texi:27334
  40529. #, no-wrap
  40530. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  40531. msgstr ""
  40532. #. type: table
  40533. #: guix-git/doc/guix.texi:27340
  40534. 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}."
  40535. msgstr ""
  40536. #. type: item
  40537. #: guix-git/doc/guix.texi:27341
  40538. #, no-wrap
  40539. msgid "@code{user} (default: @code{fcgiwrap})"
  40540. msgstr ""
  40541. #. type: itemx
  40542. #: guix-git/doc/guix.texi:27342
  40543. #, no-wrap
  40544. msgid "@code{group} (default: @code{fcgiwrap})"
  40545. msgstr ""
  40546. #. type: table
  40547. #: guix-git/doc/guix.texi:27347
  40548. 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."
  40549. msgstr ""
  40550. #. type: table
  40551. #: guix-git/doc/guix.texi:27354
  40552. 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."
  40553. msgstr ""
  40554. #. type: subsubheading
  40555. #: guix-git/doc/guix.texi:27358
  40556. #, no-wrap
  40557. msgid "PHP-FPM"
  40558. msgstr ""
  40559. #. type: cindex
  40560. #: guix-git/doc/guix.texi:27359
  40561. #, no-wrap
  40562. msgid "php-fpm"
  40563. msgstr ""
  40564. #. type: Plain text
  40565. #: guix-git/doc/guix.texi:27362
  40566. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  40567. msgstr ""
  40568. #. type: Plain text
  40569. #: guix-git/doc/guix.texi:27364
  40570. msgid "These features include:"
  40571. msgstr ""
  40572. #. type: item
  40573. #: guix-git/doc/guix.texi:27365
  40574. #, no-wrap
  40575. msgid "Adaptive process spawning"
  40576. msgstr ""
  40577. #. type: item
  40578. #: guix-git/doc/guix.texi:27366
  40579. #, no-wrap
  40580. msgid "Basic statistics (similar to Apache's mod_status)"
  40581. msgstr ""
  40582. #. type: item
  40583. #: guix-git/doc/guix.texi:27367
  40584. #, no-wrap
  40585. msgid "Advanced process management with graceful stop/start"
  40586. msgstr ""
  40587. #. type: item
  40588. #: guix-git/doc/guix.texi:27368
  40589. #, no-wrap
  40590. msgid "Ability to start workers with different uid/gid/chroot/environment"
  40591. msgstr ""
  40592. #. type: itemize
  40593. #: guix-git/doc/guix.texi:27370
  40594. msgid "and different php.ini (replaces safe_mode)"
  40595. msgstr ""
  40596. #. type: item
  40597. #: guix-git/doc/guix.texi:27370
  40598. #, no-wrap
  40599. msgid "Stdout & stderr logging"
  40600. msgstr ""
  40601. #. type: item
  40602. #: guix-git/doc/guix.texi:27371
  40603. #, no-wrap
  40604. msgid "Emergency restart in case of accidental opcode cache destruction"
  40605. msgstr ""
  40606. #. type: item
  40607. #: guix-git/doc/guix.texi:27372
  40608. #, no-wrap
  40609. msgid "Accelerated upload support"
  40610. msgstr ""
  40611. #. type: item
  40612. #: guix-git/doc/guix.texi:27373
  40613. #, no-wrap
  40614. msgid "Support for a \"slowlog\""
  40615. msgstr ""
  40616. #. type: item
  40617. #: guix-git/doc/guix.texi:27374
  40618. #, no-wrap
  40619. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  40620. msgstr ""
  40621. #. type: itemize
  40622. #: guix-git/doc/guix.texi:27377
  40623. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  40624. msgstr ""
  40625. #. type: Plain text
  40626. #: guix-git/doc/guix.texi:27379
  40627. msgid "...@: and much more."
  40628. msgstr "...@: e muito mais."
  40629. #. type: defvr
  40630. #: guix-git/doc/guix.texi:27380
  40631. #, no-wrap
  40632. msgid "{Scheme Variable} php-fpm-service-type"
  40633. msgstr ""
  40634. #. type: defvr
  40635. #: guix-git/doc/guix.texi:27382
  40636. msgid "A Service type for @code{php-fpm}."
  40637. msgstr ""
  40638. #. type: deftp
  40639. #: guix-git/doc/guix.texi:27384
  40640. #, no-wrap
  40641. msgid "{Data Type} php-fpm-configuration"
  40642. msgstr ""
  40643. #. type: deftp
  40644. #: guix-git/doc/guix.texi:27386
  40645. msgid "Data Type for php-fpm service configuration."
  40646. msgstr ""
  40647. #. type: item
  40648. #: guix-git/doc/guix.texi:27387
  40649. #, no-wrap
  40650. msgid "@code{php} (default: @code{php})"
  40651. msgstr ""
  40652. #. type: table
  40653. #: guix-git/doc/guix.texi:27389
  40654. msgid "The php package to use."
  40655. msgstr ""
  40656. #. type: item
  40657. #: guix-git/doc/guix.texi:27389
  40658. #, no-wrap
  40659. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  40660. msgstr ""
  40661. #. type: table
  40662. #: guix-git/doc/guix.texi:27391
  40663. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  40664. msgstr ""
  40665. #. type: code{#1}
  40666. #: guix-git/doc/guix.texi:27392
  40667. #, no-wrap
  40668. msgid "\"ip.add.re.ss:port\""
  40669. msgstr ""
  40670. #. type: table
  40671. #: guix-git/doc/guix.texi:27394
  40672. msgid "Listen on a TCP socket to a specific address on a specific port."
  40673. msgstr ""
  40674. #. type: code{#1}
  40675. #: guix-git/doc/guix.texi:27394
  40676. #, no-wrap
  40677. msgid "\"port\""
  40678. msgstr ""
  40679. #. type: table
  40680. #: guix-git/doc/guix.texi:27396
  40681. msgid "Listen on a TCP socket to all addresses on a specific port."
  40682. msgstr ""
  40683. #. type: code{#1}
  40684. #: guix-git/doc/guix.texi:27396
  40685. #, no-wrap
  40686. msgid "\"/path/to/unix/socket\""
  40687. msgstr ""
  40688. #. type: table
  40689. #: guix-git/doc/guix.texi:27398
  40690. msgid "Listen on a unix socket."
  40691. msgstr ""
  40692. #. type: item
  40693. #: guix-git/doc/guix.texi:27400
  40694. #, no-wrap
  40695. msgid "@code{user} (default: @code{php-fpm})"
  40696. msgstr ""
  40697. #. type: table
  40698. #: guix-git/doc/guix.texi:27402
  40699. msgid "User who will own the php worker processes."
  40700. msgstr ""
  40701. #. type: item
  40702. #: guix-git/doc/guix.texi:27402
  40703. #, no-wrap
  40704. msgid "@code{group} (default: @code{php-fpm})"
  40705. msgstr ""
  40706. #. type: table
  40707. #: guix-git/doc/guix.texi:27404
  40708. msgid "Group of the worker processes."
  40709. msgstr ""
  40710. #. type: item
  40711. #: guix-git/doc/guix.texi:27404
  40712. #, no-wrap
  40713. msgid "@code{socket-user} (default: @code{php-fpm})"
  40714. msgstr ""
  40715. #. type: table
  40716. #: guix-git/doc/guix.texi:27406
  40717. msgid "User who can speak to the php-fpm socket."
  40718. msgstr ""
  40719. #. type: item
  40720. #: guix-git/doc/guix.texi:27406
  40721. #, no-wrap
  40722. msgid "@code{socket-group} (default: @code{nginx})"
  40723. msgstr ""
  40724. #. type: table
  40725. #: guix-git/doc/guix.texi:27408
  40726. msgid "Group that can speak to the php-fpm socket."
  40727. msgstr ""
  40728. #. type: item
  40729. #: guix-git/doc/guix.texi:27408
  40730. #, no-wrap
  40731. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  40732. msgstr ""
  40733. #. type: table
  40734. #: guix-git/doc/guix.texi:27411
  40735. msgid "The process id of the php-fpm process is written to this file once the service has started."
  40736. msgstr ""
  40737. #. type: item
  40738. #: guix-git/doc/guix.texi:27411
  40739. #, no-wrap
  40740. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  40741. msgstr ""
  40742. #. type: table
  40743. #: guix-git/doc/guix.texi:27413
  40744. msgid "Log for the php-fpm master process."
  40745. msgstr ""
  40746. #. type: item
  40747. #: guix-git/doc/guix.texi:27413
  40748. #, no-wrap
  40749. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  40750. msgstr ""
  40751. #. type: table
  40752. #: guix-git/doc/guix.texi:27416
  40753. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  40754. msgstr ""
  40755. #. type: code{#1}
  40756. #: guix-git/doc/guix.texi:27417
  40757. #, no-wrap
  40758. msgid "<php-fpm-dynamic-process-manager-configuration>"
  40759. msgstr ""
  40760. #. type: code{#1}
  40761. #: guix-git/doc/guix.texi:27418
  40762. #, no-wrap
  40763. msgid "<php-fpm-static-process-manager-configuration>"
  40764. msgstr ""
  40765. #. type: code{#1}
  40766. #: guix-git/doc/guix.texi:27419
  40767. #, no-wrap
  40768. msgid "<php-fpm-on-demand-process-manager-configuration>"
  40769. msgstr ""
  40770. #. type: item
  40771. #: guix-git/doc/guix.texi:27421
  40772. #, no-wrap
  40773. msgid "@code{display-errors} (default @code{#f})"
  40774. msgstr ""
  40775. #. type: table
  40776. #: guix-git/doc/guix.texi:27426
  40777. 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."
  40778. msgstr ""
  40779. #. type: item
  40780. #: guix-git/doc/guix.texi:27426
  40781. #, no-wrap
  40782. msgid "@code{timezone} (default @code{#f})"
  40783. msgstr ""
  40784. #. type: table
  40785. #: guix-git/doc/guix.texi:27428
  40786. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  40787. msgstr ""
  40788. #. type: item
  40789. #: guix-git/doc/guix.texi:27428
  40790. #, no-wrap
  40791. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  40792. msgstr ""
  40793. #. type: table
  40794. #: guix-git/doc/guix.texi:27431
  40795. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  40796. msgstr ""
  40797. #. type: item
  40798. #: guix-git/doc/guix.texi:27431
  40799. #, no-wrap
  40800. msgid "@code{file} (default @code{#f})"
  40801. msgstr "@code{file} (default @code{#f})"
  40802. #. type: table
  40803. #: guix-git/doc/guix.texi:27434
  40804. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  40805. msgstr ""
  40806. #. type: item
  40807. #: guix-git/doc/guix.texi:27434
  40808. #, no-wrap
  40809. msgid "@code{php-ini-file} (default @code{#f})"
  40810. msgstr ""
  40811. #. type: table
  40812. #: guix-git/doc/guix.texi:27438
  40813. 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."
  40814. msgstr ""
  40815. #. type: table
  40816. #: guix-git/doc/guix.texi:27442
  40817. 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:"
  40818. msgstr ""
  40819. #. type: lisp
  40820. #: guix-git/doc/guix.texi:27447
  40821. #, no-wrap
  40822. msgid ""
  40823. "(define %local-php-ini\n"
  40824. " (plain-file \"php.ini\"\n"
  40825. " \"memory_limit = 2G\n"
  40826. "max_execution_time = 1800\"))\n"
  40827. "\n"
  40828. msgstr ""
  40829. #. type: lisp
  40830. #: guix-git/doc/guix.texi:27454
  40831. #, no-wrap
  40832. msgid ""
  40833. "(operating-system\n"
  40834. " ;; @dots{}\n"
  40835. " (services (cons (service php-fpm-service-type\n"
  40836. " (php-fpm-configuration\n"
  40837. " (php-ini-file %local-php-ini)))\n"
  40838. " %base-services)))\n"
  40839. msgstr ""
  40840. #. type: table
  40841. #: guix-git/doc/guix.texi:27459
  40842. 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."
  40843. msgstr ""
  40844. #. type: deftp
  40845. #: guix-git/doc/guix.texi:27462
  40846. #, no-wrap
  40847. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  40848. msgstr ""
  40849. #. type: deftp
  40850. #: guix-git/doc/guix.texi:27466
  40851. 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."
  40852. msgstr ""
  40853. #. type: item
  40854. #: guix-git/doc/guix.texi:27467 guix-git/doc/guix.texi:27483
  40855. #: guix-git/doc/guix.texi:27493
  40856. #, no-wrap
  40857. msgid "@code{max-children} (default: @code{5})"
  40858. msgstr ""
  40859. #. type: table
  40860. #: guix-git/doc/guix.texi:27469 guix-git/doc/guix.texi:27485
  40861. #: guix-git/doc/guix.texi:27495
  40862. msgid "Maximum of worker processes."
  40863. msgstr ""
  40864. #. type: item
  40865. #: guix-git/doc/guix.texi:27469
  40866. #, no-wrap
  40867. msgid "@code{start-servers} (default: @code{2})"
  40868. msgstr ""
  40869. #. type: table
  40870. #: guix-git/doc/guix.texi:27471
  40871. msgid "How many worker processes should be started on start-up."
  40872. msgstr ""
  40873. #. type: item
  40874. #: guix-git/doc/guix.texi:27471
  40875. #, no-wrap
  40876. msgid "@code{min-spare-servers} (default: @code{1})"
  40877. msgstr ""
  40878. #. type: table
  40879. #: guix-git/doc/guix.texi:27473
  40880. msgid "How many spare worker processes should be kept around at minimum."
  40881. msgstr ""
  40882. #. type: item
  40883. #: guix-git/doc/guix.texi:27473
  40884. #, no-wrap
  40885. msgid "@code{max-spare-servers} (default: @code{3})"
  40886. msgstr ""
  40887. #. type: table
  40888. #: guix-git/doc/guix.texi:27475
  40889. msgid "How many spare worker processes should be kept around at maximum."
  40890. msgstr ""
  40891. #. type: deftp
  40892. #: guix-git/doc/guix.texi:27478
  40893. #, no-wrap
  40894. msgid "{Data type} php-fpm-static-process-manager-configuration"
  40895. msgstr ""
  40896. #. type: deftp
  40897. #: guix-git/doc/guix.texi:27482
  40898. 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."
  40899. msgstr ""
  40900. #. type: deftp
  40901. #: guix-git/doc/guix.texi:27488
  40902. #, no-wrap
  40903. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  40904. msgstr ""
  40905. #. type: deftp
  40906. #: guix-git/doc/guix.texi:27492
  40907. 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."
  40908. msgstr ""
  40909. #. type: item
  40910. #: guix-git/doc/guix.texi:27495
  40911. #, no-wrap
  40912. msgid "@code{process-idle-timeout} (default: @code{10})"
  40913. msgstr ""
  40914. #. type: table
  40915. #: guix-git/doc/guix.texi:27497
  40916. msgid "The time in seconds after which a process with no requests is killed."
  40917. msgstr ""
  40918. #. type: deffn
  40919. #: guix-git/doc/guix.texi:27501
  40920. #, no-wrap
  40921. msgid "{Scheme Procedure} nginx-php-location @"
  40922. msgstr ""
  40923. #. type: deffn
  40924. #: guix-git/doc/guix.texi:27507
  40925. msgid "[#:nginx-package nginx] @ [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}."
  40926. msgstr ""
  40927. #. type: Plain text
  40928. #: guix-git/doc/guix.texi:27510
  40929. msgid "A simple services setup for nginx with php can look like this:"
  40930. msgstr ""
  40931. #. type: lisp
  40932. #: guix-git/doc/guix.texi:27523
  40933. #, no-wrap
  40934. msgid ""
  40935. "(services (cons* (service dhcp-client-service-type)\n"
  40936. " (service php-fpm-service-type)\n"
  40937. " (service nginx-service-type\n"
  40938. " (nginx-server-configuration\n"
  40939. " (server-name '(\"example.com\"))\n"
  40940. " (root \"/srv/http/\")\n"
  40941. " (locations\n"
  40942. " (list (nginx-php-location)))\n"
  40943. " (listen '(\"80\"))\n"
  40944. " (ssl-certificate #f)\n"
  40945. " (ssl-certificate-key #f)))\n"
  40946. " %base-services))\n"
  40947. msgstr ""
  40948. #. type: cindex
  40949. #: guix-git/doc/guix.texi:27525
  40950. #, no-wrap
  40951. msgid "cat-avatar-generator"
  40952. msgstr ""
  40953. #. type: Plain text
  40954. #: guix-git/doc/guix.texi:27529
  40955. 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."
  40956. msgstr ""
  40957. #. type: deffn
  40958. #: guix-git/doc/guix.texi:27530
  40959. #, no-wrap
  40960. msgid "{Scheme Procedure} cat-avatar-generator-service @"
  40961. msgstr ""
  40962. #. type: deffn
  40963. #: guix-git/doc/guix.texi:27538
  40964. 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."
  40965. msgstr ""
  40966. #. type: Plain text
  40967. #: guix-git/doc/guix.texi:27541
  40968. msgid "A simple setup for cat-avatar-generator can look like this:"
  40969. msgstr ""
  40970. #. type: lisp
  40971. #: guix-git/doc/guix.texi:27548
  40972. #, no-wrap
  40973. msgid ""
  40974. "(services (cons* (cat-avatar-generator-service\n"
  40975. " #:configuration\n"
  40976. " (nginx-server-configuration\n"
  40977. " (server-name '(\"example.com\"))))\n"
  40978. " ...\n"
  40979. " %base-services))\n"
  40980. msgstr ""
  40981. #. type: subsubheading
  40982. #: guix-git/doc/guix.texi:27550
  40983. #, no-wrap
  40984. msgid "Hpcguix-web"
  40985. msgstr ""
  40986. #. type: cindex
  40987. #: guix-git/doc/guix.texi:27552
  40988. #, no-wrap
  40989. msgid "hpcguix-web"
  40990. msgstr ""
  40991. #. type: Plain text
  40992. #: guix-git/doc/guix.texi:27557
  40993. 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."
  40994. msgstr ""
  40995. #. type: defvr
  40996. #: guix-git/doc/guix.texi:27558
  40997. #, no-wrap
  40998. msgid "{Scheme Variable} hpcguix-web-service-type"
  40999. msgstr ""
  41000. #. type: defvr
  41001. #: guix-git/doc/guix.texi:27560
  41002. msgid "The service type for @code{hpcguix-web}."
  41003. msgstr ""
  41004. #. type: deftp
  41005. #: guix-git/doc/guix.texi:27562
  41006. #, no-wrap
  41007. msgid "{Data Type} hpcguix-web-configuration"
  41008. msgstr ""
  41009. #. type: deftp
  41010. #: guix-git/doc/guix.texi:27564
  41011. msgid "Data type for the hpcguix-web service configuration."
  41012. msgstr ""
  41013. #. type: code{#1}
  41014. #: guix-git/doc/guix.texi:27566
  41015. #, no-wrap
  41016. msgid "specs"
  41017. msgstr ""
  41018. #. type: table
  41019. #: guix-git/doc/guix.texi:27569
  41020. msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:"
  41021. msgstr ""
  41022. #. type: item
  41023. #: guix-git/doc/guix.texi:27571
  41024. #, no-wrap
  41025. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  41026. msgstr ""
  41027. #. type: table
  41028. #: guix-git/doc/guix.texi:27573
  41029. msgid "The page title prefix."
  41030. msgstr ""
  41031. #. type: item
  41032. #: guix-git/doc/guix.texi:27574
  41033. #, no-wrap
  41034. msgid "@code{guix-command} (default: @code{\"guix\"})"
  41035. msgstr ""
  41036. #. type: table
  41037. #: guix-git/doc/guix.texi:27576
  41038. msgid "The @command{guix} command."
  41039. msgstr ""
  41040. #. type: item
  41041. #: guix-git/doc/guix.texi:27577
  41042. #, no-wrap
  41043. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  41044. msgstr ""
  41045. #. type: table
  41046. #: guix-git/doc/guix.texi:27579
  41047. msgid "A procedure specifying how to filter packages that are displayed."
  41048. msgstr ""
  41049. #. type: item
  41050. #: guix-git/doc/guix.texi:27580
  41051. #, no-wrap
  41052. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  41053. msgstr ""
  41054. #. type: table
  41055. #: guix-git/doc/guix.texi:27582
  41056. msgid "Extension package for @code{hpcguix-web}."
  41057. msgstr ""
  41058. #. type: item
  41059. #: guix-git/doc/guix.texi:27583
  41060. #, no-wrap
  41061. msgid "@code{menu} (default: @code{'()})"
  41062. msgstr ""
  41063. #. type: table
  41064. #: guix-git/doc/guix.texi:27585
  41065. msgid "Additional entry in page @code{menu}."
  41066. msgstr ""
  41067. #. type: item
  41068. #: guix-git/doc/guix.texi:27586
  41069. #, no-wrap
  41070. msgid "@code{channels} (default: @code{%default-channels})"
  41071. msgstr ""
  41072. #. type: table
  41073. #: guix-git/doc/guix.texi:27588
  41074. msgid "List of channels from which the package list is built (@pxref{Channels})."
  41075. msgstr ""
  41076. #. type: item
  41077. #: guix-git/doc/guix.texi:27589
  41078. #, no-wrap
  41079. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  41080. msgstr ""
  41081. #. type: table
  41082. #: guix-git/doc/guix.texi:27592
  41083. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  41084. msgstr ""
  41085. #. type: table
  41086. #: guix-git/doc/guix.texi:27597
  41087. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  41088. msgstr ""
  41089. #. type: item
  41090. #: guix-git/doc/guix.texi:27598
  41091. #, no-wrap
  41092. msgid "@code{package} (default: @code{hpcguix-web})"
  41093. msgstr ""
  41094. #. type: table
  41095. #: guix-git/doc/guix.texi:27600
  41096. msgid "The hpcguix-web package to use."
  41097. msgstr ""
  41098. #. type: item
  41099. #: guix-git/doc/guix.texi:27601
  41100. #, fuzzy, no-wrap
  41101. msgid "@code{address} (default: @code{\"127.0.0.1\"})"
  41102. msgstr "@code{porta} (default: @code{15000})"
  41103. #. type: table
  41104. #: guix-git/doc/guix.texi:27603
  41105. msgid "The IP address to listen to."
  41106. msgstr ""
  41107. #. type: item
  41108. #: guix-git/doc/guix.texi:27604
  41109. #, fuzzy, no-wrap
  41110. #| msgid "@code{port} (default: @code{15000})"
  41111. msgid "@code{port} (default: @code{5000})"
  41112. msgstr "@code{porta} (default: @code{15000})"
  41113. #. type: table
  41114. #: guix-git/doc/guix.texi:27606
  41115. msgid "The port number to listen to."
  41116. msgstr ""
  41117. #. type: Plain text
  41118. #: guix-git/doc/guix.texi:27610
  41119. msgid "A typical hpcguix-web service declaration looks like this:"
  41120. msgstr ""
  41121. #. type: lisp
  41122. #: guix-git/doc/guix.texi:27619
  41123. #, no-wrap
  41124. msgid ""
  41125. "(service hpcguix-web-service-type\n"
  41126. " (hpcguix-web-configuration\n"
  41127. " (specs\n"
  41128. " #~(define site-config\n"
  41129. " (hpcweb-configuration\n"
  41130. " (title-prefix \"Guix-HPC - \")\n"
  41131. " (menu '((\"/about\" \"ABOUT\"))))))))\n"
  41132. msgstr ""
  41133. #. type: quotation
  41134. #: guix-git/doc/guix.texi:27626
  41135. 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."
  41136. msgstr ""
  41137. #. type: quotation
  41138. #: guix-git/doc/guix.texi:27630
  41139. 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."
  41140. msgstr ""
  41141. #. type: cindex
  41142. #: guix-git/doc/guix.texi:27632 guix-git/doc/guix.texi:27634
  41143. #, no-wrap
  41144. msgid "gmnisrv"
  41145. msgstr ""
  41146. #. type: Plain text
  41147. #: guix-git/doc/guix.texi:27637
  41148. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  41149. msgstr ""
  41150. #. type: deffn
  41151. #: guix-git/doc/guix.texi:27638
  41152. #, no-wrap
  41153. msgid "{Scheme Variable} gmnisrv-service-type"
  41154. msgstr ""
  41155. #. type: deffn
  41156. #: guix-git/doc/guix.texi:27641
  41157. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  41158. msgstr ""
  41159. #. type: lisp
  41160. #: guix-git/doc/guix.texi:27646
  41161. #, no-wrap
  41162. msgid ""
  41163. "(service gmnisrv-service-type\n"
  41164. " (gmnisrv-configuration\n"
  41165. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  41166. msgstr ""
  41167. #. type: deftp
  41168. #: guix-git/doc/guix.texi:27649
  41169. #, no-wrap
  41170. msgid "{Data Type} gmnisrv-configuration"
  41171. msgstr ""
  41172. #. type: deftp
  41173. #: guix-git/doc/guix.texi:27651
  41174. msgid "Data type representing the configuration of gmnisrv."
  41175. msgstr ""
  41176. #. type: item
  41177. #: guix-git/doc/guix.texi:27653
  41178. #, no-wrap
  41179. msgid "@code{package} (default: @var{gmnisrv})"
  41180. msgstr ""
  41181. #. type: table
  41182. #: guix-git/doc/guix.texi:27655
  41183. msgid "Package object of the gmnisrv server."
  41184. msgstr ""
  41185. #. type: item
  41186. #: guix-git/doc/guix.texi:27656
  41187. #, no-wrap
  41188. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  41189. msgstr ""
  41190. #. type: table
  41191. #: guix-git/doc/guix.texi:27662
  41192. 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}."
  41193. msgstr ""
  41194. #. type: subsubheading
  41195. #: guix-git/doc/guix.texi:27666
  41196. #, no-wrap
  41197. msgid "Agate"
  41198. msgstr ""
  41199. #. type: cindex
  41200. #: guix-git/doc/guix.texi:27668
  41201. #, no-wrap
  41202. msgid "agate"
  41203. msgstr ""
  41204. #. type: Plain text
  41205. #: guix-git/doc/guix.texi:27673
  41206. 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."
  41207. msgstr ""
  41208. #. type: deffn
  41209. #: guix-git/doc/guix.texi:27674
  41210. #, no-wrap
  41211. msgid "{Scheme Variable} agate-service-type"
  41212. msgstr ""
  41213. #. type: deffn
  41214. #: guix-git/doc/guix.texi:27677
  41215. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  41216. msgstr ""
  41217. #. type: lisp
  41218. #: guix-git/doc/guix.texi:27684
  41219. #, no-wrap
  41220. msgid ""
  41221. "(service agate-service-type\n"
  41222. "\t (agate-configuration\n"
  41223. "\t (content \"/srv/gemini\")\n"
  41224. "\t (cert \"/srv/cert.pem\")\n"
  41225. "\t (key \"/srv/key.rsa\")))\n"
  41226. msgstr ""
  41227. #. type: deffn
  41228. #: guix-git/doc/guix.texi:27689
  41229. 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."
  41230. msgstr ""
  41231. #. type: deffn
  41232. #: guix-git/doc/guix.texi:27692
  41233. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  41234. msgstr ""
  41235. #. type: example
  41236. #: guix-git/doc/guix.texi:27696
  41237. #, no-wrap
  41238. msgid ""
  41239. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  41240. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  41241. msgstr ""
  41242. #. type: deffn
  41243. #: guix-git/doc/guix.texi:27701
  41244. 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."
  41245. msgstr ""
  41246. #. type: deftp
  41247. #: guix-git/doc/guix.texi:27704
  41248. #, no-wrap
  41249. msgid "{Data Type} agate-configuration"
  41250. msgstr ""
  41251. #. type: deftp
  41252. #: guix-git/doc/guix.texi:27706
  41253. msgid "Data type representing the configuration of Agate."
  41254. msgstr ""
  41255. #. type: item
  41256. #: guix-git/doc/guix.texi:27708
  41257. #, no-wrap
  41258. msgid "@code{package} (default: @code{agate})"
  41259. msgstr ""
  41260. #. type: table
  41261. #: guix-git/doc/guix.texi:27710
  41262. msgid "The package object of the Agate server."
  41263. msgstr ""
  41264. #. type: item
  41265. #: guix-git/doc/guix.texi:27711
  41266. #, no-wrap
  41267. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  41268. msgstr ""
  41269. #. type: table
  41270. #: guix-git/doc/guix.texi:27713
  41271. msgid "The directory from which Agate will serve files."
  41272. msgstr ""
  41273. #. type: item
  41274. #: guix-git/doc/guix.texi:27714
  41275. #, no-wrap
  41276. msgid "@code{cert} (default: @code{#f})"
  41277. msgstr ""
  41278. #. type: table
  41279. #: guix-git/doc/guix.texi:27717
  41280. 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."
  41281. msgstr ""
  41282. #. type: item
  41283. #: guix-git/doc/guix.texi:27718 guix-git/doc/guix.texi:28154
  41284. #, no-wrap
  41285. msgid "@code{key} (default: @code{#f})"
  41286. msgstr "@code{key} (default: @code{#f})"
  41287. #. type: table
  41288. #: guix-git/doc/guix.texi:27721
  41289. 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."
  41290. msgstr ""
  41291. #. type: item
  41292. #: guix-git/doc/guix.texi:27722
  41293. #, no-wrap
  41294. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  41295. msgstr ""
  41296. #. type: table
  41297. #: guix-git/doc/guix.texi:27724
  41298. msgid "A list of the addresses to listen on."
  41299. msgstr ""
  41300. #. type: table
  41301. #: guix-git/doc/guix.texi:27727
  41302. msgid "The domain name of this Gemini server. Optional."
  41303. msgstr ""
  41304. #. type: item
  41305. #: guix-git/doc/guix.texi:27728
  41306. #, no-wrap
  41307. msgid "@code{lang} (default: @code{#f})"
  41308. msgstr ""
  41309. #. type: table
  41310. #: guix-git/doc/guix.texi:27730
  41311. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  41312. msgstr ""
  41313. #. type: item
  41314. #: guix-git/doc/guix.texi:27731
  41315. #, no-wrap
  41316. msgid "@code{silent?} (default: @code{#f})"
  41317. msgstr ""
  41318. #. type: table
  41319. #: guix-git/doc/guix.texi:27733
  41320. msgid "Set to @code{#t} to disable logging output."
  41321. msgstr ""
  41322. #. type: item
  41323. #: guix-git/doc/guix.texi:27734
  41324. #, no-wrap
  41325. msgid "@code{serve-secret?} (default: @code{#f})"
  41326. msgstr ""
  41327. #. type: table
  41328. #: guix-git/doc/guix.texi:27737
  41329. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  41330. msgstr ""
  41331. #. type: item
  41332. #: guix-git/doc/guix.texi:27738
  41333. #, no-wrap
  41334. msgid "@code{log-ip?} (default: @code{#t})"
  41335. msgstr ""
  41336. #. type: table
  41337. #: guix-git/doc/guix.texi:27740
  41338. msgid "Whether or not to output IP addresses when logging."
  41339. msgstr ""
  41340. #. type: item
  41341. #: guix-git/doc/guix.texi:27741
  41342. #, no-wrap
  41343. msgid "@code{user} (default: @code{\"agate\"})"
  41344. msgstr ""
  41345. #. type: table
  41346. #: guix-git/doc/guix.texi:27743
  41347. msgid "Owner of the @code{agate} process."
  41348. msgstr ""
  41349. #. type: item
  41350. #: guix-git/doc/guix.texi:27744
  41351. #, no-wrap
  41352. msgid "@code{group} (default: @code{\"agate\"})"
  41353. msgstr ""
  41354. #. type: table
  41355. #: guix-git/doc/guix.texi:27746
  41356. msgid "Owner's group of the @code{agate} process."
  41357. msgstr ""
  41358. #. type: item
  41359. #: guix-git/doc/guix.texi:27747
  41360. #, no-wrap
  41361. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  41362. msgstr ""
  41363. #. type: table
  41364. #: guix-git/doc/guix.texi:27749
  41365. msgid "The file which should store the logging output of Agate."
  41366. msgstr ""
  41367. #. type: cindex
  41368. #: guix-git/doc/guix.texi:27756
  41369. #, no-wrap
  41370. msgid "Web"
  41371. msgstr ""
  41372. #. type: cindex
  41373. #: guix-git/doc/guix.texi:27757
  41374. #, no-wrap
  41375. msgid "HTTP, HTTPS"
  41376. msgstr ""
  41377. #. type: cindex
  41378. #: guix-git/doc/guix.texi:27758
  41379. #, no-wrap
  41380. msgid "Let's Encrypt"
  41381. msgstr ""
  41382. #. type: cindex
  41383. #: guix-git/doc/guix.texi:27759
  41384. #, no-wrap
  41385. msgid "TLS certificates"
  41386. msgstr ""
  41387. #. type: Plain text
  41388. #: guix-git/doc/guix.texi:27766
  41389. 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."
  41390. msgstr ""
  41391. #. type: Plain text
  41392. #: guix-git/doc/guix.texi:27778
  41393. 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."
  41394. msgstr ""
  41395. #. type: Plain text
  41396. #: guix-git/doc/guix.texi:27785
  41397. 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)."
  41398. msgstr ""
  41399. #. type: Plain text
  41400. #: guix-git/doc/guix.texi:27791
  41401. 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."
  41402. msgstr ""
  41403. #. type: Plain text
  41404. #: guix-git/doc/guix.texi:27795
  41405. 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}."
  41406. msgstr ""
  41407. #. type: defvr
  41408. #: guix-git/doc/guix.texi:27796
  41409. #, no-wrap
  41410. msgid "{Scheme Variable} certbot-service-type"
  41411. msgstr ""
  41412. #. type: defvr
  41413. #: guix-git/doc/guix.texi:27799
  41414. 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:"
  41415. msgstr ""
  41416. #. type: lisp
  41417. #: guix-git/doc/guix.texi:27806
  41418. #, no-wrap
  41419. msgid ""
  41420. "(define %nginx-deploy-hook\n"
  41421. " (program-file\n"
  41422. " \"nginx-deploy-hook\"\n"
  41423. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  41424. " (kill pid SIGHUP))))\n"
  41425. "\n"
  41426. msgstr ""
  41427. #. type: lisp
  41428. #: guix-git/doc/guix.texi:27817
  41429. #, no-wrap
  41430. msgid ""
  41431. "(service certbot-service-type\n"
  41432. " (certbot-configuration\n"
  41433. " (email \"foo@@example.net\")\n"
  41434. " (certificates\n"
  41435. " (list\n"
  41436. " (certificate-configuration\n"
  41437. " (domains '(\"example.net\" \"www.example.net\"))\n"
  41438. " (deploy-hook %nginx-deploy-hook))\n"
  41439. " (certificate-configuration\n"
  41440. " (domains '(\"bar.example.net\")))))))\n"
  41441. msgstr ""
  41442. #. type: defvr
  41443. #: guix-git/doc/guix.texi:27820
  41444. msgid "See below for details about @code{certbot-configuration}."
  41445. msgstr ""
  41446. #. type: deftp
  41447. #: guix-git/doc/guix.texi:27822
  41448. #, no-wrap
  41449. msgid "{Data Type} certbot-configuration"
  41450. msgstr ""
  41451. #. type: deftp
  41452. #: guix-git/doc/guix.texi:27825
  41453. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  41454. msgstr ""
  41455. #. type: item
  41456. #: guix-git/doc/guix.texi:27827
  41457. #, no-wrap
  41458. msgid "@code{package} (default: @code{certbot})"
  41459. msgstr ""
  41460. #. type: table
  41461. #: guix-git/doc/guix.texi:27829
  41462. msgid "The certbot package to use."
  41463. msgstr ""
  41464. #. type: item
  41465. #: guix-git/doc/guix.texi:27830
  41466. #, no-wrap
  41467. msgid "@code{webroot} (default: @code{/var/www})"
  41468. msgstr ""
  41469. #. type: table
  41470. #: guix-git/doc/guix.texi:27833
  41471. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  41472. msgstr ""
  41473. #. type: item
  41474. #: guix-git/doc/guix.texi:27834
  41475. #, no-wrap
  41476. msgid "@code{certificates} (default: @code{()})"
  41477. msgstr ""
  41478. #. type: table
  41479. #: guix-git/doc/guix.texi:27838
  41480. 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}."
  41481. msgstr ""
  41482. #. type: item
  41483. #: guix-git/doc/guix.texi:27839
  41484. #, no-wrap
  41485. msgid "@code{email} (default: @code{#f})"
  41486. msgstr ""
  41487. #. type: table
  41488. #: guix-git/doc/guix.texi:27843
  41489. 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."
  41490. msgstr ""
  41491. #. type: item
  41492. #: guix-git/doc/guix.texi:27844 guix-git/doc/guix.texi:29591
  41493. #, no-wrap
  41494. msgid "@code{server} (default: @code{#f})"
  41495. msgstr ""
  41496. #. type: table
  41497. #: guix-git/doc/guix.texi:27847
  41498. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  41499. msgstr ""
  41500. #. type: item
  41501. #: guix-git/doc/guix.texi:27848
  41502. #, no-wrap
  41503. msgid "@code{rsa-key-size} (default: @code{2048})"
  41504. msgstr ""
  41505. #. type: table
  41506. #: guix-git/doc/guix.texi:27850
  41507. msgid "Size of the RSA key."
  41508. msgstr ""
  41509. #. type: item
  41510. #: guix-git/doc/guix.texi:27851
  41511. #, no-wrap
  41512. msgid "@code{default-location} (default: @i{see below})"
  41513. msgstr ""
  41514. #. type: table
  41515. #: guix-git/doc/guix.texi:27860
  41516. 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."
  41517. msgstr ""
  41518. #. type: table
  41519. #: guix-git/doc/guix.texi:27864
  41520. 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."
  41521. msgstr ""
  41522. #. type: table
  41523. #: guix-git/doc/guix.texi:27868
  41524. 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}."
  41525. msgstr ""
  41526. #. type: table
  41527. #: guix-git/doc/guix.texi:27870
  41528. msgid "Pass @code{#f} to not issue a default location."
  41529. msgstr ""
  41530. #. type: deftp
  41531. #: guix-git/doc/guix.texi:27873
  41532. #, no-wrap
  41533. msgid "{Data Type} certificate-configuration"
  41534. msgstr ""
  41535. #. type: deftp
  41536. #: guix-git/doc/guix.texi:27876
  41537. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  41538. msgstr ""
  41539. #. type: item
  41540. #: guix-git/doc/guix.texi:27878
  41541. #, no-wrap
  41542. msgid "@code{name} (default: @i{see below})"
  41543. msgstr ""
  41544. #. type: table
  41545. #: guix-git/doc/guix.texi:27882
  41546. 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}."
  41547. msgstr ""
  41548. #. type: table
  41549. #: guix-git/doc/guix.texi:27884
  41550. msgid "Its default is the first provided domain."
  41551. msgstr ""
  41552. #. type: item
  41553. #: guix-git/doc/guix.texi:27885
  41554. #, no-wrap
  41555. msgid "@code{domains} (default: @code{()})"
  41556. msgstr ""
  41557. #. type: table
  41558. #: guix-git/doc/guix.texi:27888
  41559. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  41560. msgstr ""
  41561. #. type: item
  41562. #: guix-git/doc/guix.texi:27889
  41563. #, no-wrap
  41564. msgid "@code{challenge} (default: @code{#f})"
  41565. msgstr "@code{challenge} (default: @code{#f})"
  41566. #. type: table
  41567. #: guix-git/doc/guix.texi:27896
  41568. 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."
  41569. msgstr ""
  41570. #. type: item
  41571. #: guix-git/doc/guix.texi:27897
  41572. #, fuzzy, no-wrap
  41573. #| msgid "@code{chdir} (default: @code{#f})"
  41574. msgid "@code{csr} (default: @code{#f})"
  41575. msgstr "@code{chdir} (default: @code{#f})"
  41576. #. type: table
  41577. #: guix-git/doc/guix.texi:27904
  41578. 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."
  41579. msgstr ""
  41580. #. type: item
  41581. #: guix-git/doc/guix.texi:27905
  41582. #, no-wrap
  41583. msgid "@code{authentication-hook} (default: @code{#f})"
  41584. msgstr "@code{authentication-hook} (default: @code{#f})"
  41585. #. type: table
  41586. #: guix-git/doc/guix.texi:27911
  41587. 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."
  41588. msgstr ""
  41589. #. type: item
  41590. #: guix-git/doc/guix.texi:27912
  41591. #, no-wrap
  41592. msgid "@code{cleanup-hook} (default: @code{#f})"
  41593. msgstr "@code{cleanup-hook} (default: @code{#f})"
  41594. #. type: table
  41595. #: guix-git/doc/guix.texi:27918
  41596. 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."
  41597. msgstr ""
  41598. #. type: item
  41599. #: guix-git/doc/guix.texi:27919
  41600. #, no-wrap
  41601. msgid "@code{deploy-hook} (default: @code{#f})"
  41602. msgstr ""
  41603. #. type: table
  41604. #: guix-git/doc/guix.texi:27927
  41605. 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\"}."
  41606. msgstr ""
  41607. #. type: Plain text
  41608. #: guix-git/doc/guix.texi:27934
  41609. 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}."
  41610. msgstr ""
  41611. #. type: cindex
  41612. #: guix-git/doc/guix.texi:27936
  41613. #, no-wrap
  41614. msgid "DNS (domain name system)"
  41615. msgstr ""
  41616. #. type: cindex
  41617. #: guix-git/doc/guix.texi:27937
  41618. #, no-wrap
  41619. msgid "domain name system (DNS)"
  41620. msgstr ""
  41621. #. type: Plain text
  41622. #: guix-git/doc/guix.texi:27945
  41623. 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}."
  41624. msgstr ""
  41625. #. type: subsubheading
  41626. #: guix-git/doc/guix.texi:27946
  41627. #, no-wrap
  41628. msgid "Knot Service"
  41629. msgstr ""
  41630. #. type: Plain text
  41631. #: guix-git/doc/guix.texi:27950
  41632. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  41633. msgstr ""
  41634. #. type: lisp
  41635. #: guix-git/doc/guix.texi:27957
  41636. #, no-wrap
  41637. msgid ""
  41638. "(define-zone-entries example.org.zone\n"
  41639. ";; Name TTL Class Type Data\n"
  41640. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  41641. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  41642. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  41643. "\n"
  41644. msgstr ""
  41645. #. type: lisp
  41646. #: guix-git/doc/guix.texi:27964
  41647. #, no-wrap
  41648. msgid ""
  41649. "(define master-zone\n"
  41650. " (knot-zone-configuration\n"
  41651. " (domain \"example.org\")\n"
  41652. " (zone (zone-file\n"
  41653. " (origin \"example.org\")\n"
  41654. " (entries example.org.zone)))))\n"
  41655. "\n"
  41656. msgstr ""
  41657. #. type: lisp
  41658. #: guix-git/doc/guix.texi:27970
  41659. #, no-wrap
  41660. msgid ""
  41661. "(define slave-zone\n"
  41662. " (knot-zone-configuration\n"
  41663. " (domain \"plop.org\")\n"
  41664. " (dnssec-policy \"default\")\n"
  41665. " (master (list \"plop-master\"))))\n"
  41666. "\n"
  41667. msgstr ""
  41668. #. type: lisp
  41669. #: guix-git/doc/guix.texi:27975
  41670. #, no-wrap
  41671. msgid ""
  41672. "(define plop-master\n"
  41673. " (knot-remote-configuration\n"
  41674. " (id \"plop-master\")\n"
  41675. " (address (list \"208.76.58.171\"))))\n"
  41676. "\n"
  41677. msgstr ""
  41678. #. type: lisp
  41679. #: guix-git/doc/guix.texi:27984
  41680. #, no-wrap
  41681. msgid ""
  41682. "(operating-system\n"
  41683. " ;; ...\n"
  41684. " (services (cons* (service knot-service-type\n"
  41685. " (knot-configuration\n"
  41686. " (remotes (list plop-master))\n"
  41687. " (zones (list master-zone slave-zone))))\n"
  41688. " ;; ...\n"
  41689. " %base-services)))\n"
  41690. msgstr ""
  41691. #. type: deffn
  41692. #: guix-git/doc/guix.texi:27986
  41693. #, no-wrap
  41694. msgid "{Scheme Variable} knot-service-type"
  41695. msgstr ""
  41696. #. type: deffn
  41697. #: guix-git/doc/guix.texi:27988
  41698. msgid "This is the type for the Knot DNS server."
  41699. msgstr ""
  41700. #. type: deffn
  41701. #: guix-git/doc/guix.texi:27996
  41702. 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."
  41703. msgstr ""
  41704. #. type: deffn
  41705. #: guix-git/doc/guix.texi:27998
  41706. msgid "The following data types are used to configure the Knot DNS server:"
  41707. msgstr ""
  41708. #. type: deftp
  41709. #: guix-git/doc/guix.texi:28000
  41710. #, no-wrap
  41711. msgid "{Data Type} knot-key-configuration"
  41712. msgstr ""
  41713. #. type: deftp
  41714. #: guix-git/doc/guix.texi:28003
  41715. msgid "Data type representing a key. This type has the following parameters:"
  41716. msgstr ""
  41717. #. type: item
  41718. #: guix-git/doc/guix.texi:28005 guix-git/doc/guix.texi:28025
  41719. #: guix-git/doc/guix.texi:28140 guix-git/doc/guix.texi:28166
  41720. #: guix-git/doc/guix.texi:28201
  41721. #, no-wrap
  41722. msgid "@code{id} (default: @code{\"\"})"
  41723. msgstr ""
  41724. #. type: table
  41725. #: guix-git/doc/guix.texi:28008 guix-git/doc/guix.texi:28028
  41726. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  41727. msgstr ""
  41728. #. type: item
  41729. #: guix-git/doc/guix.texi:28009
  41730. #, no-wrap
  41731. msgid "@code{algorithm} (default: @code{#f})"
  41732. msgstr "@code{algorithm} (default: @code{#f})"
  41733. #. type: table
  41734. #: guix-git/doc/guix.texi:28013
  41735. 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}."
  41736. msgstr ""
  41737. #. type: item
  41738. #: guix-git/doc/guix.texi:28014
  41739. #, no-wrap
  41740. msgid "@code{secret} (default: @code{\"\"})"
  41741. msgstr ""
  41742. #. type: table
  41743. #: guix-git/doc/guix.texi:28016
  41744. msgid "The secret key itself."
  41745. msgstr ""
  41746. #. type: deftp
  41747. #: guix-git/doc/guix.texi:28020
  41748. #, no-wrap
  41749. msgid "{Data Type} knot-acl-configuration"
  41750. msgstr ""
  41751. #. type: deftp
  41752. #: guix-git/doc/guix.texi:28023
  41753. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  41754. msgstr ""
  41755. #. type: item
  41756. #: guix-git/doc/guix.texi:28029 guix-git/doc/guix.texi:28144
  41757. #, no-wrap
  41758. msgid "@code{address} (default: @code{'()})"
  41759. msgstr ""
  41760. #. type: table
  41761. #: guix-git/doc/guix.texi:28033
  41762. 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."
  41763. msgstr ""
  41764. #. type: item
  41765. #: guix-git/doc/guix.texi:28034
  41766. #, no-wrap
  41767. msgid "@code{key} (default: @code{'()})"
  41768. msgstr ""
  41769. #. type: table
  41770. #: guix-git/doc/guix.texi:28038
  41771. 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."
  41772. msgstr ""
  41773. #. type: item
  41774. #: guix-git/doc/guix.texi:28039
  41775. #, no-wrap
  41776. msgid "@code{action} (default: @code{'()})"
  41777. msgstr ""
  41778. #. type: table
  41779. #: guix-git/doc/guix.texi:28043
  41780. 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}."
  41781. msgstr ""
  41782. #. type: item
  41783. #: guix-git/doc/guix.texi:28044
  41784. #, no-wrap
  41785. msgid "@code{deny?} (default: @code{#f})"
  41786. msgstr "@code{deny?} (padrão: @code{#f})"
  41787. #. type: table
  41788. #: guix-git/doc/guix.texi:28047
  41789. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  41790. msgstr ""
  41791. #. type: deftp
  41792. #: guix-git/doc/guix.texi:28051
  41793. #, no-wrap
  41794. msgid "{Data Type} zone-entry"
  41795. msgstr ""
  41796. #. type: deftp
  41797. #: guix-git/doc/guix.texi:28054
  41798. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  41799. msgstr ""
  41800. #. type: item
  41801. #: guix-git/doc/guix.texi:28056
  41802. #, no-wrap
  41803. msgid "@code{name} (default: @code{\"@@\"})"
  41804. msgstr ""
  41805. #. type: table
  41806. #: guix-git/doc/guix.texi:28062
  41807. 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}."
  41808. msgstr ""
  41809. #. type: item
  41810. #: guix-git/doc/guix.texi:28063
  41811. #, no-wrap
  41812. msgid "@code{ttl} (default: @code{\"\"})"
  41813. msgstr ""
  41814. #. type: table
  41815. #: guix-git/doc/guix.texi:28065
  41816. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  41817. msgstr ""
  41818. #. type: item
  41819. #: guix-git/doc/guix.texi:28066
  41820. #, no-wrap
  41821. msgid "@code{class} (default: @code{\"IN\"})"
  41822. msgstr ""
  41823. #. type: table
  41824. #: guix-git/doc/guix.texi:28069
  41825. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  41826. msgstr ""
  41827. #. type: item
  41828. #: guix-git/doc/guix.texi:28070
  41829. #, no-wrap
  41830. msgid "@code{type} (default: @code{\"A\"})"
  41831. msgstr ""
  41832. #. type: table
  41833. #: guix-git/doc/guix.texi:28074
  41834. 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."
  41835. msgstr ""
  41836. #. type: item
  41837. #: guix-git/doc/guix.texi:28075
  41838. #, no-wrap
  41839. msgid "@code{data} (default: @code{\"\"})"
  41840. msgstr ""
  41841. #. type: table
  41842. #: guix-git/doc/guix.texi:28079
  41843. 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."
  41844. msgstr ""
  41845. #. type: deftp
  41846. #: guix-git/doc/guix.texi:28083
  41847. #, no-wrap
  41848. msgid "{Data Type} zone-file"
  41849. msgstr ""
  41850. #. type: deftp
  41851. #: guix-git/doc/guix.texi:28086
  41852. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  41853. msgstr ""
  41854. #. type: table
  41855. #: guix-git/doc/guix.texi:28095
  41856. 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}."
  41857. msgstr ""
  41858. #. type: item
  41859. #: guix-git/doc/guix.texi:28096
  41860. #, no-wrap
  41861. msgid "@code{origin} (default: @code{\"\"})"
  41862. msgstr ""
  41863. #. type: table
  41864. #: guix-git/doc/guix.texi:28098
  41865. msgid "The name of your zone. This parameter cannot be empty."
  41866. msgstr ""
  41867. #. type: item
  41868. #: guix-git/doc/guix.texi:28099
  41869. #, no-wrap
  41870. msgid "@code{ns} (default: @code{\"ns\"})"
  41871. msgstr ""
  41872. #. type: table
  41873. #: guix-git/doc/guix.texi:28104
  41874. 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."
  41875. msgstr ""
  41876. #. type: item
  41877. #: guix-git/doc/guix.texi:28105
  41878. #, no-wrap
  41879. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  41880. msgstr ""
  41881. #. type: table
  41882. #: guix-git/doc/guix.texi:28108
  41883. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  41884. msgstr ""
  41885. #. type: item
  41886. #: guix-git/doc/guix.texi:28109
  41887. #, no-wrap
  41888. msgid "@code{serial} (default: @code{1})"
  41889. msgstr ""
  41890. #. type: table
  41891. #: guix-git/doc/guix.texi:28113
  41892. 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."
  41893. msgstr ""
  41894. #. type: item
  41895. #: guix-git/doc/guix.texi:28114
  41896. #, no-wrap
  41897. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  41898. msgstr ""
  41899. #. type: table
  41900. #: guix-git/doc/guix.texi:28118
  41901. 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)}."
  41902. msgstr ""
  41903. #. type: item
  41904. #: guix-git/doc/guix.texi:28119
  41905. #, no-wrap
  41906. msgid "@code{retry} (default: @code{(* 15 60)})"
  41907. msgstr ""
  41908. #. type: table
  41909. #: guix-git/doc/guix.texi:28122
  41910. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  41911. msgstr ""
  41912. #. type: item
  41913. #: guix-git/doc/guix.texi:28123
  41914. #, no-wrap
  41915. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  41916. msgstr ""
  41917. #. type: table
  41918. #: guix-git/doc/guix.texi:28127
  41919. 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."
  41920. msgstr ""
  41921. #. type: item
  41922. #: guix-git/doc/guix.texi:28128
  41923. #, no-wrap
  41924. msgid "@code{nx} (default: @code{3600})"
  41925. msgstr ""
  41926. #. type: table
  41927. #: guix-git/doc/guix.texi:28131
  41928. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  41929. msgstr ""
  41930. #. type: deftp
  41931. #: guix-git/doc/guix.texi:28135
  41932. #, no-wrap
  41933. msgid "{Data Type} knot-remote-configuration"
  41934. msgstr ""
  41935. #. type: deftp
  41936. #: guix-git/doc/guix.texi:28138
  41937. msgid "Data type representing a remote configuration. This type has the following parameters:"
  41938. msgstr ""
  41939. #. type: table
  41940. #: guix-git/doc/guix.texi:28143
  41941. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  41942. msgstr ""
  41943. #. type: table
  41944. #: guix-git/doc/guix.texi:28148
  41945. 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."
  41946. msgstr ""
  41947. #. type: item
  41948. #: guix-git/doc/guix.texi:28149
  41949. #, no-wrap
  41950. msgid "@code{via} (default: @code{'()})"
  41951. msgstr ""
  41952. #. type: table
  41953. #: guix-git/doc/guix.texi:28153
  41954. 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."
  41955. msgstr ""
  41956. #. type: table
  41957. #: guix-git/doc/guix.texi:28157
  41958. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  41959. msgstr ""
  41960. #. type: deftp
  41961. #: guix-git/doc/guix.texi:28161
  41962. #, no-wrap
  41963. msgid "{Data Type} knot-keystore-configuration"
  41964. msgstr ""
  41965. #. type: deftp
  41966. #: guix-git/doc/guix.texi:28164
  41967. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  41968. msgstr ""
  41969. #. type: table
  41970. #: guix-git/doc/guix.texi:28168
  41971. msgid "The id of the keystore. It must not be empty."
  41972. msgstr ""
  41973. #. type: item
  41974. #: guix-git/doc/guix.texi:28169
  41975. #, no-wrap
  41976. msgid "@code{backend} (default: @code{'pem})"
  41977. msgstr ""
  41978. #. type: table
  41979. #: guix-git/doc/guix.texi:28171
  41980. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  41981. msgstr ""
  41982. #. type: item
  41983. #: guix-git/doc/guix.texi:28172
  41984. #, no-wrap
  41985. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  41986. msgstr ""
  41987. #. type: table
  41988. #: guix-git/doc/guix.texi:28176
  41989. 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."
  41990. msgstr ""
  41991. #. type: deftp
  41992. #: guix-git/doc/guix.texi:28180
  41993. #, no-wrap
  41994. msgid "{Data Type} knot-policy-configuration"
  41995. msgstr ""
  41996. #. type: deftp
  41997. #: guix-git/doc/guix.texi:28184
  41998. 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."
  41999. msgstr ""
  42000. #. type: deftp
  42001. #: guix-git/doc/guix.texi:28191
  42002. 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."
  42003. msgstr ""
  42004. #. type: deftp
  42005. #: guix-git/doc/guix.texi:28197
  42006. 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."
  42007. msgstr ""
  42008. #. type: deftp
  42009. #: guix-git/doc/guix.texi:28199
  42010. msgid "This type has the following parameters:"
  42011. msgstr ""
  42012. #. type: table
  42013. #: guix-git/doc/guix.texi:28203
  42014. msgid "The id of the policy. It must not be empty."
  42015. msgstr ""
  42016. #. type: item
  42017. #: guix-git/doc/guix.texi:28204
  42018. #, no-wrap
  42019. msgid "@code{keystore} (default: @code{\"default\"})"
  42020. msgstr ""
  42021. #. type: table
  42022. #: guix-git/doc/guix.texi:28209
  42023. 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)."
  42024. msgstr ""
  42025. #. type: item
  42026. #: guix-git/doc/guix.texi:28210
  42027. #, no-wrap
  42028. msgid "@code{manual?} (default: @code{#f})"
  42029. msgstr "@code{manual?} (default: @code{#f})"
  42030. #. type: table
  42031. #: guix-git/doc/guix.texi:28212
  42032. msgid "Whether the key management is manual or automatic."
  42033. msgstr ""
  42034. #. type: item
  42035. #: guix-git/doc/guix.texi:28213
  42036. #, no-wrap
  42037. msgid "@code{single-type-signing?} (default: @code{#f})"
  42038. msgstr ""
  42039. #. type: table
  42040. #: guix-git/doc/guix.texi:28215
  42041. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  42042. msgstr ""
  42043. #. type: item
  42044. #: guix-git/doc/guix.texi:28216
  42045. #, no-wrap
  42046. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  42047. msgstr ""
  42048. #. type: table
  42049. #: guix-git/doc/guix.texi:28218
  42050. msgid "An algorithm of signing keys and issued signatures."
  42051. msgstr ""
  42052. #. type: item
  42053. #: guix-git/doc/guix.texi:28219
  42054. #, no-wrap
  42055. msgid "@code{ksk-size} (default: @code{256})"
  42056. msgstr ""
  42057. #. type: table
  42058. #: guix-git/doc/guix.texi:28222
  42059. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  42060. msgstr ""
  42061. #. type: item
  42062. #: guix-git/doc/guix.texi:28223
  42063. #, no-wrap
  42064. msgid "@code{zsk-size} (default: @code{256})"
  42065. msgstr ""
  42066. #. type: table
  42067. #: guix-git/doc/guix.texi:28226
  42068. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  42069. msgstr ""
  42070. #. type: item
  42071. #: guix-git/doc/guix.texi:28227
  42072. #, no-wrap
  42073. msgid "@code{dnskey-ttl} (default: @code{'default})"
  42074. msgstr ""
  42075. #. type: table
  42076. #: guix-git/doc/guix.texi:28230
  42077. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  42078. msgstr ""
  42079. #. type: item
  42080. #: guix-git/doc/guix.texi:28231
  42081. #, no-wrap
  42082. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  42083. msgstr ""
  42084. #. type: table
  42085. #: guix-git/doc/guix.texi:28233
  42086. msgid "The period between ZSK publication and the next rollover initiation."
  42087. msgstr ""
  42088. #. type: item
  42089. #: guix-git/doc/guix.texi:28234
  42090. #, no-wrap
  42091. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  42092. msgstr ""
  42093. #. type: table
  42094. #: guix-git/doc/guix.texi:28237
  42095. 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."
  42096. msgstr ""
  42097. #. type: item
  42098. #: guix-git/doc/guix.texi:28238
  42099. #, no-wrap
  42100. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  42101. msgstr ""
  42102. #. type: table
  42103. #: guix-git/doc/guix.texi:28240
  42104. msgid "A validity period of newly issued signatures."
  42105. msgstr ""
  42106. #. type: item
  42107. #: guix-git/doc/guix.texi:28241
  42108. #, no-wrap
  42109. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  42110. msgstr ""
  42111. #. type: table
  42112. #: guix-git/doc/guix.texi:28243
  42113. msgid "A period how long before a signature expiration the signature will be refreshed."
  42114. msgstr ""
  42115. #. type: item
  42116. #: guix-git/doc/guix.texi:28244
  42117. #, no-wrap
  42118. msgid "@code{nsec3?} (default: @code{#f})"
  42119. msgstr "@code{nsec3?} (padrão: @code{#f})"
  42120. #. type: table
  42121. #: guix-git/doc/guix.texi:28246
  42122. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  42123. msgstr ""
  42124. #. type: item
  42125. #: guix-git/doc/guix.texi:28247
  42126. #, no-wrap
  42127. msgid "@code{nsec3-iterations} (default: @code{5})"
  42128. msgstr ""
  42129. #. type: table
  42130. #: guix-git/doc/guix.texi:28249
  42131. msgid "The number of additional times the hashing is performed."
  42132. msgstr ""
  42133. #. type: item
  42134. #: guix-git/doc/guix.texi:28250
  42135. #, no-wrap
  42136. msgid "@code{nsec3-salt-length} (default: @code{8})"
  42137. msgstr ""
  42138. #. type: table
  42139. #: guix-git/doc/guix.texi:28253
  42140. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  42141. msgstr ""
  42142. #. type: item
  42143. #: guix-git/doc/guix.texi:28254
  42144. #, no-wrap
  42145. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  42146. msgstr ""
  42147. #. type: table
  42148. #: guix-git/doc/guix.texi:28256
  42149. msgid "The validity period of newly issued salt field."
  42150. msgstr ""
  42151. #. type: deftp
  42152. #: guix-git/doc/guix.texi:28260
  42153. #, no-wrap
  42154. msgid "{Data Type} knot-zone-configuration"
  42155. msgstr ""
  42156. #. type: deftp
  42157. #: guix-git/doc/guix.texi:28263
  42158. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  42159. msgstr ""
  42160. #. type: item
  42161. #: guix-git/doc/guix.texi:28265
  42162. #, no-wrap
  42163. msgid "@code{domain} (default: @code{\"\"})"
  42164. msgstr ""
  42165. #. type: table
  42166. #: guix-git/doc/guix.texi:28267
  42167. msgid "The domain served by this configuration. It must not be empty."
  42168. msgstr ""
  42169. #. type: item
  42170. #: guix-git/doc/guix.texi:28268
  42171. #, no-wrap
  42172. msgid "@code{file} (default: @code{\"\"})"
  42173. msgstr ""
  42174. #. type: table
  42175. #: guix-git/doc/guix.texi:28271
  42176. 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."
  42177. msgstr ""
  42178. #. type: item
  42179. #: guix-git/doc/guix.texi:28272
  42180. #, no-wrap
  42181. msgid "@code{zone} (default: @code{(zone-file)})"
  42182. msgstr ""
  42183. #. type: table
  42184. #: guix-git/doc/guix.texi:28275
  42185. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  42186. msgstr ""
  42187. #. type: item
  42188. #: guix-git/doc/guix.texi:28276
  42189. #, no-wrap
  42190. msgid "@code{master} (default: @code{'()})"
  42191. msgstr ""
  42192. #. type: table
  42193. #: guix-git/doc/guix.texi:28279
  42194. 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."
  42195. msgstr ""
  42196. #. type: item
  42197. #: guix-git/doc/guix.texi:28280
  42198. #, no-wrap
  42199. msgid "@code{ddns-master} (default: @code{#f})"
  42200. msgstr ""
  42201. #. type: table
  42202. #: guix-git/doc/guix.texi:28283
  42203. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  42204. msgstr ""
  42205. #. type: item
  42206. #: guix-git/doc/guix.texi:28284
  42207. #, no-wrap
  42208. msgid "@code{notify} (default: @code{'()})"
  42209. msgstr ""
  42210. #. type: table
  42211. #: guix-git/doc/guix.texi:28286
  42212. msgid "A list of slave remote identifiers."
  42213. msgstr ""
  42214. #. type: item
  42215. #: guix-git/doc/guix.texi:28287
  42216. #, no-wrap
  42217. msgid "@code{acl} (default: @code{'()})"
  42218. msgstr ""
  42219. #. type: table
  42220. #: guix-git/doc/guix.texi:28289
  42221. msgid "A list of acl identifiers."
  42222. msgstr ""
  42223. #. type: item
  42224. #: guix-git/doc/guix.texi:28290
  42225. #, no-wrap
  42226. msgid "@code{semantic-checks?} (default: @code{#f})"
  42227. msgstr ""
  42228. #. type: table
  42229. #: guix-git/doc/guix.texi:28292
  42230. msgid "When set, this adds more semantic checks to the zone."
  42231. msgstr ""
  42232. #. type: item
  42233. #: guix-git/doc/guix.texi:28293
  42234. #, no-wrap
  42235. msgid "@code{zonefile-sync} (default: @code{0})"
  42236. msgstr ""
  42237. #. type: table
  42238. #: guix-git/doc/guix.texi:28296
  42239. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  42240. msgstr ""
  42241. #. type: item
  42242. #: guix-git/doc/guix.texi:28297
  42243. #, no-wrap
  42244. msgid "@code{zonefile-load} (default: @code{#f})"
  42245. msgstr "@code{zonefile-load} (default: @code{#f})"
  42246. #. type: table
  42247. #: guix-git/doc/guix.texi:28300
  42248. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  42249. msgstr ""
  42250. #. type: item
  42251. #: guix-git/doc/guix.texi:28302
  42252. #, no-wrap
  42253. msgid "@code{#f} for using the default value from Knot,"
  42254. msgstr ""
  42255. #. type: item
  42256. #: guix-git/doc/guix.texi:28303
  42257. #, no-wrap
  42258. msgid "@code{'none} for not using the zone file at all,"
  42259. msgstr ""
  42260. #. type: item
  42261. #: guix-git/doc/guix.texi:28304
  42262. #, no-wrap
  42263. msgid "@code{'difference} for computing the difference between already available"
  42264. msgstr ""
  42265. #. type: itemize
  42266. #: guix-git/doc/guix.texi:28306
  42267. msgid "contents and zone contents and applying it to the current zone contents,"
  42268. msgstr ""
  42269. #. type: item
  42270. #: guix-git/doc/guix.texi:28306
  42271. #, no-wrap
  42272. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  42273. msgstr ""
  42274. #. type: itemize
  42275. #: guix-git/doc/guix.texi:28309
  42276. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  42277. msgstr ""
  42278. #. type: item
  42279. #: guix-git/doc/guix.texi:28309
  42280. #, no-wrap
  42281. msgid "@code{'whole} for loading zone contents from the zone file."
  42282. msgstr ""
  42283. #. type: item
  42284. #: guix-git/doc/guix.texi:28312
  42285. #, no-wrap
  42286. msgid "@code{journal-content} (default: @code{#f})"
  42287. msgstr ""
  42288. #. type: table
  42289. #: guix-git/doc/guix.texi:28317
  42290. 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."
  42291. msgstr ""
  42292. #. type: item
  42293. #: guix-git/doc/guix.texi:28318
  42294. #, no-wrap
  42295. msgid "@code{max-journal-usage} (default: @code{#f})"
  42296. msgstr "@code{max-journal-usage} (default: @code{#f})"
  42297. #. type: table
  42298. #: guix-git/doc/guix.texi:28321
  42299. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  42300. msgstr ""
  42301. #. type: item
  42302. #: guix-git/doc/guix.texi:28322
  42303. #, no-wrap
  42304. msgid "@code{max-journal-depth} (default: @code{#f})"
  42305. msgstr "@code{max-journal-depth} (default: @code{#f})"
  42306. #. type: table
  42307. #: guix-git/doc/guix.texi:28325
  42308. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  42309. msgstr ""
  42310. #. type: item
  42311. #: guix-git/doc/guix.texi:28326
  42312. #, no-wrap
  42313. msgid "@code{max-zone-size} (default: @code{#f})"
  42314. msgstr "@code{max-zone-size} (default: @code{#f})"
  42315. #. type: table
  42316. #: guix-git/doc/guix.texi:28330
  42317. 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."
  42318. msgstr ""
  42319. #. type: item
  42320. #: guix-git/doc/guix.texi:28331
  42321. #, no-wrap
  42322. msgid "@code{dnssec-policy} (default: @code{#f})"
  42323. msgstr "@code{dnssec-policy} (default: @code{#f})"
  42324. #. type: table
  42325. #: guix-git/doc/guix.texi:28335
  42326. 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."
  42327. msgstr ""
  42328. #. type: item
  42329. #: guix-git/doc/guix.texi:28336
  42330. #, no-wrap
  42331. msgid "@code{serial-policy} (default: @code{'increment})"
  42332. msgstr ""
  42333. #. type: table
  42334. #: guix-git/doc/guix.texi:28338
  42335. msgid "A policy between @code{'increment} and @code{'unixtime}."
  42336. msgstr ""
  42337. #. type: deftp
  42338. #: guix-git/doc/guix.texi:28342
  42339. #, no-wrap
  42340. msgid "{Data Type} knot-configuration"
  42341. msgstr ""
  42342. #. type: deftp
  42343. #: guix-git/doc/guix.texi:28345
  42344. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  42345. msgstr ""
  42346. #. type: item
  42347. #: guix-git/doc/guix.texi:28347
  42348. #, no-wrap
  42349. msgid "@code{knot} (default: @code{knot})"
  42350. msgstr ""
  42351. #. type: table
  42352. #: guix-git/doc/guix.texi:28349
  42353. msgid "The Knot package."
  42354. msgstr ""
  42355. #. type: item
  42356. #: guix-git/doc/guix.texi:28350
  42357. #, no-wrap
  42358. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  42359. msgstr ""
  42360. #. type: table
  42361. #: guix-git/doc/guix.texi:28352
  42362. msgid "The run directory. This directory will be used for pid file and sockets."
  42363. msgstr ""
  42364. #. type: item
  42365. #: guix-git/doc/guix.texi:28353
  42366. #, no-wrap
  42367. msgid "@code{includes} (default: @code{'()})"
  42368. msgstr ""
  42369. #. type: table
  42370. #: guix-git/doc/guix.texi:28356
  42371. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  42372. msgstr ""
  42373. #. type: cindex
  42374. #: guix-git/doc/guix.texi:28357
  42375. #, no-wrap
  42376. msgid "secrets, Knot service"
  42377. msgstr ""
  42378. #. type: table
  42379. #: guix-git/doc/guix.texi:28363
  42380. 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."
  42381. msgstr ""
  42382. #. type: table
  42383. #: guix-git/doc/guix.texi:28368
  42384. 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:"
  42385. msgstr ""
  42386. #. type: example
  42387. #: guix-git/doc/guix.texi:28372
  42388. #, no-wrap
  42389. msgid ""
  42390. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  42391. "chmod 600 /etc/knot/secrets.conf\n"
  42392. msgstr ""
  42393. #. type: table
  42394. #: guix-git/doc/guix.texi:28378
  42395. 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."
  42396. msgstr ""
  42397. #. type: table
  42398. #: guix-git/doc/guix.texi:28380
  42399. msgid "It can also be used to add configuration not supported by this interface."
  42400. msgstr ""
  42401. #. type: item
  42402. #: guix-git/doc/guix.texi:28381
  42403. #, no-wrap
  42404. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  42405. msgstr ""
  42406. #. type: table
  42407. #: guix-git/doc/guix.texi:28383 guix-git/doc/guix.texi:28386
  42408. msgid "An ip address on which to listen."
  42409. msgstr ""
  42410. #. type: item
  42411. #: guix-git/doc/guix.texi:28384
  42412. #, no-wrap
  42413. msgid "@code{listen-v6} (default: @code{\"::\"})"
  42414. msgstr ""
  42415. #. type: item
  42416. #: guix-git/doc/guix.texi:28387
  42417. #, no-wrap
  42418. msgid "@code{listen-port} (default: @code{53})"
  42419. msgstr ""
  42420. #. type: table
  42421. #: guix-git/doc/guix.texi:28389
  42422. msgid "A port on which to listen."
  42423. msgstr ""
  42424. #. type: item
  42425. #: guix-git/doc/guix.texi:28390
  42426. #, no-wrap
  42427. msgid "@code{keys} (default: @code{'()})"
  42428. msgstr ""
  42429. #. type: table
  42430. #: guix-git/doc/guix.texi:28392
  42431. msgid "The list of knot-key-configuration used by this configuration."
  42432. msgstr ""
  42433. #. type: item
  42434. #: guix-git/doc/guix.texi:28393
  42435. #, no-wrap
  42436. msgid "@code{acls} (default: @code{'()})"
  42437. msgstr ""
  42438. #. type: table
  42439. #: guix-git/doc/guix.texi:28395
  42440. msgid "The list of knot-acl-configuration used by this configuration."
  42441. msgstr ""
  42442. #. type: item
  42443. #: guix-git/doc/guix.texi:28396
  42444. #, no-wrap
  42445. msgid "@code{remotes} (default: @code{'()})"
  42446. msgstr ""
  42447. #. type: table
  42448. #: guix-git/doc/guix.texi:28398
  42449. msgid "The list of knot-remote-configuration used by this configuration."
  42450. msgstr ""
  42451. #. type: item
  42452. #: guix-git/doc/guix.texi:28399
  42453. #, no-wrap
  42454. msgid "@code{zones} (default: @code{'()})"
  42455. msgstr ""
  42456. #. type: table
  42457. #: guix-git/doc/guix.texi:28401
  42458. msgid "The list of knot-zone-configuration used by this configuration."
  42459. msgstr ""
  42460. #. type: subsubheading
  42461. #: guix-git/doc/guix.texi:28405
  42462. #, no-wrap
  42463. msgid "Knot Resolver Service"
  42464. msgstr ""
  42465. #. type: deffn
  42466. #: guix-git/doc/guix.texi:28407
  42467. #, no-wrap
  42468. msgid "{Scheme Variable} knot-resolver-service-type"
  42469. msgstr ""
  42470. #. type: deffn
  42471. #: guix-git/doc/guix.texi:28410
  42472. msgid "This is the type of the knot resolver service, whose value should be an @code{knot-resolver-configuration} object as in this example:"
  42473. msgstr ""
  42474. #. type: lisp
  42475. #: guix-git/doc/guix.texi:28420
  42476. #, no-wrap
  42477. msgid ""
  42478. "(service knot-resolver-service-type\n"
  42479. " (knot-resolver-configuration\n"
  42480. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  42481. "net.listen('192.168.0.1', 5353)\n"
  42482. "user('knot-resolver', 'knot-resolver')\n"
  42483. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  42484. "cache.size = 100 * MB\n"
  42485. "\"))))\n"
  42486. msgstr ""
  42487. #. type: deffn
  42488. #: guix-git/doc/guix.texi:28423
  42489. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.org/en/stable/daemon.html#configuration, manual}."
  42490. msgstr ""
  42491. #. type: deftp
  42492. #: guix-git/doc/guix.texi:28425
  42493. #, no-wrap
  42494. msgid "{Data Type} knot-resolver-configuration"
  42495. msgstr ""
  42496. #. type: deftp
  42497. #: guix-git/doc/guix.texi:28427
  42498. msgid "Data type representing the configuration of knot-resolver."
  42499. msgstr ""
  42500. #. type: item
  42501. #: guix-git/doc/guix.texi:28429
  42502. #, no-wrap
  42503. msgid "@code{package} (default: @var{knot-resolver})"
  42504. msgstr ""
  42505. #. type: table
  42506. #: guix-git/doc/guix.texi:28431
  42507. msgid "Package object of the knot DNS resolver."
  42508. msgstr ""
  42509. #. type: item
  42510. #: guix-git/doc/guix.texi:28432
  42511. #, no-wrap
  42512. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  42513. msgstr ""
  42514. #. type: table
  42515. #: guix-git/doc/guix.texi:28435
  42516. 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}."
  42517. msgstr ""
  42518. #. type: item
  42519. #: guix-git/doc/guix.texi:28436
  42520. #, no-wrap
  42521. msgid "@code{garbage-collection-interval} (default: 1000)"
  42522. msgstr ""
  42523. #. type: table
  42524. #: guix-git/doc/guix.texi:28438
  42525. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  42526. msgstr ""
  42527. #. type: subsubheading
  42528. #: guix-git/doc/guix.texi:28443
  42529. #, no-wrap
  42530. msgid "Dnsmasq Service"
  42531. msgstr ""
  42532. #. type: deffn
  42533. #: guix-git/doc/guix.texi:28445
  42534. #, no-wrap
  42535. msgid "{Scheme Variable} dnsmasq-service-type"
  42536. msgstr ""
  42537. #. type: deffn
  42538. #: guix-git/doc/guix.texi:28448
  42539. msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:"
  42540. msgstr ""
  42541. #. type: lisp
  42542. #: guix-git/doc/guix.texi:28454
  42543. #, no-wrap
  42544. msgid ""
  42545. "(service dnsmasq-service-type\n"
  42546. " (dnsmasq-configuration\n"
  42547. " (no-resolv? #t)\n"
  42548. " (servers '(\"192.168.1.1\"))))\n"
  42549. msgstr ""
  42550. #. type: deftp
  42551. #: guix-git/doc/guix.texi:28457
  42552. #, no-wrap
  42553. msgid "{Data Type} dnsmasq-configuration"
  42554. msgstr ""
  42555. #. type: deftp
  42556. #: guix-git/doc/guix.texi:28459
  42557. msgid "Data type representing the configuration of dnsmasq."
  42558. msgstr ""
  42559. #. type: item
  42560. #: guix-git/doc/guix.texi:28461
  42561. #, no-wrap
  42562. msgid "@code{package} (default: @var{dnsmasq})"
  42563. msgstr ""
  42564. #. type: table
  42565. #: guix-git/doc/guix.texi:28463
  42566. msgid "Package object of the dnsmasq server."
  42567. msgstr ""
  42568. #. type: item
  42569. #: guix-git/doc/guix.texi:28464
  42570. #, no-wrap
  42571. msgid "@code{no-hosts?} (default: @code{#f})"
  42572. msgstr "@code{no-hosts?} (padrão: @code{#f})"
  42573. #. type: table
  42574. #: guix-git/doc/guix.texi:28466
  42575. msgid "When true, don't read the hostnames in /etc/hosts."
  42576. msgstr ""
  42577. #. type: item
  42578. #: guix-git/doc/guix.texi:28467
  42579. #, no-wrap
  42580. msgid "@code{port} (default: @code{53})"
  42581. msgstr "@code{porta} (default: @code{53})"
  42582. #. type: table
  42583. #: guix-git/doc/guix.texi:28470
  42584. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  42585. msgstr ""
  42586. #. type: item
  42587. #: guix-git/doc/guix.texi:28471
  42588. #, no-wrap
  42589. msgid "@code{local-service?} (default: @code{#t})"
  42590. msgstr "@code{local-service?} (default: @code{#t})"
  42591. #. type: table
  42592. #: guix-git/doc/guix.texi:28474
  42593. 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."
  42594. msgstr ""
  42595. #. type: item
  42596. #: guix-git/doc/guix.texi:28475
  42597. #, no-wrap
  42598. msgid "@code{listen-addresses} (default: @code{'()})"
  42599. msgstr ""
  42600. #. type: table
  42601. #: guix-git/doc/guix.texi:28477
  42602. msgid "Listen on the given IP addresses."
  42603. msgstr ""
  42604. #. type: item
  42605. #: guix-git/doc/guix.texi:28478
  42606. #, no-wrap
  42607. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  42608. msgstr ""
  42609. #. type: table
  42610. #: guix-git/doc/guix.texi:28480
  42611. msgid "The file to read the IP address of the upstream nameservers from."
  42612. msgstr ""
  42613. #. type: item
  42614. #: guix-git/doc/guix.texi:28481
  42615. #, no-wrap
  42616. msgid "@code{no-resolv?} (default: @code{#f})"
  42617. msgstr "@code{no-resolv?} (padrão: @code{#f})"
  42618. #. type: table
  42619. #: guix-git/doc/guix.texi:28483
  42620. msgid "When true, don't read @var{resolv-file}."
  42621. msgstr ""
  42622. #. type: item
  42623. #: guix-git/doc/guix.texi:28484
  42624. #, no-wrap
  42625. msgid "@code{servers} (default: @code{'()})"
  42626. msgstr ""
  42627. #. type: table
  42628. #: guix-git/doc/guix.texi:28486
  42629. msgid "Specify IP address of upstream servers directly."
  42630. msgstr ""
  42631. #. type: item
  42632. #: guix-git/doc/guix.texi:28487
  42633. #, no-wrap
  42634. msgid "@code{addresses} (default: @code{'()})"
  42635. msgstr ""
  42636. #. type: table
  42637. #: guix-git/doc/guix.texi:28491
  42638. 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."
  42639. msgstr ""
  42640. #. type: table
  42641. #: guix-git/doc/guix.texi:28493
  42642. msgid "This is useful for redirecting hosts locally, for example:"
  42643. msgstr ""
  42644. #. type: lisp
  42645. #: guix-git/doc/guix.texi:28502
  42646. #, no-wrap
  42647. msgid ""
  42648. "(service dnsmasq-service-type\n"
  42649. " (dnsmasq-configuration\n"
  42650. " (addresses\n"
  42651. " '(; Redirect to a local web-server.\n"
  42652. " \"/example.org/127.0.0.1\"\n"
  42653. " ; Redirect subdomain to a specific IP.\n"
  42654. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  42655. msgstr ""
  42656. #. type: table
  42657. #: guix-git/doc/guix.texi:28505
  42658. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  42659. msgstr ""
  42660. #. type: item
  42661. #: guix-git/doc/guix.texi:28506
  42662. #, no-wrap
  42663. msgid "@code{cache-size} (default: @code{150})"
  42664. msgstr "@code{cache-size} (default: @code{150})"
  42665. #. type: table
  42666. #: guix-git/doc/guix.texi:28509
  42667. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  42668. msgstr ""
  42669. #. type: item
  42670. #: guix-git/doc/guix.texi:28510
  42671. #, no-wrap
  42672. msgid "@code{negative-cache?} (default: @code{#t})"
  42673. msgstr "@code{negative-cache?} (padrão: @code{#t})"
  42674. #. type: table
  42675. #: guix-git/doc/guix.texi:28512
  42676. msgid "When false, disable negative caching."
  42677. msgstr ""
  42678. #. type: item
  42679. #: guix-git/doc/guix.texi:28513
  42680. #, no-wrap
  42681. msgid "@code{tftp-enable?} (default: @code{#f})"
  42682. msgstr ""
  42683. #. type: table
  42684. #: guix-git/doc/guix.texi:28515
  42685. msgid "Whether to enable the built-in TFTP server."
  42686. msgstr ""
  42687. #. type: item
  42688. #: guix-git/doc/guix.texi:28516
  42689. #, no-wrap
  42690. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  42691. msgstr ""
  42692. #. type: table
  42693. #: guix-git/doc/guix.texi:28518
  42694. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  42695. msgstr ""
  42696. #. type: item
  42697. #: guix-git/doc/guix.texi:28519
  42698. #, no-wrap
  42699. msgid "@code{tftp-single-port?} (default: @code{#f})"
  42700. msgstr ""
  42701. #. type: table
  42702. #: guix-git/doc/guix.texi:28521
  42703. msgid "Whether to use only one single port for TFTP."
  42704. msgstr ""
  42705. #. type: item
  42706. #: guix-git/doc/guix.texi:28522
  42707. #, no-wrap
  42708. msgid "@code{tftp-secure?} (default: @code{#f})"
  42709. msgstr ""
  42710. #. type: table
  42711. #: guix-git/doc/guix.texi:28524
  42712. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  42713. msgstr ""
  42714. #. type: table
  42715. #: guix-git/doc/guix.texi:28528
  42716. 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."
  42717. msgstr ""
  42718. #. type: item
  42719. #: guix-git/doc/guix.texi:28529
  42720. #, no-wrap
  42721. msgid "@code{tftp-max} (default: @code{#f})"
  42722. msgstr ""
  42723. #. type: table
  42724. #: guix-git/doc/guix.texi:28531
  42725. msgid "If set, sets the maximal number of concurrent connections allowed."
  42726. msgstr ""
  42727. #. type: item
  42728. #: guix-git/doc/guix.texi:28532
  42729. #, no-wrap
  42730. msgid "@code{tftp-mtu} (default: @code{#f})"
  42731. msgstr ""
  42732. #. type: table
  42733. #: guix-git/doc/guix.texi:28534
  42734. msgid "If set, sets the MTU for TFTP packets to that value."
  42735. msgstr ""
  42736. #. type: item
  42737. #: guix-git/doc/guix.texi:28535
  42738. #, no-wrap
  42739. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  42740. msgstr ""
  42741. #. type: table
  42742. #: guix-git/doc/guix.texi:28537
  42743. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  42744. msgstr ""
  42745. #. type: item
  42746. #: guix-git/doc/guix.texi:28538
  42747. #, no-wrap
  42748. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  42749. msgstr ""
  42750. #. type: table
  42751. #: guix-git/doc/guix.texi:28540
  42752. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  42753. msgstr ""
  42754. #. type: item
  42755. #: guix-git/doc/guix.texi:28541
  42756. #, no-wrap
  42757. msgid "@code{tftp-port-range} (default: @code{#f})"
  42758. msgstr ""
  42759. #. type: table
  42760. #: guix-git/doc/guix.texi:28544
  42761. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  42762. msgstr ""
  42763. #. type: item
  42764. #: guix-git/doc/guix.texi:28545
  42765. #, no-wrap
  42766. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  42767. msgstr ""
  42768. #. type: table
  42769. #: guix-git/doc/guix.texi:28552
  42770. 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."
  42771. msgstr ""
  42772. #. type: item
  42773. #: guix-git/doc/guix.texi:28553
  42774. #, no-wrap
  42775. msgid "@code{tftp-unique-root} (default: @code{#f})"
  42776. msgstr ""
  42777. #. type: table
  42778. #: guix-git/doc/guix.texi:28558
  42779. 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)."
  42780. msgstr ""
  42781. #. type: table
  42782. #: guix-git/doc/guix.texi:28567
  42783. 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."
  42784. msgstr ""
  42785. #. type: subsubheading
  42786. #: guix-git/doc/guix.texi:28571
  42787. #, no-wrap
  42788. msgid "ddclient Service"
  42789. msgstr ""
  42790. #. type: cindex
  42791. #: guix-git/doc/guix.texi:28573
  42792. #, no-wrap
  42793. msgid "ddclient"
  42794. msgstr ""
  42795. #. type: Plain text
  42796. #: guix-git/doc/guix.texi:28577
  42797. 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}."
  42798. msgstr ""
  42799. #. type: Plain text
  42800. #: guix-git/doc/guix.texi:28580
  42801. msgid "The following example show instantiates the service with its default configuration:"
  42802. msgstr ""
  42803. #. type: lisp
  42804. #: guix-git/doc/guix.texi:28583
  42805. #, no-wrap
  42806. msgid "(service ddclient-service-type)\n"
  42807. msgstr ""
  42808. #. type: Plain text
  42809. #: guix-git/doc/guix.texi:28592
  42810. 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."
  42811. msgstr ""
  42812. #. type: Plain text
  42813. #: guix-git/doc/guix.texi:28596
  42814. msgid "Available @code{ddclient-configuration} fields are:"
  42815. msgstr ""
  42816. #. type: deftypevr
  42817. #: guix-git/doc/guix.texi:28597
  42818. #, no-wrap
  42819. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  42820. msgstr ""
  42821. #. type: deftypevr
  42822. #: guix-git/doc/guix.texi:28599
  42823. msgid "The ddclient package."
  42824. msgstr ""
  42825. #. type: deftypevr
  42826. #: guix-git/doc/guix.texi:28602
  42827. #, no-wrap
  42828. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  42829. msgstr ""
  42830. #. type: deftypevr
  42831. #: guix-git/doc/guix.texi:28604
  42832. msgid "The period after which ddclient will retry to check IP and domain name."
  42833. msgstr ""
  42834. #. type: deftypevr
  42835. #: guix-git/doc/guix.texi:28606
  42836. msgid "Defaults to @samp{300}."
  42837. msgstr ""
  42838. #. type: deftypevr
  42839. #: guix-git/doc/guix.texi:28609
  42840. #, no-wrap
  42841. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  42842. msgstr ""
  42843. #. type: deftypevr
  42844. #: guix-git/doc/guix.texi:28611
  42845. msgid "Use syslog for the output."
  42846. msgstr ""
  42847. #. type: deftypevr
  42848. #: guix-git/doc/guix.texi:28616
  42849. #, no-wrap
  42850. msgid "{@code{ddclient-configuration} parameter} string mail"
  42851. msgstr ""
  42852. #. type: deftypevr
  42853. #: guix-git/doc/guix.texi:28618
  42854. msgid "Mail to user."
  42855. msgstr ""
  42856. #. type: deftypevr
  42857. #: guix-git/doc/guix.texi:28620 guix-git/doc/guix.texi:28627
  42858. #: guix-git/doc/guix.texi:30457
  42859. msgid "Defaults to @samp{\"root\"}."
  42860. msgstr ""
  42861. #. type: deftypevr
  42862. #: guix-git/doc/guix.texi:28623
  42863. #, no-wrap
  42864. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  42865. msgstr ""
  42866. #. type: deftypevr
  42867. #: guix-git/doc/guix.texi:28625
  42868. msgid "Mail failed update to user."
  42869. msgstr ""
  42870. #. type: deftypevr
  42871. #: guix-git/doc/guix.texi:28630
  42872. #, no-wrap
  42873. msgid "{@code{ddclient-configuration} parameter} string pid"
  42874. msgstr ""
  42875. #. type: deftypevr
  42876. #: guix-git/doc/guix.texi:28632
  42877. msgid "The ddclient PID file."
  42878. msgstr ""
  42879. #. type: deftypevr
  42880. #: guix-git/doc/guix.texi:28634
  42881. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  42882. msgstr ""
  42883. #. type: deftypevr
  42884. #: guix-git/doc/guix.texi:28637
  42885. #, no-wrap
  42886. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  42887. msgstr ""
  42888. #. type: deftypevr
  42889. #: guix-git/doc/guix.texi:28639
  42890. msgid "Enable SSL support."
  42891. msgstr ""
  42892. #. type: deftypevr
  42893. #: guix-git/doc/guix.texi:28644
  42894. #, no-wrap
  42895. msgid "{@code{ddclient-configuration} parameter} string user"
  42896. msgstr ""
  42897. #. type: deftypevr
  42898. #: guix-git/doc/guix.texi:28647
  42899. msgid "Specifies the user name or ID that is used when running ddclient program."
  42900. msgstr ""
  42901. #. type: deftypevr
  42902. #: guix-git/doc/guix.texi:28649 guix-git/doc/guix.texi:28656
  42903. msgid "Defaults to @samp{\"ddclient\"}."
  42904. msgstr ""
  42905. #. type: deftypevr
  42906. #: guix-git/doc/guix.texi:28652
  42907. #, no-wrap
  42908. msgid "{@code{ddclient-configuration} parameter} string group"
  42909. msgstr ""
  42910. #. type: deftypevr
  42911. #: guix-git/doc/guix.texi:28654
  42912. msgid "Group of the user who will run the ddclient program."
  42913. msgstr ""
  42914. #. type: deftypevr
  42915. #: guix-git/doc/guix.texi:28659
  42916. #, no-wrap
  42917. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  42918. msgstr ""
  42919. #. type: deftypevr
  42920. #: guix-git/doc/guix.texi:28663
  42921. 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."
  42922. msgstr ""
  42923. #. type: deftypevr
  42924. #: guix-git/doc/guix.texi:28665
  42925. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  42926. msgstr ""
  42927. #. type: deftypevr
  42928. #: guix-git/doc/guix.texi:28668
  42929. #, no-wrap
  42930. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  42931. msgstr ""
  42932. #. type: deftypevr
  42933. #: guix-git/doc/guix.texi:28670
  42934. msgid "Extra options will be appended to @file{ddclient.conf} file."
  42935. msgstr ""
  42936. #. type: cindex
  42937. #: guix-git/doc/guix.texi:28681
  42938. #, no-wrap
  42939. msgid "VPN (virtual private network)"
  42940. msgstr ""
  42941. #. type: cindex
  42942. #: guix-git/doc/guix.texi:28682
  42943. #, no-wrap
  42944. msgid "virtual private network (VPN)"
  42945. msgstr ""
  42946. #. type: Plain text
  42947. #: guix-git/doc/guix.texi:28686
  42948. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  42949. msgstr ""
  42950. #. type: subsubheading
  42951. #: guix-git/doc/guix.texi:28687
  42952. #, no-wrap
  42953. msgid "Bitmask"
  42954. msgstr ""
  42955. #. type: defvr
  42956. #: guix-git/doc/guix.texi:28689
  42957. #, fuzzy, no-wrap
  42958. msgid "{Scheme Variable} bitmask-service-type"
  42959. msgstr "guix-publish-service-type"
  42960. #. type: defvr
  42961. #: guix-git/doc/guix.texi:28694
  42962. 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."
  42963. msgstr ""
  42964. #. type: subsubheading
  42965. #: guix-git/doc/guix.texi:28696
  42966. #, no-wrap
  42967. msgid "OpenVPN"
  42968. msgstr ""
  42969. #. type: Plain text
  42970. #: guix-git/doc/guix.texi:28700
  42971. 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@."
  42972. msgstr ""
  42973. #. type: deffn
  42974. #: guix-git/doc/guix.texi:28701
  42975. #, no-wrap
  42976. msgid "{Scheme Procedure} openvpn-client-service @"
  42977. msgstr ""
  42978. #. type: deffn
  42979. #: guix-git/doc/guix.texi:28703
  42980. msgid "[#:config (openvpn-client-configuration)]"
  42981. msgstr ""
  42982. #. type: deffn
  42983. #: guix-git/doc/guix.texi:28705
  42984. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client."
  42985. msgstr ""
  42986. #. type: deffn
  42987. #: guix-git/doc/guix.texi:28707
  42988. #, no-wrap
  42989. msgid "{Scheme Procedure} openvpn-server-service @"
  42990. msgstr ""
  42991. #. type: deffn
  42992. #: guix-git/doc/guix.texi:28709
  42993. msgid "[#:config (openvpn-server-configuration)]"
  42994. msgstr ""
  42995. #. type: deffn
  42996. #: guix-git/doc/guix.texi:28711
  42997. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server."
  42998. msgstr ""
  42999. #. type: deffn
  43000. #: guix-git/doc/guix.texi:28713
  43001. msgid "Both can be run simultaneously."
  43002. msgstr ""
  43003. #. type: Plain text
  43004. #: guix-git/doc/guix.texi:28718
  43005. msgid "Available @code{openvpn-client-configuration} fields are:"
  43006. msgstr ""
  43007. #. type: deftypevr
  43008. #: guix-git/doc/guix.texi:28719
  43009. #, no-wrap
  43010. msgid "{@code{openvpn-client-configuration} parameter} package openvpn"
  43011. msgstr ""
  43012. #. type: deftypevr
  43013. #: guix-git/doc/guix.texi:28721 guix-git/doc/guix.texi:28876
  43014. msgid "The OpenVPN package."
  43015. msgstr ""
  43016. #. type: deftypevr
  43017. #: guix-git/doc/guix.texi:28724
  43018. #, no-wrap
  43019. msgid "{@code{openvpn-client-configuration} parameter} string pid-file"
  43020. msgstr ""
  43021. #. type: deftypevr
  43022. #: guix-git/doc/guix.texi:28726 guix-git/doc/guix.texi:28881
  43023. msgid "The OpenVPN pid file."
  43024. msgstr ""
  43025. #. type: deftypevr
  43026. #: guix-git/doc/guix.texi:28728 guix-git/doc/guix.texi:28883
  43027. msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}."
  43028. msgstr ""
  43029. #. type: deftypevr
  43030. #: guix-git/doc/guix.texi:28731
  43031. #, no-wrap
  43032. msgid "{@code{openvpn-client-configuration} parameter} proto proto"
  43033. msgstr ""
  43034. #. type: deftypevr
  43035. #: guix-git/doc/guix.texi:28734 guix-git/doc/guix.texi:28889
  43036. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  43037. msgstr ""
  43038. #. type: deftypevr
  43039. #: guix-git/doc/guix.texi:28736 guix-git/doc/guix.texi:28891
  43040. msgid "Defaults to @samp{udp}."
  43041. msgstr ""
  43042. #. type: deftypevr
  43043. #: guix-git/doc/guix.texi:28739
  43044. #, no-wrap
  43045. msgid "{@code{openvpn-client-configuration} parameter} dev dev"
  43046. msgstr ""
  43047. #. type: deftypevr
  43048. #: guix-git/doc/guix.texi:28741 guix-git/doc/guix.texi:28896
  43049. msgid "The device type used to represent the VPN connection."
  43050. msgstr ""
  43051. #. type: deftypevr
  43052. #: guix-git/doc/guix.texi:28743 guix-git/doc/guix.texi:28898
  43053. msgid "Defaults to @samp{tun}."
  43054. msgstr ""
  43055. #. type: Plain text
  43056. #: guix-git/doc/guix.texi:28749 guix-git/doc/guix.texi:28904
  43057. msgid "If you do not have some of these files (eg.@: you use a username and password), you can disable any of the following three fields by setting it to @code{'disabled}."
  43058. msgstr ""
  43059. #. type: deftypevr
  43060. #: guix-git/doc/guix.texi:28750
  43061. #, no-wrap
  43062. msgid "{@code{openvpn-client-configuration} parameter} maybe-string ca"
  43063. msgstr ""
  43064. #. type: deftypevr
  43065. #: guix-git/doc/guix.texi:28752 guix-git/doc/guix.texi:28907
  43066. msgid "The certificate authority to check connections against."
  43067. msgstr ""
  43068. #. type: deftypevr
  43069. #: guix-git/doc/guix.texi:28754 guix-git/doc/guix.texi:28909
  43070. msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}."
  43071. msgstr ""
  43072. #. type: deftypevr
  43073. #: guix-git/doc/guix.texi:28757
  43074. #, no-wrap
  43075. msgid "{@code{openvpn-client-configuration} parameter} maybe-string cert"
  43076. msgstr ""
  43077. #. type: deftypevr
  43078. #: guix-git/doc/guix.texi:28760 guix-git/doc/guix.texi:28915
  43079. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  43080. msgstr ""
  43081. #. type: deftypevr
  43082. #: guix-git/doc/guix.texi:28762 guix-git/doc/guix.texi:28917
  43083. msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}."
  43084. msgstr ""
  43085. #. type: deftypevr
  43086. #: guix-git/doc/guix.texi:28765
  43087. #, no-wrap
  43088. msgid "{@code{openvpn-client-configuration} parameter} maybe-string key"
  43089. msgstr ""
  43090. #. type: deftypevr
  43091. #: guix-git/doc/guix.texi:28768 guix-git/doc/guix.texi:28923
  43092. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  43093. msgstr ""
  43094. #. type: deftypevr
  43095. #: guix-git/doc/guix.texi:28770 guix-git/doc/guix.texi:28925
  43096. msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}."
  43097. msgstr ""
  43098. #. type: deftypevr
  43099. #: guix-git/doc/guix.texi:28773
  43100. #, no-wrap
  43101. msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?"
  43102. msgstr ""
  43103. #. type: deftypevr
  43104. #: guix-git/doc/guix.texi:28775 guix-git/doc/guix.texi:28930
  43105. msgid "Whether to use the lzo compression algorithm."
  43106. msgstr ""
  43107. #. type: deftypevr
  43108. #: guix-git/doc/guix.texi:28780
  43109. #, no-wrap
  43110. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?"
  43111. msgstr ""
  43112. #. type: deftypevr
  43113. #: guix-git/doc/guix.texi:28782 guix-git/doc/guix.texi:28937
  43114. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  43115. msgstr ""
  43116. #. type: deftypevr
  43117. #: guix-git/doc/guix.texi:28787
  43118. #, no-wrap
  43119. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?"
  43120. msgstr ""
  43121. #. type: deftypevr
  43122. #: guix-git/doc/guix.texi:28790 guix-git/doc/guix.texi:28945
  43123. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  43124. msgstr ""
  43125. #. type: deftypevr
  43126. #: guix-git/doc/guix.texi:28795
  43127. #, no-wrap
  43128. msgid "{@code{openvpn-client-configuration} parameter} boolean fast-io?"
  43129. msgstr ""
  43130. #. type: deftypevr
  43131. #: guix-git/doc/guix.texi:28798 guix-git/doc/guix.texi:28953
  43132. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  43133. msgstr ""
  43134. #. type: deftypevr
  43135. #: guix-git/doc/guix.texi:28802
  43136. #, no-wrap
  43137. msgid "{@code{openvpn-client-configuration} parameter} number verbosity"
  43138. msgstr ""
  43139. #. type: deftypevr
  43140. #: guix-git/doc/guix.texi:28804 guix-git/doc/guix.texi:28959
  43141. msgid "Verbosity level."
  43142. msgstr ""
  43143. #. type: deftypevr
  43144. #: guix-git/doc/guix.texi:28806 guix-git/doc/guix.texi:28961
  43145. #: guix-git/doc/guix.texi:30725 guix-git/doc/guix.texi:30953
  43146. msgid "Defaults to @samp{3}."
  43147. msgstr ""
  43148. #. type: deftypevr
  43149. #: guix-git/doc/guix.texi:28809
  43150. #, no-wrap
  43151. msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth"
  43152. msgstr ""
  43153. #. type: deftypevr
  43154. #: guix-git/doc/guix.texi:28812 guix-git/doc/guix.texi:28967
  43155. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  43156. msgstr ""
  43157. #. type: deftypevr
  43158. #: guix-git/doc/guix.texi:28817
  43159. #, no-wrap
  43160. msgid "{@code{openvpn-client-configuration} parameter} maybe-string auth-user-pass"
  43161. msgstr ""
  43162. #. type: deftypevr
  43163. #: guix-git/doc/guix.texi:28821
  43164. 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."
  43165. msgstr ""
  43166. #. type: deftypevr
  43167. #: guix-git/doc/guix.texi:28823
  43168. msgid "Defaults to @samp{'disabled}."
  43169. msgstr ""
  43170. #. type: deftypevr
  43171. #: guix-git/doc/guix.texi:28825
  43172. #, no-wrap
  43173. msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?"
  43174. msgstr ""
  43175. #. type: deftypevr
  43176. #: guix-git/doc/guix.texi:28827
  43177. msgid "Whether to check the server certificate has server usage extension."
  43178. msgstr ""
  43179. #. type: deftypevr
  43180. #: guix-git/doc/guix.texi:28832
  43181. #, no-wrap
  43182. msgid "{@code{openvpn-client-configuration} parameter} bind bind?"
  43183. msgstr ""
  43184. #. type: deftypevr
  43185. #: guix-git/doc/guix.texi:28834
  43186. msgid "Bind to a specific local port number."
  43187. msgstr ""
  43188. #. type: deftypevr
  43189. #: guix-git/doc/guix.texi:28839
  43190. #, no-wrap
  43191. msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?"
  43192. msgstr ""
  43193. #. type: deftypevr
  43194. #: guix-git/doc/guix.texi:28841
  43195. msgid "Retry resolving server address."
  43196. msgstr ""
  43197. #. type: deftypevr
  43198. #: guix-git/doc/guix.texi:28846
  43199. #, no-wrap
  43200. msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote"
  43201. msgstr ""
  43202. #. type: deftypevr
  43203. #: guix-git/doc/guix.texi:28848
  43204. msgid "A list of remote servers to connect to."
  43205. msgstr ""
  43206. #. type: deftypevr
  43207. #: guix-git/doc/guix.texi:28852
  43208. msgid "Available @code{openvpn-remote-configuration} fields are:"
  43209. msgstr ""
  43210. #. type: deftypevr
  43211. #: guix-git/doc/guix.texi:28853
  43212. #, no-wrap
  43213. msgid "{@code{openvpn-remote-configuration} parameter} string name"
  43214. msgstr ""
  43215. #. type: deftypevr
  43216. #: guix-git/doc/guix.texi:28855
  43217. msgid "Server name."
  43218. msgstr ""
  43219. #. type: deftypevr
  43220. #: guix-git/doc/guix.texi:28857
  43221. msgid "Defaults to @samp{\"my-server\"}."
  43222. msgstr ""
  43223. #. type: deftypevr
  43224. #: guix-git/doc/guix.texi:28860
  43225. #, no-wrap
  43226. msgid "{@code{openvpn-remote-configuration} parameter} number port"
  43227. msgstr ""
  43228. #. type: deftypevr
  43229. #: guix-git/doc/guix.texi:28862
  43230. msgid "Port number the server listens to."
  43231. msgstr ""
  43232. #. type: deftypevr
  43233. #: guix-git/doc/guix.texi:28864 guix-git/doc/guix.texi:28976
  43234. msgid "Defaults to @samp{1194}."
  43235. msgstr ""
  43236. #. type: Plain text
  43237. #: guix-git/doc/guix.texi:28873
  43238. msgid "Available @code{openvpn-server-configuration} fields are:"
  43239. msgstr ""
  43240. #. type: deftypevr
  43241. #: guix-git/doc/guix.texi:28874
  43242. #, no-wrap
  43243. msgid "{@code{openvpn-server-configuration} parameter} package openvpn"
  43244. msgstr ""
  43245. #. type: deftypevr
  43246. #: guix-git/doc/guix.texi:28879
  43247. #, no-wrap
  43248. msgid "{@code{openvpn-server-configuration} parameter} string pid-file"
  43249. msgstr ""
  43250. #. type: deftypevr
  43251. #: guix-git/doc/guix.texi:28886
  43252. #, no-wrap
  43253. msgid "{@code{openvpn-server-configuration} parameter} proto proto"
  43254. msgstr ""
  43255. #. type: deftypevr
  43256. #: guix-git/doc/guix.texi:28894
  43257. #, no-wrap
  43258. msgid "{@code{openvpn-server-configuration} parameter} dev dev"
  43259. msgstr ""
  43260. #. type: deftypevr
  43261. #: guix-git/doc/guix.texi:28905
  43262. #, no-wrap
  43263. msgid "{@code{openvpn-server-configuration} parameter} maybe-string ca"
  43264. msgstr ""
  43265. #. type: deftypevr
  43266. #: guix-git/doc/guix.texi:28912
  43267. #, no-wrap
  43268. msgid "{@code{openvpn-server-configuration} parameter} maybe-string cert"
  43269. msgstr ""
  43270. #. type: deftypevr
  43271. #: guix-git/doc/guix.texi:28920
  43272. #, no-wrap
  43273. msgid "{@code{openvpn-server-configuration} parameter} maybe-string key"
  43274. msgstr ""
  43275. #. type: deftypevr
  43276. #: guix-git/doc/guix.texi:28928
  43277. #, no-wrap
  43278. msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?"
  43279. msgstr ""
  43280. #. type: deftypevr
  43281. #: guix-git/doc/guix.texi:28935
  43282. #, no-wrap
  43283. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?"
  43284. msgstr ""
  43285. #. type: deftypevr
  43286. #: guix-git/doc/guix.texi:28942
  43287. #, no-wrap
  43288. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?"
  43289. msgstr ""
  43290. #. type: deftypevr
  43291. #: guix-git/doc/guix.texi:28950
  43292. #, no-wrap
  43293. msgid "{@code{openvpn-server-configuration} parameter} boolean fast-io?"
  43294. msgstr ""
  43295. #. type: deftypevr
  43296. #: guix-git/doc/guix.texi:28957
  43297. #, no-wrap
  43298. msgid "{@code{openvpn-server-configuration} parameter} number verbosity"
  43299. msgstr ""
  43300. #. type: deftypevr
  43301. #: guix-git/doc/guix.texi:28964
  43302. #, no-wrap
  43303. msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth"
  43304. msgstr ""
  43305. #. type: deftypevr
  43306. #: guix-git/doc/guix.texi:28972
  43307. #, no-wrap
  43308. msgid "{@code{openvpn-server-configuration} parameter} number port"
  43309. msgstr ""
  43310. #. type: deftypevr
  43311. #: guix-git/doc/guix.texi:28974
  43312. msgid "Specifies the port number on which the server listens."
  43313. msgstr ""
  43314. #. type: deftypevr
  43315. #: guix-git/doc/guix.texi:28979
  43316. #, no-wrap
  43317. msgid "{@code{openvpn-server-configuration} parameter} ip-mask server"
  43318. msgstr ""
  43319. #. type: deftypevr
  43320. #: guix-git/doc/guix.texi:28981
  43321. msgid "An ip and mask specifying the subnet inside the virtual network."
  43322. msgstr ""
  43323. #. type: deftypevr
  43324. #: guix-git/doc/guix.texi:28983
  43325. msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}."
  43326. msgstr ""
  43327. #. type: deftypevr
  43328. #: guix-git/doc/guix.texi:28986
  43329. #, no-wrap
  43330. msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6"
  43331. msgstr ""
  43332. #. type: deftypevr
  43333. #: guix-git/doc/guix.texi:28988
  43334. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  43335. msgstr ""
  43336. #. type: deftypevr
  43337. #: guix-git/doc/guix.texi:28993
  43338. #, no-wrap
  43339. msgid "{@code{openvpn-server-configuration} parameter} string dh"
  43340. msgstr ""
  43341. #. type: deftypevr
  43342. #: guix-git/doc/guix.texi:28995
  43343. msgid "The Diffie-Hellman parameters file."
  43344. msgstr ""
  43345. #. type: deftypevr
  43346. #: guix-git/doc/guix.texi:28997
  43347. msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}."
  43348. msgstr ""
  43349. #. type: deftypevr
  43350. #: guix-git/doc/guix.texi:29000
  43351. #, no-wrap
  43352. msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist"
  43353. msgstr ""
  43354. #. type: deftypevr
  43355. #: guix-git/doc/guix.texi:29002
  43356. msgid "The file that records client IPs."
  43357. msgstr ""
  43358. #. type: deftypevr
  43359. #: guix-git/doc/guix.texi:29004
  43360. msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}."
  43361. msgstr ""
  43362. #. type: deftypevr
  43363. #: guix-git/doc/guix.texi:29007
  43364. #, no-wrap
  43365. msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?"
  43366. msgstr ""
  43367. #. type: deftypevr
  43368. #: guix-git/doc/guix.texi:29009
  43369. msgid "When true, the server will act as a gateway for its clients."
  43370. msgstr ""
  43371. #. type: deftypevr
  43372. #: guix-git/doc/guix.texi:29014
  43373. #, no-wrap
  43374. msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?"
  43375. msgstr ""
  43376. #. type: deftypevr
  43377. #: guix-git/doc/guix.texi:29016
  43378. msgid "When true, clients are allowed to talk to each other inside the VPN."
  43379. msgstr ""
  43380. #. type: deftypevr
  43381. #: guix-git/doc/guix.texi:29021
  43382. #, no-wrap
  43383. msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive"
  43384. msgstr ""
  43385. #. type: deftypevr
  43386. #: guix-git/doc/guix.texi:29027
  43387. 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."
  43388. msgstr ""
  43389. #. type: deftypevr
  43390. #: guix-git/doc/guix.texi:29030
  43391. #, no-wrap
  43392. msgid "{@code{openvpn-server-configuration} parameter} number max-clients"
  43393. msgstr ""
  43394. #. type: deftypevr
  43395. #: guix-git/doc/guix.texi:29032
  43396. msgid "The maximum number of clients."
  43397. msgstr ""
  43398. #. type: deftypevr
  43399. #: guix-git/doc/guix.texi:29037
  43400. #, no-wrap
  43401. msgid "{@code{openvpn-server-configuration} parameter} string status"
  43402. msgstr ""
  43403. #. type: deftypevr
  43404. #: guix-git/doc/guix.texi:29040
  43405. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  43406. msgstr ""
  43407. #. type: deftypevr
  43408. #: guix-git/doc/guix.texi:29042
  43409. msgid "Defaults to @samp{\"/var/run/openvpn/status\"}."
  43410. msgstr ""
  43411. #. type: deftypevr
  43412. #: guix-git/doc/guix.texi:29045
  43413. #, no-wrap
  43414. msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir"
  43415. msgstr ""
  43416. #. type: deftypevr
  43417. #: guix-git/doc/guix.texi:29047
  43418. msgid "The list of configuration for some clients."
  43419. msgstr ""
  43420. #. type: deftypevr
  43421. #: guix-git/doc/guix.texi:29051
  43422. msgid "Available @code{openvpn-ccd-configuration} fields are:"
  43423. msgstr ""
  43424. #. type: deftypevr
  43425. #: guix-git/doc/guix.texi:29052
  43426. #, no-wrap
  43427. msgid "{@code{openvpn-ccd-configuration} parameter} string name"
  43428. msgstr ""
  43429. #. type: deftypevr
  43430. #: guix-git/doc/guix.texi:29054
  43431. msgid "Client name."
  43432. msgstr ""
  43433. #. type: deftypevr
  43434. #: guix-git/doc/guix.texi:29056
  43435. msgid "Defaults to @samp{\"client\"}."
  43436. msgstr ""
  43437. #. type: deftypevr
  43438. #: guix-git/doc/guix.texi:29059
  43439. #, no-wrap
  43440. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute"
  43441. msgstr ""
  43442. #. type: deftypevr
  43443. #: guix-git/doc/guix.texi:29061
  43444. msgid "Client own network"
  43445. msgstr ""
  43446. #. type: deftypevr
  43447. #: guix-git/doc/guix.texi:29066
  43448. #, no-wrap
  43449. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push"
  43450. msgstr ""
  43451. #. type: deftypevr
  43452. #: guix-git/doc/guix.texi:29068
  43453. msgid "Client VPN IP."
  43454. msgstr ""
  43455. #. type: subheading
  43456. #: guix-git/doc/guix.texi:29077
  43457. #, no-wrap
  43458. msgid "strongSwan"
  43459. msgstr ""
  43460. #. type: Plain text
  43461. #: guix-git/doc/guix.texi:29081
  43462. msgid "Currently, the strongSwan service only provides legacy-style configuration with @file{ipsec.conf} and @file{ipsec.secrets} files."
  43463. msgstr ""
  43464. #. type: defvr
  43465. #: guix-git/doc/guix.texi:29082
  43466. #, fuzzy, no-wrap
  43467. msgid "{Scheme Variable} strongswan-service-type"
  43468. msgstr "guix-publish-service-type"
  43469. #. type: defvr
  43470. #: guix-git/doc/guix.texi:29086
  43471. 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:"
  43472. msgstr ""
  43473. #. type: lisp
  43474. #: guix-git/doc/guix.texi:29092
  43475. #, no-wrap
  43476. msgid ""
  43477. "(service strongswan-service-type\n"
  43478. " (strongswan-configuration\n"
  43479. " (ipsec-conf \"/etc/ipsec.conf\")\n"
  43480. " (ipsec-secrets \"/etc/ipsec.secrets\")))\n"
  43481. msgstr ""
  43482. #. type: deftp
  43483. #: guix-git/doc/guix.texi:29096
  43484. #, fuzzy, no-wrap
  43485. msgid "{Data Type} strongswan-configuration"
  43486. msgstr "build-machine {Data Type}"
  43487. #. type: deftp
  43488. #: guix-git/doc/guix.texi:29098
  43489. #, fuzzy
  43490. msgid "Data type representing the configuration of the StrongSwan service."
  43491. msgstr "Gerencie a configuração do sistema operacional."
  43492. #. type: code{#1}
  43493. #: guix-git/doc/guix.texi:29100
  43494. #, no-wrap
  43495. msgid "strongswan"
  43496. msgstr ""
  43497. #. type: table
  43498. #: guix-git/doc/guix.texi:29102
  43499. msgid "The strongSwan package to use for this service."
  43500. msgstr ""
  43501. #. type: item
  43502. #: guix-git/doc/guix.texi:29103
  43503. #, fuzzy, no-wrap
  43504. #| msgid "@code{nsec3?} (default: @code{#f})"
  43505. msgid "@code{ipsec-conf} (default: @code{#f})"
  43506. msgstr "@code{nsec3?} (padrão: @code{#f})"
  43507. #. type: table
  43508. #: guix-git/doc/guix.texi:29106
  43509. msgid "The file name of your @file{ipsec.conf}. If not @code{#f}, then this and @code{ipsec-secrets} must both be strings."
  43510. msgstr ""
  43511. #. type: item
  43512. #: guix-git/doc/guix.texi:29107
  43513. #, fuzzy, no-wrap
  43514. #| msgid "@code{users} (default: @code{#f})"
  43515. msgid "@code{ipsec-secrets} (default @code{#f})"
  43516. msgstr "@code{users} (default: @code{#f})"
  43517. #. type: table
  43518. #: guix-git/doc/guix.texi:29110
  43519. msgid "The file name of your @file{ipsec.secrets}. If not @code{#f}, then this and @code{ipsec-conf} must both be strings."
  43520. msgstr ""
  43521. #. type: subsubheading
  43522. #: guix-git/doc/guix.texi:29114
  43523. #, no-wrap
  43524. msgid "Wireguard"
  43525. msgstr ""
  43526. #. type: defvr
  43527. #: guix-git/doc/guix.texi:29116
  43528. #, no-wrap
  43529. msgid "{Scheme Variable} wireguard-service-type"
  43530. msgstr ""
  43531. #. type: defvr
  43532. #: guix-git/doc/guix.texi:29119
  43533. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  43534. msgstr ""
  43535. #. type: lisp
  43536. #: guix-git/doc/guix.texi:29130
  43537. #, no-wrap
  43538. msgid ""
  43539. "(service wireguard-service-type\n"
  43540. " (wireguard-configuration\n"
  43541. " (peers\n"
  43542. " (list\n"
  43543. " (wireguard-peer\n"
  43544. " (name \"my-peer\")\n"
  43545. " (endpoint \"my.wireguard.com:51820\")\n"
  43546. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  43547. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  43548. msgstr ""
  43549. #. type: deftp
  43550. #: guix-git/doc/guix.texi:29134
  43551. #, no-wrap
  43552. msgid "{Data Type} wireguard-configuration"
  43553. msgstr ""
  43554. #. type: deftp
  43555. #: guix-git/doc/guix.texi:29136
  43556. msgid "Data type representing the configuration of the Wireguard service."
  43557. msgstr ""
  43558. #. type: code{#1}
  43559. #: guix-git/doc/guix.texi:29138
  43560. #, no-wrap
  43561. msgid "wireguard"
  43562. msgstr ""
  43563. #. type: table
  43564. #: guix-git/doc/guix.texi:29140
  43565. msgid "The wireguard package to use for this service."
  43566. msgstr ""
  43567. #. type: item
  43568. #: guix-git/doc/guix.texi:29141
  43569. #, no-wrap
  43570. msgid "@code{interface} (default: @code{\"wg0\"})"
  43571. msgstr ""
  43572. #. type: table
  43573. #: guix-git/doc/guix.texi:29143
  43574. msgid "The interface name for the VPN."
  43575. msgstr ""
  43576. #. type: item
  43577. #: guix-git/doc/guix.texi:29144
  43578. #, no-wrap
  43579. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  43580. msgstr ""
  43581. #. type: table
  43582. #: guix-git/doc/guix.texi:29146
  43583. msgid "The IP addresses to be assigned to the above interface."
  43584. msgstr ""
  43585. #. type: item
  43586. #: guix-git/doc/guix.texi:29147
  43587. #, fuzzy, no-wrap
  43588. #| msgid "@code{port} (default: @code{8081})"
  43589. msgid "@code{port} (default: @code{51820})"
  43590. msgstr "@code{porta} (default: @code{8081})"
  43591. #. type: table
  43592. #: guix-git/doc/guix.texi:29149
  43593. msgid "The port on which to listen for incoming connections."
  43594. msgstr ""
  43595. #. type: item
  43596. #: guix-git/doc/guix.texi:29150
  43597. #, fuzzy, no-wrap
  43598. #| msgid "@code{id} (default: @code{#f})"
  43599. msgid "@code{dns} (default: @code{#f})"
  43600. msgstr "@code{id} (default: @code{#f})"
  43601. #. type: table
  43602. #: guix-git/doc/guix.texi:29152
  43603. msgid "The DNS server(s) to announce to VPN clients via DHCP."
  43604. msgstr ""
  43605. #. type: item
  43606. #: guix-git/doc/guix.texi:29153
  43607. #, no-wrap
  43608. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  43609. msgstr ""
  43610. #. type: table
  43611. #: guix-git/doc/guix.texi:29156
  43612. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  43613. msgstr ""
  43614. #. type: item
  43615. #: guix-git/doc/guix.texi:29157
  43616. #, no-wrap
  43617. msgid "@code{peers} (default: @code{'()})"
  43618. msgstr ""
  43619. #. type: table
  43620. #: guix-git/doc/guix.texi:29160
  43621. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  43622. msgstr ""
  43623. #. type: deftp
  43624. #: guix-git/doc/guix.texi:29164
  43625. #, no-wrap
  43626. msgid "{Data Type} wireguard-peer"
  43627. msgstr ""
  43628. #. type: deftp
  43629. #: guix-git/doc/guix.texi:29166
  43630. msgid "Data type representing a Wireguard peer attached to a given interface."
  43631. msgstr ""
  43632. #. type: table
  43633. #: guix-git/doc/guix.texi:29170
  43634. msgid "The peer name."
  43635. msgstr ""
  43636. #. type: item
  43637. #: guix-git/doc/guix.texi:29171
  43638. #, no-wrap
  43639. msgid "@code{endpoint} (default: @code{#f})"
  43640. msgstr ""
  43641. #. type: table
  43642. #: guix-git/doc/guix.texi:29174
  43643. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  43644. msgstr ""
  43645. #. type: itemx
  43646. #: guix-git/doc/guix.texi:29175 guix-git/doc/guix.texi:29570
  43647. #: guix-git/doc/guix.texi:29607 guix-git/doc/guix.texi:34858
  43648. #, no-wrap
  43649. msgid "public-key"
  43650. msgstr ""
  43651. #. type: table
  43652. #: guix-git/doc/guix.texi:29177
  43653. msgid "The peer public-key represented as a base64 string."
  43654. msgstr ""
  43655. #. type: code{#1}
  43656. #: guix-git/doc/guix.texi:29178
  43657. #, no-wrap
  43658. msgid "allowed-ips"
  43659. msgstr ""
  43660. #. type: table
  43661. #: guix-git/doc/guix.texi:29181
  43662. 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."
  43663. msgstr ""
  43664. #. type: item
  43665. #: guix-git/doc/guix.texi:29182
  43666. #, fuzzy, no-wrap
  43667. #| msgid "@code{key} (default: @code{#f})"
  43668. msgid "@code{keep-alive} (default: @code{#f})"
  43669. msgstr "@code{key} (default: @code{#f})"
  43670. #. type: table
  43671. #: guix-git/doc/guix.texi:29187
  43672. 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."
  43673. msgstr ""
  43674. #. type: cindex
  43675. #: guix-git/doc/guix.texi:29193
  43676. #, no-wrap
  43677. msgid "NFS"
  43678. msgstr "NFS"
  43679. #. type: Plain text
  43680. #: guix-git/doc/guix.texi:29198
  43681. 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)."
  43682. msgstr ""
  43683. #. type: Plain text
  43684. #: guix-git/doc/guix.texi:29202
  43685. 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}."
  43686. msgstr ""
  43687. #. type: subsubheading
  43688. #: guix-git/doc/guix.texi:29203
  43689. #, no-wrap
  43690. msgid "NFS Service"
  43691. msgstr ""
  43692. #. type: cindex
  43693. #: guix-git/doc/guix.texi:29204
  43694. #, no-wrap
  43695. msgid "NFS, server"
  43696. msgstr ""
  43697. #. type: Plain text
  43698. #: guix-git/doc/guix.texi:29209
  43699. 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."
  43700. msgstr ""
  43701. #. type: defvr
  43702. #: guix-git/doc/guix.texi:29210
  43703. #, no-wrap
  43704. msgid "{Scheme Variable} nfs-service-type"
  43705. msgstr ""
  43706. #. type: defvr
  43707. #: guix-git/doc/guix.texi:29212
  43708. msgid "A service type for a complete NFS server."
  43709. msgstr ""
  43710. #. type: deftp
  43711. #: guix-git/doc/guix.texi:29214
  43712. #, no-wrap
  43713. msgid "{Data Type} nfs-configuration"
  43714. msgstr ""
  43715. #. type: deftp
  43716. #: guix-git/doc/guix.texi:29217
  43717. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  43718. msgstr ""
  43719. #. type: deftp
  43720. #: guix-git/doc/guix.texi:29219
  43721. msgid "It has the following parameters:"
  43722. msgstr ""
  43723. #. type: item
  43724. #: guix-git/doc/guix.texi:29220 guix-git/doc/guix.texi:29345
  43725. #: guix-git/doc/guix.texi:29370
  43726. #, no-wrap
  43727. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  43728. msgstr ""
  43729. #. type: table
  43730. #: guix-git/doc/guix.texi:29222
  43731. msgid "The nfs-utils package to use."
  43732. msgstr ""
  43733. #. type: item
  43734. #: guix-git/doc/guix.texi:29223
  43735. #, no-wrap
  43736. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  43737. msgstr ""
  43738. #. type: table
  43739. #: guix-git/doc/guix.texi:29226
  43740. 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."
  43741. msgstr ""
  43742. #. type: item
  43743. #: guix-git/doc/guix.texi:29227
  43744. #, no-wrap
  43745. msgid "@code{exports} (default: @code{'()})"
  43746. msgstr ""
  43747. #. type: table
  43748. #: guix-git/doc/guix.texi:29232
  43749. 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:"
  43750. msgstr ""
  43751. #. type: lisp
  43752. #: guix-git/doc/guix.texi:29238
  43753. #, no-wrap
  43754. msgid ""
  43755. "(nfs-configuration\n"
  43756. " (exports\n"
  43757. " '((\"/export\"\n"
  43758. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  43759. msgstr ""
  43760. #. type: item
  43761. #: guix-git/doc/guix.texi:29240
  43762. #, no-wrap
  43763. msgid "@code{rpcmountd-port} (default: @code{#f})"
  43764. msgstr ""
  43765. #. type: table
  43766. #: guix-git/doc/guix.texi:29242
  43767. msgid "The network port that the @command{rpc.mountd} daemon should use."
  43768. msgstr ""
  43769. #. type: item
  43770. #: guix-git/doc/guix.texi:29243
  43771. #, no-wrap
  43772. msgid "@code{rpcstatd-port} (default: @code{#f})"
  43773. msgstr ""
  43774. #. type: table
  43775. #: guix-git/doc/guix.texi:29245
  43776. msgid "The network port that the @command{rpc.statd} daemon should use."
  43777. msgstr ""
  43778. #. type: item
  43779. #: guix-git/doc/guix.texi:29246 guix-git/doc/guix.texi:29294
  43780. #, no-wrap
  43781. msgid "@code{rpcbind} (default: @code{rpcbind})"
  43782. msgstr ""
  43783. #. type: table
  43784. #: guix-git/doc/guix.texi:29248 guix-git/doc/guix.texi:29296
  43785. msgid "The rpcbind package to use."
  43786. msgstr ""
  43787. #. type: item
  43788. #: guix-git/doc/guix.texi:29249
  43789. #, no-wrap
  43790. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  43791. msgstr ""
  43792. #. type: table
  43793. #: guix-git/doc/guix.texi:29251
  43794. msgid "The local NFSv4 domain name."
  43795. msgstr ""
  43796. #. type: item
  43797. #: guix-git/doc/guix.texi:29252
  43798. #, no-wrap
  43799. msgid "@code{nfsd-port} (default: @code{2049})"
  43800. msgstr ""
  43801. #. type: table
  43802. #: guix-git/doc/guix.texi:29254
  43803. msgid "The network port that the @command{nfsd} daemon should use."
  43804. msgstr ""
  43805. #. type: item
  43806. #: guix-git/doc/guix.texi:29255
  43807. #, no-wrap
  43808. msgid "@code{nfsd-threads} (default: @code{8})"
  43809. msgstr ""
  43810. #. type: table
  43811. #: guix-git/doc/guix.texi:29257
  43812. msgid "The number of threads used by the @command{nfsd} daemon."
  43813. msgstr ""
  43814. #. type: item
  43815. #: guix-git/doc/guix.texi:29258
  43816. #, no-wrap
  43817. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  43818. msgstr ""
  43819. #. type: table
  43820. #: guix-git/doc/guix.texi:29260
  43821. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  43822. msgstr ""
  43823. #. type: item
  43824. #: guix-git/doc/guix.texi:29261
  43825. #, no-wrap
  43826. msgid "@code{nfsd-udp?} (default: @code{#f})"
  43827. msgstr ""
  43828. #. type: table
  43829. #: guix-git/doc/guix.texi:29263
  43830. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  43831. msgstr ""
  43832. #. type: item
  43833. #: guix-git/doc/guix.texi:29264 guix-git/doc/guix.texi:29348
  43834. #: guix-git/doc/guix.texi:29373
  43835. #, no-wrap
  43836. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  43837. msgstr ""
  43838. #. type: table
  43839. #: guix-git/doc/guix.texi:29266 guix-git/doc/guix.texi:29350
  43840. #: guix-git/doc/guix.texi:29375
  43841. msgid "The directory where the pipefs file system is mounted."
  43842. msgstr ""
  43843. #. type: item
  43844. #: guix-git/doc/guix.texi:29267
  43845. #, no-wrap
  43846. msgid "@code{debug} (default: @code{'()\"})"
  43847. msgstr ""
  43848. #. type: table
  43849. #: guix-git/doc/guix.texi:29271
  43850. 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}."
  43851. msgstr ""
  43852. #. type: Plain text
  43853. #: guix-git/doc/guix.texi:29276
  43854. 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."
  43855. msgstr ""
  43856. #. type: subsubheading
  43857. #: guix-git/doc/guix.texi:29277
  43858. #, no-wrap
  43859. msgid "RPC Bind Service"
  43860. msgstr ""
  43861. #. type: cindex
  43862. #: guix-git/doc/guix.texi:29278
  43863. #, no-wrap
  43864. msgid "rpcbind"
  43865. msgstr ""
  43866. #. type: Plain text
  43867. #: guix-git/doc/guix.texi:29284
  43868. 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."
  43869. msgstr ""
  43870. #. type: defvr
  43871. #: guix-git/doc/guix.texi:29285
  43872. #, no-wrap
  43873. msgid "{Scheme Variable} rpcbind-service-type"
  43874. msgstr ""
  43875. #. type: defvr
  43876. #: guix-git/doc/guix.texi:29287
  43877. msgid "A service type for the RPC portmapper daemon."
  43878. msgstr ""
  43879. #. type: deftp
  43880. #: guix-git/doc/guix.texi:29290
  43881. #, no-wrap
  43882. msgid "{Data Type} rpcbind-configuration"
  43883. msgstr ""
  43884. #. type: deftp
  43885. #: guix-git/doc/guix.texi:29293
  43886. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  43887. msgstr ""
  43888. #. type: item
  43889. #: guix-git/doc/guix.texi:29297
  43890. #, no-wrap
  43891. msgid "@code{warm-start?} (default: @code{#t})"
  43892. msgstr ""
  43893. #. type: table
  43894. #: guix-git/doc/guix.texi:29301
  43895. 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."
  43896. msgstr ""
  43897. #. type: subsubheading
  43898. #: guix-git/doc/guix.texi:29305
  43899. #, no-wrap
  43900. msgid "Pipefs Pseudo File System"
  43901. msgstr ""
  43902. #. type: cindex
  43903. #: guix-git/doc/guix.texi:29306
  43904. #, no-wrap
  43905. msgid "pipefs"
  43906. msgstr ""
  43907. #. type: cindex
  43908. #: guix-git/doc/guix.texi:29307
  43909. #, no-wrap
  43910. msgid "rpc_pipefs"
  43911. msgstr ""
  43912. #. type: Plain text
  43913. #: guix-git/doc/guix.texi:29311
  43914. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  43915. msgstr ""
  43916. #. type: defvr
  43917. #: guix-git/doc/guix.texi:29312
  43918. #, no-wrap
  43919. msgid "{Scheme Variable} pipefs-service-type"
  43920. msgstr ""
  43921. #. type: defvr
  43922. #: guix-git/doc/guix.texi:29314
  43923. msgid "A service type for the pipefs pseudo file system."
  43924. msgstr ""
  43925. #. type: deftp
  43926. #: guix-git/doc/guix.texi:29316
  43927. #, no-wrap
  43928. msgid "{Data Type} pipefs-configuration"
  43929. msgstr ""
  43930. #. type: deftp
  43931. #: guix-git/doc/guix.texi:29319
  43932. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  43933. msgstr ""
  43934. #. type: item
  43935. #: guix-git/doc/guix.texi:29320
  43936. #, no-wrap
  43937. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  43938. msgstr ""
  43939. #. type: table
  43940. #: guix-git/doc/guix.texi:29322
  43941. msgid "The directory to which the file system is to be attached."
  43942. msgstr ""
  43943. #. type: subsubheading
  43944. #: guix-git/doc/guix.texi:29326
  43945. #, no-wrap
  43946. msgid "GSS Daemon Service"
  43947. msgstr ""
  43948. #. type: cindex
  43949. #: guix-git/doc/guix.texi:29327
  43950. #, no-wrap
  43951. msgid "GSSD"
  43952. msgstr ""
  43953. #. type: cindex
  43954. #: guix-git/doc/guix.texi:29328
  43955. #, no-wrap
  43956. msgid "GSS"
  43957. msgstr ""
  43958. #. type: cindex
  43959. #: guix-git/doc/guix.texi:29329
  43960. #, no-wrap
  43961. msgid "global security system"
  43962. msgstr ""
  43963. #. type: Plain text
  43964. #: guix-git/doc/guix.texi:29336
  43965. 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})."
  43966. msgstr ""
  43967. #. type: defvr
  43968. #: guix-git/doc/guix.texi:29337
  43969. #, no-wrap
  43970. msgid "{Scheme Variable} gss-service-type"
  43971. msgstr ""
  43972. #. type: defvr
  43973. #: guix-git/doc/guix.texi:29339
  43974. msgid "A service type for the Global Security System (GSS) daemon."
  43975. msgstr ""
  43976. #. type: deftp
  43977. #: guix-git/doc/guix.texi:29341
  43978. #, no-wrap
  43979. msgid "{Data Type} gss-configuration"
  43980. msgstr ""
  43981. #. type: deftp
  43982. #: guix-git/doc/guix.texi:29344
  43983. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  43984. msgstr ""
  43985. #. type: table
  43986. #: guix-git/doc/guix.texi:29347
  43987. msgid "The package in which the @command{rpc.gssd} command is to be found."
  43988. msgstr ""
  43989. #. type: subsubheading
  43990. #: guix-git/doc/guix.texi:29355
  43991. #, no-wrap
  43992. msgid "IDMAP Daemon Service"
  43993. msgstr ""
  43994. #. type: cindex
  43995. #: guix-git/doc/guix.texi:29356
  43996. #, no-wrap
  43997. msgid "idmapd"
  43998. msgstr ""
  43999. #. type: cindex
  44000. #: guix-git/doc/guix.texi:29357
  44001. #, no-wrap
  44002. msgid "name mapper"
  44003. msgstr ""
  44004. #. type: Plain text
  44005. #: guix-git/doc/guix.texi:29361
  44006. 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."
  44007. msgstr ""
  44008. #. type: defvr
  44009. #: guix-git/doc/guix.texi:29362
  44010. #, no-wrap
  44011. msgid "{Scheme Variable} idmap-service-type"
  44012. msgstr ""
  44013. #. type: defvr
  44014. #: guix-git/doc/guix.texi:29364
  44015. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  44016. msgstr ""
  44017. #. type: deftp
  44018. #: guix-git/doc/guix.texi:29366
  44019. #, no-wrap
  44020. msgid "{Data Type} idmap-configuration"
  44021. msgstr ""
  44022. #. type: deftp
  44023. #: guix-git/doc/guix.texi:29369
  44024. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  44025. msgstr ""
  44026. #. type: table
  44027. #: guix-git/doc/guix.texi:29372
  44028. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  44029. msgstr ""
  44030. #. type: item
  44031. #: guix-git/doc/guix.texi:29376
  44032. #, no-wrap
  44033. msgid "@code{domain} (default: @code{#f})"
  44034. msgstr "@code{domain} (default: @code{#f})"
  44035. #. type: table
  44036. #: guix-git/doc/guix.texi:29380
  44037. 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."
  44038. msgstr ""
  44039. #. type: item
  44040. #: guix-git/doc/guix.texi:29381
  44041. #, no-wrap
  44042. msgid "@code{verbosity} (default: @code{0})"
  44043. msgstr ""
  44044. #. type: table
  44045. #: guix-git/doc/guix.texi:29383
  44046. msgid "The verbosity level of the daemon."
  44047. msgstr ""
  44048. #. type: Plain text
  44049. #: guix-git/doc/guix.texi:29394
  44050. 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})."
  44051. msgstr ""
  44052. #. type: Plain text
  44053. #: guix-git/doc/guix.texi:29396
  44054. msgid "The @code{(gnu services cuirass)} module provides the following service."
  44055. msgstr ""
  44056. #. type: defvr
  44057. #: guix-git/doc/guix.texi:29397
  44058. #, no-wrap
  44059. msgid "{Scheme Procedure} cuirass-service-type"
  44060. msgstr ""
  44061. #. type: defvr
  44062. #: guix-git/doc/guix.texi:29400
  44063. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  44064. msgstr ""
  44065. #. type: Plain text
  44066. #: guix-git/doc/guix.texi:29405
  44067. 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."
  44068. msgstr ""
  44069. #. type: lisp
  44070. #: guix-git/doc/guix.texi:29416
  44071. #, no-wrap
  44072. msgid ""
  44073. "(define %cuirass-specs\n"
  44074. " #~(list (specification\n"
  44075. " (name \"my-channel\")\n"
  44076. " (build '(channels my-channel))\n"
  44077. " (channels\n"
  44078. " (cons (channel\n"
  44079. " (name 'my-channel)\n"
  44080. " (url \"https://my-channel.git\"))\n"
  44081. " %default-channels)))))\n"
  44082. "\n"
  44083. msgstr ""
  44084. #. type: lisp
  44085. #: guix-git/doc/guix.texi:29420 guix-git/doc/guix.texi:29434
  44086. #, no-wrap
  44087. msgid ""
  44088. "(service cuirass-service-type\n"
  44089. " (cuirass-configuration\n"
  44090. " (specifications %cuirass-specs)))\n"
  44091. msgstr ""
  44092. #. type: Plain text
  44093. #: guix-git/doc/guix.texi:29424
  44094. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  44095. msgstr ""
  44096. #. type: lisp
  44097. #: guix-git/doc/guix.texi:29430
  44098. #, no-wrap
  44099. msgid ""
  44100. "(define %cuirass-specs\n"
  44101. " #~(list (specification\n"
  44102. " (name \"my-linux\")\n"
  44103. " (build '(packages \"linux-libre\")))))\n"
  44104. "\n"
  44105. msgstr ""
  44106. #. type: Plain text
  44107. #: guix-git/doc/guix.texi:29439
  44108. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  44109. msgstr ""
  44110. #. type: Plain text
  44111. #: guix-git/doc/guix.texi:29443
  44112. 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."
  44113. msgstr ""
  44114. #. type: deftp
  44115. #: guix-git/doc/guix.texi:29444
  44116. #, no-wrap
  44117. msgid "{Data Type} cuirass-configuration"
  44118. msgstr ""
  44119. #. type: deftp
  44120. #: guix-git/doc/guix.texi:29446
  44121. msgid "Data type representing the configuration of Cuirass."
  44122. msgstr ""
  44123. #. type: item
  44124. #: guix-git/doc/guix.texi:29448 guix-git/doc/guix.texi:29585
  44125. #, no-wrap
  44126. msgid "@code{cuirass} (default: @code{cuirass})"
  44127. msgstr ""
  44128. #. type: table
  44129. #: guix-git/doc/guix.texi:29450 guix-git/doc/guix.texi:29587
  44130. msgid "The Cuirass package to use."
  44131. msgstr ""
  44132. #. type: item
  44133. #: guix-git/doc/guix.texi:29451
  44134. #, no-wrap
  44135. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  44136. msgstr ""
  44137. #. type: table
  44138. #: guix-git/doc/guix.texi:29453 guix-git/doc/guix.texi:29557
  44139. #: guix-git/doc/guix.texi:29600
  44140. msgid "Location of the log file."
  44141. msgstr ""
  44142. #. type: item
  44143. #: guix-git/doc/guix.texi:29454
  44144. #, no-wrap
  44145. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  44146. msgstr ""
  44147. #. type: table
  44148. #: guix-git/doc/guix.texi:29456
  44149. msgid "Location of the log file used by the web interface."
  44150. msgstr ""
  44151. #. type: item
  44152. #: guix-git/doc/guix.texi:29457
  44153. #, no-wrap
  44154. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  44155. msgstr ""
  44156. #. type: table
  44157. #: guix-git/doc/guix.texi:29459
  44158. msgid "Location of the repository cache."
  44159. msgstr ""
  44160. #. type: item
  44161. #: guix-git/doc/guix.texi:29460
  44162. #, no-wrap
  44163. msgid "@code{user} (default: @code{\"cuirass\"})"
  44164. msgstr ""
  44165. #. type: table
  44166. #: guix-git/doc/guix.texi:29462
  44167. msgid "Owner of the @code{cuirass} process."
  44168. msgstr ""
  44169. #. type: item
  44170. #: guix-git/doc/guix.texi:29463
  44171. #, no-wrap
  44172. msgid "@code{group} (default: @code{\"cuirass\"})"
  44173. msgstr ""
  44174. #. type: table
  44175. #: guix-git/doc/guix.texi:29465
  44176. msgid "Owner's group of the @code{cuirass} process."
  44177. msgstr ""
  44178. #. type: item
  44179. #: guix-git/doc/guix.texi:29466
  44180. #, no-wrap
  44181. msgid "@code{interval} (default: @code{60})"
  44182. msgstr ""
  44183. #. type: table
  44184. #: guix-git/doc/guix.texi:29469
  44185. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  44186. msgstr ""
  44187. #. type: item
  44188. #: guix-git/doc/guix.texi:29470
  44189. #, fuzzy, no-wrap
  44190. msgid "@code{parameters} (default: @code{#f})"
  44191. msgstr "@code{term} (default: @code{#f})"
  44192. #. type: table
  44193. #: guix-git/doc/guix.texi:29473
  44194. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  44195. msgstr ""
  44196. #. type: item
  44197. #: guix-git/doc/guix.texi:29474
  44198. #, fuzzy, no-wrap
  44199. msgid "@code{remote-server} (default: @code{#f})"
  44200. msgstr "@code{remote?} (padrão: @code{#f})"
  44201. #. type: table
  44202. #: guix-git/doc/guix.texi:29477
  44203. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  44204. msgstr ""
  44205. #. type: item
  44206. #: guix-git/doc/guix.texi:29478
  44207. #, no-wrap
  44208. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  44209. msgstr ""
  44210. #. type: table
  44211. #: guix-git/doc/guix.texi:29483
  44212. 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\"}."
  44213. msgstr ""
  44214. #. type: item
  44215. #: guix-git/doc/guix.texi:29484
  44216. #, no-wrap
  44217. msgid "@code{port} (default: @code{8081})"
  44218. msgstr "@code{porta} (default: @code{8081})"
  44219. #. type: table
  44220. #: guix-git/doc/guix.texi:29486
  44221. msgid "Port number used by the HTTP server."
  44222. msgstr ""
  44223. #. type: table
  44224. #: guix-git/doc/guix.texi:29490
  44225. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  44226. msgstr ""
  44227. #. type: item
  44228. #: guix-git/doc/guix.texi:29491
  44229. #, no-wrap
  44230. msgid "@code{specifications} (default: @code{#~'()})"
  44231. msgstr ""
  44232. #. type: table
  44233. #: guix-git/doc/guix.texi:29495
  44234. 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})."
  44235. msgstr ""
  44236. #. type: item
  44237. #: guix-git/doc/guix.texi:29496
  44238. #, no-wrap
  44239. msgid "@code{use-substitutes?} (default: @code{#f})"
  44240. msgstr ""
  44241. #. type: table
  44242. #: guix-git/doc/guix.texi:29499
  44243. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  44244. msgstr ""
  44245. #. type: item
  44246. #: guix-git/doc/guix.texi:29500 guix-git/doc/guix.texi:36940
  44247. #, no-wrap
  44248. msgid "@code{one-shot?} (default: @code{#f})"
  44249. msgstr ""
  44250. #. type: table
  44251. #: guix-git/doc/guix.texi:29502
  44252. msgid "Only evaluate specifications and build derivations once."
  44253. msgstr ""
  44254. #. type: item
  44255. #: guix-git/doc/guix.texi:29503
  44256. #, no-wrap
  44257. msgid "@code{fallback?} (default: @code{#f})"
  44258. msgstr "@code{fallback?} (padrão: @code{#f})"
  44259. #. type: table
  44260. #: guix-git/doc/guix.texi:29506
  44261. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  44262. msgstr ""
  44263. #. type: table
  44264. #: guix-git/doc/guix.texi:29509
  44265. msgid "Extra options to pass when running the Cuirass processes."
  44266. msgstr ""
  44267. #. type: cindex
  44268. #: guix-git/doc/guix.texi:29513
  44269. #, fuzzy, no-wrap
  44270. msgid "remote build"
  44271. msgstr "compilações reproduzíveis"
  44272. #. type: subsubheading
  44273. #: guix-git/doc/guix.texi:29514
  44274. #, no-wrap
  44275. msgid "Cuirass remote building"
  44276. msgstr ""
  44277. #. type: Plain text
  44278. #: guix-git/doc/guix.texi:29517
  44279. msgid "Cuirass supports two mechanisms to build derivations."
  44280. msgstr ""
  44281. #. type: item
  44282. #: guix-git/doc/guix.texi:29519
  44283. #, fuzzy, no-wrap
  44284. msgid "Using the local Guix daemon."
  44285. msgstr "Executando o daemon de compilação."
  44286. #. type: itemize
  44287. #: guix-git/doc/guix.texi:29523
  44288. 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."
  44289. msgstr ""
  44290. #. type: item
  44291. #: guix-git/doc/guix.texi:29524
  44292. #, fuzzy, no-wrap
  44293. msgid "Using the remote build mechanism."
  44294. msgstr "Preparando o ambiente de compilação isolado."
  44295. #. type: itemize
  44296. #: guix-git/doc/guix.texi:29528
  44297. 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."
  44298. msgstr ""
  44299. #. type: Plain text
  44300. #: guix-git/doc/guix.texi:29535
  44301. 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."
  44302. msgstr ""
  44303. #. type: Plain text
  44304. #: guix-git/doc/guix.texi:29540
  44305. 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."
  44306. msgstr ""
  44307. #. type: deftp
  44308. #: guix-git/doc/guix.texi:29541
  44309. #, no-wrap
  44310. msgid "{Data Type} cuirass-remote-server-configuration"
  44311. msgstr ""
  44312. #. type: deftp
  44313. #: guix-git/doc/guix.texi:29543
  44314. msgid "Data type representing the configuration of the Cuirass remote-server."
  44315. msgstr ""
  44316. #. type: item
  44317. #: guix-git/doc/guix.texi:29545
  44318. #, fuzzy, no-wrap
  44319. msgid "@code{backend-port} (default: @code{5555})"
  44320. msgstr "@code{porta} (default: @code{53})"
  44321. #. type: table
  44322. #: guix-git/doc/guix.texi:29548
  44323. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  44324. msgstr ""
  44325. #. type: item
  44326. #: guix-git/doc/guix.texi:29549
  44327. #, fuzzy, no-wrap
  44328. msgid "@code{log-port} (default: @code{5556})"
  44329. msgstr "@code{porta} (default: @code{53})"
  44330. #. type: table
  44331. #: guix-git/doc/guix.texi:29551
  44332. msgid "The TCP port of the log server. It defaults to @code{5556}."
  44333. msgstr ""
  44334. #. type: item
  44335. #: guix-git/doc/guix.texi:29552
  44336. #, fuzzy, no-wrap
  44337. msgid "@code{publish-port} (default: @code{5557})"
  44338. msgstr "@code{publish?} (padrão: @code{#t})"
  44339. #. type: table
  44340. #: guix-git/doc/guix.texi:29554
  44341. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  44342. msgstr ""
  44343. #. type: item
  44344. #: guix-git/doc/guix.texi:29555
  44345. #, fuzzy, no-wrap
  44346. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  44347. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  44348. #. type: item
  44349. #: guix-git/doc/guix.texi:29558
  44350. #, fuzzy, no-wrap
  44351. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  44352. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  44353. #. type: table
  44354. #: guix-git/doc/guix.texi:29560
  44355. msgid "Use @var{cache} directory to cache build log files."
  44356. msgstr ""
  44357. #. type: item
  44358. #: guix-git/doc/guix.texi:29561
  44359. #, fuzzy, no-wrap
  44360. msgid "@code{trigger-url} (default: @code{#f})"
  44361. msgstr "@code{term} (default: @code{#f})"
  44362. #. type: table
  44363. #: guix-git/doc/guix.texi:29564
  44364. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  44365. msgstr ""
  44366. #. type: table
  44367. #: guix-git/doc/guix.texi:29569
  44368. 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."
  44369. msgstr ""
  44370. #. type: code{#1}
  44371. #: guix-git/doc/guix.texi:29571 guix-git/doc/guix.texi:29608
  44372. #, no-wrap
  44373. msgid "private-key"
  44374. msgstr ""
  44375. #. type: Plain text
  44376. #: guix-git/doc/guix.texi:29580
  44377. 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."
  44378. msgstr ""
  44379. #. type: deftp
  44380. #: guix-git/doc/guix.texi:29581
  44381. #, no-wrap
  44382. msgid "{Data Type} cuirass-remote-worker-configuration"
  44383. msgstr ""
  44384. #. type: deftp
  44385. #: guix-git/doc/guix.texi:29583
  44386. msgid "Data type representing the configuration of the Cuirass remote-worker."
  44387. msgstr ""
  44388. #. type: item
  44389. #: guix-git/doc/guix.texi:29588
  44390. #, fuzzy, no-wrap
  44391. msgid "@code{workers} (default: @code{1})"
  44392. msgstr "@code{workers} (default: @code{#f})"
  44393. #. type: table
  44394. #: guix-git/doc/guix.texi:29590
  44395. msgid "Start @var{workers} parallel workers."
  44396. msgstr ""
  44397. #. type: table
  44398. #: guix-git/doc/guix.texi:29594
  44399. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  44400. msgstr ""
  44401. #. type: item
  44402. #: guix-git/doc/guix.texi:29595
  44403. #, no-wrap
  44404. msgid "@code{systems} (default: @code{(list (%current-system))})"
  44405. msgstr ""
  44406. #. type: table
  44407. #: guix-git/doc/guix.texi:29597
  44408. msgid "Only request builds for the given @var{systems}."
  44409. msgstr ""
  44410. #. type: item
  44411. #: guix-git/doc/guix.texi:29598
  44412. #, fuzzy, no-wrap
  44413. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  44414. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  44415. #. type: item
  44416. #: guix-git/doc/guix.texi:29601
  44417. #, fuzzy, no-wrap
  44418. msgid "@code{publish-port} (default: @code{5558})"
  44419. msgstr "@code{publish?} (padrão: @code{#t})"
  44420. #. type: table
  44421. #: guix-git/doc/guix.texi:29603
  44422. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  44423. msgstr ""
  44424. #. type: subsubheading
  44425. #: guix-git/doc/guix.texi:29615
  44426. #, no-wrap
  44427. msgid "Laminar"
  44428. msgstr ""
  44429. #. type: Plain text
  44430. #: guix-git/doc/guix.texi:29620
  44431. 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."
  44432. msgstr ""
  44433. #. type: Plain text
  44434. #: guix-git/doc/guix.texi:29623
  44435. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  44436. msgstr ""
  44437. #. type: defvr
  44438. #: guix-git/doc/guix.texi:29624
  44439. #, no-wrap
  44440. msgid "{Scheme Procedure} laminar-service-type"
  44441. msgstr ""
  44442. #. type: defvr
  44443. #: guix-git/doc/guix.texi:29627
  44444. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  44445. msgstr ""
  44446. #. type: defvr
  44447. #: guix-git/doc/guix.texi:29631
  44448. 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."
  44449. msgstr ""
  44450. #. type: lisp
  44451. #: guix-git/doc/guix.texi:29634
  44452. #, no-wrap
  44453. msgid "(service laminar-service-type)\n"
  44454. msgstr ""
  44455. #. type: deftp
  44456. #: guix-git/doc/guix.texi:29637
  44457. #, fuzzy, no-wrap
  44458. msgid "{Data Type} laminar-configuration"
  44459. msgstr "build-machine {Data Type}"
  44460. #. type: deftp
  44461. #: guix-git/doc/guix.texi:29639
  44462. #, fuzzy
  44463. msgid "Data type representing the configuration of Laminar."
  44464. msgstr "Gerencie a configuração do sistema operacional."
  44465. #. type: item
  44466. #: guix-git/doc/guix.texi:29641
  44467. #, fuzzy, no-wrap
  44468. msgid "@code{laminar} (default: @code{laminar})"
  44469. msgstr "@code{tmpdir} (default: @code{#f})"
  44470. #. type: table
  44471. #: guix-git/doc/guix.texi:29643
  44472. #, fuzzy
  44473. msgid "The Laminar package to use."
  44474. msgstr "O pacote GPM a ser usado."
  44475. #. type: item
  44476. #: guix-git/doc/guix.texi:29644
  44477. #, fuzzy, no-wrap
  44478. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  44479. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  44480. #. type: table
  44481. #: guix-git/doc/guix.texi:29646
  44482. msgid "The directory for job configurations and run directories."
  44483. msgstr ""
  44484. #. type: item
  44485. #: guix-git/doc/guix.texi:29647
  44486. #, fuzzy, no-wrap
  44487. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  44488. msgstr "@code{porta} (default: @code{\"6600\"})"
  44489. #. type: table
  44490. #: guix-git/doc/guix.texi:29650
  44491. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  44492. msgstr ""
  44493. #. type: item
  44494. #: guix-git/doc/guix.texi:29651
  44495. #, fuzzy, no-wrap
  44496. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  44497. msgstr "@code{tor} (default: @code{tor})"
  44498. #. type: table
  44499. #: guix-git/doc/guix.texi:29654
  44500. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  44501. msgstr ""
  44502. #. type: item
  44503. #: guix-git/doc/guix.texi:29655
  44504. #, fuzzy, no-wrap
  44505. msgid "@code{title} (default: @code{\"Laminar\"})"
  44506. msgstr "@code{ttl} (default: @code{#f})"
  44507. #. type: table
  44508. #: guix-git/doc/guix.texi:29657
  44509. msgid "The page title to show in the web frontend."
  44510. msgstr ""
  44511. #. type: item
  44512. #: guix-git/doc/guix.texi:29658
  44513. #, fuzzy, no-wrap
  44514. msgid "@code{keep-rundirs} (default: @code{0})"
  44515. msgstr "@code{workers} (default: @code{#f})"
  44516. #. type: table
  44517. #: guix-git/doc/guix.texi:29662
  44518. 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."
  44519. msgstr ""
  44520. #. type: item
  44521. #: guix-git/doc/guix.texi:29663
  44522. #, fuzzy, no-wrap
  44523. msgid "@code{archive-url} (default: @code{#f})"
  44524. msgstr "@code{term} (default: @code{#f})"
  44525. #. type: table
  44526. #: guix-git/doc/guix.texi:29666
  44527. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  44528. msgstr ""
  44529. #. type: item
  44530. #: guix-git/doc/guix.texi:29667
  44531. #, fuzzy, no-wrap
  44532. msgid "@code{base-url} (default: @code{#f})"
  44533. msgstr "@code{users} (default: @code{#f})"
  44534. #. type: table
  44535. #: guix-git/doc/guix.texi:29669
  44536. msgid "Base URL to use for links to laminar itself."
  44537. msgstr ""
  44538. #. type: cindex
  44539. #: guix-git/doc/guix.texi:29676
  44540. #, no-wrap
  44541. msgid "tlp"
  44542. msgstr ""
  44543. #. type: cindex
  44544. #: guix-git/doc/guix.texi:29677
  44545. #, no-wrap
  44546. msgid "power management with TLP"
  44547. msgstr ""
  44548. #. type: subsubheading
  44549. #: guix-git/doc/guix.texi:29678
  44550. #, no-wrap
  44551. msgid "TLP daemon"
  44552. msgstr ""
  44553. #. type: Plain text
  44554. #: guix-git/doc/guix.texi:29682
  44555. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  44556. msgstr ""
  44557. #. type: Plain text
  44558. #: guix-git/doc/guix.texi:29688
  44559. 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}."
  44560. msgstr ""
  44561. #. type: deffn
  44562. #: guix-git/doc/guix.texi:29689
  44563. #, no-wrap
  44564. msgid "{Scheme Variable} tlp-service-type"
  44565. msgstr ""
  44566. #. type: deffn
  44567. #: guix-git/doc/guix.texi:29693
  44568. 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}:"
  44569. msgstr ""
  44570. #. type: lisp
  44571. #: guix-git/doc/guix.texi:29698
  44572. #, no-wrap
  44573. msgid ""
  44574. "(service tlp-service-type\n"
  44575. " (tlp-configuration\n"
  44576. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  44577. " (sched-powersave-on-bat? #t)))\n"
  44578. msgstr ""
  44579. #. type: Plain text
  44580. #: guix-git/doc/guix.texi:29706
  44581. 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 @code{'disabled}."
  44582. msgstr ""
  44583. #. type: Plain text
  44584. #: guix-git/doc/guix.texi:29716
  44585. msgid "Available @code{tlp-configuration} fields are:"
  44586. msgstr ""
  44587. #. type: deftypevr
  44588. #: guix-git/doc/guix.texi:29717
  44589. #, no-wrap
  44590. msgid "{@code{tlp-configuration} parameter} package tlp"
  44591. msgstr ""
  44592. #. type: deftypevr
  44593. #: guix-git/doc/guix.texi:29719
  44594. msgid "The TLP package."
  44595. msgstr ""
  44596. #. type: deftypevr
  44597. #: guix-git/doc/guix.texi:29722
  44598. #, no-wrap
  44599. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  44600. msgstr ""
  44601. #. type: deftypevr
  44602. #: guix-git/doc/guix.texi:29724
  44603. msgid "Set to true if you wish to enable TLP."
  44604. msgstr ""
  44605. #. type: deftypevr
  44606. #: guix-git/doc/guix.texi:29729
  44607. #, no-wrap
  44608. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  44609. msgstr ""
  44610. #. type: deftypevr
  44611. #: guix-git/doc/guix.texi:29732
  44612. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  44613. msgstr ""
  44614. #. type: deftypevr
  44615. #: guix-git/doc/guix.texi:29734
  44616. msgid "Defaults to @samp{\"AC\"}."
  44617. msgstr ""
  44618. #. type: deftypevr
  44619. #: guix-git/doc/guix.texi:29737
  44620. #, no-wrap
  44621. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  44622. msgstr ""
  44623. #. type: deftypevr
  44624. #: guix-git/doc/guix.texi:29740
  44625. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  44626. msgstr ""
  44627. #. type: deftypevr
  44628. #: guix-git/doc/guix.texi:29745
  44629. #, no-wrap
  44630. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  44631. msgstr ""
  44632. #. type: deftypevr
  44633. #: guix-git/doc/guix.texi:29747
  44634. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  44635. msgstr ""
  44636. #. type: deftypevr
  44637. #: guix-git/doc/guix.texi:29749
  44638. msgid "Defaults to @samp{2}."
  44639. msgstr ""
  44640. #. type: deftypevr
  44641. #: guix-git/doc/guix.texi:29752
  44642. #, no-wrap
  44643. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  44644. msgstr ""
  44645. #. type: deftypevr
  44646. #: guix-git/doc/guix.texi:29754
  44647. msgid "Dirty pages flushing periodicity, expressed in seconds."
  44648. msgstr ""
  44649. #. type: deftypevr
  44650. #: guix-git/doc/guix.texi:29756 guix-git/doc/guix.texi:29979
  44651. #: guix-git/doc/guix.texi:32279 guix-git/doc/guix.texi:32287
  44652. msgid "Defaults to @samp{15}."
  44653. msgstr ""
  44654. #. type: deftypevr
  44655. #: guix-git/doc/guix.texi:29759
  44656. #, no-wrap
  44657. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  44658. msgstr ""
  44659. #. type: deftypevr
  44660. #: guix-git/doc/guix.texi:29761
  44661. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  44662. msgstr ""
  44663. #. type: deftypevr
  44664. #: guix-git/doc/guix.texi:29763
  44665. msgid "Defaults to @samp{60}."
  44666. msgstr ""
  44667. #. type: deftypevr
  44668. #: guix-git/doc/guix.texi:29766
  44669. #, no-wrap
  44670. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  44671. msgstr ""
  44672. #. type: deftypevr
  44673. #: guix-git/doc/guix.texi:29770
  44674. 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."
  44675. msgstr ""
  44676. #. type: deftypevr
  44677. #: guix-git/doc/guix.texi:29775
  44678. #, no-wrap
  44679. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  44680. msgstr ""
  44681. #. type: deftypevr
  44682. #: guix-git/doc/guix.texi:29777
  44683. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  44684. msgstr ""
  44685. #. type: deftypevr
  44686. #: guix-git/doc/guix.texi:29782
  44687. #, no-wrap
  44688. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  44689. msgstr ""
  44690. #. type: deftypevr
  44691. #: guix-git/doc/guix.texi:29784
  44692. msgid "Set the min available frequency for the scaling governor on AC."
  44693. msgstr ""
  44694. #. type: deftypevr
  44695. #: guix-git/doc/guix.texi:29789
  44696. #, no-wrap
  44697. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  44698. msgstr ""
  44699. #. type: deftypevr
  44700. #: guix-git/doc/guix.texi:29791
  44701. msgid "Set the max available frequency for the scaling governor on AC."
  44702. msgstr ""
  44703. #. type: deftypevr
  44704. #: guix-git/doc/guix.texi:29796
  44705. #, no-wrap
  44706. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  44707. msgstr ""
  44708. #. type: deftypevr
  44709. #: guix-git/doc/guix.texi:29798
  44710. msgid "Set the min available frequency for the scaling governor on BAT."
  44711. msgstr ""
  44712. #. type: deftypevr
  44713. #: guix-git/doc/guix.texi:29803
  44714. #, no-wrap
  44715. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  44716. msgstr ""
  44717. #. type: deftypevr
  44718. #: guix-git/doc/guix.texi:29805
  44719. msgid "Set the max available frequency for the scaling governor on BAT."
  44720. msgstr ""
  44721. #. type: deftypevr
  44722. #: guix-git/doc/guix.texi:29810
  44723. #, no-wrap
  44724. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  44725. msgstr ""
  44726. #. type: deftypevr
  44727. #: guix-git/doc/guix.texi:29813
  44728. 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."
  44729. msgstr ""
  44730. #. type: deftypevr
  44731. #: guix-git/doc/guix.texi:29818
  44732. #, no-wrap
  44733. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  44734. msgstr ""
  44735. #. type: deftypevr
  44736. #: guix-git/doc/guix.texi:29821
  44737. 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."
  44738. msgstr ""
  44739. #. type: deftypevr
  44740. #: guix-git/doc/guix.texi:29826
  44741. #, no-wrap
  44742. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  44743. msgstr ""
  44744. #. type: deftypevr
  44745. #: guix-git/doc/guix.texi:29828
  44746. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  44747. msgstr ""
  44748. #. type: deftypevr
  44749. #: guix-git/doc/guix.texi:29833
  44750. #, no-wrap
  44751. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  44752. msgstr ""
  44753. #. type: deftypevr
  44754. #: guix-git/doc/guix.texi:29835
  44755. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  44756. msgstr ""
  44757. #. type: deftypevr
  44758. #: guix-git/doc/guix.texi:29840
  44759. #, no-wrap
  44760. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  44761. msgstr ""
  44762. #. type: deftypevr
  44763. #: guix-git/doc/guix.texi:29842
  44764. msgid "Enable CPU turbo boost feature on AC mode."
  44765. msgstr ""
  44766. #. type: deftypevr
  44767. #: guix-git/doc/guix.texi:29847
  44768. #, no-wrap
  44769. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  44770. msgstr ""
  44771. #. type: deftypevr
  44772. #: guix-git/doc/guix.texi:29849
  44773. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  44774. msgstr ""
  44775. #. type: deftypevr
  44776. #: guix-git/doc/guix.texi:29854
  44777. #, no-wrap
  44778. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  44779. msgstr ""
  44780. #. type: deftypevr
  44781. #: guix-git/doc/guix.texi:29857
  44782. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  44783. msgstr ""
  44784. #. type: deftypevr
  44785. #: guix-git/doc/guix.texi:29862
  44786. #, no-wrap
  44787. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  44788. msgstr ""
  44789. #. type: deftypevr
  44790. #: guix-git/doc/guix.texi:29864
  44791. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  44792. msgstr ""
  44793. #. type: deftypevr
  44794. #: guix-git/doc/guix.texi:29869
  44795. #, no-wrap
  44796. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  44797. msgstr ""
  44798. #. type: deftypevr
  44799. #: guix-git/doc/guix.texi:29871
  44800. msgid "Enable Linux kernel NMI watchdog."
  44801. msgstr ""
  44802. #. type: deftypevr
  44803. #: guix-git/doc/guix.texi:29876
  44804. #, no-wrap
  44805. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  44806. msgstr ""
  44807. #. type: deftypevr
  44808. #: guix-git/doc/guix.texi:29879
  44809. 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\"}."
  44810. msgstr ""
  44811. #. type: deftypevr
  44812. #: guix-git/doc/guix.texi:29884
  44813. #, no-wrap
  44814. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  44815. msgstr ""
  44816. #. type: deftypevr
  44817. #: guix-git/doc/guix.texi:29887
  44818. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  44819. msgstr ""
  44820. #. type: deftypevr
  44821. #: guix-git/doc/guix.texi:29889 guix-git/doc/guix.texi:29987
  44822. #: guix-git/doc/guix.texi:30045
  44823. msgid "Defaults to @samp{\"performance\"}."
  44824. msgstr ""
  44825. #. type: deftypevr
  44826. #: guix-git/doc/guix.texi:29892
  44827. #, no-wrap
  44828. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  44829. msgstr ""
  44830. #. type: deftypevr
  44831. #: guix-git/doc/guix.texi:29894
  44832. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  44833. msgstr ""
  44834. #. type: deftypevr
  44835. #: guix-git/doc/guix.texi:29896 guix-git/doc/guix.texi:29994
  44836. msgid "Defaults to @samp{\"powersave\"}."
  44837. msgstr ""
  44838. #. type: deftypevr
  44839. #: guix-git/doc/guix.texi:29899
  44840. #, no-wrap
  44841. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  44842. msgstr ""
  44843. #. type: deftypevr
  44844. #: guix-git/doc/guix.texi:29901
  44845. msgid "Hard disk devices."
  44846. msgstr ""
  44847. #. type: deftypevr
  44848. #: guix-git/doc/guix.texi:29904
  44849. #, no-wrap
  44850. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  44851. msgstr ""
  44852. #. type: deftypevr
  44853. #: guix-git/doc/guix.texi:29906
  44854. msgid "Hard disk advanced power management level."
  44855. msgstr ""
  44856. #. type: deftypevr
  44857. #: guix-git/doc/guix.texi:29909
  44858. #, no-wrap
  44859. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  44860. msgstr ""
  44861. #. type: deftypevr
  44862. #: guix-git/doc/guix.texi:29911
  44863. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  44864. msgstr ""
  44865. #. type: deftypevr
  44866. #: guix-git/doc/guix.texi:29914
  44867. #, no-wrap
  44868. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  44869. msgstr ""
  44870. #. type: deftypevr
  44871. #: guix-git/doc/guix.texi:29917
  44872. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  44873. msgstr ""
  44874. #. type: deftypevr
  44875. #: guix-git/doc/guix.texi:29922
  44876. #, no-wrap
  44877. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  44878. msgstr ""
  44879. #. type: deftypevr
  44880. #: guix-git/doc/guix.texi:29924
  44881. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  44882. msgstr ""
  44883. #. type: deftypevr
  44884. #: guix-git/doc/guix.texi:29929
  44885. #, no-wrap
  44886. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  44887. msgstr ""
  44888. #. type: deftypevr
  44889. #: guix-git/doc/guix.texi:29933
  44890. 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."
  44891. msgstr ""
  44892. #. type: deftypevr
  44893. #: guix-git/doc/guix.texi:29938
  44894. #, no-wrap
  44895. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  44896. msgstr ""
  44897. #. type: deftypevr
  44898. #: guix-git/doc/guix.texi:29941
  44899. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  44900. msgstr ""
  44901. #. type: deftypevr
  44902. #: guix-git/doc/guix.texi:29943
  44903. msgid "Defaults to @samp{\"max_performance\"}."
  44904. msgstr ""
  44905. #. type: deftypevr
  44906. #: guix-git/doc/guix.texi:29946
  44907. #, no-wrap
  44908. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  44909. msgstr ""
  44910. #. type: deftypevr
  44911. #: guix-git/doc/guix.texi:29948
  44912. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  44913. msgstr ""
  44914. #. type: deftypevr
  44915. #: guix-git/doc/guix.texi:29950
  44916. msgid "Defaults to @samp{\"min_power\"}."
  44917. msgstr ""
  44918. #. type: deftypevr
  44919. #: guix-git/doc/guix.texi:29953
  44920. #, no-wrap
  44921. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  44922. msgstr ""
  44923. #. type: deftypevr
  44924. #: guix-git/doc/guix.texi:29955
  44925. msgid "Exclude specified SATA host devices for link power management."
  44926. msgstr ""
  44927. #. type: deftypevr
  44928. #: guix-git/doc/guix.texi:29960
  44929. #, no-wrap
  44930. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  44931. msgstr ""
  44932. #. type: deftypevr
  44933. #: guix-git/doc/guix.texi:29963
  44934. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  44935. msgstr ""
  44936. #. type: deftypevr
  44937. #: guix-git/doc/guix.texi:29968
  44938. #, no-wrap
  44939. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  44940. msgstr ""
  44941. #. type: deftypevr
  44942. #: guix-git/doc/guix.texi:29970
  44943. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  44944. msgstr ""
  44945. #. type: deftypevr
  44946. #: guix-git/doc/guix.texi:29975
  44947. #, no-wrap
  44948. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  44949. msgstr ""
  44950. #. type: deftypevr
  44951. #: guix-git/doc/guix.texi:29977
  44952. msgid "Seconds of inactivity before disk is suspended."
  44953. msgstr ""
  44954. #. type: deftypevr
  44955. #: guix-git/doc/guix.texi:29982
  44956. #, no-wrap
  44957. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  44958. msgstr ""
  44959. #. type: deftypevr
  44960. #: guix-git/doc/guix.texi:29985
  44961. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  44962. msgstr ""
  44963. #. type: deftypevr
  44964. #: guix-git/doc/guix.texi:29990
  44965. #, no-wrap
  44966. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  44967. msgstr ""
  44968. #. type: deftypevr
  44969. #: guix-git/doc/guix.texi:29992
  44970. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  44971. msgstr ""
  44972. #. type: deftypevr
  44973. #: guix-git/doc/guix.texi:29997
  44974. #, no-wrap
  44975. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer start-charge-thresh-bat0"
  44976. msgstr ""
  44977. #. type: deftypevr
  44978. #: guix-git/doc/guix.texi:29999
  44979. msgid "Percentage when battery 0 should begin charging. Only supported on some laptops."
  44980. msgstr ""
  44981. #. type: deftypevr
  44982. #: guix-git/doc/guix.texi:30004
  44983. #, no-wrap
  44984. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer stop-charge-thresh-bat0"
  44985. msgstr ""
  44986. #. type: deftypevr
  44987. #: guix-git/doc/guix.texi:30006
  44988. msgid "Percentage when battery 0 should stop charging. Only supported on some laptops."
  44989. msgstr ""
  44990. #. type: deftypevr
  44991. #: guix-git/doc/guix.texi:30011
  44992. #, no-wrap
  44993. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer start-charge-thresh-bat1"
  44994. msgstr ""
  44995. #. type: deftypevr
  44996. #: guix-git/doc/guix.texi:30013
  44997. msgid "Percentage when battery 1 should begin charging. Only supported on some laptops."
  44998. msgstr ""
  44999. #. type: deftypevr
  45000. #: guix-git/doc/guix.texi:30018
  45001. #, no-wrap
  45002. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer stop-charge-thresh-bat1"
  45003. msgstr ""
  45004. #. type: deftypevr
  45005. #: guix-git/doc/guix.texi:30020
  45006. msgid "Percentage when battery 1 should stop charging. Only supported on some laptops."
  45007. msgstr ""
  45008. #. type: deftypevr
  45009. #: guix-git/doc/guix.texi:30025
  45010. #, no-wrap
  45011. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  45012. msgstr ""
  45013. #. type: deftypevr
  45014. #: guix-git/doc/guix.texi:30028
  45015. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  45016. msgstr ""
  45017. #. type: deftypevr
  45018. #: guix-git/doc/guix.texi:30030
  45019. msgid "Defaults to @samp{\"high\"}."
  45020. msgstr ""
  45021. #. type: deftypevr
  45022. #: guix-git/doc/guix.texi:30033
  45023. #, no-wrap
  45024. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  45025. msgstr ""
  45026. #. type: deftypevr
  45027. #: guix-git/doc/guix.texi:30035
  45028. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  45029. msgstr ""
  45030. #. type: deftypevr
  45031. #: guix-git/doc/guix.texi:30037
  45032. msgid "Defaults to @samp{\"low\"}."
  45033. msgstr ""
  45034. #. type: deftypevr
  45035. #: guix-git/doc/guix.texi:30040
  45036. #, no-wrap
  45037. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  45038. msgstr ""
  45039. #. type: deftypevr
  45040. #: guix-git/doc/guix.texi:30043
  45041. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  45042. msgstr ""
  45043. #. type: deftypevr
  45044. #: guix-git/doc/guix.texi:30048
  45045. #, no-wrap
  45046. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  45047. msgstr ""
  45048. #. type: deftypevr
  45049. #: guix-git/doc/guix.texi:30050
  45050. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  45051. msgstr ""
  45052. #. type: deftypevr
  45053. #: guix-git/doc/guix.texi:30052
  45054. msgid "Defaults to @samp{\"battery\"}."
  45055. msgstr ""
  45056. #. type: deftypevr
  45057. #: guix-git/doc/guix.texi:30055
  45058. #, no-wrap
  45059. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  45060. msgstr ""
  45061. #. type: deftypevr
  45062. #: guix-git/doc/guix.texi:30057
  45063. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  45064. msgstr ""
  45065. #. type: deftypevr
  45066. #: guix-git/doc/guix.texi:30059 guix-git/doc/guix.texi:30066
  45067. #: guix-git/doc/guix.texi:30140
  45068. msgid "Defaults to @samp{\"auto\"}."
  45069. msgstr ""
  45070. #. type: deftypevr
  45071. #: guix-git/doc/guix.texi:30062
  45072. #, no-wrap
  45073. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  45074. msgstr ""
  45075. #. type: deftypevr
  45076. #: guix-git/doc/guix.texi:30064
  45077. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  45078. msgstr ""
  45079. #. type: deftypevr
  45080. #: guix-git/doc/guix.texi:30069
  45081. #, no-wrap
  45082. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  45083. msgstr ""
  45084. #. type: deftypevr
  45085. #: guix-git/doc/guix.texi:30071
  45086. msgid "Wifi power saving mode."
  45087. msgstr ""
  45088. #. type: deftypevr
  45089. #: guix-git/doc/guix.texi:30076
  45090. #, no-wrap
  45091. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  45092. msgstr ""
  45093. #. type: deftypevr
  45094. #: guix-git/doc/guix.texi:30078
  45095. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  45096. msgstr ""
  45097. #. type: deftypevr
  45098. #: guix-git/doc/guix.texi:30083
  45099. #, no-wrap
  45100. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  45101. msgstr ""
  45102. #. type: deftypevr
  45103. #: guix-git/doc/guix.texi:30085
  45104. msgid "Disable wake on LAN."
  45105. msgstr ""
  45106. #. type: deftypevr
  45107. #: guix-git/doc/guix.texi:30090
  45108. #, no-wrap
  45109. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  45110. msgstr ""
  45111. #. type: deftypevr
  45112. #: guix-git/doc/guix.texi:30093
  45113. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  45114. msgstr ""
  45115. #. type: deftypevr
  45116. #: guix-git/doc/guix.texi:30098
  45117. #, no-wrap
  45118. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  45119. msgstr ""
  45120. #. type: deftypevr
  45121. #: guix-git/doc/guix.texi:30100
  45122. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  45123. msgstr ""
  45124. #. type: deftypevr
  45125. #: guix-git/doc/guix.texi:30105
  45126. #, no-wrap
  45127. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  45128. msgstr ""
  45129. #. type: deftypevr
  45130. #: guix-git/doc/guix.texi:30107
  45131. msgid "Disable controller in powersaving mode on Intel HDA devices."
  45132. msgstr ""
  45133. #. type: deftypevr
  45134. #: guix-git/doc/guix.texi:30112
  45135. #, no-wrap
  45136. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  45137. msgstr ""
  45138. #. type: deftypevr
  45139. #: guix-git/doc/guix.texi:30116
  45140. 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."
  45141. msgstr ""
  45142. #. type: deftypevr
  45143. #: guix-git/doc/guix.texi:30121
  45144. #, no-wrap
  45145. msgid "{@code{tlp-configuration} parameter} string bay-device"
  45146. msgstr ""
  45147. #. type: deftypevr
  45148. #: guix-git/doc/guix.texi:30123
  45149. msgid "Name of the optical drive device to power off."
  45150. msgstr ""
  45151. #. type: deftypevr
  45152. #: guix-git/doc/guix.texi:30125
  45153. msgid "Defaults to @samp{\"sr0\"}."
  45154. msgstr ""
  45155. #. type: deftypevr
  45156. #: guix-git/doc/guix.texi:30128
  45157. #, no-wrap
  45158. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  45159. msgstr ""
  45160. #. type: deftypevr
  45161. #: guix-git/doc/guix.texi:30131
  45162. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  45163. msgstr ""
  45164. #. type: deftypevr
  45165. #: guix-git/doc/guix.texi:30133
  45166. msgid "Defaults to @samp{\"on\"}."
  45167. msgstr ""
  45168. #. type: deftypevr
  45169. #: guix-git/doc/guix.texi:30136
  45170. #, no-wrap
  45171. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  45172. msgstr ""
  45173. #. type: deftypevr
  45174. #: guix-git/doc/guix.texi:30138
  45175. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  45176. msgstr ""
  45177. #. type: deftypevr
  45178. #: guix-git/doc/guix.texi:30143
  45179. #, no-wrap
  45180. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  45181. msgstr ""
  45182. #. type: deftypevr
  45183. #: guix-git/doc/guix.texi:30146
  45184. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  45185. msgstr ""
  45186. #. type: deftypevr
  45187. #: guix-git/doc/guix.texi:30151
  45188. #, no-wrap
  45189. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  45190. msgstr ""
  45191. #. type: deftypevr
  45192. #: guix-git/doc/guix.texi:30153
  45193. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  45194. msgstr ""
  45195. #. type: deftypevr
  45196. #: guix-git/doc/guix.texi:30158
  45197. #, no-wrap
  45198. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  45199. msgstr ""
  45200. #. type: deftypevr
  45201. #: guix-git/doc/guix.texi:30161
  45202. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  45203. msgstr ""
  45204. #. type: deftypevr
  45205. #: guix-git/doc/guix.texi:30164
  45206. #, no-wrap
  45207. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  45208. msgstr ""
  45209. #. type: deftypevr
  45210. #: guix-git/doc/guix.texi:30166
  45211. msgid "Enable USB autosuspend feature."
  45212. msgstr ""
  45213. #. type: deftypevr
  45214. #: guix-git/doc/guix.texi:30171
  45215. #, no-wrap
  45216. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  45217. msgstr ""
  45218. #. type: deftypevr
  45219. #: guix-git/doc/guix.texi:30173
  45220. msgid "Exclude specified devices from USB autosuspend."
  45221. msgstr ""
  45222. #. type: deftypevr
  45223. #: guix-git/doc/guix.texi:30178
  45224. #, no-wrap
  45225. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  45226. msgstr ""
  45227. #. type: deftypevr
  45228. #: guix-git/doc/guix.texi:30180
  45229. msgid "Exclude WWAN devices from USB autosuspend."
  45230. msgstr ""
  45231. #. type: deftypevr
  45232. #: guix-git/doc/guix.texi:30185
  45233. #, no-wrap
  45234. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  45235. msgstr ""
  45236. #. type: deftypevr
  45237. #: guix-git/doc/guix.texi:30188
  45238. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  45239. msgstr ""
  45240. #. type: deftypevr
  45241. #: guix-git/doc/guix.texi:30193
  45242. #, no-wrap
  45243. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  45244. msgstr ""
  45245. #. type: deftypevr
  45246. #: guix-git/doc/guix.texi:30195
  45247. msgid "Enable USB autosuspend before shutdown."
  45248. msgstr ""
  45249. #. type: deftypevr
  45250. #: guix-git/doc/guix.texi:30200
  45251. #, no-wrap
  45252. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  45253. msgstr ""
  45254. #. type: deftypevr
  45255. #: guix-git/doc/guix.texi:30203
  45256. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  45257. msgstr ""
  45258. #. type: cindex
  45259. #: guix-git/doc/guix.texi:30208
  45260. #, no-wrap
  45261. msgid "thermald"
  45262. msgstr ""
  45263. #. type: cindex
  45264. #: guix-git/doc/guix.texi:30209
  45265. #, no-wrap
  45266. msgid "CPU frequency scaling with thermald"
  45267. msgstr ""
  45268. #. type: subsubheading
  45269. #: guix-git/doc/guix.texi:30210
  45270. #, no-wrap
  45271. msgid "Thermald daemon"
  45272. msgstr ""
  45273. #. type: Plain text
  45274. #: guix-git/doc/guix.texi:30214
  45275. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  45276. msgstr ""
  45277. #. type: defvr
  45278. #: guix-git/doc/guix.texi:30215
  45279. #, no-wrap
  45280. msgid "{Scheme Variable} thermald-service-type"
  45281. msgstr ""
  45282. #. type: defvr
  45283. #: guix-git/doc/guix.texi:30220
  45284. 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."
  45285. msgstr ""
  45286. #. type: deftp
  45287. #: guix-git/doc/guix.texi:30222
  45288. #, no-wrap
  45289. msgid "{Data Type} thermald-configuration"
  45290. msgstr ""
  45291. #. type: deftp
  45292. #: guix-git/doc/guix.texi:30224
  45293. msgid "Data type representing the configuration of @code{thermald-service-type}."
  45294. msgstr ""
  45295. #. type: item
  45296. #: guix-git/doc/guix.texi:30226
  45297. #, no-wrap
  45298. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  45299. msgstr ""
  45300. #. type: table
  45301. #: guix-git/doc/guix.texi:30228
  45302. msgid "Ignore cpuid check for supported CPU models."
  45303. msgstr ""
  45304. #. type: item
  45305. #: guix-git/doc/guix.texi:30229
  45306. #, no-wrap
  45307. msgid "@code{thermald} (default: @var{thermald})"
  45308. msgstr ""
  45309. #. type: table
  45310. #: guix-git/doc/guix.texi:30231
  45311. msgid "Package object of thermald."
  45312. msgstr ""
  45313. #. type: Plain text
  45314. #: guix-git/doc/guix.texi:30240
  45315. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  45316. msgstr ""
  45317. #. type: cindex
  45318. #: guix-git/doc/guix.texi:30241
  45319. #, no-wrap
  45320. msgid "mpd"
  45321. msgstr ""
  45322. #. type: subsubheading
  45323. #: guix-git/doc/guix.texi:30242
  45324. #, no-wrap
  45325. msgid "Music Player Daemon"
  45326. msgstr ""
  45327. #. type: Plain text
  45328. #: guix-git/doc/guix.texi:30247
  45329. 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."
  45330. msgstr ""
  45331. #. type: Plain text
  45332. #: guix-git/doc/guix.texi:30250
  45333. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  45334. msgstr ""
  45335. #. type: lisp
  45336. #: guix-git/doc/guix.texi:30256
  45337. #, no-wrap
  45338. msgid ""
  45339. "(service mpd-service-type\n"
  45340. " (mpd-configuration\n"
  45341. " (user \"bob\")\n"
  45342. " (port \"6666\")))\n"
  45343. msgstr ""
  45344. #. type: defvr
  45345. #: guix-git/doc/guix.texi:30258
  45346. #, no-wrap
  45347. msgid "{Scheme Variable} mpd-service-type"
  45348. msgstr ""
  45349. #. type: defvr
  45350. #: guix-git/doc/guix.texi:30260
  45351. msgid "The service type for @command{mpd}"
  45352. msgstr ""
  45353. #. type: deftp
  45354. #: guix-git/doc/guix.texi:30262
  45355. #, no-wrap
  45356. msgid "{Data Type} mpd-configuration"
  45357. msgstr ""
  45358. #. type: deftp
  45359. #: guix-git/doc/guix.texi:30264
  45360. msgid "Data type representing the configuration of @command{mpd}."
  45361. msgstr ""
  45362. #. type: item
  45363. #: guix-git/doc/guix.texi:30266
  45364. #, no-wrap
  45365. msgid "@code{user} (default: @code{\"mpd\"})"
  45366. msgstr ""
  45367. #. type: table
  45368. #: guix-git/doc/guix.texi:30268
  45369. msgid "The user to run mpd as."
  45370. msgstr ""
  45371. #. type: item
  45372. #: guix-git/doc/guix.texi:30269
  45373. #, no-wrap
  45374. msgid "@code{music-dir} (default: @code{\"~/Music\"})"
  45375. msgstr ""
  45376. #. type: table
  45377. #: guix-git/doc/guix.texi:30271
  45378. msgid "The directory to scan for music files."
  45379. msgstr ""
  45380. #. type: item
  45381. #: guix-git/doc/guix.texi:30272
  45382. #, no-wrap
  45383. msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})"
  45384. msgstr ""
  45385. #. type: table
  45386. #: guix-git/doc/guix.texi:30274
  45387. msgid "The directory to store playlists."
  45388. msgstr ""
  45389. #. type: item
  45390. #: guix-git/doc/guix.texi:30275
  45391. #, no-wrap
  45392. msgid "@code{db-file} (default: @code{\"~/.mpd/tag_cache\"})"
  45393. msgstr ""
  45394. #. type: table
  45395. #: guix-git/doc/guix.texi:30277
  45396. msgid "The location of the music database."
  45397. msgstr ""
  45398. #. type: item
  45399. #: guix-git/doc/guix.texi:30278
  45400. #, no-wrap
  45401. msgid "@code{state-file} (default: @code{\"~/.mpd/state\"})"
  45402. msgstr ""
  45403. #. type: table
  45404. #: guix-git/doc/guix.texi:30280
  45405. msgid "The location of the file that stores current MPD's state."
  45406. msgstr ""
  45407. #. type: item
  45408. #: guix-git/doc/guix.texi:30281
  45409. #, no-wrap
  45410. msgid "@code{sticker-file} (default: @code{\"~/.mpd/sticker.sql\"})"
  45411. msgstr ""
  45412. #. type: table
  45413. #: guix-git/doc/guix.texi:30283
  45414. msgid "The location of the sticker database."
  45415. msgstr ""
  45416. #. type: item
  45417. #: guix-git/doc/guix.texi:30284
  45418. #, no-wrap
  45419. msgid "@code{port} (default: @code{\"6600\"})"
  45420. msgstr "@code{porta} (default: @code{\"6600\"})"
  45421. #. type: table
  45422. #: guix-git/doc/guix.texi:30286
  45423. msgid "The port to run mpd on."
  45424. msgstr ""
  45425. #. type: item
  45426. #: guix-git/doc/guix.texi:30287
  45427. #, no-wrap
  45428. msgid "@code{address} (default: @code{\"any\"})"
  45429. msgstr ""
  45430. #. type: table
  45431. #: guix-git/doc/guix.texi:30290
  45432. msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here."
  45433. msgstr ""
  45434. #. type: item
  45435. #: guix-git/doc/guix.texi:30291
  45436. #, no-wrap
  45437. msgid "@code{outputs} (default: @code{\"(list (mpd-output))\"})"
  45438. msgstr ""
  45439. #. type: table
  45440. #: guix-git/doc/guix.texi:30293
  45441. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  45442. msgstr ""
  45443. #. type: deftp
  45444. #: guix-git/doc/guix.texi:30297
  45445. #, no-wrap
  45446. msgid "{Data Type} mpd-output"
  45447. msgstr ""
  45448. #. type: deftp
  45449. #: guix-git/doc/guix.texi:30299
  45450. msgid "Data type representing an @command{mpd} audio output."
  45451. msgstr ""
  45452. #. type: item
  45453. #: guix-git/doc/guix.texi:30301
  45454. #, no-wrap
  45455. msgid "@code{name} (default: @code{\"MPD\"})"
  45456. msgstr ""
  45457. #. type: table
  45458. #: guix-git/doc/guix.texi:30303
  45459. msgid "The name of the audio output."
  45460. msgstr ""
  45461. #. type: item
  45462. #: guix-git/doc/guix.texi:30304
  45463. #, no-wrap
  45464. msgid "@code{type} (default: @code{\"pulse\"})"
  45465. msgstr ""
  45466. #. type: table
  45467. #: guix-git/doc/guix.texi:30306
  45468. msgid "The type of audio output."
  45469. msgstr ""
  45470. #. type: item
  45471. #: guix-git/doc/guix.texi:30307
  45472. #, no-wrap
  45473. msgid "@code{enabled?} (default: @code{#t})"
  45474. msgstr ""
  45475. #. type: table
  45476. #: guix-git/doc/guix.texi:30312
  45477. 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."
  45478. msgstr ""
  45479. #. type: item
  45480. #: guix-git/doc/guix.texi:30313
  45481. #, no-wrap
  45482. msgid "@code{tags?} (default: @code{#t})"
  45483. msgstr ""
  45484. #. type: table
  45485. #: guix-git/doc/guix.texi:30317
  45486. 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."
  45487. msgstr ""
  45488. #. type: item
  45489. #: guix-git/doc/guix.texi:30318
  45490. #, no-wrap
  45491. msgid "@code{always-on?} (default: @code{#f})"
  45492. msgstr ""
  45493. #. type: table
  45494. #: guix-git/doc/guix.texi:30322
  45495. 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."
  45496. msgstr ""
  45497. #. type: code{#1}
  45498. #: guix-git/doc/guix.texi:30323
  45499. #, no-wrap
  45500. msgid "mixer-type"
  45501. msgstr ""
  45502. #. type: table
  45503. #: guix-git/doc/guix.texi:30329
  45504. msgid "This field accepts a symbol 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})."
  45505. msgstr ""
  45506. #. type: table
  45507. #: guix-git/doc/guix.texi:30333
  45508. msgid "An association list of option symbols to string values to be appended to the audio output configuration."
  45509. msgstr ""
  45510. #. type: Plain text
  45511. #: guix-git/doc/guix.texi:30339
  45512. msgid "The following example shows a configuration of @code{mpd} that provides an HTTP audio streaming output."
  45513. msgstr ""
  45514. #. type: lisp
  45515. #: guix-git/doc/guix.texi:30351
  45516. #, no-wrap
  45517. msgid ""
  45518. "(service mpd-service-type\n"
  45519. " (mpd-configuration\n"
  45520. " (outputs\n"
  45521. " (list (mpd-output\n"
  45522. " (name \"streaming\")\n"
  45523. " (type \"httpd\")\n"
  45524. " (mixer-type 'null)\n"
  45525. " (extra-options\n"
  45526. " `((encoder . \"vorbis\")\n"
  45527. " (port . \"8080\"))))))))\n"
  45528. msgstr ""
  45529. #. type: Plain text
  45530. #: guix-git/doc/guix.texi:30360
  45531. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  45532. msgstr ""
  45533. #. type: subsubheading
  45534. #: guix-git/doc/guix.texi:30361
  45535. #, no-wrap
  45536. msgid "Libvirt daemon"
  45537. msgstr ""
  45538. #. type: Plain text
  45539. #: guix-git/doc/guix.texi:30366
  45540. 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."
  45541. msgstr ""
  45542. #. type: deffn
  45543. #: guix-git/doc/guix.texi:30367
  45544. #, no-wrap
  45545. msgid "{Scheme Variable} libvirt-service-type"
  45546. msgstr ""
  45547. #. type: deffn
  45548. #: guix-git/doc/guix.texi:30370
  45549. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  45550. msgstr ""
  45551. #. type: lisp
  45552. #: guix-git/doc/guix.texi:30376
  45553. #, no-wrap
  45554. msgid ""
  45555. "(service libvirt-service-type\n"
  45556. " (libvirt-configuration\n"
  45557. " (unix-sock-group \"libvirt\")\n"
  45558. " (tls-port \"16555\")))\n"
  45559. msgstr ""
  45560. #. type: Plain text
  45561. #: guix-git/doc/guix.texi:30381
  45562. msgid "Available @code{libvirt-configuration} fields are:"
  45563. msgstr ""
  45564. #. type: deftypevr
  45565. #: guix-git/doc/guix.texi:30382
  45566. #, no-wrap
  45567. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  45568. msgstr ""
  45569. #. type: deftypevar
  45570. #: guix-git/doc/guix.texi:30384 guix-git/doc/guix.texi:30947
  45571. msgid "Libvirt package."
  45572. msgstr ""
  45573. #. type: deftypevr
  45574. #: guix-git/doc/guix.texi:30387
  45575. #, no-wrap
  45576. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  45577. msgstr ""
  45578. #. type: deftypevr
  45579. #: guix-git/doc/guix.texi:30390
  45580. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  45581. msgstr ""
  45582. #. type: deftypevr
  45583. #: guix-git/doc/guix.texi:30393
  45584. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  45585. msgstr ""
  45586. #. type: deftypevr
  45587. #: guix-git/doc/guix.texi:30398
  45588. #, no-wrap
  45589. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  45590. msgstr ""
  45591. #. type: deftypevr
  45592. #: guix-git/doc/guix.texi:30401
  45593. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  45594. msgstr ""
  45595. #. type: deftypevr
  45596. #: guix-git/doc/guix.texi:30405
  45597. 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)."
  45598. msgstr ""
  45599. #. type: deftypevr
  45600. #: guix-git/doc/guix.texi:30410
  45601. #, no-wrap
  45602. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  45603. msgstr ""
  45604. #. type: deftypevr
  45605. #: guix-git/doc/guix.texi:30413
  45606. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  45607. msgstr ""
  45608. #. type: deftypevr
  45609. #: guix-git/doc/guix.texi:30415
  45610. msgid "Defaults to @samp{\"16514\"}."
  45611. msgstr ""
  45612. #. type: deftypevr
  45613. #: guix-git/doc/guix.texi:30418
  45614. #, no-wrap
  45615. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  45616. msgstr ""
  45617. #. type: deftypevr
  45618. #: guix-git/doc/guix.texi:30421
  45619. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  45620. msgstr ""
  45621. #. type: deftypevr
  45622. #: guix-git/doc/guix.texi:30423
  45623. msgid "Defaults to @samp{\"16509\"}."
  45624. msgstr ""
  45625. #. type: deftypevr
  45626. #: guix-git/doc/guix.texi:30426
  45627. #, no-wrap
  45628. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  45629. msgstr ""
  45630. #. type: deftypevr
  45631. #: guix-git/doc/guix.texi:30428
  45632. msgid "IP address or hostname used for client connections."
  45633. msgstr ""
  45634. #. type: deftypevr
  45635. #: guix-git/doc/guix.texi:30433
  45636. #, no-wrap
  45637. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  45638. msgstr ""
  45639. #. type: deftypevr
  45640. #: guix-git/doc/guix.texi:30435
  45641. msgid "Flag toggling mDNS advertisement of the libvirt service."
  45642. msgstr ""
  45643. #. type: deftypevr
  45644. #: guix-git/doc/guix.texi:30438
  45645. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  45646. msgstr ""
  45647. #. type: deftypevr
  45648. #: guix-git/doc/guix.texi:30443
  45649. #, no-wrap
  45650. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  45651. msgstr ""
  45652. #. type: deftypevr
  45653. #: guix-git/doc/guix.texi:30446
  45654. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  45655. msgstr ""
  45656. #. type: deftypevr
  45657. #: guix-git/doc/guix.texi:30448
  45658. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  45659. msgstr ""
  45660. #. type: deftypevr
  45661. #: guix-git/doc/guix.texi:30451
  45662. #, no-wrap
  45663. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  45664. msgstr ""
  45665. #. type: deftypevr
  45666. #: guix-git/doc/guix.texi:30455
  45667. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  45668. msgstr ""
  45669. #. type: deftypevr
  45670. #: guix-git/doc/guix.texi:30460
  45671. #, no-wrap
  45672. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  45673. msgstr ""
  45674. #. type: deftypevr
  45675. #: guix-git/doc/guix.texi:30463
  45676. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  45677. msgstr ""
  45678. #. type: deftypevr
  45679. #: guix-git/doc/guix.texi:30465 guix-git/doc/guix.texi:30483
  45680. msgid "Defaults to @samp{\"0777\"}."
  45681. msgstr ""
  45682. #. type: deftypevr
  45683. #: guix-git/doc/guix.texi:30468
  45684. #, no-wrap
  45685. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  45686. msgstr ""
  45687. #. type: deftypevr
  45688. #: guix-git/doc/guix.texi:30472
  45689. 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)"
  45690. msgstr ""
  45691. #. type: deftypevr
  45692. #: guix-git/doc/guix.texi:30474
  45693. msgid "Defaults to @samp{\"0770\"}."
  45694. msgstr ""
  45695. #. type: deftypevr
  45696. #: guix-git/doc/guix.texi:30477
  45697. #, no-wrap
  45698. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  45699. msgstr ""
  45700. #. type: deftypevr
  45701. #: guix-git/doc/guix.texi:30481
  45702. 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."
  45703. msgstr ""
  45704. #. type: deftypevr
  45705. #: guix-git/doc/guix.texi:30486
  45706. #, no-wrap
  45707. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  45708. msgstr ""
  45709. #. type: deftypevr
  45710. #: guix-git/doc/guix.texi:30488
  45711. msgid "The directory in which sockets will be found/created."
  45712. msgstr ""
  45713. #. type: deftypevr
  45714. #: guix-git/doc/guix.texi:30490
  45715. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  45716. msgstr ""
  45717. #. type: deftypevr
  45718. #: guix-git/doc/guix.texi:30493
  45719. #, no-wrap
  45720. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  45721. msgstr ""
  45722. #. type: deftypevr
  45723. #: guix-git/doc/guix.texi:30496
  45724. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  45725. msgstr ""
  45726. #. type: deftypevr
  45727. #: guix-git/doc/guix.texi:30498 guix-git/doc/guix.texi:30507
  45728. msgid "Defaults to @samp{\"polkit\"}."
  45729. msgstr ""
  45730. #. type: deftypevr
  45731. #: guix-git/doc/guix.texi:30501
  45732. #, no-wrap
  45733. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  45734. msgstr ""
  45735. #. type: deftypevr
  45736. #: guix-git/doc/guix.texi:30505
  45737. 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."
  45738. msgstr ""
  45739. #. type: deftypevr
  45740. #: guix-git/doc/guix.texi:30510
  45741. #, no-wrap
  45742. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  45743. msgstr ""
  45744. #. type: deftypevr
  45745. #: guix-git/doc/guix.texi:30514
  45746. 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."
  45747. msgstr ""
  45748. #. type: deftypevr
  45749. #: guix-git/doc/guix.texi:30516
  45750. msgid "Defaults to @samp{\"sasl\"}."
  45751. msgstr ""
  45752. #. type: deftypevr
  45753. #: guix-git/doc/guix.texi:30519
  45754. #, no-wrap
  45755. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  45756. msgstr ""
  45757. #. type: deftypevr
  45758. #: guix-git/doc/guix.texi:30523
  45759. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  45760. msgstr ""
  45761. #. type: deftypevr
  45762. #: guix-git/doc/guix.texi:30526
  45763. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  45764. msgstr ""
  45765. #. type: deftypevr
  45766. #: guix-git/doc/guix.texi:30528
  45767. msgid "Defaults to @samp{\"none\"}."
  45768. msgstr ""
  45769. #. type: deftypevr
  45770. #: guix-git/doc/guix.texi:30531
  45771. #, no-wrap
  45772. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  45773. msgstr ""
  45774. #. type: deftypevr
  45775. #: guix-git/doc/guix.texi:30533
  45776. msgid "API access control scheme."
  45777. msgstr ""
  45778. #. type: deftypevr
  45779. #: guix-git/doc/guix.texi:30536
  45780. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  45781. msgstr ""
  45782. #. type: deftypevr
  45783. #: guix-git/doc/guix.texi:30541
  45784. #, no-wrap
  45785. msgid "{@code{libvirt-configuration} parameter} string key-file"
  45786. msgstr ""
  45787. #. type: deftypevr
  45788. #: guix-git/doc/guix.texi:30544
  45789. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  45790. msgstr ""
  45791. #. type: deftypevr
  45792. #: guix-git/doc/guix.texi:30549
  45793. #, no-wrap
  45794. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  45795. msgstr ""
  45796. #. type: deftypevr
  45797. #: guix-git/doc/guix.texi:30552
  45798. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  45799. msgstr ""
  45800. #. type: deftypevr
  45801. #: guix-git/doc/guix.texi:30557
  45802. #, no-wrap
  45803. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  45804. msgstr ""
  45805. #. type: deftypevr
  45806. #: guix-git/doc/guix.texi:30560
  45807. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  45808. msgstr ""
  45809. #. type: deftypevr
  45810. #: guix-git/doc/guix.texi:30565
  45811. #, no-wrap
  45812. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  45813. msgstr ""
  45814. #. type: deftypevr
  45815. #: guix-git/doc/guix.texi:30568
  45816. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  45817. msgstr ""
  45818. #. type: deftypevr
  45819. #: guix-git/doc/guix.texi:30573
  45820. #, no-wrap
  45821. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  45822. msgstr ""
  45823. #. type: deftypevr
  45824. #: guix-git/doc/guix.texi:30575
  45825. msgid "Disable verification of our own server certificates."
  45826. msgstr ""
  45827. #. type: deftypevr
  45828. #: guix-git/doc/guix.texi:30578
  45829. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  45830. msgstr ""
  45831. #. type: deftypevr
  45832. #: guix-git/doc/guix.texi:30583
  45833. #, no-wrap
  45834. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  45835. msgstr ""
  45836. #. type: deftypevr
  45837. #: guix-git/doc/guix.texi:30585
  45838. msgid "Disable verification of client certificates."
  45839. msgstr ""
  45840. #. type: deftypevr
  45841. #: guix-git/doc/guix.texi:30589
  45842. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  45843. msgstr ""
  45844. #. type: deftypevr
  45845. #: guix-git/doc/guix.texi:30594
  45846. #, no-wrap
  45847. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  45848. msgstr ""
  45849. #. type: deftypevr
  45850. #: guix-git/doc/guix.texi:30596
  45851. msgid "Whitelist of allowed x509 Distinguished Name."
  45852. msgstr ""
  45853. #. type: deftypevr
  45854. #: guix-git/doc/guix.texi:30601
  45855. #, no-wrap
  45856. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  45857. msgstr ""
  45858. #. type: deftypevr
  45859. #: guix-git/doc/guix.texi:30604
  45860. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  45861. msgstr ""
  45862. #. type: deftypevr
  45863. #: guix-git/doc/guix.texi:30609
  45864. #, no-wrap
  45865. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  45866. msgstr ""
  45867. #. type: deftypevr
  45868. #: guix-git/doc/guix.texi:30613
  45869. 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."
  45870. msgstr ""
  45871. #. type: deftypevr
  45872. #: guix-git/doc/guix.texi:30615
  45873. msgid "Defaults to @samp{\"NORMAL\"}."
  45874. msgstr ""
  45875. #. type: deftypevr
  45876. #: guix-git/doc/guix.texi:30618
  45877. #, no-wrap
  45878. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  45879. msgstr ""
  45880. #. type: deftypevr
  45881. #: guix-git/doc/guix.texi:30621 guix-git/doc/guix.texi:31049
  45882. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  45883. msgstr ""
  45884. #. type: deftypevr
  45885. #: guix-git/doc/guix.texi:30623
  45886. msgid "Defaults to @samp{5000}."
  45887. msgstr ""
  45888. #. type: deftypevr
  45889. #: guix-git/doc/guix.texi:30626
  45890. #, no-wrap
  45891. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  45892. msgstr ""
  45893. #. type: deftypevr
  45894. #: guix-git/doc/guix.texi:30630
  45895. 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."
  45896. msgstr ""
  45897. #. type: deftypevr
  45898. #: guix-git/doc/guix.texi:30635
  45899. #, no-wrap
  45900. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  45901. msgstr ""
  45902. #. type: deftypevr
  45903. #: guix-git/doc/guix.texi:30638
  45904. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  45905. msgstr ""
  45906. #. type: deftypevr
  45907. #: guix-git/doc/guix.texi:30640 guix-git/doc/guix.texi:30658
  45908. #: guix-git/doc/guix.texi:30674
  45909. msgid "Defaults to @samp{20}."
  45910. msgstr ""
  45911. #. type: deftypevr
  45912. #: guix-git/doc/guix.texi:30643
  45913. #, no-wrap
  45914. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  45915. msgstr ""
  45916. #. type: deftypevr
  45917. #: guix-git/doc/guix.texi:30645
  45918. msgid "Number of workers to start up initially."
  45919. msgstr ""
  45920. #. type: deftypevr
  45921. #: guix-git/doc/guix.texi:30650
  45922. #, no-wrap
  45923. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  45924. msgstr ""
  45925. #. type: deftypevr
  45926. #: guix-git/doc/guix.texi:30652
  45927. msgid "Maximum number of worker threads."
  45928. msgstr ""
  45929. #. type: deftypevr
  45930. #: guix-git/doc/guix.texi:30656
  45931. 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."
  45932. msgstr ""
  45933. #. type: deftypevr
  45934. #: guix-git/doc/guix.texi:30661
  45935. #, no-wrap
  45936. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  45937. msgstr ""
  45938. #. type: deftypevr
  45939. #: guix-git/doc/guix.texi:30665
  45940. 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."
  45941. msgstr ""
  45942. #. type: deftypevr
  45943. #: guix-git/doc/guix.texi:30670
  45944. #, no-wrap
  45945. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  45946. msgstr ""
  45947. #. type: deftypevr
  45948. #: guix-git/doc/guix.texi:30672
  45949. msgid "Total global limit on concurrent RPC calls."
  45950. msgstr ""
  45951. #. type: deftypevr
  45952. #: guix-git/doc/guix.texi:30677
  45953. #, no-wrap
  45954. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  45955. msgstr ""
  45956. #. type: deftypevr
  45957. #: guix-git/doc/guix.texi:30681
  45958. 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."
  45959. msgstr ""
  45960. #. type: deftypevr
  45961. #: guix-git/doc/guix.texi:30686
  45962. #, no-wrap
  45963. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  45964. msgstr ""
  45965. #. type: deftypevr
  45966. #: guix-git/doc/guix.texi:30688
  45967. msgid "Same as @code{min-workers} but for the admin interface."
  45968. msgstr ""
  45969. #. type: deftypevr
  45970. #: guix-git/doc/guix.texi:30693
  45971. #, no-wrap
  45972. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  45973. msgstr ""
  45974. #. type: deftypevr
  45975. #: guix-git/doc/guix.texi:30695
  45976. msgid "Same as @code{max-workers} but for the admin interface."
  45977. msgstr ""
  45978. #. type: deftypevr
  45979. #: guix-git/doc/guix.texi:30700
  45980. #, no-wrap
  45981. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  45982. msgstr ""
  45983. #. type: deftypevr
  45984. #: guix-git/doc/guix.texi:30702
  45985. msgid "Same as @code{max-clients} but for the admin interface."
  45986. msgstr ""
  45987. #. type: deftypevr
  45988. #: guix-git/doc/guix.texi:30707
  45989. #, no-wrap
  45990. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  45991. msgstr ""
  45992. #. type: deftypevr
  45993. #: guix-git/doc/guix.texi:30709
  45994. msgid "Same as @code{max-queued-clients} but for the admin interface."
  45995. msgstr ""
  45996. #. type: deftypevr
  45997. #: guix-git/doc/guix.texi:30714
  45998. #, no-wrap
  45999. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  46000. msgstr ""
  46001. #. type: deftypevr
  46002. #: guix-git/doc/guix.texi:30716
  46003. msgid "Same as @code{max-client-requests} but for the admin interface."
  46004. msgstr ""
  46005. #. type: deftypevr
  46006. #: guix-git/doc/guix.texi:30721
  46007. #, no-wrap
  46008. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  46009. msgstr ""
  46010. #. type: deftypevr
  46011. #: guix-git/doc/guix.texi:30723 guix-git/doc/guix.texi:30951
  46012. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  46013. msgstr ""
  46014. #. type: deftypevr
  46015. #: guix-git/doc/guix.texi:30728
  46016. #, no-wrap
  46017. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  46018. msgstr ""
  46019. #. type: deftypevr
  46020. #: guix-git/doc/guix.texi:30730 guix-git/doc/guix.texi:30958
  46021. msgid "Logging filters."
  46022. msgstr ""
  46023. #. type: deftypevr
  46024. #: guix-git/doc/guix.texi:30733
  46025. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  46026. msgstr ""
  46027. #. type: itemize
  46028. #: guix-git/doc/guix.texi:30737 guix-git/doc/guix.texi:30965
  46029. msgid "x:name"
  46030. msgstr ""
  46031. #. type: itemize
  46032. #: guix-git/doc/guix.texi:30740 guix-git/doc/guix.texi:30968
  46033. msgid "x:+name"
  46034. msgstr ""
  46035. #. type: deftypevr
  46036. #: guix-git/doc/guix.texi:30751
  46037. 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:"
  46038. msgstr ""
  46039. #. type: itemize
  46040. #: guix-git/doc/guix.texi:30755 guix-git/doc/guix.texi:30800
  46041. #: guix-git/doc/guix.texi:30982 guix-git/doc/guix.texi:31027
  46042. msgid "1: DEBUG"
  46043. msgstr ""
  46044. #. type: itemize
  46045. #: guix-git/doc/guix.texi:30758 guix-git/doc/guix.texi:30803
  46046. #: guix-git/doc/guix.texi:30985 guix-git/doc/guix.texi:31030
  46047. msgid "2: INFO"
  46048. msgstr ""
  46049. #. type: itemize
  46050. #: guix-git/doc/guix.texi:30761 guix-git/doc/guix.texi:30806
  46051. #: guix-git/doc/guix.texi:30988 guix-git/doc/guix.texi:31033
  46052. msgid "3: WARNING"
  46053. msgstr ""
  46054. #. type: itemize
  46055. #: guix-git/doc/guix.texi:30764 guix-git/doc/guix.texi:30809
  46056. #: guix-git/doc/guix.texi:30991 guix-git/doc/guix.texi:31036
  46057. msgid "4: ERROR"
  46058. msgstr ""
  46059. #. type: deftypevr
  46060. #: guix-git/doc/guix.texi:30769 guix-git/doc/guix.texi:30996
  46061. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  46062. msgstr ""
  46063. #. type: deftypevr
  46064. #: guix-git/doc/guix.texi:30771 guix-git/doc/guix.texi:30998
  46065. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  46066. msgstr ""
  46067. #. type: deftypevr
  46068. #: guix-git/doc/guix.texi:30774
  46069. #, no-wrap
  46070. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  46071. msgstr ""
  46072. #. type: deftypevr
  46073. #: guix-git/doc/guix.texi:30776 guix-git/doc/guix.texi:31003
  46074. msgid "Logging outputs."
  46075. msgstr ""
  46076. #. type: deftypevr
  46077. #: guix-git/doc/guix.texi:30779
  46078. msgid "An output is one of the places to save logging information. The format for an output can be:"
  46079. msgstr ""
  46080. #. type: item
  46081. #: guix-git/doc/guix.texi:30781 guix-git/doc/guix.texi:31008
  46082. #, no-wrap
  46083. msgid "x:stderr"
  46084. msgstr ""
  46085. #. type: table
  46086. #: guix-git/doc/guix.texi:30783 guix-git/doc/guix.texi:31010
  46087. msgid "output goes to stderr"
  46088. msgstr ""
  46089. #. type: item
  46090. #: guix-git/doc/guix.texi:30784 guix-git/doc/guix.texi:31011
  46091. #, no-wrap
  46092. msgid "x:syslog:name"
  46093. msgstr ""
  46094. #. type: table
  46095. #: guix-git/doc/guix.texi:30786 guix-git/doc/guix.texi:31013
  46096. msgid "use syslog for the output and use the given name as the ident"
  46097. msgstr ""
  46098. #. type: item
  46099. #: guix-git/doc/guix.texi:30787 guix-git/doc/guix.texi:31014
  46100. #, no-wrap
  46101. msgid "x:file:file_path"
  46102. msgstr ""
  46103. #. type: table
  46104. #: guix-git/doc/guix.texi:30789 guix-git/doc/guix.texi:31016
  46105. msgid "output to a file, with the given filepath"
  46106. msgstr "saída para um arquivo, com o caminho de arquivo dado"
  46107. #. type: item
  46108. #: guix-git/doc/guix.texi:30790 guix-git/doc/guix.texi:31017
  46109. #, no-wrap
  46110. msgid "x:journald"
  46111. msgstr ""
  46112. #. type: table
  46113. #: guix-git/doc/guix.texi:30792 guix-git/doc/guix.texi:31019
  46114. msgid "output to journald logging system"
  46115. msgstr ""
  46116. #. type: deftypevr
  46117. #: guix-git/doc/guix.texi:30796 guix-git/doc/guix.texi:31023
  46118. msgid "In all case the x prefix is the minimal level, acting as a filter"
  46119. msgstr ""
  46120. #. type: deftypevr
  46121. #: guix-git/doc/guix.texi:30814 guix-git/doc/guix.texi:31041
  46122. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  46123. msgstr ""
  46124. #. type: deftypevr
  46125. #: guix-git/doc/guix.texi:30816 guix-git/doc/guix.texi:31043
  46126. msgid "Defaults to @samp{\"3:stderr\"}."
  46127. msgstr ""
  46128. #. type: deftypevr
  46129. #: guix-git/doc/guix.texi:30819
  46130. #, no-wrap
  46131. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  46132. msgstr ""
  46133. #. type: deftypevr
  46134. #: guix-git/doc/guix.texi:30821
  46135. msgid "Allows usage of the auditing subsystem to be altered"
  46136. msgstr ""
  46137. #. type: itemize
  46138. #: guix-git/doc/guix.texi:30825
  46139. msgid "0: disable all auditing"
  46140. msgstr ""
  46141. #. type: itemize
  46142. #: guix-git/doc/guix.texi:30828
  46143. msgid "1: enable auditing, only if enabled on host"
  46144. msgstr ""
  46145. #. type: itemize
  46146. #: guix-git/doc/guix.texi:30831
  46147. msgid "2: enable auditing, and exit if disabled on host."
  46148. msgstr ""
  46149. #. type: deftypevr
  46150. #: guix-git/doc/guix.texi:30838
  46151. #, no-wrap
  46152. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  46153. msgstr ""
  46154. #. type: deftypevr
  46155. #: guix-git/doc/guix.texi:30840
  46156. msgid "Send audit messages via libvirt logging infrastructure."
  46157. msgstr ""
  46158. #. type: deftypevr
  46159. #: guix-git/doc/guix.texi:30845
  46160. #, no-wrap
  46161. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  46162. msgstr ""
  46163. #. type: deftypevr
  46164. #: guix-git/doc/guix.texi:30847
  46165. msgid "Host UUID@. UUID must not have all digits be the same."
  46166. msgstr ""
  46167. #. type: deftypevr
  46168. #: guix-git/doc/guix.texi:30852
  46169. #, no-wrap
  46170. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  46171. msgstr ""
  46172. #. type: deftypevr
  46173. #: guix-git/doc/guix.texi:30854
  46174. msgid "Source to read host UUID."
  46175. msgstr ""
  46176. #. type: itemize
  46177. #: guix-git/doc/guix.texi:30858
  46178. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  46179. msgstr ""
  46180. #. type: itemize
  46181. #: guix-git/doc/guix.texi:30861
  46182. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  46183. msgstr ""
  46184. #. type: deftypevr
  46185. #: guix-git/doc/guix.texi:30866
  46186. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  46187. msgstr ""
  46188. #. type: deftypevr
  46189. #: guix-git/doc/guix.texi:30868
  46190. msgid "Defaults to @samp{\"smbios\"}."
  46191. msgstr ""
  46192. #. type: deftypevr
  46193. #: guix-git/doc/guix.texi:30871
  46194. #, no-wrap
  46195. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  46196. msgstr ""
  46197. #. type: deftypevr
  46198. #: guix-git/doc/guix.texi:30876
  46199. 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."
  46200. msgstr ""
  46201. #. type: deftypevr
  46202. #: guix-git/doc/guix.texi:30881
  46203. #, no-wrap
  46204. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  46205. msgstr ""
  46206. #. type: deftypevr
  46207. #: guix-git/doc/guix.texi:30885
  46208. 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."
  46209. msgstr ""
  46210. #. type: deftypevr
  46211. #: guix-git/doc/guix.texi:30892
  46212. 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."
  46213. msgstr ""
  46214. #. type: deftypevr
  46215. #: guix-git/doc/guix.texi:30897
  46216. #, no-wrap
  46217. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  46218. msgstr ""
  46219. #. type: deftypevr
  46220. #: guix-git/doc/guix.texi:30899 guix-git/doc/guix.texi:30906
  46221. msgid "Same as above but for admin interface."
  46222. msgstr ""
  46223. #. type: deftypevr
  46224. #: guix-git/doc/guix.texi:30904
  46225. #, no-wrap
  46226. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  46227. msgstr ""
  46228. #. type: deftypevr
  46229. #: guix-git/doc/guix.texi:30911
  46230. #, no-wrap
  46231. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  46232. msgstr ""
  46233. #. type: deftypevr
  46234. #: guix-git/doc/guix.texi:30913
  46235. msgid "Timeout for Open vSwitch calls."
  46236. msgstr ""
  46237. #. type: deftypevr
  46238. #: guix-git/doc/guix.texi:30917
  46239. 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."
  46240. msgstr ""
  46241. #. type: subsubheading
  46242. #: guix-git/doc/guix.texi:30924
  46243. #, no-wrap
  46244. msgid "Virtlog daemon"
  46245. msgstr ""
  46246. #. type: Plain text
  46247. #: guix-git/doc/guix.texi:30927
  46248. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  46249. msgstr ""
  46250. #. type: Plain text
  46251. #: guix-git/doc/guix.texi:30933
  46252. 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."
  46253. msgstr ""
  46254. #. type: deffn
  46255. #: guix-git/doc/guix.texi:30934
  46256. #, no-wrap
  46257. msgid "{Scheme Variable} virtlog-service-type"
  46258. msgstr ""
  46259. #. type: deffn
  46260. #: guix-git/doc/guix.texi:30937
  46261. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  46262. msgstr ""
  46263. #. type: lisp
  46264. #: guix-git/doc/guix.texi:30942
  46265. #, no-wrap
  46266. msgid ""
  46267. "(service virtlog-service-type\n"
  46268. " (virtlog-configuration\n"
  46269. " (max-clients 1000)))\n"
  46270. msgstr ""
  46271. #. type: deftypevar
  46272. #: guix-git/doc/guix.texi:30945
  46273. #, no-wrap
  46274. msgid "{@code{libvirt} parameter} package libvirt"
  46275. msgstr ""
  46276. #. type: deftypevr
  46277. #: guix-git/doc/guix.texi:30949
  46278. #, no-wrap
  46279. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  46280. msgstr ""
  46281. #. type: deftypevr
  46282. #: guix-git/doc/guix.texi:30956
  46283. #, no-wrap
  46284. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  46285. msgstr ""
  46286. #. type: deftypevr
  46287. #: guix-git/doc/guix.texi:30961
  46288. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  46289. msgstr ""
  46290. #. type: deftypevr
  46291. #: guix-git/doc/guix.texi:30978
  46292. 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:"
  46293. msgstr ""
  46294. #. type: deftypevr
  46295. #: guix-git/doc/guix.texi:31001
  46296. #, no-wrap
  46297. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  46298. msgstr ""
  46299. #. type: deftypevr
  46300. #: guix-git/doc/guix.texi:31006
  46301. msgid "An output is one of the places to save logging information The format for an output can be:"
  46302. msgstr ""
  46303. #. type: deftypevr
  46304. #: guix-git/doc/guix.texi:31046
  46305. #, no-wrap
  46306. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  46307. msgstr ""
  46308. #. type: deftypevr
  46309. #: guix-git/doc/guix.texi:31051
  46310. msgid "Defaults to @samp{1024}."
  46311. msgstr ""
  46312. #. type: deftypevr
  46313. #: guix-git/doc/guix.texi:31054
  46314. #, no-wrap
  46315. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  46316. msgstr ""
  46317. #. type: deftypevr
  46318. #: guix-git/doc/guix.texi:31056
  46319. msgid "Maximum file size before rolling over."
  46320. msgstr ""
  46321. #. type: deftypevr
  46322. #: guix-git/doc/guix.texi:31058
  46323. msgid "Defaults to @samp{2MB}"
  46324. msgstr ""
  46325. #. type: deftypevr
  46326. #: guix-git/doc/guix.texi:31061
  46327. #, no-wrap
  46328. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  46329. msgstr ""
  46330. #. type: deftypevr
  46331. #: guix-git/doc/guix.texi:31063
  46332. msgid "Maximum number of backup files to keep."
  46333. msgstr ""
  46334. #. type: deftypevr
  46335. #: guix-git/doc/guix.texi:31065
  46336. msgid "Defaults to @samp{3}"
  46337. msgstr ""
  46338. #. type: anchor{#1}
  46339. #: guix-git/doc/guix.texi:31069
  46340. msgid "transparent-emulation-qemu"
  46341. msgstr ""
  46342. #. type: subsubheading
  46343. #: guix-git/doc/guix.texi:31069
  46344. #, no-wrap
  46345. msgid "Transparent Emulation with QEMU"
  46346. msgstr ""
  46347. #. type: cindex
  46348. #: guix-git/doc/guix.texi:31071 guix-git/doc/guix.texi:31151
  46349. #, no-wrap
  46350. msgid "emulation"
  46351. msgstr ""
  46352. #. type: code{#1}
  46353. #: guix-git/doc/guix.texi:31072
  46354. #, no-wrap
  46355. msgid "binfmt_misc"
  46356. msgstr ""
  46357. #. type: Plain text
  46358. #: guix-git/doc/guix.texi:31080
  46359. 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."
  46360. msgstr ""
  46361. #. type: defvr
  46362. #: guix-git/doc/guix.texi:31081
  46363. #, no-wrap
  46364. msgid "{Scheme Variable} qemu-binfmt-service-type"
  46365. msgstr ""
  46366. #. type: defvr
  46367. #: guix-git/doc/guix.texi:31086
  46368. 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:"
  46369. msgstr ""
  46370. #. type: lisp
  46371. #: guix-git/doc/guix.texi:31091
  46372. #, no-wrap
  46373. msgid ""
  46374. "(service qemu-binfmt-service-type\n"
  46375. " (qemu-binfmt-configuration\n"
  46376. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  46377. msgstr ""
  46378. #. type: defvr
  46379. #: guix-git/doc/guix.texi:31097
  46380. 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})."
  46381. msgstr ""
  46382. #. type: deftp
  46383. #: guix-git/doc/guix.texi:31099
  46384. #, no-wrap
  46385. msgid "{Data Type} qemu-binfmt-configuration"
  46386. msgstr ""
  46387. #. type: deftp
  46388. #: guix-git/doc/guix.texi:31101
  46389. msgid "This is the configuration for the @code{qemu-binfmt} service."
  46390. msgstr ""
  46391. #. type: item
  46392. #: guix-git/doc/guix.texi:31103
  46393. #, no-wrap
  46394. msgid "@code{platforms} (default: @code{'()})"
  46395. msgstr ""
  46396. #. type: table
  46397. #: guix-git/doc/guix.texi:31106
  46398. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  46399. msgstr ""
  46400. #. type: table
  46401. #: guix-git/doc/guix.texi:31109
  46402. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  46403. msgstr ""
  46404. #. type: lisp
  46405. #: guix-git/doc/guix.texi:31114
  46406. #, no-wrap
  46407. msgid ""
  46408. "(service qemu-binfmt-service-type\n"
  46409. " (qemu-binfmt-configuration\n"
  46410. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  46411. msgstr ""
  46412. #. type: table
  46413. #: guix-git/doc/guix.texi:31117
  46414. msgid "You can run:"
  46415. msgstr ""
  46416. #. type: example
  46417. #: guix-git/doc/guix.texi:31120
  46418. #, no-wrap
  46419. msgid "guix build -s armhf-linux inkscape\n"
  46420. msgstr ""
  46421. #. type: table
  46422. #: guix-git/doc/guix.texi:31127
  46423. 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!"
  46424. msgstr ""
  46425. #. type: item
  46426. #: guix-git/doc/guix.texi:31128
  46427. #, no-wrap
  46428. msgid "@code{qemu} (default: @code{qemu})"
  46429. msgstr ""
  46430. #. type: table
  46431. #: guix-git/doc/guix.texi:31130 guix-git/doc/guix.texi:31188
  46432. #: guix-git/doc/guix.texi:31270
  46433. msgid "The QEMU package to use."
  46434. msgstr ""
  46435. #. type: deffn
  46436. #: guix-git/doc/guix.texi:31133
  46437. #, no-wrap
  46438. msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}"
  46439. msgstr ""
  46440. #. type: deffn
  46441. #: guix-git/doc/guix.texi:31138
  46442. 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."
  46443. msgstr ""
  46444. #. type: deffn
  46445. #: guix-git/doc/guix.texi:31140
  46446. #, no-wrap
  46447. msgid "{Scheme Procedure} qemu-platform? @var{obj}"
  46448. msgstr ""
  46449. #. type: deffn
  46450. #: guix-git/doc/guix.texi:31142
  46451. msgid "Return true if @var{obj} is a platform object."
  46452. msgstr ""
  46453. #. type: deffn
  46454. #: guix-git/doc/guix.texi:31144
  46455. #, no-wrap
  46456. msgid "{Scheme Procedure} qemu-platform-name @var{platform}"
  46457. msgstr ""
  46458. #. type: deffn
  46459. #: guix-git/doc/guix.texi:31146
  46460. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  46461. msgstr ""
  46462. #. type: subsubheading
  46463. #: guix-git/doc/guix.texi:31149
  46464. #, no-wrap
  46465. msgid "QEMU Guest Agent"
  46466. msgstr ""
  46467. #. type: Plain text
  46468. #: guix-git/doc/guix.texi:31157
  46469. 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:"
  46470. msgstr ""
  46471. #. type: example
  46472. #: guix-git/doc/guix.texi:31164
  46473. #, no-wrap
  46474. msgid ""
  46475. "qemu-system-x86_64 \\\n"
  46476. "\t-chardev socket,path=/tmp/qga.sock,server=on,wait=off,id=qga0 \\\n"
  46477. "\t-device virtio-serial \\\n"
  46478. "\t-device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 \\\n"
  46479. "\t...\n"
  46480. msgstr ""
  46481. #. type: Plain text
  46482. #: guix-git/doc/guix.texi:31168
  46483. 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}:"
  46484. msgstr ""
  46485. #. type: example
  46486. #: guix-git/doc/guix.texi:31173
  46487. #, no-wrap
  46488. msgid ""
  46489. "$ guix shell socat -- socat unix-connect:/tmp/qga.sock stdio\n"
  46490. "@{\"execute\": \"guest-get-host-name\"@}\n"
  46491. "@{\"return\": @{\"host-name\": \"guix\"@}@}\n"
  46492. msgstr ""
  46493. #. type: Plain text
  46494. #: guix-git/doc/guix.texi:31177
  46495. msgid "See @url{https://wiki.qemu.org/Features/GuestAgent,QEMU guest agent documentation} for more options and commands."
  46496. msgstr ""
  46497. #. type: defvr
  46498. #: guix-git/doc/guix.texi:31178
  46499. #, fuzzy, no-wrap
  46500. msgid "{Scheme Variable} qemu-guest-agent-service-type"
  46501. msgstr "guix-publish-service-type"
  46502. #. type: defvr
  46503. #: guix-git/doc/guix.texi:31180
  46504. msgid "Service type for the QEMU guest agent service."
  46505. msgstr "Tipo de serviço para o serviço de agente convidado QEMU."
  46506. #. type: deftp
  46507. #: guix-git/doc/guix.texi:31182
  46508. #, fuzzy, no-wrap
  46509. msgid "{Data Type} qemu-guest-agent-configuration"
  46510. msgstr "build-machine {Data Type}"
  46511. #. type: deftp
  46512. #: guix-git/doc/guix.texi:31184
  46513. #, fuzzy
  46514. msgid "Configuration for the @code{qemu-guest-agent} service."
  46515. msgstr "Gerencie a configuração do sistema operacional."
  46516. #. type: item
  46517. #: guix-git/doc/guix.texi:31186 guix-git/doc/guix.texi:31268
  46518. #, no-wrap
  46519. msgid "@code{qemu} (default: @code{qemu-minimal})"
  46520. msgstr ""
  46521. #. type: item
  46522. #: guix-git/doc/guix.texi:31189
  46523. #, fuzzy, no-wrap
  46524. #| msgid "@code{device} (default: @code{#f})"
  46525. msgid "@code{device} (default: @code{\"\"})"
  46526. msgstr "@code{device} (default: @code{#f})"
  46527. #. type: table
  46528. #: guix-git/doc/guix.texi:31192
  46529. msgid "File name of the device or socket the agent uses to communicate with the host. If empty, QEMU uses a default file name."
  46530. msgstr ""
  46531. #. type: subsubheading
  46532. #: guix-git/doc/guix.texi:31196
  46533. #, no-wrap
  46534. msgid "The Hurd in a Virtual Machine"
  46535. msgstr ""
  46536. #. type: cindex
  46537. #: guix-git/doc/guix.texi:31199
  46538. #, no-wrap
  46539. msgid "the Hurd"
  46540. msgstr ""
  46541. #. type: cindex
  46542. #: guix-git/doc/guix.texi:31200
  46543. #, no-wrap
  46544. msgid "childhurd"
  46545. msgstr ""
  46546. #. type: Plain text
  46547. #: guix-git/doc/guix.texi:31208
  46548. 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:"
  46549. msgstr ""
  46550. #. type: example
  46551. #: guix-git/doc/guix.texi:31212
  46552. #, no-wrap
  46553. msgid ""
  46554. "herd start hurd-vm\n"
  46555. "herd stop childhurd\n"
  46556. msgstr ""
  46557. #. type: Plain text
  46558. #: guix-git/doc/guix.texi:31216
  46559. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  46560. msgstr ""
  46561. #. type: example
  46562. #: guix-git/doc/guix.texi:31219
  46563. #, no-wrap
  46564. msgid "guix shell tigervnc-client -- vncviewer localhost:5900\n"
  46565. msgstr ""
  46566. #. type: Plain text
  46567. #: guix-git/doc/guix.texi:31225
  46568. 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:"
  46569. msgstr ""
  46570. #. type: example
  46571. #: guix-git/doc/guix.texi:31228
  46572. #, no-wrap
  46573. msgid "ssh root@@localhost -p 10022\n"
  46574. msgstr ""
  46575. #. type: Plain text
  46576. #: guix-git/doc/guix.texi:31237
  46577. 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."
  46578. msgstr ""
  46579. #. type: defvr
  46580. #: guix-git/doc/guix.texi:31238
  46581. #, no-wrap
  46582. msgid "{Scheme Variable} hurd-vm-service-type"
  46583. msgstr ""
  46584. #. type: defvr
  46585. #: guix-git/doc/guix.texi:31244
  46586. 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."
  46587. msgstr ""
  46588. #. type: defvr
  46589. #: guix-git/doc/guix.texi:31246
  46590. msgid "For example:"
  46591. msgstr ""
  46592. #. type: lisp
  46593. #: guix-git/doc/guix.texi:31252
  46594. #, no-wrap
  46595. msgid ""
  46596. "(service hurd-vm-service-type\n"
  46597. " (hurd-vm-configuration\n"
  46598. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  46599. " (memory-size 1024))) ;1024MiB\n"
  46600. msgstr ""
  46601. #. type: defvr
  46602. #: guix-git/doc/guix.texi:31256
  46603. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  46604. msgstr ""
  46605. #. type: deftp
  46606. #: guix-git/doc/guix.texi:31258
  46607. #, no-wrap
  46608. msgid "{Data Type} hurd-vm-configuration"
  46609. msgstr ""
  46610. #. type: deftp
  46611. #: guix-git/doc/guix.texi:31261
  46612. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  46613. msgstr ""
  46614. #. type: item
  46615. #: guix-git/doc/guix.texi:31263
  46616. #, no-wrap
  46617. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  46618. msgstr ""
  46619. #. type: table
  46620. #: guix-git/doc/guix.texi:31267
  46621. 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}})."
  46622. msgstr ""
  46623. #. type: item
  46624. #: guix-git/doc/guix.texi:31271
  46625. #, no-wrap
  46626. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  46627. msgstr ""
  46628. #. type: table
  46629. #: guix-git/doc/guix.texi:31274
  46630. msgid "The procedure used to build the disk-image built from this configuration."
  46631. msgstr ""
  46632. #. type: item
  46633. #: guix-git/doc/guix.texi:31275
  46634. #, no-wrap
  46635. msgid "@code{disk-size} (default: @code{'guess})"
  46636. msgstr ""
  46637. #. type: table
  46638. #: guix-git/doc/guix.texi:31277
  46639. msgid "The size of the disk image."
  46640. msgstr ""
  46641. #. type: item
  46642. #: guix-git/doc/guix.texi:31278
  46643. #, no-wrap
  46644. msgid "@code{memory-size} (default: @code{512})"
  46645. msgstr ""
  46646. #. type: table
  46647. #: guix-git/doc/guix.texi:31280
  46648. msgid "The memory size of the Virtual Machine in mebibytes."
  46649. msgstr ""
  46650. #. type: item
  46651. #: guix-git/doc/guix.texi:31281
  46652. #, no-wrap
  46653. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  46654. msgstr ""
  46655. #. type: table
  46656. #: guix-git/doc/guix.texi:31283
  46657. msgid "The extra options for running QEMU."
  46658. msgstr ""
  46659. #. type: table
  46660. #: guix-git/doc/guix.texi:31288
  46661. 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}."
  46662. msgstr ""
  46663. #. type: item
  46664. #: guix-git/doc/guix.texi:31289
  46665. #, no-wrap
  46666. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  46667. msgstr ""
  46668. #. type: table
  46669. #: guix-git/doc/guix.texi:31291
  46670. msgid "The procedure used to produce the list of QEMU networking options."
  46671. msgstr ""
  46672. #. type: table
  46673. #: guix-git/doc/guix.texi:31293
  46674. msgid "By default, it produces"
  46675. msgstr ""
  46676. #. type: lisp
  46677. #: guix-git/doc/guix.texi:31301
  46678. #, no-wrap
  46679. msgid ""
  46680. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  46681. " \"--netdev\" (string-append\n"
  46682. " \"user,id=net0,\"\n"
  46683. " \"hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004,\"\n"
  46684. " \"hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222,\"\n"
  46685. " \"hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\"))\n"
  46686. msgstr ""
  46687. #. type: table
  46688. #: guix-git/doc/guix.texi:31304
  46689. msgid "with forwarded ports:"
  46690. msgstr ""
  46691. #. type: example
  46692. #: guix-git/doc/guix.texi:31309
  46693. #, no-wrap
  46694. msgid ""
  46695. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  46696. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  46697. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  46698. msgstr ""
  46699. #. type: item
  46700. #: guix-git/doc/guix.texi:31311
  46701. #, no-wrap
  46702. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  46703. msgstr ""
  46704. #. type: table
  46705. #: guix-git/doc/guix.texi:31316
  46706. 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."
  46707. msgstr ""
  46708. #. type: table
  46709. #: guix-git/doc/guix.texi:31320
  46710. 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."
  46711. msgstr ""
  46712. #. type: table
  46713. #: guix-git/doc/guix.texi:31323
  46714. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  46715. msgstr ""
  46716. #. type: example
  46717. #: guix-git/doc/guix.texi:31332
  46718. #, no-wrap
  46719. msgid ""
  46720. "/etc/childhurd/etc/guix/acl\n"
  46721. "/etc/childhurd/etc/guix/signing-key.pub\n"
  46722. "/etc/childhurd/etc/guix/signing-key.sec\n"
  46723. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  46724. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  46725. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  46726. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  46727. msgstr ""
  46728. #. type: table
  46729. #: guix-git/doc/guix.texi:31336
  46730. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  46731. msgstr ""
  46732. #. type: cindex
  46733. #: guix-git/doc/guix.texi:31337
  46734. #, no-wrap
  46735. msgid "childhurd, offloading"
  46736. msgstr ""
  46737. #. type: cindex
  46738. #: guix-git/doc/guix.texi:31338
  46739. #, no-wrap
  46740. msgid "Hurd, offloading"
  46741. msgstr ""
  46742. #. type: table
  46743. #: guix-git/doc/guix.texi:31342
  46744. 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:"
  46745. msgstr ""
  46746. #. type: enumerate
  46747. #: guix-git/doc/guix.texi:31347
  46748. 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:"
  46749. msgstr ""
  46750. #. type: example
  46751. #: guix-git/doc/guix.texi:31351
  46752. #, no-wrap
  46753. msgid ""
  46754. "guix archive --authorize < \\\n"
  46755. " /etc/childhurd/etc/guix/signing-key.pub\n"
  46756. msgstr ""
  46757. #. type: enumerate
  46758. #: guix-git/doc/guix.texi:31356
  46759. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  46760. msgstr ""
  46761. #. type: table
  46762. #: guix-git/doc/guix.texi:31360
  46763. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  46764. msgstr ""
  46765. #. type: Plain text
  46766. #: guix-git/doc/guix.texi:31367
  46767. 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:"
  46768. msgstr ""
  46769. #. type: lisp
  46770. #: guix-git/doc/guix.texi:31373
  46771. #, no-wrap
  46772. msgid ""
  46773. "(service hurd-vm-service-type\n"
  46774. " (hurd-vm-configuration\n"
  46775. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  46776. " (options '())))\n"
  46777. msgstr ""
  46778. #. type: subsubheading
  46779. #: guix-git/doc/guix.texi:31375
  46780. #, no-wrap
  46781. msgid "Ganeti"
  46782. msgstr ""
  46783. #. type: cindex
  46784. #: guix-git/doc/guix.texi:31377
  46785. #, no-wrap
  46786. msgid "ganeti"
  46787. msgstr ""
  46788. #. type: quotation
  46789. #: guix-git/doc/guix.texi:31384
  46790. 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}."
  46791. msgstr ""
  46792. #. type: Plain text
  46793. #: guix-git/doc/guix.texi:31394
  46794. 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{operating-system Reference, @code{hosts-file}}) with the cluster name and address (or use a DNS server)."
  46795. msgstr ""
  46796. #. type: Plain text
  46797. #: guix-git/doc/guix.texi:31399
  46798. 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}:"
  46799. msgstr ""
  46800. #. type: lisp
  46801. #: guix-git/doc/guix.texi:31409
  46802. #, no-wrap
  46803. msgid ""
  46804. "(use-package-modules virtualization)\n"
  46805. "(use-service-modules base ganeti networking ssh)\n"
  46806. "(operating-system\n"
  46807. " ;; @dots{}\n"
  46808. " (host-name \"node1\")\n"
  46809. " (hosts-file (plain-file \"hosts\" (format #f \"\n"
  46810. "127.0.0.1 localhost\n"
  46811. "::1 localhost\n"
  46812. "\n"
  46813. msgstr ""
  46814. #. type: lisp
  46815. #: guix-git/doc/guix.texi:31414
  46816. #, no-wrap
  46817. msgid ""
  46818. "192.168.1.200 ganeti.example.com\n"
  46819. "192.168.1.201 node1.example.com node1\n"
  46820. "192.168.1.202 node2.example.com node2\n"
  46821. "\")))\n"
  46822. "\n"
  46823. msgstr ""
  46824. #. type: lisp
  46825. #: guix-git/doc/guix.texi:31435
  46826. #, no-wrap
  46827. msgid ""
  46828. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  46829. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  46830. " (packages (append (map specification->package\n"
  46831. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  46832. " ;; Add the debootstrap and guix OS providers.\n"
  46833. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  46834. " %base-packages))\n"
  46835. " (services\n"
  46836. " (append (list (service static-networking-service-type\n"
  46837. " (list (static-networking\n"
  46838. " (addresses\n"
  46839. " (list (network-address\n"
  46840. " (device \"eth0\")\n"
  46841. " (value \"192.168.1.201/24\"))))\n"
  46842. " (routes\n"
  46843. " (list (network-route\n"
  46844. " (destination \"default\")\n"
  46845. " (gateway \"192.168.1.254\"))))\n"
  46846. " (name-servers '(\"192.168.1.252\"\n"
  46847. " \"192.168.1.253\")))))\n"
  46848. "\n"
  46849. msgstr ""
  46850. #. type: lisp
  46851. #: guix-git/doc/guix.texi:31440
  46852. #, no-wrap
  46853. msgid ""
  46854. " ;; Ganeti uses SSH to communicate between nodes.\n"
  46855. " (service openssh-service-type\n"
  46856. " (openssh-configuration\n"
  46857. " (permit-root-login 'prohibit-password)))\n"
  46858. "\n"
  46859. msgstr ""
  46860. #. type: lisp
  46861. #: guix-git/doc/guix.texi:31450
  46862. #, no-wrap
  46863. msgid ""
  46864. " (service ganeti-service-type\n"
  46865. " (ganeti-configuration\n"
  46866. " ;; This list specifies allowed file system paths\n"
  46867. " ;; for storing virtual machine images.\n"
  46868. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  46869. " ;; This variable configures a single \"variant\" for\n"
  46870. " ;; both Debootstrap and Guix that works with KVM.\n"
  46871. " (os %default-ganeti-os))))\n"
  46872. " %base-services)))\n"
  46873. msgstr ""
  46874. #. type: Plain text
  46875. #: guix-git/doc/guix.texi:31458
  46876. msgid "Users are advised to read the @url{http://docs.ganeti.org/ganeti/master/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."
  46877. msgstr ""
  46878. #. type: defvr
  46879. #: guix-git/doc/guix.texi:31459
  46880. #, no-wrap
  46881. msgid "{Scheme Variable} ganeti-service-type"
  46882. msgstr ""
  46883. #. type: defvr
  46884. #: guix-git/doc/guix.texi:31462
  46885. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  46886. msgstr ""
  46887. #. type: defvr
  46888. #: guix-git/doc/guix.texi:31467
  46889. 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."
  46890. msgstr ""
  46891. #. type: deftp
  46892. #: guix-git/doc/guix.texi:31469
  46893. #, no-wrap
  46894. msgid "{Data Type} ganeti-configuration"
  46895. msgstr ""
  46896. #. type: deftp
  46897. #: guix-git/doc/guix.texi:31471
  46898. msgid "The @code{ganeti} service takes the following configuration options:"
  46899. msgstr ""
  46900. #. type: item
  46901. #: guix-git/doc/guix.texi:31473 guix-git/doc/guix.texi:31701
  46902. #: guix-git/doc/guix.texi:31751 guix-git/doc/guix.texi:31781
  46903. #: guix-git/doc/guix.texi:31808 guix-git/doc/guix.texi:31840
  46904. #: guix-git/doc/guix.texi:31893 guix-git/doc/guix.texi:31913
  46905. #: guix-git/doc/guix.texi:31939 guix-git/doc/guix.texi:31972
  46906. #: guix-git/doc/guix.texi:32012
  46907. #, no-wrap
  46908. msgid "@code{ganeti} (default: @code{ganeti})"
  46909. msgstr ""
  46910. #. type: table
  46911. #: guix-git/doc/guix.texi:31478
  46912. 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)."
  46913. msgstr ""
  46914. #. type: item
  46915. #: guix-git/doc/guix.texi:31479
  46916. #, no-wrap
  46917. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  46918. msgstr ""
  46919. #. type: itemx
  46920. #: guix-git/doc/guix.texi:31480
  46921. #, no-wrap
  46922. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  46923. msgstr ""
  46924. #. type: itemx
  46925. #: guix-git/doc/guix.texi:31481
  46926. #, no-wrap
  46927. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  46928. msgstr ""
  46929. #. type: itemx
  46930. #: guix-git/doc/guix.texi:31482
  46931. #, no-wrap
  46932. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  46933. msgstr ""
  46934. #. type: itemx
  46935. #: guix-git/doc/guix.texi:31483
  46936. #, no-wrap
  46937. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  46938. msgstr ""
  46939. #. type: itemx
  46940. #: guix-git/doc/guix.texi:31484
  46941. #, no-wrap
  46942. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  46943. msgstr ""
  46944. #. type: itemx
  46945. #: guix-git/doc/guix.texi:31485
  46946. #, no-wrap
  46947. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  46948. msgstr ""
  46949. #. type: itemx
  46950. #: guix-git/doc/guix.texi:31486
  46951. #, no-wrap
  46952. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  46953. msgstr ""
  46954. #. type: itemx
  46955. #: guix-git/doc/guix.texi:31487
  46956. #, no-wrap
  46957. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  46958. msgstr ""
  46959. #. type: itemx
  46960. #: guix-git/doc/guix.texi:31488
  46961. #, no-wrap
  46962. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  46963. msgstr ""
  46964. #. type: table
  46965. #: guix-git/doc/guix.texi:31493
  46966. 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:"
  46967. msgstr ""
  46968. #. type: lisp
  46969. #: guix-git/doc/guix.texi:31503
  46970. #, no-wrap
  46971. msgid ""
  46972. "(service ganeti-service-type\n"
  46973. " (ganeti-configuration\n"
  46974. " (rapi-configuration\n"
  46975. " (ganeti-rapi-configuration\n"
  46976. " (interface \"eth1\"))))\n"
  46977. " (watcher-configuration\n"
  46978. " (ganeti-watcher-configuration\n"
  46979. " (rapi-ip \"10.0.0.1\"))))\n"
  46980. msgstr ""
  46981. #. type: item
  46982. #: guix-git/doc/guix.texi:31505
  46983. #, no-wrap
  46984. msgid "@code{file-storage-paths} (default: @code{'()})"
  46985. msgstr ""
  46986. #. type: table
  46987. #: guix-git/doc/guix.texi:31507
  46988. msgid "List of allowed directories for file storage backend."
  46989. msgstr ""
  46990. #. type: item
  46991. #: guix-git/doc/guix.texi:31508
  46992. #, no-wrap
  46993. msgid "@code{os} (default: @code{%default-ganeti-os})"
  46994. msgstr ""
  46995. #. type: table
  46996. #: guix-git/doc/guix.texi:31510
  46997. msgid "List of @code{<ganeti-os>} records."
  46998. msgstr ""
  46999. #. type: deftp
  47000. #: guix-git/doc/guix.texi:31514
  47001. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  47002. msgstr ""
  47003. #. type: lisp
  47004. #: guix-git/doc/guix.texi:31525
  47005. #, no-wrap
  47006. msgid ""
  47007. "(service ganeti-noded-service-type)\n"
  47008. "(service ganeti-confd-service-type)\n"
  47009. "(service ganeti-wconfd-service-type)\n"
  47010. "(service ganeti-luxid-service-type)\n"
  47011. "(service ganeti-kvmd-service-type)\n"
  47012. "(service ganeti-mond-service-type)\n"
  47013. "(service ganeti-metad-service-type)\n"
  47014. "(service ganeti-watcher-service-type)\n"
  47015. "(service ganeti-cleaner-service-type)\n"
  47016. msgstr ""
  47017. #. type: deftp
  47018. #: guix-git/doc/guix.texi:31529
  47019. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  47020. msgstr ""
  47021. #. type: deftp
  47022. #: guix-git/doc/guix.texi:31532
  47023. #, no-wrap
  47024. msgid "{Data Type} ganeti-os"
  47025. msgstr ""
  47026. #. type: deftp
  47027. #: guix-git/doc/guix.texi:31535
  47028. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  47029. msgstr ""
  47030. #. type: table
  47031. #: guix-git/doc/guix.texi:31541
  47032. 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}."
  47033. msgstr ""
  47034. #. type: code{#1}
  47035. #: guix-git/doc/guix.texi:31542
  47036. #, no-wrap
  47037. msgid "extension"
  47038. msgstr ""
  47039. #. type: table
  47040. #: guix-git/doc/guix.texi:31545
  47041. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}."
  47042. msgstr ""
  47043. #. type: item
  47044. #: guix-git/doc/guix.texi:31546
  47045. #, no-wrap
  47046. msgid "@code{variants} (default: @code{'()})"
  47047. msgstr ""
  47048. #. type: table
  47049. #: guix-git/doc/guix.texi:31548
  47050. msgid "List of @code{ganeti-os-variant} objects for this OS."
  47051. msgstr ""
  47052. #. type: deftp
  47053. #: guix-git/doc/guix.texi:31552
  47054. #, no-wrap
  47055. msgid "{Data Type} ganeti-os-variant"
  47056. msgstr ""
  47057. #. type: deftp
  47058. #: guix-git/doc/guix.texi:31555
  47059. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  47060. msgstr ""
  47061. #. type: table
  47062. #: guix-git/doc/guix.texi:31559
  47063. msgid "The name of this variant."
  47064. msgstr ""
  47065. #. type: code{#1}
  47066. #: guix-git/doc/guix.texi:31560
  47067. #, no-wrap
  47068. msgid "configuration"
  47069. msgstr ""
  47070. #. type: table
  47071. #: guix-git/doc/guix.texi:31562
  47072. msgid "A configuration file for this variant."
  47073. msgstr ""
  47074. #. type: defvr
  47075. #: guix-git/doc/guix.texi:31565
  47076. #, no-wrap
  47077. msgid "{Scheme Variable} %default-debootstrap-hooks"
  47078. msgstr ""
  47079. #. type: defvr
  47080. #: guix-git/doc/guix.texi:31567
  47081. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  47082. msgstr ""
  47083. #. type: defvr
  47084. #: guix-git/doc/guix.texi:31569
  47085. #, no-wrap
  47086. msgid "{Scheme Variable} %default-debootstrap-extra-pkgs"
  47087. msgstr ""
  47088. #. type: defvr
  47089. #: guix-git/doc/guix.texi:31571
  47090. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  47091. msgstr ""
  47092. #. type: deftp
  47093. #: guix-git/doc/guix.texi:31573
  47094. #, no-wrap
  47095. msgid "{Data Type} debootstrap-configuration"
  47096. msgstr ""
  47097. #. type: deftp
  47098. #: guix-git/doc/guix.texi:31576
  47099. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  47100. msgstr ""
  47101. #. type: item
  47102. #: guix-git/doc/guix.texi:31578
  47103. #, no-wrap
  47104. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  47105. msgstr ""
  47106. #. type: table
  47107. #: guix-git/doc/guix.texi:31582
  47108. 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:"
  47109. msgstr ""
  47110. #. type: lisp
  47111. #: guix-git/doc/guix.texi:31585
  47112. #, no-wrap
  47113. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  47114. msgstr ""
  47115. #. type: table
  47116. #: guix-git/doc/guix.texi:31590
  47117. 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."
  47118. msgstr ""
  47119. #. type: item
  47120. #: guix-git/doc/guix.texi:31590
  47121. #, no-wrap
  47122. msgid "@code{proxy} (default: @code{#f})"
  47123. msgstr ""
  47124. #. type: table
  47125. #: guix-git/doc/guix.texi:31592
  47126. msgid "Optional HTTP proxy to use."
  47127. msgstr ""
  47128. #. type: item
  47129. #: guix-git/doc/guix.texi:31592 guix-git/doc/guix.texi:33785
  47130. #, no-wrap
  47131. msgid "@code{mirror} (default: @code{#f})"
  47132. msgstr ""
  47133. #. type: table
  47134. #: guix-git/doc/guix.texi:31595
  47135. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  47136. msgstr ""
  47137. #. type: item
  47138. #: guix-git/doc/guix.texi:31595
  47139. #, no-wrap
  47140. msgid "@code{arch} (default: @code{#f})"
  47141. msgstr ""
  47142. #. type: table
  47143. #: guix-git/doc/guix.texi:31598
  47144. 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."
  47145. msgstr ""
  47146. #. type: item
  47147. #: guix-git/doc/guix.texi:31598
  47148. #, no-wrap
  47149. msgid "@code{suite} (default: @code{\"stable\"})"
  47150. msgstr ""
  47151. #. type: table
  47152. #: guix-git/doc/guix.texi:31601
  47153. 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."
  47154. msgstr ""
  47155. #. type: item
  47156. #: guix-git/doc/guix.texi:31601
  47157. #, no-wrap
  47158. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  47159. msgstr ""
  47160. #. type: table
  47161. #: guix-git/doc/guix.texi:31604
  47162. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  47163. msgstr ""
  47164. #. type: item
  47165. #: guix-git/doc/guix.texi:31604
  47166. #, no-wrap
  47167. msgid "@code{components} (default: @code{#f})"
  47168. msgstr ""
  47169. #. type: table
  47170. #: guix-git/doc/guix.texi:31607
  47171. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  47172. msgstr ""
  47173. #. type: item
  47174. #: guix-git/doc/guix.texi:31607
  47175. #, no-wrap
  47176. msgid "@code{generate-cache?} (default: @code{#t})"
  47177. msgstr ""
  47178. #. type: table
  47179. #: guix-git/doc/guix.texi:31609
  47180. msgid "Whether to automatically cache the generated debootstrap archive."
  47181. msgstr ""
  47182. #. type: item
  47183. #: guix-git/doc/guix.texi:31609
  47184. #, no-wrap
  47185. msgid "@code{clean-cache} (default: @code{14})"
  47186. msgstr ""
  47187. #. type: table
  47188. #: guix-git/doc/guix.texi:31612
  47189. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  47190. msgstr ""
  47191. #. type: item
  47192. #: guix-git/doc/guix.texi:31612
  47193. #, no-wrap
  47194. msgid "@code{partition-style} (default: @code{'msdos})"
  47195. msgstr ""
  47196. #. type: table
  47197. #: guix-git/doc/guix.texi:31615
  47198. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  47199. msgstr ""
  47200. #. type: item
  47201. #: guix-git/doc/guix.texi:31615
  47202. #, no-wrap
  47203. msgid "@code{partition-alignment} (default: @code{2048})"
  47204. msgstr ""
  47205. #. type: table
  47206. #: guix-git/doc/guix.texi:31617
  47207. msgid "Alignment of the partition in sectors."
  47208. msgstr ""
  47209. #. type: deffn
  47210. #: guix-git/doc/guix.texi:31620
  47211. #, no-wrap
  47212. msgid "{Scheme Procedure} debootstrap-variant @var{name} @var{configuration}"
  47213. msgstr ""
  47214. #. type: deffn
  47215. #: guix-git/doc/guix.texi:31623
  47216. 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."
  47217. msgstr ""
  47218. #. type: deffn
  47219. #: guix-git/doc/guix.texi:31625
  47220. #, no-wrap
  47221. msgid "{Scheme Procedure} debootstrap-os @var{variants}@dots{}"
  47222. msgstr ""
  47223. #. type: deffn
  47224. #: guix-git/doc/guix.texi:31628
  47225. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  47226. msgstr ""
  47227. #. type: deffn
  47228. #: guix-git/doc/guix.texi:31630
  47229. #, no-wrap
  47230. msgid "{Scheme Procedure} guix-variant @var{name} @var{configuration}"
  47231. msgstr ""
  47232. #. type: deffn
  47233. #: guix-git/doc/guix.texi:31635
  47234. 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."
  47235. msgstr ""
  47236. #. type: deffn
  47237. #: guix-git/doc/guix.texi:31637
  47238. #, no-wrap
  47239. msgid "{Scheme Procedure} guix-os @var{variants}@dots{}"
  47240. msgstr ""
  47241. #. type: deffn
  47242. #: guix-git/doc/guix.texi:31640
  47243. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  47244. msgstr ""
  47245. #. type: defvr
  47246. #: guix-git/doc/guix.texi:31642
  47247. #, no-wrap
  47248. msgid "{Scheme Variable} %default-debootstrap-variants"
  47249. msgstr ""
  47250. #. type: defvr
  47251. #: guix-git/doc/guix.texi:31646
  47252. 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:"
  47253. msgstr ""
  47254. #. type: lisp
  47255. #: guix-git/doc/guix.texi:31651
  47256. #, no-wrap
  47257. msgid ""
  47258. "(list (debootstrap-variant\n"
  47259. " \"default\"\n"
  47260. " (debootstrap-configuration)))\n"
  47261. msgstr ""
  47262. #. type: defvr
  47263. #: guix-git/doc/guix.texi:31654
  47264. #, no-wrap
  47265. msgid "{Scheme Variable} %default-guix-variants"
  47266. msgstr ""
  47267. #. type: defvr
  47268. #: guix-git/doc/guix.texi:31658
  47269. 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."
  47270. msgstr ""
  47271. #. type: lisp
  47272. #: guix-git/doc/guix.texi:31664
  47273. #, no-wrap
  47274. msgid ""
  47275. "(list (guix-variant\n"
  47276. " \"default\"\n"
  47277. " (file-append ganeti-instance-guix\n"
  47278. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  47279. msgstr ""
  47280. #. type: Plain text
  47281. #: guix-git/doc/guix.texi:31670
  47282. 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:"
  47283. msgstr ""
  47284. #. type: lisp
  47285. #: guix-git/doc/guix.texi:31679
  47286. #, no-wrap
  47287. msgid ""
  47288. "(ganeti-os\n"
  47289. " (name \"custom\")\n"
  47290. " (extension \".conf\")\n"
  47291. " (variants\n"
  47292. " (list (ganeti-os-variant\n"
  47293. " (name \"foo\")\n"
  47294. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  47295. msgstr ""
  47296. #. type: Plain text
  47297. #: guix-git/doc/guix.texi:31684
  47298. 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}."
  47299. msgstr ""
  47300. #. type: Plain text
  47301. #: guix-git/doc/guix.texi:31687
  47302. 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}."
  47303. msgstr ""
  47304. #. type: Plain text
  47305. #: guix-git/doc/guix.texi:31690
  47306. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  47307. msgstr ""
  47308. #. type: defvr
  47309. #: guix-git/doc/guix.texi:31691
  47310. #, no-wrap
  47311. msgid "{Scheme Variable} ganeti-noded-service-type"
  47312. msgstr ""
  47313. #. type: defvr
  47314. #: guix-git/doc/guix.texi:31695
  47315. 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."
  47316. msgstr ""
  47317. #. type: deftp
  47318. #: guix-git/doc/guix.texi:31697
  47319. #, no-wrap
  47320. msgid "{Data Type} ganeti-noded-configuration"
  47321. msgstr ""
  47322. #. type: deftp
  47323. #: guix-git/doc/guix.texi:31699
  47324. msgid "This is the configuration for the @code{ganeti-noded} service."
  47325. msgstr ""
  47326. #. type: table
  47327. #: guix-git/doc/guix.texi:31703 guix-git/doc/guix.texi:31753
  47328. #: guix-git/doc/guix.texi:31783 guix-git/doc/guix.texi:31810
  47329. #: guix-git/doc/guix.texi:31842 guix-git/doc/guix.texi:31895
  47330. #: guix-git/doc/guix.texi:31915 guix-git/doc/guix.texi:31941
  47331. #: guix-git/doc/guix.texi:31974
  47332. msgid "The @code{ganeti} package to use for this service."
  47333. msgstr ""
  47334. #. type: item
  47335. #: guix-git/doc/guix.texi:31704
  47336. #, no-wrap
  47337. msgid "@code{port} (default: @code{1811})"
  47338. msgstr ""
  47339. #. type: table
  47340. #: guix-git/doc/guix.texi:31706
  47341. msgid "The TCP port on which the node daemon listens for network requests."
  47342. msgstr ""
  47343. #. type: item
  47344. #: guix-git/doc/guix.texi:31707 guix-git/doc/guix.texi:31757
  47345. #: guix-git/doc/guix.texi:31849 guix-git/doc/guix.texi:31919
  47346. #, no-wrap
  47347. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  47348. msgstr ""
  47349. #. type: table
  47350. #: guix-git/doc/guix.texi:31710
  47351. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  47352. msgstr ""
  47353. #. type: table
  47354. #: guix-git/doc/guix.texi:31714
  47355. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  47356. msgstr ""
  47357. #. type: item
  47358. #: guix-git/doc/guix.texi:31715 guix-git/doc/guix.texi:31857
  47359. #, no-wrap
  47360. msgid "@code{max-clients} (default: @code{20})"
  47361. msgstr ""
  47362. #. type: table
  47363. #: guix-git/doc/guix.texi:31719
  47364. 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."
  47365. msgstr ""
  47366. #. type: item
  47367. #: guix-git/doc/guix.texi:31720 guix-git/doc/guix.texi:31862
  47368. #, no-wrap
  47369. msgid "@code{ssl?} (default: @code{#t})"
  47370. msgstr ""
  47371. #. type: table
  47372. #: guix-git/doc/guix.texi:31724
  47373. 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}."
  47374. msgstr ""
  47375. #. type: item
  47376. #: guix-git/doc/guix.texi:31725 guix-git/doc/guix.texi:31865
  47377. #, no-wrap
  47378. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  47379. msgstr ""
  47380. #. type: table
  47381. #: guix-git/doc/guix.texi:31727 guix-git/doc/guix.texi:31867
  47382. msgid "This can be used to provide a specific encryption key for TLS communications."
  47383. msgstr ""
  47384. #. type: item
  47385. #: guix-git/doc/guix.texi:31728 guix-git/doc/guix.texi:31868
  47386. #, no-wrap
  47387. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  47388. msgstr ""
  47389. #. type: table
  47390. #: guix-git/doc/guix.texi:31730 guix-git/doc/guix.texi:31870
  47391. msgid "This can be used to provide a specific certificate for TLS communications."
  47392. msgstr ""
  47393. #. type: table
  47394. #: guix-git/doc/guix.texi:31734 guix-git/doc/guix.texi:31874
  47395. 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."
  47396. msgstr ""
  47397. #. type: defvr
  47398. #: guix-git/doc/guix.texi:31738
  47399. #, no-wrap
  47400. msgid "{Scheme Variable} ganeti-confd-service-type"
  47401. msgstr ""
  47402. #. type: defvr
  47403. #: guix-git/doc/guix.texi:31744
  47404. 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."
  47405. msgstr ""
  47406. #. type: deftp
  47407. #: guix-git/doc/guix.texi:31747
  47408. #, no-wrap
  47409. msgid "{Data Type} ganeti-confd-configuration"
  47410. msgstr ""
  47411. #. type: deftp
  47412. #: guix-git/doc/guix.texi:31749
  47413. msgid "This is the configuration for the @code{ganeti-confd} service."
  47414. msgstr ""
  47415. #. type: item
  47416. #: guix-git/doc/guix.texi:31754
  47417. #, no-wrap
  47418. msgid "@code{port} (default: @code{1814})"
  47419. msgstr ""
  47420. #. type: table
  47421. #: guix-git/doc/guix.texi:31756
  47422. msgid "The UDP port on which to listen for network requests."
  47423. msgstr ""
  47424. #. type: table
  47425. #: guix-git/doc/guix.texi:31759
  47426. msgid "Network address that the daemon will bind to."
  47427. msgstr ""
  47428. #. type: table
  47429. #: guix-git/doc/guix.texi:31762 guix-git/doc/guix.texi:31791
  47430. #: guix-git/doc/guix.texi:31818 guix-git/doc/guix.texi:31898
  47431. #: guix-git/doc/guix.texi:31925 guix-git/doc/guix.texi:31951
  47432. msgid "When true, the daemon performs additional logging for debugging purposes."
  47433. msgstr ""
  47434. #. type: defvr
  47435. #: guix-git/doc/guix.texi:31766
  47436. #, no-wrap
  47437. msgid "{Scheme Variable} ganeti-wconfd-service-type"
  47438. msgstr ""
  47439. #. type: defvr
  47440. #: guix-git/doc/guix.texi:31772
  47441. 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."
  47442. msgstr ""
  47443. #. type: defvr
  47444. #: guix-git/doc/guix.texi:31775
  47445. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  47446. msgstr ""
  47447. #. type: deftp
  47448. #: guix-git/doc/guix.texi:31777
  47449. #, no-wrap
  47450. msgid "{Data Type} ganeti-wconfd-configuration"
  47451. msgstr ""
  47452. #. type: deftp
  47453. #: guix-git/doc/guix.texi:31779
  47454. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  47455. msgstr ""
  47456. #. type: item
  47457. #: guix-git/doc/guix.texi:31784 guix-git/doc/guix.texi:31811
  47458. #, no-wrap
  47459. msgid "@code{no-voting?} (default: @code{#f})"
  47460. msgstr ""
  47461. #. type: table
  47462. #: guix-git/doc/guix.texi:31788
  47463. 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)."
  47464. msgstr ""
  47465. #. type: defvr
  47466. #: guix-git/doc/guix.texi:31795
  47467. #, no-wrap
  47468. msgid "{Scheme Variable} ganeti-luxid-service-type"
  47469. msgstr ""
  47470. #. type: defvr
  47471. #: guix-git/doc/guix.texi:31800
  47472. 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."
  47473. msgstr ""
  47474. #. type: defvr
  47475. #: guix-git/doc/guix.texi:31802
  47476. msgid "It takes a @code{ganeti-luxid-configuration} object."
  47477. msgstr ""
  47478. #. type: deftp
  47479. #: guix-git/doc/guix.texi:31804
  47480. #, no-wrap
  47481. msgid "{Data Type} ganeti-luxid-configuration"
  47482. msgstr ""
  47483. #. type: deftp
  47484. #: guix-git/doc/guix.texi:31806
  47485. #, fuzzy
  47486. msgid "This is the configuration for the @code{ganeti-luxid} service."
  47487. msgstr "Gerencie a configuração do sistema operacional."
  47488. #. type: table
  47489. #: guix-git/doc/guix.texi:31815
  47490. 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)."
  47491. msgstr ""
  47492. #. type: defvr
  47493. #: guix-git/doc/guix.texi:31822
  47494. #, no-wrap
  47495. msgid "{Scheme Variable} ganeti-rapi-service-type"
  47496. msgstr ""
  47497. #. type: defvr
  47498. #: guix-git/doc/guix.texi:31826
  47499. 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."
  47500. msgstr ""
  47501. #. type: defvr
  47502. #: guix-git/doc/guix.texi:31832
  47503. 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{http://docs.ganeti.org/ganeti/master/html/rapi.html, Ganeti Remote API documentation} for more information."
  47504. msgstr ""
  47505. #. type: defvr
  47506. #: guix-git/doc/guix.texi:31834
  47507. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  47508. msgstr ""
  47509. #. type: deftp
  47510. #: guix-git/doc/guix.texi:31836
  47511. #, no-wrap
  47512. msgid "{Data Type} ganeti-rapi-configuration"
  47513. msgstr ""
  47514. #. type: deftp
  47515. #: guix-git/doc/guix.texi:31838
  47516. msgid "This is the configuration for the @code{ganeti-rapi} service."
  47517. msgstr ""
  47518. #. type: item
  47519. #: guix-git/doc/guix.texi:31843
  47520. #, no-wrap
  47521. msgid "@code{require-authentication?} (default: @code{#f})"
  47522. msgstr ""
  47523. #. type: table
  47524. #: guix-git/doc/guix.texi:31845
  47525. msgid "Whether to require authentication even for read-only operations."
  47526. msgstr ""
  47527. #. type: item
  47528. #: guix-git/doc/guix.texi:31846
  47529. #, no-wrap
  47530. msgid "@code{port} (default: @code{5080})"
  47531. msgstr ""
  47532. #. type: table
  47533. #: guix-git/doc/guix.texi:31848
  47534. msgid "The TCP port on which to listen to API requests."
  47535. msgstr ""
  47536. #. type: table
  47537. #: guix-git/doc/guix.texi:31852
  47538. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  47539. msgstr ""
  47540. #. type: table
  47541. #: guix-git/doc/guix.texi:31856
  47542. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  47543. msgstr ""
  47544. #. type: table
  47545. #: guix-git/doc/guix.texi:31861
  47546. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  47547. msgstr ""
  47548. #. type: table
  47549. #: guix-git/doc/guix.texi:31864
  47550. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  47551. msgstr ""
  47552. #. type: defvr
  47553. #: guix-git/doc/guix.texi:31878
  47554. #, no-wrap
  47555. msgid "{Scheme Variable} ganeti-kvmd-service-type"
  47556. msgstr ""
  47557. #. type: defvr
  47558. #: guix-git/doc/guix.texi:31886
  47559. 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."
  47560. msgstr ""
  47561. #. type: defvr
  47562. #: guix-git/doc/guix.texi:31888
  47563. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  47564. msgstr ""
  47565. #. type: deftp
  47566. #: guix-git/doc/guix.texi:31890
  47567. #, no-wrap
  47568. msgid "{Data Type} ganeti-kvmd-configuration"
  47569. msgstr ""
  47570. #. type: defvr
  47571. #: guix-git/doc/guix.texi:31902
  47572. #, no-wrap
  47573. msgid "{Scheme Variable} ganeti-mond-service-type"
  47574. msgstr ""
  47575. #. type: defvr
  47576. #: guix-git/doc/guix.texi:31906
  47577. 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."
  47578. msgstr ""
  47579. #. type: defvr
  47580. #: guix-git/doc/guix.texi:31908
  47581. msgid "It takes a @code{ganeti-mond-configuration} object."
  47582. msgstr ""
  47583. #. type: deftp
  47584. #: guix-git/doc/guix.texi:31910
  47585. #, no-wrap
  47586. msgid "{Data Type} ganeti-mond-configuration"
  47587. msgstr ""
  47588. #. type: item
  47589. #: guix-git/doc/guix.texi:31916
  47590. #, no-wrap
  47591. msgid "@code{port} (default: @code{1815})"
  47592. msgstr ""
  47593. #. type: table
  47594. #: guix-git/doc/guix.texi:31918 guix-git/doc/guix.texi:31944
  47595. msgid "The port on which the daemon will listen."
  47596. msgstr ""
  47597. #. type: table
  47598. #: guix-git/doc/guix.texi:31922
  47599. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  47600. msgstr ""
  47601. #. type: defvr
  47602. #: guix-git/doc/guix.texi:31929
  47603. #, no-wrap
  47604. msgid "{Scheme Variable} ganeti-metad-service-type"
  47605. msgstr ""
  47606. #. type: defvr
  47607. #: guix-git/doc/guix.texi:31932
  47608. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  47609. msgstr ""
  47610. #. type: defvr
  47611. #: guix-git/doc/guix.texi:31934
  47612. msgid "It takes a @code{ganeti-metad-configuration} object."
  47613. msgstr ""
  47614. #. type: deftp
  47615. #: guix-git/doc/guix.texi:31936
  47616. #, no-wrap
  47617. msgid "{Data Type} ganeti-metad-configuration"
  47618. msgstr ""
  47619. #. type: table
  47620. #: guix-git/doc/guix.texi:31948
  47621. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  47622. msgstr ""
  47623. #. type: defvr
  47624. #: guix-git/doc/guix.texi:31955
  47625. #, no-wrap
  47626. msgid "{Scheme Variable} ganeti-watcher-service-type"
  47627. msgstr ""
  47628. #. type: defvr
  47629. #: guix-git/doc/guix.texi:31963
  47630. 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."
  47631. msgstr ""
  47632. #. type: defvr
  47633. #: guix-git/doc/guix.texi:31965
  47634. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  47635. msgstr ""
  47636. #. type: defvr
  47637. #: guix-git/doc/guix.texi:31967
  47638. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  47639. msgstr ""
  47640. #. type: deftp
  47641. #: guix-git/doc/guix.texi:31969
  47642. #, no-wrap
  47643. msgid "{Data Type} ganeti-watcher-configuration"
  47644. msgstr ""
  47645. #. type: item
  47646. #: guix-git/doc/guix.texi:31975
  47647. #, no-wrap
  47648. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  47649. msgstr ""
  47650. #. type: table
  47651. #: guix-git/doc/guix.texi:31977
  47652. msgid "How often to run the script. The default is every five minutes."
  47653. msgstr ""
  47654. #. type: item
  47655. #: guix-git/doc/guix.texi:31978
  47656. #, no-wrap
  47657. msgid "@code{rapi-ip} (default: @code{#f})"
  47658. msgstr ""
  47659. #. type: table
  47660. #: guix-git/doc/guix.texi:31981
  47661. 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."
  47662. msgstr ""
  47663. #. type: item
  47664. #: guix-git/doc/guix.texi:31982
  47665. #, no-wrap
  47666. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  47667. msgstr ""
  47668. #. type: table
  47669. #: guix-git/doc/guix.texi:31985
  47670. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  47671. msgstr ""
  47672. #. type: item
  47673. #: guix-git/doc/guix.texi:31986
  47674. #, no-wrap
  47675. msgid "@code{verify-disks?} (default: @code{#t})"
  47676. msgstr ""
  47677. #. type: table
  47678. #: guix-git/doc/guix.texi:31990
  47679. 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."
  47680. msgstr ""
  47681. #. type: table
  47682. #: guix-git/doc/guix.texi:31993
  47683. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  47684. msgstr ""
  47685. #. type: defvr
  47686. #: guix-git/doc/guix.texi:31997
  47687. #, no-wrap
  47688. msgid "{Scheme Variable} ganeti-cleaner-service-type"
  47689. msgstr ""
  47690. #. type: defvr
  47691. #: guix-git/doc/guix.texi:32005
  47692. 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."
  47693. msgstr ""
  47694. #. type: defvr
  47695. #: guix-git/doc/guix.texi:32007
  47696. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  47697. msgstr ""
  47698. #. type: deftp
  47699. #: guix-git/doc/guix.texi:32009
  47700. #, no-wrap
  47701. msgid "{Data Type} ganeti-cleaner-configuration"
  47702. msgstr ""
  47703. #. type: table
  47704. #: guix-git/doc/guix.texi:32014
  47705. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  47706. msgstr ""
  47707. #. type: item
  47708. #: guix-git/doc/guix.texi:32015
  47709. #, no-wrap
  47710. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  47711. msgstr ""
  47712. #. type: table
  47713. #: guix-git/doc/guix.texi:32018
  47714. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  47715. msgstr ""
  47716. #. type: item
  47717. #: guix-git/doc/guix.texi:32019
  47718. #, no-wrap
  47719. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  47720. msgstr ""
  47721. #. type: table
  47722. #: guix-git/doc/guix.texi:32022
  47723. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  47724. msgstr ""
  47725. #. type: Plain text
  47726. #: guix-git/doc/guix.texi:32036
  47727. 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}, 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}."
  47728. msgstr ""
  47729. #. type: deffn
  47730. #: guix-git/doc/guix.texi:32037
  47731. #, no-wrap
  47732. msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]"
  47733. msgstr ""
  47734. #. type: deffn
  47735. #: guix-git/doc/guix.texi:32041
  47736. msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  47737. msgstr ""
  47738. #. type: deffn
  47739. #: guix-git/doc/guix.texi:32047
  47740. msgid "The optional @var{config} argument should be a @code{<git-daemon-configuration>} object, 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}."
  47741. msgstr ""
  47742. #. type: deftp
  47743. #: guix-git/doc/guix.texi:32050
  47744. #, no-wrap
  47745. msgid "{Data Type} git-daemon-configuration"
  47746. msgstr ""
  47747. #. type: deftp
  47748. #: guix-git/doc/guix.texi:32052
  47749. msgid "Data type representing the configuration for @code{git-daemon-service}."
  47750. msgstr ""
  47751. #. type: item
  47752. #: guix-git/doc/guix.texi:32054
  47753. #, no-wrap
  47754. msgid "@code{package} (default: @code{git})"
  47755. msgstr ""
  47756. #. type: table
  47757. #: guix-git/doc/guix.texi:32056 guix-git/doc/guix.texi:32116
  47758. msgid "Package object of the Git distributed version control system."
  47759. msgstr ""
  47760. #. type: item
  47761. #: guix-git/doc/guix.texi:32057 guix-git/doc/guix.texi:32120
  47762. #, no-wrap
  47763. msgid "@code{export-all?} (default: @code{#f})"
  47764. msgstr ""
  47765. #. type: table
  47766. #: guix-git/doc/guix.texi:32060
  47767. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  47768. msgstr ""
  47769. #. type: item
  47770. #: guix-git/doc/guix.texi:32061
  47771. #, no-wrap
  47772. msgid "@code{base-path} (default: @file{/srv/git})"
  47773. msgstr ""
  47774. #. type: table
  47775. #: guix-git/doc/guix.texi:32067
  47776. 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}."
  47777. msgstr ""
  47778. #. type: item
  47779. #: guix-git/doc/guix.texi:32068
  47780. #, no-wrap
  47781. msgid "@code{user-path} (default: @code{#f})"
  47782. msgstr ""
  47783. #. type: table
  47784. #: guix-git/doc/guix.texi:32076
  47785. 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}."
  47786. msgstr ""
  47787. #. type: item
  47788. #: guix-git/doc/guix.texi:32077
  47789. #, no-wrap
  47790. msgid "@code{listen} (default: @code{'()})"
  47791. msgstr ""
  47792. #. type: table
  47793. #: guix-git/doc/guix.texi:32080
  47794. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  47795. msgstr ""
  47796. #. type: item
  47797. #: guix-git/doc/guix.texi:32081
  47798. #, no-wrap
  47799. msgid "@code{port} (default: @code{#f})"
  47800. msgstr ""
  47801. #. type: table
  47802. #: guix-git/doc/guix.texi:32083
  47803. msgid "Whether to listen on an alternative port, which defaults to 9418."
  47804. msgstr ""
  47805. #. type: item
  47806. #: guix-git/doc/guix.texi:32084
  47807. #, no-wrap
  47808. msgid "@code{whitelist} (default: @code{'()})"
  47809. msgstr ""
  47810. #. type: table
  47811. #: guix-git/doc/guix.texi:32086
  47812. msgid "If not empty, only allow access to this list of directories."
  47813. msgstr ""
  47814. #. type: table
  47815. #: guix-git/doc/guix.texi:32090
  47816. msgid "Extra options will be passed to @command{git daemon}, please run @command{man git-daemon} for more information."
  47817. msgstr ""
  47818. #. type: Plain text
  47819. #: guix-git/doc/guix.texi:32104
  47820. 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."
  47821. msgstr ""
  47822. #. type: Plain text
  47823. #: guix-git/doc/guix.texi:32107
  47824. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  47825. msgstr ""
  47826. #. type: deftp
  47827. #: guix-git/doc/guix.texi:32108
  47828. #, no-wrap
  47829. msgid "{Data Type} git-http-configuration"
  47830. msgstr ""
  47831. #. type: deftp
  47832. #: guix-git/doc/guix.texi:32112
  47833. 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}."
  47834. msgstr ""
  47835. #. type: item
  47836. #: guix-git/doc/guix.texi:32114
  47837. #, no-wrap
  47838. msgid "@code{package} (default: @var{git})"
  47839. msgstr ""
  47840. #. type: item
  47841. #: guix-git/doc/guix.texi:32117
  47842. #, no-wrap
  47843. msgid "@code{git-root} (default: @file{/srv/git})"
  47844. msgstr ""
  47845. #. type: table
  47846. #: guix-git/doc/guix.texi:32119
  47847. msgid "Directory containing the Git repositories to expose to the world."
  47848. msgstr ""
  47849. #. type: table
  47850. #: guix-git/doc/guix.texi:32123
  47851. 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."
  47852. msgstr ""
  47853. #. type: item
  47854. #: guix-git/doc/guix.texi:32124
  47855. #, no-wrap
  47856. msgid "@code{uri-path} (default: @samp{/git/})"
  47857. msgstr ""
  47858. #. type: table
  47859. #: guix-git/doc/guix.texi:32129
  47860. 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."
  47861. msgstr ""
  47862. #. type: item
  47863. #: guix-git/doc/guix.texi:32130
  47864. #, no-wrap
  47865. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  47866. msgstr ""
  47867. #. type: table
  47868. #: guix-git/doc/guix.texi:32133
  47869. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  47870. msgstr ""
  47871. #. type: Plain text
  47872. #: guix-git/doc/guix.texi:32140
  47873. 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."
  47874. msgstr ""
  47875. #. type: deffn
  47876. #: guix-git/doc/guix.texi:32141
  47877. #, no-wrap
  47878. msgid "{Scheme Procedure} git-http-nginx-location-configuration @"
  47879. msgstr ""
  47880. #. type: deffn
  47881. #: guix-git/doc/guix.texi:32146
  47882. 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:"
  47883. msgstr ""
  47884. #. type: lisp
  47885. #: guix-git/doc/guix.texi:32163
  47886. #, no-wrap
  47887. msgid ""
  47888. "(service nginx-service-type\n"
  47889. " (nginx-configuration\n"
  47890. " (server-blocks\n"
  47891. " (list\n"
  47892. " (nginx-server-configuration\n"
  47893. " (listen '(\"443 ssl\"))\n"
  47894. " (server-name \"git.my-host.org\")\n"
  47895. " (ssl-certificate\n"
  47896. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  47897. " (ssl-certificate-key\n"
  47898. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  47899. " (locations\n"
  47900. " (list\n"
  47901. " (git-http-nginx-location-configuration\n"
  47902. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  47903. msgstr ""
  47904. #. type: deffn
  47905. #: guix-git/doc/guix.texi:32170
  47906. 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}."
  47907. msgstr ""
  47908. #. type: subsubheading
  47909. #: guix-git/doc/guix.texi:32172
  47910. #, no-wrap
  47911. msgid "Cgit Service"
  47912. msgstr ""
  47913. #. type: cindex
  47914. #: guix-git/doc/guix.texi:32174
  47915. #, no-wrap
  47916. msgid "Cgit service"
  47917. msgstr ""
  47918. #. type: cindex
  47919. #: guix-git/doc/guix.texi:32175
  47920. #, no-wrap
  47921. msgid "Git, web interface"
  47922. msgstr ""
  47923. #. type: Plain text
  47924. #: guix-git/doc/guix.texi:32178
  47925. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  47926. msgstr ""
  47927. #. type: Plain text
  47928. #: guix-git/doc/guix.texi:32181
  47929. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  47930. msgstr ""
  47931. #. type: lisp
  47932. #: guix-git/doc/guix.texi:32184
  47933. #, no-wrap
  47934. msgid "(service cgit-service-type)\n"
  47935. msgstr ""
  47936. #. type: Plain text
  47937. #: guix-git/doc/guix.texi:32188
  47938. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  47939. msgstr ""
  47940. #. type: Plain text
  47941. #: guix-git/doc/guix.texi:32192
  47942. msgid "Available @code{cgit-configuration} fields are:"
  47943. msgstr ""
  47944. #. type: deftypevr
  47945. #: guix-git/doc/guix.texi:32193
  47946. #, no-wrap
  47947. msgid "{@code{cgit-configuration} parameter} package package"
  47948. msgstr ""
  47949. #. type: deftypevr
  47950. #: guix-git/doc/guix.texi:32195
  47951. msgid "The CGIT package."
  47952. msgstr ""
  47953. #. type: deftypevr
  47954. #: guix-git/doc/guix.texi:32198
  47955. #, no-wrap
  47956. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  47957. msgstr ""
  47958. #. type: deftypevr
  47959. #: guix-git/doc/guix.texi:32200
  47960. msgid "NGINX configuration."
  47961. msgstr ""
  47962. #. type: deftypevr
  47963. #: guix-git/doc/guix.texi:32203
  47964. #, no-wrap
  47965. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  47966. msgstr ""
  47967. #. type: deftypevr
  47968. #: guix-git/doc/guix.texi:32206
  47969. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  47970. msgstr ""
  47971. #. type: deftypevr
  47972. #: guix-git/doc/guix.texi:32211
  47973. #, no-wrap
  47974. msgid "{@code{cgit-configuration} parameter} string agefile"
  47975. msgstr ""
  47976. #. type: deftypevr
  47977. #: guix-git/doc/guix.texi:32214
  47978. 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."
  47979. msgstr ""
  47980. #. type: deftypevr
  47981. #: guix-git/doc/guix.texi:32219
  47982. #, no-wrap
  47983. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  47984. msgstr ""
  47985. #. type: deftypevr
  47986. #: guix-git/doc/guix.texi:32222
  47987. msgid "Specifies a command that will be invoked for authenticating repository access."
  47988. msgstr ""
  47989. #. type: deftypevr
  47990. #: guix-git/doc/guix.texi:32227
  47991. #, no-wrap
  47992. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  47993. msgstr ""
  47994. #. type: deftypevr
  47995. #: guix-git/doc/guix.texi:32230
  47996. 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."
  47997. msgstr ""
  47998. #. type: deftypevr
  47999. #: guix-git/doc/guix.texi:32232
  48000. msgid "Defaults to @samp{\"name\"}."
  48001. msgstr ""
  48002. #. type: deftypevr
  48003. #: guix-git/doc/guix.texi:32235
  48004. #, no-wrap
  48005. msgid "{@code{cgit-configuration} parameter} string cache-root"
  48006. msgstr ""
  48007. #. type: deftypevr
  48008. #: guix-git/doc/guix.texi:32237
  48009. msgid "Path used to store the cgit cache entries."
  48010. msgstr ""
  48011. #. type: deftypevr
  48012. #: guix-git/doc/guix.texi:32239
  48013. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  48014. msgstr ""
  48015. #. type: deftypevr
  48016. #: guix-git/doc/guix.texi:32242
  48017. #, no-wrap
  48018. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  48019. msgstr ""
  48020. #. type: deftypevr
  48021. #: guix-git/doc/guix.texi:32245
  48022. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  48023. msgstr ""
  48024. #. type: deftypevr
  48025. #: guix-git/doc/guix.texi:32247 guix-git/doc/guix.texi:32690
  48026. msgid "Defaults to @samp{-1}."
  48027. msgstr ""
  48028. #. type: deftypevr
  48029. #: guix-git/doc/guix.texi:32250
  48030. #, no-wrap
  48031. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  48032. msgstr ""
  48033. #. type: deftypevr
  48034. #: guix-git/doc/guix.texi:32253
  48035. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  48036. msgstr ""
  48037. #. type: deftypevr
  48038. #: guix-git/doc/guix.texi:32258
  48039. #, no-wrap
  48040. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  48041. msgstr ""
  48042. #. type: deftypevr
  48043. #: guix-git/doc/guix.texi:32261
  48044. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  48045. msgstr ""
  48046. #. type: deftypevr
  48047. #: guix-git/doc/guix.texi:32266
  48048. #, no-wrap
  48049. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  48050. msgstr ""
  48051. #. type: deftypevr
  48052. #: guix-git/doc/guix.texi:32269
  48053. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  48054. msgstr ""
  48055. #. type: deftypevr
  48056. #: guix-git/doc/guix.texi:32274
  48057. #, no-wrap
  48058. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  48059. msgstr ""
  48060. #. type: deftypevr
  48061. #: guix-git/doc/guix.texi:32277
  48062. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  48063. msgstr ""
  48064. #. type: deftypevr
  48065. #: guix-git/doc/guix.texi:32282
  48066. #, no-wrap
  48067. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  48068. msgstr ""
  48069. #. type: deftypevr
  48070. #: guix-git/doc/guix.texi:32285
  48071. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  48072. msgstr ""
  48073. #. type: deftypevr
  48074. #: guix-git/doc/guix.texi:32290
  48075. #, no-wrap
  48076. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  48077. msgstr ""
  48078. #. type: deftypevr
  48079. #: guix-git/doc/guix.texi:32293
  48080. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  48081. msgstr ""
  48082. #. type: deftypevr
  48083. #: guix-git/doc/guix.texi:32298
  48084. #, no-wrap
  48085. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  48086. msgstr ""
  48087. #. type: deftypevr
  48088. #: guix-git/doc/guix.texi:32301
  48089. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  48090. msgstr ""
  48091. #. type: deftypevr
  48092. #: guix-git/doc/guix.texi:32306
  48093. #, no-wrap
  48094. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  48095. msgstr ""
  48096. #. type: deftypevr
  48097. #: guix-git/doc/guix.texi:32308
  48098. msgid "Sort items in the repo list case sensitively."
  48099. msgstr ""
  48100. #. type: deftypevr
  48101. #: guix-git/doc/guix.texi:32313
  48102. #, no-wrap
  48103. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  48104. msgstr ""
  48105. #. type: deftypevr
  48106. #: guix-git/doc/guix.texi:32316
  48107. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  48108. msgstr ""
  48109. #. type: deftypevr
  48110. #: guix-git/doc/guix.texi:32321
  48111. #, no-wrap
  48112. msgid "{@code{cgit-configuration} parameter} list clone-url"
  48113. msgstr ""
  48114. #. type: deftypevr
  48115. #: guix-git/doc/guix.texi:32323
  48116. msgid "List of @code{clone-url} templates."
  48117. msgstr ""
  48118. #. type: deftypevr
  48119. #: guix-git/doc/guix.texi:32328
  48120. #, no-wrap
  48121. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  48122. msgstr ""
  48123. #. type: deftypevr
  48124. #: guix-git/doc/guix.texi:32330
  48125. msgid "Command which will be invoked to format commit messages."
  48126. msgstr ""
  48127. #. type: deftypevr
  48128. #: guix-git/doc/guix.texi:32335
  48129. #, no-wrap
  48130. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  48131. msgstr ""
  48132. #. type: deftypevr
  48133. #: guix-git/doc/guix.texi:32339 guix-git/doc/guix.texi:32897
  48134. 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."
  48135. msgstr ""
  48136. #. type: deftypevr
  48137. #: guix-git/doc/guix.texi:32341
  48138. msgid "Defaults to @samp{\"git log\"}."
  48139. msgstr ""
  48140. #. type: deftypevr
  48141. #: guix-git/doc/guix.texi:32344
  48142. #, no-wrap
  48143. msgid "{@code{cgit-configuration} parameter} file-object css"
  48144. msgstr ""
  48145. #. type: deftypevr
  48146. #: guix-git/doc/guix.texi:32346
  48147. msgid "URL which specifies the css document to include in all cgit pages."
  48148. msgstr ""
  48149. #. type: deftypevr
  48150. #: guix-git/doc/guix.texi:32348
  48151. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  48152. msgstr ""
  48153. #. type: deftypevr
  48154. #: guix-git/doc/guix.texi:32351
  48155. #, no-wrap
  48156. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  48157. msgstr ""
  48158. #. type: deftypevr
  48159. #: guix-git/doc/guix.texi:32355
  48160. 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."
  48161. msgstr ""
  48162. #. type: deftypevr
  48163. #: guix-git/doc/guix.texi:32360
  48164. #, no-wrap
  48165. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  48166. msgstr ""
  48167. #. type: deftypevr
  48168. #: guix-git/doc/guix.texi:32363
  48169. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  48170. msgstr ""
  48171. #. type: deftypevr
  48172. #: guix-git/doc/guix.texi:32368
  48173. #, no-wrap
  48174. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  48175. msgstr ""
  48176. #. type: deftypevr
  48177. #: guix-git/doc/guix.texi:32372
  48178. 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."
  48179. msgstr ""
  48180. #. type: deftypevr
  48181. #: guix-git/doc/guix.texi:32377
  48182. #, no-wrap
  48183. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  48184. msgstr ""
  48185. #. type: deftypevr
  48186. #: guix-git/doc/guix.texi:32380
  48187. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  48188. msgstr ""
  48189. #. type: deftypevr
  48190. #: guix-git/doc/guix.texi:32385
  48191. #, no-wrap
  48192. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  48193. msgstr ""
  48194. #. type: deftypevr
  48195. #: guix-git/doc/guix.texi:32388
  48196. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  48197. msgstr ""
  48198. #. type: deftypevr
  48199. #: guix-git/doc/guix.texi:32393
  48200. #, no-wrap
  48201. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  48202. msgstr ""
  48203. #. type: deftypevr
  48204. #: guix-git/doc/guix.texi:32396
  48205. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  48206. msgstr ""
  48207. #. type: deftypevr
  48208. #: guix-git/doc/guix.texi:32401
  48209. #, no-wrap
  48210. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  48211. msgstr ""
  48212. #. type: deftypevr
  48213. #: guix-git/doc/guix.texi:32404
  48214. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  48215. msgstr ""
  48216. #. type: deftypevr
  48217. #: guix-git/doc/guix.texi:32409
  48218. #, no-wrap
  48219. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  48220. msgstr ""
  48221. #. type: deftypevr
  48222. #: guix-git/doc/guix.texi:32412
  48223. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  48224. msgstr ""
  48225. #. type: deftypevr
  48226. #: guix-git/doc/guix.texi:32417
  48227. #, no-wrap
  48228. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  48229. msgstr ""
  48230. #. type: deftypevr
  48231. #: guix-git/doc/guix.texi:32420
  48232. 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."
  48233. msgstr ""
  48234. #. type: deftypevr
  48235. #: guix-git/doc/guix.texi:32425
  48236. #, no-wrap
  48237. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  48238. msgstr ""
  48239. #. type: deftypevr
  48240. #: guix-git/doc/guix.texi:32428
  48241. 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."
  48242. msgstr ""
  48243. #. type: deftypevr
  48244. #: guix-git/doc/guix.texi:32433
  48245. #, no-wrap
  48246. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  48247. msgstr ""
  48248. #. type: deftypevr
  48249. #: guix-git/doc/guix.texi:32436 guix-git/doc/guix.texi:32960
  48250. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  48251. msgstr ""
  48252. #. type: deftypevr
  48253. #: guix-git/doc/guix.texi:32441
  48254. #, no-wrap
  48255. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  48256. msgstr ""
  48257. #. type: deftypevr
  48258. #: guix-git/doc/guix.texi:32445
  48259. 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."
  48260. msgstr ""
  48261. #. type: deftypevr
  48262. #: guix-git/doc/guix.texi:32450
  48263. #, no-wrap
  48264. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  48265. msgstr ""
  48266. #. type: deftypevr
  48267. #: guix-git/doc/guix.texi:32454
  48268. 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."
  48269. msgstr ""
  48270. #. type: deftypevr
  48271. #: guix-git/doc/guix.texi:32459
  48272. #, no-wrap
  48273. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  48274. msgstr ""
  48275. #. type: deftypevr
  48276. #: guix-git/doc/guix.texi:32462
  48277. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  48278. msgstr ""
  48279. #. type: deftypevr
  48280. #: guix-git/doc/guix.texi:32467
  48281. #, no-wrap
  48282. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  48283. msgstr ""
  48284. #. type: deftypevr
  48285. #: guix-git/doc/guix.texi:32470
  48286. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  48287. msgstr ""
  48288. #. type: deftypevr
  48289. #: guix-git/doc/guix.texi:32475
  48290. #, no-wrap
  48291. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  48292. msgstr ""
  48293. #. type: deftypevr
  48294. #: guix-git/doc/guix.texi:32477
  48295. msgid "URL used as link to a shortcut icon for cgit."
  48296. msgstr ""
  48297. #. type: deftypevr
  48298. #: guix-git/doc/guix.texi:32479
  48299. msgid "Defaults to @samp{\"/favicon.ico\"}."
  48300. msgstr ""
  48301. #. type: deftypevr
  48302. #: guix-git/doc/guix.texi:32482
  48303. #, no-wrap
  48304. msgid "{@code{cgit-configuration} parameter} string footer"
  48305. msgstr ""
  48306. #. type: deftypevr
  48307. #: guix-git/doc/guix.texi:32486
  48308. 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)."
  48309. msgstr ""
  48310. #. type: deftypevr
  48311. #: guix-git/doc/guix.texi:32491
  48312. #, no-wrap
  48313. msgid "{@code{cgit-configuration} parameter} string head-include"
  48314. msgstr ""
  48315. #. type: deftypevr
  48316. #: guix-git/doc/guix.texi:32494
  48317. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  48318. msgstr ""
  48319. #. type: deftypevr
  48320. #: guix-git/doc/guix.texi:32499
  48321. #, no-wrap
  48322. msgid "{@code{cgit-configuration} parameter} string header"
  48323. msgstr ""
  48324. #. type: deftypevr
  48325. #: guix-git/doc/guix.texi:32502
  48326. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  48327. msgstr ""
  48328. #. type: deftypevr
  48329. #: guix-git/doc/guix.texi:32507
  48330. #, no-wrap
  48331. msgid "{@code{cgit-configuration} parameter} file-object include"
  48332. msgstr ""
  48333. #. type: deftypevr
  48334. #: guix-git/doc/guix.texi:32510
  48335. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  48336. msgstr ""
  48337. #. type: deftypevr
  48338. #: guix-git/doc/guix.texi:32515
  48339. #, no-wrap
  48340. msgid "{@code{cgit-configuration} parameter} string index-header"
  48341. msgstr ""
  48342. #. type: deftypevr
  48343. #: guix-git/doc/guix.texi:32518
  48344. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  48345. msgstr ""
  48346. #. type: deftypevr
  48347. #: guix-git/doc/guix.texi:32523
  48348. #, no-wrap
  48349. msgid "{@code{cgit-configuration} parameter} string index-info"
  48350. msgstr ""
  48351. #. type: deftypevr
  48352. #: guix-git/doc/guix.texi:32526
  48353. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  48354. msgstr ""
  48355. #. type: deftypevr
  48356. #: guix-git/doc/guix.texi:32531
  48357. #, no-wrap
  48358. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  48359. msgstr ""
  48360. #. type: deftypevr
  48361. #: guix-git/doc/guix.texi:32534
  48362. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  48363. msgstr ""
  48364. #. type: deftypevr
  48365. #: guix-git/doc/guix.texi:32539
  48366. #, no-wrap
  48367. msgid "{@code{cgit-configuration} parameter} file-object logo"
  48368. msgstr ""
  48369. #. type: deftypevr
  48370. #: guix-git/doc/guix.texi:32542
  48371. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  48372. msgstr ""
  48373. #. type: deftypevr
  48374. #: guix-git/doc/guix.texi:32544
  48375. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  48376. msgstr ""
  48377. #. type: deftypevr
  48378. #: guix-git/doc/guix.texi:32547
  48379. #, no-wrap
  48380. msgid "{@code{cgit-configuration} parameter} string logo-link"
  48381. msgstr ""
  48382. #. type: deftypevr
  48383. #: guix-git/doc/guix.texi:32549 guix-git/doc/guix.texi:33006
  48384. msgid "URL loaded when clicking on the cgit logo image."
  48385. msgstr ""
  48386. #. type: deftypevr
  48387. #: guix-git/doc/guix.texi:32554
  48388. #, no-wrap
  48389. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  48390. msgstr ""
  48391. #. type: deftypevr
  48392. #: guix-git/doc/guix.texi:32557
  48393. msgid "Command which will be invoked to format the Owner column of the main page."
  48394. msgstr ""
  48395. #. type: deftypevr
  48396. #: guix-git/doc/guix.texi:32562
  48397. #, no-wrap
  48398. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  48399. msgstr ""
  48400. #. type: deftypevr
  48401. #: guix-git/doc/guix.texi:32564
  48402. msgid "Number of items to display in atom feeds view."
  48403. msgstr ""
  48404. #. type: deftypevr
  48405. #: guix-git/doc/guix.texi:32569
  48406. #, no-wrap
  48407. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  48408. msgstr ""
  48409. #. type: deftypevr
  48410. #: guix-git/doc/guix.texi:32571
  48411. msgid "Number of entries to list per page in \"log\" view."
  48412. msgstr ""
  48413. #. type: deftypevr
  48414. #: guix-git/doc/guix.texi:32576
  48415. #, no-wrap
  48416. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  48417. msgstr ""
  48418. #. type: deftypevr
  48419. #: guix-git/doc/guix.texi:32578
  48420. msgid "Number of commit message characters to display in \"log\" view."
  48421. msgstr ""
  48422. #. type: deftypevr
  48423. #: guix-git/doc/guix.texi:32580 guix-git/doc/guix.texi:32596
  48424. msgid "Defaults to @samp{80}."
  48425. msgstr ""
  48426. #. type: deftypevr
  48427. #: guix-git/doc/guix.texi:32583
  48428. #, no-wrap
  48429. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  48430. msgstr ""
  48431. #. type: deftypevr
  48432. #: guix-git/doc/guix.texi:32586
  48433. msgid "Specifies the number of entries to list per page on the repository index page."
  48434. msgstr ""
  48435. #. type: deftypevr
  48436. #: guix-git/doc/guix.texi:32591
  48437. #, no-wrap
  48438. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  48439. msgstr ""
  48440. #. type: deftypevr
  48441. #: guix-git/doc/guix.texi:32594
  48442. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  48443. msgstr ""
  48444. #. type: deftypevr
  48445. #: guix-git/doc/guix.texi:32599
  48446. #, no-wrap
  48447. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  48448. msgstr ""
  48449. #. type: deftypevr
  48450. #: guix-git/doc/guix.texi:32601
  48451. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  48452. msgstr ""
  48453. #. type: deftypevr
  48454. #: guix-git/doc/guix.texi:32606
  48455. #, no-wrap
  48456. msgid "{@code{cgit-configuration} parameter} string max-stats"
  48457. msgstr ""
  48458. #. type: deftypevr
  48459. #: guix-git/doc/guix.texi:32609
  48460. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  48461. msgstr ""
  48462. #. type: deftypevr
  48463. #: guix-git/doc/guix.texi:32614
  48464. #, no-wrap
  48465. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  48466. msgstr ""
  48467. #. type: deftypevr
  48468. #: guix-git/doc/guix.texi:32616
  48469. msgid "Mimetype for the specified filename extension."
  48470. msgstr ""
  48471. #. type: deftypevr
  48472. #: guix-git/doc/guix.texi:32620
  48473. 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\"))}."
  48474. msgstr ""
  48475. #. type: deftypevr
  48476. #: guix-git/doc/guix.texi:32623
  48477. #, no-wrap
  48478. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  48479. msgstr ""
  48480. #. type: deftypevr
  48481. #: guix-git/doc/guix.texi:32625
  48482. msgid "Specifies the file to use for automatic mimetype lookup."
  48483. msgstr ""
  48484. #. type: deftypevr
  48485. #: guix-git/doc/guix.texi:32630
  48486. #, no-wrap
  48487. msgid "{@code{cgit-configuration} parameter} string module-link"
  48488. msgstr ""
  48489. #. type: deftypevr
  48490. #: guix-git/doc/guix.texi:32633
  48491. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  48492. msgstr ""
  48493. #. type: deftypevr
  48494. #: guix-git/doc/guix.texi:32638
  48495. #, no-wrap
  48496. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  48497. msgstr ""
  48498. #. type: deftypevr
  48499. #: guix-git/doc/guix.texi:32640
  48500. msgid "If set to the value @samp{#t} caching will be disabled."
  48501. msgstr ""
  48502. #. type: deftypevr
  48503. #: guix-git/doc/guix.texi:32645
  48504. #, no-wrap
  48505. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  48506. msgstr ""
  48507. #. type: deftypevr
  48508. #: guix-git/doc/guix.texi:32648
  48509. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  48510. msgstr ""
  48511. #. type: deftypevr
  48512. #: guix-git/doc/guix.texi:32653
  48513. #, no-wrap
  48514. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  48515. msgstr ""
  48516. #. type: deftypevr
  48517. #: guix-git/doc/guix.texi:32656
  48518. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  48519. msgstr ""
  48520. #. type: deftypevr
  48521. #: guix-git/doc/guix.texi:32661
  48522. #, no-wrap
  48523. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  48524. msgstr ""
  48525. #. type: deftypevr
  48526. #: guix-git/doc/guix.texi:32665
  48527. 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."
  48528. msgstr ""
  48529. #. type: deftypevr
  48530. #: guix-git/doc/guix.texi:32670
  48531. #, no-wrap
  48532. msgid "{@code{cgit-configuration} parameter} file-object readme"
  48533. msgstr ""
  48534. #. type: deftypevr
  48535. #: guix-git/doc/guix.texi:32672
  48536. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  48537. msgstr ""
  48538. #. type: deftypevr
  48539. #: guix-git/doc/guix.texi:32677
  48540. #, no-wrap
  48541. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  48542. msgstr ""
  48543. #. type: deftypevr
  48544. #: guix-git/doc/guix.texi:32681
  48545. 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."
  48546. msgstr ""
  48547. #. type: deftypevr
  48548. #: guix-git/doc/guix.texi:32686
  48549. #, no-wrap
  48550. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  48551. msgstr ""
  48552. #. type: deftypevr
  48553. #: guix-git/doc/guix.texi:32688
  48554. msgid "Maximum number of files to consider when detecting renames."
  48555. msgstr ""
  48556. #. type: deftypevr
  48557. #: guix-git/doc/guix.texi:32693
  48558. #, no-wrap
  48559. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  48560. msgstr ""
  48561. #. type: deftypevr
  48562. #: guix-git/doc/guix.texi:32695
  48563. msgid "The way in which repositories in each section are sorted."
  48564. msgstr ""
  48565. #. type: deftypevr
  48566. #: guix-git/doc/guix.texi:32700
  48567. #, no-wrap
  48568. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  48569. msgstr ""
  48570. #. type: deftypevr
  48571. #: guix-git/doc/guix.texi:32702
  48572. msgid "Text used as content for the @code{robots} meta-tag."
  48573. msgstr ""
  48574. #. type: deftypevr
  48575. #: guix-git/doc/guix.texi:32704
  48576. msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}."
  48577. msgstr ""
  48578. #. type: deftypevr
  48579. #: guix-git/doc/guix.texi:32707
  48580. #, no-wrap
  48581. msgid "{@code{cgit-configuration} parameter} string root-desc"
  48582. msgstr ""
  48583. #. type: deftypevr
  48584. #: guix-git/doc/guix.texi:32709
  48585. msgid "Text printed below the heading on the repository index page."
  48586. msgstr ""
  48587. #. type: deftypevr
  48588. #: guix-git/doc/guix.texi:32711
  48589. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  48590. msgstr ""
  48591. #. type: deftypevr
  48592. #: guix-git/doc/guix.texi:32714
  48593. #, no-wrap
  48594. msgid "{@code{cgit-configuration} parameter} string root-readme"
  48595. msgstr ""
  48596. #. type: deftypevr
  48597. #: guix-git/doc/guix.texi:32717
  48598. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  48599. msgstr ""
  48600. #. type: deftypevr
  48601. #: guix-git/doc/guix.texi:32722
  48602. #, no-wrap
  48603. msgid "{@code{cgit-configuration} parameter} string root-title"
  48604. msgstr ""
  48605. #. type: deftypevr
  48606. #: guix-git/doc/guix.texi:32724
  48607. msgid "Text printed as heading on the repository index page."
  48608. msgstr ""
  48609. #. type: deftypevr
  48610. #: guix-git/doc/guix.texi:32729
  48611. #, no-wrap
  48612. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  48613. msgstr ""
  48614. #. type: deftypevr
  48615. #: guix-git/doc/guix.texi:32735
  48616. 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."
  48617. msgstr ""
  48618. #. type: deftypevr
  48619. #: guix-git/doc/guix.texi:32740
  48620. #, no-wrap
  48621. msgid "{@code{cgit-configuration} parameter} list snapshots"
  48622. msgstr ""
  48623. #. type: deftypevr
  48624. #: guix-git/doc/guix.texi:32743
  48625. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  48626. msgstr ""
  48627. #. type: deftypevr
  48628. #: guix-git/doc/guix.texi:32748
  48629. #, no-wrap
  48630. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  48631. msgstr ""
  48632. #. type: deftypevr
  48633. #: guix-git/doc/guix.texi:32751
  48634. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  48635. msgstr ""
  48636. #. type: deftypevr
  48637. #: guix-git/doc/guix.texi:32753
  48638. msgid "Defaults to @samp{\"/srv/git\"}."
  48639. msgstr ""
  48640. #. type: deftypevr
  48641. #: guix-git/doc/guix.texi:32756
  48642. #, no-wrap
  48643. msgid "{@code{cgit-configuration} parameter} string section"
  48644. msgstr ""
  48645. #. type: deftypevr
  48646. #: guix-git/doc/guix.texi:32759 guix-git/doc/guix.texi:33075
  48647. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  48648. msgstr ""
  48649. #. type: deftypevr
  48650. #: guix-git/doc/guix.texi:32764
  48651. #, no-wrap
  48652. msgid "{@code{cgit-configuration} parameter} string section-sort"
  48653. msgstr ""
  48654. #. type: deftypevr
  48655. #: guix-git/doc/guix.texi:32767
  48656. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  48657. msgstr ""
  48658. #. type: deftypevr
  48659. #: guix-git/doc/guix.texi:32772
  48660. #, no-wrap
  48661. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  48662. msgstr ""
  48663. #. type: deftypevr
  48664. #: guix-git/doc/guix.texi:32775
  48665. 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."
  48666. msgstr ""
  48667. #. type: deftypevr
  48668. #: guix-git/doc/guix.texi:32780
  48669. #, no-wrap
  48670. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  48671. msgstr ""
  48672. #. type: deftypevr
  48673. #: guix-git/doc/guix.texi:32783
  48674. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  48675. msgstr ""
  48676. #. type: deftypevr
  48677. #: guix-git/doc/guix.texi:32788
  48678. #, no-wrap
  48679. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  48680. msgstr ""
  48681. #. type: deftypevr
  48682. #: guix-git/doc/guix.texi:32791
  48683. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  48684. msgstr ""
  48685. #. type: deftypevr
  48686. #: guix-git/doc/guix.texi:32796
  48687. #, no-wrap
  48688. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  48689. msgstr ""
  48690. #. type: deftypevr
  48691. #: guix-git/doc/guix.texi:32799
  48692. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  48693. msgstr ""
  48694. #. type: deftypevr
  48695. #: guix-git/doc/guix.texi:32804
  48696. #, no-wrap
  48697. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  48698. msgstr ""
  48699. #. type: deftypevr
  48700. #: guix-git/doc/guix.texi:32807
  48701. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  48702. msgstr ""
  48703. #. type: deftypevr
  48704. #: guix-git/doc/guix.texi:32812
  48705. #, no-wrap
  48706. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  48707. msgstr ""
  48708. #. type: deftypevr
  48709. #: guix-git/doc/guix.texi:32815
  48710. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  48711. msgstr ""
  48712. #. type: deftypevr
  48713. #: guix-git/doc/guix.texi:32820
  48714. #, no-wrap
  48715. msgid "{@code{cgit-configuration} parameter} string strict-export"
  48716. msgstr ""
  48717. #. type: deftypevr
  48718. #: guix-git/doc/guix.texi:32823
  48719. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  48720. msgstr ""
  48721. #. type: deftypevr
  48722. #: guix-git/doc/guix.texi:32828
  48723. #, no-wrap
  48724. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  48725. msgstr ""
  48726. #. type: deftypevr
  48727. #: guix-git/doc/guix.texi:32830
  48728. msgid "URL which, if specified, will be used as root for all cgit links."
  48729. msgstr ""
  48730. #. type: deftypevr
  48731. #: guix-git/doc/guix.texi:32832
  48732. msgid "Defaults to @samp{\"/\"}."
  48733. msgstr ""
  48734. #. type: deftypevr
  48735. #: guix-git/doc/guix.texi:32835
  48736. #, no-wrap
  48737. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  48738. msgstr ""
  48739. #. type: deftypevr
  48740. #: guix-git/doc/guix.texi:32837
  48741. msgid "A list of @dfn{cgit-repo} records to use with config."
  48742. msgstr ""
  48743. #. type: deftypevr
  48744. #: guix-git/doc/guix.texi:32841
  48745. msgid "Available @code{repository-cgit-configuration} fields are:"
  48746. msgstr ""
  48747. #. type: deftypevr
  48748. #: guix-git/doc/guix.texi:32842
  48749. #, no-wrap
  48750. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  48751. msgstr ""
  48752. #. type: deftypevr
  48753. #: guix-git/doc/guix.texi:32845
  48754. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  48755. msgstr ""
  48756. #. type: deftypevr
  48757. #: guix-git/doc/guix.texi:32850
  48758. #, no-wrap
  48759. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  48760. msgstr ""
  48761. #. type: deftypevr
  48762. #: guix-git/doc/guix.texi:32852
  48763. msgid "Override the default @code{source-filter}."
  48764. msgstr ""
  48765. #. type: deftypevr
  48766. #: guix-git/doc/guix.texi:32857
  48767. #, no-wrap
  48768. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  48769. msgstr ""
  48770. #. type: deftypevr
  48771. #: guix-git/doc/guix.texi:32859
  48772. msgid "The relative URL used to access the repository."
  48773. msgstr ""
  48774. #. type: deftypevr
  48775. #: guix-git/doc/guix.texi:32864
  48776. #, no-wrap
  48777. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  48778. msgstr ""
  48779. #. type: deftypevr
  48780. #: guix-git/doc/guix.texi:32866
  48781. msgid "Override the default @code{about-filter}."
  48782. msgstr ""
  48783. #. type: deftypevr
  48784. #: guix-git/doc/guix.texi:32871
  48785. #, no-wrap
  48786. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  48787. msgstr ""
  48788. #. type: deftypevr
  48789. #: guix-git/doc/guix.texi:32874
  48790. 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."
  48791. msgstr ""
  48792. #. type: deftypevr
  48793. #: guix-git/doc/guix.texi:32879
  48794. #, no-wrap
  48795. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  48796. msgstr ""
  48797. #. type: deftypevr
  48798. #: guix-git/doc/guix.texi:32881
  48799. msgid "A list of URLs which can be used to clone repo."
  48800. msgstr ""
  48801. #. type: deftypevr
  48802. #: guix-git/doc/guix.texi:32886
  48803. #, no-wrap
  48804. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  48805. msgstr ""
  48806. #. type: deftypevr
  48807. #: guix-git/doc/guix.texi:32888
  48808. msgid "Override the default @code{commit-filter}."
  48809. msgstr ""
  48810. #. type: deftypevr
  48811. #: guix-git/doc/guix.texi:32893
  48812. #, no-wrap
  48813. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  48814. msgstr ""
  48815. #. type: deftypevr
  48816. #: guix-git/doc/guix.texi:32902
  48817. #, no-wrap
  48818. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  48819. msgstr ""
  48820. #. type: deftypevr
  48821. #: guix-git/doc/guix.texi:32907
  48822. 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."
  48823. msgstr ""
  48824. #. type: deftypevr
  48825. #: guix-git/doc/guix.texi:32912
  48826. #, no-wrap
  48827. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  48828. msgstr ""
  48829. #. type: deftypevr
  48830. #: guix-git/doc/guix.texi:32914
  48831. msgid "The value to show as repository description."
  48832. msgstr ""
  48833. #. type: deftypevr
  48834. #: guix-git/doc/guix.texi:32919
  48835. #, no-wrap
  48836. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  48837. msgstr ""
  48838. #. type: deftypevr
  48839. #: guix-git/doc/guix.texi:32921
  48840. msgid "The value to show as repository homepage."
  48841. msgstr ""
  48842. #. type: deftypevr
  48843. #: guix-git/doc/guix.texi:32926
  48844. #, no-wrap
  48845. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  48846. msgstr ""
  48847. #. type: deftypevr
  48848. #: guix-git/doc/guix.texi:32928
  48849. msgid "Override the default @code{email-filter}."
  48850. msgstr ""
  48851. #. type: deftypevr
  48852. #: guix-git/doc/guix.texi:32933
  48853. #, no-wrap
  48854. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  48855. msgstr ""
  48856. #. type: deftypevr
  48857. #: guix-git/doc/guix.texi:32936
  48858. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  48859. msgstr ""
  48860. #. type: deftypevr
  48861. #: guix-git/doc/guix.texi:32941
  48862. #, no-wrap
  48863. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  48864. msgstr ""
  48865. #. type: deftypevr
  48866. #: guix-git/doc/guix.texi:32944
  48867. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  48868. msgstr ""
  48869. #. type: deftypevr
  48870. #: guix-git/doc/guix.texi:32949
  48871. #, no-wrap
  48872. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  48873. msgstr ""
  48874. #. type: deftypevr
  48875. #: guix-git/doc/guix.texi:32952
  48876. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  48877. msgstr ""
  48878. #. type: deftypevr
  48879. #: guix-git/doc/guix.texi:32957
  48880. #, no-wrap
  48881. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  48882. msgstr ""
  48883. #. type: deftypevr
  48884. #: guix-git/doc/guix.texi:32965
  48885. #, no-wrap
  48886. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  48887. msgstr ""
  48888. #. type: deftypevr
  48889. #: guix-git/doc/guix.texi:32968
  48890. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  48891. msgstr ""
  48892. #. type: deftypevr
  48893. #: guix-git/doc/guix.texi:32973
  48894. #, no-wrap
  48895. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  48896. msgstr ""
  48897. #. type: deftypevr
  48898. #: guix-git/doc/guix.texi:32976
  48899. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  48900. msgstr ""
  48901. #. type: deftypevr
  48902. #: guix-git/doc/guix.texi:32981
  48903. #, no-wrap
  48904. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  48905. msgstr ""
  48906. #. type: deftypevr
  48907. #: guix-git/doc/guix.texi:32984
  48908. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  48909. msgstr ""
  48910. #. type: deftypevr
  48911. #: guix-git/doc/guix.texi:32989
  48912. #, no-wrap
  48913. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  48914. msgstr ""
  48915. #. type: deftypevr
  48916. #: guix-git/doc/guix.texi:32991
  48917. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  48918. msgstr ""
  48919. #. type: deftypevr
  48920. #: guix-git/doc/guix.texi:32996
  48921. #, no-wrap
  48922. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  48923. msgstr ""
  48924. #. type: deftypevr
  48925. #: guix-git/doc/guix.texi:32999
  48926. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  48927. msgstr ""
  48928. #. type: deftypevr
  48929. #: guix-git/doc/guix.texi:33004
  48930. #, no-wrap
  48931. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  48932. msgstr ""
  48933. #. type: deftypevr
  48934. #: guix-git/doc/guix.texi:33011
  48935. #, no-wrap
  48936. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  48937. msgstr ""
  48938. #. type: deftypevr
  48939. #: guix-git/doc/guix.texi:33013
  48940. msgid "Override the default @code{owner-filter}."
  48941. msgstr ""
  48942. #. type: deftypevr
  48943. #: guix-git/doc/guix.texi:33018
  48944. #, no-wrap
  48945. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  48946. msgstr ""
  48947. #. type: deftypevr
  48948. #: guix-git/doc/guix.texi:33022
  48949. 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."
  48950. msgstr ""
  48951. #. type: deftypevr
  48952. #: guix-git/doc/guix.texi:33027
  48953. #, no-wrap
  48954. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  48955. msgstr ""
  48956. #. type: deftypevr
  48957. #: guix-git/doc/guix.texi:33031
  48958. 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."
  48959. msgstr ""
  48960. #. type: deftypevr
  48961. #: guix-git/doc/guix.texi:33036
  48962. #, no-wrap
  48963. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  48964. msgstr ""
  48965. #. type: deftypevr
  48966. #: guix-git/doc/guix.texi:33038
  48967. msgid "Override the default maximum statistics period."
  48968. msgstr ""
  48969. #. type: deftypevr
  48970. #: guix-git/doc/guix.texi:33043
  48971. #, no-wrap
  48972. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  48973. msgstr ""
  48974. #. type: deftypevr
  48975. #: guix-git/doc/guix.texi:33045
  48976. msgid "The value to show as repository name."
  48977. msgstr ""
  48978. #. type: deftypevr
  48979. #: guix-git/doc/guix.texi:33050
  48980. #, no-wrap
  48981. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  48982. msgstr ""
  48983. #. type: deftypevr
  48984. #: guix-git/doc/guix.texi:33052
  48985. msgid "A value used to identify the owner of the repository."
  48986. msgstr ""
  48987. #. type: deftypevr
  48988. #: guix-git/doc/guix.texi:33057
  48989. #, no-wrap
  48990. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  48991. msgstr ""
  48992. #. type: deftypevr
  48993. #: guix-git/doc/guix.texi:33059
  48994. msgid "An absolute path to the repository directory."
  48995. msgstr ""
  48996. #. type: deftypevr
  48997. #: guix-git/doc/guix.texi:33064
  48998. #, no-wrap
  48999. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  49000. msgstr ""
  49001. #. type: deftypevr
  49002. #: guix-git/doc/guix.texi:33067
  49003. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  49004. msgstr ""
  49005. #. type: deftypevr
  49006. #: guix-git/doc/guix.texi:33072
  49007. #, no-wrap
  49008. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  49009. msgstr ""
  49010. #. type: deftypevr
  49011. #: guix-git/doc/guix.texi:33080
  49012. #, no-wrap
  49013. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  49014. msgstr ""
  49015. #. type: deftypevr
  49016. #: guix-git/doc/guix.texi:33082 guix-git/doc/guix.texi:33091
  49017. msgid "Extra options will be appended to cgitrc file."
  49018. msgstr ""
  49019. #. type: deftypevr
  49020. #: guix-git/doc/guix.texi:33089
  49021. #, no-wrap
  49022. msgid "{@code{cgit-configuration} parameter} list extra-options"
  49023. msgstr ""
  49024. #. type: Plain text
  49025. #: guix-git/doc/guix.texi:33103
  49026. 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."
  49027. msgstr ""
  49028. #. type: Plain text
  49029. #: guix-git/doc/guix.texi:33105
  49030. msgid "Available @code{opaque-cgit-configuration} fields are:"
  49031. msgstr ""
  49032. #. type: deftypevr
  49033. #: guix-git/doc/guix.texi:33106
  49034. #, no-wrap
  49035. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  49036. msgstr ""
  49037. #. type: deftypevr
  49038. #: guix-git/doc/guix.texi:33108
  49039. msgid "The cgit package."
  49040. msgstr ""
  49041. #. type: deftypevr
  49042. #: guix-git/doc/guix.texi:33110
  49043. #, no-wrap
  49044. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  49045. msgstr ""
  49046. #. type: deftypevr
  49047. #: guix-git/doc/guix.texi:33112
  49048. msgid "The contents of the @code{cgitrc}, as a string."
  49049. msgstr ""
  49050. #. type: Plain text
  49051. #: guix-git/doc/guix.texi:33116
  49052. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  49053. msgstr ""
  49054. #. type: lisp
  49055. #: guix-git/doc/guix.texi:33121
  49056. #, no-wrap
  49057. msgid ""
  49058. "(service cgit-service-type\n"
  49059. " (opaque-cgit-configuration\n"
  49060. " (cgitrc \"\")))\n"
  49061. msgstr ""
  49062. #. type: subsubheading
  49063. #: guix-git/doc/guix.texi:33123
  49064. #, no-wrap
  49065. msgid "Gitolite Service"
  49066. msgstr ""
  49067. #. type: cindex
  49068. #: guix-git/doc/guix.texi:33125
  49069. #, no-wrap
  49070. msgid "Gitolite service"
  49071. msgstr ""
  49072. #. type: cindex
  49073. #: guix-git/doc/guix.texi:33126
  49074. #, no-wrap
  49075. msgid "Git, hosting"
  49076. msgstr ""
  49077. #. type: Plain text
  49078. #: guix-git/doc/guix.texi:33129
  49079. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  49080. msgstr ""
  49081. #. type: Plain text
  49082. #: guix-git/doc/guix.texi:33132
  49083. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  49084. msgstr ""
  49085. #. type: Plain text
  49086. #: guix-git/doc/guix.texi:33135
  49087. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  49088. msgstr ""
  49089. #. type: lisp
  49090. #: guix-git/doc/guix.texi:33142
  49091. #, no-wrap
  49092. msgid ""
  49093. "(service gitolite-service-type\n"
  49094. " (gitolite-configuration\n"
  49095. " (admin-pubkey (plain-file\n"
  49096. " \"yourname.pub\"\n"
  49097. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  49098. msgstr ""
  49099. #. type: Plain text
  49100. #: guix-git/doc/guix.texi:33147
  49101. 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."
  49102. msgstr ""
  49103. #. type: example
  49104. #: guix-git/doc/guix.texi:33150
  49105. #, no-wrap
  49106. msgid "git clone git@@example.com:gitolite-admin\n"
  49107. msgstr ""
  49108. #. type: Plain text
  49109. #: guix-git/doc/guix.texi:33156
  49110. 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''."
  49111. msgstr ""
  49112. #. type: deftp
  49113. #: guix-git/doc/guix.texi:33157
  49114. #, no-wrap
  49115. msgid "{Data Type} gitolite-configuration"
  49116. msgstr ""
  49117. #. type: deftp
  49118. #: guix-git/doc/guix.texi:33159
  49119. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  49120. msgstr ""
  49121. #. type: item
  49122. #: guix-git/doc/guix.texi:33161
  49123. #, no-wrap
  49124. msgid "@code{package} (default: @var{gitolite})"
  49125. msgstr ""
  49126. #. type: table
  49127. #: guix-git/doc/guix.texi:33163
  49128. msgid "Gitolite package to use."
  49129. msgstr ""
  49130. #. type: item
  49131. #: guix-git/doc/guix.texi:33164
  49132. #, no-wrap
  49133. msgid "@code{user} (default: @var{git})"
  49134. msgstr "@code{user} (default: @var{git})"
  49135. #. type: table
  49136. #: guix-git/doc/guix.texi:33167
  49137. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  49138. msgstr ""
  49139. #. type: item
  49140. #: guix-git/doc/guix.texi:33168
  49141. #, no-wrap
  49142. msgid "@code{group} (default: @var{git})"
  49143. msgstr "@code{group} (default: @var{git})"
  49144. #. type: table
  49145. #: guix-git/doc/guix.texi:33170
  49146. msgid "Group to use for Gitolite."
  49147. msgstr ""
  49148. #. type: item
  49149. #: guix-git/doc/guix.texi:33171
  49150. #, no-wrap
  49151. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  49152. msgstr ""
  49153. #. type: table
  49154. #: guix-git/doc/guix.texi:33173
  49155. msgid "Directory in which to store the Gitolite configuration and repositories."
  49156. msgstr ""
  49157. #. type: item
  49158. #: guix-git/doc/guix.texi:33174
  49159. #, no-wrap
  49160. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  49161. msgstr "@code{rc-file} (padrão: @var{(gitolite-rc-file)})"
  49162. #. type: table
  49163. #: guix-git/doc/guix.texi:33177
  49164. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  49165. msgstr ""
  49166. #. type: item
  49167. #: guix-git/doc/guix.texi:33178
  49168. #, no-wrap
  49169. msgid "@code{admin-pubkey} (default: @var{#f})"
  49170. msgstr "@code{admin-pubkey} (default: @var{#f})"
  49171. #. type: table
  49172. #: guix-git/doc/guix.texi:33182
  49173. 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."
  49174. msgstr ""
  49175. #. type: table
  49176. #: guix-git/doc/guix.texi:33184
  49177. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  49178. msgstr ""
  49179. #. type: lisp
  49180. #: guix-git/doc/guix.texi:33187
  49181. #, no-wrap
  49182. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  49183. msgstr ""
  49184. #. type: deftp
  49185. #: guix-git/doc/guix.texi:33192
  49186. #, no-wrap
  49187. msgid "{Data Type} gitolite-rc-file"
  49188. msgstr ""
  49189. #. type: deftp
  49190. #: guix-git/doc/guix.texi:33194
  49191. msgid "Data type representing the Gitolite RC file."
  49192. msgstr ""
  49193. #. type: item
  49194. #: guix-git/doc/guix.texi:33196
  49195. #, no-wrap
  49196. msgid "@code{umask} (default: @code{#o0077})"
  49197. msgstr "@code{umask} (default: @code{#o0077})"
  49198. #. type: table
  49199. #: guix-git/doc/guix.texi:33199
  49200. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  49201. msgstr ""
  49202. #. type: table
  49203. #: guix-git/doc/guix.texi:33203
  49204. 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."
  49205. msgstr ""
  49206. #. type: item
  49207. #: guix-git/doc/guix.texi:33204
  49208. #, fuzzy, no-wrap
  49209. #| msgid "@code{users} (default: @code{#f})"
  49210. msgid "@code{unsafe-pattern} (default: @code{#f})"
  49211. msgstr "@code{users} (default: @code{#f})"
  49212. #. type: table
  49213. #: guix-git/doc/guix.texi:33209
  49214. 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."
  49215. msgstr ""
  49216. #. type: table
  49217. #: guix-git/doc/guix.texi:33216
  49218. 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."
  49219. msgstr ""
  49220. #. type: item
  49221. #: guix-git/doc/guix.texi:33217
  49222. #, no-wrap
  49223. msgid "@code{git-config-keys} (default: @code{\"\"})"
  49224. msgstr ""
  49225. #. type: table
  49226. #: guix-git/doc/guix.texi:33220
  49227. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  49228. msgstr ""
  49229. #. type: item
  49230. #: guix-git/doc/guix.texi:33221
  49231. #, no-wrap
  49232. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  49233. msgstr ""
  49234. #. type: table
  49235. #: guix-git/doc/guix.texi:33223
  49236. msgid "Set the role names allowed to be used by users running the perms command."
  49237. msgstr ""
  49238. #. type: item
  49239. #: guix-git/doc/guix.texi:33224
  49240. #, no-wrap
  49241. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  49242. msgstr ""
  49243. #. type: table
  49244. #: guix-git/doc/guix.texi:33226
  49245. msgid "This setting controls the commands and features to enable within Gitolite."
  49246. msgstr ""
  49247. #. type: subsubheading
  49248. #: guix-git/doc/guix.texi:33231
  49249. #, fuzzy, no-wrap
  49250. #| msgid "Game Services"
  49251. msgid "Gitile Service"
  49252. msgstr "Serviços de jogos"
  49253. #. type: cindex
  49254. #: guix-git/doc/guix.texi:33233
  49255. #, no-wrap
  49256. msgid "Gitile service"
  49257. msgstr "Serviço Gitile"
  49258. #. type: cindex
  49259. #: guix-git/doc/guix.texi:33234
  49260. #, no-wrap
  49261. msgid "Git, forge"
  49262. msgstr ""
  49263. #. type: Plain text
  49264. #: guix-git/doc/guix.texi:33237
  49265. msgid "@uref{https://git.lepiller.eu/gitile, Gitile} is a Git forge for viewing public git repository contents from a web browser."
  49266. msgstr ""
  49267. #. type: Plain text
  49268. #: guix-git/doc/guix.texi:33243
  49269. 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})."
  49270. msgstr ""
  49271. #. type: Plain text
  49272. #: guix-git/doc/guix.texi:33247
  49273. 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."
  49274. msgstr ""
  49275. #. type: lisp
  49276. #: guix-git/doc/guix.texi:33270
  49277. #, no-wrap
  49278. msgid ""
  49279. "(service gitile-service-type\n"
  49280. " (gitile-configuration\n"
  49281. " (repositories \"/srv/git\")\n"
  49282. " (base-git-url \"https://myweb.site/git\")\n"
  49283. " (index-title \"My git repositories\")\n"
  49284. " (intro '((p \"This is all my public work!\")))\n"
  49285. " (footer '((p \"This is the end\")))\n"
  49286. " (nginx-server-block\n"
  49287. " (nginx-server-configuration\n"
  49288. " (ssl-certificate\n"
  49289. " \"/etc/letsencrypt/live/myweb.site/fullchain.pem\")\n"
  49290. " (ssl-certificate-key\n"
  49291. " \"/etc/letsencrypt/live/myweb.site/privkey.pem\")\n"
  49292. " (listen '(\"443 ssl http2\" \"[::]:443 ssl http2\"))\n"
  49293. " (locations\n"
  49294. " (list\n"
  49295. " ;; Allow for https anonymous fetch on /git/ urls.\n"
  49296. " (git-http-nginx-location-configuration\n"
  49297. " (git-http-configuration\n"
  49298. " (uri-path \"/git/\")\n"
  49299. " (git-root \"/var/lib/gitolite/repositories\")))))))))\n"
  49300. msgstr ""
  49301. #. type: Plain text
  49302. #: guix-git/doc/guix.texi:33279
  49303. 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:"
  49304. msgstr ""
  49305. #. type: example
  49306. #: guix-git/doc/guix.texi:33283
  49307. #, no-wrap
  49308. msgid ""
  49309. "repo foo\n"
  49310. " R = daemon\n"
  49311. msgstr ""
  49312. #. type: Plain text
  49313. #: guix-git/doc/guix.texi:33289
  49314. 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}:"
  49315. msgstr ""
  49316. #. type: example
  49317. #: guix-git/doc/guix.texi:33296
  49318. #, no-wrap
  49319. msgid ""
  49320. "repo foo\n"
  49321. " R = daemon\n"
  49322. " desc = A long description, optionally with <i>HTML</i>, shown on the index page\n"
  49323. " config gitweb.name = The Foo Project\n"
  49324. " config gitweb.synopsis = A short description, shown on the main page of the project\n"
  49325. msgstr ""
  49326. #. type: Plain text
  49327. #: guix-git/doc/guix.texi:33302
  49328. 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:"
  49329. msgstr ""
  49330. #. type: lisp
  49331. #: guix-git/doc/guix.texi:33314
  49332. #, no-wrap
  49333. msgid ""
  49334. "(service gitolite-service-type\n"
  49335. " (gitolite-configuration\n"
  49336. " (admin-pubkey (local-file \"key.pub\"))\n"
  49337. " (rc-file\n"
  49338. " (gitolite-rc-file\n"
  49339. " (umask #o0027)\n"
  49340. " ;; Allow to set any configuration key\n"
  49341. " (git-config-keys \".*\")\n"
  49342. " ;; Allow any text as a valid configuration value\n"
  49343. " (unsafe-patt \"^$\")))))\n"
  49344. msgstr ""
  49345. #. type: deftp
  49346. #: guix-git/doc/guix.texi:33316
  49347. #, fuzzy, no-wrap
  49348. msgid "{Data Type} gitile-configuration"
  49349. msgstr "build-machine {Data Type}"
  49350. #. type: deftp
  49351. #: guix-git/doc/guix.texi:33318
  49352. #, fuzzy
  49353. msgid "Data type representing the configuration for @code{gitile-service-type}."
  49354. msgstr "Gerencie a configuração do sistema operacional."
  49355. #. type: item
  49356. #: guix-git/doc/guix.texi:33320
  49357. #, fuzzy, no-wrap
  49358. #| msgid "@code{user} (default: @var{git})"
  49359. msgid "@code{package} (default: @var{gitile})"
  49360. msgstr "@code{user} (default: @var{git})"
  49361. #. type: table
  49362. #: guix-git/doc/guix.texi:33322
  49363. #, fuzzy
  49364. #| msgid "The GPM package to use."
  49365. msgid "Gitile package to use."
  49366. msgstr "O pacote GPM a ser usado."
  49367. #. type: table
  49368. #: guix-git/doc/guix.texi:33325
  49369. msgid "The host on which gitile is listening."
  49370. msgstr ""
  49371. #. type: item
  49372. #: guix-git/doc/guix.texi:33326
  49373. #, fuzzy, no-wrap
  49374. #| msgid "@code{port} (default: @code{8081})"
  49375. msgid "@code{port} (default: @code{8080})"
  49376. msgstr "@code{porta} (default: @code{8081})"
  49377. #. type: table
  49378. #: guix-git/doc/guix.texi:33328
  49379. msgid "The port on which gitile is listening."
  49380. msgstr ""
  49381. #. type: item
  49382. #: guix-git/doc/guix.texi:33329
  49383. #, fuzzy, no-wrap
  49384. msgid "@code{database} (default: @code{\"/var/lib/gitile/gitile-db.sql\"})"
  49385. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  49386. #. type: table
  49387. #: guix-git/doc/guix.texi:33331
  49388. #, fuzzy
  49389. #| msgid "The license of this manual."
  49390. msgid "The location of the database."
  49391. msgstr "A licença deste manual."
  49392. #. type: item
  49393. #: guix-git/doc/guix.texi:33332
  49394. #, fuzzy, no-wrap
  49395. msgid "@code{repositories} (default: @code{\"/var/lib/gitolite/repositories\"})"
  49396. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  49397. #. type: table
  49398. #: guix-git/doc/guix.texi:33336
  49399. 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."
  49400. msgstr ""
  49401. #. type: code{#1}
  49402. #: guix-git/doc/guix.texi:33337
  49403. #, no-wrap
  49404. msgid "base-git-url"
  49405. msgstr ""
  49406. #. type: table
  49407. #: guix-git/doc/guix.texi:33339
  49408. msgid "The base git url that will be used to show clone commands."
  49409. msgstr ""
  49410. #. type: item
  49411. #: guix-git/doc/guix.texi:33340
  49412. #, fuzzy, no-wrap
  49413. msgid "@code{index-title} (default: @code{\"Index\"})"
  49414. msgstr "@code{ttl} (default: @code{#f})"
  49415. #. type: table
  49416. #: guix-git/doc/guix.texi:33342
  49417. msgid "The page title for the index page that lists all the available repositories."
  49418. msgstr ""
  49419. #. type: item
  49420. #: guix-git/doc/guix.texi:33343
  49421. #, fuzzy, no-wrap
  49422. #| msgid "@code{features} (default: @code{'()})"
  49423. msgid "@code{intro} (default: @code{'()})"
  49424. msgstr "@code{features} (padrão: @code{'()})"
  49425. #. type: table
  49426. #: guix-git/doc/guix.texi:33346
  49427. msgid "The intro content, as a list of sxml expressions. This is shown above the list of repositories, on the index page."
  49428. msgstr ""
  49429. #. type: item
  49430. #: guix-git/doc/guix.texi:33347
  49431. #, fuzzy, no-wrap
  49432. #| msgid "@code{features} (default: @code{'()})"
  49433. msgid "@code{footer} (default: @code{'()})"
  49434. msgstr "@code{features} (padrão: @code{'()})"
  49435. #. type: table
  49436. #: guix-git/doc/guix.texi:33350
  49437. msgid "The footer content, as a list of sxml expressions. This is shown on every page served by Gitile."
  49438. msgstr ""
  49439. #. type: code{#1}
  49440. #: guix-git/doc/guix.texi:33351
  49441. #, no-wrap
  49442. msgid "nginx-server-block"
  49443. msgstr ""
  49444. #. type: table
  49445. #: guix-git/doc/guix.texi:33354
  49446. 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."
  49447. msgstr ""
  49448. #. type: table
  49449. #: guix-git/doc/guix.texi:33358
  49450. 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."
  49451. msgstr ""
  49452. #. type: subsubheading
  49453. #: guix-git/doc/guix.texi:33365
  49454. #, no-wrap
  49455. msgid "The Battle for Wesnoth Service"
  49456. msgstr ""
  49457. #. type: cindex
  49458. #: guix-git/doc/guix.texi:33366
  49459. #, no-wrap
  49460. msgid "wesnothd"
  49461. msgstr ""
  49462. #. type: Plain text
  49463. #: guix-git/doc/guix.texi:33370
  49464. 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)."
  49465. msgstr ""
  49466. #. type: defvar
  49467. #: guix-git/doc/guix.texi:33371
  49468. #, no-wrap
  49469. msgid "{Scheme Variable} wesnothd-service-type"
  49470. msgstr ""
  49471. #. type: defvar
  49472. #: guix-git/doc/guix.texi:33375
  49473. 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:"
  49474. msgstr ""
  49475. #. type: lisp
  49476. #: guix-git/doc/guix.texi:33378
  49477. #, no-wrap
  49478. msgid "(service wesnothd-service-type)\n"
  49479. msgstr ""
  49480. #. type: deftp
  49481. #: guix-git/doc/guix.texi:33381
  49482. #, no-wrap
  49483. msgid "{Data Type} wesnothd-configuration"
  49484. msgstr ""
  49485. #. type: deftp
  49486. #: guix-git/doc/guix.texi:33383
  49487. msgid "Data type representing the configuration of @command{wesnothd}."
  49488. msgstr ""
  49489. #. type: item
  49490. #: guix-git/doc/guix.texi:33385
  49491. #, no-wrap
  49492. msgid "@code{package} (default: @code{wesnoth-server})"
  49493. msgstr ""
  49494. #. type: table
  49495. #: guix-git/doc/guix.texi:33387
  49496. msgid "The wesnoth server package to use."
  49497. msgstr ""
  49498. #. type: item
  49499. #: guix-git/doc/guix.texi:33388
  49500. #, no-wrap
  49501. msgid "@code{port} (default: @code{15000})"
  49502. msgstr "@code{porta} (default: @code{15000})"
  49503. #. type: table
  49504. #: guix-git/doc/guix.texi:33390 guix-git/doc/guix.texi:33781
  49505. msgid "The port to bind the server to."
  49506. msgstr ""
  49507. #. type: cindex
  49508. #: guix-git/doc/guix.texi:33396
  49509. #, no-wrap
  49510. msgid "pam-mount"
  49511. msgstr ""
  49512. #. type: Plain text
  49513. #: guix-git/doc/guix.texi:33401
  49514. 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."
  49515. msgstr ""
  49516. #. type: defvar
  49517. #: guix-git/doc/guix.texi:33402
  49518. #, no-wrap
  49519. msgid "{Scheme Variable} pam-mount-service-type"
  49520. msgstr ""
  49521. #. type: defvar
  49522. #: guix-git/doc/guix.texi:33404
  49523. msgid "Service type for PAM Mount support."
  49524. msgstr ""
  49525. #. type: deftp
  49526. #: guix-git/doc/guix.texi:33406
  49527. #, no-wrap
  49528. msgid "{Data Type} pam-mount-configuration"
  49529. msgstr ""
  49530. #. type: deftp
  49531. #: guix-git/doc/guix.texi:33408
  49532. msgid "Data type representing the configuration of PAM Mount."
  49533. msgstr ""
  49534. #. type: code{#1}
  49535. #: guix-git/doc/guix.texi:33412
  49536. #, no-wrap
  49537. msgid "rules"
  49538. msgstr ""
  49539. #. type: table
  49540. #: guix-git/doc/guix.texi:33415
  49541. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  49542. msgstr ""
  49543. #. type: table
  49544. #: guix-git/doc/guix.texi:33419
  49545. 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:"
  49546. msgstr ""
  49547. #. type: lisp
  49548. #: guix-git/doc/guix.texi:33434
  49549. #, no-wrap
  49550. msgid ""
  49551. "`((debug (@@ (enable \"0\")))\n"
  49552. " (mntoptions (@@ (allow ,(string-join\n"
  49553. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  49554. " \"encryption\" \"fsck\" \"nonempty\"\n"
  49555. " \"allow_root\" \"allow_other\")\n"
  49556. " \",\"))))\n"
  49557. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  49558. " (logout (@@ (wait \"0\")\n"
  49559. " (hup \"0\")\n"
  49560. " (term \"no\")\n"
  49561. " (kill \"no\")))\n"
  49562. " (mkmountpoint (@@ (enable \"1\")\n"
  49563. " (remove \"true\"))))\n"
  49564. msgstr ""
  49565. #. type: table
  49566. #: guix-git/doc/guix.texi:33440
  49567. 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:"
  49568. msgstr ""
  49569. #. type: lisp
  49570. #: guix-git/doc/guix.texi:33465
  49571. #, no-wrap
  49572. msgid ""
  49573. "(define pam-mount-rules\n"
  49574. "`((debug (@@ (enable \"0\")))\n"
  49575. " (volume (@@ (user \"alice\")\n"
  49576. " (fstype \"crypt\")\n"
  49577. " (path \"/dev/sda2\")\n"
  49578. " (mountpoint \"/home/alice\")))\n"
  49579. " (volume (@@ (user \"bob\")\n"
  49580. " (fstype \"auto\")\n"
  49581. " (path \"/dev/sdb3\")\n"
  49582. " (mountpoint \"/home/bob/data\")\n"
  49583. " (options \"defaults,autodefrag,compress\")))\n"
  49584. " (mntoptions (@@ (allow ,(string-join\n"
  49585. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  49586. " \"encryption\" \"fsck\" \"nonempty\"\n"
  49587. " \"allow_root\" \"allow_other\")\n"
  49588. " \",\"))))\n"
  49589. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  49590. " (logout (@@ (wait \"0\")\n"
  49591. " (hup \"0\")\n"
  49592. " (term \"no\")\n"
  49593. " (kill \"no\")))\n"
  49594. " (mkmountpoint (@@ (enable \"1\")\n"
  49595. " (remove \"true\")))))\n"
  49596. "\n"
  49597. msgstr ""
  49598. #. type: lisp
  49599. #: guix-git/doc/guix.texi:33469
  49600. #, no-wrap
  49601. msgid ""
  49602. "(service pam-mount-service-type\n"
  49603. " (pam-mount-configuration\n"
  49604. " (rules pam-mount-rules)))\n"
  49605. msgstr ""
  49606. #. type: table
  49607. #: guix-git/doc/guix.texi:33473
  49608. 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}."
  49609. msgstr ""
  49610. #. type: subsubheading
  49611. #: guix-git/doc/guix.texi:33480
  49612. #, no-wrap
  49613. msgid "Guix Build Coordinator"
  49614. msgstr ""
  49615. #. type: Plain text
  49616. #: guix-git/doc/guix.texi:33486
  49617. 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."
  49618. msgstr ""
  49619. #. type: Plain text
  49620. #: guix-git/doc/guix.texi:33492
  49621. 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."
  49622. msgstr ""
  49623. #. type: Plain text
  49624. #: guix-git/doc/guix.texi:33496
  49625. 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."
  49626. msgstr ""
  49627. #. type: defvar
  49628. #: guix-git/doc/guix.texi:33497
  49629. #, no-wrap
  49630. msgid "{Scheme Variable} guix-build-coordinator-service-type"
  49631. msgstr ""
  49632. #. type: defvar
  49633. #: guix-git/doc/guix.texi:33500
  49634. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  49635. msgstr ""
  49636. #. type: deftp
  49637. #: guix-git/doc/guix.texi:33502
  49638. #, no-wrap
  49639. msgid "{Data Type} guix-build-coordinator-configuration"
  49640. msgstr ""
  49641. #. type: deftp
  49642. #: guix-git/doc/guix.texi:33504
  49643. msgid "Data type representing the configuration of the Guix Build Coordinator."
  49644. msgstr ""
  49645. #. type: item
  49646. #: guix-git/doc/guix.texi:33506 guix-git/doc/guix.texi:33676
  49647. #, no-wrap
  49648. msgid "@code{package} (default: @code{guix-build-coordinator})"
  49649. msgstr ""
  49650. #. type: table
  49651. #: guix-git/doc/guix.texi:33508 guix-git/doc/guix.texi:33552
  49652. #: guix-git/doc/guix.texi:33678
  49653. msgid "The Guix Build Coordinator package to use."
  49654. msgstr ""
  49655. #. type: item
  49656. #: guix-git/doc/guix.texi:33509
  49657. #, no-wrap
  49658. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  49659. msgstr ""
  49660. #. type: table
  49661. #: guix-git/doc/guix.texi:33511 guix-git/doc/guix.texi:33555
  49662. #: guix-git/doc/guix.texi:33681 guix-git/doc/guix.texi:33727
  49663. #: guix-git/doc/guix.texi:33775
  49664. msgid "The system user to run the service as."
  49665. msgstr ""
  49666. #. type: item
  49667. #: guix-git/doc/guix.texi:33512
  49668. #, no-wrap
  49669. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  49670. msgstr ""
  49671. #. type: table
  49672. #: guix-git/doc/guix.texi:33514 guix-git/doc/guix.texi:33730
  49673. #: guix-git/doc/guix.texi:33778
  49674. msgid "The system group to run the service as."
  49675. msgstr ""
  49676. #. type: item
  49677. #: guix-git/doc/guix.texi:33515
  49678. #, no-wrap
  49679. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  49680. msgstr ""
  49681. #. type: table
  49682. #: guix-git/doc/guix.texi:33517
  49683. msgid "The URI to use for the database."
  49684. msgstr ""
  49685. #. type: item
  49686. #: guix-git/doc/guix.texi:33518
  49687. #, no-wrap
  49688. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  49689. msgstr ""
  49690. #. type: table
  49691. #: guix-git/doc/guix.texi:33520
  49692. msgid "The URI describing how to listen to requests from agent processes."
  49693. msgstr ""
  49694. #. type: item
  49695. #: guix-git/doc/guix.texi:33521
  49696. #, no-wrap
  49697. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  49698. msgstr ""
  49699. #. type: table
  49700. #: guix-git/doc/guix.texi:33525
  49701. 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."
  49702. msgstr ""
  49703. #. type: item
  49704. #: guix-git/doc/guix.texi:33526
  49705. #, no-wrap
  49706. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  49707. msgstr ""
  49708. #. type: table
  49709. #: guix-git/doc/guix.texi:33530
  49710. 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."
  49711. msgstr ""
  49712. #. type: item
  49713. #: guix-git/doc/guix.texi:33531
  49714. #, no-wrap
  49715. msgid "@code{hooks} (default: @var{'()})"
  49716. msgstr ""
  49717. #. type: table
  49718. #: guix-git/doc/guix.texi:33534
  49719. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  49720. msgstr ""
  49721. #. type: item
  49722. #: guix-git/doc/guix.texi:33535
  49723. #, no-wrap
  49724. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  49725. msgstr ""
  49726. #. type: table
  49727. #: guix-git/doc/guix.texi:33537
  49728. msgid "The Guile package with which to run the Guix Build Coordinator."
  49729. msgstr ""
  49730. #. type: defvar
  49731. #: guix-git/doc/guix.texi:33541
  49732. #, no-wrap
  49733. msgid "{Scheme Variable} guix-build-coordinator-agent-service-type"
  49734. msgstr ""
  49735. #. type: defvar
  49736. #: guix-git/doc/guix.texi:33544
  49737. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  49738. msgstr ""
  49739. #. type: deftp
  49740. #: guix-git/doc/guix.texi:33546
  49741. #, no-wrap
  49742. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  49743. msgstr ""
  49744. #. type: deftp
  49745. #: guix-git/doc/guix.texi:33548
  49746. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  49747. msgstr ""
  49748. #. type: item
  49749. #: guix-git/doc/guix.texi:33550
  49750. #, fuzzy, no-wrap
  49751. msgid "@code{package} (default: @code{guix-build-coordinator/agent-only})"
  49752. msgstr "@code{cache} (default: @code{#f})"
  49753. #. type: item
  49754. #: guix-git/doc/guix.texi:33553
  49755. #, no-wrap
  49756. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  49757. msgstr ""
  49758. #. type: item
  49759. #: guix-git/doc/guix.texi:33556
  49760. #, no-wrap
  49761. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  49762. msgstr ""
  49763. #. type: table
  49764. #: guix-git/doc/guix.texi:33558 guix-git/doc/guix.texi:33684
  49765. msgid "The URI to use when connecting to the coordinator."
  49766. msgstr ""
  49767. #. type: code{#1}
  49768. #: guix-git/doc/guix.texi:33559
  49769. #, no-wrap
  49770. msgid "authentication"
  49771. msgstr ""
  49772. #. type: table
  49773. #: guix-git/doc/guix.texi:33562
  49774. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  49775. msgstr ""
  49776. #. type: item
  49777. #: guix-git/doc/guix.texi:33563 guix-git/doc/guix.texi:33685
  49778. #, no-wrap
  49779. msgid "@code{systems} (default: @code{#f})"
  49780. msgstr ""
  49781. #. type: table
  49782. #: guix-git/doc/guix.texi:33566
  49783. 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."
  49784. msgstr ""
  49785. #. type: item
  49786. #: guix-git/doc/guix.texi:33567
  49787. #, no-wrap
  49788. msgid "@code{max-parallel-builds} (default: @code{1})"
  49789. msgstr ""
  49790. #. type: table
  49791. #: guix-git/doc/guix.texi:33569
  49792. msgid "The number of builds to perform in parallel."
  49793. msgstr ""
  49794. #. type: item
  49795. #: guix-git/doc/guix.texi:33570
  49796. #, fuzzy, no-wrap
  49797. #| msgid "@code{max-journal-usage} (default: @code{#f})"
  49798. msgid "@code{max-1min-load-average} (default: @code{#f})"
  49799. msgstr "@code{max-journal-usage} (default: @code{#f})"
  49800. #. type: table
  49801. #: guix-git/doc/guix.texi:33574
  49802. 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."
  49803. msgstr ""
  49804. #. type: table
  49805. #: guix-git/doc/guix.texi:33578
  49806. 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."
  49807. msgstr ""
  49808. #. type: item
  49809. #: guix-git/doc/guix.texi:33579
  49810. #, no-wrap
  49811. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  49812. msgstr ""
  49813. #. type: table
  49814. #: guix-git/doc/guix.texi:33582
  49815. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  49816. msgstr ""
  49817. #. type: item
  49818. #: guix-git/doc/guix.texi:33583
  49819. #, no-wrap
  49820. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  49821. msgstr ""
  49822. #. type: table
  49823. #: guix-git/doc/guix.texi:33586
  49824. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  49825. msgstr ""
  49826. #. type: deftp
  49827. #: guix-git/doc/guix.texi:33590
  49828. #, no-wrap
  49829. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  49830. msgstr ""
  49831. #. type: deftp
  49832. #: guix-git/doc/guix.texi:33593
  49833. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  49834. msgstr ""
  49835. #. type: table
  49836. #: guix-git/doc/guix.texi:33599 guix-git/doc/guix.texi:33615
  49837. 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."
  49838. msgstr ""
  49839. #. type: table
  49840. #: guix-git/doc/guix.texi:33602
  49841. msgid "The password to use when connecting to the coordinator."
  49842. msgstr ""
  49843. #. type: deftp
  49844. #: guix-git/doc/guix.texi:33606
  49845. #, no-wrap
  49846. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  49847. msgstr ""
  49848. #. type: deftp
  49849. #: guix-git/doc/guix.texi:33609
  49850. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  49851. msgstr ""
  49852. #. type: code{#1}
  49853. #: guix-git/doc/guix.texi:33616
  49854. #, no-wrap
  49855. msgid "password-file"
  49856. msgstr ""
  49857. #. type: table
  49858. #: guix-git/doc/guix.texi:33619
  49859. msgid "A file containing the password to use when connecting to the coordinator."
  49860. msgstr ""
  49861. #. type: deftp
  49862. #: guix-git/doc/guix.texi:33623
  49863. #, no-wrap
  49864. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  49865. msgstr ""
  49866. #. type: deftp
  49867. #: guix-git/doc/guix.texi:33626
  49868. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  49869. msgstr ""
  49870. #. type: code{#1}
  49871. #: guix-git/doc/guix.texi:33628 guix-git/doc/guix.texi:33645
  49872. #, no-wrap
  49873. msgid "agent-name"
  49874. msgstr ""
  49875. #. type: table
  49876. #: guix-git/doc/guix.texi:33632 guix-git/doc/guix.texi:33649
  49877. 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."
  49878. msgstr ""
  49879. #. type: code{#1}
  49880. #: guix-git/doc/guix.texi:33633
  49881. #, no-wrap
  49882. msgid "token"
  49883. msgstr ""
  49884. #. type: table
  49885. #: guix-git/doc/guix.texi:33636
  49886. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  49887. msgstr ""
  49888. #. type: deftp
  49889. #: guix-git/doc/guix.texi:33640
  49890. #, no-wrap
  49891. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  49892. msgstr ""
  49893. #. type: deftp
  49894. #: guix-git/doc/guix.texi:33643
  49895. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  49896. msgstr ""
  49897. #. type: code{#1}
  49898. #: guix-git/doc/guix.texi:33650
  49899. #, no-wrap
  49900. msgid "token-file"
  49901. msgstr ""
  49902. #. type: table
  49903. #: guix-git/doc/guix.texi:33653
  49904. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  49905. msgstr ""
  49906. #. type: Plain text
  49907. #: guix-git/doc/guix.texi:33663
  49908. 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."
  49909. msgstr ""
  49910. #. type: defvar
  49911. #: guix-git/doc/guix.texi:33664
  49912. #, no-wrap
  49913. msgid "{Scheme Variable} guix-build-coordinator-queue-builds-service-type"
  49914. msgstr ""
  49915. #. type: defvar
  49916. #: guix-git/doc/guix.texi:33669
  49917. 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."
  49918. msgstr ""
  49919. #. type: deftp
  49920. #: guix-git/doc/guix.texi:33671
  49921. #, no-wrap
  49922. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  49923. msgstr ""
  49924. #. type: deftp
  49925. #: guix-git/doc/guix.texi:33674
  49926. msgid "Data type representing the options to the queue builds from guix data service script."
  49927. msgstr ""
  49928. #. type: item
  49929. #: guix-git/doc/guix.texi:33679
  49930. #, no-wrap
  49931. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  49932. msgstr ""
  49933. #. type: item
  49934. #: guix-git/doc/guix.texi:33682
  49935. #, fuzzy, no-wrap
  49936. #| msgid "@code{tor} (default: @code{tor})"
  49937. msgid "@code{coordinator} (default: @code{\"http://localhost:8746\"})"
  49938. msgstr "@code{tor} (default: @code{tor})"
  49939. #. type: table
  49940. #: guix-git/doc/guix.texi:33687
  49941. msgid "The systems for which to fetch derivations to build."
  49942. msgstr ""
  49943. #. type: item
  49944. #: guix-git/doc/guix.texi:33688
  49945. #, no-wrap
  49946. msgid "@code{systems-and-targets} (default: @code{#f})"
  49947. msgstr ""
  49948. #. type: table
  49949. #: guix-git/doc/guix.texi:33691
  49950. msgid "An association list of system and target pairs for which to fetch derivations to build."
  49951. msgstr ""
  49952. #. type: item
  49953. #: guix-git/doc/guix.texi:33692
  49954. #, no-wrap
  49955. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  49956. msgstr ""
  49957. #. type: table
  49958. #: guix-git/doc/guix.texi:33695
  49959. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  49960. msgstr ""
  49961. #. type: item
  49962. #: guix-git/doc/guix.texi:33696
  49963. #, no-wrap
  49964. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  49965. msgstr ""
  49966. #. type: table
  49967. #: guix-git/doc/guix.texi:33699
  49968. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  49969. msgstr ""
  49970. #. type: subsubheading
  49971. #: guix-git/doc/guix.texi:33703
  49972. #, no-wrap
  49973. msgid "Guix Data Service"
  49974. msgstr ""
  49975. #. type: Plain text
  49976. #: guix-git/doc/guix.texi:33707
  49977. 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."
  49978. msgstr ""
  49979. #. type: Plain text
  49980. #: guix-git/doc/guix.texi:33710
  49981. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  49982. msgstr ""
  49983. #. type: defvar
  49984. #: guix-git/doc/guix.texi:33711
  49985. #, no-wrap
  49986. msgid "{Scheme Variable} guix-data-service-type"
  49987. msgstr ""
  49988. #. type: defvar
  49989. #: guix-git/doc/guix.texi:33716
  49990. 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."
  49991. msgstr ""
  49992. #. type: deftp
  49993. #: guix-git/doc/guix.texi:33718
  49994. #, no-wrap
  49995. msgid "{Data Type} guix-data-service-configuration"
  49996. msgstr ""
  49997. #. type: deftp
  49998. #: guix-git/doc/guix.texi:33720 guix-git/doc/guix.texi:33768
  49999. msgid "Data type representing the configuration of the Guix Data Service."
  50000. msgstr ""
  50001. #. type: item
  50002. #: guix-git/doc/guix.texi:33722
  50003. #, no-wrap
  50004. msgid "@code{package} (default: @code{guix-data-service})"
  50005. msgstr ""
  50006. #. type: table
  50007. #: guix-git/doc/guix.texi:33724
  50008. msgid "The Guix Data Service package to use."
  50009. msgstr ""
  50010. #. type: item
  50011. #: guix-git/doc/guix.texi:33725
  50012. #, no-wrap
  50013. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  50014. msgstr ""
  50015. #. type: item
  50016. #: guix-git/doc/guix.texi:33728
  50017. #, no-wrap
  50018. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  50019. msgstr ""
  50020. #. type: item
  50021. #: guix-git/doc/guix.texi:33731
  50022. #, no-wrap
  50023. msgid "@code{port} (default: @code{8765})"
  50024. msgstr ""
  50025. #. type: table
  50026. #: guix-git/doc/guix.texi:33733
  50027. msgid "The port to bind the web service to."
  50028. msgstr ""
  50029. #. type: item
  50030. #: guix-git/doc/guix.texi:33734 guix-git/doc/guix.texi:33782
  50031. #, no-wrap
  50032. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  50033. msgstr ""
  50034. #. type: table
  50035. #: guix-git/doc/guix.texi:33736
  50036. msgid "The host to bind the web service to."
  50037. msgstr ""
  50038. #. type: item
  50039. #: guix-git/doc/guix.texi:33737
  50040. #, no-wrap
  50041. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  50042. msgstr ""
  50043. #. type: table
  50044. #: guix-git/doc/guix.texi:33740
  50045. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  50046. msgstr ""
  50047. #. type: item
  50048. #: guix-git/doc/guix.texi:33741
  50049. #, no-wrap
  50050. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  50051. msgstr ""
  50052. #. type: table
  50053. #: guix-git/doc/guix.texi:33745
  50054. 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."
  50055. msgstr ""
  50056. #. type: item
  50057. #: guix-git/doc/guix.texi:33746
  50058. #, no-wrap
  50059. msgid "@code{extra-options} (default: @var{'()})"
  50060. msgstr ""
  50061. #. type: table
  50062. #: guix-git/doc/guix.texi:33748
  50063. msgid "Extra command line options for @code{guix-data-service}."
  50064. msgstr ""
  50065. #. type: item
  50066. #: guix-git/doc/guix.texi:33749
  50067. #, no-wrap
  50068. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  50069. msgstr ""
  50070. #. type: table
  50071. #: guix-git/doc/guix.texi:33751
  50072. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  50073. msgstr ""
  50074. #. type: subsubheading
  50075. #: guix-git/doc/guix.texi:33755
  50076. #, no-wrap
  50077. msgid "Nar Herder"
  50078. msgstr ""
  50079. #. type: Plain text
  50080. #: guix-git/doc/guix.texi:33758
  50081. msgid "The @uref{https://git.cbaines.net/guix/nar-herder/about/,Nar Herder} is a utility for managing a collection of nars."
  50082. msgstr ""
  50083. #. type: defvar
  50084. #: guix-git/doc/guix.texi:33759
  50085. #, fuzzy, no-wrap
  50086. msgid "{Scheme Variable} nar-herder-type"
  50087. msgstr "guix-publish-service-type"
  50088. #. type: defvar
  50089. #: guix-git/doc/guix.texi:33764
  50090. 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."
  50091. msgstr ""
  50092. #. type: deftp
  50093. #: guix-git/doc/guix.texi:33766
  50094. #, fuzzy, no-wrap
  50095. msgid "{Data Type} nar-herder-configuration"
  50096. msgstr "build-machine {Data Type}"
  50097. #. type: item
  50098. #: guix-git/doc/guix.texi:33770
  50099. #, fuzzy, no-wrap
  50100. msgid "@code{package} (default: @code{nar-herder})"
  50101. msgstr "@code{cache} (default: @code{#f})"
  50102. #. type: table
  50103. #: guix-git/doc/guix.texi:33772
  50104. #, fuzzy
  50105. msgid "The Nar Herder package to use."
  50106. msgstr "O pacote GPM a ser usado."
  50107. #. type: item
  50108. #: guix-git/doc/guix.texi:33773
  50109. #, fuzzy, no-wrap
  50110. #| msgid "@code{users} (default: @code{#f})"
  50111. msgid "@code{user} (default: @code{\"nar-herder\"})"
  50112. msgstr "@code{users} (default: @code{#f})"
  50113. #. type: item
  50114. #: guix-git/doc/guix.texi:33776
  50115. #, fuzzy, no-wrap
  50116. #| msgid "@code{hangup?} (default: @code{#f})"
  50117. msgid "@code{group} (default: @code{\"nar-herder\"})"
  50118. msgstr "@code{hangup?} (padrão: @code{#f})"
  50119. #. type: item
  50120. #: guix-git/doc/guix.texi:33779
  50121. #, fuzzy, no-wrap
  50122. #| msgid "@code{port} (default: @code{53})"
  50123. msgid "@code{port} (default: @code{8734})"
  50124. msgstr "@code{porta} (default: @code{53})"
  50125. #. type: table
  50126. #: guix-git/doc/guix.texi:33784
  50127. msgid "The host to bind the server to."
  50128. msgstr ""
  50129. #. type: table
  50130. #: guix-git/doc/guix.texi:33789
  50131. 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."
  50132. msgstr ""
  50133. #. type: item
  50134. #: guix-git/doc/guix.texi:33790
  50135. #, fuzzy, no-wrap
  50136. msgid "@code{database} (default: @code{\"/var/lib/nar-herder/nar_herder.db\"})"
  50137. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  50138. #. type: table
  50139. #: guix-git/doc/guix.texi:33795
  50140. 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."
  50141. msgstr ""
  50142. #. type: item
  50143. #: guix-git/doc/guix.texi:33796
  50144. #, fuzzy, no-wrap
  50145. msgid "@code{database-dump} (default: @code{\"/var/lib/nar-herder/nar_herder_dump.db\"})"
  50146. msgstr "@code{daemon-socket} (padrão: @code{\"/var/guix/daemon-socket/socket\"})"
  50147. #. type: table
  50148. #: guix-git/doc/guix.texi:33800
  50149. 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."
  50150. msgstr ""
  50151. #. type: item
  50152. #: guix-git/doc/guix.texi:33801
  50153. #, fuzzy, no-wrap
  50154. #| msgid "@code{chdir} (default: @code{#f})"
  50155. msgid "@code{storage} (default: @code{#f})"
  50156. msgstr "@code{chdir} (default: @code{#f})"
  50157. #. type: table
  50158. #: guix-git/doc/guix.texi:33803
  50159. msgid "Optional location in which to store nars."
  50160. msgstr ""
  50161. #. type: item
  50162. #: guix-git/doc/guix.texi:33804
  50163. #, fuzzy, no-wrap
  50164. #| msgid "@code{tor} (default: @code{tor})"
  50165. msgid "@code{storage-limit} (default: @code{\"none\"})"
  50166. msgstr "@code{tor} (default: @code{tor})"
  50167. #. type: table
  50168. #: guix-git/doc/guix.texi:33807
  50169. 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."
  50170. msgstr ""
  50171. #. type: table
  50172. #: guix-git/doc/guix.texi:33810
  50173. msgid "When the storage location exceeds this size, nars are removed according to the nar removal criteria."
  50174. msgstr ""
  50175. #. type: item
  50176. #: guix-git/doc/guix.texi:33811
  50177. #, fuzzy, no-wrap
  50178. #| msgid "@code{features} (default: @code{'()})"
  50179. msgid "@code{storage-nar-removal-criteria} (default: @code{'()})"
  50180. msgstr "@code{features} (padrão: @code{'()})"
  50181. #. type: table
  50182. #: guix-git/doc/guix.texi:33814
  50183. msgid "Criteria used to remove nars from the storage location. These are used in conjunction with the storage limit."
  50184. msgstr ""
  50185. #. type: table
  50186. #: guix-git/doc/guix.texi:33819
  50187. 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."
  50188. msgstr ""
  50189. #. type: table
  50190. #: guix-git/doc/guix.texi:33823
  50191. 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."
  50192. msgstr ""
  50193. #. type: table
  50194. #: guix-git/doc/guix.texi:33831
  50195. msgid "This allows the user's Guix to keep substitute information in cache for @var{ttl}."
  50196. msgstr ""
  50197. #. type: cindex
  50198. #: guix-git/doc/guix.texi:33844
  50199. #, no-wrap
  50200. msgid "oom"
  50201. msgstr ""
  50202. #. type: cindex
  50203. #: guix-git/doc/guix.texi:33845
  50204. #, no-wrap
  50205. msgid "out of memory killer"
  50206. msgstr ""
  50207. #. type: cindex
  50208. #: guix-git/doc/guix.texi:33846
  50209. #, no-wrap
  50210. msgid "earlyoom"
  50211. msgstr ""
  50212. #. type: cindex
  50213. #: guix-git/doc/guix.texi:33847
  50214. #, no-wrap
  50215. msgid "early out of memory daemon"
  50216. msgstr ""
  50217. #. type: subsubheading
  50218. #: guix-git/doc/guix.texi:33848
  50219. #, no-wrap
  50220. msgid "Early OOM Service"
  50221. msgstr ""
  50222. #. type: Plain text
  50223. #: guix-git/doc/guix.texi:33855
  50224. 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."
  50225. msgstr ""
  50226. #. type: deffn
  50227. #: guix-git/doc/guix.texi:33856
  50228. #, no-wrap
  50229. msgid "{Scheme Variable} earlyoom-service-type"
  50230. msgstr ""
  50231. #. type: deffn
  50232. #: guix-git/doc/guix.texi:33861
  50233. 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:"
  50234. msgstr ""
  50235. #. type: lisp
  50236. #: guix-git/doc/guix.texi:33864
  50237. #, no-wrap
  50238. msgid "(service earlyoom-service-type)\n"
  50239. msgstr ""
  50240. #. type: deftp
  50241. #: guix-git/doc/guix.texi:33867
  50242. #, no-wrap
  50243. msgid "{Data Type} earlyoom-configuration"
  50244. msgstr ""
  50245. #. type: deftp
  50246. #: guix-git/doc/guix.texi:33869
  50247. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  50248. msgstr ""
  50249. #. type: item
  50250. #: guix-git/doc/guix.texi:33871
  50251. #, no-wrap
  50252. msgid "@code{earlyoom} (default: @var{earlyoom})"
  50253. msgstr ""
  50254. #. type: table
  50255. #: guix-git/doc/guix.texi:33873
  50256. msgid "The Earlyoom package to use."
  50257. msgstr ""
  50258. #. type: item
  50259. #: guix-git/doc/guix.texi:33874
  50260. #, no-wrap
  50261. msgid "@code{minimum-available-memory} (default: @code{10})"
  50262. msgstr ""
  50263. #. type: table
  50264. #: guix-git/doc/guix.texi:33876
  50265. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  50266. msgstr ""
  50267. #. type: item
  50268. #: guix-git/doc/guix.texi:33877
  50269. #, no-wrap
  50270. msgid "@code{minimum-free-swap} (default: @code{10})"
  50271. msgstr ""
  50272. #. type: table
  50273. #: guix-git/doc/guix.texi:33879
  50274. msgid "The threshold for the minimum free swap memory, in percentages."
  50275. msgstr ""
  50276. #. type: item
  50277. #: guix-git/doc/guix.texi:33880
  50278. #, no-wrap
  50279. msgid "@code{prefer-regexp} (default: @code{#f})"
  50280. msgstr ""
  50281. #. type: table
  50282. #: guix-git/doc/guix.texi:33883
  50283. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  50284. msgstr ""
  50285. #. type: item
  50286. #: guix-git/doc/guix.texi:33884
  50287. #, no-wrap
  50288. msgid "@code{avoid-regexp} (default: @code{#f})"
  50289. msgstr ""
  50290. #. type: table
  50291. #: guix-git/doc/guix.texi:33887
  50292. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  50293. msgstr ""
  50294. #. type: item
  50295. #: guix-git/doc/guix.texi:33888
  50296. #, no-wrap
  50297. msgid "@code{memory-report-interval} (default: @code{0})"
  50298. msgstr ""
  50299. #. type: table
  50300. #: guix-git/doc/guix.texi:33891
  50301. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  50302. msgstr ""
  50303. #. type: item
  50304. #: guix-git/doc/guix.texi:33892
  50305. #, no-wrap
  50306. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  50307. msgstr ""
  50308. #. type: table
  50309. #: guix-git/doc/guix.texi:33895
  50310. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  50311. msgstr ""
  50312. #. type: item
  50313. #: guix-git/doc/guix.texi:33896
  50314. #, no-wrap
  50315. msgid "@code{show-debug-messages?} (default: @code{#f})"
  50316. msgstr ""
  50317. #. type: table
  50318. #: guix-git/doc/guix.texi:33899
  50319. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  50320. msgstr ""
  50321. #. type: item
  50322. #: guix-git/doc/guix.texi:33900
  50323. #, no-wrap
  50324. msgid "@code{send-notification-command} (default: @code{#f})"
  50325. msgstr ""
  50326. #. type: table
  50327. #: guix-git/doc/guix.texi:33903
  50328. msgid "This can be used to provide a custom command used for sending notifications."
  50329. msgstr ""
  50330. #. type: cindex
  50331. #: guix-git/doc/guix.texi:33906
  50332. #, no-wrap
  50333. msgid "modprobe"
  50334. msgstr ""
  50335. #. type: cindex
  50336. #: guix-git/doc/guix.texi:33907
  50337. #, no-wrap
  50338. msgid "kernel module loader"
  50339. msgstr ""
  50340. #. type: subsubheading
  50341. #: guix-git/doc/guix.texi:33908
  50342. #, no-wrap
  50343. msgid "Kernel Module Loader Service"
  50344. msgstr ""
  50345. #. type: Plain text
  50346. #: guix-git/doc/guix.texi:33914
  50347. 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}."
  50348. msgstr ""
  50349. #. type: deffn
  50350. #: guix-git/doc/guix.texi:33915
  50351. #, no-wrap
  50352. msgid "{Scheme Variable} kernel-module-loader-service-type"
  50353. msgstr ""
  50354. #. type: deffn
  50355. #: guix-git/doc/guix.texi:33921
  50356. 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:"
  50357. msgstr ""
  50358. #. type: lisp
  50359. #: guix-git/doc/guix.texi:33926
  50360. #, no-wrap
  50361. msgid ""
  50362. "(use-modules (gnu) (gnu services))\n"
  50363. "(use-package-modules linux)\n"
  50364. "(use-service-modules linux)\n"
  50365. "\n"
  50366. msgstr ""
  50367. #. type: lisp
  50368. #: guix-git/doc/guix.texi:33930
  50369. #, no-wrap
  50370. msgid ""
  50371. "(define ddcci-config\n"
  50372. " (plain-file \"ddcci.conf\"\n"
  50373. " \"options ddcci dyndbg delay=120\"))\n"
  50374. "\n"
  50375. msgstr ""
  50376. #. type: lisp
  50377. #: guix-git/doc/guix.texi:33940
  50378. #, no-wrap
  50379. msgid ""
  50380. "(operating-system\n"
  50381. " ...\n"
  50382. " (services (cons* (service kernel-module-loader-service-type\n"
  50383. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  50384. " (simple-service 'ddcci-config etc-service-type\n"
  50385. " (list `(\"modprobe.d/ddcci.conf\"\n"
  50386. " ,ddcci-config)))\n"
  50387. " %base-services))\n"
  50388. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  50389. msgstr ""
  50390. #. type: cindex
  50391. #: guix-git/doc/guix.texi:33943
  50392. #, fuzzy, no-wrap
  50393. #| msgid "daemon"
  50394. msgid "rasdaemon"
  50395. msgstr "daemon"
  50396. #. type: cindex
  50397. #: guix-git/doc/guix.texi:33944
  50398. #, no-wrap
  50399. msgid "Platform Reliability, Availability and Serviceability daemon"
  50400. msgstr ""
  50401. #. type: subsubheading
  50402. #: guix-git/doc/guix.texi:33945
  50403. #, fuzzy, no-wrap
  50404. #| msgid "Base Services"
  50405. msgid "Rasdaemon Service"
  50406. msgstr "Serviços base"
  50407. #. type: Plain text
  50408. #: guix-git/doc/guix.texi:33950
  50409. 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."
  50410. msgstr ""
  50411. #. type: Plain text
  50412. #: guix-git/doc/guix.texi:33953
  50413. msgid "Reliability, Availability and Serviceability is a concept used on servers meant to measure their robustness."
  50414. msgstr ""
  50415. #. type: Plain text
  50416. #: guix-git/doc/guix.texi:33956
  50417. msgid "@strong{Relability} is the probability that a system will produce correct outputs:"
  50418. msgstr ""
  50419. #. type: item
  50420. #: guix-git/doc/guix.texi:33958
  50421. #, no-wrap
  50422. msgid "Generally measured as Mean Time Between Failures (MTBF), and"
  50423. msgstr ""
  50424. #. type: item
  50425. #: guix-git/doc/guix.texi:33959
  50426. #, no-wrap
  50427. msgid "Enhanced by features that help to avoid, detect and repair hardware"
  50428. msgstr ""
  50429. #. type: itemize
  50430. #: guix-git/doc/guix.texi:33961
  50431. msgid "faults"
  50432. msgstr ""
  50433. #. type: Plain text
  50434. #: guix-git/doc/guix.texi:33965
  50435. msgid "@strong{Availability} is the probability that a system is operational at a given time:"
  50436. msgstr ""
  50437. #. type: item
  50438. #: guix-git/doc/guix.texi:33967
  50439. #, no-wrap
  50440. msgid "Generally measured as a percentage of downtime per a period of time, and"
  50441. msgstr ""
  50442. #. type: item
  50443. #: guix-git/doc/guix.texi:33968
  50444. #, no-wrap
  50445. msgid "Often uses mechanisms to detect and correct hardware faults in runtime."
  50446. msgstr ""
  50447. #. type: Plain text
  50448. #: guix-git/doc/guix.texi:33973
  50449. msgid "@strong{Serviceability} is the simplicity and speed with which a system can be repaired or maintained:"
  50450. msgstr ""
  50451. #. type: item
  50452. #: guix-git/doc/guix.texi:33975
  50453. #, no-wrap
  50454. msgid "Generally measured on Mean Time Between Repair (MTBR)."
  50455. msgstr ""
  50456. #. type: Plain text
  50457. #: guix-git/doc/guix.texi:33980
  50458. msgid "Among the monitoring measures, the most usual ones include:"
  50459. msgstr ""
  50460. #. type: item
  50461. #: guix-git/doc/guix.texi:33982
  50462. #, no-wrap
  50463. msgid "CPU – detect errors at instruction execution and at L1/L2/L3 caches;"
  50464. msgstr ""
  50465. #. type: item
  50466. #: guix-git/doc/guix.texi:33983
  50467. #, no-wrap
  50468. msgid "Memory – add error correction logic (ECC) to detect and correct errors;"
  50469. msgstr ""
  50470. #. type: item
  50471. #: guix-git/doc/guix.texi:33984
  50472. #, no-wrap
  50473. msgid "I/O – add CRC checksums for transferred data;"
  50474. msgstr ""
  50475. #. type: item
  50476. #: guix-git/doc/guix.texi:33985
  50477. #, no-wrap
  50478. msgid "Storage – RAID, journal file systems, checksums, Self-Monitoring,"
  50479. msgstr ""
  50480. #. type: itemize
  50481. #: guix-git/doc/guix.texi:33987
  50482. msgid "Analysis and Reporting Technology (SMART)."
  50483. msgstr ""
  50484. #. type: Plain text
  50485. #: guix-git/doc/guix.texi:33993
  50486. 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."
  50487. msgstr ""
  50488. #. type: Plain text
  50489. #: guix-git/doc/guix.texi:33997
  50490. 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}."
  50491. msgstr ""
  50492. #. type: defvr
  50493. #: guix-git/doc/guix.texi:33998
  50494. #, fuzzy, no-wrap
  50495. msgid "{Scheme Variable} rasdaemon-service-type"
  50496. msgstr "guix-publish-service-type"
  50497. #. type: defvr
  50498. #: guix-git/doc/guix.texi:34001
  50499. msgid "Service type for the @command{rasdaemon} service. It accepts a @code{rasdaemon-configuration} object. Instantiating like"
  50500. msgstr ""
  50501. #. type: lisp
  50502. #: guix-git/doc/guix.texi:34004
  50503. #, no-wrap
  50504. msgid "(service rasdaemon-service-type)\n"
  50505. msgstr ""
  50506. #. type: defvr
  50507. #: guix-git/doc/guix.texi:34008
  50508. msgid "will load with a default configuration, which monitors all events and logs to syslogd."
  50509. msgstr ""
  50510. #. type: deftp
  50511. #: guix-git/doc/guix.texi:34010
  50512. #, fuzzy, no-wrap
  50513. msgid "{Data Type} rasdaemon-configuration"
  50514. msgstr "build-machine {Data Type}"
  50515. #. type: deftp
  50516. #: guix-git/doc/guix.texi:34012
  50517. #, fuzzy
  50518. msgid "The data type representing the configuration of @command{rasdaemon}."
  50519. msgstr "Gerencie a configuração do sistema operacional."
  50520. #. type: item
  50521. #: guix-git/doc/guix.texi:34014
  50522. #, fuzzy, no-wrap
  50523. #| msgid "@code{remote?} (default: @code{#f})"
  50524. msgid "@code{record?} (default: @code{#f})"
  50525. msgstr "@code{remote?} (padrão: @code{#f})"
  50526. #. type: table
  50527. #: guix-git/doc/guix.texi:34019
  50528. 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}."
  50529. msgstr ""
  50530. #. type: cindex
  50531. #: guix-git/doc/guix.texi:34023
  50532. #, no-wrap
  50533. msgid "zram"
  50534. msgstr ""
  50535. #. type: cindex
  50536. #: guix-git/doc/guix.texi:34024
  50537. #, no-wrap
  50538. msgid "compressed swap"
  50539. msgstr ""
  50540. #. type: cindex
  50541. #: guix-git/doc/guix.texi:34025
  50542. #, no-wrap
  50543. msgid "Compressed RAM-based block devices"
  50544. msgstr ""
  50545. #. type: subsubheading
  50546. #: guix-git/doc/guix.texi:34026
  50547. #, no-wrap
  50548. msgid "Zram Device Service"
  50549. msgstr ""
  50550. #. type: Plain text
  50551. #: guix-git/doc/guix.texi:34032
  50552. 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."
  50553. msgstr ""
  50554. #. type: deffn
  50555. #: guix-git/doc/guix.texi:34033
  50556. #, no-wrap
  50557. msgid "{Scheme Variable} zram-device-service-type"
  50558. msgstr ""
  50559. #. type: deffn
  50560. #: guix-git/doc/guix.texi:34037
  50561. 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."
  50562. msgstr ""
  50563. #. type: deftp
  50564. #: guix-git/doc/guix.texi:34038
  50565. #, no-wrap
  50566. msgid "{Data Type} zram-device-configuration"
  50567. msgstr ""
  50568. #. type: deftp
  50569. #: guix-git/doc/guix.texi:34041
  50570. msgid "This is the data type representing the configuration for the zram-device service."
  50571. msgstr ""
  50572. #. type: item
  50573. #: guix-git/doc/guix.texi:34043
  50574. #, no-wrap
  50575. msgid "@code{size} (default @code{\"1G\"})"
  50576. msgstr ""
  50577. #. type: table
  50578. #: guix-git/doc/guix.texi:34047
  50579. 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}."
  50580. msgstr ""
  50581. #. type: item
  50582. #: guix-git/doc/guix.texi:34047
  50583. #, no-wrap
  50584. msgid "@code{compression-algorithm} (default @code{'lzo})"
  50585. msgstr ""
  50586. #. type: table
  50587. #: guix-git/doc/guix.texi:34051
  50588. 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}."
  50589. msgstr ""
  50590. #. type: item
  50591. #: guix-git/doc/guix.texi:34051
  50592. #, no-wrap
  50593. msgid "@code{memory-limit} (default @code{0})"
  50594. msgstr ""
  50595. #. type: table
  50596. #: guix-git/doc/guix.texi:34058
  50597. 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\"}."
  50598. msgstr ""
  50599. #. type: item
  50600. #: guix-git/doc/guix.texi:34058
  50601. #, no-wrap
  50602. msgid "@code{priority} (default @code{-1})"
  50603. msgstr ""
  50604. #. type: table
  50605. #: guix-git/doc/guix.texi:34063
  50606. msgid "This is the priority of the swap device created from the zram device. @code{swapon} accepts values between -1 and 32767, with higher values indicating higher priority. Higher priority swap will generally be used first."
  50607. msgstr ""
  50608. #. type: defvr
  50609. #: guix-git/doc/guix.texi:34071
  50610. #, no-wrap
  50611. msgid "{Scheme Variable} hurd-console-service-type"
  50612. msgstr ""
  50613. #. type: defvr
  50614. #: guix-git/doc/guix.texi:34073
  50615. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  50616. msgstr ""
  50617. #. type: defvr
  50618. #: guix-git/doc/guix.texi:34075
  50619. msgid "The service's value is a @code{hurd-console-configuration} record."
  50620. msgstr ""
  50621. #. type: deftp
  50622. #: guix-git/doc/guix.texi:34077
  50623. #, no-wrap
  50624. msgid "{Data Type} hurd-console-configuration"
  50625. msgstr ""
  50626. #. type: deftp
  50627. #: guix-git/doc/guix.texi:34080
  50628. msgid "This is the data type representing the configuration for the hurd-console-service."
  50629. msgstr ""
  50630. #. type: item
  50631. #: guix-git/doc/guix.texi:34082 guix-git/doc/guix.texi:34098
  50632. #, no-wrap
  50633. msgid "@code{hurd} (default: @var{hurd})"
  50634. msgstr ""
  50635. #. type: table
  50636. #: guix-git/doc/guix.texi:34084 guix-git/doc/guix.texi:34100
  50637. msgid "The Hurd package to use."
  50638. msgstr ""
  50639. #. type: defvr
  50640. #: guix-git/doc/guix.texi:34087
  50641. #, no-wrap
  50642. msgid "{Scheme Variable} hurd-getty-service-type"
  50643. msgstr ""
  50644. #. type: defvr
  50645. #: guix-git/doc/guix.texi:34089
  50646. msgid "This service starts a tty using the Hurd @code{getty} program."
  50647. msgstr ""
  50648. #. type: defvr
  50649. #: guix-git/doc/guix.texi:34091
  50650. msgid "The service's value is a @code{hurd-getty-configuration} record."
  50651. msgstr ""
  50652. #. type: deftp
  50653. #: guix-git/doc/guix.texi:34093
  50654. #, no-wrap
  50655. msgid "{Data Type} hurd-getty-configuration"
  50656. msgstr ""
  50657. #. type: deftp
  50658. #: guix-git/doc/guix.texi:34096
  50659. msgid "This is the data type representing the configuration for the hurd-getty-service."
  50660. msgstr ""
  50661. #. type: table
  50662. #: guix-git/doc/guix.texi:34103
  50663. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  50664. msgstr ""
  50665. #. type: item
  50666. #: guix-git/doc/guix.texi:34104
  50667. #, no-wrap
  50668. msgid "@code{baud-rate} (default: @code{38400})"
  50669. msgstr ""
  50670. #. type: table
  50671. #: guix-git/doc/guix.texi:34106
  50672. msgid "An integer specifying the baud rate of the tty."
  50673. msgstr ""
  50674. #. type: cindex
  50675. #: guix-git/doc/guix.texi:34113
  50676. #, no-wrap
  50677. msgid "fingerprint"
  50678. msgstr ""
  50679. #. type: subsubheading
  50680. #: guix-git/doc/guix.texi:34114
  50681. #, no-wrap
  50682. msgid "Fingerprint Service"
  50683. msgstr ""
  50684. #. type: Plain text
  50685. #: guix-git/doc/guix.texi:34118
  50686. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  50687. msgstr ""
  50688. #. type: defvr
  50689. #: guix-git/doc/guix.texi:34119
  50690. #, no-wrap
  50691. msgid "{Scheme Variable} fprintd-service-type"
  50692. msgstr ""
  50693. #. type: defvr
  50694. #: guix-git/doc/guix.texi:34122
  50695. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  50696. msgstr ""
  50697. #. type: lisp
  50698. #: guix-git/doc/guix.texi:34125
  50699. #, no-wrap
  50700. msgid "(service fprintd-service-type)\n"
  50701. msgstr ""
  50702. #. type: cindex
  50703. #: guix-git/doc/guix.texi:34128
  50704. #, no-wrap
  50705. msgid "sysctl"
  50706. msgstr ""
  50707. #. type: subsubheading
  50708. #: guix-git/doc/guix.texi:34129
  50709. #, no-wrap
  50710. msgid "System Control Service"
  50711. msgstr ""
  50712. #. type: Plain text
  50713. #: guix-git/doc/guix.texi:34133
  50714. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  50715. msgstr ""
  50716. #. type: defvr
  50717. #: guix-git/doc/guix.texi:34134
  50718. #, no-wrap
  50719. msgid "{Scheme Variable} sysctl-service-type"
  50720. msgstr ""
  50721. #. type: defvr
  50722. #: guix-git/doc/guix.texi:34138
  50723. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  50724. msgstr ""
  50725. #. type: lisp
  50726. #: guix-git/doc/guix.texi:34143
  50727. #, no-wrap
  50728. msgid ""
  50729. "(service sysctl-service-type\n"
  50730. " (sysctl-configuration\n"
  50731. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  50732. msgstr ""
  50733. #. type: defvr
  50734. #: guix-git/doc/guix.texi:34150
  50735. 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}})."
  50736. msgstr ""
  50737. #. type: lisp
  50738. #: guix-git/doc/guix.texi:34157
  50739. #, no-wrap
  50740. msgid ""
  50741. "(modify-services %base-services\n"
  50742. " (sysctl-service-type config =>\n"
  50743. " (sysctl-configuration\n"
  50744. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  50745. " %default-sysctl-settings)))))\n"
  50746. msgstr ""
  50747. #. type: deftp
  50748. #: guix-git/doc/guix.texi:34161
  50749. #, no-wrap
  50750. msgid "{Data Type} sysctl-configuration"
  50751. msgstr ""
  50752. #. type: deftp
  50753. #: guix-git/doc/guix.texi:34163
  50754. msgid "The data type representing the configuration of @command{sysctl}."
  50755. msgstr ""
  50756. #. type: item
  50757. #: guix-git/doc/guix.texi:34165
  50758. #, no-wrap
  50759. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  50760. msgstr ""
  50761. #. type: table
  50762. #: guix-git/doc/guix.texi:34167
  50763. msgid "The @command{sysctl} executable to use."
  50764. msgstr ""
  50765. #. type: item
  50766. #: guix-git/doc/guix.texi:34168
  50767. #, fuzzy, no-wrap
  50768. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  50769. msgstr "@code{options} (default: @code{#f})"
  50770. #. type: table
  50771. #: guix-git/doc/guix.texi:34170
  50772. msgid "An association list specifies kernel parameters and their values."
  50773. msgstr ""
  50774. #. type: defvr
  50775. #: guix-git/doc/guix.texi:34173
  50776. #, no-wrap
  50777. msgid "{Scheme Variable} %default-sysctl-settings"
  50778. msgstr ""
  50779. #. type: defvr
  50780. #: guix-git/doc/guix.texi:34176
  50781. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  50782. msgstr ""
  50783. #. type: cindex
  50784. #: guix-git/doc/guix.texi:34178
  50785. #, no-wrap
  50786. msgid "pcscd"
  50787. msgstr ""
  50788. #. type: subsubheading
  50789. #: guix-git/doc/guix.texi:34179
  50790. #, no-wrap
  50791. msgid "PC/SC Smart Card Daemon Service"
  50792. msgstr ""
  50793. #. type: Plain text
  50794. #: guix-git/doc/guix.texi:34186
  50795. 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."
  50796. msgstr ""
  50797. #. type: defvr
  50798. #: guix-git/doc/guix.texi:34187
  50799. #, no-wrap
  50800. msgid "{Scheme Variable} pcscd-service-type"
  50801. msgstr ""
  50802. #. type: defvr
  50803. #: guix-git/doc/guix.texi:34191
  50804. 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:"
  50805. msgstr ""
  50806. #. type: lisp
  50807. #: guix-git/doc/guix.texi:34194
  50808. #, no-wrap
  50809. msgid "(service pcscd-service-type)\n"
  50810. msgstr ""
  50811. #. type: deftp
  50812. #: guix-git/doc/guix.texi:34197
  50813. #, no-wrap
  50814. msgid "{Data Type} pcscd-configuration"
  50815. msgstr ""
  50816. #. type: deftp
  50817. #: guix-git/doc/guix.texi:34199
  50818. msgid "The data type representing the configuration of @command{pcscd}."
  50819. msgstr ""
  50820. #. type: item
  50821. #: guix-git/doc/guix.texi:34201
  50822. #, no-wrap
  50823. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  50824. msgstr ""
  50825. #. type: table
  50826. #: guix-git/doc/guix.texi:34203
  50827. msgid "The pcsc-lite package that provides pcscd."
  50828. msgstr ""
  50829. #. type: item
  50830. #: guix-git/doc/guix.texi:34203
  50831. #, no-wrap
  50832. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  50833. msgstr ""
  50834. #. type: table
  50835. #: guix-git/doc/guix.texi:34206
  50836. 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."
  50837. msgstr ""
  50838. #. type: cindex
  50839. #: guix-git/doc/guix.texi:34209
  50840. #, no-wrap
  50841. msgid "lirc"
  50842. msgstr ""
  50843. #. type: subsubheading
  50844. #: guix-git/doc/guix.texi:34210
  50845. #, no-wrap
  50846. msgid "Lirc Service"
  50847. msgstr ""
  50848. #. type: Plain text
  50849. #: guix-git/doc/guix.texi:34213
  50850. msgid "The @code{(gnu services lirc)} module provides the following service."
  50851. msgstr ""
  50852. #. type: deffn
  50853. #: guix-git/doc/guix.texi:34214
  50854. #, no-wrap
  50855. msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @"
  50856. msgstr ""
  50857. #. type: deffn
  50858. #: guix-git/doc/guix.texi:34219
  50859. msgid "[#:device #f] [#:driver #f] [#:config-file #f] @ [#:extra-options '()] Return a service that runs @url{http://www.lirc.org,LIRC}, a daemon that decodes infrared signals from remote controls."
  50860. msgstr ""
  50861. #. type: deffn
  50862. #: guix-git/doc/guix.texi:34223
  50863. msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details."
  50864. msgstr ""
  50865. #. type: deffn
  50866. #: guix-git/doc/guix.texi:34226
  50867. msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}."
  50868. msgstr ""
  50869. #. type: cindex
  50870. #: guix-git/doc/guix.texi:34228
  50871. #, no-wrap
  50872. msgid "spice"
  50873. msgstr "spice"
  50874. #. type: subsubheading
  50875. #: guix-git/doc/guix.texi:34229
  50876. #, no-wrap
  50877. msgid "Spice Service"
  50878. msgstr ""
  50879. #. type: Plain text
  50880. #: guix-git/doc/guix.texi:34232
  50881. msgid "The @code{(gnu services spice)} module provides the following service."
  50882. msgstr ""
  50883. #. type: deffn
  50884. #: guix-git/doc/guix.texi:34233
  50885. #, no-wrap
  50886. msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]"
  50887. msgstr ""
  50888. #. type: deffn
  50889. #: guix-git/doc/guix.texi:34237
  50890. msgid "Returns a 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."
  50891. msgstr ""
  50892. #. type: cindex
  50893. #: guix-git/doc/guix.texi:34239
  50894. #, no-wrap
  50895. msgid "inputattach"
  50896. msgstr ""
  50897. #. type: subsubheading
  50898. #: guix-git/doc/guix.texi:34240
  50899. #, no-wrap
  50900. msgid "inputattach Service"
  50901. msgstr ""
  50902. #. type: cindex
  50903. #: guix-git/doc/guix.texi:34242
  50904. #, no-wrap
  50905. msgid "tablet input, for Xorg"
  50906. msgstr ""
  50907. #. type: cindex
  50908. #: guix-git/doc/guix.texi:34243
  50909. #, no-wrap
  50910. msgid "touchscreen input, for Xorg"
  50911. msgstr ""
  50912. #. type: Plain text
  50913. #: guix-git/doc/guix.texi:34247
  50914. 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."
  50915. msgstr ""
  50916. #. type: deffn
  50917. #: guix-git/doc/guix.texi:34248
  50918. #, no-wrap
  50919. msgid "{Scheme Variable} inputattach-service-type"
  50920. msgstr ""
  50921. #. type: deffn
  50922. #: guix-git/doc/guix.texi:34251
  50923. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  50924. msgstr ""
  50925. #. type: deftp
  50926. #: guix-git/doc/guix.texi:34253
  50927. #, no-wrap
  50928. msgid "{Data Type} inputattach-configuration"
  50929. msgstr ""
  50930. #. type: item
  50931. #: guix-git/doc/guix.texi:34255
  50932. #, no-wrap
  50933. msgid "@code{device-type} (default: @code{\"wacom\"})"
  50934. msgstr ""
  50935. #. type: table
  50936. #: guix-git/doc/guix.texi:34258
  50937. 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."
  50938. msgstr ""
  50939. #. type: item
  50940. #: guix-git/doc/guix.texi:34259
  50941. #, no-wrap
  50942. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  50943. msgstr "@code{device} (padrão: @code{\"/dev/ttyS0\"})"
  50944. #. type: table
  50945. #: guix-git/doc/guix.texi:34261
  50946. msgid "The device file to connect to the device."
  50947. msgstr ""
  50948. #. type: table
  50949. #: guix-git/doc/guix.texi:34265
  50950. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  50951. msgstr ""
  50952. #. type: item
  50953. #: guix-git/doc/guix.texi:34266
  50954. #, no-wrap
  50955. msgid "@code{log-file} (default: @code{#f})"
  50956. msgstr "@code{log-file} (default: @code{#f})"
  50957. #. type: table
  50958. #: guix-git/doc/guix.texi:34268
  50959. msgid "If true, this must be the name of a file to log messages to."
  50960. msgstr ""
  50961. #. type: subsubheading
  50962. #: guix-git/doc/guix.texi:34271
  50963. #, no-wrap
  50964. msgid "Dictionary Service"
  50965. msgstr ""
  50966. #. type: cindex
  50967. #: guix-git/doc/guix.texi:34272
  50968. #, no-wrap
  50969. msgid "dictionary"
  50970. msgstr "dicionário"
  50971. #. type: Plain text
  50972. #: guix-git/doc/guix.texi:34274
  50973. msgid "The @code{(gnu services dict)} module provides the following service:"
  50974. msgstr ""
  50975. #. type: defvr
  50976. #: guix-git/doc/guix.texi:34275
  50977. #, no-wrap
  50978. msgid "{Scheme Variable} dicod-service-type"
  50979. msgstr ""
  50980. #. type: defvr
  50981. #: guix-git/doc/guix.texi:34278
  50982. 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})."
  50983. msgstr ""
  50984. #. type: deffn
  50985. #: guix-git/doc/guix.texi:34280
  50986. #, no-wrap
  50987. msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]"
  50988. msgstr ""
  50989. #. type: deffn
  50990. #: guix-git/doc/guix.texi:34283
  50991. msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  50992. msgstr ""
  50993. #. type: deffn
  50994. #: guix-git/doc/guix.texi:34287
  50995. msgid "The optional @var{config} argument specifies the configuration for @command{dicod}, which should be a @code{<dicod-configuration>} object, by default it serves the GNU Collaborative International Dictionary of English."
  50996. msgstr ""
  50997. #. type: deffn
  50998. #: guix-git/doc/guix.texi:34291
  50999. 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})."
  51000. msgstr ""
  51001. #. type: deftp
  51002. #: guix-git/doc/guix.texi:34293
  51003. #, no-wrap
  51004. msgid "{Data Type} dicod-configuration"
  51005. msgstr ""
  51006. #. type: deftp
  51007. #: guix-git/doc/guix.texi:34295
  51008. msgid "Data type representing the configuration of dicod."
  51009. msgstr ""
  51010. #. type: item
  51011. #: guix-git/doc/guix.texi:34297
  51012. #, no-wrap
  51013. msgid "@code{dico} (default: @var{dico})"
  51014. msgstr ""
  51015. #. type: table
  51016. #: guix-git/doc/guix.texi:34299
  51017. msgid "Package object of the GNU Dico dictionary server."
  51018. msgstr ""
  51019. #. type: item
  51020. #: guix-git/doc/guix.texi:34300
  51021. #, no-wrap
  51022. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  51023. msgstr ""
  51024. #. type: table
  51025. #: guix-git/doc/guix.texi:34304
  51026. 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})."
  51027. msgstr ""
  51028. #. type: item
  51029. #: guix-git/doc/guix.texi:34305
  51030. #, no-wrap
  51031. msgid "@code{handlers} (default: @var{'()})"
  51032. msgstr ""
  51033. #. type: table
  51034. #: guix-git/doc/guix.texi:34307
  51035. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  51036. msgstr ""
  51037. #. type: item
  51038. #: guix-git/doc/guix.texi:34308
  51039. #, no-wrap
  51040. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  51041. msgstr ""
  51042. #. type: table
  51043. #: guix-git/doc/guix.texi:34310
  51044. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  51045. msgstr ""
  51046. #. type: deftp
  51047. #: guix-git/doc/guix.texi:34313
  51048. #, no-wrap
  51049. msgid "{Data Type} dicod-handler"
  51050. msgstr ""
  51051. #. type: deftp
  51052. #: guix-git/doc/guix.texi:34315
  51053. msgid "Data type representing a dictionary handler (module instance)."
  51054. msgstr ""
  51055. #. type: table
  51056. #: guix-git/doc/guix.texi:34319
  51057. msgid "Name of the handler (module instance)."
  51058. msgstr ""
  51059. #. type: item
  51060. #: guix-git/doc/guix.texi:34320
  51061. #, no-wrap
  51062. msgid "@code{module} (default: @var{#f})"
  51063. msgstr ""
  51064. #. type: table
  51065. #: guix-git/doc/guix.texi:34324
  51066. 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})."
  51067. msgstr ""
  51068. #. type: table
  51069. #: guix-git/doc/guix.texi:34327
  51070. msgid "List of strings or gexps representing the arguments for the module handler"
  51071. msgstr ""
  51072. #. type: deftp
  51073. #: guix-git/doc/guix.texi:34330
  51074. #, no-wrap
  51075. msgid "{Data Type} dicod-database"
  51076. msgstr ""
  51077. #. type: deftp
  51078. #: guix-git/doc/guix.texi:34332
  51079. msgid "Data type representing a dictionary database."
  51080. msgstr ""
  51081. #. type: table
  51082. #: guix-git/doc/guix.texi:34336
  51083. msgid "Name of the database, will be used in DICT commands."
  51084. msgstr ""
  51085. #. type: code{#1}
  51086. #: guix-git/doc/guix.texi:34337
  51087. #, no-wrap
  51088. msgid "handler"
  51089. msgstr ""
  51090. #. type: table
  51091. #: guix-git/doc/guix.texi:34340
  51092. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  51093. msgstr ""
  51094. #. type: item
  51095. #: guix-git/doc/guix.texi:34341
  51096. #, no-wrap
  51097. msgid "@code{complex?} (default: @var{#f})"
  51098. msgstr ""
  51099. #. type: table
  51100. #: guix-git/doc/guix.texi:34344
  51101. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  51102. msgstr ""
  51103. #. type: table
  51104. #: guix-git/doc/guix.texi:34348
  51105. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  51106. msgstr ""
  51107. #. type: defvr
  51108. #: guix-git/doc/guix.texi:34351
  51109. #, no-wrap
  51110. msgid "{Scheme Variable} %dicod-database:gcide"
  51111. msgstr ""
  51112. #. type: defvr
  51113. #: guix-git/doc/guix.texi:34354
  51114. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  51115. msgstr ""
  51116. #. type: Plain text
  51117. #: guix-git/doc/guix.texi:34357
  51118. msgid "The following is an example @code{dicod-service} configuration."
  51119. msgstr ""
  51120. #. type: lisp
  51121. #: guix-git/doc/guix.texi:34372
  51122. #, no-wrap
  51123. msgid ""
  51124. "(dicod-service #:config\n"
  51125. " (dicod-configuration\n"
  51126. " (handlers (list (dicod-handler\n"
  51127. " (name \"wordnet\")\n"
  51128. " (module \"dictorg\")\n"
  51129. " (options\n"
  51130. " (list #~(string-append \"dbdir=\" #$wordnet))))))\n"
  51131. " (databases (list (dicod-database\n"
  51132. " (name \"wordnet\")\n"
  51133. " (complex? #t)\n"
  51134. " (handler \"wordnet\")\n"
  51135. " (options '(\"database=wn\")))\n"
  51136. " %dicod-database:gcide))))\n"
  51137. msgstr ""
  51138. #. type: cindex
  51139. #: guix-git/doc/guix.texi:34374
  51140. #, no-wrap
  51141. msgid "Docker"
  51142. msgstr ""
  51143. #. type: subsubheading
  51144. #: guix-git/doc/guix.texi:34375
  51145. #, no-wrap
  51146. msgid "Docker Service"
  51147. msgstr ""
  51148. #. type: Plain text
  51149. #: guix-git/doc/guix.texi:34378
  51150. msgid "The @code{(gnu services docker)} module provides the following services."
  51151. msgstr ""
  51152. #. type: defvr
  51153. #: guix-git/doc/guix.texi:34379
  51154. #, no-wrap
  51155. msgid "{Scheme Variable} docker-service-type"
  51156. msgstr ""
  51157. #. type: defvr
  51158. #: guix-git/doc/guix.texi:34384
  51159. 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."
  51160. msgstr ""
  51161. #. type: deftp
  51162. #: guix-git/doc/guix.texi:34387
  51163. #, no-wrap
  51164. msgid "{Data Type} docker-configuration"
  51165. msgstr ""
  51166. #. type: deftp
  51167. #: guix-git/doc/guix.texi:34389
  51168. msgid "This is the data type representing the configuration of Docker and Containerd."
  51169. msgstr ""
  51170. #. type: item
  51171. #: guix-git/doc/guix.texi:34392
  51172. #, fuzzy, no-wrap
  51173. #| msgid "@code{tor} (default: @code{tor})"
  51174. msgid "@code{docker} (default: @code{docker})"
  51175. msgstr "@code{tor} (default: @code{tor})"
  51176. #. type: table
  51177. #: guix-git/doc/guix.texi:34394
  51178. msgid "The Docker daemon package to use."
  51179. msgstr ""
  51180. #. type: item
  51181. #: guix-git/doc/guix.texi:34395
  51182. #, fuzzy, no-wrap
  51183. #| msgid "@code{tor} (default: @code{tor})"
  51184. msgid "@code{docker-cli} (default: @code{docker-cli})"
  51185. msgstr "@code{tor} (default: @code{tor})"
  51186. #. type: table
  51187. #: guix-git/doc/guix.texi:34397
  51188. msgid "The Docker client package to use."
  51189. msgstr ""
  51190. #. type: item
  51191. #: guix-git/doc/guix.texi:34398
  51192. #, no-wrap
  51193. msgid "@code{containerd} (default: @var{containerd})"
  51194. msgstr ""
  51195. #. type: table
  51196. #: guix-git/doc/guix.texi:34400
  51197. msgid "The Containerd package to use."
  51198. msgstr ""
  51199. #. type: item
  51200. #: guix-git/doc/guix.texi:34401
  51201. #, no-wrap
  51202. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  51203. msgstr ""
  51204. #. type: table
  51205. #: guix-git/doc/guix.texi:34403
  51206. msgid "The Docker user-land networking proxy package to use."
  51207. msgstr ""
  51208. #. type: item
  51209. #: guix-git/doc/guix.texi:34404
  51210. #, no-wrap
  51211. msgid "@code{enable-proxy?} (default @code{#t})"
  51212. msgstr ""
  51213. #. type: table
  51214. #: guix-git/doc/guix.texi:34406
  51215. msgid "Enable or disable the use of the Docker user-land networking proxy."
  51216. msgstr ""
  51217. #. type: item
  51218. #: guix-git/doc/guix.texi:34407
  51219. #, no-wrap
  51220. msgid "@code{debug?} (default @code{#f})"
  51221. msgstr ""
  51222. #. type: table
  51223. #: guix-git/doc/guix.texi:34409
  51224. msgid "Enable or disable debug output."
  51225. msgstr ""
  51226. #. type: item
  51227. #: guix-git/doc/guix.texi:34410
  51228. #, no-wrap
  51229. msgid "@code{enable-iptables?} (default @code{#t})"
  51230. msgstr ""
  51231. #. type: table
  51232. #: guix-git/doc/guix.texi:34412
  51233. msgid "Enable or disable the addition of iptables rules."
  51234. msgstr ""
  51235. #. type: item
  51236. #: guix-git/doc/guix.texi:34413
  51237. #, fuzzy, no-wrap
  51238. #| msgid "@code{replacement} (default: @code{#f})"
  51239. msgid "@code{environment-variables} (default: @code{()})"
  51240. msgstr "@code{replacement} (default: @code{#f})"
  51241. #. type: table
  51242. #: guix-git/doc/guix.texi:34415
  51243. msgid "List of environment variables to set for @command{dockerd}."
  51244. msgstr ""
  51245. #. type: table
  51246. #: guix-git/doc/guix.texi:34418
  51247. msgid "This must be a list of strings where each string has the form @samp{@var{key}=@var{value}} as in this example:"
  51248. msgstr ""
  51249. #. type: lisp
  51250. #: guix-git/doc/guix.texi:34422
  51251. #, no-wrap
  51252. msgid ""
  51253. "(list \"LANGUAGE=eo:ca:eu\"\n"
  51254. " \"TMPDIR=/tmp/dockerd\")\n"
  51255. msgstr ""
  51256. #. type: cindex
  51257. #: guix-git/doc/guix.texi:34427
  51258. #, no-wrap
  51259. msgid "Singularity, container service"
  51260. msgstr ""
  51261. #. type: defvr
  51262. #: guix-git/doc/guix.texi:34428
  51263. #, no-wrap
  51264. msgid "{Scheme Variable} singularity-service-type"
  51265. msgstr ""
  51266. #. type: defvr
  51267. #: guix-git/doc/guix.texi:34433
  51268. 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."
  51269. msgstr ""
  51270. #. type: defvr
  51271. #: guix-git/doc/guix.texi:34437
  51272. 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."
  51273. msgstr ""
  51274. #. type: cindex
  51275. #: guix-git/doc/guix.texi:34439
  51276. #, no-wrap
  51277. msgid "Audit"
  51278. msgstr ""
  51279. #. type: subsubheading
  51280. #: guix-git/doc/guix.texi:34440
  51281. #, no-wrap
  51282. msgid "Auditd Service"
  51283. msgstr ""
  51284. #. type: Plain text
  51285. #: guix-git/doc/guix.texi:34443
  51286. msgid "The @code{(gnu services auditd)} module provides the following service."
  51287. msgstr ""
  51288. #. type: defvr
  51289. #: guix-git/doc/guix.texi:34444
  51290. #, no-wrap
  51291. msgid "{Scheme Variable} auditd-service-type"
  51292. msgstr ""
  51293. #. type: defvr
  51294. #: guix-git/doc/guix.texi:34449
  51295. 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."
  51296. msgstr ""
  51297. #. type: defvr
  51298. #: guix-git/doc/guix.texi:34451
  51299. msgid "Examples of things that can be tracked:"
  51300. msgstr ""
  51301. #. type: enumerate
  51302. #: guix-git/doc/guix.texi:34455
  51303. msgid "File accesses"
  51304. msgstr ""
  51305. #. type: enumerate
  51306. #: guix-git/doc/guix.texi:34457
  51307. msgid "System calls"
  51308. msgstr ""
  51309. #. type: enumerate
  51310. #: guix-git/doc/guix.texi:34459
  51311. msgid "Invoked commands"
  51312. msgstr ""
  51313. #. type: enumerate
  51314. #: guix-git/doc/guix.texi:34461
  51315. msgid "Failed login attempts"
  51316. msgstr ""
  51317. #. type: enumerate
  51318. #: guix-git/doc/guix.texi:34463
  51319. msgid "Firewall filtering"
  51320. msgstr ""
  51321. #. type: enumerate
  51322. #: guix-git/doc/guix.texi:34465
  51323. msgid "Network access"
  51324. msgstr ""
  51325. #. type: defvr
  51326. #: guix-git/doc/guix.texi:34476
  51327. 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}."
  51328. msgstr ""
  51329. #. type: deftp
  51330. #: guix-git/doc/guix.texi:34479
  51331. #, no-wrap
  51332. msgid "{Data Type} auditd-configuration"
  51333. msgstr ""
  51334. #. type: deftp
  51335. #: guix-git/doc/guix.texi:34481
  51336. msgid "This is the data type representing the configuration of auditd."
  51337. msgstr ""
  51338. #. type: item
  51339. #: guix-git/doc/guix.texi:34484
  51340. #, no-wrap
  51341. msgid "@code{audit} (default: @code{audit})"
  51342. msgstr ""
  51343. #. type: table
  51344. #: guix-git/doc/guix.texi:34486
  51345. msgid "The audit package to use."
  51346. msgstr ""
  51347. #. type: item
  51348. #: guix-git/doc/guix.texi:34487
  51349. #, no-wrap
  51350. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  51351. msgstr ""
  51352. #. type: table
  51353. #: guix-git/doc/guix.texi:34491
  51354. 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."
  51355. msgstr ""
  51356. #. type: cindex
  51357. #: guix-git/doc/guix.texi:34495
  51358. #, no-wrap
  51359. msgid "rshiny"
  51360. msgstr ""
  51361. #. type: subsubheading
  51362. #: guix-git/doc/guix.texi:34496
  51363. #, no-wrap
  51364. msgid "R-Shiny service"
  51365. msgstr ""
  51366. #. type: Plain text
  51367. #: guix-git/doc/guix.texi:34499
  51368. msgid "The @code{(gnu services science)} module provides the following service."
  51369. msgstr ""
  51370. #. type: defvr
  51371. #: guix-git/doc/guix.texi:34500
  51372. #, no-wrap
  51373. msgid "{Scheme Variable} rshiny-service-type"
  51374. msgstr ""
  51375. #. type: defvr
  51376. #: guix-git/doc/guix.texi:34505
  51377. 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}."
  51378. msgstr ""
  51379. #. type: deftp
  51380. #: guix-git/doc/guix.texi:34506
  51381. #, no-wrap
  51382. msgid "{Data Type} rshiny-configuration"
  51383. msgstr ""
  51384. #. type: deftp
  51385. #: guix-git/doc/guix.texi:34508
  51386. msgid "This is the data type representing the configuration of rshiny."
  51387. msgstr ""
  51388. #. type: item
  51389. #: guix-git/doc/guix.texi:34511
  51390. #, no-wrap
  51391. msgid "@code{package} (default: @code{r-shiny})"
  51392. msgstr ""
  51393. #. type: table
  51394. #: guix-git/doc/guix.texi:34513
  51395. msgid "The package to use."
  51396. msgstr ""
  51397. #. type: item
  51398. #: guix-git/doc/guix.texi:34514
  51399. #, no-wrap
  51400. msgid "@code{binary} (defaunlt @code{\"rshiny\"})"
  51401. msgstr ""
  51402. #. type: table
  51403. #: guix-git/doc/guix.texi:34517
  51404. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  51405. msgstr ""
  51406. #. type: table
  51407. #: guix-git/doc/guix.texi:34519
  51408. msgid "The common way to create this file is as follows:"
  51409. msgstr ""
  51410. #. type: lisp
  51411. #: guix-git/doc/guix.texi:34536
  51412. #, no-wrap
  51413. msgid ""
  51414. "@dots{}\n"
  51415. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  51416. " (targetdir (string-append out \"/share/\" ,name))\n"
  51417. " (app (string-append out \"/bin/\" ,name))\n"
  51418. " (Rbin (search-input-file %build-inputs \"/bin/Rscript\")))\n"
  51419. " ;; @dots{}\n"
  51420. " (mkdir-p (string-append out \"/bin\"))\n"
  51421. " (call-with-output-file app\n"
  51422. " (lambda (port)\n"
  51423. " (format port\n"
  51424. "\"#!~a\n"
  51425. "library(shiny)\n"
  51426. "setwd(\\\"~a\\\")\n"
  51427. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  51428. " Rbin targetdir))))\n"
  51429. msgstr ""
  51430. #. type: cindex
  51431. #: guix-git/doc/guix.texi:34542
  51432. #, no-wrap
  51433. msgid "Nix"
  51434. msgstr ""
  51435. #. type: subsubheading
  51436. #: guix-git/doc/guix.texi:34543
  51437. #, no-wrap
  51438. msgid "Nix service"
  51439. msgstr ""
  51440. #. type: Plain text
  51441. #: guix-git/doc/guix.texi:34546
  51442. msgid "The @code{(gnu services nix)} module provides the following service."
  51443. msgstr ""
  51444. #. type: defvr
  51445. #: guix-git/doc/guix.texi:34547
  51446. #, no-wrap
  51447. msgid "{Scheme Variable} nix-service-type"
  51448. msgstr ""
  51449. #. type: defvr
  51450. #: guix-git/doc/guix.texi:34552
  51451. 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:"
  51452. msgstr ""
  51453. #. type: lisp
  51454. #: guix-git/doc/guix.texi:34557
  51455. #, no-wrap
  51456. msgid ""
  51457. "(use-modules (gnu))\n"
  51458. "(use-service-modules nix)\n"
  51459. "(use-package-modules package-management)\n"
  51460. "\n"
  51461. msgstr ""
  51462. #. type: lisp
  51463. #: guix-git/doc/guix.texi:34562
  51464. #, no-wrap
  51465. msgid ""
  51466. "(operating-system\n"
  51467. " ;; @dots{}\n"
  51468. " (packages (append (list nix)\n"
  51469. " %base-packages))\n"
  51470. "\n"
  51471. msgstr ""
  51472. #. type: lisp
  51473. #: guix-git/doc/guix.texi:34565
  51474. #, no-wrap
  51475. msgid ""
  51476. " (services (append (list (service nix-service-type))\n"
  51477. " %base-services)))\n"
  51478. msgstr ""
  51479. #. type: defvr
  51480. #: guix-git/doc/guix.texi:34568
  51481. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  51482. msgstr ""
  51483. #. type: item
  51484. #: guix-git/doc/guix.texi:34570
  51485. #, no-wrap
  51486. msgid "Add a Nix channel and update it. See"
  51487. msgstr ""
  51488. #. type: itemize
  51489. #: guix-git/doc/guix.texi:34572
  51490. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  51491. msgstr ""
  51492. #. type: item
  51493. #: guix-git/doc/guix.texi:34573
  51494. #, no-wrap
  51495. msgid "Create a symlink to your profile and activate Nix profile:"
  51496. msgstr ""
  51497. #. type: example
  51498. #: guix-git/doc/guix.texi:34579
  51499. #, no-wrap
  51500. msgid ""
  51501. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  51502. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  51503. msgstr ""
  51504. #. type: deftp
  51505. #: guix-git/doc/guix.texi:34583
  51506. #, no-wrap
  51507. msgid "{Data Type} nix-configuration"
  51508. msgstr ""
  51509. #. type: deftp
  51510. #: guix-git/doc/guix.texi:34585
  51511. msgid "This data type represents the configuration of the Nix daemon."
  51512. msgstr ""
  51513. #. type: item
  51514. #: guix-git/doc/guix.texi:34587
  51515. #, no-wrap
  51516. msgid "@code{nix} (default: @code{nix})"
  51517. msgstr ""
  51518. #. type: table
  51519. #: guix-git/doc/guix.texi:34589
  51520. msgid "The Nix package to use."
  51521. msgstr ""
  51522. #. type: item
  51523. #: guix-git/doc/guix.texi:34590
  51524. #, no-wrap
  51525. msgid "@code{sandbox} (default: @code{#t})"
  51526. msgstr ""
  51527. #. type: table
  51528. #: guix-git/doc/guix.texi:34592
  51529. msgid "Specifies whether builds are sandboxed by default."
  51530. msgstr ""
  51531. #. type: item
  51532. #: guix-git/doc/guix.texi:34593
  51533. #, no-wrap
  51534. msgid "@code{build-sandbox-items} (default: @code{'()})"
  51535. msgstr ""
  51536. #. type: table
  51537. #: guix-git/doc/guix.texi:34596
  51538. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  51539. msgstr ""
  51540. #. type: table
  51541. #: guix-git/doc/guix.texi:34604
  51542. msgid "Extra command line options for @code{nix-service-type}."
  51543. msgstr ""
  51544. #. type: cindex
  51545. #: guix-git/doc/guix.texi:34610
  51546. #, no-wrap
  51547. msgid "setuid programs"
  51548. msgstr ""
  51549. #. type: Plain text
  51550. #: guix-git/doc/guix.texi:34620
  51551. msgid "Some programs need to run with ``root'' 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, these executables are @dfn{setuid-root}, meaning that they always run with root privileges (@pxref{How Change Persona,,, libc, The GNU C Library Reference Manual}, for more info about the setuid mechanism)."
  51552. msgstr ""
  51553. #. type: Plain text
  51554. #: guix-git/doc/guix.texi:34627
  51555. 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 bit directly on files that are in the store, we let the system administrator @emph{declare} which programs should be setuid root."
  51556. msgstr ""
  51557. #. type: Plain text
  51558. #: guix-git/doc/guix.texi:34634
  51559. 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:"
  51560. msgstr ""
  51561. #. type: lisp
  51562. #: guix-git/doc/guix.texi:34638
  51563. #, no-wrap
  51564. msgid ""
  51565. "(setuid-program\n"
  51566. " (program (file-append nfs-utils \"/sbin/mount.nfs\")))\n"
  51567. msgstr ""
  51568. #. type: Plain text
  51569. #: guix-git/doc/guix.texi:34643
  51570. 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:"
  51571. msgstr ""
  51572. #. type: lisp
  51573. #: guix-git/doc/guix.texi:34651
  51574. #, no-wrap
  51575. msgid ""
  51576. "(operating-system\n"
  51577. " ;; Some fields omitted...\n"
  51578. " (setuid-programs\n"
  51579. " (append (list (setuid-program\n"
  51580. " (program (file-append nfs-utils \"/sbin/mount.nfs\"))))\n"
  51581. " %setuid-programs)))\n"
  51582. msgstr ""
  51583. #. type: deftp
  51584. #: guix-git/doc/guix.texi:34653
  51585. #, fuzzy, no-wrap
  51586. #| msgid "{Data Type} build-machine"
  51587. msgid "{Data Type} setuid-program"
  51588. msgstr "build-machine {Data Type}"
  51589. #. type: deftp
  51590. #: guix-git/doc/guix.texi:34655
  51591. msgid "This data type represents a program with a setuid or setgid bit set."
  51592. msgstr ""
  51593. #. type: code{#1}
  51594. #: guix-git/doc/guix.texi:34657
  51595. #, no-wrap
  51596. msgid "program"
  51597. msgstr ""
  51598. #. type: table
  51599. #: guix-git/doc/guix.texi:34659
  51600. msgid "A file-like object having its setuid and/or setgid bit set."
  51601. msgstr ""
  51602. #. type: item
  51603. #: guix-git/doc/guix.texi:34660
  51604. #, fuzzy, no-wrap
  51605. #| msgid "@code{shared?} (default: @code{#t})"
  51606. msgid "@code{setuid?} (default: @code{#t})"
  51607. msgstr "@code{shared?} (padrão: @code{#t})"
  51608. #. type: table
  51609. #: guix-git/doc/guix.texi:34662
  51610. msgid "Whether to set user setuid bit."
  51611. msgstr ""
  51612. #. type: item
  51613. #: guix-git/doc/guix.texi:34663
  51614. #, fuzzy, no-wrap
  51615. #| msgid "@code{id} (default: @code{#f})"
  51616. msgid "@code{setgid?} (default: @code{#f})"
  51617. msgstr "@code{id} (default: @code{#f})"
  51618. #. type: table
  51619. #: guix-git/doc/guix.texi:34665
  51620. msgid "Whether to set group setgid bit."
  51621. msgstr ""
  51622. #. type: item
  51623. #: guix-git/doc/guix.texi:34666
  51624. #, fuzzy, no-wrap
  51625. #| msgid "@code{users} (default: @code{#f})"
  51626. msgid "@code{user} (default: @code{0})"
  51627. msgstr "@code{users} (default: @code{#f})"
  51628. #. type: table
  51629. #: guix-git/doc/guix.texi:34669
  51630. msgid "UID (integer) or user name (string) for the user owner of the program, defaults to root."
  51631. msgstr ""
  51632. #. type: item
  51633. #: guix-git/doc/guix.texi:34670
  51634. #, fuzzy, no-wrap
  51635. #| msgid "@code{hangup?} (default: @code{#f})"
  51636. msgid "@code{group} (default: @code{0})"
  51637. msgstr "@code{hangup?} (padrão: @code{#f})"
  51638. #. type: table
  51639. #: guix-git/doc/guix.texi:34673
  51640. msgid "GID (integer) goup name (string) for the group owner of the program, defaults to root."
  51641. msgstr ""
  51642. #. type: Plain text
  51643. #: guix-git/doc/guix.texi:34679
  51644. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  51645. msgstr ""
  51646. #. type: defvr
  51647. #: guix-git/doc/guix.texi:34680
  51648. #, no-wrap
  51649. msgid "{Scheme Variable} %setuid-programs"
  51650. msgstr ""
  51651. #. type: defvr
  51652. #: guix-git/doc/guix.texi:34683
  51653. msgid "A list of @code{<setuid-program>} denoting common programs that are setuid-root."
  51654. msgstr ""
  51655. #. type: defvr
  51656. #: guix-git/doc/guix.texi:34686
  51657. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  51658. msgstr ""
  51659. #. type: Plain text
  51660. #: guix-git/doc/guix.texi:34692
  51661. 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."
  51662. msgstr ""
  51663. #. type: cindex
  51664. #: guix-git/doc/guix.texi:34696
  51665. #, no-wrap
  51666. msgid "HTTPS, certificates"
  51667. msgstr ""
  51668. #. type: cindex
  51669. #: guix-git/doc/guix.texi:34697
  51670. #, no-wrap
  51671. msgid "X.509 certificates"
  51672. msgstr "Certificados X.509"
  51673. #. type: cindex
  51674. #: guix-git/doc/guix.texi:34698
  51675. #, no-wrap
  51676. msgid "TLS"
  51677. msgstr ""
  51678. #. type: Plain text
  51679. #: guix-git/doc/guix.texi:34705
  51680. 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."
  51681. msgstr ""
  51682. #. type: Plain text
  51683. #: guix-git/doc/guix.texi:34709
  51684. 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."
  51685. msgstr ""
  51686. #. type: Plain text
  51687. #: guix-git/doc/guix.texi:34713
  51688. 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."
  51689. msgstr ""
  51690. #. type: Plain text
  51691. #: guix-git/doc/guix.texi:34720
  51692. msgid "In Guix, 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."
  51693. msgstr ""
  51694. #. type: Plain text
  51695. #: guix-git/doc/guix.texi:34725
  51696. 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."
  51697. msgstr ""
  51698. #. type: Plain text
  51699. #: guix-git/doc/guix.texi:34735
  51700. 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:"
  51701. msgstr ""
  51702. #. type: example
  51703. #: guix-git/doc/guix.texi:34741
  51704. #, no-wrap
  51705. msgid ""
  51706. "guix install nss-certs\n"
  51707. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  51708. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  51709. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  51710. msgstr ""
  51711. #. type: Plain text
  51712. #: guix-git/doc/guix.texi:34746
  51713. 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:"
  51714. msgstr ""
  51715. #. type: example
  51716. #: guix-git/doc/guix.texi:34750
  51717. #, no-wrap
  51718. msgid ""
  51719. "guix install nss-certs\n"
  51720. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  51721. msgstr ""
  51722. #. type: Plain text
  51723. #: guix-git/doc/guix.texi:34754
  51724. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  51725. msgstr ""
  51726. #. type: cindex
  51727. #: guix-git/doc/guix.texi:34759
  51728. #, no-wrap
  51729. msgid "name service switch"
  51730. msgstr ""
  51731. #. type: cindex
  51732. #: guix-git/doc/guix.texi:34760
  51733. #, no-wrap
  51734. msgid "NSS"
  51735. msgstr ""
  51736. #. type: Plain text
  51737. #: guix-git/doc/guix.texi:34769
  51738. 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})."
  51739. msgstr ""
  51740. #. type: Plain text
  51741. #: guix-git/doc/guix.texi:34776
  51742. 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}})."
  51743. msgstr ""
  51744. #. type: cindex
  51745. #: guix-git/doc/guix.texi:34777
  51746. #, no-wrap
  51747. msgid "nss-mdns"
  51748. msgstr ""
  51749. #. type: cindex
  51750. #: guix-git/doc/guix.texi:34778
  51751. #, no-wrap
  51752. msgid ".local, host name lookup"
  51753. msgstr ""
  51754. #. type: Plain text
  51755. #: guix-git/doc/guix.texi:34783
  51756. 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}:"
  51757. msgstr ""
  51758. #. type: lisp
  51759. #: guix-git/doc/guix.texi:34787
  51760. #, no-wrap
  51761. msgid ""
  51762. "(name-service-switch\n"
  51763. " (hosts (list %files ;first, check /etc/hosts\n"
  51764. "\n"
  51765. msgstr ""
  51766. #. type: lisp
  51767. #: guix-git/doc/guix.texi:34792
  51768. #, no-wrap
  51769. msgid ""
  51770. " ;; If the above did not succeed, try\n"
  51771. " ;; with 'mdns_minimal'.\n"
  51772. " (name-service\n"
  51773. " (name \"mdns_minimal\")\n"
  51774. "\n"
  51775. msgstr ""
  51776. #. type: lisp
  51777. #: guix-git/doc/guix.texi:34798
  51778. #, no-wrap
  51779. msgid ""
  51780. " ;; 'mdns_minimal' is authoritative for\n"
  51781. " ;; '.local'. When it returns \"not found\",\n"
  51782. " ;; no need to try the next methods.\n"
  51783. " (reaction (lookup-specification\n"
  51784. " (not-found => return))))\n"
  51785. "\n"
  51786. msgstr ""
  51787. #. type: lisp
  51788. #: guix-git/doc/guix.texi:34802
  51789. #, no-wrap
  51790. msgid ""
  51791. " ;; Then fall back to DNS.\n"
  51792. " (name-service\n"
  51793. " (name \"dns\"))\n"
  51794. "\n"
  51795. msgstr ""
  51796. #. type: lisp
  51797. #: guix-git/doc/guix.texi:34806
  51798. #, no-wrap
  51799. msgid ""
  51800. " ;; Finally, try with the \"full\" 'mdns'.\n"
  51801. " (name-service\n"
  51802. " (name \"mdns\")))))\n"
  51803. msgstr ""
  51804. #. type: Plain text
  51805. #: guix-git/doc/guix.texi:34811
  51806. 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."
  51807. msgstr ""
  51808. #. type: Plain text
  51809. #: guix-git/doc/guix.texi:34819
  51810. 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}})."
  51811. msgstr ""
  51812. #. type: Plain text
  51813. #: guix-git/doc/guix.texi:34822
  51814. msgid "For convenience, the following variables provide typical NSS configurations."
  51815. msgstr ""
  51816. #. type: defvr
  51817. #: guix-git/doc/guix.texi:34823
  51818. #, no-wrap
  51819. msgid "{Scheme Variable} %default-nss"
  51820. msgstr ""
  51821. #. type: defvr
  51822. #: guix-git/doc/guix.texi:34826
  51823. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  51824. msgstr ""
  51825. #. type: defvr
  51826. #: guix-git/doc/guix.texi:34828
  51827. #, no-wrap
  51828. msgid "{Scheme Variable} %mdns-host-lookup-nss"
  51829. msgstr ""
  51830. #. type: defvr
  51831. #: guix-git/doc/guix.texi:34831
  51832. 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}."
  51833. msgstr ""
  51834. #. type: Plain text
  51835. #: guix-git/doc/guix.texi:34841
  51836. 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}."
  51837. msgstr ""
  51838. #. type: deftp
  51839. #: guix-git/doc/guix.texi:34842
  51840. #, no-wrap
  51841. msgid "{Data Type} name-service-switch"
  51842. msgstr ""
  51843. #. type: deftp
  51844. #: guix-git/doc/guix.texi:34847
  51845. 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."
  51846. msgstr ""
  51847. #. type: item
  51848. #: guix-git/doc/guix.texi:34849
  51849. #, no-wrap
  51850. msgid "aliases"
  51851. msgstr ""
  51852. #. type: itemx
  51853. #: guix-git/doc/guix.texi:34850
  51854. #, no-wrap
  51855. msgid "ethers"
  51856. msgstr ""
  51857. #. type: itemx
  51858. #: guix-git/doc/guix.texi:34852
  51859. #, no-wrap
  51860. msgid "gshadow"
  51861. msgstr ""
  51862. #. type: itemx
  51863. #: guix-git/doc/guix.texi:34853
  51864. #, no-wrap
  51865. msgid "hosts"
  51866. msgstr ""
  51867. #. type: itemx
  51868. #: guix-git/doc/guix.texi:34854
  51869. #, no-wrap
  51870. msgid "initgroups"
  51871. msgstr ""
  51872. #. type: itemx
  51873. #: guix-git/doc/guix.texi:34855
  51874. #, no-wrap
  51875. msgid "netgroup"
  51876. msgstr ""
  51877. #. type: itemx
  51878. #: guix-git/doc/guix.texi:34856
  51879. #, no-wrap
  51880. msgid "networks"
  51881. msgstr ""
  51882. #. type: itemx
  51883. #: guix-git/doc/guix.texi:34859
  51884. #, no-wrap
  51885. msgid "rpc"
  51886. msgstr ""
  51887. #. type: itemx
  51888. #: guix-git/doc/guix.texi:34861
  51889. #, no-wrap
  51890. msgid "shadow"
  51891. msgstr ""
  51892. #. type: table
  51893. #: guix-git/doc/guix.texi:34864
  51894. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  51895. msgstr ""
  51896. #. type: deftp
  51897. #: guix-git/doc/guix.texi:34867
  51898. #, no-wrap
  51899. msgid "{Data Type} name-service"
  51900. msgstr ""
  51901. #. type: deftp
  51902. #: guix-git/doc/guix.texi:34871
  51903. msgid "This is the data type representing an actual name service and the associated lookup action."
  51904. msgstr ""
  51905. #. type: table
  51906. #: guix-git/doc/guix.texi:34876
  51907. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  51908. msgstr ""
  51909. #. type: table
  51910. #: guix-git/doc/guix.texi:34881
  51911. 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}})."
  51912. msgstr ""
  51913. #. type: item
  51914. #: guix-git/doc/guix.texi:34882
  51915. #, no-wrap
  51916. msgid "reaction"
  51917. msgstr ""
  51918. #. type: table
  51919. #: guix-git/doc/guix.texi:34886
  51920. 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:"
  51921. msgstr ""
  51922. #. type: lisp
  51923. #: guix-git/doc/guix.texi:34890
  51924. #, no-wrap
  51925. msgid ""
  51926. "(lookup-specification (unavailable => continue)\n"
  51927. " (success => return))\n"
  51928. msgstr ""
  51929. #. type: Plain text
  51930. #: guix-git/doc/guix.texi:34904
  51931. 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."
  51932. msgstr ""
  51933. #. type: Plain text
  51934. #: guix-git/doc/guix.texi:34913
  51935. 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:"
  51936. msgstr ""
  51937. #. type: lisp
  51938. #: guix-git/doc/guix.texi:34918
  51939. #, no-wrap
  51940. msgid ""
  51941. "(operating-system\n"
  51942. " ;; @dots{}\n"
  51943. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  51944. msgstr ""
  51945. #. type: defvr
  51946. #: guix-git/doc/guix.texi:34920
  51947. #, no-wrap
  51948. msgid "{Scheme Variable} %base-initrd-modules"
  51949. msgstr ""
  51950. #. type: defvr
  51951. #: guix-git/doc/guix.texi:34922
  51952. msgid "This is the list of kernel modules included in the initrd by default."
  51953. msgstr ""
  51954. #. type: Plain text
  51955. #: guix-git/doc/guix.texi:34930
  51956. 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."
  51957. msgstr ""
  51958. #. type: Plain text
  51959. #: guix-git/doc/guix.texi:34935
  51960. 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:"
  51961. msgstr ""
  51962. #. type: lisp
  51963. #: guix-git/doc/guix.texi:34943
  51964. #, no-wrap
  51965. msgid ""
  51966. "(initrd (lambda (file-systems . rest)\n"
  51967. " ;; Create a standard initrd but set up networking\n"
  51968. " ;; with the parameters QEMU expects by default.\n"
  51969. " (apply base-initrd file-systems\n"
  51970. " #:qemu-networking? #t\n"
  51971. " rest)))\n"
  51972. msgstr ""
  51973. #. type: Plain text
  51974. #: guix-git/doc/guix.texi:34948
  51975. 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."
  51976. msgstr ""
  51977. #. type: Plain text
  51978. #: guix-git/doc/guix.texi:34955
  51979. 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."
  51980. msgstr ""
  51981. #. type: Plain text
  51982. #: guix-git/doc/guix.texi:34960
  51983. 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:"
  51984. msgstr ""
  51985. #. type: item
  51986. #: guix-git/doc/guix.texi:34962
  51987. #, no-wrap
  51988. msgid "--load=@var{boot}"
  51989. msgstr ""
  51990. #. type: table
  51991. #: guix-git/doc/guix.texi:34965
  51992. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  51993. msgstr ""
  51994. #. type: table
  51995. #: guix-git/doc/guix.texi:34969
  51996. 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."
  51997. msgstr ""
  51998. #. type: item
  51999. #: guix-git/doc/guix.texi:34970
  52000. #, no-wrap
  52001. msgid "--root=@var{root}"
  52002. msgstr ""
  52003. #. type: table
  52004. #: guix-git/doc/guix.texi:34975
  52005. 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."
  52006. msgstr ""
  52007. #. type: item
  52008. #: guix-git/doc/guix.texi:34976
  52009. #, no-wrap
  52010. msgid "fsck.mode=@var{mode}"
  52011. msgstr ""
  52012. #. type: table
  52013. #: guix-git/doc/guix.texi:34982
  52014. 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 file-system object's 'check?' setting (@pxref{File Systems}) and run a full scan only if the file system was not cleanly shut down."
  52015. msgstr ""
  52016. #. type: table
  52017. #: guix-git/doc/guix.texi:34985
  52018. msgid "@code{auto} is the default if this option is not present or if @var{mode} is not one of the above."
  52019. msgstr ""
  52020. #. type: item
  52021. #: guix-git/doc/guix.texi:34986
  52022. #, no-wrap
  52023. msgid "fsck.repair=@var{level}"
  52024. msgstr ""
  52025. #. type: table
  52026. #: guix-git/doc/guix.texi:34991
  52027. 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."
  52028. msgstr ""
  52029. #. type: table
  52030. #: guix-git/doc/guix.texi:34994
  52031. msgid "@code{preen} is the default if this option is not present or if @var{level} is not one of the above."
  52032. msgstr ""
  52033. #. type: table
  52034. #: guix-git/doc/guix.texi:34998
  52035. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  52036. msgstr ""
  52037. #. type: item
  52038. #: guix-git/doc/guix.texi:34999
  52039. #, no-wrap
  52040. msgid "modprobe.blacklist=@var{modules}@dots{}"
  52041. msgstr ""
  52042. #. type: cindex
  52043. #: guix-git/doc/guix.texi:35000
  52044. #, no-wrap
  52045. msgid "module, black-listing"
  52046. msgstr ""
  52047. #. type: cindex
  52048. #: guix-git/doc/guix.texi:35001
  52049. #, no-wrap
  52050. msgid "black list, of kernel modules"
  52051. msgstr ""
  52052. #. type: table
  52053. #: guix-git/doc/guix.texi:35006
  52054. 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}."
  52055. msgstr ""
  52056. #. type: item
  52057. #: guix-git/doc/guix.texi:35007
  52058. #, no-wrap
  52059. msgid "--repl"
  52060. msgstr ""
  52061. #. type: table
  52062. #: guix-git/doc/guix.texi:35013
  52063. 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."
  52064. msgstr ""
  52065. #. type: Plain text
  52066. #: guix-git/doc/guix.texi:35019
  52067. 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."
  52068. msgstr ""
  52069. #. type: deffn
  52070. #: guix-git/doc/guix.texi:35022
  52071. #, no-wrap
  52072. msgid "{Scheme Procedure} raw-initrd @var{file-systems} @"
  52073. msgstr ""
  52074. #. type: deffn
  52075. #: guix-git/doc/guix.texi:35036
  52076. msgid "[#:linux-modules '()] [#: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{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."
  52077. msgstr ""
  52078. #. type: deffn
  52079. #: guix-git/doc/guix.texi:35042 guix-git/doc/guix.texi:35066
  52080. 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."
  52081. msgstr ""
  52082. #. type: deffn
  52083. #: guix-git/doc/guix.texi:35046
  52084. 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."
  52085. msgstr ""
  52086. #. type: deffn
  52087. #: guix-git/doc/guix.texi:35049
  52088. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  52089. msgstr ""
  52090. #. type: deffn
  52091. #: guix-git/doc/guix.texi:35051
  52092. #, no-wrap
  52093. msgid "{Scheme Procedure} base-initrd @var{file-systems} @"
  52094. msgstr ""
  52095. #. type: deffn
  52096. #: guix-git/doc/guix.texi:35060
  52097. 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."
  52098. msgstr ""
  52099. #. type: deffn
  52100. #: guix-git/doc/guix.texi:35068
  52101. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  52102. msgstr ""
  52103. #. type: deffn
  52104. #: guix-git/doc/guix.texi:35073
  52105. 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."
  52106. msgstr ""
  52107. #. type: Plain text
  52108. #: guix-git/doc/guix.texi:35080
  52109. 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."
  52110. msgstr ""
  52111. #. type: deffn
  52112. #: guix-git/doc/guix.texi:35081
  52113. #, no-wrap
  52114. msgid "{Scheme Procedure} expression->initrd @var{exp} @"
  52115. msgstr ""
  52116. #. type: deffn
  52117. #: guix-git/doc/guix.texi:35087
  52118. 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."
  52119. msgstr ""
  52120. #. type: cindex
  52121. #: guix-git/doc/guix.texi:35093
  52122. #, no-wrap
  52123. msgid "boot loader"
  52124. msgstr ""
  52125. #. type: Plain text
  52126. #: guix-git/doc/guix.texi:35100
  52127. 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."
  52128. msgstr ""
  52129. #. type: Plain text
  52130. #: guix-git/doc/guix.texi:35105
  52131. 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."
  52132. msgstr ""
  52133. #. type: deftp
  52134. #: guix-git/doc/guix.texi:35106
  52135. #, no-wrap
  52136. msgid "{Data Type} bootloader-configuration"
  52137. msgstr ""
  52138. #. type: deftp
  52139. #: guix-git/doc/guix.texi:35108
  52140. msgid "The type of a bootloader configuration declaration."
  52141. msgstr ""
  52142. #. type: cindex
  52143. #: guix-git/doc/guix.texi:35112
  52144. #, no-wrap
  52145. msgid "EFI, bootloader"
  52146. msgstr ""
  52147. #. type: cindex
  52148. #: guix-git/doc/guix.texi:35113
  52149. #, no-wrap
  52150. msgid "UEFI, bootloader"
  52151. msgstr ""
  52152. #. type: cindex
  52153. #: guix-git/doc/guix.texi:35114
  52154. #, no-wrap
  52155. msgid "BIOS, bootloader"
  52156. msgstr ""
  52157. #. type: table
  52158. #: guix-git/doc/guix.texi:35119
  52159. msgid "The bootloader to use, as a @code{bootloader} object. For now @code{grub-bootloader}, @code{grub-efi-bootloader}, @code{grub-efi-netboot-bootloader}, @code{extlinux-bootloader} and @code{u-boot-bootloader} are supported."
  52160. msgstr ""
  52161. #. type: cindex
  52162. #: guix-git/doc/guix.texi:35120
  52163. #, no-wrap
  52164. msgid "ARM, bootloaders"
  52165. msgstr ""
  52166. #. type: cindex
  52167. #: guix-git/doc/guix.texi:35121
  52168. #, no-wrap
  52169. msgid "AArch64, bootloaders"
  52170. msgstr ""
  52171. #. type: table
  52172. #: guix-git/doc/guix.texi:35126
  52173. 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}."
  52174. msgstr ""
  52175. #. type: table
  52176. #: guix-git/doc/guix.texi:35132
  52177. 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."
  52178. msgstr ""
  52179. #. type: table
  52180. #: guix-git/doc/guix.texi:35136
  52181. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  52182. msgstr ""
  52183. #. type: vindex
  52184. #: guix-git/doc/guix.texi:35137
  52185. #, no-wrap
  52186. msgid "grub-efi-netboot-bootloader"
  52187. msgstr ""
  52188. #. type: table
  52189. #: guix-git/doc/guix.texi:35141
  52190. 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."
  52191. msgstr ""
  52192. #. type: table
  52193. #: guix-git/doc/guix.texi:35147
  52194. 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}}), 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."
  52195. msgstr ""
  52196. #. type: table
  52197. #: guix-git/doc/guix.texi:35156
  52198. 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}."
  52199. msgstr ""
  52200. #. type: table
  52201. #: guix-git/doc/guix.texi:35165
  52202. 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."
  52203. msgstr ""
  52204. #. type: table
  52205. #: guix-git/doc/guix.texi:35171
  52206. 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."
  52207. msgstr ""
  52208. #. type: table
  52209. #: guix-git/doc/guix.texi:35176
  52210. 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 to your @code{targets}."
  52211. msgstr ""
  52212. #. type: table
  52213. #: guix-git/doc/guix.texi:35181
  52214. 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."
  52215. msgstr ""
  52216. #. type: table
  52217. #: guix-git/doc/guix.texi:35186
  52218. 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}."
  52219. msgstr ""
  52220. #. type: table
  52221. #: guix-git/doc/guix.texi:35190
  52222. msgid "This is a list of strings denoting the targets onto which to install the bootloader."
  52223. msgstr ""
  52224. #. type: table
  52225. #: guix-git/doc/guix.texi:35200
  52226. 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}, 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."
  52227. msgstr ""
  52228. #. type: item
  52229. #: guix-git/doc/guix.texi:35201
  52230. #, no-wrap
  52231. msgid "@code{menu-entries} (default: @code{()})"
  52232. msgstr ""
  52233. #. type: table
  52234. #: guix-git/doc/guix.texi:35205
  52235. 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."
  52236. msgstr ""
  52237. #. type: item
  52238. #: guix-git/doc/guix.texi:35206
  52239. #, no-wrap
  52240. msgid "@code{default-entry} (default: @code{0})"
  52241. msgstr ""
  52242. #. type: table
  52243. #: guix-git/doc/guix.texi:35209
  52244. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  52245. msgstr ""
  52246. #. type: item
  52247. #: guix-git/doc/guix.texi:35210
  52248. #, no-wrap
  52249. msgid "@code{timeout} (default: @code{5})"
  52250. msgstr ""
  52251. #. type: table
  52252. #: guix-git/doc/guix.texi:35213
  52253. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  52254. msgstr ""
  52255. #. type: cindex
  52256. #: guix-git/doc/guix.texi:35214
  52257. #, no-wrap
  52258. msgid "keyboard layout, for the bootloader"
  52259. msgstr "disposição do teclado, para o gerenciador de boot"
  52260. #. type: table
  52261. #: guix-git/doc/guix.texi:35218
  52262. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  52263. msgstr ""
  52264. #. type: table
  52265. #: guix-git/doc/guix.texi:35221
  52266. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  52267. msgstr ""
  52268. #. type: quotation
  52269. #: guix-git/doc/guix.texi:35225
  52270. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  52271. msgstr ""
  52272. #. type: item
  52273. #: guix-git/doc/guix.texi:35227
  52274. #, no-wrap
  52275. msgid "@code{theme} (default: @var{#f})"
  52276. msgstr ""
  52277. #. type: table
  52278. #: guix-git/doc/guix.texi:35231
  52279. 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."
  52280. msgstr ""
  52281. #. type: item
  52282. #: guix-git/doc/guix.texi:35232
  52283. #, no-wrap
  52284. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  52285. msgstr ""
  52286. #. type: table
  52287. #: guix-git/doc/guix.texi:35239
  52288. 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})."
  52289. msgstr ""
  52290. #. type: item
  52291. #: guix-git/doc/guix.texi:35240
  52292. #, no-wrap
  52293. msgid "@code{terminal-inputs} (default: @code{'()})"
  52294. msgstr ""
  52295. #. type: table
  52296. #: guix-git/doc/guix.texi:35248
  52297. 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})."
  52298. msgstr ""
  52299. #. type: item
  52300. #: guix-git/doc/guix.texi:35249
  52301. #, no-wrap
  52302. msgid "@code{serial-unit} (default: @code{#f})"
  52303. msgstr ""
  52304. #. type: table
  52305. #: guix-git/doc/guix.texi:35253
  52306. 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})."
  52307. msgstr ""
  52308. #. type: item
  52309. #: guix-git/doc/guix.texi:35254
  52310. #, no-wrap
  52311. msgid "@code{serial-speed} (default: @code{#f})"
  52312. msgstr ""
  52313. #. type: table
  52314. #: guix-git/doc/guix.texi:35258
  52315. 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})."
  52316. msgstr ""
  52317. #. type: cindex
  52318. #: guix-git/doc/guix.texi:35262
  52319. #, no-wrap
  52320. msgid "dual boot"
  52321. msgstr ""
  52322. #. type: cindex
  52323. #: guix-git/doc/guix.texi:35263
  52324. #, no-wrap
  52325. msgid "boot menu"
  52326. msgstr ""
  52327. #. type: Plain text
  52328. #: guix-git/doc/guix.texi:35269
  52329. 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:"
  52330. msgstr ""
  52331. #. type: lisp
  52332. #: guix-git/doc/guix.texi:35276
  52333. #, no-wrap
  52334. msgid ""
  52335. "(menu-entry\n"
  52336. " (label \"The Other Distro\")\n"
  52337. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  52338. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  52339. " (initrd \"/boot/old/initrd\"))\n"
  52340. msgstr ""
  52341. #. type: Plain text
  52342. #: guix-git/doc/guix.texi:35279
  52343. msgid "Details below."
  52344. msgstr ""
  52345. #. type: deftp
  52346. #: guix-git/doc/guix.texi:35280
  52347. #, no-wrap
  52348. msgid "{Data Type} menu-entry"
  52349. msgstr ""
  52350. #. type: deftp
  52351. #: guix-git/doc/guix.texi:35282
  52352. msgid "The type of an entry in the bootloader menu."
  52353. msgstr ""
  52354. #. type: table
  52355. #: guix-git/doc/guix.texi:35287
  52356. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  52357. msgstr ""
  52358. #. type: item
  52359. #: guix-git/doc/guix.texi:35288
  52360. #, no-wrap
  52361. msgid "@code{linux} (default: @code{#f})"
  52362. msgstr ""
  52363. #. type: table
  52364. #: guix-git/doc/guix.texi:35290
  52365. msgid "The Linux kernel image to boot, for example:"
  52366. msgstr ""
  52367. #. type: lisp
  52368. #: guix-git/doc/guix.texi:35293
  52369. #, no-wrap
  52370. msgid "(file-append linux-libre \"/bzImage\")\n"
  52371. msgstr ""
  52372. #. type: table
  52373. #: guix-git/doc/guix.texi:35298
  52374. 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:"
  52375. msgstr ""
  52376. #. type: example
  52377. #: guix-git/doc/guix.texi:35301
  52378. #, no-wrap
  52379. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  52380. msgstr ""
  52381. #. type: table
  52382. #: guix-git/doc/guix.texi:35305
  52383. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  52384. msgstr ""
  52385. #. type: item
  52386. #: guix-git/doc/guix.texi:35306
  52387. #, no-wrap
  52388. msgid "@code{linux-arguments} (default: @code{()})"
  52389. msgstr ""
  52390. #. type: table
  52391. #: guix-git/doc/guix.texi:35309
  52392. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}."
  52393. msgstr ""
  52394. #. type: item
  52395. #: guix-git/doc/guix.texi:35310
  52396. #, no-wrap
  52397. msgid "@code{initrd} (default: @code{#f})"
  52398. msgstr ""
  52399. #. type: table
  52400. #: guix-git/doc/guix.texi:35313
  52401. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  52402. msgstr ""
  52403. #. type: table
  52404. #: guix-git/doc/guix.texi:35317
  52405. 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})."
  52406. msgstr ""
  52407. #. type: table
  52408. #: guix-git/doc/guix.texi:35323
  52409. 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}."
  52410. msgstr ""
  52411. #. type: item
  52412. #: guix-git/doc/guix.texi:35324
  52413. #, no-wrap
  52414. msgid "@code{multiboot-kernel} (default: @code{#f})"
  52415. msgstr ""
  52416. #. type: table
  52417. #: guix-git/doc/guix.texi:35328
  52418. 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:"
  52419. msgstr ""
  52420. #. type: lisp
  52421. #: guix-git/doc/guix.texi:35331
  52422. #, no-wrap
  52423. msgid "(file-append mach \"/boot/gnumach\")\n"
  52424. msgstr ""
  52425. #. type: item
  52426. #: guix-git/doc/guix.texi:35333
  52427. #, no-wrap
  52428. msgid "@code{multiboot-arguments} (default: @code{()})"
  52429. msgstr ""
  52430. #. type: table
  52431. #: guix-git/doc/guix.texi:35335
  52432. msgid "The list of extra command-line arguments for the multiboot-kernel."
  52433. msgstr ""
  52434. #. type: item
  52435. #: guix-git/doc/guix.texi:35336
  52436. #, no-wrap
  52437. msgid "@code{multiboot-modules} (default: @code{()})"
  52438. msgstr ""
  52439. #. type: table
  52440. #: guix-git/doc/guix.texi:35338
  52441. msgid "The list of commands for loading Multiboot modules. For example:"
  52442. msgstr ""
  52443. #. type: lisp
  52444. #: guix-git/doc/guix.texi:35344
  52445. #, no-wrap
  52446. msgid ""
  52447. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  52448. " @dots{})\n"
  52449. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  52450. " @dots{}))\n"
  52451. msgstr ""
  52452. #. type: cindex
  52453. #: guix-git/doc/guix.texi:35349 guix-git/doc/guix.texi:35408
  52454. #, no-wrap
  52455. msgid "HDPI"
  52456. msgstr ""
  52457. #. type: cindex
  52458. #: guix-git/doc/guix.texi:35350 guix-git/doc/guix.texi:35409
  52459. #, no-wrap
  52460. msgid "HiDPI"
  52461. msgstr ""
  52462. #. type: cindex
  52463. #: guix-git/doc/guix.texi:35351 guix-git/doc/guix.texi:35410
  52464. #, no-wrap
  52465. msgid "resolution"
  52466. msgstr ""
  52467. #. type: Plain text
  52468. #: guix-git/doc/guix.texi:35355
  52469. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  52470. msgstr ""
  52471. #. type: deftp
  52472. #: guix-git/doc/guix.texi:35356
  52473. #, no-wrap
  52474. msgid "{Data Type} grub-theme"
  52475. msgstr ""
  52476. #. type: deftp
  52477. #: guix-git/doc/guix.texi:35358
  52478. msgid "Data type representing the configuration of the GRUB theme."
  52479. msgstr ""
  52480. #. type: item
  52481. #: guix-git/doc/guix.texi:35360
  52482. #, no-wrap
  52483. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  52484. msgstr ""
  52485. #. type: table
  52486. #: guix-git/doc/guix.texi:35363
  52487. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  52488. msgstr ""
  52489. #. type: deffn
  52490. #: guix-git/doc/guix.texi:35366
  52491. #, no-wrap
  52492. msgid "{Scheme Procedure} grub-theme"
  52493. msgstr ""
  52494. #. type: deffn
  52495. #: guix-git/doc/guix.texi:35370
  52496. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  52497. msgstr ""
  52498. #. type: deffn
  52499. #: guix-git/doc/guix.texi:35373
  52500. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  52501. msgstr ""
  52502. #. type: Plain text
  52503. #: guix-git/doc/guix.texi:35377
  52504. msgid "For example, to override the default resolution, you may use something like"
  52505. msgstr ""
  52506. #. type: lisp
  52507. #: guix-git/doc/guix.texi:35385
  52508. #, no-wrap
  52509. msgid ""
  52510. "(bootloader\n"
  52511. " (bootloader-configuration\n"
  52512. " ;; @dots{}\n"
  52513. " (theme (grub-theme\n"
  52514. " (inherit (grub-theme))\n"
  52515. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  52516. msgstr ""
  52517. #. type: section
  52518. #: guix-git/doc/guix.texi:35388
  52519. #, no-wrap
  52520. msgid "Invoking @code{guix system}"
  52521. msgstr "Invocando @code{guix system}"
  52522. #. type: Plain text
  52523. #: guix-git/doc/guix.texi:35393
  52524. 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:"
  52525. msgstr ""
  52526. #. type: example
  52527. #: guix-git/doc/guix.texi:35396
  52528. #, no-wrap
  52529. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  52530. msgstr ""
  52531. #. type: Plain text
  52532. #: guix-git/doc/guix.texi:35402
  52533. 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:"
  52534. msgstr ""
  52535. #. type: item
  52536. #: guix-git/doc/guix.texi:35404 guix-git/doc/guix.texi:38186
  52537. #, no-wrap
  52538. msgid "search"
  52539. msgstr "pesquisa"
  52540. #. type: table
  52541. #: guix-git/doc/guix.texi:35407
  52542. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  52543. msgstr ""
  52544. #. type: example
  52545. #: guix-git/doc/guix.texi:35429
  52546. #, no-wrap
  52547. msgid ""
  52548. "$ guix system search console\n"
  52549. "name: console-fonts\n"
  52550. "location: gnu/services/base.scm:806:2\n"
  52551. "extends: shepherd-root\n"
  52552. "description: Install the given fonts on the specified ttys (fonts are per\n"
  52553. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  52554. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  52555. "+ package or any valid argument to `setfont', as in this example:\n"
  52556. "+\n"
  52557. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  52558. "+ (\"tty2\" . (file-append\n"
  52559. "+ font-tamzen\n"
  52560. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  52561. "+ (\"tty3\" . (file-append\n"
  52562. "+ font-terminus\n"
  52563. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  52564. "relevance: 9\n"
  52565. "\n"
  52566. msgstr ""
  52567. #. type: example
  52568. #: guix-git/doc/guix.texi:35435
  52569. #, no-wrap
  52570. msgid ""
  52571. "name: mingetty\n"
  52572. "location: gnu/services/base.scm:1190:2\n"
  52573. "extends: shepherd-root\n"
  52574. "description: Provide console login using the `mingetty' program.\n"
  52575. "relevance: 2\n"
  52576. "\n"
  52577. msgstr ""
  52578. #. type: example
  52579. #: guix-git/doc/guix.texi:35442
  52580. #, no-wrap
  52581. msgid ""
  52582. "name: login\n"
  52583. "location: gnu/services/base.scm:860:2\n"
  52584. "extends: pam\n"
  52585. "description: Provide a console log-in service as specified by its\n"
  52586. "+ configuration value, a `login-configuration' object.\n"
  52587. "relevance: 2\n"
  52588. "\n"
  52589. msgstr ""
  52590. #. type: example
  52591. #: guix-git/doc/guix.texi:35444 guix-git/doc/guix.texi:38222
  52592. #, no-wrap
  52593. msgid "@dots{}\n"
  52594. msgstr ""
  52595. #. type: table
  52596. #: guix-git/doc/guix.texi:35449
  52597. 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})."
  52598. msgstr ""
  52599. #. type: item
  52600. #: guix-git/doc/guix.texi:35450 guix-git/doc/guix.texi:38228
  52601. #, no-wrap
  52602. msgid "reconfigure"
  52603. msgstr ""
  52604. #. type: table
  52605. #: guix-git/doc/guix.texi:35455
  52606. 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.}."
  52607. msgstr ""
  52608. #. type: quotation
  52609. #: guix-git/doc/guix.texi:35463
  52610. 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."
  52611. msgstr ""
  52612. #. type: table
  52613. #: guix-git/doc/guix.texi:35471
  52614. 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})."
  52615. msgstr ""
  52616. #. type: table
  52617. #: guix-git/doc/guix.texi:35477
  52618. 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})."
  52619. msgstr ""
  52620. #. type: table
  52621. #: guix-git/doc/guix.texi:35482
  52622. 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."
  52623. msgstr ""
  52624. #. type: cindex
  52625. #: guix-git/doc/guix.texi:35483 guix-git/doc/guix.texi:35819
  52626. #: guix-git/doc/guix.texi:36827
  52627. #, no-wrap
  52628. msgid "provenance tracking, of the operating system"
  52629. msgstr ""
  52630. #. type: table
  52631. #: guix-git/doc/guix.texi:35488
  52632. 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:"
  52633. msgstr ""
  52634. #. type: example
  52635. #: guix-git/doc/guix.texi:35491
  52636. #, no-wrap
  52637. msgid "guix system describe\n"
  52638. msgstr ""
  52639. #. type: table
  52640. #: guix-git/doc/guix.texi:35497
  52641. 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:"
  52642. msgstr ""
  52643. #. type: example
  52644. #: guix-git/doc/guix.texi:35503
  52645. #, no-wrap
  52646. msgid ""
  52647. "guix time-machine \\\n"
  52648. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  52649. " system reconfigure \\\n"
  52650. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  52651. msgstr ""
  52652. #. type: table
  52653. #: guix-git/doc/guix.texi:35509
  52654. 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."
  52655. msgstr ""
  52656. #. type: table
  52657. #: guix-git/doc/guix.texi:35515
  52658. 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}."
  52659. msgstr ""
  52660. #. type: item
  52661. #: guix-git/doc/guix.texi:35516 guix-git/doc/guix.texi:38287
  52662. #, no-wrap
  52663. msgid "switch-generation"
  52664. msgstr ""
  52665. #. type: table
  52666. #: guix-git/doc/guix.texi:35525
  52667. 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."
  52668. msgstr ""
  52669. #. type: table
  52670. #: guix-git/doc/guix.texi:35529
  52671. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  52672. msgstr ""
  52673. #. type: table
  52674. #: guix-git/doc/guix.texi:35533
  52675. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  52676. msgstr ""
  52677. #. type: example
  52678. #: guix-git/doc/guix.texi:35536
  52679. #, no-wrap
  52680. msgid "guix system switch-generation 7\n"
  52681. msgstr ""
  52682. #. type: table
  52683. #: guix-git/doc/guix.texi:35544 guix-git/doc/guix.texi:38306
  52684. 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:"
  52685. msgstr ""
  52686. #. type: example
  52687. #: guix-git/doc/guix.texi:35547
  52688. #, no-wrap
  52689. msgid "guix system switch-generation -- -1\n"
  52690. msgstr ""
  52691. #. type: table
  52692. #: guix-git/doc/guix.texi:35555
  52693. 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."
  52694. msgstr ""
  52695. #. type: table
  52696. #: guix-git/doc/guix.texi:35557 guix-git/doc/guix.texi:38312
  52697. msgid "This action will fail if the specified generation does not exist."
  52698. msgstr ""
  52699. #. type: item
  52700. #: guix-git/doc/guix.texi:35558 guix-git/doc/guix.texi:38313
  52701. #, no-wrap
  52702. msgid "roll-back"
  52703. msgstr ""
  52704. #. type: table
  52705. #: guix-git/doc/guix.texi:35564
  52706. 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}."
  52707. msgstr ""
  52708. #. type: table
  52709. #: guix-git/doc/guix.texi:35568
  52710. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  52711. msgstr ""
  52712. #. type: item
  52713. #: guix-git/doc/guix.texi:35569 guix-git/doc/guix.texi:38319
  52714. #, no-wrap
  52715. msgid "delete-generations"
  52716. msgstr ""
  52717. #. type: cindex
  52718. #: guix-git/doc/guix.texi:35570
  52719. #, no-wrap
  52720. msgid "deleting system generations"
  52721. msgstr ""
  52722. #. type: cindex
  52723. #: guix-git/doc/guix.texi:35571 guix-git/doc/guix.texi:38321
  52724. #, no-wrap
  52725. msgid "saving space"
  52726. msgstr ""
  52727. #. type: table
  52728. #: guix-git/doc/guix.texi:35575
  52729. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  52730. msgstr ""
  52731. #. type: table
  52732. #: guix-git/doc/guix.texi:35579
  52733. 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:"
  52734. msgstr ""
  52735. #. type: example
  52736. #: guix-git/doc/guix.texi:35582
  52737. #, no-wrap
  52738. msgid "guix system delete-generations\n"
  52739. msgstr ""
  52740. #. type: table
  52741. #: guix-git/doc/guix.texi:35586
  52742. 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:"
  52743. msgstr ""
  52744. #. type: example
  52745. #: guix-git/doc/guix.texi:35589
  52746. #, no-wrap
  52747. msgid "guix system delete-generations 2m\n"
  52748. msgstr ""
  52749. #. type: table
  52750. #: guix-git/doc/guix.texi:35594
  52751. 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."
  52752. msgstr ""
  52753. #. type: table
  52754. #: guix-git/doc/guix.texi:35599
  52755. 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."
  52756. msgstr ""
  52757. #. type: item
  52758. #: guix-git/doc/guix.texi:35600
  52759. #, no-wrap
  52760. msgid "init"
  52761. msgstr ""
  52762. #. type: table
  52763. #: guix-git/doc/guix.texi:35604
  52764. 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:"
  52765. msgstr ""
  52766. #. type: example
  52767. #: guix-git/doc/guix.texi:35607
  52768. #, no-wrap
  52769. msgid "guix system init my-os-config.scm /mnt\n"
  52770. msgstr ""
  52771. #. type: table
  52772. #: guix-git/doc/guix.texi:35614
  52773. 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."
  52774. msgstr ""
  52775. #. type: table
  52776. #: guix-git/doc/guix.texi:35618
  52777. msgid "This command also installs bootloader on the targets specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  52778. msgstr ""
  52779. #. type: item
  52780. #: guix-git/doc/guix.texi:35619
  52781. #, no-wrap
  52782. msgid "vm"
  52783. msgstr ""
  52784. #. type: cindex
  52785. #: guix-git/doc/guix.texi:35620 guix-git/doc/guix.texi:36238
  52786. #, no-wrap
  52787. msgid "virtual machine"
  52788. msgstr ""
  52789. #. type: cindex
  52790. #: guix-git/doc/guix.texi:35621
  52791. #, no-wrap
  52792. msgid "VM"
  52793. msgstr ""
  52794. #. type: anchor{#1}
  52795. #: guix-git/doc/guix.texi:35625
  52796. msgid "guix system vm"
  52797. msgstr "guix system vm"
  52798. #. type: table
  52799. #: guix-git/doc/guix.texi:35625
  52800. msgid "Build a virtual machine (VM) that contains the operating system declared in @var{file}, and return a script to run that VM."
  52801. msgstr ""
  52802. #. type: quotation
  52803. #: guix-git/doc/guix.texi:35633
  52804. 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})."
  52805. msgstr ""
  52806. #. type: table
  52807. #: guix-git/doc/guix.texi:35638
  52808. 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:"
  52809. msgstr ""
  52810. #. type: example
  52811. #: guix-git/doc/guix.texi:35641
  52812. #, no-wrap
  52813. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  52814. msgstr ""
  52815. #. type: table
  52816. #: guix-git/doc/guix.texi:35644
  52817. msgid "It's possible to combine the two steps into one:"
  52818. msgstr ""
  52819. #. type: example
  52820. #: guix-git/doc/guix.texi:35647
  52821. #, no-wrap
  52822. msgid "$ $(guix system vm my-config.scm) -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  52823. msgstr ""
  52824. #. type: table
  52825. #: guix-git/doc/guix.texi:35650
  52826. msgid "The VM shares its store with the host system."
  52827. msgstr ""
  52828. #. type: table
  52829. #: guix-git/doc/guix.texi:35655
  52830. 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."
  52831. msgstr ""
  52832. #. type: table
  52833. #: guix-git/doc/guix.texi:35660
  52834. 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."
  52835. msgstr ""
  52836. #. type: table
  52837. #: guix-git/doc/guix.texi:35664
  52838. 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:"
  52839. msgstr ""
  52840. #. type: example
  52841. #: guix-git/doc/guix.texi:35668
  52842. #, no-wrap
  52843. msgid ""
  52844. "guix system vm my-config.scm \\\n"
  52845. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  52846. msgstr ""
  52847. #. type: table
  52848. #: guix-git/doc/guix.texi:35673
  52849. 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."
  52850. msgstr ""
  52851. #. type: table
  52852. #: guix-git/doc/guix.texi:35678
  52853. 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."
  52854. msgstr ""
  52855. #. type: table
  52856. #: guix-git/doc/guix.texi:35681
  52857. msgid "The @option{--image-size} option can be used to specify the size of the image."
  52858. msgstr ""
  52859. #. type: table
  52860. #: guix-git/doc/guix.texi:35688
  52861. 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."
  52862. msgstr ""
  52863. #. type: cindex
  52864. #: guix-git/doc/guix.texi:35689
  52865. #, no-wrap
  52866. msgid "System images, creation in various formats"
  52867. msgstr ""
  52868. #. type: cindex
  52869. #: guix-git/doc/guix.texi:35690
  52870. #, no-wrap
  52871. msgid "Creating system images in various formats"
  52872. msgstr ""
  52873. #. type: item
  52874. #: guix-git/doc/guix.texi:35691
  52875. #, no-wrap
  52876. msgid "image"
  52877. msgstr ""
  52878. #. type: cindex
  52879. #: guix-git/doc/guix.texi:35692
  52880. #, no-wrap
  52881. msgid "image, creating disk images"
  52882. msgstr ""
  52883. #. type: table
  52884. #: guix-git/doc/guix.texi:35704
  52885. 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:"
  52886. msgstr ""
  52887. #. type: example
  52888. #: guix-git/doc/guix.texi:35712
  52889. #, no-wrap
  52890. msgid ""
  52891. "image=$(guix system image --image-type=qcow2 \\\n"
  52892. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  52893. "cp $image /tmp/my-image.qcow2\n"
  52894. "chmod +w /tmp/my-image.qcow2\n"
  52895. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  52896. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  52897. msgstr ""
  52898. #. type: table
  52899. #: guix-git/doc/guix.texi:35718
  52900. 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:"
  52901. msgstr ""
  52902. #. type: example
  52903. #: guix-git/doc/guix.texi:35721
  52904. #, no-wrap
  52905. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  52906. msgstr ""
  52907. #. type: table
  52908. #: guix-git/doc/guix.texi:35725
  52909. msgid "The @code{--list-image-types} command lists all the available image types."
  52910. msgstr ""
  52911. #. type: cindex
  52912. #: guix-git/doc/guix.texi:35726
  52913. #, no-wrap
  52914. msgid "creating virtual machine images"
  52915. msgstr ""
  52916. #. type: table
  52917. #: guix-git/doc/guix.texi:35735
  52918. 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)."
  52919. msgstr ""
  52920. #. type: cindex
  52921. #: guix-git/doc/guix.texi:35736
  52922. #, no-wrap
  52923. msgid "docker-image, creating docker images"
  52924. msgstr ""
  52925. #. type: table
  52926. #: guix-git/doc/guix.texi:35742
  52927. 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:"
  52928. msgstr ""
  52929. #. type: example
  52930. #: guix-git/doc/guix.texi:35747
  52931. #, no-wrap
  52932. msgid ""
  52933. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  52934. "container_id=\"$(docker create $image_id)\"\n"
  52935. "docker start $container_id\n"
  52936. msgstr ""
  52937. #. type: table
  52938. #: guix-git/doc/guix.texi:35754
  52939. 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}:"
  52940. msgstr ""
  52941. #. type: example
  52942. #: guix-git/doc/guix.texi:35757
  52943. #, no-wrap
  52944. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  52945. msgstr ""
  52946. #. type: table
  52947. #: guix-git/doc/guix.texi:35764
  52948. 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}."
  52949. msgstr ""
  52950. #. type: table
  52951. #: guix-git/doc/guix.texi:35768
  52952. 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."
  52953. msgstr ""
  52954. #. type: table
  52955. #: guix-git/doc/guix.texi:35776
  52956. 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."
  52957. msgstr ""
  52958. #. type: table
  52959. #: guix-git/doc/guix.texi:35780
  52960. 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."
  52961. msgstr ""
  52962. #. type: table
  52963. #: guix-git/doc/guix.texi:35784
  52964. 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:"
  52965. msgstr ""
  52966. #. type: example
  52967. #: guix-git/doc/guix.texi:35788
  52968. #, no-wrap
  52969. msgid ""
  52970. "guix system container my-config.scm \\\n"
  52971. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  52972. msgstr ""
  52973. #. type: quotation
  52974. #: guix-git/doc/guix.texi:35792
  52975. msgid "This option requires Linux-libre 3.19 or newer."
  52976. msgstr ""
  52977. #. type: Plain text
  52978. #: guix-git/doc/guix.texi:35799 guix-git/doc/guix.texi:38383
  52979. 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:"
  52980. msgstr ""
  52981. #. type: table
  52982. #: guix-git/doc/guix.texi:35808
  52983. 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})."
  52984. msgstr ""
  52985. #. type: table
  52986. #: guix-git/doc/guix.texi:35813
  52987. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  52988. msgstr ""
  52989. #. type: table
  52990. #: guix-git/doc/guix.texi:35818
  52991. msgid "Return the derivation file name of the given operating system without building anything."
  52992. msgstr ""
  52993. #. type: table
  52994. #: guix-git/doc/guix.texi:35827
  52995. 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:"
  52996. msgstr ""
  52997. #. type: example
  52998. #: guix-git/doc/guix.texi:35830
  52999. #, no-wrap
  53000. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  53001. msgstr ""
  53002. #. type: table
  53003. #: guix-git/doc/guix.texi:35837
  53004. 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."
  53005. msgstr ""
  53006. #. type: item
  53007. #: guix-git/doc/guix.texi:35838
  53008. #, no-wrap
  53009. msgid "--image-type=@var{type}"
  53010. msgstr ""
  53011. #. type: table
  53012. #: guix-git/doc/guix.texi:35841
  53013. msgid "For the @code{image} action, create an image with given @var{type}."
  53014. msgstr ""
  53015. #. type: table
  53016. #: guix-git/doc/guix.texi:35844
  53017. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  53018. msgstr ""
  53019. #. type: cindex
  53020. #: guix-git/doc/guix.texi:35845
  53021. #, no-wrap
  53022. msgid "ISO-9660 format"
  53023. msgstr ""
  53024. #. type: cindex
  53025. #: guix-git/doc/guix.texi:35846
  53026. #, no-wrap
  53027. msgid "CD image format"
  53028. msgstr ""
  53029. #. type: cindex
  53030. #: guix-git/doc/guix.texi:35847
  53031. #, no-wrap
  53032. msgid "DVD image format"
  53033. msgstr ""
  53034. #. type: table
  53035. #: guix-git/doc/guix.texi:35850
  53036. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  53037. msgstr ""
  53038. #. type: item
  53039. #: guix-git/doc/guix.texi:35851
  53040. #, no-wrap
  53041. msgid "--image-size=@var{size}"
  53042. msgstr ""
  53043. #. type: table
  53044. #: guix-git/doc/guix.texi:35856
  53045. 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})."
  53046. msgstr ""
  53047. #. type: table
  53048. #: guix-git/doc/guix.texi:35860
  53049. 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}."
  53050. msgstr ""
  53051. #. type: table
  53052. #: guix-git/doc/guix.texi:35865
  53053. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  53054. msgstr ""
  53055. #. type: item
  53056. #: guix-git/doc/guix.texi:35871
  53057. #, no-wrap
  53058. msgid "--skip-checks"
  53059. msgstr ""
  53060. #. type: table
  53061. #: guix-git/doc/guix.texi:35873
  53062. msgid "Skip pre-installation safety checks."
  53063. msgstr ""
  53064. #. type: table
  53065. #: guix-git/doc/guix.texi:35880
  53066. 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."
  53067. msgstr ""
  53068. #. type: table
  53069. #: guix-git/doc/guix.texi:35883
  53070. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  53071. msgstr ""
  53072. #. type: table
  53073. #: guix-git/doc/guix.texi:35891
  53074. 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."
  53075. msgstr ""
  53076. #. type: cindex
  53077. #: guix-git/doc/guix.texi:35897
  53078. #, no-wrap
  53079. msgid "on-error"
  53080. msgstr ""
  53081. #. type: cindex
  53082. #: guix-git/doc/guix.texi:35898
  53083. #, no-wrap
  53084. msgid "on-error strategy"
  53085. msgstr ""
  53086. #. type: cindex
  53087. #: guix-git/doc/guix.texi:35899
  53088. #, no-wrap
  53089. msgid "error strategy"
  53090. msgstr ""
  53091. #. type: item
  53092. #: guix-git/doc/guix.texi:35900
  53093. #, no-wrap
  53094. msgid "--on-error=@var{strategy}"
  53095. msgstr ""
  53096. #. type: table
  53097. #: guix-git/doc/guix.texi:35903
  53098. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  53099. msgstr ""
  53100. #. type: item
  53101. #: guix-git/doc/guix.texi:35905
  53102. #, no-wrap
  53103. msgid "nothing-special"
  53104. msgstr ""
  53105. #. type: table
  53106. #: guix-git/doc/guix.texi:35907
  53107. msgid "Report the error concisely and exit. This is the default strategy."
  53108. msgstr ""
  53109. #. type: item
  53110. #: guix-git/doc/guix.texi:35908
  53111. #, no-wrap
  53112. msgid "backtrace"
  53113. msgstr ""
  53114. #. type: table
  53115. #: guix-git/doc/guix.texi:35910
  53116. msgid "Likewise, but also display a backtrace."
  53117. msgstr ""
  53118. #. type: item
  53119. #: guix-git/doc/guix.texi:35911
  53120. #, no-wrap
  53121. msgid "debug"
  53122. msgstr "depuração"
  53123. #. type: table
  53124. #: guix-git/doc/guix.texi:35917
  53125. 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."
  53126. msgstr ""
  53127. #. type: Plain text
  53128. #: guix-git/doc/guix.texi:35924
  53129. 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:"
  53130. msgstr ""
  53131. #. type: item
  53132. #: guix-git/doc/guix.texi:35927 guix-git/doc/guix.texi:38346
  53133. #, no-wrap
  53134. msgid "describe"
  53135. msgstr ""
  53136. #. type: table
  53137. #: guix-git/doc/guix.texi:35930
  53138. msgid "Describe the running system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  53139. msgstr ""
  53140. #. type: quotation
  53141. #: guix-git/doc/guix.texi:35937
  53142. 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."
  53143. msgstr ""
  53144. #. type: quotation
  53145. #: guix-git/doc/guix.texi:35941
  53146. 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."
  53147. msgstr ""
  53148. #. type: item
  53149. #: guix-git/doc/guix.texi:35943 guix-git/doc/guix.texi:38350
  53150. #, no-wrap
  53151. msgid "list-generations"
  53152. msgstr ""
  53153. #. type: table
  53154. #: guix-git/doc/guix.texi:35948
  53155. 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})."
  53156. msgstr ""
  53157. #. type: table
  53158. #: guix-git/doc/guix.texi:35953 guix-git/doc/guix.texi:38360
  53159. 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:"
  53160. msgstr ""
  53161. #. type: example
  53162. #: guix-git/doc/guix.texi:35956
  53163. #, no-wrap
  53164. msgid "$ guix system list-generations 10d\n"
  53165. msgstr "$ guix system list-generations 10d\n"
  53166. #. type: Plain text
  53167. #: guix-git/doc/guix.texi:35963
  53168. 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:"
  53169. msgstr ""
  53170. #. type: anchor{#1}
  53171. #: guix-git/doc/guix.texi:35965
  53172. msgid "system-extension-graph"
  53173. msgstr "system-extension-graph"
  53174. #. type: item
  53175. #: guix-git/doc/guix.texi:35967
  53176. #, no-wrap
  53177. msgid "extension-graph"
  53178. msgstr "extension-graph"
  53179. #. type: table
  53180. #: guix-git/doc/guix.texi:35974
  53181. 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}}):"
  53182. msgstr ""
  53183. #. type: table
  53184. #: guix-git/doc/guix.texi:35976
  53185. msgid "The command:"
  53186. msgstr "O comando:"
  53187. #. type: example
  53188. #: guix-git/doc/guix.texi:35979
  53189. #, no-wrap
  53190. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  53191. msgstr ""
  53192. #. type: table
  53193. #: guix-git/doc/guix.texi:35982
  53194. msgid "shows the extension relations among services."
  53195. msgstr ""
  53196. #. type: anchor{#1}
  53197. #: guix-git/doc/guix.texi:35984
  53198. msgid "system-shepherd-graph"
  53199. msgstr "system-shepherd-graph"
  53200. #. type: item
  53201. #: guix-git/doc/guix.texi:35984
  53202. #, no-wrap
  53203. msgid "shepherd-graph"
  53204. msgstr "shepherd-graph"
  53205. #. type: table
  53206. #: guix-git/doc/guix.texi:35989
  53207. 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."
  53208. msgstr ""
  53209. #. type: table
  53210. #: guix-git/doc/guix.texi:35992
  53211. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  53212. msgstr ""
  53213. #. type: section
  53214. #: guix-git/doc/guix.texi:35996
  53215. #, no-wrap
  53216. msgid "Invoking @code{guix deploy}"
  53217. msgstr ""
  53218. #. type: Plain text
  53219. #: guix-git/doc/guix.texi:36004
  53220. 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''."
  53221. msgstr ""
  53222. #. type: quotation
  53223. #: guix-git/doc/guix.texi:36009 guix-git/doc/guix.texi:37504
  53224. 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}!"
  53225. msgstr ""
  53226. #. type: example
  53227. #: guix-git/doc/guix.texi:36013
  53228. #, no-wrap
  53229. msgid "guix deploy @var{file}\n"
  53230. msgstr ""
  53231. #. type: Plain text
  53232. #: guix-git/doc/guix.texi:36017
  53233. 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:"
  53234. msgstr ""
  53235. #. type: lisp
  53236. #: guix-git/doc/guix.texi:36024
  53237. #, no-wrap
  53238. msgid ""
  53239. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  53240. ";; no X11 display server, to a machine with an SSH daemon\n"
  53241. ";; listening on localhost:2222. A configuration such as this\n"
  53242. ";; may be appropriate for virtual machine with ports\n"
  53243. ";; forwarded to the host's loopback interface.\n"
  53244. "\n"
  53245. msgstr ""
  53246. #. type: lisp
  53247. #: guix-git/doc/guix.texi:36027
  53248. #, no-wrap
  53249. msgid ""
  53250. "(use-service-modules networking ssh)\n"
  53251. "(use-package-modules bootloaders)\n"
  53252. "\n"
  53253. msgstr ""
  53254. #. type: lisp
  53255. #: guix-git/doc/guix.texi:36048
  53256. #, no-wrap
  53257. msgid ""
  53258. "(define %system\n"
  53259. " (operating-system\n"
  53260. " (host-name \"gnu-deployed\")\n"
  53261. " (timezone \"Etc/UTC\")\n"
  53262. " (bootloader (bootloader-configuration\n"
  53263. " (bootloader grub-bootloader)\n"
  53264. " (targets '(\"/dev/vda\"))\n"
  53265. " (terminal-outputs '(console))))\n"
  53266. " (file-systems (cons (file-system\n"
  53267. " (mount-point \"/\")\n"
  53268. " (device \"/dev/vda1\")\n"
  53269. " (type \"ext4\"))\n"
  53270. " %base-file-systems))\n"
  53271. " (services\n"
  53272. " (append (list (service dhcp-client-service-type)\n"
  53273. " (service openssh-service-type\n"
  53274. " (openssh-configuration\n"
  53275. " (permit-root-login #t)\n"
  53276. " (allow-empty-passwords? #t))))\n"
  53277. " %base-services))))\n"
  53278. "\n"
  53279. msgstr ""
  53280. #. type: lisp
  53281. #: guix-git/doc/guix.texi:36058
  53282. #, no-wrap
  53283. msgid ""
  53284. "(list (machine\n"
  53285. " (operating-system %system)\n"
  53286. " (environment managed-host-environment-type)\n"
  53287. " (configuration (machine-ssh-configuration\n"
  53288. " (host-name \"localhost\")\n"
  53289. " (system \"x86_64-linux\")\n"
  53290. " (user \"alice\")\n"
  53291. " (identity \"./id_rsa\")\n"
  53292. " (port 2222)))))\n"
  53293. msgstr ""
  53294. #. type: Plain text
  53295. #: guix-git/doc/guix.texi:36071
  53296. 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."
  53297. msgstr ""
  53298. #. type: Plain text
  53299. #: guix-git/doc/guix.texi:36076
  53300. 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:"
  53301. msgstr ""
  53302. #. type: Plain text
  53303. #: guix-git/doc/guix.texi:36084
  53304. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  53305. msgstr ""
  53306. #. type: example
  53307. #: guix-git/doc/guix.texi:36087
  53308. #, no-wrap
  53309. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  53310. msgstr ""
  53311. #. type: Plain text
  53312. #: guix-git/doc/guix.texi:36098
  53313. 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:"
  53314. msgstr ""
  53315. #. type: lisp
  53316. #: guix-git/doc/guix.texi:36102
  53317. #, no-wrap
  53318. msgid ""
  53319. "(use-modules ...\n"
  53320. " (gnu system)) ;for %sudoers-specification\n"
  53321. "\n"
  53322. msgstr ""
  53323. #. type: lisp
  53324. #: guix-git/doc/guix.texi:36104
  53325. #, no-wrap
  53326. msgid ""
  53327. "(define %user \"username\")\n"
  53328. "\n"
  53329. msgstr ""
  53330. #. type: lisp
  53331. #: guix-git/doc/guix.texi:36112
  53332. #, no-wrap
  53333. msgid ""
  53334. "(operating-system\n"
  53335. " ...\n"
  53336. " (sudoers-file\n"
  53337. " (plain-file \"sudoers\"\n"
  53338. " (string-append (plain-file-content %sudoers-specification)\n"
  53339. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  53340. " %user)))))\n"
  53341. "\n"
  53342. msgstr ""
  53343. #. type: Plain text
  53344. #: guix-git/doc/guix.texi:36117
  53345. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  53346. msgstr ""
  53347. #. type: Plain text
  53348. #: guix-git/doc/guix.texi:36122
  53349. 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:"
  53350. msgstr ""
  53351. #. type: example
  53352. #: guix-git/doc/guix.texi:36125
  53353. #, no-wrap
  53354. msgid "guix deploy @var{file} -x -- uname -a\n"
  53355. msgstr ""
  53356. #. type: Plain text
  53357. #: guix-git/doc/guix.texi:36129
  53358. 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:"
  53359. msgstr ""
  53360. #. type: example
  53361. #: guix-git/doc/guix.texi:36132
  53362. #, no-wrap
  53363. msgid "guix deploy @var{file} -x -- herd restart @var{service}\n"
  53364. msgstr ""
  53365. #. type: Plain text
  53366. #: guix-git/doc/guix.texi:36136
  53367. msgid "The @command{guix deploy -x} command returns zero if and only if the command succeeded on all the machines."
  53368. msgstr ""
  53369. #. type: Plain text
  53370. #: guix-git/doc/guix.texi:36141
  53371. msgid "Below are the data types you need to know about when writing a deployment file."
  53372. msgstr ""
  53373. #. type: deftp
  53374. #: guix-git/doc/guix.texi:36142
  53375. #, no-wrap
  53376. msgid "{Data Type} machine"
  53377. msgstr ""
  53378. #. type: deftp
  53379. #: guix-git/doc/guix.texi:36145
  53380. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  53381. msgstr ""
  53382. #. type: table
  53383. #: guix-git/doc/guix.texi:36149
  53384. msgid "The object of the operating system configuration to deploy."
  53385. msgstr ""
  53386. #. type: code{#1}
  53387. #: guix-git/doc/guix.texi:36150
  53388. #, no-wrap
  53389. msgid "environment"
  53390. msgstr ""
  53391. #. type: table
  53392. #: guix-git/doc/guix.texi:36152
  53393. msgid "An @code{environment-type} describing how the machine should be provisioned."
  53394. msgstr ""
  53395. #. type: item
  53396. #: guix-git/doc/guix.texi:36153
  53397. #, no-wrap
  53398. msgid "@code{configuration} (default: @code{#f})"
  53399. msgstr ""
  53400. #. type: table
  53401. #: guix-git/doc/guix.texi:36158
  53402. 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."
  53403. msgstr ""
  53404. #. type: deftp
  53405. #: guix-git/doc/guix.texi:36161
  53406. #, no-wrap
  53407. msgid "{Data Type} machine-ssh-configuration"
  53408. msgstr ""
  53409. #. type: deftp
  53410. #: guix-git/doc/guix.texi:36164
  53411. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  53412. msgstr ""
  53413. #. type: item
  53414. #: guix-git/doc/guix.texi:36167
  53415. #, no-wrap
  53416. msgid "@code{build-locally?} (default: @code{#t})"
  53417. msgstr ""
  53418. #. type: table
  53419. #: guix-git/doc/guix.texi:36169
  53420. msgid "If false, system derivations will be built on the machine being deployed to."
  53421. msgstr ""
  53422. #. type: code{#1}
  53423. #: guix-git/doc/guix.texi:36169
  53424. #, no-wrap
  53425. msgid "system"
  53426. msgstr "system"
  53427. #. type: table
  53428. #: guix-git/doc/guix.texi:36172
  53429. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  53430. msgstr ""
  53431. #. type: item
  53432. #: guix-git/doc/guix.texi:36172
  53433. #, no-wrap
  53434. msgid "@code{authorize?} (default: @code{#t})"
  53435. msgstr ""
  53436. #. type: table
  53437. #: guix-git/doc/guix.texi:36175
  53438. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  53439. msgstr ""
  53440. #. type: item
  53441. #: guix-git/doc/guix.texi:36177
  53442. #, no-wrap
  53443. msgid "@code{identity} (default: @code{#f})"
  53444. msgstr ""
  53445. #. type: table
  53446. #: guix-git/doc/guix.texi:36180
  53447. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  53448. msgstr ""
  53449. #. type: item
  53450. #: guix-git/doc/guix.texi:36181
  53451. #, no-wrap
  53452. msgid "@code{host-key} (default: @code{#f})"
  53453. msgstr ""
  53454. #. type: table
  53455. #: guix-git/doc/guix.texi:36183
  53456. msgid "This should be the SSH host key of the machine, which looks like this:"
  53457. msgstr ""
  53458. #. type: example
  53459. #: guix-git/doc/guix.texi:36186
  53460. #, no-wrap
  53461. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  53462. msgstr ""
  53463. #. type: table
  53464. #: guix-git/doc/guix.texi:36191
  53465. 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."
  53466. msgstr ""
  53467. #. type: item
  53468. #: guix-git/doc/guix.texi:36192
  53469. #, no-wrap
  53470. msgid "@code{allow-downgrades?} (default: @code{#f})"
  53471. msgstr ""
  53472. #. type: table
  53473. #: guix-git/doc/guix.texi:36194
  53474. msgid "Whether to allow potential downgrades."
  53475. msgstr ""
  53476. #. type: table
  53477. #: guix-git/doc/guix.texi:36202
  53478. 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."
  53479. msgstr ""
  53480. #. type: item
  53481. #: guix-git/doc/guix.texi:36203
  53482. #, fuzzy, no-wrap
  53483. #| msgid "@code{check?} (default: @code{#t})"
  53484. msgid "@code{safety-checks?} (default: @code{#t})"
  53485. msgstr "@code{check?} (padrão: @code{#t})"
  53486. #. type: table
  53487. #: guix-git/doc/guix.texi:36209
  53488. 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."
  53489. msgstr ""
  53490. #. type: table
  53491. #: guix-git/doc/guix.texi:36212
  53492. msgid "These safety checks ensure that you do not inadvertently deploy a system that would fail to boot. Be careful before turning them off!"
  53493. msgstr ""
  53494. #. type: deftp
  53495. #: guix-git/doc/guix.texi:36215
  53496. #, no-wrap
  53497. msgid "{Data Type} digital-ocean-configuration"
  53498. msgstr ""
  53499. #. type: deftp
  53500. #: guix-git/doc/guix.texi:36218
  53501. 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}."
  53502. msgstr ""
  53503. #. type: code{#1}
  53504. #: guix-git/doc/guix.texi:36220
  53505. #, no-wrap
  53506. msgid "ssh-key"
  53507. msgstr ""
  53508. #. type: table
  53509. #: guix-git/doc/guix.texi:36223
  53510. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  53511. msgstr ""
  53512. #. type: code{#1}
  53513. #: guix-git/doc/guix.texi:36223
  53514. #, no-wrap
  53515. msgid "tags"
  53516. msgstr ""
  53517. #. type: table
  53518. #: guix-git/doc/guix.texi:36226
  53519. 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."
  53520. msgstr ""
  53521. #. type: code{#1}
  53522. #: guix-git/doc/guix.texi:36226
  53523. #, no-wrap
  53524. msgid "region"
  53525. msgstr ""
  53526. #. type: table
  53527. #: guix-git/doc/guix.texi:36228
  53528. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  53529. msgstr ""
  53530. #. type: table
  53531. #: guix-git/doc/guix.texi:36230
  53532. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  53533. msgstr ""
  53534. #. type: code{#1}
  53535. #: guix-git/doc/guix.texi:36230
  53536. #, no-wrap
  53537. msgid "enable-ipv6?"
  53538. msgstr ""
  53539. #. type: table
  53540. #: guix-git/doc/guix.texi:36232
  53541. msgid "Whether or not the droplet should be created with IPv6 networking."
  53542. msgstr ""
  53543. #. type: section
  53544. #: guix-git/doc/guix.texi:36236
  53545. #, no-wrap
  53546. msgid "Running Guix in a Virtual Machine"
  53547. msgstr "Usando o Guix em uma Máquina Virtual"
  53548. #. type: Plain text
  53549. #: guix-git/doc/guix.texi:36244
  53550. 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)."
  53551. msgstr ""
  53552. #. type: Plain text
  53553. #: guix-git/doc/guix.texi:36251
  53554. 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})."
  53555. msgstr ""
  53556. #. type: Plain text
  53557. #: guix-git/doc/guix.texi:36254
  53558. msgid "Instead of using this pre-built image, one can also build their own image using @command{guix system image} (@pxref{Invoking guix system})."
  53559. msgstr ""
  53560. #. type: cindex
  53561. #: guix-git/doc/guix.texi:36255
  53562. #, no-wrap
  53563. msgid "QEMU"
  53564. msgstr ""
  53565. #. type: Plain text
  53566. #: guix-git/doc/guix.texi:36262
  53567. 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:"
  53568. msgstr ""
  53569. #. type: example
  53570. #: guix-git/doc/guix.texi:36269
  53571. #, no-wrap
  53572. msgid ""
  53573. "$ qemu-system-x86_64 \\\n"
  53574. " -nic user,model=virtio-net-pci \\\n"
  53575. " -enable-kvm -m 1024 \\\n"
  53576. " -device virtio-blk,drive=myhd \\\n"
  53577. " -drive if=none,file=/tmp/qemu-image,id=myhd\n"
  53578. msgstr ""
  53579. #. type: Plain text
  53580. #: guix-git/doc/guix.texi:36272
  53581. msgid "Here is what each of these options means:"
  53582. msgstr ""
  53583. #. type: item
  53584. #: guix-git/doc/guix.texi:36274
  53585. #, no-wrap
  53586. msgid "qemu-system-x86_64"
  53587. msgstr ""
  53588. #. type: table
  53589. #: guix-git/doc/guix.texi:36277
  53590. msgid "This specifies the hardware platform to emulate. This should match the host."
  53591. msgstr ""
  53592. #. type: item
  53593. #: guix-git/doc/guix.texi:36278
  53594. #, no-wrap
  53595. msgid "-nic user,model=virtio-net-pci"
  53596. msgstr ""
  53597. #. type: table
  53598. #: guix-git/doc/guix.texi:36286
  53599. 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}."
  53600. msgstr ""
  53601. #. type: item
  53602. #: guix-git/doc/guix.texi:36287
  53603. #, no-wrap
  53604. msgid "-enable-kvm"
  53605. msgstr ""
  53606. #. type: table
  53607. #: guix-git/doc/guix.texi:36291
  53608. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  53609. msgstr ""
  53610. #. type: item
  53611. #: guix-git/doc/guix.texi:36293
  53612. #, no-wrap
  53613. msgid "-m 1024"
  53614. msgstr ""
  53615. #. type: table
  53616. #: guix-git/doc/guix.texi:36296
  53617. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  53618. msgstr ""
  53619. #. type: item
  53620. #: guix-git/doc/guix.texi:36297
  53621. #, no-wrap
  53622. msgid "-device virtio-blk,drive=myhd"
  53623. msgstr ""
  53624. #. type: table
  53625. #: guix-git/doc/guix.texi:36302
  53626. 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."
  53627. msgstr ""
  53628. #. type: item
  53629. #: guix-git/doc/guix.texi:36303
  53630. #, no-wrap
  53631. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  53632. msgstr ""
  53633. #. type: table
  53634. #: guix-git/doc/guix.texi:36306
  53635. msgid "Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store of the ``myhd'' drive."
  53636. msgstr ""
  53637. #. type: Plain text
  53638. #: guix-git/doc/guix.texi:36316
  53639. 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}."
  53640. msgstr ""
  53641. #. type: subsection
  53642. #: guix-git/doc/guix.texi:36317
  53643. #, no-wrap
  53644. msgid "Connecting Through SSH"
  53645. msgstr ""
  53646. #. type: Plain text
  53647. #: guix-git/doc/guix.texi:36325
  53648. 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"
  53649. msgstr ""
  53650. #. type: example
  53651. #: guix-git/doc/guix.texi:36328
  53652. #, no-wrap
  53653. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  53654. msgstr ""
  53655. #. type: Plain text
  53656. #: guix-git/doc/guix.texi:36331
  53657. msgid "To connect to the VM you can run"
  53658. msgstr ""
  53659. #. type: example
  53660. #: guix-git/doc/guix.texi:36334
  53661. #, no-wrap
  53662. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  53663. msgstr ""
  53664. #. type: Plain text
  53665. #: guix-git/doc/guix.texi:36341
  53666. 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."
  53667. msgstr ""
  53668. #. type: quotation
  53669. #: guix-git/doc/guix.texi:36347
  53670. 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."
  53671. msgstr ""
  53672. #. type: subsection
  53673. #: guix-git/doc/guix.texi:36349
  53674. #, no-wrap
  53675. msgid "Using @command{virt-viewer} with Spice"
  53676. msgstr ""
  53677. #. type: Plain text
  53678. #: guix-git/doc/guix.texi:36355
  53679. 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."
  53680. msgstr ""
  53681. #. type: Plain text
  53682. #: guix-git/doc/guix.texi:36358
  53683. 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}:"
  53684. msgstr ""
  53685. #. type: example
  53686. #: guix-git/doc/guix.texi:36364
  53687. #, no-wrap
  53688. msgid ""
  53689. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  53690. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  53691. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\\\n"
  53692. "name=com.redhat.spice.0\n"
  53693. msgstr ""
  53694. #. type: Plain text
  53695. #: guix-git/doc/guix.texi:36368
  53696. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  53697. msgstr ""
  53698. #. type: Plain text
  53699. #: guix-git/doc/guix.texi:36375
  53700. 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?"
  53701. msgstr ""
  53702. #. type: cindex
  53703. #: guix-git/doc/guix.texi:36388
  53704. #, no-wrap
  53705. msgid "daemons"
  53706. msgstr ""
  53707. #. type: Plain text
  53708. #: guix-git/doc/guix.texi:36401
  53709. 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."
  53710. msgstr ""
  53711. #. type: cindex
  53712. #: guix-git/doc/guix.texi:36402
  53713. #, no-wrap
  53714. msgid "service extensions"
  53715. msgstr ""
  53716. #. type: Plain text
  53717. #: guix-git/doc/guix.texi:36414
  53718. 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})."
  53719. msgstr ""
  53720. #. type: Plain text
  53721. #: guix-git/doc/guix.texi:36418
  53722. 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:"
  53723. msgstr ""
  53724. #. type: Plain text
  53725. #: guix-git/doc/guix.texi:36420
  53726. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  53727. msgstr ""
  53728. #. type: cindex
  53729. #: guix-git/doc/guix.texi:36421
  53730. #, no-wrap
  53731. msgid "system service"
  53732. msgstr ""
  53733. #. type: Plain text
  53734. #: guix-git/doc/guix.texi:36429
  53735. 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."
  53736. msgstr ""
  53737. #. type: cindex
  53738. #: guix-git/doc/guix.texi:36430
  53739. #, no-wrap
  53740. msgid "service types"
  53741. msgstr ""
  53742. #. type: Plain text
  53743. #: guix-git/doc/guix.texi:36436
  53744. 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."
  53745. msgstr ""
  53746. #. type: Plain text
  53747. #: guix-git/doc/guix.texi:36439
  53748. msgid "The following section describes the programming interface for service types and services."
  53749. msgstr ""
  53750. #. type: Plain text
  53751. #: guix-git/doc/guix.texi:36446
  53752. 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}):"
  53753. msgstr ""
  53754. #. type: lisp
  53755. #: guix-git/doc/guix.texi:36456
  53756. #, no-wrap
  53757. msgid ""
  53758. "(define guix-service-type\n"
  53759. " (service-type\n"
  53760. " (name 'guix)\n"
  53761. " (extensions\n"
  53762. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  53763. " (service-extension account-service-type guix-accounts)\n"
  53764. " (service-extension activation-service-type guix-activation)))\n"
  53765. " (default-value (guix-configuration))))\n"
  53766. msgstr ""
  53767. #. type: Plain text
  53768. #: guix-git/doc/guix.texi:36460
  53769. msgid "It defines three things:"
  53770. msgstr ""
  53771. #. type: enumerate
  53772. #: guix-git/doc/guix.texi:36464
  53773. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  53774. msgstr ""
  53775. #. type: enumerate
  53776. #: guix-git/doc/guix.texi:36469
  53777. 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."
  53778. msgstr ""
  53779. #. type: enumerate
  53780. #: guix-git/doc/guix.texi:36472
  53781. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  53782. msgstr ""
  53783. #. type: enumerate
  53784. #: guix-git/doc/guix.texi:36475
  53785. msgid "Optionally, a default value for instances of this type."
  53786. msgstr ""
  53787. #. type: Plain text
  53788. #: guix-git/doc/guix.texi:36478
  53789. msgid "In this example, @code{guix-service-type} extends three services:"
  53790. msgstr ""
  53791. #. type: item
  53792. #: guix-git/doc/guix.texi:36480
  53793. #, no-wrap
  53794. msgid "shepherd-root-service-type"
  53795. msgstr ""
  53796. #. type: table
  53797. #: guix-git/doc/guix.texi:36485
  53798. 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})."
  53799. msgstr ""
  53800. #. type: item
  53801. #: guix-git/doc/guix.texi:36486
  53802. #, no-wrap
  53803. msgid "account-service-type"
  53804. msgstr ""
  53805. #. type: table
  53806. #: guix-git/doc/guix.texi:36491
  53807. 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})."
  53808. msgstr ""
  53809. #. type: item
  53810. #: guix-git/doc/guix.texi:36492
  53811. #, no-wrap
  53812. msgid "activation-service-type"
  53813. msgstr ""
  53814. #. type: table
  53815. #: guix-git/doc/guix.texi:36496
  53816. 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."
  53817. msgstr ""
  53818. #. type: Plain text
  53819. #: guix-git/doc/guix.texi:36499
  53820. msgid "A service of this type is instantiated like this:"
  53821. msgstr ""
  53822. #. type: lisp
  53823. #: guix-git/doc/guix.texi:36505
  53824. #, no-wrap
  53825. msgid ""
  53826. "(service guix-service-type\n"
  53827. " (guix-configuration\n"
  53828. " (build-accounts 5)\n"
  53829. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  53830. msgstr ""
  53831. #. type: Plain text
  53832. #: guix-git/doc/guix.texi:36513
  53833. 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:"
  53834. msgstr ""
  53835. #. type: lisp
  53836. #: guix-git/doc/guix.texi:36516
  53837. #, no-wrap
  53838. msgid "(service guix-service-type)\n"
  53839. msgstr ""
  53840. #. type: Plain text
  53841. #: guix-git/doc/guix.texi:36520
  53842. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  53843. msgstr ""
  53844. #. type: Plain text
  53845. #: guix-git/doc/guix.texi:36524
  53846. msgid "The service type for an @emph{extensible} service looks like this:"
  53847. msgstr ""
  53848. #. type: lisp
  53849. #: guix-git/doc/guix.texi:36531
  53850. #, no-wrap
  53851. msgid ""
  53852. "(define udev-service-type\n"
  53853. " (service-type (name 'udev)\n"
  53854. " (extensions\n"
  53855. " (list (service-extension shepherd-root-service-type\n"
  53856. " udev-shepherd-service)))\n"
  53857. "\n"
  53858. msgstr ""
  53859. #. type: lisp
  53860. #: guix-git/doc/guix.texi:36539
  53861. #, no-wrap
  53862. msgid ""
  53863. " (compose concatenate) ;concatenate the list of rules\n"
  53864. " (extend (lambda (config rules)\n"
  53865. " (match config\n"
  53866. " (($ <udev-configuration> udev initial-rules)\n"
  53867. " (udev-configuration\n"
  53868. " (udev udev) ;the udev package to use\n"
  53869. " (rules (append initial-rules rules)))))))))\n"
  53870. msgstr ""
  53871. #. type: Plain text
  53872. #: guix-git/doc/guix.texi:36545
  53873. 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:"
  53874. msgstr ""
  53875. #. type: item
  53876. #: guix-git/doc/guix.texi:36547
  53877. #, no-wrap
  53878. msgid "compose"
  53879. msgstr ""
  53880. #. type: table
  53881. #: guix-git/doc/guix.texi:36550
  53882. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  53883. msgstr ""
  53884. #. type: table
  53885. #: guix-git/doc/guix.texi:36553
  53886. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  53887. msgstr ""
  53888. #. type: item
  53889. #: guix-git/doc/guix.texi:36554
  53890. #, no-wrap
  53891. msgid "extend"
  53892. msgstr ""
  53893. #. type: table
  53894. #: guix-git/doc/guix.texi:36557
  53895. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  53896. msgstr ""
  53897. #. type: table
  53898. #: guix-git/doc/guix.texi:36562
  53899. 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."
  53900. msgstr ""
  53901. #. type: table
  53902. #: guix-git/doc/guix.texi:36568
  53903. 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})."
  53904. msgstr ""
  53905. #. type: Plain text
  53906. #: guix-git/doc/guix.texi:36573
  53907. 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."
  53908. msgstr ""
  53909. #. type: Plain text
  53910. #: guix-git/doc/guix.texi:36576
  53911. msgid "Still here? The next section provides a reference of the programming interface for services."
  53912. msgstr ""
  53913. #. type: Plain text
  53914. #: guix-git/doc/guix.texi:36584
  53915. 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."
  53916. msgstr ""
  53917. #. type: deffn
  53918. #: guix-git/doc/guix.texi:36585
  53919. #, no-wrap
  53920. msgid "{Scheme Procedure} service @var{type} [@var{value}]"
  53921. msgstr ""
  53922. #. type: deffn
  53923. #: guix-git/doc/guix.texi:36589
  53924. 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."
  53925. msgstr ""
  53926. #. type: deffn
  53927. #: guix-git/doc/guix.texi:36593
  53928. 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."
  53929. msgstr ""
  53930. #. type: deffn
  53931. #: guix-git/doc/guix.texi:36595
  53932. msgid "For instance, this:"
  53933. msgstr ""
  53934. #. type: lisp
  53935. #: guix-git/doc/guix.texi:36598
  53936. #, no-wrap
  53937. msgid "(service openssh-service-type)\n"
  53938. msgstr ""
  53939. #. type: deffn
  53940. #: guix-git/doc/guix.texi:36602
  53941. msgid "is equivalent to this:"
  53942. msgstr ""
  53943. #. type: lisp
  53944. #: guix-git/doc/guix.texi:36606
  53945. #, no-wrap
  53946. msgid ""
  53947. "(service openssh-service-type\n"
  53948. " (openssh-configuration))\n"
  53949. msgstr ""
  53950. #. type: deffn
  53951. #: guix-git/doc/guix.texi:36610
  53952. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  53953. msgstr ""
  53954. #. type: deffn
  53955. #: guix-git/doc/guix.texi:36612
  53956. #, no-wrap
  53957. msgid "{Scheme Procedure} service? @var{obj}"
  53958. msgstr ""
  53959. #. type: deffn
  53960. #: guix-git/doc/guix.texi:36614
  53961. msgid "Return true if @var{obj} is a service."
  53962. msgstr ""
  53963. #. type: deffn
  53964. #: guix-git/doc/guix.texi:36616
  53965. #, no-wrap
  53966. msgid "{Scheme Procedure} service-kind @var{service}"
  53967. msgstr ""
  53968. #. type: deffn
  53969. #: guix-git/doc/guix.texi:36618
  53970. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  53971. msgstr ""
  53972. #. type: deffn
  53973. #: guix-git/doc/guix.texi:36620
  53974. #, no-wrap
  53975. msgid "{Scheme Procedure} service-value @var{service}"
  53976. msgstr ""
  53977. #. type: deffn
  53978. #: guix-git/doc/guix.texi:36623
  53979. msgid "Return the value associated with @var{service}. It represents its parameters."
  53980. msgstr ""
  53981. #. type: Plain text
  53982. #: guix-git/doc/guix.texi:36626
  53983. msgid "Here is an example of how a service is created and manipulated:"
  53984. msgstr ""
  53985. #. type: lisp
  53986. #: guix-git/doc/guix.texi:36635
  53987. #, no-wrap
  53988. msgid ""
  53989. "(define s\n"
  53990. " (service nginx-service-type\n"
  53991. " (nginx-configuration\n"
  53992. " (nginx nginx)\n"
  53993. " (log-directory log-directory)\n"
  53994. " (run-directory run-directory)\n"
  53995. " (file config-file))))\n"
  53996. "\n"
  53997. msgstr ""
  53998. #. type: lisp
  53999. #: guix-git/doc/guix.texi:36638
  54000. #, no-wrap
  54001. msgid ""
  54002. "(service? s)\n"
  54003. "@result{} #t\n"
  54004. "\n"
  54005. msgstr ""
  54006. #. type: lisp
  54007. #: guix-git/doc/guix.texi:36641
  54008. #, no-wrap
  54009. msgid ""
  54010. "(eq? (service-kind s) nginx-service-type)\n"
  54011. "@result{} #t\n"
  54012. msgstr ""
  54013. #. type: Plain text
  54014. #: guix-git/doc/guix.texi:36651
  54015. 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."
  54016. msgstr ""
  54017. #. type: deffn
  54018. #: guix-git/doc/guix.texi:36652
  54019. #, no-wrap
  54020. msgid "{Scheme Syntax} modify-services @var{services} @"
  54021. msgstr ""
  54022. #. type: deffn
  54023. #: guix-git/doc/guix.texi:36654
  54024. msgid "(@var{type} @var{variable} => @var{body}) @dots{}"
  54025. msgstr ""
  54026. #. type: deffn
  54027. #: guix-git/doc/guix.texi:36657
  54028. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  54029. msgstr ""
  54030. #. type: example
  54031. #: guix-git/doc/guix.texi:36660
  54032. #, no-wrap
  54033. msgid "(@var{type} @var{variable} => @var{body})\n"
  54034. msgstr ""
  54035. #. type: deffn
  54036. #: guix-git/doc/guix.texi:36667
  54037. 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}."
  54038. msgstr ""
  54039. #. type: deffn
  54040. #: guix-git/doc/guix.texi:36674
  54041. 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."
  54042. msgstr ""
  54043. #. type: deffn
  54044. #: guix-git/doc/guix.texi:36676
  54045. #, fuzzy
  54046. #| msgid "Packages are currently available on the following platforms:"
  54047. msgid "Clauses can also have the following form:"
  54048. msgstr "Os pacotes estão atualmente disponíveis nas seguintes plataformas:"
  54049. #. type: lisp
  54050. #: guix-git/doc/guix.texi:36679
  54051. #, fuzzy, no-wrap
  54052. #| msgid "-t @var{type}"
  54053. msgid "(delete @var{type})\n"
  54054. msgstr "(delete @var{type})\n"
  54055. #. type: deffn
  54056. #: guix-git/doc/guix.texi:36683
  54057. msgid "Such a clause removes all services of the given @var{type} from @var{services}."
  54058. msgstr ""
  54059. #. type: deffn
  54060. #: guix-git/doc/guix.texi:36685
  54061. msgid "@xref{Using the Configuration System}, for example usage."
  54062. msgstr ""
  54063. #. type: Plain text
  54064. #: guix-git/doc/guix.texi:36692
  54065. 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."
  54066. msgstr ""
  54067. #. type: deftp
  54068. #: guix-git/doc/guix.texi:36693
  54069. #, no-wrap
  54070. msgid "{Data Type} service-type"
  54071. msgstr ""
  54072. #. type: cindex
  54073. #: guix-git/doc/guix.texi:36694
  54074. #, no-wrap
  54075. msgid "service type"
  54076. msgstr ""
  54077. #. type: deftp
  54078. #: guix-git/doc/guix.texi:36697
  54079. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  54080. msgstr ""
  54081. #. type: table
  54082. #: guix-git/doc/guix.texi:36701
  54083. msgid "This is a symbol, used only to simplify inspection and debugging."
  54084. msgstr ""
  54085. #. type: code{#1}
  54086. #: guix-git/doc/guix.texi:36702
  54087. #, no-wrap
  54088. msgid "extensions"
  54089. msgstr ""
  54090. #. type: table
  54091. #: guix-git/doc/guix.texi:36704
  54092. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  54093. msgstr ""
  54094. #. type: item
  54095. #: guix-git/doc/guix.texi:36705
  54096. #, no-wrap
  54097. msgid "@code{compose} (default: @code{#f})"
  54098. msgstr "@code{compose} (default: @code{#f})"
  54099. #. type: table
  54100. #: guix-git/doc/guix.texi:36709
  54101. 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."
  54102. msgstr ""
  54103. #. type: table
  54104. #: guix-git/doc/guix.texi:36713
  54105. 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."
  54106. msgstr ""
  54107. #. type: item
  54108. #: guix-git/doc/guix.texi:36714
  54109. #, no-wrap
  54110. msgid "@code{extend} (default: @code{#f})"
  54111. msgstr "@code{extend} (default: @code{#f})"
  54112. #. type: table
  54113. #: guix-git/doc/guix.texi:36716
  54114. msgid "If this is @code{#f}, services of this type cannot be extended."
  54115. msgstr ""
  54116. #. type: table
  54117. #: guix-git/doc/guix.texi:36722
  54118. 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."
  54119. msgstr ""
  54120. #. type: table
  54121. #: guix-git/doc/guix.texi:36728
  54122. 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})."
  54123. msgstr ""
  54124. #. type: item
  54125. #: guix-git/doc/guix.texi:36729
  54126. #, no-wrap
  54127. msgid "@code{default-value} (default: @code{&no-default-value})"
  54128. msgstr ""
  54129. #. type: table
  54130. #: guix-git/doc/guix.texi:36732
  54131. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  54132. msgstr ""
  54133. #. type: lisp
  54134. #: guix-git/doc/guix.texi:36735
  54135. #, no-wrap
  54136. msgid "(service @var{type})\n"
  54137. msgstr ""
  54138. #. type: table
  54139. #: guix-git/doc/guix.texi:36739
  54140. msgid "The returned service in this case has the default value specified by @var{type}."
  54141. msgstr ""
  54142. #. type: deftp
  54143. #: guix-git/doc/guix.texi:36742
  54144. msgid "@xref{Service Types and Services}, for examples."
  54145. msgstr ""
  54146. #. type: deffn
  54147. #: guix-git/doc/guix.texi:36744
  54148. #, no-wrap
  54149. msgid "{Scheme Procedure} service-extension @var{target-type} @"
  54150. msgstr ""
  54151. #. type: deffn
  54152. #: guix-git/doc/guix.texi:36750
  54153. msgid "@var{compute} 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."
  54154. msgstr ""
  54155. #. type: deffn
  54156. #: guix-git/doc/guix.texi:36752
  54157. #, no-wrap
  54158. msgid "{Scheme Procedure} service-extension? @var{obj}"
  54159. msgstr ""
  54160. #. type: deffn
  54161. #: guix-git/doc/guix.texi:36754
  54162. msgid "Return true if @var{obj} is a service extension."
  54163. msgstr ""
  54164. #. type: Plain text
  54165. #: guix-git/doc/guix.texi:36760
  54166. 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."
  54167. msgstr ""
  54168. #. type: deffn
  54169. #: guix-git/doc/guix.texi:36761
  54170. #, no-wrap
  54171. msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}"
  54172. msgstr ""
  54173. #. type: deffn
  54174. #: guix-git/doc/guix.texi:36765
  54175. 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."
  54176. msgstr ""
  54177. #. type: deffn
  54178. #: guix-git/doc/guix.texi:36768
  54179. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  54180. msgstr ""
  54181. #. type: lisp
  54182. #: guix-git/doc/guix.texi:36772
  54183. #, no-wrap
  54184. msgid ""
  54185. "(simple-service 'my-mcron-job mcron-service-type\n"
  54186. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  54187. msgstr ""
  54188. #. type: Plain text
  54189. #: guix-git/doc/guix.texi:36782
  54190. 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."
  54191. msgstr ""
  54192. #. type: deffn
  54193. #: guix-git/doc/guix.texi:36783
  54194. #, no-wrap
  54195. msgid "{Scheme Procedure} fold-services @var{services} @"
  54196. msgstr ""
  54197. #. type: deffn
  54198. #: guix-git/doc/guix.texi:36787
  54199. msgid "[#:target-type @var{system-service-type}] Fold @var{services} by propagating their extensions down to the root of type @var{target-type}; return the root service adjusted accordingly."
  54200. msgstr ""
  54201. #. type: Plain text
  54202. #: guix-git/doc/guix.texi:36791
  54203. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  54204. msgstr ""
  54205. #. type: defvr
  54206. #: guix-git/doc/guix.texi:36792
  54207. #, no-wrap
  54208. msgid "{Scheme Variable} system-service-type"
  54209. msgstr ""
  54210. #. type: defvr
  54211. #: guix-git/doc/guix.texi:36795
  54212. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  54213. msgstr ""
  54214. #. type: defvr
  54215. #: guix-git/doc/guix.texi:36797
  54216. #, no-wrap
  54217. msgid "{Scheme Variable} boot-service-type"
  54218. msgstr ""
  54219. #. type: defvr
  54220. #: guix-git/doc/guix.texi:36800
  54221. 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."
  54222. msgstr ""
  54223. #. type: defvr
  54224. #: guix-git/doc/guix.texi:36802
  54225. #, no-wrap
  54226. msgid "{Scheme Variable} etc-service-type"
  54227. msgstr ""
  54228. #. type: defvr
  54229. #: guix-git/doc/guix.texi:36806
  54230. 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:"
  54231. msgstr ""
  54232. #. type: lisp
  54233. #: guix-git/doc/guix.texi:36809
  54234. #, no-wrap
  54235. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  54236. msgstr ""
  54237. #. type: defvr
  54238. #: guix-git/doc/guix.texi:36813
  54239. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  54240. msgstr ""
  54241. #. type: defvr
  54242. #: guix-git/doc/guix.texi:36815
  54243. #, no-wrap
  54244. msgid "{Scheme Variable} setuid-program-service-type"
  54245. msgstr ""
  54246. #. type: defvr
  54247. #: guix-git/doc/guix.texi:36819
  54248. 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-root programs on the system (@pxref{Setuid Programs})."
  54249. msgstr ""
  54250. #. type: defvr
  54251. #: guix-git/doc/guix.texi:36821
  54252. #, no-wrap
  54253. msgid "{Scheme Variable} profile-service-type"
  54254. msgstr ""
  54255. #. type: defvr
  54256. #: guix-git/doc/guix.texi:36825
  54257. 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."
  54258. msgstr ""
  54259. #. type: anchor{#1}
  54260. #: guix-git/doc/guix.texi:36829
  54261. msgid "provenance-service-type"
  54262. msgstr ""
  54263. #. type: defvr
  54264. #: guix-git/doc/guix.texi:36829
  54265. #, no-wrap
  54266. msgid "{Scheme Variable} provenance-service-type"
  54267. msgstr ""
  54268. #. type: defvr
  54269. #: guix-git/doc/guix.texi:36833
  54270. 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}:"
  54271. msgstr ""
  54272. #. type: item
  54273. #: guix-git/doc/guix.texi:36835
  54274. #, no-wrap
  54275. msgid "channels.scm"
  54276. msgstr ""
  54277. #. type: table
  54278. #: guix-git/doc/guix.texi:36840
  54279. 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})."
  54280. msgstr ""
  54281. #. type: item
  54282. #: guix-git/doc/guix.texi:36841
  54283. #, no-wrap
  54284. msgid "configuration.scm"
  54285. msgstr ""
  54286. #. type: table
  54287. #: guix-git/doc/guix.texi:36846
  54288. 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."
  54289. msgstr ""
  54290. #. type: item
  54291. #: guix-git/doc/guix.texi:36847
  54292. #, no-wrap
  54293. msgid "provenance"
  54294. msgstr ""
  54295. #. type: table
  54296. #: guix-git/doc/guix.texi:36850
  54297. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  54298. msgstr ""
  54299. #. type: defvr
  54300. #: guix-git/doc/guix.texi:36854
  54301. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  54302. msgstr ""
  54303. #. type: quotation
  54304. #: guix-git/doc/guix.texi:36855
  54305. #, no-wrap
  54306. msgid "Caveats"
  54307. msgstr ""
  54308. #. type: quotation
  54309. #: guix-git/doc/guix.texi:36862
  54310. 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."
  54311. msgstr ""
  54312. #. type: quotation
  54313. #: guix-git/doc/guix.texi:36870
  54314. 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."
  54315. msgstr ""
  54316. #. type: defvr
  54317. #: guix-git/doc/guix.texi:36875
  54318. 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}."
  54319. msgstr ""
  54320. #. type: defvr
  54321. #: guix-git/doc/guix.texi:36877
  54322. #, fuzzy, no-wrap
  54323. msgid "{Scheme Variable} linux-loadable-module-service-type"
  54324. msgstr "guix-publish-service-type"
  54325. #. type: defvr
  54326. #: guix-git/doc/guix.texi:36881
  54327. msgid "Type of the service that collects lists of packages containing kernel-loadable modules, and adds them to the set of kernel-loadable modules."
  54328. msgstr ""
  54329. #. type: defvr
  54330. #: guix-git/doc/guix.texi:36884
  54331. msgid "This service type is intended to be extended by other service types, such as below:"
  54332. msgstr ""
  54333. #. type: lisp
  54334. #: guix-git/doc/guix.texi:36890
  54335. #, no-wrap
  54336. msgid ""
  54337. "(simple-service 'installing-module\n"
  54338. " linux-loadable-module-service-type\n"
  54339. " (list module-to-install-1\n"
  54340. " module-to-install-2))\n"
  54341. msgstr ""
  54342. #. type: defvr
  54343. #: guix-git/doc/guix.texi:36894
  54344. 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."
  54345. msgstr ""
  54346. #. type: cindex
  54347. #: guix-git/doc/guix.texi:36899
  54348. #, no-wrap
  54349. msgid "shepherd services"
  54350. msgstr ""
  54351. #. type: cindex
  54352. #: guix-git/doc/guix.texi:36900
  54353. #, no-wrap
  54354. msgid "PID 1"
  54355. msgstr ""
  54356. #. type: cindex
  54357. #: guix-git/doc/guix.texi:36901
  54358. #, no-wrap
  54359. msgid "init system"
  54360. msgstr ""
  54361. #. type: Plain text
  54362. #: guix-git/doc/guix.texi:36907
  54363. 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})."
  54364. msgstr ""
  54365. #. type: Plain text
  54366. #: guix-git/doc/guix.texi:36913
  54367. 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:"
  54368. msgstr ""
  54369. #. type: Plain text
  54370. #: guix-git/doc/guix.texi:36915
  54371. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  54372. msgstr ""
  54373. #. type: Plain text
  54374. #: guix-git/doc/guix.texi:36919
  54375. 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}})."
  54376. msgstr ""
  54377. #. type: Plain text
  54378. #: guix-git/doc/guix.texi:36923
  54379. 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."
  54380. msgstr ""
  54381. #. type: deftp
  54382. #: guix-git/doc/guix.texi:36924
  54383. #, no-wrap
  54384. msgid "{Data Type} shepherd-service"
  54385. msgstr ""
  54386. #. type: deftp
  54387. #: guix-git/doc/guix.texi:36926
  54388. msgid "The data type representing a service managed by the Shepherd."
  54389. msgstr ""
  54390. #. type: code{#1}
  54391. #: guix-git/doc/guix.texi:36928
  54392. #, no-wrap
  54393. msgid "provision"
  54394. msgstr ""
  54395. #. type: table
  54396. #: guix-git/doc/guix.texi:36930
  54397. msgid "This is a list of symbols denoting what the service provides."
  54398. msgstr ""
  54399. #. type: table
  54400. #: guix-git/doc/guix.texi:36935
  54401. 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{Slots of services, the @code{provides} slot,, shepherd, The GNU Shepherd Manual}, for details."
  54402. msgstr ""
  54403. #. type: item
  54404. #: guix-git/doc/guix.texi:36936
  54405. #, no-wrap
  54406. msgid "@code{requirement} (default: @code{'()})"
  54407. msgstr ""
  54408. #. type: table
  54409. #: guix-git/doc/guix.texi:36938
  54410. msgid "List of symbols denoting the Shepherd services this one depends on."
  54411. msgstr ""
  54412. #. type: cindex
  54413. #: guix-git/doc/guix.texi:36939
  54414. #, no-wrap
  54415. msgid "one-shot services, for the Shepherd"
  54416. msgstr ""
  54417. #. type: table
  54418. #: guix-git/doc/guix.texi:36944
  54419. 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."
  54420. msgstr ""
  54421. #. type: item
  54422. #: guix-git/doc/guix.texi:36945
  54423. #, no-wrap
  54424. msgid "@code{respawn?} (default: @code{#t})"
  54425. msgstr "@code{respawn?} (padrão: @code{#t})"
  54426. #. type: table
  54427. #: guix-git/doc/guix.texi:36948
  54428. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  54429. msgstr ""
  54430. #. type: code{#1}
  54431. #: guix-git/doc/guix.texi:36949
  54432. #, no-wrap
  54433. msgid "start"
  54434. msgstr "iniciar"
  54435. #. type: itemx
  54436. #: guix-git/doc/guix.texi:36950
  54437. #, no-wrap
  54438. msgid "@code{stop} (default: @code{#~(const #f)})"
  54439. msgstr ""
  54440. #. type: table
  54441. #: guix-git/doc/guix.texi:36956
  54442. 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})."
  54443. msgstr ""
  54444. #. type: item
  54445. #: guix-git/doc/guix.texi:36957
  54446. #, no-wrap
  54447. msgid "@code{actions} (default: @code{'()})"
  54448. msgstr ""
  54449. #. type: cindex
  54450. #: guix-git/doc/guix.texi:36958
  54451. #, no-wrap
  54452. msgid "actions, of Shepherd services"
  54453. msgstr ""
  54454. #. type: table
  54455. #: guix-git/doc/guix.texi:36963
  54456. 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:"
  54457. msgstr ""
  54458. #. type: example
  54459. #: guix-git/doc/guix.texi:36966
  54460. #, no-wrap
  54461. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  54462. msgstr ""
  54463. #. type: item
  54464. #: guix-git/doc/guix.texi:36968
  54465. #, no-wrap
  54466. msgid "@code{auto-start?} (default: @code{#t})"
  54467. msgstr ""
  54468. #. type: table
  54469. #: guix-git/doc/guix.texi:36971
  54470. 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}."
  54471. msgstr ""
  54472. #. type: table
  54473. #: guix-git/doc/guix.texi:36974
  54474. msgid "A documentation string, as shown when running:"
  54475. msgstr ""
  54476. #. type: example
  54477. #: guix-git/doc/guix.texi:36977
  54478. #, no-wrap
  54479. msgid "herd doc @var{service-name}\n"
  54480. msgstr ""
  54481. #. type: table
  54482. #: guix-git/doc/guix.texi:36981
  54483. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  54484. msgstr ""
  54485. #. type: table
  54486. #: guix-git/doc/guix.texi:36985
  54487. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  54488. msgstr ""
  54489. #. type: Plain text
  54490. #: guix-git/doc/guix.texi:36993
  54491. 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}):"
  54492. msgstr ""
  54493. #. type: example
  54494. #: guix-git/doc/guix.texi:37005
  54495. #, no-wrap
  54496. msgid ""
  54497. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  54498. " (shepherd-service\n"
  54499. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  54500. " (provision '(syslogd))\n"
  54501. " (requirement '(user-processes))\n"
  54502. " (start #~(make-forkexec-constructor\n"
  54503. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  54504. " \"--rcfile\" #$config)\n"
  54505. " #:pid-file \"/var/run/syslog.pid\"))\n"
  54506. " (stop #~(make-kill-destructor))))\n"
  54507. msgstr ""
  54508. #. type: Plain text
  54509. #: guix-git/doc/guix.texi:37020
  54510. 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})."
  54511. msgstr ""
  54512. #. type: deftp
  54513. #: guix-git/doc/guix.texi:37021
  54514. #, no-wrap
  54515. msgid "{Data Type} shepherd-action"
  54516. msgstr ""
  54517. #. type: deftp
  54518. #: guix-git/doc/guix.texi:37024
  54519. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  54520. msgstr ""
  54521. #. type: table
  54522. #: guix-git/doc/guix.texi:37028
  54523. msgid "Symbol naming the action."
  54524. msgstr ""
  54525. #. type: table
  54526. #: guix-git/doc/guix.texi:37031
  54527. msgid "This is a documentation string for the action. It can be viewed by running:"
  54528. msgstr ""
  54529. #. type: example
  54530. #: guix-git/doc/guix.texi:37034
  54531. #, no-wrap
  54532. msgid "herd doc @var{service} action @var{action}\n"
  54533. msgstr ""
  54534. #. type: item
  54535. #: guix-git/doc/guix.texi:37036
  54536. #, no-wrap
  54537. msgid "procedure"
  54538. msgstr ""
  54539. #. type: table
  54540. #: guix-git/doc/guix.texi:37040
  54541. 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})."
  54542. msgstr ""
  54543. #. type: deftp
  54544. #: guix-git/doc/guix.texi:37044
  54545. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  54546. msgstr ""
  54547. #. type: lisp
  54548. #: guix-git/doc/guix.texi:37053
  54549. #, no-wrap
  54550. msgid ""
  54551. "(shepherd-action\n"
  54552. " (name 'say-hello)\n"
  54553. " (documentation \"Say hi!\")\n"
  54554. " (procedure #~(lambda (running . args)\n"
  54555. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  54556. " args)\n"
  54557. " #t)))\n"
  54558. msgstr ""
  54559. #. type: deftp
  54560. #: guix-git/doc/guix.texi:37056
  54561. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  54562. msgstr ""
  54563. #. type: example
  54564. #: guix-git/doc/guix.texi:37062
  54565. #, no-wrap
  54566. msgid ""
  54567. "# herd say-hello example\n"
  54568. "Hello, friend! arguments: ()\n"
  54569. "# herd say-hello example a b c\n"
  54570. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  54571. msgstr ""
  54572. #. type: deftp
  54573. #: guix-git/doc/guix.texi:37067
  54574. msgid "This, as you can see, is a fairly sophisticated way to say hello. @xref{Service Convenience,,, shepherd, The GNU Shepherd Manual}, for more info on actions."
  54575. msgstr ""
  54576. #. type: defvr
  54577. #: guix-git/doc/guix.texi:37069
  54578. #, no-wrap
  54579. msgid "{Scheme Variable} shepherd-root-service-type"
  54580. msgstr ""
  54581. #. type: defvr
  54582. #: guix-git/doc/guix.texi:37071
  54583. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  54584. msgstr ""
  54585. #. type: defvr
  54586. #: guix-git/doc/guix.texi:37076
  54587. 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."
  54588. msgstr ""
  54589. #. type: deftp
  54590. #: guix-git/doc/guix.texi:37078
  54591. #, no-wrap
  54592. msgid "{Data Type} shepherd-configuration"
  54593. msgstr ""
  54594. #. type: deftp
  54595. #: guix-git/doc/guix.texi:37080 guix-git/doc/guix.texi:38074
  54596. msgid "This data type represents the Shepherd's configuration."
  54597. msgstr ""
  54598. #. type: item
  54599. #: guix-git/doc/guix.texi:37082 guix-git/doc/guix.texi:38076
  54600. #, no-wrap
  54601. msgid "shepherd (default: @code{shepherd})"
  54602. msgstr ""
  54603. #. type: table
  54604. #: guix-git/doc/guix.texi:37084 guix-git/doc/guix.texi:38078
  54605. msgid "The Shepherd package to use."
  54606. msgstr ""
  54607. #. type: item
  54608. #: guix-git/doc/guix.texi:37085 guix-git/doc/guix.texi:38082
  54609. #, no-wrap
  54610. msgid "services (default: @code{'()})"
  54611. msgstr ""
  54612. #. type: table
  54613. #: guix-git/doc/guix.texi:37089 guix-git/doc/guix.texi:38086
  54614. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  54615. msgstr ""
  54616. #. type: Plain text
  54617. #: guix-git/doc/guix.texi:37094
  54618. msgid "The following example specifies the Shepherd package for the operating system:"
  54619. msgstr ""
  54620. #. type: lisp
  54621. #: guix-git/doc/guix.texi:37109
  54622. #, no-wrap
  54623. msgid ""
  54624. "(operating-system\n"
  54625. " ;; ...\n"
  54626. " (services (append (list openssh-service-type))\n"
  54627. " ;; ...\n"
  54628. " %desktop-services)\n"
  54629. " ;; ...\n"
  54630. " ;; Use own Shepherd package.\n"
  54631. " (essential-services\n"
  54632. " (modify-services (operating-system-default-essential-services\n"
  54633. " this-operating-system)\n"
  54634. " (shepherd-root-service-type config => (shepherd-configuration\n"
  54635. " (inherit config)\n"
  54636. " (shepherd my-shepherd))))))\n"
  54637. msgstr ""
  54638. #. type: defvr
  54639. #: guix-git/doc/guix.texi:37111
  54640. #, no-wrap
  54641. msgid "{Scheme Variable} %shepherd-root-service"
  54642. msgstr ""
  54643. #. type: defvr
  54644. #: guix-git/doc/guix.texi:37113
  54645. msgid "This service represents PID@tie{}1."
  54646. msgstr ""
  54647. #. type: cindex
  54648. #: guix-git/doc/guix.texi:37117
  54649. #, fuzzy, no-wrap
  54650. #| msgid "System Configuration"
  54651. msgid "complex configurations"
  54652. msgstr "Configuração do sistema"
  54653. #. type: Plain text
  54654. #: guix-git/doc/guix.texi:37122
  54655. 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."
  54656. msgstr ""
  54657. #. type: Plain text
  54658. #: guix-git/doc/guix.texi:37130
  54659. 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."
  54660. msgstr ""
  54661. #. type: deffn
  54662. #: guix-git/doc/guix.texi:37131
  54663. #, no-wrap
  54664. msgid "{Scheme Syntax} define-configuration @var{name} @var{clause1} @"
  54665. msgstr ""
  54666. #. type: deffn
  54667. #: guix-git/doc/guix.texi:37135
  54668. msgid "@var{clause2} ... Create a record type named @code{@var{name}} that contains the fields found in the clauses."
  54669. msgstr ""
  54670. #. type: deffn
  54671. #: guix-git/doc/guix.texi:37137
  54672. #, fuzzy
  54673. #| msgid "Packages are currently available on the following platforms:"
  54674. msgid "A clause can have one of the following forms:"
  54675. msgstr "Os pacotes estão atualmente disponíveis nas seguintes plataformas:"
  54676. #. type: example
  54677. #: guix-git/doc/guix.texi:37142
  54678. #, no-wrap
  54679. msgid ""
  54680. "(@var{field-name}\n"
  54681. " (@var{type} @var{default-value})\n"
  54682. " @var{documentation})\n"
  54683. " \n"
  54684. msgstr ""
  54685. #. type: example
  54686. #: guix-git/doc/guix.texi:37147
  54687. #, no-wrap
  54688. msgid ""
  54689. "(@var{field-name}\n"
  54690. " (@var{type} @var{default-value})\n"
  54691. " @var{documentation}\n"
  54692. " @var{serializer})\n"
  54693. "\n"
  54694. msgstr ""
  54695. #. type: example
  54696. #: guix-git/doc/guix.texi:37151
  54697. #, no-wrap
  54698. msgid ""
  54699. "(@var{field-name}\n"
  54700. " (@var{type})\n"
  54701. " @var{documentation})\n"
  54702. "\n"
  54703. msgstr ""
  54704. #. type: example
  54705. #: guix-git/doc/guix.texi:37156
  54706. #, no-wrap
  54707. msgid ""
  54708. "(@var{field-name}\n"
  54709. " (@var{type})\n"
  54710. " @var{documentation}\n"
  54711. " @var{serializer})\n"
  54712. msgstr ""
  54713. #. type: deffn
  54714. #: guix-git/doc/guix.texi:37160
  54715. msgid "@var{field-name} is an identifier that denotes the name of the field in the generated record."
  54716. msgstr ""
  54717. #. type: deffn
  54718. #: guix-git/doc/guix.texi:37168
  54719. 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."
  54720. msgstr ""
  54721. #. type: deffn
  54722. #: guix-git/doc/guix.texi:37172
  54723. 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."
  54724. msgstr ""
  54725. #. type: deffn
  54726. #: guix-git/doc/guix.texi:37177
  54727. msgid "@var{documentation} is a string formatted with Texinfo syntax which should provide a description of what setting this field does."
  54728. msgstr ""
  54729. #. type: deffn
  54730. #: guix-git/doc/guix.texi:37184
  54731. 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."
  54732. msgstr ""
  54733. #. type: deffn
  54734. #: guix-git/doc/guix.texi:37186
  54735. msgid "A simple serializer procedure could look like this:"
  54736. msgstr ""
  54737. #. type: lisp
  54738. #: guix-git/doc/guix.texi:37191
  54739. #, no-wrap
  54740. msgid ""
  54741. "(define (serialize-boolean field-name value)\n"
  54742. " (let ((value (if value \"true\" \"false\")))\n"
  54743. " #~(string-append #$field-name #$value)))\n"
  54744. msgstr ""
  54745. #. type: deffn
  54746. #: guix-git/doc/guix.texi:37202
  54747. 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 for 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."
  54748. msgstr ""
  54749. #. type: lisp
  54750. #: guix-git/doc/guix.texi:37206
  54751. #, no-wrap
  54752. msgid ""
  54753. "(define (foo-serialize-string field-name value)\n"
  54754. " @dots{})\n"
  54755. "\n"
  54756. msgstr ""
  54757. #. type: lisp
  54758. #: guix-git/doc/guix.texi:37209
  54759. #, no-wrap
  54760. msgid ""
  54761. "(define (bar-serialize-string field-name value)\n"
  54762. " @dots{})\n"
  54763. " \n"
  54764. msgstr ""
  54765. #. type: lisp
  54766. #: guix-git/doc/guix.texi:37215
  54767. #, no-wrap
  54768. msgid ""
  54769. "(define-configuration foo-configuration\n"
  54770. " (label\n"
  54771. " (string)\n"
  54772. " \"The name of label.\")\n"
  54773. " (prefix foo-))\n"
  54774. "\n"
  54775. msgstr ""
  54776. #. type: lisp
  54777. #: guix-git/doc/guix.texi:37221
  54778. #, no-wrap
  54779. msgid ""
  54780. "(define-configuration bar-configuration\n"
  54781. " (ip-address\n"
  54782. " (string)\n"
  54783. " \"The IPv4 address for this device.\")\n"
  54784. " (prefix bar-))\n"
  54785. msgstr ""
  54786. #. type: deffn
  54787. #: guix-git/doc/guix.texi:37227
  54788. 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."
  54789. msgstr ""
  54790. #. type: lisp
  54791. #: guix-git/doc/guix.texi:37235
  54792. #, no-wrap
  54793. msgid ""
  54794. ";; Nothing will be serialized to disk.\n"
  54795. "(define-configuration foo-configuration\n"
  54796. " (field\n"
  54797. " (string \"test\")\n"
  54798. " \"Some documentation.\")\n"
  54799. " (no-serialization))\n"
  54800. "\n"
  54801. msgstr ""
  54802. #. type: lisp
  54803. #: guix-git/doc/guix.texi:37241
  54804. #, no-wrap
  54805. msgid ""
  54806. ";; The same thing as above.\n"
  54807. "(define-configuration/no-serialization bar-configuration\n"
  54808. " (field\n"
  54809. " (string \"test\")\n"
  54810. " \"Some documentation.\"))\n"
  54811. msgstr ""
  54812. #. type: deffn
  54813. #: guix-git/doc/guix.texi:37244
  54814. #, no-wrap
  54815. msgid "{Scheme Syntax} define-maybe @var{type}"
  54816. msgstr ""
  54817. #. type: deffn
  54818. #: guix-git/doc/guix.texi:37249
  54819. 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 set to the @code{disabled}, it will not be serialized."
  54820. msgstr ""
  54821. #. type: deffn
  54822. #: guix-git/doc/guix.texi:37256
  54823. 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, unless it is set to the @code{disabled} symbol."
  54824. msgstr ""
  54825. #. type: lisp
  54826. #: guix-git/doc/guix.texi:37259
  54827. #, no-wrap
  54828. msgid ""
  54829. "(define-maybe string)\n"
  54830. "\n"
  54831. msgstr ""
  54832. #. type: lisp
  54833. #: guix-git/doc/guix.texi:37262
  54834. #, no-wrap
  54835. msgid ""
  54836. "(define (serialize-string field-name value)\n"
  54837. " @dots{})\n"
  54838. "\n"
  54839. msgstr ""
  54840. #. type: lisp
  54841. #: guix-git/doc/guix.texi:37269
  54842. #, no-wrap
  54843. msgid ""
  54844. "(define-configuration baz-configuration\n"
  54845. " (name\n"
  54846. " ;; Nothing will be serialized by default. If set to a string, the\n"
  54847. " ;; `serialize-string' procedure will be used to serialize the string.\n"
  54848. " (maybe-string 'disabled)\n"
  54849. " \"The name of this module.\"))\n"
  54850. msgstr ""
  54851. #. type: deffn
  54852. #: guix-git/doc/guix.texi:37273
  54853. msgid "Like with @code{define-configuration}, one can set a prefix for the serializer name by using the @code{prefix} literal."
  54854. msgstr ""
  54855. #. type: lisp
  54856. #: guix-git/doc/guix.texi:37277
  54857. #, no-wrap
  54858. msgid ""
  54859. "(define-maybe integer\n"
  54860. " (prefix baz-))\n"
  54861. "\n"
  54862. msgstr ""
  54863. #. type: lisp
  54864. #: guix-git/doc/guix.texi:37280
  54865. #, no-wrap
  54866. msgid ""
  54867. "(define (baz-serialize-interger field-name value)\n"
  54868. " @dots{})\n"
  54869. msgstr ""
  54870. #. type: deffn
  54871. #: guix-git/doc/guix.texi:37287
  54872. 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 its value is @code{disabled} or not. @code{define-maybe/no-serialization} is a shorthand for specifying the @code{no-serialization} literal."
  54873. msgstr ""
  54874. #. type: lisp
  54875. #: guix-git/doc/guix.texi:37290
  54876. #, no-wrap
  54877. msgid ""
  54878. "(define-maybe/no-serialization symbol)\n"
  54879. "\n"
  54880. msgstr ""
  54881. #. type: lisp
  54882. #: guix-git/doc/guix.texi:37295
  54883. #, no-wrap
  54884. msgid ""
  54885. "(define-configuration/no-serialization test-configuration\n"
  54886. " (mode\n"
  54887. " (maybe-symbol 'disabled)\n"
  54888. " \"Docstring.\"))\n"
  54889. msgstr ""
  54890. #. type: deffn
  54891. #: guix-git/doc/guix.texi:37298
  54892. #, no-wrap
  54893. msgid "{Scheme Procedure} serialize-configuration @var{configuration} @"
  54894. msgstr ""
  54895. #. type: deffn
  54896. #: guix-git/doc/guix.texi:37304
  54897. msgid "@var{fields} 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}."
  54898. msgstr ""
  54899. #. type: deffn
  54900. #: guix-git/doc/guix.texi:37306
  54901. #, no-wrap
  54902. msgid "{Scheme Procedure} validate-configuration @var{configuration}"
  54903. msgstr ""
  54904. #. type: deffn
  54905. #: guix-git/doc/guix.texi:37310
  54906. msgid "@var{fields} Type-check @var{fields}, a list of field names of @var{configuration}, a configuration record created by @code{define-configuration}."
  54907. msgstr ""
  54908. #. type: deffn
  54909. #: guix-git/doc/guix.texi:37312
  54910. #, no-wrap
  54911. msgid "{Scheme Procedure} empty-serializer @var{field-name} @var{value}"
  54912. msgstr ""
  54913. #. type: deffn
  54914. #: guix-git/doc/guix.texi:37315
  54915. msgid "A serializer that just returns an empty string. The @code{serialize-package} procedure is an alias for this."
  54916. msgstr ""
  54917. #. type: Plain text
  54918. #: guix-git/doc/guix.texi:37320
  54919. 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."
  54920. msgstr ""
  54921. #. type: deffn
  54922. #: guix-git/doc/guix.texi:37321
  54923. #, no-wrap
  54924. msgid "{Scheme Procedure} generate-documentation @var{documentation} @"
  54925. msgstr ""
  54926. #. type: deffn
  54927. #: guix-git/doc/guix.texi:37328
  54928. msgid "@var{documentation-name} 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."
  54929. msgstr ""
  54930. #. type: deffn
  54931. #: guix-git/doc/guix.texi:37333
  54932. 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."
  54933. msgstr ""
  54934. #. type: deffn
  54935. #: guix-git/doc/guix.texi:37340
  54936. 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}."
  54937. msgstr ""
  54938. #. type: lisp
  54939. #: guix-git/doc/guix.texi:37347
  54940. #, no-wrap
  54941. msgid ""
  54942. "(generate-documentation\n"
  54943. " `((getmail-configuration ,getmail-configuration-fields\n"
  54944. " (rcfile getmail-configuration-file))\n"
  54945. " @dots{})\n"
  54946. " 'getmail-configuration)\n"
  54947. msgstr ""
  54948. #. type: deffn
  54949. #: guix-git/doc/guix.texi:37351
  54950. msgid "@var{documentation-name} should be a symbol and should be the name of the configuration record."
  54951. msgstr ""
  54952. #. type: deffn
  54953. #: guix-git/doc/guix.texi:37354
  54954. #, no-wrap
  54955. msgid "{Scheme Procedure} configuration->documentation"
  54956. msgstr ""
  54957. #. type: deffn
  54958. #: guix-git/doc/guix.texi:37361
  54959. msgid "@var{configuration-symbol} 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."
  54960. msgstr ""
  54961. #. type: Plain text
  54962. #: guix-git/doc/guix.texi:37369
  54963. 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."
  54964. msgstr ""
  54965. #. type: Plain text
  54966. #: guix-git/doc/guix.texi:37373
  54967. msgid "Below is an example of a record type created using @code{define-configuration} and friends."
  54968. msgstr ""
  54969. #. type: lisp
  54970. #: guix-git/doc/guix.texi:37380
  54971. #, no-wrap
  54972. msgid ""
  54973. "(use-modules (gnu services)\n"
  54974. " (guix gexp)\n"
  54975. " (gnu services configuration)\n"
  54976. " (srfi srfi-26)\n"
  54977. " (srfi srfi-1))\n"
  54978. "\n"
  54979. msgstr ""
  54980. #. type: lisp
  54981. #: guix-git/doc/guix.texi:37388
  54982. #, no-wrap
  54983. msgid ""
  54984. ";; Turn field names, which are Scheme symbols into strings\n"
  54985. "(define (uglify-field-name field-name)\n"
  54986. " (let ((str (symbol->string field-name)))\n"
  54987. " ;; field? -> is-field\n"
  54988. " (if (string-suffix? \"?\" str)\n"
  54989. " (string-append \"is-\" (string-drop-right str 1))\n"
  54990. " str)))\n"
  54991. "\n"
  54992. msgstr ""
  54993. #. type: lisp
  54994. #: guix-git/doc/guix.texi:37391
  54995. #, no-wrap
  54996. msgid ""
  54997. "(define (serialize-string field-name value)\n"
  54998. " #~(string-append #$(uglify-field-name field-name) \" = \" #$value \"\\n\"))\n"
  54999. "\n"
  55000. msgstr ""
  55001. #. type: lisp
  55002. #: guix-git/doc/guix.texi:37394
  55003. #, no-wrap
  55004. msgid ""
  55005. "(define (serialize-integer field-name value)\n"
  55006. " (serialize-string field-name (number->string value)))\n"
  55007. "\n"
  55008. msgstr ""
  55009. #. type: lisp
  55010. #: guix-git/doc/guix.texi:37397
  55011. #, no-wrap
  55012. msgid ""
  55013. "(define (serialize-boolean field-name value)\n"
  55014. " (serialize-string field-name (if value \"true\" \"false\")))\n"
  55015. "\n"
  55016. msgstr ""
  55017. #. type: lisp
  55018. #: guix-git/doc/guix.texi:37400
  55019. #, no-wrap
  55020. msgid ""
  55021. "(define (serialize-contact-name field-name value)\n"
  55022. " #~(string-append \"\\n[\" #$value \"]\\n\"))\n"
  55023. "\n"
  55024. msgstr ""
  55025. #. type: lisp
  55026. #: guix-git/doc/guix.texi:37403
  55027. #, no-wrap
  55028. msgid ""
  55029. "(define (list-of-contact-configurations? lst)\n"
  55030. " (every contact-configuration? lst))\n"
  55031. "\n"
  55032. msgstr ""
  55033. #. type: lisp
  55034. #: guix-git/doc/guix.texi:37408
  55035. #, no-wrap
  55036. msgid ""
  55037. "(define (serialize-list-of-contact-configurations field-name value)\n"
  55038. " #~(string-append #$@@(map (cut serialize-configuration <>\n"
  55039. " contact-configuration-fields)\n"
  55040. " value)))\n"
  55041. "\n"
  55042. msgstr ""
  55043. #. type: lisp
  55044. #: guix-git/doc/guix.texi:37415
  55045. #, no-wrap
  55046. msgid ""
  55047. "(define (serialize-contacts-list-configuration configuration)\n"
  55048. " (mixed-text-file\n"
  55049. " \"contactrc\"\n"
  55050. " #~(string-append \"[Owner]\\n\"\n"
  55051. " #$(serialize-configuration\n"
  55052. " configuration contacts-list-configuration-fields))))\n"
  55053. "\n"
  55054. msgstr ""
  55055. #. type: lisp
  55056. #: guix-git/doc/guix.texi:37418
  55057. #, no-wrap
  55058. msgid ""
  55059. "(define-maybe integer)\n"
  55060. "(define-maybe string)\n"
  55061. "\n"
  55062. msgstr ""
  55063. #. type: lisp
  55064. #: guix-git/doc/guix.texi:37433
  55065. #, no-wrap
  55066. msgid ""
  55067. "(define-configuration contact-configuration\n"
  55068. " (name\n"
  55069. " (string)\n"
  55070. " \"The name of the contact.\"\n"
  55071. " serialize-contact-name)\n"
  55072. " (phone-number\n"
  55073. " (maybe-integer 'disabled)\n"
  55074. " \"The person's phone number.\")\n"
  55075. " (email\n"
  55076. " (maybe-string 'disabled)\n"
  55077. " \"The person's email address.\")\n"
  55078. " (married?\n"
  55079. " (boolean)\n"
  55080. " \"Whether the person is married.\"))\n"
  55081. "\n"
  55082. msgstr ""
  55083. #. type: lisp
  55084. #: guix-git/doc/guix.texi:37445
  55085. #, no-wrap
  55086. msgid ""
  55087. "(define-configuration contacts-list-configuration\n"
  55088. " (name\n"
  55089. " (string)\n"
  55090. " \"The name of the owner of this contact list.\")\n"
  55091. " (email\n"
  55092. " (string)\n"
  55093. " \"The owner's email address.\")\n"
  55094. " (contacts\n"
  55095. " (list-of-contact-configurations '())\n"
  55096. " \"A list of @@code@{contact-configuation@} records which contain\n"
  55097. "information about all your contacts.\"))\n"
  55098. msgstr ""
  55099. #. type: Plain text
  55100. #: guix-git/doc/guix.texi:37448
  55101. msgid "A contacts list configuration could then be created like this:"
  55102. msgstr ""
  55103. #. type: lisp
  55104. #: guix-git/doc/guix.texi:37464
  55105. #, no-wrap
  55106. msgid ""
  55107. "(define my-contacts\n"
  55108. " (contacts-list-configuration\n"
  55109. " (name \"Alice\")\n"
  55110. " (email \"alice@@example.org\")\n"
  55111. " (contacts\n"
  55112. " (list (contact-configuration\n"
  55113. " (name \"Bob\")\n"
  55114. " (phone-number 1234)\n"
  55115. " (email \"bob@@gnu.org\")\n"
  55116. " (married? #f))\n"
  55117. " (contact-configuration\n"
  55118. " (name \"Charlie\")\n"
  55119. " (phone-number 0000)\n"
  55120. " (married? #t))))))\n"
  55121. msgstr ""
  55122. #. type: Plain text
  55123. #: guix-git/doc/guix.texi:37468
  55124. msgid "After serializing the configuration to disk, the resulting file would look like this:"
  55125. msgstr ""
  55126. #. type: example
  55127. #: guix-git/doc/guix.texi:37473
  55128. #, no-wrap
  55129. msgid ""
  55130. "[owner]\n"
  55131. "name = Alice\n"
  55132. "email = alice@@example.org\n"
  55133. "\n"
  55134. msgstr ""
  55135. #. type: example
  55136. #: guix-git/doc/guix.texi:37478
  55137. #, no-wrap
  55138. msgid ""
  55139. "[Bob]\n"
  55140. "phone-number = 1234\n"
  55141. "email = bob@@gnu.org\n"
  55142. "is-married = false\n"
  55143. "\n"
  55144. msgstr ""
  55145. #. type: example
  55146. #: guix-git/doc/guix.texi:37482
  55147. #, no-wrap
  55148. msgid ""
  55149. "[Charlie]\n"
  55150. "phone-number = 0\n"
  55151. "is-married = true\n"
  55152. msgstr ""
  55153. #. type: cindex
  55154. #: guix-git/doc/guix.texi:37487
  55155. #, fuzzy, no-wrap
  55156. #| msgid "System Configuration"
  55157. msgid "home configuration"
  55158. msgstr "Configuração do sistema"
  55159. #. type: Plain text
  55160. #: guix-git/doc/guix.texi:37499
  55161. 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})."
  55162. msgstr ""
  55163. #. type: Plain text
  55164. #: guix-git/doc/guix.texi:37516
  55165. 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 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."
  55166. msgstr ""
  55167. #. type: Plain text
  55168. #: guix-git/doc/guix.texi:37519
  55169. msgid "Using Guix for managing home environments provides a number of advantages:"
  55170. msgstr ""
  55171. #. type: item
  55172. #: guix-git/doc/guix.texi:37522
  55173. #, no-wrap
  55174. msgid "All software can be configured in one language (Guile Scheme),"
  55175. msgstr ""
  55176. #. type: itemize
  55177. #: guix-git/doc/guix.texi:37525
  55178. msgid "this gives users the ability to share values between configurations of different programs."
  55179. msgstr ""
  55180. #. type: item
  55181. #: guix-git/doc/guix.texi:37526
  55182. #, no-wrap
  55183. msgid "A well-defined home environment is self-contained and can be"
  55184. msgstr ""
  55185. #. type: itemize
  55186. #: guix-git/doc/guix.texi:37529
  55187. msgid "created in a declarative and reproducible way---there is no need to grab external binaries or manually edit some configuration file."
  55188. msgstr ""
  55189. #. type: item
  55190. #: guix-git/doc/guix.texi:37530
  55191. #, no-wrap
  55192. msgid "After every @command{guix home reconfigure} invocation, a new home"
  55193. msgstr ""
  55194. #. type: itemize
  55195. #: guix-git/doc/guix.texi:37534
  55196. 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."
  55197. msgstr ""
  55198. #. type: item
  55199. #: guix-git/doc/guix.texi:37535
  55200. #, no-wrap
  55201. msgid "It is possible to manage stateful data with Guix Home, this"
  55202. msgstr ""
  55203. #. type: itemize
  55204. #: guix-git/doc/guix.texi:37540
  55205. 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."
  55206. msgstr ""
  55207. #. type: section
  55208. #: guix-git/doc/guix.texi:37548 guix-git/doc/guix.texi:37550
  55209. #: guix-git/doc/guix.texi:37551
  55210. #, fuzzy, no-wrap
  55211. #| msgid "Preparing the isolated build environment."
  55212. msgid "Declaring the Home Environment"
  55213. msgstr "Declarando o Ambiente Doméstico"
  55214. #. type: menuentry
  55215. #: guix-git/doc/guix.texi:37548
  55216. #, fuzzy
  55217. #| msgid "Customizing your GNU system."
  55218. msgid "Customizing your Home."
  55219. msgstr "Personalizando seu sistema GNU."
  55220. #. type: section
  55221. #: guix-git/doc/guix.texi:37548 guix-git/doc/guix.texi:37618
  55222. #: guix-git/doc/guix.texi:37619
  55223. #, no-wrap
  55224. msgid "Configuring the Shell"
  55225. msgstr "Configurando o \"Shell\""
  55226. #. type: menuentry
  55227. #: guix-git/doc/guix.texi:37548
  55228. #, fuzzy
  55229. #| msgid "Invoking guix environment"
  55230. msgid "Enabling home environment."
  55231. msgstr "Habilitando o ambiente doméstico."
  55232. #. type: section
  55233. #: guix-git/doc/guix.texi:37548 guix-git/doc/guix.texi:37665
  55234. #: guix-git/doc/guix.texi:37666
  55235. #, fuzzy, no-wrap
  55236. #| msgid "Game Services"
  55237. msgid "Home Services"
  55238. msgstr "Serviços de jogos"
  55239. #. type: menuentry
  55240. #: guix-git/doc/guix.texi:37548
  55241. #, fuzzy
  55242. #| msgid "Specifying system services."
  55243. msgid "Specifying home services."
  55244. msgstr "Especificando serviços de sistema."
  55245. #. type: menuentry
  55246. #: guix-git/doc/guix.texi:37548
  55247. #, fuzzy
  55248. #| msgid "Instantiating a system configuration."
  55249. msgid "Instantiating a home configuration."
  55250. msgstr "Inicializando uma configuração de sistema."
  55251. #. type: Plain text
  55252. #: guix-git/doc/guix.texi:37557
  55253. 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}:"
  55254. msgstr ""
  55255. #. type: example
  55256. #: guix-git/doc/guix.texi:37560
  55257. #, no-wrap
  55258. msgid "guix home import ~/src/guix-config\n"
  55259. msgstr ""
  55260. #. type: Plain text
  55261. #: guix-git/doc/guix.texi:37568
  55262. 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."
  55263. msgstr ""
  55264. #. type: Plain text
  55265. #: guix-git/doc/guix.texi:37574
  55266. 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."
  55267. msgstr ""
  55268. #. type: quotation
  55269. #: guix-git/doc/guix.texi:37580
  55270. 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})."
  55271. msgstr ""
  55272. #. type: findex
  55273. #: guix-git/doc/guix.texi:37582
  55274. #, fuzzy, no-wrap
  55275. #| msgid "build environment"
  55276. msgid "home-environment"
  55277. msgstr "ambiente de compilação"
  55278. #. type: include
  55279. #: guix-git/doc/guix.texi:37584
  55280. #, fuzzy, no-wrap
  55281. #| msgid "os-config-bare-bones.texi"
  55282. msgid "he-config-bare-bones.scm"
  55283. msgstr "os-config-bare-bones.texi"
  55284. #. type: Plain text
  55285. #: guix-git/doc/guix.texi:37591
  55286. 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."
  55287. msgstr ""
  55288. #. type: Plain text
  55289. #: guix-git/doc/guix.texi:37599
  55290. 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."
  55291. msgstr ""
  55292. #. type: Plain text
  55293. #: guix-git/doc/guix.texi:37602
  55294. msgid "Once you have a configuration file that suits your needs, you can reconfigure your home by running:"
  55295. msgstr ""
  55296. #. type: example
  55297. #: guix-git/doc/guix.texi:37605
  55298. #, no-wrap
  55299. msgid "guix home reconfigure config.scm\n"
  55300. msgstr ""
  55301. #. type: Plain text
  55302. #: guix-git/doc/guix.texi:37609
  55303. msgid "This ``builds'' your home environment and creates @file{~/.guix-home} pointing to it. Voilà!"
  55304. msgstr ""
  55305. #. type: quotation
  55306. #: guix-git/doc/guix.texi:37616
  55307. 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."
  55308. msgstr ""
  55309. #. type: Plain text
  55310. #: guix-git/doc/guix.texi:37622
  55311. msgid "This section is safe to skip if your shell or shells are managed by Guix Home. Otherwise, read it carefully."
  55312. msgstr ""
  55313. #. type: Plain text
  55314. #: guix-git/doc/guix.texi:37629
  55315. 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}."
  55316. msgstr ""
  55317. #. type: Plain text
  55318. #: guix-git/doc/guix.texi:37636
  55319. 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}."
  55320. msgstr ""
  55321. #. type: Plain text
  55322. #: guix-git/doc/guix.texi:37639
  55323. msgid "Guix Home will always create @file{~/.profile}, which contains the following lines:"
  55324. msgstr ""
  55325. #. type: example
  55326. #: guix-git/doc/guix.texi:37644
  55327. #, no-wrap
  55328. msgid ""
  55329. "HOME_ENVIRONMENT=$HOME/.guix-home\n"
  55330. ". $HOME_ENVIRONMENT/setup-environment\n"
  55331. "$HOME_ENVIRONMENT/on-first-login\n"
  55332. msgstr ""
  55333. #. type: Plain text
  55334. #: guix-git/doc/guix.texi:37654
  55335. 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."
  55336. msgstr ""
  55337. #. type: Plain text
  55338. #: guix-git/doc/guix.texi:37659
  55339. 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}."
  55340. msgstr ""
  55341. #. type: quotation
  55342. #: guix-git/doc/guix.texi:37663
  55343. msgid "This step is only required if your shell is NOT managed by Guix Home. Otherwise, everything will be done automatically."
  55344. msgstr ""
  55345. #. type: cindex
  55346. #: guix-git/doc/guix.texi:37667
  55347. #, fuzzy, no-wrap
  55348. #| msgid "Other services."
  55349. msgid "home services"
  55350. msgstr "Serviços domésticos"
  55351. #. type: Plain text
  55352. #: guix-git/doc/guix.texi:37676
  55353. 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."
  55354. msgstr ""
  55355. #. type: Plain text
  55356. #: guix-git/doc/guix.texi:37684
  55357. 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}}."
  55358. msgstr ""
  55359. #. type: Plain text
  55360. #: guix-git/doc/guix.texi:37695
  55361. 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)}."
  55362. msgstr ""
  55363. #. type: subsection
  55364. #: guix-git/doc/guix.texi:37702 guix-git/doc/guix.texi:37705
  55365. #: guix-git/doc/guix.texi:37706
  55366. #, no-wrap
  55367. msgid "Essential Home Services"
  55368. msgstr "Serviços essenciais domésticos"
  55369. #. type: menuentry
  55370. #: guix-git/doc/guix.texi:37702
  55371. msgid "Environment variables, packages, on-* scripts."
  55372. msgstr ""
  55373. #. type: menuentry
  55374. #: guix-git/doc/guix.texi:37702
  55375. #, fuzzy
  55376. #| msgid "Shepherd Services"
  55377. msgid "Shells: Shells Home Services"
  55378. msgstr "Serviços de Shepherd"
  55379. #. type: menuentry
  55380. #: guix-git/doc/guix.texi:37702
  55381. msgid "POSIX shells, Bash, Zsh."
  55382. msgstr ""
  55383. #. type: menuentry
  55384. #: guix-git/doc/guix.texi:37702
  55385. #, fuzzy
  55386. #| msgid "Version Control Services"
  55387. msgid "Mcron: Mcron Home Service"
  55388. msgstr "Serviços de controlando versão"
  55389. #. type: menuentry
  55390. #: guix-git/doc/guix.texi:37702
  55391. msgid "Scheduled User's Job Execution."
  55392. msgstr "Execução de trabalho do Usuário agendado."
  55393. #. type: menuentry
  55394. #: guix-git/doc/guix.texi:37702
  55395. #, fuzzy
  55396. #| msgid "Shepherd Services"
  55397. msgid "Shepherd: Shepherd Home Service"
  55398. msgstr "Serviços de Shepherd"
  55399. #. type: menuentry
  55400. #: guix-git/doc/guix.texi:37702
  55401. #, fuzzy
  55402. #| msgid "Messaging services."
  55403. msgid "Managing User's Daemons."
  55404. msgstr "Serviços de mensageria."
  55405. #. type: menuentry
  55406. #: guix-git/doc/guix.texi:37702
  55407. #, fuzzy
  55408. #| msgid "Desktop Services"
  55409. msgid "Desktop: Desktop Home Services"
  55410. msgstr "Serviços de desktop"
  55411. #. type: menuentry
  55412. #: guix-git/doc/guix.texi:37702
  55413. msgid "Services for graphical environments."
  55414. msgstr ""
  55415. #. type: Plain text
  55416. #: guix-git/doc/guix.texi:37711
  55417. 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."
  55418. msgstr ""
  55419. #. type: cindex
  55420. #: guix-git/doc/guix.texi:37712
  55421. #, no-wrap
  55422. msgid "environment variables"
  55423. msgstr ""
  55424. #. type: defvr
  55425. #: guix-git/doc/guix.texi:37714
  55426. #, fuzzy, no-wrap
  55427. msgid "{Scheme Variable} home-environment-variables-service-type"
  55428. msgstr "guix-publish-service-type"
  55429. #. type: defvr
  55430. #: guix-git/doc/guix.texi:37719
  55431. 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."
  55432. msgstr ""
  55433. #. type: lisp
  55434. #: guix-git/doc/guix.texi:37723
  55435. #, no-wrap
  55436. msgid ""
  55437. "(list (\"ENV_VAR1\" . \"value1\")\n"
  55438. " (\"ENV_VAR2\" . \"value2\"))\n"
  55439. msgstr ""
  55440. #. type: defvr
  55441. #: guix-git/doc/guix.texi:37728
  55442. msgid "The easiest way to extend a service type, without defining new service type is to use the @code{simple-service} helper from @code{(gnu services)}."
  55443. msgstr ""
  55444. #. type: lisp
  55445. #: guix-git/doc/guix.texi:37736
  55446. #, no-wrap
  55447. msgid ""
  55448. "(simple-service 'some-useful-env-vars-service\n"
  55449. "\t\thome-environment-variables-service-type\n"
  55450. "\t\t`((\"LESSHISTFILE\" . \"$XDG_CACHE_HOME/.lesshst\")\n"
  55451. " (\"SHELL\" . ,(file-append zsh \"/bin/zsh\"))\n"
  55452. " (\"USELESS_VAR\" . #f)\n"
  55453. " (\"_JAVA_AWT_WM_NONREPARENTING\" . #t)))\n"
  55454. msgstr ""
  55455. #. type: defvr
  55456. #: guix-git/doc/guix.texi:37741
  55457. 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):"
  55458. msgstr ""
  55459. #. type: example
  55460. #: guix-git/doc/guix.texi:37746
  55461. #, no-wrap
  55462. msgid ""
  55463. "export LESSHISTFILE=$XDG_CACHE_HOME/.lesshst\n"
  55464. "export SHELL=/gnu/store/2hsg15n644f0glrcbkb1kqknmmqdar03-zsh-5.8/bin/zsh\n"
  55465. "export _JAVA_AWT_WM_NONREPARENTING\n"
  55466. msgstr ""
  55467. #. type: quotation
  55468. #: guix-git/doc/guix.texi:37753
  55469. 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} packages, which is used in the example above."
  55470. msgstr ""
  55471. #. type: defvr
  55472. #: guix-git/doc/guix.texi:37766
  55473. 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."
  55474. msgstr ""
  55475. #. type: defvr
  55476. #: guix-git/doc/guix.texi:37769
  55477. #, fuzzy, no-wrap
  55478. msgid "{Scheme Variable} home-profile-service-type"
  55479. msgstr "guix-publish-service-type"
  55480. #. type: defvr
  55481. #: guix-git/doc/guix.texi:37775
  55482. 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."
  55483. msgstr ""
  55484. #. type: defvr
  55485. #: guix-git/doc/guix.texi:37777
  55486. msgid "The extension value is just a list of packages:"
  55487. msgstr ""
  55488. #. type: lisp
  55489. #: guix-git/doc/guix.texi:37780
  55490. #, no-wrap
  55491. msgid "(list htop vim emacs)\n"
  55492. msgstr ""
  55493. #. type: defvr
  55494. #: guix-git/doc/guix.texi:37790
  55495. 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."
  55496. msgstr ""
  55497. #. type: Plain text
  55498. #: guix-git/doc/guix.texi:37794
  55499. msgid "There are few more essential services, but users are not expected to extend them."
  55500. msgstr ""
  55501. #. type: defvr
  55502. #: guix-git/doc/guix.texi:37795
  55503. #, fuzzy, no-wrap
  55504. msgid "{Scheme Variable} home-service-type"
  55505. msgstr "guix-publish-service-type"
  55506. #. type: defvr
  55507. #: guix-git/doc/guix.texi:37800
  55508. 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."
  55509. msgstr ""
  55510. #. type: defvr
  55511. #: guix-git/doc/guix.texi:37802
  55512. #, fuzzy, no-wrap
  55513. msgid "{Scheme Variable} home-run-on-first-login-service-type"
  55514. msgstr "guix-publish-service-type"
  55515. #. type: defvr
  55516. #: guix-git/doc/guix.texi:37807
  55517. 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."
  55518. msgstr ""
  55519. #. type: defvr
  55520. #: guix-git/doc/guix.texi:37813
  55521. 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."
  55522. msgstr ""
  55523. #. type: defvr
  55524. #: guix-git/doc/guix.texi:37815
  55525. #, fuzzy, no-wrap
  55526. msgid "{Scheme Variable} home-activation-service-type"
  55527. msgstr "guix-publish-service-type"
  55528. #. type: defvr
  55529. #: guix-git/doc/guix.texi:37819
  55530. 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."
  55531. msgstr ""
  55532. #. type: node
  55533. #: guix-git/doc/guix.texi:37821
  55534. #, fuzzy, no-wrap
  55535. #| msgid "Shepherd Services"
  55536. msgid "Shells Home Services"
  55537. msgstr "Serviços de Shepherd"
  55538. #. type: subsection
  55539. #: guix-git/doc/guix.texi:37822
  55540. #, no-wrap
  55541. msgid "Shells"
  55542. msgstr ""
  55543. #. type: cindex
  55544. #: guix-git/doc/guix.texi:37824 guix-git/doc/guix.texi:38190
  55545. #, no-wrap
  55546. msgid "shell"
  55547. msgstr ""
  55548. #. type: cindex
  55549. #: guix-git/doc/guix.texi:37825
  55550. #, no-wrap
  55551. msgid "login shell"
  55552. msgstr ""
  55553. #. type: cindex
  55554. #: guix-git/doc/guix.texi:37826
  55555. #, no-wrap
  55556. msgid "interactive shell"
  55557. msgstr ""
  55558. #. type: cindex
  55559. #: guix-git/doc/guix.texi:37827 guix-git/doc/guix.texi:38192
  55560. #, no-wrap
  55561. msgid "bash"
  55562. msgstr ""
  55563. #. type: cindex
  55564. #: guix-git/doc/guix.texi:37828 guix-git/doc/guix.texi:38193
  55565. #, no-wrap
  55566. msgid "zsh"
  55567. msgstr ""
  55568. #. type: Plain text
  55569. #: guix-git/doc/guix.texi:37834
  55570. 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."
  55571. msgstr ""
  55572. #. type: Plain text
  55573. #: guix-git/doc/guix.texi:37844
  55574. 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."
  55575. msgstr ""
  55576. #. type: subsubheading
  55577. #: guix-git/doc/guix.texi:37845
  55578. #, fuzzy, no-wrap
  55579. #| msgid "Certificate Services"
  55580. msgid "Shell Profile Service"
  55581. msgstr "Serviços de certificado"
  55582. #. type: deftp
  55583. #: guix-git/doc/guix.texi:37847
  55584. #, fuzzy, no-wrap
  55585. msgid "{Data Type} home-shell-profile-configuration"
  55586. msgstr "build-machine {Data Type}"
  55587. #. type: deftp
  55588. #: guix-git/doc/guix.texi:37849
  55589. msgid "Available @code{home-shell-profile-configuration} fields are:"
  55590. msgstr ""
  55591. #. type: item
  55592. #: guix-git/doc/guix.texi:37851
  55593. #, fuzzy, no-wrap
  55594. #| msgid "@code{debug?} (default: @code{#f})"
  55595. msgid "@code{profile} (default: @code{()}) (type: text-config)"
  55596. msgstr "@code{debug?} (default: @code{#f})"
  55597. #. type: table
  55598. #: guix-git/doc/guix.texi:37861
  55599. 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."
  55600. msgstr ""
  55601. #. type: subsubheading
  55602. #: guix-git/doc/guix.texi:37866
  55603. #, fuzzy, no-wrap
  55604. #| msgid "Base Services"
  55605. msgid "Bash Home Service"
  55606. msgstr "Serviços base"
  55607. #. type: anchor{#1}
  55608. #: guix-git/doc/guix.texi:37869
  55609. #, fuzzy
  55610. #| msgid "System Configuration"
  55611. msgid "home-bash-configuration"
  55612. msgstr "Configuração do sistema"
  55613. #. type: deftp
  55614. #: guix-git/doc/guix.texi:37869
  55615. #, fuzzy, no-wrap
  55616. msgid "{Data Type} home-bash-configuration"
  55617. msgstr "build-machine {Data Type}"
  55618. #. type: deftp
  55619. #: guix-git/doc/guix.texi:37871
  55620. msgid "Available @code{home-bash-configuration} fields are:"
  55621. msgstr ""
  55622. #. type: item
  55623. #: guix-git/doc/guix.texi:37873
  55624. #, fuzzy, no-wrap
  55625. #| msgid "@code{dbus?} (default: @code{#t})"
  55626. msgid "@code{package} (default: @code{bash}) (type: package)"
  55627. msgstr "@code{dbus?} (padrão: @code{#t})"
  55628. #. type: table
  55629. #: guix-git/doc/guix.texi:37875
  55630. #, fuzzy
  55631. #| msgid "The GPM package to use."
  55632. msgid "The Bash package to use."
  55633. msgstr "O pacote GPM a ser usado."
  55634. #. type: item
  55635. #: guix-git/doc/guix.texi:37876
  55636. #, fuzzy, no-wrap
  55637. #| msgid "@code{debug?} (default: @code{#f})"
  55638. msgid "@code{guix-defaults?} (default: @code{#t}) (type: boolean)"
  55639. msgstr "@code{debug?} (default: @code{#f})"
  55640. #. type: table
  55641. #: guix-git/doc/guix.texi:37879
  55642. msgid "Add sane defaults like reading @file{/etc/bashrc} and coloring the output of @command{ls} to the end of the @file{.bashrc} file."
  55643. msgstr ""
  55644. #. type: item
  55645. #: guix-git/doc/guix.texi:37880 guix-git/doc/guix.texi:37934
  55646. #: guix-git/doc/guix.texi:37973
  55647. #, fuzzy, no-wrap
  55648. #| msgid "@code{replacement} (default: @code{#f})"
  55649. msgid "@code{environment-variables} (default: @code{()}) (type: alist)"
  55650. msgstr "@code{replacement} (default: @code{#f})"
  55651. #. type: table
  55652. #: guix-git/doc/guix.texi:37885
  55653. 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."
  55654. msgstr ""
  55655. #. type: item
  55656. #: guix-git/doc/guix.texi:37886 guix-git/doc/guix.texi:37939
  55657. #, fuzzy, no-wrap
  55658. #| msgid "@code{replacement} (default: @code{#f})"
  55659. msgid "@code{aliases} (default: @code{()}) (type: alist)"
  55660. msgstr "@code{replacement} (default: @code{#f})"
  55661. #. type: table
  55662. #: guix-git/doc/guix.texi:37891
  55663. 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 line this:"
  55664. msgstr ""
  55665. #. type: lisp
  55666. #: guix-git/doc/guix.texi:37894
  55667. #, no-wrap
  55668. msgid "'((\\\"ls\\\" . \\\"ls -alF\\\"))\n"
  55669. msgstr ""
  55670. #. type: table
  55671. #: guix-git/doc/guix.texi:37897
  55672. msgid "turns into"
  55673. msgstr ""
  55674. #. type: example
  55675. #: guix-git/doc/guix.texi:37900
  55676. #, no-wrap
  55677. msgid "alias ls=\\\"ls -alF\\\"\n"
  55678. msgstr ""
  55679. #. type: item
  55680. #: guix-git/doc/guix.texi:37902 guix-git/doc/guix.texi:37943
  55681. #, fuzzy, no-wrap
  55682. #| msgid "@code{dbus?} (default: @code{#t})"
  55683. msgid "@code{bash-profile} (default: @code{()}) (type: text-config)"
  55684. msgstr "@code{dbus?} (padrão: @code{#t})"
  55685. #. type: table
  55686. #: guix-git/doc/guix.texi:37907
  55687. 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."
  55688. msgstr ""
  55689. #. type: item
  55690. #: guix-git/doc/guix.texi:37908 guix-git/doc/guix.texi:37947
  55691. #, fuzzy, no-wrap
  55692. #| msgid "@code{dbus?} (default: @code{#t})"
  55693. msgid "@code{bashrc} (default: @code{()}) (type: text-config)"
  55694. msgstr "@code{dbus?} (padrão: @code{#t})"
  55695. #. type: table
  55696. #: guix-git/doc/guix.texi:37913
  55697. 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)."
  55698. msgstr ""
  55699. #. type: item
  55700. #: guix-git/doc/guix.texi:37914 guix-git/doc/guix.texi:37951
  55701. #, fuzzy, no-wrap
  55702. #| msgid "@code{dbus?} (default: @code{#t})"
  55703. msgid "@code{bash-logout} (default: @code{()}) (type: text-config)"
  55704. msgstr "@code{dbus?} (padrão: @code{#t})"
  55705. #. type: table
  55706. #: guix-git/doc/guix.texi:37919
  55707. 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)."
  55708. msgstr ""
  55709. #. type: Plain text
  55710. #: guix-git/doc/guix.texi:37929
  55711. msgid "You can extend the Bash service by using the @code{home-bash-extension} configuration record, whose fields most 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}."
  55712. msgstr ""
  55713. #. type: deftp
  55714. #: guix-git/doc/guix.texi:37930
  55715. #, fuzzy, no-wrap
  55716. msgid "{Data Type} home-bash-extension"
  55717. msgstr "build-machine {Data Type}"
  55718. #. type: deftp
  55719. #: guix-git/doc/guix.texi:37932
  55720. msgid "Available @code{home-bash-extension} fields are:"
  55721. msgstr ""
  55722. #. type: table
  55723. #: guix-git/doc/guix.texi:37938
  55724. 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."
  55725. msgstr ""
  55726. #. type: table
  55727. #: guix-git/doc/guix.texi:37942
  55728. msgid "Additional aliases to set. These will be combined with the aliases from other extensions and the base service."
  55729. msgstr ""
  55730. #. type: table
  55731. #: guix-git/doc/guix.texi:37946
  55732. msgid "Additional text blocks to add to @file{.bash_profile}, which will be combined with text blocks from other extensions and the base service."
  55733. msgstr ""
  55734. #. type: table
  55735. #: guix-git/doc/guix.texi:37950
  55736. msgid "Additional text blocks to add to @file{.bashrc}, which will be combined with text blocks from other extensions and the base service."
  55737. msgstr ""
  55738. #. type: table
  55739. #: guix-git/doc/guix.texi:37954
  55740. msgid "Additional text blocks to add to @file{.bash_logout}, which will be combined with text blocks from other extensions and the base service."
  55741. msgstr ""
  55742. #. type: subsubheading
  55743. #: guix-git/doc/guix.texi:37958
  55744. #, fuzzy, no-wrap
  55745. #| msgid "Game Services"
  55746. msgid "Zsh Home Service"
  55747. msgstr "Serviços de jogos"
  55748. #. type: deftp
  55749. #: guix-git/doc/guix.texi:37960
  55750. #, fuzzy, no-wrap
  55751. msgid "{Data Type} home-zsh-configuration"
  55752. msgstr "build-machine {Data Type}"
  55753. #. type: deftp
  55754. #: guix-git/doc/guix.texi:37962
  55755. msgid "Available @code{home-zsh-configuration} fields are:"
  55756. msgstr ""
  55757. #. type: item
  55758. #: guix-git/doc/guix.texi:37964
  55759. #, fuzzy, no-wrap
  55760. #| msgid "@code{dbus?} (default: @code{#t})"
  55761. msgid "@code{package} (default: @code{zsh}) (type: package)"
  55762. msgstr "@code{dbus?} (padrão: @code{#t})"
  55763. #. type: table
  55764. #: guix-git/doc/guix.texi:37966
  55765. #, fuzzy
  55766. #| msgid "The GPM package to use."
  55767. msgid "The Zsh package to use."
  55768. msgstr "O pacote GPM a ser usado."
  55769. #. type: item
  55770. #: guix-git/doc/guix.texi:37967
  55771. #, fuzzy, no-wrap
  55772. #| msgid "@code{debug?} (default: @code{#f})"
  55773. msgid "@code{xdg-flavor?} (default: @code{#t}) (type: boolean)"
  55774. msgstr "@code{debug?} (default: @code{#f})"
  55775. #. type: table
  55776. #: guix-git/doc/guix.texi:37972
  55777. 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}."
  55778. msgstr ""
  55779. #. type: table
  55780. #: guix-git/doc/guix.texi:37975
  55781. msgid "Association list of environment variables to set for the Zsh session."
  55782. msgstr ""
  55783. #. type: item
  55784. #: guix-git/doc/guix.texi:37976
  55785. #, fuzzy, no-wrap
  55786. #| msgid "@code{dbus?} (default: @code{#t})"
  55787. msgid "@code{zshenv} (default: @code{()}) (type: text-config)"
  55788. msgstr "@code{dbus?} (padrão: @code{#t})"
  55789. #. type: table
  55790. #: guix-git/doc/guix.texi:37981
  55791. 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}."
  55792. msgstr ""
  55793. #. type: item
  55794. #: guix-git/doc/guix.texi:37982
  55795. #, fuzzy, no-wrap
  55796. #| msgid "@code{debug?} (default: @code{#f})"
  55797. msgid "@code{zprofile} (default: @code{()}) (type: text-config)"
  55798. msgstr "@code{debug?} (default: @code{#f})"
  55799. #. type: table
  55800. #: guix-git/doc/guix.texi:37987
  55801. 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}."
  55802. msgstr ""
  55803. #. type: item
  55804. #: guix-git/doc/guix.texi:37988
  55805. #, fuzzy, no-wrap
  55806. #| msgid "@code{dbus?} (default: @code{#t})"
  55807. msgid "@code{zshrc} (default: @code{()}) (type: text-config)"
  55808. msgstr "@code{dbus?} (padrão: @code{#t})"
  55809. #. type: table
  55810. #: guix-git/doc/guix.texi:37993
  55811. 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)."
  55812. msgstr ""
  55813. #. type: item
  55814. #: guix-git/doc/guix.texi:37994
  55815. #, fuzzy, no-wrap
  55816. #| msgid "@code{wait?} (default: @code{#t})"
  55817. msgid "@code{zlogin} (default: @code{()}) (type: text-config)"
  55818. msgstr "@code{wait?} (padrão: @code{#t})"
  55819. #. type: table
  55820. #: guix-git/doc/guix.texi:37998
  55821. 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."
  55822. msgstr ""
  55823. #. type: item
  55824. #: guix-git/doc/guix.texi:37999
  55825. #, fuzzy, no-wrap
  55826. #| msgid "@code{dbus?} (default: @code{#t})"
  55827. msgid "@code{zlogout} (default: @code{()}) (type: text-config)"
  55828. msgstr "@code{dbus?} (padrão: @code{#t})"
  55829. #. type: table
  55830. #: guix-git/doc/guix.texi:38004
  55831. 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)."
  55832. msgstr ""
  55833. #. type: node
  55834. #: guix-git/doc/guix.texi:38009
  55835. #, fuzzy, no-wrap
  55836. #| msgid "Monitoring Services"
  55837. msgid "Mcron Home Service"
  55838. msgstr "Serviços de monitoramento"
  55839. #. type: subsection
  55840. #: guix-git/doc/guix.texi:38010
  55841. #, fuzzy, no-wrap
  55842. #| msgid "Scheduled Job Execution"
  55843. msgid "Scheduled User's Job Execution"
  55844. msgstr "Execução de trabalho agendado"
  55845. #. type: Plain text
  55846. #: guix-git/doc/guix.texi:38023
  55847. 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-envirnoment} record instead of an @code{operating-system} record."
  55848. msgstr ""
  55849. #. type: defvr
  55850. #: guix-git/doc/guix.texi:38024
  55851. #, fuzzy, no-wrap
  55852. msgid "{Scheme Variable} home-mcron-service-type"
  55853. msgstr "guix-publish-service-type"
  55854. #. type: defvr
  55855. #: guix-git/doc/guix.texi:38028
  55856. msgid "This is the type of the @code{mcron} home service, whose value is an @code{home-mcron-configuration} object. It allows to manage scheduled tasks."
  55857. msgstr ""
  55858. #. type: deftp
  55859. #: guix-git/doc/guix.texi:38035
  55860. #, fuzzy, no-wrap
  55861. msgid "{Data Type} home-mcron-configuration"
  55862. msgstr "build-machine {Data Type}"
  55863. #. type: node
  55864. #: guix-git/doc/guix.texi:38049
  55865. #, fuzzy, no-wrap
  55866. #| msgid "Shepherd Services"
  55867. msgid "Shepherd Home Service"
  55868. msgstr "Serviços de Shepherd"
  55869. #. type: subsection
  55870. #: guix-git/doc/guix.texi:38050
  55871. #, fuzzy, no-wrap
  55872. #| msgid "Messaging services."
  55873. msgid "Managing User Daemons"
  55874. msgstr "Serviços de mensageria."
  55875. #. type: cindex
  55876. #: guix-git/doc/guix.texi:38052
  55877. #, fuzzy, no-wrap
  55878. #| msgid "Shepherd Services"
  55879. msgid "shepherd services, for users"
  55880. msgstr "Serviços de Shepherd"
  55881. #. type: Plain text
  55882. #: guix-git/doc/guix.texi:38059
  55883. 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."
  55884. msgstr ""
  55885. #. type: defvr
  55886. #: guix-git/doc/guix.texi:38060
  55887. #, fuzzy, no-wrap
  55888. msgid "{Scheme Variable} home-shepherd-service-type"
  55889. msgstr "guix-publish-service-type"
  55890. #. type: defvr
  55891. #: guix-git/doc/guix.texi:38065
  55892. 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."
  55893. msgstr ""
  55894. #. type: defvr
  55895. #: guix-git/doc/guix.texi:38070
  55896. 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."
  55897. msgstr ""
  55898. #. type: deftp
  55899. #: guix-git/doc/guix.texi:38072
  55900. #, fuzzy, no-wrap
  55901. msgid "{Data Type} home-shepherd-configuration"
  55902. msgstr "build-machine {Data Type}"
  55903. #. type: item
  55904. #: guix-git/doc/guix.texi:38079
  55905. #, fuzzy, no-wrap
  55906. #| msgid "@code{shared?} (default: @code{#t})"
  55907. msgid "auto-start? (default: @code{#t})"
  55908. msgstr "@code{shared?} (padrão: @code{#t})"
  55909. #. type: table
  55910. #: guix-git/doc/guix.texi:38081
  55911. msgid "Whether or not to start Shepherd on first login."
  55912. msgstr ""
  55913. #. type: subsection
  55914. #: guix-git/doc/guix.texi:38089 guix-git/doc/guix.texi:38090
  55915. #, fuzzy, no-wrap
  55916. #| msgid "Desktop Services"
  55917. msgid "Desktop Home Services"
  55918. msgstr "Serviços de desktop"
  55919. #. type: Plain text
  55920. #: guix-git/doc/guix.texi:38095
  55921. 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."
  55922. msgstr ""
  55923. #. type: defvr
  55924. #: guix-git/doc/guix.texi:38096
  55925. #, fuzzy, no-wrap
  55926. msgid "{Scheme Variable} home-redshift-service-type"
  55927. msgstr "guix-publish-service-type"
  55928. #. type: defvr
  55929. #: guix-git/doc/guix.texi:38101
  55930. 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."
  55931. msgstr ""
  55932. #. type: defvr
  55933. #: guix-git/doc/guix.texi:38104
  55934. msgid "A typical configuration, where we manually specify the latitude and longitude, might look like this:"
  55935. msgstr ""
  55936. #. type: lisp
  55937. #: guix-git/doc/guix.texi:38111
  55938. #, no-wrap
  55939. msgid ""
  55940. "(service home-redshift-service-type\n"
  55941. " (home-redshift-configuration\n"
  55942. " (location-provider 'manual)\n"
  55943. " (latitude 35.81) ;northern hemisphere\n"
  55944. " (longitude -0.80))) ;west of Greenwich\n"
  55945. msgstr ""
  55946. #. type: deftp
  55947. #: guix-git/doc/guix.texi:38114
  55948. #, fuzzy, no-wrap
  55949. msgid "{Data Type} home-redshift-configuration"
  55950. msgstr "build-machine {Data Type}"
  55951. #. type: deftp
  55952. #: guix-git/doc/guix.texi:38116
  55953. msgid "Available @code{home-redshift-configuration} fields are:"
  55954. msgstr ""
  55955. #. type: item
  55956. #: guix-git/doc/guix.texi:38118
  55957. #, fuzzy, no-wrap
  55958. #| msgid "@code{dbus?} (default: @code{#t})"
  55959. msgid "@code{redshift} (default: @code{redshift}) (type: file-like)"
  55960. msgstr "@code{dbus?} (padrão: @code{#t})"
  55961. #. type: table
  55962. #: guix-git/doc/guix.texi:38120
  55963. #, fuzzy
  55964. #| msgid "The GPM package to use."
  55965. msgid "Redshift package to use."
  55966. msgstr "O pacote GPM a ser usado."
  55967. #. type: item
  55968. #: guix-git/doc/guix.texi:38121
  55969. #, fuzzy, no-wrap
  55970. #| msgid "@code{users} (default: @code{#f})"
  55971. msgid "@code{location-provider} (default: @code{geoclue2}) (type: symbol)"
  55972. msgstr "@code{users} (default: @code{#f})"
  55973. #. type: table
  55974. #: guix-git/doc/guix.texi:38127
  55975. 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."
  55976. msgstr ""
  55977. #. type: item
  55978. #: guix-git/doc/guix.texi:38128
  55979. #, fuzzy, no-wrap
  55980. #| msgid "@code{users} (default: @code{#f})"
  55981. msgid "@code{adjustment-method} (default: @code{randr}) (type: symbol)"
  55982. msgstr "@code{users} (default: @code{#f})"
  55983. #. type: table
  55984. #: guix-git/doc/guix.texi:38130
  55985. msgid "Color adjustment method."
  55986. msgstr ""
  55987. #. type: item
  55988. #: guix-git/doc/guix.texi:38131
  55989. #, fuzzy, no-wrap
  55990. #| msgid "@code{debug?} (default: @code{#f})"
  55991. msgid "@code{daytime-temperature} (default: @code{6500}) (type: integer)"
  55992. msgstr "@code{debug?} (default: @code{#f})"
  55993. #. type: table
  55994. #: guix-git/doc/guix.texi:38133
  55995. msgid "Daytime color temperature (kelvins)."
  55996. msgstr ""
  55997. #. type: item
  55998. #: guix-git/doc/guix.texi:38134
  55999. #, fuzzy, no-wrap
  56000. #| msgid "@code{debug?} (default: @code{#f})"
  56001. msgid "@code{nighttime-temperature} (default: @code{4500}) (type: integer)"
  56002. msgstr "@code{debug?} (default: @code{#f})"
  56003. #. type: table
  56004. #: guix-git/doc/guix.texi:38136
  56005. msgid "Nighttime color temperature (kelvins)."
  56006. msgstr ""
  56007. #. type: item
  56008. #: guix-git/doc/guix.texi:38137
  56009. #, fuzzy, no-wrap
  56010. msgid "@code{daytime-brightness} (default: @code{disabled}) (type: maybe-inexact-number)"
  56011. msgstr "@code{remote?} (padrão: @code{#f})"
  56012. #. type: table
  56013. #: guix-git/doc/guix.texi:38139
  56014. msgid "Daytime screen brightness, between 0.1 and 1.0."
  56015. msgstr ""
  56016. #. type: item
  56017. #: guix-git/doc/guix.texi:38140
  56018. #, fuzzy, no-wrap
  56019. msgid "@code{nighttime-brightness} (default: @code{disabled}) (type: maybe-inexact-number)"
  56020. msgstr "@code{remote?} (padrão: @code{#f})"
  56021. #. type: table
  56022. #: guix-git/doc/guix.texi:38142
  56023. msgid "Nighttime screen brightness, between 0.1 and 1.0."
  56024. msgstr ""
  56025. #. type: item
  56026. #: guix-git/doc/guix.texi:38143
  56027. #, fuzzy, no-wrap
  56028. msgid "@code{latitude} (default: @code{disabled}) (type: maybe-inexact-number)"
  56029. msgstr "@code{chdir} (default: @code{#f})"
  56030. #. type: table
  56031. #: guix-git/doc/guix.texi:38145
  56032. msgid "Latitude, when @code{location-provider} is @code{'manual}."
  56033. msgstr ""
  56034. #. type: item
  56035. #: guix-git/doc/guix.texi:38146
  56036. #, fuzzy, no-wrap
  56037. #| msgid "@code{no-hints?} (default: @code{#f})"
  56038. msgid "@code{longitude} (default: @code{disabled}) (type: maybe-inexact-number)"
  56039. msgstr "@code{no-hints?} (padrão: @code{#f})"
  56040. #. type: table
  56041. #: guix-git/doc/guix.texi:38148
  56042. msgid "Longitude, when @code{location-provider} is @code{'manual}."
  56043. msgstr ""
  56044. #. type: item
  56045. #: guix-git/doc/guix.texi:38149
  56046. #, fuzzy, no-wrap
  56047. msgid "@code{dawn-time} (default: @code{disabled}) (type: maybe-string)"
  56048. msgstr "@code{remote?} (padrão: @code{#f})"
  56049. #. type: table
  56050. #: guix-git/doc/guix.texi:38153
  56051. 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."
  56052. msgstr ""
  56053. #. type: item
  56054. #: guix-git/doc/guix.texi:38154
  56055. #, fuzzy, no-wrap
  56056. msgid "@code{dusk-time} (default: @code{disabled}) (type: maybe-string)"
  56057. msgstr "@code{remote?} (padrão: @code{#f})"
  56058. #. type: table
  56059. #: guix-git/doc/guix.texi:38157
  56060. msgid "Likewise, custom time for the transition from day to night in the evening."
  56061. msgstr ""
  56062. #. type: item
  56063. #: guix-git/doc/guix.texi:38158
  56064. #, fuzzy, no-wrap
  56065. #| msgid "@code{dbus?} (default: @code{#t})"
  56066. msgid "@code{extra-content} (default: @code{\"\"}) (type: raw-configuration-string)"
  56067. msgstr "@code{dbus?} (padrão: @code{#t})"
  56068. #. type: table
  56069. #: guix-git/doc/guix.texi:38162
  56070. msgid "Extra content appended as-is to the Redshift configuration file. Run @command{man redshift} for more information about the configuration file format."
  56071. msgstr ""
  56072. #. type: section
  56073. #: guix-git/doc/guix.texi:38169
  56074. #, fuzzy, no-wrap
  56075. #| msgid "Invoking @code{guix system}"
  56076. msgid "Invoking @code{guix home}"
  56077. msgstr "Invocando @code{guix system}"
  56078. #. type: Plain text
  56079. #: guix-git/doc/guix.texi:38174
  56080. 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:"
  56081. msgstr ""
  56082. #. type: example
  56083. #: guix-git/doc/guix.texi:38177
  56084. #, no-wrap
  56085. msgid "guix home @var{options}@dots{} @var{action} @var{file}\n"
  56086. msgstr ""
  56087. #. type: Plain text
  56088. #: guix-git/doc/guix.texi:38184
  56089. 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:"
  56090. msgstr ""
  56091. #. type: table
  56092. #: guix-git/doc/guix.texi:38189
  56093. msgid "Display available home service type definitions that match the given regular expressions, sorted by relevance:"
  56094. msgstr ""
  56095. #. type: cindex
  56096. #: guix-git/doc/guix.texi:38191
  56097. #, no-wrap
  56098. msgid "shell-profile"
  56099. msgstr ""
  56100. #. type: example
  56101. #: guix-git/doc/guix.texi:38202
  56102. #, no-wrap
  56103. msgid ""
  56104. "$ guix home search shell\n"
  56105. "name: home-shell-profile\n"
  56106. "location: gnu/home/services/shells.scm:100:2\n"
  56107. "extends: home-files\n"
  56108. "description: Create `~/.profile', which is used for environment initialization of POSIX compliant login shells.\n"
  56109. "+ This service type can be extended with a list of file-like objects.\n"
  56110. "relevance: 6\n"
  56111. "\n"
  56112. msgstr ""
  56113. #. type: example
  56114. #: guix-git/doc/guix.texi:38208
  56115. #, no-wrap
  56116. msgid ""
  56117. "name: home-fish\n"
  56118. "location: gnu/home/services/shells.scm:640:2\n"
  56119. "extends: home-files home-profile\n"
  56120. "description: Install and configure Fish, the friendly interactive shell.\n"
  56121. "relevance: 3\n"
  56122. "\n"
  56123. msgstr ""
  56124. #. type: example
  56125. #: guix-git/doc/guix.texi:38214
  56126. #, no-wrap
  56127. msgid ""
  56128. "name: home-zsh\n"
  56129. "location: gnu/home/services/shells.scm:290:2\n"
  56130. "extends: home-files home-profile\n"
  56131. "description: Install and configure Zsh.\n"
  56132. "relevance: 1\n"
  56133. "\n"
  56134. msgstr ""
  56135. #. type: example
  56136. #: guix-git/doc/guix.texi:38220
  56137. #, no-wrap
  56138. msgid ""
  56139. "name: home-bash\n"
  56140. "location: gnu/home/services/shells.scm:508:2\n"
  56141. "extends: home-files home-profile\n"
  56142. "description: Install and configure GNU Bash.\n"
  56143. "relevance: 1\n"
  56144. "\n"
  56145. msgstr ""
  56146. #. type: table
  56147. #: guix-git/doc/guix.texi:38227
  56148. 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})."
  56149. msgstr ""
  56150. #. type: table
  56151. #: guix-git/doc/guix.texi:38236
  56152. 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."
  56153. msgstr ""
  56154. #. type: quotation
  56155. #: guix-git/doc/guix.texi:38241
  56156. 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})."
  56157. msgstr ""
  56158. #. type: table
  56159. #: guix-git/doc/guix.texi:38248
  56160. 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}})."
  56161. msgstr ""
  56162. #. type: table
  56163. #: guix-git/doc/guix.texi:38254
  56164. 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})."
  56165. msgstr ""
  56166. #. type: cindex
  56167. #: guix-git/doc/guix.texi:38255
  56168. #, no-wrap
  56169. msgid "provenance tracking, of the home environment"
  56170. msgstr "rastreamento de proveniência, do ambiente doméstico"
  56171. #. type: table
  56172. #: guix-git/doc/guix.texi:38260
  56173. 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:"
  56174. msgstr ""
  56175. #. type: example
  56176. #: guix-git/doc/guix.texi:38263
  56177. #, fuzzy, no-wrap
  56178. #| msgid "Invoking guix describe"
  56179. msgid "guix home describe\n"
  56180. msgstr "guix home describe\n"
  56181. #. type: table
  56182. #: guix-git/doc/guix.texi:38269
  56183. 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:"
  56184. msgstr ""
  56185. #. type: example
  56186. #: guix-git/doc/guix.texi:38275
  56187. #, no-wrap
  56188. msgid ""
  56189. "guix time-machine \\\n"
  56190. " -C /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/channels.scm -- \\\n"
  56191. " home reconfigure \\\n"
  56192. " /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/configuration.scm\n"
  56193. "\n"
  56194. msgstr ""
  56195. #. type: table
  56196. #: guix-git/doc/guix.texi:38282
  56197. 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}."
  56198. msgstr ""
  56199. #. type: cindex
  56200. #: guix-git/doc/guix.texi:38288
  56201. #, fuzzy, no-wrap
  56202. #| msgid "generations"
  56203. msgid "home generations"
  56204. msgstr "gerações"
  56205. #. type: table
  56206. #: guix-git/doc/guix.texi:38291
  56207. msgid "Switch to an existing home generation. This action atomically switches the home profile to the specified home generation."
  56208. msgstr ""
  56209. #. type: table
  56210. #: guix-git/doc/guix.texi:38295
  56211. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to home generation 7:"
  56212. msgstr ""
  56213. #. type: example
  56214. #: guix-git/doc/guix.texi:38298
  56215. #, fuzzy, no-wrap
  56216. #| msgid "$ guix system list-generations 10d\n"
  56217. msgid "guix home switch-generation 7\n"
  56218. msgstr "$ guix system list-generations 10d\n"
  56219. #. type: example
  56220. #: guix-git/doc/guix.texi:38309
  56221. #, fuzzy, no-wrap
  56222. #| msgid "$ guix system list-generations 10d\n"
  56223. msgid "guix home switch-generation -- -1\n"
  56224. msgstr "$ guix system list-generations 10d\n"
  56225. #. type: table
  56226. #: guix-git/doc/guix.texi:38318
  56227. 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}."
  56228. msgstr ""
  56229. #. type: cindex
  56230. #: guix-git/doc/guix.texi:38320
  56231. #, fuzzy, no-wrap
  56232. #| msgid "generations"
  56233. msgid "deleting home generations"
  56234. msgstr "gerações"
  56235. #. type: table
  56236. #: guix-git/doc/guix.texi:38325
  56237. msgid "Delete home generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  56238. msgstr ""
  56239. #. type: table
  56240. #: guix-git/doc/guix.texi:38329
  56241. 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:"
  56242. msgstr ""
  56243. #. type: example
  56244. #: guix-git/doc/guix.texi:38332
  56245. #, fuzzy, no-wrap
  56246. #| msgid "$ guix system list-generations 10d\n"
  56247. msgid "guix home delete-generations\n"
  56248. msgstr "$ guix system list-generations 10d\n"
  56249. #. type: table
  56250. #: guix-git/doc/guix.texi:38336
  56251. 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:"
  56252. msgstr ""
  56253. #. type: example
  56254. #: guix-git/doc/guix.texi:38339
  56255. #, fuzzy, no-wrap
  56256. #| msgid "$ guix system list-generations 10d\n"
  56257. msgid "guix home delete-generations 2m\n"
  56258. msgstr "$ guix system list-generations 10d\n"
  56259. #. type: table
  56260. #: guix-git/doc/guix.texi:38345
  56261. msgid "Build the derivation of the home environment, which includes all the configuration files and programs needed. This action does not actually install anything."
  56262. msgstr ""
  56263. #. type: table
  56264. #: guix-git/doc/guix.texi:38349
  56265. msgid "Describe the current home generation: its file name, as well as provenance information when available."
  56266. msgstr ""
  56267. #. type: table
  56268. #: guix-git/doc/guix.texi:38355
  56269. 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})."
  56270. msgstr ""
  56271. #. type: example
  56272. #: guix-git/doc/guix.texi:38363
  56273. #, fuzzy, no-wrap
  56274. #| msgid "$ guix system list-generations 10d\n"
  56275. msgid "$ guix home list-generations 10d\n"
  56276. msgstr "$ guix system list-generations 10d\n"
  56277. #. type: item
  56278. #: guix-git/doc/guix.texi:38365
  56279. #, no-wrap
  56280. msgid "import"
  56281. msgstr ""
  56282. #. type: table
  56283. #: guix-git/doc/guix.texi:38372
  56284. 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})."
  56285. msgstr ""
  56286. #. type: example
  56287. #: guix-git/doc/guix.texi:38376
  56288. #, no-wrap
  56289. msgid ""
  56290. "$ guix home import ~/guix-config\n"
  56291. "guix home: '/home/alice/guix-config' populated with all the Home configuration files\n"
  56292. msgstr ""
  56293. #. type: table
  56294. #: guix-git/doc/guix.texi:38391
  56295. msgid "Consider the home-environment @var{expr} evaluates to. This is an alternative to specifying a file which evaluates to a home environment."
  56296. msgstr ""
  56297. #. type: table
  56298. #: guix-git/doc/guix.texi:38394
  56299. msgid "Instruct @command{guix home reconfigure} to allow system downgrades."
  56300. msgstr ""
  56301. #. type: table
  56302. #: guix-git/doc/guix.texi:38401
  56303. 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!"
  56304. msgstr ""
  56305. #. type: cindex
  56306. #: guix-git/doc/guix.texi:38407
  56307. #, no-wrap
  56308. msgid "documentation, searching for"
  56309. msgstr ""
  56310. #. type: cindex
  56311. #: guix-git/doc/guix.texi:38408
  56312. #, no-wrap
  56313. msgid "searching for documentation"
  56314. msgstr ""
  56315. #. type: cindex
  56316. #: guix-git/doc/guix.texi:38409
  56317. #, no-wrap
  56318. msgid "Info, documentation format"
  56319. msgstr ""
  56320. #. type: cindex
  56321. #: guix-git/doc/guix.texi:38410
  56322. #, no-wrap
  56323. msgid "man pages"
  56324. msgstr ""
  56325. #. type: cindex
  56326. #: guix-git/doc/guix.texi:38411
  56327. #, no-wrap
  56328. msgid "manual pages"
  56329. msgstr ""
  56330. #. type: Plain text
  56331. #: guix-git/doc/guix.texi:38418
  56332. 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}."
  56333. msgstr ""
  56334. #. type: Plain text
  56335. #: guix-git/doc/guix.texi:38422
  56336. 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:"
  56337. msgstr ""
  56338. #. type: example
  56339. #: guix-git/doc/guix.texi:38430
  56340. #, no-wrap
  56341. msgid ""
  56342. "$ info -k TLS\n"
  56343. "\"(emacs)Network Security\" -- STARTTLS\n"
  56344. "\"(emacs)Network Security\" -- TLS\n"
  56345. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  56346. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  56347. "@dots{}\n"
  56348. msgstr ""
  56349. #. type: Plain text
  56350. #: guix-git/doc/guix.texi:38436
  56351. 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.}:"
  56352. msgstr ""
  56353. #. type: example
  56354. #: guix-git/doc/guix.texi:38442
  56355. #, no-wrap
  56356. msgid ""
  56357. "$ man -k TLS\n"
  56358. "SSL (7) - OpenSSL SSL/TLS library\n"
  56359. "certtool (1) - GnuTLS certificate tool\n"
  56360. "@dots {}\n"
  56361. msgstr ""
  56362. "$ man -k TLS\n"
  56363. "SSL (7) - OpenSSL SSL/TLS library\n"
  56364. "certtool (1) - GnuTLS certificate tool\n"
  56365. "@dots {}\n"
  56366. #. type: Plain text
  56367. #: guix-git/doc/guix.texi:38448
  56368. 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."
  56369. msgstr ""
  56370. #. type: Plain text
  56371. #: guix-git/doc/guix.texi:38451
  56372. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  56373. msgstr ""
  56374. #. type: example
  56375. #: guix-git/doc/guix.texi:38454
  56376. #, no-wrap
  56377. msgid "$ info \"(gnutls)Core TLS API\"\n"
  56378. msgstr ""
  56379. #. type: Plain text
  56380. #: guix-git/doc/guix.texi:38458
  56381. msgid "or:"
  56382. msgstr ""
  56383. #. type: example
  56384. #: guix-git/doc/guix.texi:38461
  56385. #, no-wrap
  56386. msgid "$ man certtool\n"
  56387. msgstr ""
  56388. #. type: Plain text
  56389. #: guix-git/doc/guix.texi:38469
  56390. 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."
  56391. msgstr ""
  56392. #. type: cindex
  56393. #: guix-git/doc/guix.texi:38473
  56394. #, no-wrap
  56395. msgid "debugging files"
  56396. msgstr ""
  56397. #. type: Plain text
  56398. #: guix-git/doc/guix.texi:38479
  56399. 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."
  56400. msgstr ""
  56401. #. type: Plain text
  56402. #: guix-git/doc/guix.texi:38483
  56403. 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."
  56404. msgstr ""
  56405. #. type: Plain text
  56406. #: guix-git/doc/guix.texi:38499
  56407. 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})."
  56408. msgstr ""
  56409. #. type: Plain text
  56410. #: guix-git/doc/guix.texi:38506
  56411. 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})."
  56412. msgstr ""
  56413. #. type: Plain text
  56414. #: guix-git/doc/guix.texi:38514
  56415. 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:"
  56416. msgstr ""
  56417. #. type: example
  56418. #: guix-git/doc/guix.texi:38517
  56419. #, no-wrap
  56420. msgid "guix install glibc:debug guile:debug\n"
  56421. msgstr ""
  56422. #. type: Plain text
  56423. #: guix-git/doc/guix.texi:38523
  56424. 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}):"
  56425. msgstr ""
  56426. #. type: example
  56427. #: guix-git/doc/guix.texi:38526
  56428. #, no-wrap
  56429. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  56430. msgstr ""
  56431. #. type: Plain text
  56432. #: guix-git/doc/guix.texi:38530
  56433. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  56434. msgstr ""
  56435. #. type: Plain text
  56436. #: guix-git/doc/guix.texi:38535
  56437. 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."
  56438. msgstr ""
  56439. #. type: example
  56440. #: guix-git/doc/guix.texi:38543
  56441. #, no-wrap
  56442. msgid ""
  56443. "guile\n"
  56444. "(use-modules (gdb))\n"
  56445. "(execute (string-append \"set debug-file-directory \"\n"
  56446. " (or (getenv \"GDB_DEBUG_FILE_DIRECTORY\")\n"
  56447. " \"~/.guix-profile/lib/debug\")))\n"
  56448. "end\n"
  56449. msgstr ""
  56450. #. type: Plain text
  56451. #: guix-git/doc/guix.texi:38551
  56452. 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})."
  56453. msgstr ""
  56454. #. type: Plain text
  56455. #: guix-git/doc/guix.texi:38559
  56456. 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})."
  56457. msgstr ""
  56458. #. type: Plain text
  56459. #: guix-git/doc/guix.texi:38561
  56460. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  56461. msgstr ""
  56462. #. type: Plain text
  56463. #: guix-git/doc/guix.texi:38573
  56464. 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."
  56465. msgstr ""
  56466. #. type: Plain text
  56467. #: guix-git/doc/guix.texi:38578
  56468. 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:"
  56469. msgstr ""
  56470. #. type: example
  56471. #: guix-git/doc/guix.texi:38589
  56472. #, no-wrap
  56473. msgid ""
  56474. "(gdb) bt\n"
  56475. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  56476. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  56477. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  56478. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  56479. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8, \n"
  56480. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  56481. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  56482. " at dl-init.c:118\n"
  56483. msgstr ""
  56484. #. type: Plain text
  56485. #: guix-git/doc/guix.texi:38593
  56486. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  56487. msgstr ""
  56488. #. type: Plain text
  56489. #: guix-git/doc/guix.texi:38599
  56490. msgid "This time, debugging will be a whole lot nicer:"
  56491. msgstr ""
  56492. #. type: example
  56493. #: guix-git/doc/guix.texi:38617
  56494. #, no-wrap
  56495. msgid ""
  56496. "$ gdb --args sh -c 'exec inkscape'\n"
  56497. "@dots{}\n"
  56498. "(gdb) b g_getenv\n"
  56499. "Function \"g_getenv\" not defined.\n"
  56500. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  56501. "Breakpoint 1 (g_getenv) pending.\n"
  56502. "(gdb) r\n"
  56503. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  56504. "@dots{}\n"
  56505. "(gdb) bt\n"
  56506. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  56507. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  56508. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  56509. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088, \n"
  56510. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  56511. "@dots{}\n"
  56512. msgstr ""
  56513. #. type: Plain text
  56514. #: guix-git/doc/guix.texi:38620
  56515. msgid "Much better!"
  56516. msgstr ""
  56517. #. type: Plain text
  56518. #: guix-git/doc/guix.texi:38624
  56519. 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."
  56520. msgstr ""
  56521. #. type: cindex
  56522. #: guix-git/doc/guix.texi:38628
  56523. #, no-wrap
  56524. msgid "security updates"
  56525. msgstr ""
  56526. #. type: Plain text
  56527. #: guix-git/doc/guix.texi:38637
  56528. 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:"
  56529. msgstr ""
  56530. #. type: smallexample
  56531. #: guix-git/doc/guix.texi:38644
  56532. #, no-wrap
  56533. msgid ""
  56534. "$ guix lint -c cve\n"
  56535. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  56536. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  56537. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  56538. "@dots{}\n"
  56539. msgstr ""
  56540. #. type: Plain text
  56541. #: guix-git/doc/guix.texi:38647
  56542. msgid "@xref{Invoking guix lint}, for more information."
  56543. msgstr ""
  56544. #. type: Plain text
  56545. #: guix-git/doc/guix.texi:38656
  56546. 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."
  56547. msgstr ""
  56548. #. type: cindex
  56549. #: guix-git/doc/guix.texi:38657
  56550. #, no-wrap
  56551. msgid "grafts"
  56552. msgstr ""
  56553. #. type: Plain text
  56554. #: guix-git/doc/guix.texi:38665
  56555. 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."
  56556. msgstr ""
  56557. #. type: cindex
  56558. #: guix-git/doc/guix.texi:38666
  56559. #, no-wrap
  56560. msgid "replacements of packages, for grafts"
  56561. msgstr ""
  56562. #. type: Plain text
  56563. #: guix-git/doc/guix.texi:38672
  56564. 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:"
  56565. msgstr ""
  56566. #. type: lisp
  56567. #: guix-git/doc/guix.texi:38679
  56568. #, no-wrap
  56569. msgid ""
  56570. "(define bash\n"
  56571. " (package\n"
  56572. " (name \"bash\")\n"
  56573. " ;; @dots{}\n"
  56574. " (replacement bash-fixed)))\n"
  56575. msgstr ""
  56576. #. type: Plain text
  56577. #: guix-git/doc/guix.texi:38689
  56578. 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."
  56579. msgstr ""
  56580. #. type: Plain text
  56581. #: guix-git/doc/guix.texi:38697
  56582. 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."
  56583. msgstr ""
  56584. #. type: Plain text
  56585. #: guix-git/doc/guix.texi:38701
  56586. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  56587. msgstr ""
  56588. #. type: example
  56589. #: guix-git/doc/guix.texi:38704
  56590. #, no-wrap
  56591. msgid "guix build bash --no-grafts\n"
  56592. msgstr ""
  56593. #. type: Plain text
  56594. #: guix-git/doc/guix.texi:38708
  56595. msgid "returns the store file name of the original Bash, whereas:"
  56596. msgstr ""
  56597. #. type: example
  56598. #: guix-git/doc/guix.texi:38711
  56599. #, no-wrap
  56600. msgid "guix build bash\n"
  56601. msgstr ""
  56602. #. type: Plain text
  56603. #: guix-git/doc/guix.texi:38716
  56604. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  56605. msgstr ""
  56606. #. type: Plain text
  56607. #: guix-git/doc/guix.texi:38719
  56608. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  56609. msgstr ""
  56610. #. type: example
  56611. #: guix-git/doc/guix.texi:38722
  56612. #, no-wrap
  56613. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  56614. msgstr ""
  56615. #. type: Plain text
  56616. #: guix-git/doc/guix.texi:38727
  56617. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  56618. msgstr ""
  56619. #. type: example
  56620. #: guix-git/doc/guix.texi:38730
  56621. #, no-wrap
  56622. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  56623. msgstr ""
  56624. #. type: Plain text
  56625. #: guix-git/doc/guix.texi:38734
  56626. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  56627. msgstr ""
  56628. #. type: example
  56629. #: guix-git/doc/guix.texi:38737
  56630. #, no-wrap
  56631. msgid "lsof | grep /gnu/store/.*bash\n"
  56632. msgstr ""
  56633. #. type: cindex
  56634. #: guix-git/doc/guix.texi:38745
  56635. #, no-wrap
  56636. msgid "bootstrapping"
  56637. msgstr ""
  56638. #. type: Plain text
  56639. #: guix-git/doc/guix.texi:38752
  56640. 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?"
  56641. msgstr ""
  56642. #. type: Plain text
  56643. #: guix-git/doc/guix.texi:38760
  56644. 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."
  56645. msgstr ""
  56646. #. type: cindex
  56647. #: guix-git/doc/guix.texi:38761 guix-git/doc/guix.texi:38973
  56648. #, no-wrap
  56649. msgid "bootstrap binaries"
  56650. msgstr ""
  56651. #. type: Plain text
  56652. #: guix-git/doc/guix.texi:38771
  56653. 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}."
  56654. msgstr ""
  56655. #. type: Plain text
  56656. #: guix-git/doc/guix.texi:38775
  56657. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  56658. msgstr ""
  56659. #. type: section
  56660. #: guix-git/doc/guix.texi:38782
  56661. #, no-wrap
  56662. msgid "The Reduced Binary Seed Bootstrap"
  56663. msgstr ""
  56664. #. type: Plain text
  56665. #: guix-git/doc/guix.texi:38789
  56666. 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.''"
  56667. msgstr ""
  56668. #. type: Plain text
  56669. #: guix-git/doc/guix.texi:38795
  56670. 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."
  56671. msgstr ""
  56672. #. type: Plain text
  56673. #: guix-git/doc/guix.texi:38800
  56674. msgid "For @code{i686-linux} and @code{x86_64-linux}, Guix now features a ``Reduced Binary Seed'' bootstrap @footnote{We would like to say: ``Full Source Bootstrap'' and while we are working towards that goal it would be hyperbole to use that term for what we do now.}."
  56675. msgstr ""
  56676. #. type: Plain text
  56677. #: guix-git/doc/guix.texi:38806
  56678. msgid "The Reduced Binary Seed bootstrap removes the most critical tools---from a trust perspective---from the bootstrap binaries: GCC, Binutils and the GNU C Library are replaced by: @code{bootstrap-mescc-tools} (a tiny assembler and linker) and @code{bootstrap-mes} (a small Scheme Interpreter and a C compiler written in Scheme and the Mes C Library, built for TinyCC and for GCC)."
  56679. msgstr ""
  56680. #. type: Plain text
  56681. #: guix-git/doc/guix.texi:38811
  56682. msgid "Using these new binary seeds the ``missing'' Binutils, GCC, and the GNU C Library are built from source. From here on the more traditional bootstrap process resumes. This approach has reduced the bootstrap binaries in size to about 145MB in Guix v1.1."
  56683. msgstr ""
  56684. #. type: Plain text
  56685. #: guix-git/doc/guix.texi:38819
  56686. msgid "The next 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. The rest of the bootstrap binary seeds that were removed are now built from source."
  56687. msgstr ""
  56688. #. type: Plain text
  56689. #: guix-git/doc/guix.texi:38829
  56690. 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."
  56691. msgstr ""
  56692. #. type: Plain text
  56693. #: guix-git/doc/guix.texi:38833
  56694. 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."
  56695. msgstr ""
  56696. #. type: Plain text
  56697. #: guix-git/doc/guix.texi:38836
  56698. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  56699. msgstr ""
  56700. #. type: Plain text
  56701. #: guix-git/doc/guix.texi:38843
  56702. msgid "The only significant binary bootstrap seeds that remain@footnote{ Ignoring the 68KB @code{mescc-tools}; that will be removed later, together with @code{mes}.} are a Scheme interpreter and a Scheme compiler: GNU Mes and GNU Guile@footnote{Not shown in this graph are the static binaries for @file{bash}, @code{tar}, and @code{xz} that are used to get Guile running.}."
  56703. msgstr ""
  56704. #. type: Plain text
  56705. #: guix-git/doc/guix.texi:38846
  56706. msgid "This further reduction has brought down the size of the binary seed to about 60MB for @code{i686-linux} and @code{x86_64-linux}."
  56707. msgstr ""
  56708. #. type: Plain text
  56709. #: guix-git/doc/guix.texi:38851
  56710. msgid "Work is ongoing to remove all binary blobs from our free software bootstrap stack, working towards a Full Source Bootstrap. Also ongoing is work to bring these bootstraps to the @code{arm-linux} and @code{aarch64-linux} architectures and to the Hurd."
  56711. msgstr ""
  56712. #. type: Plain text
  56713. #: guix-git/doc/guix.texi:38855
  56714. msgid "If you are interested, join us on @samp{#bootstrappable} on the Freenode IRC network or discuss on @email{bug-mes@@gnu.org} or @email{gash-devel@@nongnu.org}."
  56715. msgstr ""
  56716. #. type: Plain text
  56717. #: guix-git/doc/guix.texi:38862
  56718. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  56719. msgstr ""
  56720. #. type: Plain text
  56721. #: guix-git/doc/guix.texi:38867
  56722. 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:"
  56723. msgstr ""
  56724. #. type: example
  56725. #: guix-git/doc/guix.texi:38872
  56726. #, no-wrap
  56727. msgid ""
  56728. "guix graph -t derivation \\\n"
  56729. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  56730. " | dot -Tps > gcc.ps\n"
  56731. msgstr ""
  56732. #. type: Plain text
  56733. #: guix-git/doc/guix.texi:38875
  56734. msgid "or, for the further Reduced Binary Seed bootstrap"
  56735. msgstr ""
  56736. #. type: example
  56737. #: guix-git/doc/guix.texi:38880
  56738. #, no-wrap
  56739. msgid ""
  56740. "guix graph -t derivation \\\n"
  56741. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  56742. " | dot -Tps > mes.ps\n"
  56743. msgstr ""
  56744. #. type: Plain text
  56745. #: guix-git/doc/guix.texi:38889
  56746. 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})."
  56747. msgstr ""
  56748. #. type: Plain text
  56749. #: guix-git/doc/guix.texi:38898
  56750. 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."
  56751. msgstr ""
  56752. #. type: Plain text
  56753. #: guix-git/doc/guix.texi:38910
  56754. 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})."
  56755. msgstr ""
  56756. #. type: Plain text
  56757. #: guix-git/doc/guix.texi:38915
  56758. 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."
  56759. msgstr ""
  56760. #. type: unnumberedsec
  56761. #: guix-git/doc/guix.texi:38916
  56762. #, no-wrap
  56763. msgid "Building the Build Tools"
  56764. msgstr ""
  56765. #. type: Plain text
  56766. #: guix-git/doc/guix.texi:38925
  56767. 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."
  56768. msgstr ""
  56769. #. type: Plain text
  56770. #: guix-git/doc/guix.texi:38932
  56771. 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:"
  56772. msgstr ""
  56773. #. type: example
  56774. #: guix-git/doc/guix.texi:38937
  56775. #, no-wrap
  56776. msgid ""
  56777. "guix graph -t bag \\\n"
  56778. " -e '(@@@@ (gnu packages commencement)\n"
  56779. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  56780. msgstr ""
  56781. #. type: Plain text
  56782. #: guix-git/doc/guix.texi:38944
  56783. 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."
  56784. msgstr ""
  56785. #. type: Plain text
  56786. #: guix-git/doc/guix.texi:38946
  56787. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  56788. msgstr ""
  56789. #. type: Plain text
  56790. #: guix-git/doc/guix.texi:38952
  56791. 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."
  56792. msgstr ""
  56793. #. type: Plain text
  56794. #: guix-git/doc/guix.texi:38957
  56795. 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."
  56796. msgstr ""
  56797. #. type: Plain text
  56798. #: guix-git/doc/guix.texi:38963
  56799. 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."
  56800. msgstr ""
  56801. #. type: Plain text
  56802. #: guix-git/doc/guix.texi:38969
  56803. 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}})."
  56804. msgstr ""
  56805. #. type: unnumberedsec
  56806. #: guix-git/doc/guix.texi:38971
  56807. #, no-wrap
  56808. msgid "Building the Bootstrap Binaries"
  56809. msgstr ""
  56810. #. type: Plain text
  56811. #: guix-git/doc/guix.texi:38978
  56812. 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."
  56813. msgstr ""
  56814. #. type: Plain text
  56815. #: guix-git/doc/guix.texi:38984
  56816. 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):"
  56817. msgstr ""
  56818. #. type: example
  56819. #: guix-git/doc/guix.texi:38987
  56820. #, no-wrap
  56821. msgid "guix build bootstrap-tarballs\n"
  56822. msgstr ""
  56823. #. type: Plain text
  56824. #: guix-git/doc/guix.texi:38992
  56825. 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."
  56826. msgstr ""
  56827. #. type: Plain text
  56828. #: guix-git/doc/guix.texi:38998
  56829. 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."
  56830. msgstr ""
  56831. #. type: unnumberedsec
  56832. #: guix-git/doc/guix.texi:38999
  56833. #, no-wrap
  56834. msgid "Reducing the Set of Bootstrap Binaries"
  56835. msgstr ""
  56836. #. type: Plain text
  56837. #: guix-git/doc/guix.texi:39007
  56838. 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}."
  56839. msgstr ""
  56840. #. type: Plain text
  56841. #: guix-git/doc/guix.texi:39013
  56842. 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."
  56843. msgstr ""
  56844. #. type: Plain text
  56845. #: guix-git/doc/guix.texi:39019
  56846. 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."
  56847. msgstr ""
  56848. #. type: Plain text
  56849. #: guix-git/doc/guix.texi:39028
  56850. 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."
  56851. msgstr ""
  56852. #. type: Plain text
  56853. #: guix-git/doc/guix.texi:39031
  56854. 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!"
  56855. msgstr ""
  56856. #. type: chapter
  56857. #: guix-git/doc/guix.texi:39033
  56858. #, no-wrap
  56859. msgid "Porting to a New Platform"
  56860. msgstr "Portando para uma nova plataforma"
  56861. #. type: Plain text
  56862. #: guix-git/doc/guix.texi:39042
  56863. 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."
  56864. msgstr ""
  56865. #. type: Plain text
  56866. #: guix-git/doc/guix.texi:39047
  56867. 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:"
  56868. msgstr ""
  56869. #. type: example
  56870. #: guix-git/doc/guix.texi:39050
  56871. #, no-wrap
  56872. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  56873. msgstr ""
  56874. #. type: Plain text
  56875. #: guix-git/doc/guix.texi:39057
  56876. msgid "For this to work, the @code{glibc-dynamic-linker} procedure in @code{(gnu packages bootstrap)} must be augmented to return the right file name for libc's dynamic linker on that platform; likewise, @code{system->linux-architecture} in @code{(gnu packages linux)} must be taught about the new platform."
  56877. msgstr ""
  56878. #. type: Plain text
  56879. #: guix-git/doc/guix.texi:39066
  56880. msgid "Once these 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."
  56881. msgstr ""
  56882. #. type: Plain text
  56883. #: guix-git/doc/guix.texi:39075
  56884. 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."
  56885. msgstr ""
  56886. #. type: include
  56887. #: guix-git/doc/guix.texi:39077
  56888. #, no-wrap
  56889. msgid "contributing.texi"
  56890. msgstr "contributing.pt_BR.texi"
  56891. #. type: Plain text
  56892. #: guix-git/doc/guix.texi:39090
  56893. 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."
  56894. msgstr ""
  56895. #. type: Plain text
  56896. #: guix-git/doc/guix.texi:39093
  56897. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  56898. msgstr "As distribuições de software baseadas em Nix, Nixpkgs e NixOS, também foram uma inspiração para o Guix."
  56899. #. type: Plain text
  56900. #: guix-git/doc/guix.texi:39099
  56901. 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!"
  56902. 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!"
  56903. #. type: cindex
  56904. #: guix-git/doc/guix.texi:39104
  56905. #, no-wrap
  56906. msgid "license, GNU Free Documentation License"
  56907. msgstr "licença, Licença de Documentação Livre GNU"
  56908. #. type: include
  56909. #: guix-git/doc/guix.texi:39105
  56910. #, no-wrap
  56911. msgid "fdl-1.3.texi"
  56912. msgstr "fdl-1.3.texi"
  56913. #~ msgid "./etc/indent-code.el gnu/packages/@var{file}.scm @var{package}\n"
  56914. #~ msgstr "./etc/indent-code.el gnu/packages/@var{arquivo}.scm @var{pacote}\n"
  56915. #~ 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:"
  56916. #~ 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:"
  56917. #~ msgid "./etc/indent-code.el gnu/services/@var{file}.scm\n"
  56918. #~ msgstr "./etc/indent-code.el gnu/services/@var{arquivo}.scm\n"
  56919. #~ msgid "git-send-email"
  56920. #~ msgstr "git-send-email"
  56921. #, fuzzy
  56922. #~| msgid "contents"
  56923. #~ msgid "contentdb"
  56924. #~ msgstr "conteúdo"